@next-bricks/data-view 1.12.11 → 1.12.13

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 (184) hide show
  1. package/dist/bricks.json +11 -11
  2. package/dist/chunks/{1889.c7ee1fb2.js → 1889.6af39981.js} +2 -2
  3. package/dist/chunks/{1889.c7ee1fb2.js.map → 1889.6af39981.js.map} +1 -1
  4. package/dist/chunks/{2145.65311b68.js → 2145.a81e35fa.js} +2 -2
  5. package/dist/chunks/2145.a81e35fa.js.map +1 -0
  6. package/dist/chunks/3171.0b9bbc30.js +2 -0
  7. package/dist/chunks/3171.0b9bbc30.js.map +1 -0
  8. package/dist/chunks/5399.fd40a11e.js +2 -0
  9. package/dist/chunks/5399.fd40a11e.js.map +1 -0
  10. package/dist/chunks/5552.5f907b58.js +2 -0
  11. package/dist/chunks/5552.5f907b58.js.map +1 -0
  12. package/dist/chunks/6376.6c11ee6d.js +2 -0
  13. package/dist/chunks/6376.6c11ee6d.js.map +1 -0
  14. package/dist/chunks/9118.cfcd7581.js +3 -0
  15. package/dist/chunks/9118.cfcd7581.js.LICENSE.txt +11 -0
  16. package/dist/chunks/9118.cfcd7581.js.map +1 -0
  17. package/dist/chunks/948.c3df313a.js +3 -0
  18. package/dist/chunks/948.c3df313a.js.map +1 -0
  19. package/dist/chunks/app-wall-card-item.7c32b915.js.map +1 -1
  20. package/dist/chunks/app-wall-relation-line.0445cf9d.js.map +1 -1
  21. package/dist/chunks/app-wall-system-card.aa2b5b84.js.map +1 -1
  22. package/dist/chunks/app-wall.126608d6.js.map +1 -1
  23. package/dist/chunks/basic-index-group.c555b165.js.map +1 -1
  24. package/dist/chunks/battery-chart.554d378f.js.map +1 -1
  25. package/dist/chunks/brick-notification.ae523413.js.map +1 -1
  26. package/dist/chunks/bubbles-indicator.e7b47e1e.js.map +1 -1
  27. package/dist/chunks/cabinet-app-layer.6a1a78c4.js.map +1 -1
  28. package/dist/chunks/cabinet-container.49872d09.js.map +1 -1
  29. package/dist/chunks/cabinet-graph.6aa32783.js.map +1 -1
  30. package/dist/chunks/china-map-chart.56dc9a9f.js.map +1 -1
  31. package/dist/chunks/china-map.a7c98bf0.js.map +1 -1
  32. package/dist/chunks/{complex-search.cbeec078.js → complex-search.666d9179.js} +2 -2
  33. package/dist/chunks/{complex-search.cbeec078.js.map → complex-search.666d9179.js.map} +1 -1
  34. package/dist/chunks/dropdown-menu.5c9a12d7.js.map +1 -1
  35. package/dist/chunks/globe-with-gear-indicator.123e65c1.js.map +1 -1
  36. package/dist/chunks/globe-with-halo-indicator.01b2c9a2.js.map +1 -1
  37. package/dist/chunks/globe-with-orbit-indicator.45415b04.js.map +1 -1
  38. package/dist/chunks/lights-component-title.0cccad81.js.map +1 -1
  39. package/dist/chunks/main.f208d7dd.js +2 -0
  40. package/dist/chunks/main.f208d7dd.js.map +1 -0
  41. package/dist/chunks/{modern-style-treemap.24ddab63.js → modern-style-treemap.87f2ea87.js} +3 -3
  42. package/dist/chunks/modern-style-treemap.87f2ea87.js.map +1 -0
  43. package/dist/chunks/progress-bar-list.8b0651c1.js.map +1 -1
  44. package/dist/chunks/tabs-drawer.ae7c57ad.js.map +1 -1
  45. package/dist/chunks/tabs-page-title.c696bb65.js.map +1 -1
  46. package/dist/chunks/tech-mesh-base-view.4c3b548e.js.map +1 -1
  47. package/dist/examples.json +59 -59
  48. package/dist/index.a683e2ca.js +2 -0
  49. package/dist/index.a683e2ca.js.map +1 -0
  50. package/dist/manifest.json +241 -216
  51. package/dist/types.json +421 -422
  52. package/dist-types/app-wall/card-item/index.d.ts +1 -0
  53. package/dist-types/app-wall/relation-line/index.d.ts +2 -4
  54. package/dist-types/app-wall/system-card/index.d.ts +6 -30
  55. package/dist-types/basic-index-group/index.d.ts +1 -0
  56. package/dist-types/battery-chart/index.d.ts +7 -20
  57. package/dist-types/brick-notification/index.d.ts +4 -4
  58. package/dist-types/bubbles-indicator/index.d.ts +1 -0
  59. package/dist-types/cabinet/cabinet-app-layer/index.d.ts +3 -8
  60. package/dist-types/cabinet/index.d.ts +3 -12
  61. package/dist-types/china-map/index.d.ts +1 -1
  62. package/dist-types/globe-with-gear-indicator/index.d.ts +2 -0
  63. package/dist-types/globe-with-halo-indicator/index.d.ts +2 -0
  64. package/dist-types/globe-with-orbit-indicator/index.d.ts +2 -0
  65. package/dist-types/lights-component-title/index.d.ts +4 -4
  66. package/dist-types/modern-style-treemap/index.d.ts +7 -7
  67. package/dist-types/progress-bar-list/index.d.ts +6 -4
  68. package/dist-types/tabs-page-title/index.d.ts +1 -1
  69. package/dist-types/tech-mesh-base-view/index.d.ts +2 -1
  70. package/docs/app-wall-card-item.md +23 -1
  71. package/docs/app-wall-card-item.react.md +52 -0
  72. package/docs/app-wall-relation-line.md +19 -1
  73. package/docs/app-wall-relation-line.react.md +36 -0
  74. package/docs/app-wall-system-card.md +35 -2
  75. package/docs/app-wall-system-card.react.md +89 -0
  76. package/docs/app-wall.md +118 -1469
  77. package/docs/app-wall.react.md +235 -0
  78. package/docs/basic-index-group.md +22 -1
  79. package/docs/basic-index-group.react.md +132 -0
  80. package/docs/battery-chart.md +44 -1
  81. package/docs/battery-chart.react.md +137 -0
  82. package/docs/brick-notification.md +22 -1
  83. package/docs/brick-notification.react.md +45 -0
  84. package/docs/bubbles-indicator.md +23 -1
  85. package/docs/bubbles-indicator.react.md +52 -0
  86. package/docs/cabinet-app-layer.md +49 -1
  87. package/docs/cabinet-app-layer.react.md +58 -0
  88. package/docs/cabinet-button.md +19 -1
  89. package/docs/cabinet-button.react.md +39 -0
  90. package/docs/cabinet-container.md +55 -1
  91. package/docs/cabinet-container.react.md +84 -0
  92. package/docs/cabinet-graph.md +61 -1
  93. package/docs/cabinet-graph.react.md +131 -0
  94. package/docs/cabinet-node.md +39 -1
  95. package/docs/cabinet-node.react.md +66 -0
  96. package/docs/cabinet-thumbnail.md +44 -1
  97. package/docs/cabinet-thumbnail.react.md +88 -0
  98. package/docs/china-map-chart.md +42 -2
  99. package/docs/china-map-chart.react.md +117 -0
  100. package/docs/china-map.md +26 -1
  101. package/docs/china-map.react.md +78 -0
  102. package/docs/complex-search.md +77 -1
  103. package/docs/complex-search.react.md +101 -0
  104. package/docs/crystal-ball-indicator.md +57 -1
  105. package/docs/crystal-ball-indicator.react.md +70 -0
  106. package/docs/data-display-flipper-fifth.md +76 -1
  107. package/docs/data-display-flipper-fifth.react.md +89 -0
  108. package/docs/data-display-flipper-sixth.md +39 -5
  109. package/docs/data-display-flipper-sixth.react.md +47 -0
  110. package/docs/data-display-flipper.md +68 -2
  111. package/docs/data-display-flipper.react.md +91 -0
  112. package/docs/dropdown-menu.md +62 -13
  113. package/docs/dropdown-menu.react.md +68 -0
  114. package/docs/gauge-chart.md +68 -19
  115. package/docs/gauge-chart.react.md +80 -0
  116. package/docs/gear-background.md +41 -8
  117. package/docs/gear-background.react.md +56 -0
  118. package/docs/globe-with-gear-indicator.md +67 -1
  119. package/docs/globe-with-gear-indicator.react.md +69 -0
  120. package/docs/globe-with-halo-indicator.md +67 -1
  121. package/docs/globe-with-halo-indicator.react.md +69 -0
  122. package/docs/globe-with-orbit-indicator.md +67 -1
  123. package/docs/globe-with-orbit-indicator.react.md +70 -0
  124. package/docs/graph-layout-grid.md +108 -85
  125. package/docs/graph-layout-grid.react.md +172 -0
  126. package/docs/graph-node.md +25 -7
  127. package/docs/graph-node.react.md +36 -0
  128. package/docs/graph-text.md +24 -6
  129. package/docs/graph-text.react.md +34 -0
  130. package/docs/grid-background.md +21 -1
  131. package/docs/grid-background.react.md +45 -0
  132. package/docs/hi-tech-button.md +63 -2
  133. package/docs/hi-tech-button.react.md +106 -0
  134. package/docs/indicator-card.md +26 -1
  135. package/docs/indicator-card.react.md +86 -0
  136. package/docs/lights-component-title.md +23 -1
  137. package/docs/lights-component-title.react.md +49 -0
  138. package/docs/loading-panel.md +31 -1
  139. package/docs/loading-panel.react.md +62 -0
  140. package/docs/modern-style-component-title.md +39 -2
  141. package/docs/modern-style-component-title.react.md +76 -0
  142. package/docs/modern-style-page-title.md +43 -1
  143. package/docs/modern-style-page-title.react.md +56 -0
  144. package/docs/modern-style-treemap.md +71 -373
  145. package/docs/modern-style-treemap.react.md +131 -0
  146. package/docs/particle-animation.md +45 -1
  147. package/docs/particle-animation.react.md +64 -0
  148. package/docs/progress-bar-list.md +19 -1
  149. package/docs/progress-bar-list.react.md +47 -0
  150. package/docs/radar-chart.md +97 -31
  151. package/docs/radar-chart.react.md +75 -0
  152. package/docs/simple-card-item.md +79 -3
  153. package/docs/simple-card-item.react.md +83 -0
  154. package/docs/tabs-drawer.md +81 -2
  155. package/docs/tabs-drawer.react.md +117 -0
  156. package/docs/tabs-page-title.md +40 -1
  157. package/docs/tabs-page-title.react.md +87 -0
  158. package/docs/tech-mesh-base-view.md +22 -1
  159. package/docs/tech-mesh-base-view.react.md +55 -0
  160. package/docs/title-text.md +41 -1
  161. package/docs/title-text.react.md +67 -0
  162. package/docs/top-title-bar.md +25 -2
  163. package/docs/top-title-bar.react.md +50 -0
  164. package/package.json +2 -2
  165. package/dist/chunks/2145.65311b68.js.map +0 -1
  166. package/dist/chunks/3171.1af9074e.js +0 -2
  167. package/dist/chunks/3171.1af9074e.js.map +0 -1
  168. package/dist/chunks/4837.80094357.js +0 -2
  169. package/dist/chunks/4837.80094357.js.map +0 -1
  170. package/dist/chunks/5399.bc04d692.js +0 -2
  171. package/dist/chunks/5399.bc04d692.js.map +0 -1
  172. package/dist/chunks/5552.bc6a55e1.js +0 -2
  173. package/dist/chunks/5552.bc6a55e1.js.map +0 -1
  174. package/dist/chunks/7218.7a1bbf3a.js +0 -2
  175. package/dist/chunks/7218.7a1bbf3a.js.map +0 -1
  176. package/dist/chunks/948.c2aa593f.js +0 -3
  177. package/dist/chunks/948.c2aa593f.js.map +0 -1
  178. package/dist/chunks/main.71e1cf26.js +0 -2
  179. package/dist/chunks/main.71e1cf26.js.map +0 -1
  180. package/dist/chunks/modern-style-treemap.24ddab63.js.map +0 -1
  181. package/dist/index.3a389e66.js +0 -2
  182. package/dist/index.3a389e66.js.map +0 -1
  183. /package/dist/chunks/{948.c2aa593f.js.LICENSE.txt → 948.c3df313a.js.LICENSE.txt} +0 -0
  184. /package/dist/chunks/{modern-style-treemap.24ddab63.js.LICENSE.txt → modern-style-treemap.87f2ea87.js.LICENSE.txt} +0 -0
@@ -0,0 +1,117 @@
1
+ ---
2
+ tagName: data-view.tabs-drawer
3
+ displayName: WrappedDataViewTabsDrawer
4
+ description: 大屏仪标签页抽屉
5
+ category: big-screen-layout
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # WrappedDataViewTabsDrawer
10
+
11
+ > 大屏仪标签页抽屉
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedDataViewTabsDrawer } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ ## Props
20
+
21
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
22
+ | ----------- | --------------------- | ---- | ------ | -------------------------------------------------- |
23
+ | tabList | `TabItem[]` | 是 | - | 抽屉左侧菜单列表 |
24
+ | activeKey | `string` | 是 | - | 抽屉左侧菜单高亮显示 |
25
+ | width | `number \| string` | 是 | - | 抽屉宽度内容区的宽度,优先级高于bodyStyle内的width |
26
+ | drawerStyle | `React.CSSProperties` | 是 | - | 设计 Drawer 容器样式 |
27
+ | bodyStyle | `React.CSSProperties` | 是 | - | 可用于设置 Drawer 内容部分的样式 |
28
+ | zIndex | `number` | 否 | - | 抽屉层级 |
29
+ | visible | `boolean` | 否 | - | 遮罩层是否显示 |
30
+
31
+ ## Events
32
+
33
+ | 事件 | detail | 说明 |
34
+ | ----------- | ---------------------------------- | ------------------------------------------------------------- |
35
+ | onOpen | `void` | 抽屉打开事件 |
36
+ | onClose | `void` | 抽屉关闭事件 |
37
+ | onTabChange | `string` — 切换后激活的 tab 的 key | 切换 `tab` 栏会触发的事件,`detail` 为目标 `tab` 对应的 `key` |
38
+
39
+ ## Methods
40
+
41
+ | 方法 | 参数 | 返回值 | 说明 |
42
+ | ----- | ------------ | ------ | -------- |
43
+ | open | `() => void` | `void` | 打开抽屉 |
44
+ | close | `() => void` | `void` | 关闭抽屉 |
45
+
46
+ ## Examples
47
+
48
+ ### Basic
49
+
50
+ 展示带有三个标签页的基础抽屉,默认展开并高亮第一个标签。
51
+
52
+ ```tsx
53
+ <WrappedDataViewTabsDrawer
54
+ activeKey="search"
55
+ visible={true}
56
+ width={800}
57
+ style={{ height: "600px", display: "block" }}
58
+ tabList={[
59
+ {
60
+ tooltip: "搜索",
61
+ key: "search",
62
+ icon: { lib: "fa", icon: "search", prefix: "fas" },
63
+ },
64
+ {
65
+ tooltip: "内容",
66
+ key: "app",
67
+ icon: {
68
+ lib: "easyops",
69
+ category: "app",
70
+ icon: "micro-app-configuration",
71
+ },
72
+ },
73
+ {
74
+ tooltip: "图表",
75
+ key: "chart",
76
+ icon: { lib: "fa", icon: "ad", prefix: "fas" },
77
+ },
78
+ ]}
79
+ onClose={(e) => console.log(e)}
80
+ onTabChange={(e) => console.log(e.detail)}
81
+ >
82
+ <div
83
+ slot="search"
84
+ style={{ padding: "0 16px", height: "100px", background: "red" }}
85
+ >
86
+ 测试
87
+ </div>
88
+ <div slot="app" style={{ background: "yellow", height: "100px" }}>
89
+ 内容区域
90
+ </div>
91
+ <div slot="chart" style={{ background: "green", height: "100px" }}>
92
+ 图表区域
93
+ </div>
94
+ </WrappedDataViewTabsDrawer>
95
+ ```
96
+
97
+ ### Method Control
98
+
99
+ 通过调用 open/close 方法程序化控制抽屉的展开与收起。
100
+
101
+ ```tsx
102
+ const drawerRef = useRef<any>();
103
+
104
+ <button onClick={() => drawerRef.current?.open()}>打开抽屉</button>
105
+ <WrappedDataViewTabsDrawer
106
+ ref={drawerRef}
107
+ style={{ height: "500px", display: "block" }}
108
+ tabList={[
109
+ { tooltip: "信息", key: "info", icon: { lib: "antd", icon: "info-circle" } },
110
+ ]}
111
+ zIndex={100}
112
+ onOpen={(e) => console.log(e)}
113
+ onClose={(e) => console.log(e)}
114
+ >
115
+ <div slot="info" style={{ padding: "16px" }}>抽屉内容区域</div>
116
+ </WrappedDataViewTabsDrawer>
117
+ ```
@@ -1,9 +1,43 @@
1
- 构件 tabs-page-title
1
+ ---
2
+ tagName: data-view.tabs-page-title
3
+ displayName: WrappedDataViewTabsPageTitle
4
+ description: 带有tabs的标题构件
5
+ category: big-screen-content
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # data-view.tabs-page-title
10
+
11
+ > 带有tabs的标题构件
12
+
13
+ ## Props
14
+
15
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
16
+ | --------- | ------------ | ---- | ------ | -------------------------- |
17
+ | tabList | `TabsItem[]` | 是 | - | 标签,如果没有就不展示标签 |
18
+ | activeKey | `string` | 是 | - | 标签高亮显示,默认第一个 |
19
+
20
+ ## Events
21
+
22
+ | 事件 | detail | 说明 |
23
+ | ---------- | ---------------------------------- | ------------------------------------------------------------- |
24
+ | tab.change | `string` — 切换后激活的 tab 的 key | 切换 `tab` 栏会触发的事件,`detail` 为目标 `tab` 对应的 `key` |
25
+
26
+ ## Slots
27
+
28
+ | 名称 | 说明 |
29
+ | --------- | -------------------------- |
30
+ | (default) | 默认插槽,用于放置标题内容 |
31
+ | start | 顶部左边插槽 |
32
+ | end | 顶部右边插槽 |
33
+ | [key] | 标签对应的key的插槽 |
2
34
 
3
35
  ## Examples
4
36
 
5
37
  ### Basic
6
38
 
39
+ 展示带有标题和顶部工具栏的页面标题构件(无标签页)。
40
+
7
41
  ```yaml preview
8
42
  - brick: data-view.tabs-page-title
9
43
  properties:
@@ -34,6 +68,8 @@
34
68
 
35
69
  ### TabList
36
70
 
71
+ 展示带有多个标签页的页面标题构件,支持通过 activeKey 指定初始激活标签。
72
+
37
73
  ```yaml preview
38
74
  - brick: data-view.tabs-page-title
39
75
  properties:
@@ -95,4 +131,7 @@
95
131
  - brick: div
96
132
  properties:
97
133
  textContent: 标签六内容
134
+ events:
135
+ tab.change:
136
+ - action: console.log
98
137
  ```
@@ -0,0 +1,87 @@
1
+ ---
2
+ tagName: data-view.tabs-page-title
3
+ displayName: WrappedDataViewTabsPageTitle
4
+ description: 带有tabs的标题构件
5
+ category: big-screen-content
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # WrappedDataViewTabsPageTitle
10
+
11
+ > 带有tabs的标题构件
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedDataViewTabsPageTitle } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ ## Props
20
+
21
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
22
+ | --------- | ------------ | ---- | ------ | -------------------------- |
23
+ | tabList | `TabsItem[]` | 是 | - | 标签,如果没有就不展示标签 |
24
+ | activeKey | `string` | 是 | - | 标签高亮显示,默认第一个 |
25
+
26
+ ## Events
27
+
28
+ | 事件 | detail | 说明 |
29
+ | ----------- | ---------------------------------- | ------------------------------------------------------------- |
30
+ | onTabChange | `string` — 切换后激活的 tab 的 key | 切换 `tab` 栏会触发的事件,`detail` 为目标 `tab` 对应的 `key` |
31
+
32
+ ## Slots
33
+
34
+ | 名称 | 说明 |
35
+ | --------- | -------------------------- |
36
+ | (default) | 默认插槽,用于放置标题内容 |
37
+ | start | 顶部左边插槽 |
38
+ | end | 顶部右边插槽 |
39
+ | [key] | 标签对应的key的插槽 |
40
+
41
+ ## Examples
42
+
43
+ ### Basic
44
+
45
+ 展示带有标题和顶部工具栏的页面标题构件(无标签页)。
46
+
47
+ ```tsx
48
+ <WrappedDataViewTabsPageTitle>
49
+ <WrappedDataViewTitleText slot="" text="大标题" type="gradient" />
50
+ <WrappedDataViewBrickNotification
51
+ slot="start"
52
+ message="This is the content of the notification."
53
+ />
54
+ <div slot="end" style={{ fontSize: "16px", color: "#fff" }}>
55
+ 2022/11/30 17:25 星期四
56
+ </div>
57
+ </WrappedDataViewTabsPageTitle>
58
+ ```
59
+
60
+ ### TabList
61
+
62
+ 展示带有多个标签页的页面标题构件,支持通过 activeKey 指定初始激活标签。
63
+
64
+ ```tsx
65
+ const [activeKey, setActiveKey] = useState("key2");
66
+
67
+ <WrappedDataViewTabsPageTitle
68
+ tabList={[
69
+ { text: "标签1", key: "key1" },
70
+ { text: "标签2", key: "key2" },
71
+ { text: "标签3", key: "key3" },
72
+ { text: "标签4", key: "key4" },
73
+ { text: "标签5", key: "key5" },
74
+ { text: "标签6", key: "key6" },
75
+ ]}
76
+ activeKey={activeKey}
77
+ onTabChange={(e) => setActiveKey(e.detail)}
78
+ >
79
+ <WrappedDataViewTitleText slot="" text="大标题" type="gradient" />
80
+ <div slot="key1">标签一内容</div>
81
+ <div slot="key2">标签二内容</div>
82
+ <div slot="key3">标签三内容</div>
83
+ <div slot="key4">标签四内容</div>
84
+ <div slot="key5">标签五内容</div>
85
+ <div slot="key6">标签六内容</div>
86
+ </WrappedDataViewTabsPageTitle>;
87
+ ```
@@ -1,9 +1,28 @@
1
- 构件 `data-view.tech-mesh-base-view`
1
+ ---
2
+ tagName: data-view.tech-mesh-base-view
3
+ displayName: WrappedDataViewTechMeshBaseView
4
+ description: 大屏框架构件-网格纹
5
+ category: big-screen-layout
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # data-view.tech-mesh-base-view
10
+
11
+ > 大屏框架构件-网格纹
12
+
13
+ ## Slots
14
+
15
+ | 名称 | 说明 |
16
+ | -------- | ------------ |
17
+ | titleBar | 标题栏插槽 |
18
+ | content | 页面内容插槽 |
2
19
 
3
20
  ## Examples
4
21
 
5
22
  ### Basic TabsTitleBar
6
23
 
24
+ 展示使用带标签页标题栏的大屏框架构件基础用法。
25
+
7
26
  ```yaml preview
8
27
  - brick: data-view.tech-mesh-base-view
9
28
  properties:
@@ -41,6 +60,8 @@
41
60
 
42
61
  ### Sample TitleBar
43
62
 
63
+ 展示使用顶部标题栏样式为 sample 的大屏框架构件。
64
+
44
65
  ```yaml preview
45
66
  - brick: data-view.tech-mesh-base-view
46
67
  properties:
@@ -0,0 +1,55 @@
1
+ ---
2
+ tagName: data-view.tech-mesh-base-view
3
+ displayName: WrappedDataViewTechMeshBaseView
4
+ description: 大屏框架构件-网格纹
5
+ category: big-screen-layout
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # WrappedDataViewTechMeshBaseView
10
+
11
+ > 大屏框架构件-网格纹
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedDataViewTechMeshBaseView } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ ## Slots
20
+
21
+ | 名称 | 说明 |
22
+ | -------- | ------------ |
23
+ | titleBar | 标题栏插槽 |
24
+ | content | 页面内容插槽 |
25
+
26
+ ## Examples
27
+
28
+ ### Basic TabsTitleBar
29
+
30
+ 展示使用带标签页标题栏的大屏框架构件基础用法。
31
+
32
+ ```tsx
33
+ <WrappedDataViewTechMeshBaseView style={{ minHeight: "800px" }}>
34
+ <WrappedDataViewTabsPageTitle slot="titleBar">
35
+ <WrappedDataViewTitleText slot="" text="大标题" type="gradient" />
36
+ <WrappedDataViewBrickNotification
37
+ slot="start"
38
+ message="This is the content of the notification."
39
+ />
40
+ <div slot="end" style={{ fontSize: "16px", color: "#fff" }}>
41
+ 2022/11/30 17:25 星期四
42
+ </div>
43
+ </WrappedDataViewTabsPageTitle>
44
+ </WrappedDataViewTechMeshBaseView>
45
+ ```
46
+
47
+ ### Sample TitleBar
48
+
49
+ 展示使用顶部标题栏样式为 sample 的大屏框架构件。
50
+
51
+ ```tsx
52
+ <WrappedDataViewTechMeshBaseView style={{ minHeight: "800px" }}>
53
+ <WrappedDataViewTopTitleBar slot="titleBar" text="可视化大屏" type="sample" />
54
+ </WrappedDataViewTechMeshBaseView>
55
+ ```
@@ -1,9 +1,31 @@
1
- 构件 title-text
1
+ ---
2
+ tagName: data-view.title-text
3
+ displayName: WrappedDataViewTitleText
4
+ description: 大屏标题文本构件
5
+ category: big-screen-content
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # data-view.title-text
10
+
11
+ > 大屏标题文本构件
12
+
13
+ ## Props
14
+
15
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
16
+ | ------------- | -------------------------------- | ---- | ---------- | --------------------------------------------------------------- |
17
+ | text | `string` | 是 | - | 标题文本 |
18
+ | type | `TitleType` | 是 | `"normal"` | 文本样式,`normal` 纯白, `stroke` 渐变加描边, `gradient` 渐变 |
19
+ | fontSize | `CSSProperties["fontSize"]` | 是 | - | 字体大小 |
20
+ | fontWeight | `CSSProperties["fontWeight"]` | 是 | - | 字体粗细 |
21
+ | letterSpacing | `CSSProperties["letterSpacing"]` | 是 | - | 字体间距 |
2
22
 
3
23
  ## Examples
4
24
 
5
25
  ### Basic
6
26
 
27
+ 展示默认样式(纯白色)的标题文本。
28
+
7
29
  ```yaml preview
8
30
  - brick: data-view.title-text
9
31
  properties:
@@ -12,6 +34,8 @@
12
34
 
13
35
  ### Stroke
14
36
 
37
+ 展示渐变加描边样式的标题文本。
38
+
15
39
  ```yaml preview
16
40
  - brick: data-view.title-text
17
41
  properties:
@@ -21,9 +45,25 @@
21
45
 
22
46
  ### Gradient
23
47
 
48
+ 展示渐变样式的标题文本。
49
+
24
50
  ```yaml preview
25
51
  - brick: data-view.title-text
26
52
  properties:
27
53
  text: 大标题
28
54
  type: gradient
29
55
  ```
56
+
57
+ ### Custom Font
58
+
59
+ 展示自定义字体大小、粗细和间距的标题文本。
60
+
61
+ ```yaml preview
62
+ - brick: data-view.title-text
63
+ properties:
64
+ text: 自定义字体
65
+ type: gradient
66
+ fontSize: 60px
67
+ fontWeight: 700
68
+ letterSpacing: 20px
69
+ ```
@@ -0,0 +1,67 @@
1
+ ---
2
+ tagName: data-view.title-text
3
+ displayName: WrappedDataViewTitleText
4
+ description: 大屏标题文本构件
5
+ category: big-screen-content
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # WrappedDataViewTitleText
10
+
11
+ > 大屏标题文本构件
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedDataViewTitleText } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ ## Props
20
+
21
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
22
+ | ------------- | -------------------------------- | ---- | ---------- | --------------------------------------------------------------- |
23
+ | text | `string` | 是 | - | 标题文本 |
24
+ | type | `TitleType` | 是 | `"normal"` | 文本样式,`normal` 纯白, `stroke` 渐变加描边, `gradient` 渐变 |
25
+ | fontSize | `CSSProperties["fontSize"]` | 是 | - | 字体大小 |
26
+ | fontWeight | `CSSProperties["fontWeight"]` | 是 | - | 字体粗细 |
27
+ | letterSpacing | `CSSProperties["letterSpacing"]` | 是 | - | 字体间距 |
28
+
29
+ ## Examples
30
+
31
+ ### Basic
32
+
33
+ 展示默认样式(纯白色)的标题文本。
34
+
35
+ ```tsx
36
+ <WrappedDataViewTitleText text="大标题" />
37
+ ```
38
+
39
+ ### Stroke
40
+
41
+ 展示渐变加描边样式的标题文本。
42
+
43
+ ```tsx
44
+ <WrappedDataViewTitleText text="大标题" type="stroke" />
45
+ ```
46
+
47
+ ### Gradient
48
+
49
+ 展示渐变样式的标题文本。
50
+
51
+ ```tsx
52
+ <WrappedDataViewTitleText text="大标题" type="gradient" />
53
+ ```
54
+
55
+ ### Custom Font
56
+
57
+ 展示自定义字体大小、粗细和间距的标题文本。
58
+
59
+ ```tsx
60
+ <WrappedDataViewTitleText
61
+ text="自定义字体"
62
+ type="gradient"
63
+ fontSize="60px"
64
+ fontWeight={700}
65
+ letterSpacing="20px"
66
+ />
67
+ ```
@@ -1,16 +1,37 @@
1
- 构件 `data-view.top-title-bar`
1
+ ---
2
+ tagName: data-view.top-title-bar
3
+ displayName: WrappedDataViewTopTitleBar
4
+ description: 大屏标题栏三种样式构件
5
+ category: big-screen-content
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # data-view.top-title-bar
10
+
11
+ > 大屏标题栏三种样式构件
12
+
13
+ ## Props
14
+
15
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
16
+ | ---- | -------------- | ---- | ---------- | -------- |
17
+ | text | `string` | 是 | - | 标题文本 |
18
+ | type | `TitleBarType` | 是 | `"normal"` | 标题类型 |
2
19
 
3
20
  ## Examples
4
21
 
5
22
  ### Basic
6
23
 
24
+ 展示默认(normal)样式的顶部标题栏。
25
+
7
26
  ```yaml preview
8
27
  - brick: data-view.top-title-bar
9
28
  properties:
10
29
  text: 标题
11
30
  ```
12
31
 
13
- ### Smaple
32
+ ### Sample
33
+
34
+ 展示 sample 样式的顶部标题栏。
14
35
 
15
36
  ```yaml preview
16
37
  - brick: data-view.top-title-bar
@@ -21,6 +42,8 @@
21
42
 
22
43
  ### Square
23
44
 
45
+ 展示 square 样式的顶部标题栏。
46
+
24
47
  ```yaml preview
25
48
  - brick: data-view.top-title-bar
26
49
  properties:
@@ -0,0 +1,50 @@
1
+ ---
2
+ tagName: data-view.top-title-bar
3
+ displayName: WrappedDataViewTopTitleBar
4
+ description: 大屏标题栏三种样式构件
5
+ category: big-screen-content
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # WrappedDataViewTopTitleBar
10
+
11
+ > 大屏标题栏三种样式构件
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedDataViewTopTitleBar } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ ## Props
20
+
21
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
22
+ | ---- | -------------- | ---- | ---------- | -------- |
23
+ | text | `string` | 是 | - | 标题文本 |
24
+ | type | `TitleBarType` | 是 | `"normal"` | 标题类型 |
25
+
26
+ ## Examples
27
+
28
+ ### Basic
29
+
30
+ 展示默认(normal)样式的顶部标题栏。
31
+
32
+ ```tsx
33
+ <WrappedDataViewTopTitleBar text="标题" />
34
+ ```
35
+
36
+ ### Sample
37
+
38
+ 展示 sample 样式的顶部标题栏。
39
+
40
+ ```tsx
41
+ <WrappedDataViewTopTitleBar text="标题" type="sample" />
42
+ ```
43
+
44
+ ### Square
45
+
46
+ 展示 square 样式的顶部标题栏。
47
+
48
+ ```tsx
49
+ <WrappedDataViewTopTitleBar text="标题" type="square" />
50
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/data-view",
3
- "version": "1.12.11",
3
+ "version": "1.12.13",
4
4
  "homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/data-view",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,5 +44,5 @@
44
44
  "@next-bricks/basic": "*",
45
45
  "@next-bricks/icons": "*"
46
46
  },
47
- "gitHead": "d2bbede368a80375467072fff541dba9a064ea11"
47
+ "gitHead": "bfc02e6cd7028ac3f92808235d9f3fcc0dfde393"
48
48
  }