@next-bricks/data-view 1.0.12 → 1.1.0

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.
@@ -49,45 +49,6 @@
49
49
  "description": "大屏仪表盘",
50
50
  "category": "big-screen-content"
51
51
  },
52
- {
53
- "name": "data-view.modern-style-page-title",
54
- "properties": [
55
- {
56
- "name": "pageTitle",
57
- "description": "",
58
- "type": "string"
59
- },
60
- {
61
- "name": "description",
62
- "description": "",
63
- "type": "string"
64
- },
65
- {
66
- "name": "backgroundStyle",
67
- "description": "",
68
- "attribute": false,
69
- "type": "CSSProperties"
70
- },
71
- {
72
- "name": "leftRoundStyle",
73
- "description": "",
74
- "attribute": false,
75
- "type": "CSSProperties"
76
- },
77
- {
78
- "name": "rightRoundStyle",
79
- "description": "",
80
- "attribute": false,
81
- "type": "CSSProperties"
82
- }
83
- ],
84
- "events": [],
85
- "slots": [],
86
- "methods": [],
87
- "parts": [],
88
- "description": "现代风页面标题",
89
- "category": "big-screen-content"
90
- },
91
52
  {
92
53
  "name": "data-view.modern-style-component-title",
93
54
  "properties": [
@@ -276,40 +237,42 @@
276
237
  "category": "big-screen-content"
277
238
  },
278
239
  {
279
- "name": "data-view.battery-chart",
240
+ "name": "data-view.modern-style-page-title",
280
241
  "properties": [
281
242
  {
282
- "name": "value",
243
+ "name": "pageTitle",
283
244
  "description": "",
284
- "type": "number"
245
+ "type": "string"
285
246
  },
286
247
  {
287
- "name": "batteryWidth",
248
+ "name": "description",
288
249
  "description": "",
289
- "type": "number"
250
+ "type": "string"
290
251
  },
291
252
  {
292
- "name": "batteryHeight",
253
+ "name": "backgroundStyle",
293
254
  "description": "",
294
- "type": "number"
255
+ "attribute": false,
256
+ "type": "CSSProperties"
295
257
  },
296
258
  {
297
- "name": "thresholdColors",
259
+ "name": "leftRoundStyle",
298
260
  "description": "",
299
261
  "attribute": false,
300
- "type": "ThresholdColor[]"
262
+ "type": "CSSProperties"
301
263
  },
302
264
  {
303
- "name": "thresholdValue",
265
+ "name": "rightRoundStyle",
304
266
  "description": "",
305
- "type": "number"
267
+ "attribute": false,
268
+ "type": "CSSProperties"
306
269
  }
307
270
  ],
308
271
  "events": [],
309
272
  "slots": [],
310
273
  "methods": [],
311
274
  "parts": [],
312
- "description": "大屏电池",
275
+ "description": "现代风页面标题",
313
276
  "category": "big-screen-content"
314
277
  },
315
278
  {
@@ -353,6 +316,43 @@
353
316
  "description": "基础下拉菜单",
354
317
  "category": "big-screen-content"
355
318
  },
319
+ {
320
+ "name": "data-view.battery-chart",
321
+ "properties": [
322
+ {
323
+ "name": "value",
324
+ "description": "",
325
+ "type": "number"
326
+ },
327
+ {
328
+ "name": "batteryWidth",
329
+ "description": "",
330
+ "type": "number"
331
+ },
332
+ {
333
+ "name": "batteryHeight",
334
+ "description": "",
335
+ "type": "number"
336
+ },
337
+ {
338
+ "name": "thresholdColors",
339
+ "description": "",
340
+ "attribute": false,
341
+ "type": "ThresholdColor[]"
342
+ },
343
+ {
344
+ "name": "thresholdValue",
345
+ "description": "",
346
+ "type": "number"
347
+ }
348
+ ],
349
+ "events": [],
350
+ "slots": [],
351
+ "methods": [],
352
+ "parts": [],
353
+ "description": "大屏电池",
354
+ "category": "big-screen-content"
355
+ },
356
356
  {
357
357
  "name": "data-view.complex-search",
358
358
  "properties": [
@@ -586,22 +586,6 @@
586
586
  "parts": [],
587
587
  "description": "应用墙子构件----关联连线"
588
588
  },
589
- {
590
- "name": "data-view.cabinet-button",
591
- "properties": [
592
- {
593
- "name": "buttonStyle",
594
- "description": "",
595
- "attribute": false,
596
- "type": "React.CSSProperties"
597
- }
598
- ],
599
- "events": [],
600
- "slots": [],
601
- "methods": [],
602
- "parts": [],
603
- "description": "大屏按钮"
604
- },
605
589
  {
606
590
  "name": "data-view.cabinet-node",
607
591
  "properties": [
@@ -632,6 +616,22 @@
632
616
  "parts": [],
633
617
  "description": "cabinet子构件----节点"
634
618
  },
619
+ {
620
+ "name": "data-view.cabinet-button",
621
+ "properties": [
622
+ {
623
+ "name": "buttonStyle",
624
+ "description": "",
625
+ "attribute": false,
626
+ "type": "React.CSSProperties"
627
+ }
628
+ ],
629
+ "events": [],
630
+ "slots": [],
631
+ "methods": [],
632
+ "parts": [],
633
+ "description": "大屏按钮"
634
+ },
635
635
  {
636
636
  "name": "data-view.cabinet-app-layer",
637
637
  "properties": [
@@ -846,6 +846,12 @@
846
846
  "description": "四周的边距",
847
847
  "default": "100",
848
848
  "type": "number"
849
+ },
850
+ {
851
+ "name": "useSystemPopover",
852
+ "description": "是否使用系统卡片popover",
853
+ "attribute": false,
854
+ "type": "boolean"
849
855
  }
850
856
  ],
851
857
  "events": [
@@ -1233,30 +1239,6 @@
1233
1239
  "description": "大屏标题栏三种样式构件",
1234
1240
  "category": "big-screen-content"
1235
1241
  },
1236
- {
1237
- "name": "data-view.lights-component-title",
1238
- "properties": [
1239
- {
1240
- "name": "componentTitle",
1241
- "description": "组件标题",
1242
- "default": "-",
1243
- "type": "string"
1244
- },
1245
- {
1246
- "name": "theme",
1247
- "description": "",
1248
- "required": true,
1249
- "default": null,
1250
- "type": "\"light\" | \"dark\""
1251
- }
1252
- ],
1253
- "events": [],
1254
- "slots": [],
1255
- "methods": [],
1256
- "parts": [],
1257
- "description": "构件 `data-view.lights-component-title`",
1258
- "category": "big-screen-content"
1259
- },
1260
1242
  {
1261
1243
  "name": "data-view.hi-tech-button",
1262
1244
  "properties": [
@@ -1289,6 +1271,30 @@
1289
1271
  "parts": [],
1290
1272
  "description": "大屏按钮"
1291
1273
  },
1274
+ {
1275
+ "name": "data-view.lights-component-title",
1276
+ "properties": [
1277
+ {
1278
+ "name": "componentTitle",
1279
+ "description": "组件标题",
1280
+ "default": "-",
1281
+ "type": "string"
1282
+ },
1283
+ {
1284
+ "name": "theme",
1285
+ "description": "",
1286
+ "required": true,
1287
+ "default": null,
1288
+ "type": "\"light\" | \"dark\""
1289
+ }
1290
+ ],
1291
+ "events": [],
1292
+ "slots": [],
1293
+ "methods": [],
1294
+ "parts": [],
1295
+ "description": "构件 `data-view.lights-component-title`",
1296
+ "category": "big-screen-content"
1297
+ },
1292
1298
  {
1293
1299
  "name": "data-view.tech-mesh-base-view",
1294
1300
  "properties": [],
package/dist/types.json CHANGED
@@ -40,56 +40,6 @@
40
40
  "events": [],
41
41
  "methods": []
42
42
  },
43
- "data-view.modern-style-page-title": {
44
- "properties": [
45
- {
46
- "name": "pageTitle",
47
- "annotation": {
48
- "type": "keyword",
49
- "value": "string"
50
- }
51
- },
52
- {
53
- "name": "description",
54
- "annotation": {
55
- "type": "keyword",
56
- "value": "string"
57
- }
58
- },
59
- {
60
- "name": "backgroundStyle",
61
- "annotation": {
62
- "type": "reference",
63
- "typeName": {
64
- "type": "identifier",
65
- "name": "CSSProperties"
66
- }
67
- }
68
- },
69
- {
70
- "name": "leftRoundStyle",
71
- "annotation": {
72
- "type": "reference",
73
- "typeName": {
74
- "type": "identifier",
75
- "name": "CSSProperties"
76
- }
77
- }
78
- },
79
- {
80
- "name": "rightRoundStyle",
81
- "annotation": {
82
- "type": "reference",
83
- "typeName": {
84
- "type": "identifier",
85
- "name": "CSSProperties"
86
- }
87
- }
88
- }
89
- ],
90
- "events": [],
91
- "methods": []
92
- },
93
43
  "data-view.modern-style-component-title": {
94
44
  "properties": [
95
45
  {
@@ -337,6 +287,128 @@
337
287
  }
338
288
  ]
339
289
  },
290
+ "data-view.modern-style-page-title": {
291
+ "properties": [
292
+ {
293
+ "name": "pageTitle",
294
+ "annotation": {
295
+ "type": "keyword",
296
+ "value": "string"
297
+ }
298
+ },
299
+ {
300
+ "name": "description",
301
+ "annotation": {
302
+ "type": "keyword",
303
+ "value": "string"
304
+ }
305
+ },
306
+ {
307
+ "name": "backgroundStyle",
308
+ "annotation": {
309
+ "type": "reference",
310
+ "typeName": {
311
+ "type": "identifier",
312
+ "name": "CSSProperties"
313
+ }
314
+ }
315
+ },
316
+ {
317
+ "name": "leftRoundStyle",
318
+ "annotation": {
319
+ "type": "reference",
320
+ "typeName": {
321
+ "type": "identifier",
322
+ "name": "CSSProperties"
323
+ }
324
+ }
325
+ },
326
+ {
327
+ "name": "rightRoundStyle",
328
+ "annotation": {
329
+ "type": "reference",
330
+ "typeName": {
331
+ "type": "identifier",
332
+ "name": "CSSProperties"
333
+ }
334
+ }
335
+ }
336
+ ],
337
+ "events": [],
338
+ "methods": []
339
+ },
340
+ "data-view.dropdown-menu": {
341
+ "properties": [
342
+ {
343
+ "name": "options",
344
+ "annotation": {
345
+ "type": "array",
346
+ "elementType": {
347
+ "type": "typeLiteral",
348
+ "members": [
349
+ {
350
+ "type": "propertySignature",
351
+ "key": {
352
+ "type": "identifier",
353
+ "name": "label"
354
+ },
355
+ "annotation": {
356
+ "type": "keyword",
357
+ "value": "string"
358
+ },
359
+ "computed": false
360
+ },
361
+ {
362
+ "type": "propertySignature",
363
+ "key": {
364
+ "type": "identifier",
365
+ "name": "value"
366
+ },
367
+ "annotation": {
368
+ "type": "keyword",
369
+ "value": "string"
370
+ },
371
+ "computed": false
372
+ }
373
+ ]
374
+ }
375
+ }
376
+ },
377
+ {
378
+ "name": "value",
379
+ "annotation": {
380
+ "type": "keyword",
381
+ "value": "string"
382
+ }
383
+ },
384
+ {
385
+ "name": "placeholder",
386
+ "annotation": {
387
+ "type": "keyword",
388
+ "value": "string"
389
+ }
390
+ },
391
+ {
392
+ "name": "allowClear",
393
+ "annotation": {
394
+ "type": "keyword",
395
+ "value": "boolean"
396
+ }
397
+ }
398
+ ],
399
+ "events": [
400
+ {
401
+ "name": "value.change",
402
+ "detail": {
403
+ "annotation": {
404
+ "type": "keyword",
405
+ "value": "string"
406
+ }
407
+ }
408
+ }
409
+ ],
410
+ "methods": []
411
+ },
340
412
  "data-view.battery-chart": {
341
413
  "properties": [
342
414
  {
@@ -476,78 +548,6 @@
476
548
  }
477
549
  ]
478
550
  },
479
- "data-view.dropdown-menu": {
480
- "properties": [
481
- {
482
- "name": "options",
483
- "annotation": {
484
- "type": "array",
485
- "elementType": {
486
- "type": "typeLiteral",
487
- "members": [
488
- {
489
- "type": "propertySignature",
490
- "key": {
491
- "type": "identifier",
492
- "name": "label"
493
- },
494
- "annotation": {
495
- "type": "keyword",
496
- "value": "string"
497
- },
498
- "computed": false
499
- },
500
- {
501
- "type": "propertySignature",
502
- "key": {
503
- "type": "identifier",
504
- "name": "value"
505
- },
506
- "annotation": {
507
- "type": "keyword",
508
- "value": "string"
509
- },
510
- "computed": false
511
- }
512
- ]
513
- }
514
- }
515
- },
516
- {
517
- "name": "value",
518
- "annotation": {
519
- "type": "keyword",
520
- "value": "string"
521
- }
522
- },
523
- {
524
- "name": "placeholder",
525
- "annotation": {
526
- "type": "keyword",
527
- "value": "string"
528
- }
529
- },
530
- {
531
- "name": "allowClear",
532
- "annotation": {
533
- "type": "keyword",
534
- "value": "boolean"
535
- }
536
- }
537
- ],
538
- "events": [
539
- {
540
- "name": "value.change",
541
- "detail": {
542
- "annotation": {
543
- "type": "keyword",
544
- "value": "string"
545
- }
546
- }
547
- }
548
- ],
549
- "methods": []
550
- },
551
551
  "data-view.particle-animation": {
552
552
  "properties": [
553
553
  {
@@ -853,29 +853,6 @@
853
853
  "events": [],
854
854
  "methods": []
855
855
  },
856
- "data-view.cabinet-button": {
857
- "properties": [
858
- {
859
- "name": "buttonStyle",
860
- "annotation": {
861
- "type": "reference",
862
- "typeName": {
863
- "type": "qualifiedName",
864
- "left": {
865
- "type": "identifier",
866
- "name": "React"
867
- },
868
- "right": {
869
- "type": "identifier",
870
- "name": "CSSProperties"
871
- }
872
- }
873
- }
874
- }
875
- ],
876
- "events": [],
877
- "methods": []
878
- },
879
856
  "data-view.cabinet-node": {
880
857
  "properties": [
881
858
  {
@@ -936,6 +913,29 @@
936
913
  "events": [],
937
914
  "methods": []
938
915
  },
916
+ "data-view.cabinet-button": {
917
+ "properties": [
918
+ {
919
+ "name": "buttonStyle",
920
+ "annotation": {
921
+ "type": "reference",
922
+ "typeName": {
923
+ "type": "qualifiedName",
924
+ "left": {
925
+ "type": "identifier",
926
+ "name": "React"
927
+ },
928
+ "right": {
929
+ "type": "identifier",
930
+ "name": "CSSProperties"
931
+ }
932
+ }
933
+ }
934
+ }
935
+ ],
936
+ "events": [],
937
+ "methods": []
938
+ },
939
939
  "data-view.cabinet-app-layer": {
940
940
  "properties": [
941
941
  {
@@ -1737,35 +1737,6 @@
1737
1737
  }
1738
1738
  ]
1739
1739
  },
1740
- "data-view.lights-component-title": {
1741
- "properties": [
1742
- {
1743
- "name": "componentTitle",
1744
- "annotation": {
1745
- "type": "keyword",
1746
- "value": "string"
1747
- }
1748
- },
1749
- {
1750
- "name": "theme",
1751
- "annotation": {
1752
- "type": "union",
1753
- "types": [
1754
- {
1755
- "type": "jsLiteral",
1756
- "value": "light"
1757
- },
1758
- {
1759
- "type": "jsLiteral",
1760
- "value": "dark"
1761
- }
1762
- ]
1763
- }
1764
- }
1765
- ],
1766
- "events": [],
1767
- "methods": []
1768
- },
1769
1740
  "data-view.hi-tech-button": {
1770
1741
  "properties": [
1771
1742
  {
@@ -1837,6 +1808,35 @@
1837
1808
  }
1838
1809
  ]
1839
1810
  },
1811
+ "data-view.lights-component-title": {
1812
+ "properties": [
1813
+ {
1814
+ "name": "componentTitle",
1815
+ "annotation": {
1816
+ "type": "keyword",
1817
+ "value": "string"
1818
+ }
1819
+ },
1820
+ {
1821
+ "name": "theme",
1822
+ "annotation": {
1823
+ "type": "union",
1824
+ "types": [
1825
+ {
1826
+ "type": "jsLiteral",
1827
+ "value": "light"
1828
+ },
1829
+ {
1830
+ "type": "jsLiteral",
1831
+ "value": "dark"
1832
+ }
1833
+ ]
1834
+ }
1835
+ }
1836
+ ],
1837
+ "events": [],
1838
+ "methods": []
1839
+ },
1840
1840
  "data-view.tech-mesh-base-view": {
1841
1841
  "properties": [],
1842
1842
  "events": [],
@@ -3355,6 +3355,13 @@
3355
3355
  "type": "keyword",
3356
3356
  "value": "number"
3357
3357
  }
3358
+ },
3359
+ {
3360
+ "name": "useSystemPopover",
3361
+ "annotation": {
3362
+ "type": "keyword",
3363
+ "value": "boolean"
3364
+ }
3358
3365
  }
3359
3366
  ],
3360
3367
  "events": [
@@ -3514,6 +3521,19 @@
3514
3521
  }
3515
3522
  },
3516
3523
  "computed": false
3524
+ },
3525
+ {
3526
+ "type": "propertySignature",
3527
+ "key": {
3528
+ "type": "identifier",
3529
+ "name": "data"
3530
+ },
3531
+ "annotation": {
3532
+ "type": "keyword",
3533
+ "value": "any"
3534
+ },
3535
+ "optional": true,
3536
+ "computed": false
3517
3537
  }
3518
3538
  ]
3519
3539
  },
@@ -18,6 +18,7 @@ export interface AppWallProps {
18
18
  containerId?: string;
19
19
  noRotate?: boolean;
20
20
  boundMargin?: number;
21
+ useSystemPopover?: boolean;
21
22
  }
22
23
  /**
23
24
  * 应用墙
@@ -66,6 +67,10 @@ declare class AppWall extends ReactNextElement implements AppWallProps {
66
67
  * 四周的边距
67
68
  */
68
69
  accessor boundMargin: number;
70
+ /**
71
+ * 是否使用系统卡片popover
72
+ */
73
+ accessor useSystemPopover: boolean;
69
74
  handleLeftClick: (data: AppData) => void;
70
75
  handleRightClick: (data: AppData) => void;
71
76
  handleCardDbClick: (data: AppData) => void;