@next-bricks/data-view 0.24.5 → 0.24.6

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.
@@ -4,251 +4,220 @@
4
4
  "name": "data-view",
5
5
  "bricks": [
6
6
  {
7
- "name": "data-view.radar-chart",
7
+ "name": "data-view.gauge-chart",
8
8
  "properties": [
9
- {
10
- "name": "dataSource",
11
- "description": "",
12
- "required": true,
13
- "default": null,
14
- "attribute": false,
15
- "type": "Data[]"
16
- },
17
- {
18
- "name": "width",
19
- "description": "",
20
- "required": true,
21
- "default": null,
22
- "attribute": false,
23
- "type": "number"
24
- },
25
9
  {
26
10
  "name": "radius",
27
11
  "description": "",
28
12
  "required": true,
29
- "default": null,
30
- "attribute": false,
13
+ "default": "-",
31
14
  "type": "number"
32
15
  },
33
16
  {
34
- "name": "scale",
17
+ "name": "strokeWidth",
35
18
  "description": "",
36
19
  "required": true,
37
- "default": "0.25",
38
- "attribute": false,
20
+ "default": "20",
39
21
  "type": "number"
40
22
  },
41
23
  {
42
- "name": "height",
24
+ "name": "description",
43
25
  "description": "",
44
26
  "required": true,
45
- "default": null,
46
- "attribute": false,
47
- "type": "number"
27
+ "default": "-",
28
+ "type": "string"
48
29
  },
49
30
  {
50
31
  "name": "value",
51
32
  "description": "",
52
33
  "required": true,
53
- "default": null,
54
- "attribute": false,
55
- "type": "number | string"
56
- },
57
- {
58
- "name": "dataFill",
59
- "description": "",
60
- "required": true,
61
- "default": null,
62
- "attribute": false,
63
- "type": "DataFill"
64
- },
65
- {
66
- "name": "dataCircle",
67
- "description": "",
68
- "required": true,
69
- "default": null,
70
- "attribute": false,
71
- "type": "DataCircle"
34
+ "default": "-",
35
+ "type": "number"
72
36
  },
73
37
  {
74
- "name": "dataLine",
38
+ "name": "fontSize",
75
39
  "description": "",
76
40
  "required": true,
77
- "default": null,
78
- "attribute": false,
79
- "type": "DataLine"
41
+ "default": "35",
42
+ "type": "number"
80
43
  }
81
44
  ],
82
45
  "events": [],
83
46
  "slots": [],
84
47
  "methods": [],
85
48
  "parts": [],
86
- "description": "雷达图",
49
+ "description": "大屏仪表盘",
87
50
  "category": "big-screen-content"
88
51
  },
89
52
  {
90
- "name": "data-view.title-text",
53
+ "name": "data-view.modern-style-page-title",
91
54
  "properties": [
92
55
  {
93
- "name": "type",
94
- "description": "文本样式,`normal` 纯白, `stroke` 渐变加描边, `gradient` 渐变",
95
- "default": "\"normal\"",
96
- "attribute": false,
97
- "type": "TitleType"
56
+ "name": "pageTitle",
57
+ "description": "",
58
+ "type": "string"
98
59
  },
99
60
  {
100
- "name": "text",
101
- "description": "标题文本",
102
- "default": "-",
61
+ "name": "description",
62
+ "description": "",
103
63
  "type": "string"
104
64
  },
105
65
  {
106
- "name": "fontSize",
107
- "description": "字体大小",
108
- "default": "42px",
109
- "type": "CSSProperties[\"fontSize\"]"
66
+ "name": "backgroundStyle",
67
+ "description": "",
68
+ "attribute": false,
69
+ "type": "CSSProperties"
110
70
  },
111
71
  {
112
- "name": "fontWeight",
113
- "description": "字体粗细",
114
- "default": "500",
115
- "type": "CSSProperties[\"fontWeight\"]"
72
+ "name": "leftRoundStyle",
73
+ "description": "",
74
+ "attribute": false,
75
+ "type": "CSSProperties"
116
76
  },
117
77
  {
118
- "name": "letterSpacing",
119
- "description": "字体间距",
120
- "default": "17px",
121
- "type": "CSSProperties[\"letterSpacing\"]"
78
+ "name": "rightRoundStyle",
79
+ "description": "",
80
+ "attribute": false,
81
+ "type": "CSSProperties"
122
82
  }
123
83
  ],
124
84
  "events": [],
125
85
  "slots": [],
126
86
  "methods": [],
127
87
  "parts": [],
128
- "description": "大屏标题文本构件",
88
+ "description": "现代风页面标题",
129
89
  "category": "big-screen-content"
130
90
  },
131
91
  {
132
- "name": "data-view.gauge-chart",
92
+ "name": "data-view.modern-style-component-title",
133
93
  "properties": [
134
94
  {
135
- "name": "radius",
95
+ "name": "hideLeftComponent",
136
96
  "description": "",
137
- "required": true,
138
- "default": "-",
139
- "type": "number"
97
+ "default": "false"
140
98
  },
141
99
  {
142
- "name": "strokeWidth",
100
+ "name": "hideRightComponent",
143
101
  "description": "",
144
- "required": true,
145
- "default": "20",
146
- "type": "number"
102
+ "default": "true"
147
103
  },
148
104
  {
149
- "name": "description",
105
+ "name": "componentTitle",
150
106
  "description": "",
151
- "required": true,
152
- "default": "-",
153
107
  "type": "string"
154
108
  },
155
109
  {
156
- "name": "value",
110
+ "name": "titleTextStyle",
157
111
  "description": "",
158
- "required": true,
159
- "default": "-",
160
- "type": "number"
112
+ "attribute": false,
113
+ "type": "CSSProperties"
161
114
  },
162
115
  {
163
- "name": "fontSize",
116
+ "name": "squareColor",
164
117
  "description": "",
165
- "required": true,
166
- "default": "35",
167
- "type": "number"
118
+ "attribute": false,
119
+ "type": "CSSProperties[\"color\"]"
168
120
  }
169
121
  ],
170
122
  "events": [],
171
123
  "slots": [],
172
124
  "methods": [],
173
125
  "parts": [],
174
- "description": "大屏仪表盘",
126
+ "description": "现代风组件标题",
175
127
  "category": "big-screen-content"
176
128
  },
177
129
  {
178
- "name": "data-view.modern-style-component-title",
130
+ "name": "data-view.battery-chart",
179
131
  "properties": [
180
132
  {
181
- "name": "hideLeftComponent",
133
+ "name": "value",
182
134
  "description": "",
183
- "default": "false"
135
+ "type": "number"
184
136
  },
185
137
  {
186
- "name": "hideRightComponent",
138
+ "name": "batteryWidth",
187
139
  "description": "",
188
- "default": "true"
140
+ "type": "number"
189
141
  },
190
142
  {
191
- "name": "componentTitle",
143
+ "name": "batteryHeight",
192
144
  "description": "",
193
- "type": "string"
145
+ "type": "number"
194
146
  },
195
147
  {
196
- "name": "titleTextStyle",
148
+ "name": "thresholdColors",
197
149
  "description": "",
198
150
  "attribute": false,
199
- "type": "CSSProperties"
151
+ "type": "ThresholdColor[]"
200
152
  },
201
153
  {
202
- "name": "squareColor",
154
+ "name": "thresholdValue",
203
155
  "description": "",
204
- "attribute": false,
205
- "type": "CSSProperties[\"color\"]"
156
+ "type": "number"
206
157
  }
207
158
  ],
208
159
  "events": [],
209
160
  "slots": [],
210
161
  "methods": [],
211
162
  "parts": [],
212
- "description": "现代风组件标题",
163
+ "description": "大屏电池",
213
164
  "category": "big-screen-content"
214
165
  },
215
166
  {
216
- "name": "data-view.modern-style-page-title",
167
+ "name": "data-view.modern-style-treemap",
217
168
  "properties": [
218
169
  {
219
- "name": "pageTitle",
170
+ "name": "data",
220
171
  "description": "",
221
- "type": "string"
172
+ "attribute": false,
173
+ "type": "TreemapData"
222
174
  },
223
175
  {
224
- "name": "description",
176
+ "name": "tail",
225
177
  "description": "",
226
- "type": "string"
178
+ "default": "TailTypes[\"treemapSquarify\"]",
179
+ "attribute": false,
180
+ "type": "TailTypes"
227
181
  },
228
182
  {
229
- "name": "backgroundStyle",
183
+ "name": "leafUseBrick",
230
184
  "description": "",
231
185
  "attribute": false,
232
- "type": "CSSProperties"
186
+ "type": "{ useBrick: UseBrickConf }"
233
187
  },
234
188
  {
235
- "name": "leftRoundStyle",
189
+ "name": "leafContainerStyle",
236
190
  "description": "",
237
191
  "attribute": false,
238
192
  "type": "CSSProperties"
239
193
  },
240
194
  {
241
- "name": "rightRoundStyle",
195
+ "name": "tooltipUseBrick",
196
+ "description": "",
197
+ "attribute": false,
198
+ "type": "{ useBrick: UseBrickConf }"
199
+ },
200
+ {
201
+ "name": "tooltipStyle",
242
202
  "description": "",
243
203
  "attribute": false,
244
204
  "type": "CSSProperties"
245
205
  }
246
206
  ],
247
- "events": [],
207
+ "events": [
208
+ {
209
+ "name": "treemap.click",
210
+ "description": "",
211
+ "detail": {
212
+ "description": null,
213
+ "type": "TreemapData"
214
+ }
215
+ }
216
+ ],
248
217
  "slots": [],
249
218
  "methods": [],
250
219
  "parts": [],
251
- "description": "现代风页面标题",
220
+ "description": "现代风树图",
252
221
  "category": "big-screen-content"
253
222
  },
254
223
  {
@@ -343,100 +312,6 @@
343
312
  "description": "大屏仪标签页抽屉",
344
313
  "category": "big-screen-layout"
345
314
  },
346
- {
347
- "name": "data-view.modern-style-treemap",
348
- "properties": [
349
- {
350
- "name": "data",
351
- "description": "",
352
- "attribute": false,
353
- "type": "TreemapData"
354
- },
355
- {
356
- "name": "tail",
357
- "description": "",
358
- "default": "TailTypes[\"treemapSquarify\"]",
359
- "attribute": false,
360
- "type": "TailTypes"
361
- },
362
- {
363
- "name": "leafUseBrick",
364
- "description": "",
365
- "attribute": false,
366
- "type": "{ useBrick: UseBrickConf }"
367
- },
368
- {
369
- "name": "leafContainerStyle",
370
- "description": "",
371
- "attribute": false,
372
- "type": "CSSProperties"
373
- },
374
- {
375
- "name": "tooltipUseBrick",
376
- "description": "",
377
- "attribute": false,
378
- "type": "{ useBrick: UseBrickConf }"
379
- },
380
- {
381
- "name": "tooltipStyle",
382
- "description": "",
383
- "attribute": false,
384
- "type": "CSSProperties"
385
- }
386
- ],
387
- "events": [
388
- {
389
- "name": "treemap.click",
390
- "description": "",
391
- "detail": {
392
- "description": null,
393
- "type": "TreemapData"
394
- }
395
- }
396
- ],
397
- "slots": [],
398
- "methods": [],
399
- "parts": [],
400
- "description": "现代风树图",
401
- "category": "big-screen-content"
402
- },
403
- {
404
- "name": "data-view.battery-chart",
405
- "properties": [
406
- {
407
- "name": "value",
408
- "description": "",
409
- "type": "number"
410
- },
411
- {
412
- "name": "batteryWidth",
413
- "description": "",
414
- "type": "number"
415
- },
416
- {
417
- "name": "batteryHeight",
418
- "description": "",
419
- "type": "number"
420
- },
421
- {
422
- "name": "thresholdColors",
423
- "description": "",
424
- "attribute": false,
425
- "type": "ThresholdColor[]"
426
- },
427
- {
428
- "name": "thresholdValue",
429
- "description": "",
430
- "type": "number"
431
- }
432
- ],
433
- "events": [],
434
- "slots": [],
435
- "methods": [],
436
- "parts": [],
437
- "description": "大屏电池",
438
- "category": "big-screen-content"
439
- },
440
315
  {
441
316
  "name": "data-view.dropdown-menu",
442
317
  "properties": [
@@ -1138,6 +1013,131 @@
1138
1013
  "description": "齿轮背景",
1139
1014
  "category": "big-screen-layout"
1140
1015
  },
1016
+ {
1017
+ "name": "data-view.radar-chart",
1018
+ "properties": [
1019
+ {
1020
+ "name": "dataSource",
1021
+ "description": "",
1022
+ "required": true,
1023
+ "default": null,
1024
+ "attribute": false,
1025
+ "type": "Data[]"
1026
+ },
1027
+ {
1028
+ "name": "width",
1029
+ "description": "",
1030
+ "required": true,
1031
+ "default": null,
1032
+ "attribute": false,
1033
+ "type": "number"
1034
+ },
1035
+ {
1036
+ "name": "radius",
1037
+ "description": "",
1038
+ "required": true,
1039
+ "default": null,
1040
+ "attribute": false,
1041
+ "type": "number"
1042
+ },
1043
+ {
1044
+ "name": "scale",
1045
+ "description": "",
1046
+ "required": true,
1047
+ "default": "0.25",
1048
+ "attribute": false,
1049
+ "type": "number"
1050
+ },
1051
+ {
1052
+ "name": "height",
1053
+ "description": "",
1054
+ "required": true,
1055
+ "default": null,
1056
+ "attribute": false,
1057
+ "type": "number"
1058
+ },
1059
+ {
1060
+ "name": "value",
1061
+ "description": "",
1062
+ "required": true,
1063
+ "default": null,
1064
+ "attribute": false,
1065
+ "type": "number | string"
1066
+ },
1067
+ {
1068
+ "name": "dataFill",
1069
+ "description": "",
1070
+ "required": true,
1071
+ "default": null,
1072
+ "attribute": false,
1073
+ "type": "DataFill"
1074
+ },
1075
+ {
1076
+ "name": "dataCircle",
1077
+ "description": "",
1078
+ "required": true,
1079
+ "default": null,
1080
+ "attribute": false,
1081
+ "type": "DataCircle"
1082
+ },
1083
+ {
1084
+ "name": "dataLine",
1085
+ "description": "",
1086
+ "required": true,
1087
+ "default": null,
1088
+ "attribute": false,
1089
+ "type": "DataLine"
1090
+ }
1091
+ ],
1092
+ "events": [],
1093
+ "slots": [],
1094
+ "methods": [],
1095
+ "parts": [],
1096
+ "description": "雷达图",
1097
+ "category": "big-screen-content"
1098
+ },
1099
+ {
1100
+ "name": "data-view.title-text",
1101
+ "properties": [
1102
+ {
1103
+ "name": "type",
1104
+ "description": "文本样式,`normal` 纯白, `stroke` 渐变加描边, `gradient` 渐变",
1105
+ "default": "\"normal\"",
1106
+ "attribute": false,
1107
+ "type": "TitleType"
1108
+ },
1109
+ {
1110
+ "name": "text",
1111
+ "description": "标题文本",
1112
+ "default": "-",
1113
+ "type": "string"
1114
+ },
1115
+ {
1116
+ "name": "fontSize",
1117
+ "description": "字体大小",
1118
+ "default": "42px",
1119
+ "type": "CSSProperties[\"fontSize\"]"
1120
+ },
1121
+ {
1122
+ "name": "fontWeight",
1123
+ "description": "字体粗细",
1124
+ "default": "500",
1125
+ "type": "CSSProperties[\"fontWeight\"]"
1126
+ },
1127
+ {
1128
+ "name": "letterSpacing",
1129
+ "description": "字体间距",
1130
+ "default": "17px",
1131
+ "type": "CSSProperties[\"letterSpacing\"]"
1132
+ }
1133
+ ],
1134
+ "events": [],
1135
+ "slots": [],
1136
+ "methods": [],
1137
+ "parts": [],
1138
+ "description": "大屏标题文本构件",
1139
+ "category": "big-screen-content"
1140
+ },
1141
1141
  {
1142
1142
  "name": "data-view.brick-notification",
1143
1143
  "properties": [