@next-bricks/data-view 1.1.26 → 1.2.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.
@@ -50,80 +50,80 @@
50
50
  "category": "big-screen-content"
51
51
  },
52
52
  {
53
- "name": "data-view.modern-style-component-title",
53
+ "name": "data-view.modern-style-page-title",
54
54
  "properties": [
55
55
  {
56
- "name": "hideLeftComponent",
56
+ "name": "pageTitle",
57
57
  "description": "",
58
- "default": "false"
58
+ "type": "string"
59
59
  },
60
60
  {
61
- "name": "hideRightComponent",
61
+ "name": "description",
62
62
  "description": "",
63
- "default": "true"
63
+ "type": "string"
64
64
  },
65
65
  {
66
- "name": "componentTitle",
66
+ "name": "backgroundStyle",
67
67
  "description": "",
68
- "type": "string"
68
+ "attribute": false,
69
+ "type": "CSSProperties"
69
70
  },
70
71
  {
71
- "name": "titleTextStyle",
72
+ "name": "leftRoundStyle",
72
73
  "description": "",
73
74
  "attribute": false,
74
75
  "type": "CSSProperties"
75
76
  },
76
77
  {
77
- "name": "squareColor",
78
+ "name": "rightRoundStyle",
78
79
  "description": "",
79
80
  "attribute": false,
80
- "type": "CSSProperties[\"color\"]"
81
+ "type": "CSSProperties"
81
82
  }
82
83
  ],
83
84
  "events": [],
84
85
  "slots": [],
85
86
  "methods": [],
86
87
  "parts": [],
87
- "description": "现代风组件标题",
88
+ "description": "现代风页面标题",
88
89
  "category": "big-screen-content"
89
90
  },
90
91
  {
91
- "name": "data-view.modern-style-page-title",
92
+ "name": "data-view.modern-style-component-title",
92
93
  "properties": [
93
94
  {
94
- "name": "pageTitle",
95
+ "name": "hideLeftComponent",
95
96
  "description": "",
96
- "type": "string"
97
+ "default": "false"
97
98
  },
98
99
  {
99
- "name": "description",
100
+ "name": "hideRightComponent",
100
101
  "description": "",
101
- "type": "string"
102
+ "default": "true"
102
103
  },
103
104
  {
104
- "name": "backgroundStyle",
105
+ "name": "componentTitle",
105
106
  "description": "",
106
- "attribute": false,
107
- "type": "CSSProperties"
107
+ "type": "string"
108
108
  },
109
109
  {
110
- "name": "leftRoundStyle",
110
+ "name": "titleTextStyle",
111
111
  "description": "",
112
112
  "attribute": false,
113
113
  "type": "CSSProperties"
114
114
  },
115
115
  {
116
- "name": "rightRoundStyle",
116
+ "name": "squareColor",
117
117
  "description": "",
118
118
  "attribute": false,
119
- "type": "CSSProperties"
119
+ "type": "CSSProperties[\"color\"]"
120
120
  }
121
121
  ],
122
122
  "events": [],
123
123
  "slots": [],
124
124
  "methods": [],
125
125
  "parts": [],
126
- "description": "现代风页面标题",
126
+ "description": "现代风组件标题",
127
127
  "category": "big-screen-content"
128
128
  },
129
129
  {
@@ -218,63 +218,6 @@
218
218
  "description": "大屏仪标签页抽屉",
219
219
  "category": "big-screen-layout"
220
220
  },
221
- {
222
- "name": "data-view.modern-style-treemap",
223
- "properties": [
224
- {
225
- "name": "data",
226
- "description": "",
227
- "attribute": false,
228
- "type": "TreemapData"
229
- },
230
- {
231
- "name": "tail",
232
- "description": "",
233
- "default": "TailTypes[\"treemapSquarify\"]",
234
- "attribute": false,
235
- "type": "TailTypes"
236
- },
237
- {
238
- "name": "leafUseBrick",
239
- "description": "",
240
- "attribute": false,
241
- "type": "{ useBrick: UseBrickConf }"
242
- },
243
- {
244
- "name": "leafContainerStyle",
245
- "description": "",
246
- "attribute": false,
247
- "type": "CSSProperties"
248
- },
249
- {
250
- "name": "tooltipUseBrick",
251
- "description": "",
252
- "attribute": false,
253
- "type": "{ useBrick: UseBrickConf }"
254
- },
255
- {
256
- "name": "tooltipStyle",
257
- "description": "",
258
- "attribute": false,
259
- "type": "CSSProperties"
260
- }
261
- ],
262
- "events": [
263
- {
264
- "name": "treemap.click",
265
- "description": "",
266
- "detail": {
267
- "description": null,
268
- "type": "TreemapData"
269
- }
270
- }
271
- ],
272
- "slots": [],
273
- "methods": [],
274
- "parts": [],
275
- "description": "现代风树图",
276
- "category": "big-screen-content"
277
- },
278
221
  {
279
222
  "name": "data-view.battery-chart",
280
223
  "properties": [
@@ -313,44 +256,60 @@
313
256
  "category": "big-screen-content"
314
257
  },
315
258
  {
316
- "name": "data-view.dropdown-menu",
259
+ "name": "data-view.modern-style-treemap",
317
260
  "properties": [
318
261
  {
319
- "name": "options",
262
+ "name": "data",
320
263
  "description": "",
321
264
  "attribute": false,
322
- "type": "{ label: string; value: string }[]"
265
+ "type": "TreemapData"
323
266
  },
324
267
  {
325
- "name": "value",
268
+ "name": "tail",
326
269
  "description": "",
327
- "type": "string"
270
+ "default": "TailTypes[\"treemapSquarify\"]",
271
+ "attribute": false,
272
+ "type": "TailTypes"
328
273
  },
329
274
  {
330
- "name": "placeholder",
275
+ "name": "leafUseBrick",
331
276
  "description": "",
332
- "type": "string"
277
+ "attribute": false,
278
+ "type": "{ useBrick: UseBrickConf }"
333
279
  },
334
280
  {
335
- "name": "allowClear",
281
+ "name": "leafContainerStyle",
336
282
  "description": "",
337
- "type": "boolean"
283
+ "attribute": false,
284
+ "type": "CSSProperties"
285
+ },
286
+ {
287
+ "name": "tooltipUseBrick",
288
+ "description": "",
289
+ "attribute": false,
290
+ "type": "{ useBrick: UseBrickConf }"
291
+ },
292
+ {
293
+ "name": "tooltipStyle",
294
+ "description": "",
295
+ "attribute": false,
296
+ "type": "CSSProperties"
338
297
  }
339
298
  ],
340
299
  "events": [
341
300
  {
342
- "name": "value.change",
301
+ "name": "treemap.click",
343
302
  "description": "",
344
303
  "detail": {
345
304
  "description": null,
346
- "type": "string"
305
+ "type": "TreemapData"
347
306
  }
348
307
  }
349
308
  ],
350
309
  "slots": [],
351
310
  "methods": [],
352
311
  "parts": [],
353
- "description": "基础下拉菜单",
312
+ "description": "现代风树图",
354
313
  "category": "big-screen-content"
355
314
  },
356
315
  {
@@ -473,6 +432,47 @@
473
432
  "description": "大屏加载模块展示",
474
433
  "category": "big-screen-content"
475
434
  },
435
+ {
436
+ "name": "data-view.dropdown-menu",
437
+ "properties": [
438
+ {
439
+ "name": "options",
440
+ "description": "",
441
+ "attribute": false,
442
+ "type": "{ label: string; value: string }[]"
443
+ },
444
+ {
445
+ "name": "value",
446
+ "description": "",
447
+ "type": "string"
448
+ },
449
+ {
450
+ "name": "placeholder",
451
+ "description": "",
452
+ "type": "string"
453
+ },
454
+ {
455
+ "name": "allowClear",
456
+ "description": "",
457
+ "type": "boolean"
458
+ }
459
+ ],
460
+ "events": [
461
+ {
462
+ "name": "value.change",
463
+ "description": "",
464
+ "detail": {
465
+ "description": null,
466
+ "type": "string"
467
+ }
468
+ }
469
+ ],
470
+ "slots": [],
471
+ "methods": [],
472
+ "parts": [],
473
+ "description": "基础下拉菜单",
474
+ "category": "big-screen-content"
475
+ },
476
476
  {
477
477
  "name": "data-view.particle-animation",
478
478
  "properties": [
@@ -784,6 +784,27 @@
784
784
  "description": "cabinet 部署架构拓扑",
785
785
  "category": "big-screen-content"
786
786
  },
787
+ {
788
+ "name": "data-view.graph-text",
789
+ "properties": [
790
+ {
791
+ "name": "text",
792
+ "description": "",
793
+ "type": "string"
794
+ },
795
+ {
796
+ "name": "value",
797
+ "description": "",
798
+ "type": "string | number"
799
+ }
800
+ ],
801
+ "events": [],
802
+ "slots": [],
803
+ "methods": [],
804
+ "parts": [],
805
+ "description": "Graph text",
806
+ "category": "big-screen-content"
807
+ },
787
808
  {
788
809
  "name": "data-view.app-wall",
789
810
  "properties": [
@@ -901,27 +922,6 @@
901
922
  "description": "应用墙",
902
923
  "category": "big-screen-layout"
903
924
  },
904
- {
905
- "name": "data-view.graph-text",
906
- "properties": [
907
- {
908
- "name": "text",
909
- "description": "",
910
- "type": "string"
911
- },
912
- {
913
- "name": "value",
914
- "description": "",
915
- "type": "string | number"
916
- }
917
- ],
918
- "events": [],
919
- "slots": [],
920
- "methods": [],
921
- "parts": [],
922
- "description": "Graph text",
923
- "category": "big-screen-content"
924
- },
925
925
  {
926
926
  "name": "data-view.graph-node",
927
927
  "properties": [
@@ -1001,6 +1001,24 @@
1001
1001
  "description": "大屏网格背景",
1002
1002
  "category": "big-screen-layout"
1003
1003
  },
1004
+ {
1005
+ "name": "data-view.gear-background",
1006
+ "properties": [
1007
+ {
1008
+ "name": "color",
1009
+ "description": "",
1010
+ "default": "\"#3366FF\"",
1011
+ "attribute": false,
1012
+ "type": "React.CSSProperties[\"color\"]"
1013
+ }
1014
+ ],
1015
+ "events": [],
1016
+ "slots": [],
1017
+ "methods": [],
1018
+ "parts": [],
1019
+ "description": "齿轮背景",
1020
+ "category": "big-screen-layout"
1021
+ },
1004
1022
  {
1005
1023
  "name": "data-view.radar-chart",
1006
1024
  "properties": [
@@ -1084,24 +1102,6 @@
1084
1102
  "description": "雷达图",
1085
1103
  "category": "big-screen-content"
1086
1104
  },
1087
- {
1088
- "name": "data-view.gear-background",
1089
- "properties": [
1090
- {
1091
- "name": "color",
1092
- "description": "",
1093
- "default": "\"#3366FF\"",
1094
- "attribute": false,
1095
- "type": "React.CSSProperties[\"color\"]"
1096
- }
1097
- ],
1098
- "events": [],
1099
- "slots": [],
1100
- "methods": [],
1101
- "parts": [],
1102
- "description": "齿轮背景",
1103
- "category": "big-screen-layout"
1104
- },
1105
1105
  {
1106
1106
  "name": "data-view.title-text",
1107
1107
  "properties": [
@@ -1554,6 +1554,24 @@
1554
1554
  "parts": [],
1555
1555
  "description": "指标卡片",
1556
1556
  "category": "big-screen-content"
1557
+ },
1558
+ {
1559
+ "name": "data-view.progress-bar-list",
1560
+ "properties": [
1561
+ {
1562
+ "name": "dataSource",
1563
+ "description": "",
1564
+ "required": true,
1565
+ "default": null,
1566
+ "attribute": false,
1567
+ "type": "Data[]"
1568
+ }
1569
+ ],
1570
+ "events": [],
1571
+ "slots": [],
1572
+ "methods": [],
1573
+ "parts": [],
1574
+ "description": "构件 `data-view.progress-bar-list`"
1557
1575
  }
1558
1576
  ],
1559
1577
  "providers": []
package/dist/types.json CHANGED
@@ -40,31 +40,34 @@
40
40
  "events": [],
41
41
  "methods": []
42
42
  },
43
- "data-view.modern-style-component-title": {
43
+ "data-view.modern-style-page-title": {
44
44
  "properties": [
45
45
  {
46
- "name": "hideLeftComponent",
46
+ "name": "pageTitle",
47
47
  "annotation": {
48
48
  "type": "keyword",
49
- "value": "boolean"
49
+ "value": "string"
50
50
  }
51
51
  },
52
52
  {
53
- "name": "hideRightComponent",
53
+ "name": "description",
54
54
  "annotation": {
55
55
  "type": "keyword",
56
- "value": "boolean"
56
+ "value": "string"
57
57
  }
58
58
  },
59
59
  {
60
- "name": "componentTitle",
60
+ "name": "backgroundStyle",
61
61
  "annotation": {
62
- "type": "keyword",
63
- "value": "string"
62
+ "type": "reference",
63
+ "typeName": {
64
+ "type": "identifier",
65
+ "name": "CSSProperties"
66
+ }
64
67
  }
65
68
  },
66
69
  {
67
- "name": "titleTextStyle",
70
+ "name": "leftRoundStyle",
68
71
  "annotation": {
69
72
  "type": "reference",
70
73
  "typeName": {
@@ -74,19 +77,12 @@
74
77
  }
75
78
  },
76
79
  {
77
- "name": "squareColor",
80
+ "name": "rightRoundStyle",
78
81
  "annotation": {
79
- "type": "indexedAccess",
80
- "objectType": {
81
- "type": "reference",
82
- "typeName": {
83
- "type": "identifier",
84
- "name": "CSSProperties"
85
- }
86
- },
87
- "indexType": {
88
- "type": "jsLiteral",
89
- "value": "color"
82
+ "type": "reference",
83
+ "typeName": {
84
+ "type": "identifier",
85
+ "name": "CSSProperties"
90
86
  }
91
87
  }
92
88
  }
@@ -94,34 +90,31 @@
94
90
  "events": [],
95
91
  "methods": []
96
92
  },
97
- "data-view.modern-style-page-title": {
93
+ "data-view.modern-style-component-title": {
98
94
  "properties": [
99
95
  {
100
- "name": "pageTitle",
96
+ "name": "hideLeftComponent",
101
97
  "annotation": {
102
98
  "type": "keyword",
103
- "value": "string"
99
+ "value": "boolean"
104
100
  }
105
101
  },
106
102
  {
107
- "name": "description",
103
+ "name": "hideRightComponent",
108
104
  "annotation": {
109
105
  "type": "keyword",
110
- "value": "string"
106
+ "value": "boolean"
111
107
  }
112
108
  },
113
109
  {
114
- "name": "backgroundStyle",
110
+ "name": "componentTitle",
115
111
  "annotation": {
116
- "type": "reference",
117
- "typeName": {
118
- "type": "identifier",
119
- "name": "CSSProperties"
120
- }
112
+ "type": "keyword",
113
+ "value": "string"
121
114
  }
122
115
  },
123
116
  {
124
- "name": "leftRoundStyle",
117
+ "name": "titleTextStyle",
125
118
  "annotation": {
126
119
  "type": "reference",
127
120
  "typeName": {
@@ -131,12 +124,19 @@
131
124
  }
132
125
  },
133
126
  {
134
- "name": "rightRoundStyle",
127
+ "name": "squareColor",
135
128
  "annotation": {
136
- "type": "reference",
137
- "typeName": {
138
- "type": "identifier",
139
- "name": "CSSProperties"
129
+ "type": "indexedAccess",
130
+ "objectType": {
131
+ "type": "reference",
132
+ "typeName": {
133
+ "type": "identifier",
134
+ "name": "CSSProperties"
135
+ }
136
+ },
137
+ "indexType": {
138
+ "type": "jsLiteral",
139
+ "value": "color"
140
140
  }
141
141
  }
142
142
  }
@@ -2866,6 +2866,103 @@
2866
2866
  }
2867
2867
  ]
2868
2868
  },
2869
+ "data-view.progress-bar-list": {
2870
+ "properties": [
2871
+ {
2872
+ "name": "dataSource",
2873
+ "annotation": {
2874
+ "type": "array",
2875
+ "elementType": {
2876
+ "type": "reference",
2877
+ "typeName": {
2878
+ "type": "identifier",
2879
+ "name": "Data"
2880
+ }
2881
+ }
2882
+ }
2883
+ }
2884
+ ],
2885
+ "events": [],
2886
+ "methods": [],
2887
+ "types": [
2888
+ {
2889
+ "type": "interface",
2890
+ "name": "Data",
2891
+ "body": [
2892
+ {
2893
+ "type": "propertySignature",
2894
+ "key": {
2895
+ "type": "identifier",
2896
+ "name": "title"
2897
+ },
2898
+ "annotation": {
2899
+ "type": "keyword",
2900
+ "value": "string"
2901
+ },
2902
+ "computed": false
2903
+ },
2904
+ {
2905
+ "type": "propertySignature",
2906
+ "key": {
2907
+ "type": "identifier",
2908
+ "name": "count"
2909
+ },
2910
+ "annotation": {
2911
+ "type": "keyword",
2912
+ "value": "number"
2913
+ },
2914
+ "computed": false
2915
+ },
2916
+ {
2917
+ "type": "propertySignature",
2918
+ "key": {
2919
+ "type": "identifier",
2920
+ "name": "loopBackground"
2921
+ },
2922
+ "annotation": {
2923
+ "type": "indexedAccess",
2924
+ "objectType": {
2925
+ "type": "reference",
2926
+ "typeName": {
2927
+ "type": "identifier",
2928
+ "name": "CSSProperties"
2929
+ }
2930
+ },
2931
+ "indexType": {
2932
+ "type": "jsLiteral",
2933
+ "value": "background"
2934
+ }
2935
+ },
2936
+ "optional": true,
2937
+ "computed": false
2938
+ },
2939
+ {
2940
+ "type": "propertySignature",
2941
+ "key": {
2942
+ "type": "identifier",
2943
+ "name": "barBackground"
2944
+ },
2945
+ "annotation": {
2946
+ "type": "indexedAccess",
2947
+ "objectType": {
2948
+ "type": "reference",
2949
+ "typeName": {
2950
+ "type": "identifier",
2951
+ "name": "CSSProperties"
2952
+ }
2953
+ },
2954
+ "indexType": {
2955
+ "type": "jsLiteral",
2956
+ "value": "background"
2957
+ }
2958
+ },
2959
+ "optional": true,
2960
+ "computed": false
2961
+ }
2962
+ ]
2963
+ }
2964
+ ]
2965
+ },
2869
2966
  "data-view.modern-style-treemap": {
2870
2967
  "properties": [
2871
2968
  {
@@ -37,3 +37,4 @@ import "./data-display-flipper/index.js";
37
37
  import "./data-display-flipper-fifth/index.js";
38
38
  import "./data-display-flipper-sixth/index.js";
39
39
  import "./indicator-card/index.js";
40
+ import "./progress-bar-list/index.js";
@@ -0,0 +1,26 @@
1
+ import React, { CSSProperties } from "react";
2
+ import { ReactNextElement } from "@next-core/react-element";
3
+ import "@next-core/theme";
4
+ /**
5
+ * 构件 `data-view.progress-bar-list`
6
+ */
7
+ export declare class ProgressBarList extends ReactNextElement {
8
+ /**
9
+ * @default
10
+ * @required
11
+ * @description 数据
12
+ */
13
+ accessor dataSource: Data[];
14
+ render(): React.JSX.Element;
15
+ }
16
+ export interface ProgressBarListProps {
17
+ dataSource: Data[];
18
+ }
19
+ interface Data {
20
+ title: string;
21
+ count: number;
22
+ loopBackground?: CSSProperties["background"];
23
+ barBackground?: CSSProperties["background"];
24
+ }
25
+ export declare function ProgressBarListComponent(props: ProgressBarListProps): React.JSX.Element;
26
+ export {};
@@ -0,0 +1 @@
1
+ import "./";