@next-bricks/data-view 1.0.11 → 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.
Files changed (41) hide show
  1. package/dist/bricks.json +9 -8
  2. package/dist/chunks/1451.1b86c9a6.js +2 -0
  3. package/dist/chunks/1451.1b86c9a6.js.map +1 -0
  4. package/dist/chunks/1493.aacf9466.js +2 -0
  5. package/dist/chunks/1493.aacf9466.js.map +1 -0
  6. package/dist/chunks/5669.995e3a38.js +2 -0
  7. package/dist/chunks/{5669.b6fa2128.js.map → 5669.995e3a38.js.map} +1 -1
  8. package/dist/chunks/8050.962b61bd.js +2 -0
  9. package/dist/chunks/{8050.afe80933.js.map → 8050.962b61bd.js.map} +1 -1
  10. package/dist/chunks/875.0ab6a2b5.js +2 -0
  11. package/dist/chunks/875.0ab6a2b5.js.map +1 -0
  12. package/dist/chunks/app-wall.973067f4.js +2 -0
  13. package/dist/chunks/app-wall.973067f4.js.map +1 -0
  14. package/dist/chunks/{complex-search.44bbb62b.js → complex-search.f0dae18d.js} +2 -2
  15. package/dist/chunks/{complex-search.44bbb62b.js.map → complex-search.f0dae18d.js.map} +1 -1
  16. package/dist/chunks/main.b41f5d69.js +2 -0
  17. package/dist/chunks/{main.5bca59a2.js.map → main.b41f5d69.js.map} +1 -1
  18. package/dist/chunks/{modern-style-treemap.3a51454a.js → modern-style-treemap.d2ccbcb7.js} +3 -3
  19. package/dist/chunks/{modern-style-treemap.3a51454a.js.map → modern-style-treemap.d2ccbcb7.js.map} +1 -1
  20. package/dist/examples.json +16 -16
  21. package/dist/index.0f3693fb.js +2 -0
  22. package/dist/index.0f3693fb.js.map +1 -0
  23. package/dist/manifest.json +194 -188
  24. package/dist/types.json +194 -174
  25. package/dist-types/app-wall/index.d.ts +5 -0
  26. package/dist-types/app-wall/utils.d.ts +1 -0
  27. package/package.json +3 -3
  28. package/dist/chunks/1451.23ba94eb.js +0 -2
  29. package/dist/chunks/1451.23ba94eb.js.map +0 -1
  30. package/dist/chunks/1493.19cf946f.js +0 -2
  31. package/dist/chunks/1493.19cf946f.js.map +0 -1
  32. package/dist/chunks/5669.b6fa2128.js +0 -2
  33. package/dist/chunks/8050.afe80933.js +0 -2
  34. package/dist/chunks/875.d246d0d1.js +0 -2
  35. package/dist/chunks/875.d246d0d1.js.map +0 -1
  36. package/dist/chunks/app-wall.8397c9c3.js +0 -2
  37. package/dist/chunks/app-wall.8397c9c3.js.map +0 -1
  38. package/dist/chunks/main.5bca59a2.js +0 -2
  39. package/dist/index.347ed5b4.js +0 -2
  40. package/dist/index.347ed5b4.js.map +0 -1
  41. /package/dist/chunks/{modern-style-treemap.3a51454a.js.LICENSE.txt → modern-style-treemap.d2ccbcb7.js.LICENSE.txt} +0 -0
package/dist/types.json CHANGED
@@ -94,56 +94,6 @@
94
94
  "events": [],
95
95
  "methods": []
96
96
  },
97
- "data-view.modern-style-page-title": {
98
- "properties": [
99
- {
100
- "name": "pageTitle",
101
- "annotation": {
102
- "type": "keyword",
103
- "value": "string"
104
- }
105
- },
106
- {
107
- "name": "description",
108
- "annotation": {
109
- "type": "keyword",
110
- "value": "string"
111
- }
112
- },
113
- {
114
- "name": "backgroundStyle",
115
- "annotation": {
116
- "type": "reference",
117
- "typeName": {
118
- "type": "identifier",
119
- "name": "CSSProperties"
120
- }
121
- }
122
- },
123
- {
124
- "name": "leftRoundStyle",
125
- "annotation": {
126
- "type": "reference",
127
- "typeName": {
128
- "type": "identifier",
129
- "name": "CSSProperties"
130
- }
131
- }
132
- },
133
- {
134
- "name": "rightRoundStyle",
135
- "annotation": {
136
- "type": "reference",
137
- "typeName": {
138
- "type": "identifier",
139
- "name": "CSSProperties"
140
- }
141
- }
142
- }
143
- ],
144
- "events": [],
145
- "methods": []
146
- },
147
97
  "data-view.tabs-drawer": {
148
98
  "properties": [
149
99
  {
@@ -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;
@@ -14,6 +14,7 @@ export interface AppData {
14
14
  cardItemProps: AppWallCardItemProps & SimpleCardItemProps;
15
15
  systemCardProps: SystemCardProps;
16
16
  trapezoidalProps: TrapezoidalProps;
17
+ data?: any;
17
18
  }
18
19
  export type Relation = {
19
20
  source: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/data-view",
3
- "version": "1.0.11",
3
+ "version": "1.1.0",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/data-view",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,11 +34,11 @@
34
34
  "postpublish": "mv package.json.bak package.json"
35
35
  },
36
36
  "devDependencies": {
37
- "@next-core/build-next-bricks": "^1.20.6",
37
+ "@next-core/build-next-bricks": "^1.20.7",
38
38
  "@next-core/test-next": "^1.0.16"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@next-bricks/icons": "*"
42
42
  },
43
- "gitHead": "bf34f3728c709002eae1b6f63a7adec26729b82a"
43
+ "gitHead": "81df7c9878fd64cddee1f39ee733ec4d6aaffb39"
44
44
  }