@next-bricks/data-view 0.20.0 → 0.21.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.
- package/dist/bricks.json +4 -4
- package/dist/chunks/2693.a8079f42.js +2 -0
- package/dist/chunks/2693.a8079f42.js.map +1 -0
- package/dist/chunks/5114.550538e0.js +2 -0
- package/dist/chunks/5114.550538e0.js.map +1 -0
- package/dist/chunks/app-wall.94fbb95f.js +2 -0
- package/dist/chunks/app-wall.94fbb95f.js.map +1 -0
- package/dist/chunks/{main.22a3250f.js → main.04197c51.js} +2 -2
- package/dist/chunks/{main.22a3250f.js.map → main.04197c51.js.map} +1 -1
- package/dist/chunks/simple-card-item.61b3990d.js +3 -0
- package/dist/chunks/simple-card-item.61b3990d.js.map +1 -0
- package/dist/examples.json +8 -8
- package/dist/{index.269c45f6.js → index.abcfb554.js} +2 -2
- package/dist/{index.269c45f6.js.map → index.abcfb554.js.map} +1 -1
- package/dist/manifest.json +98 -93
- package/dist/types.json +111 -104
- package/dist-types/app-wall/index.d.ts +5 -0
- package/package.json +2 -2
- package/dist/chunks/2693.1e93067a.js +0 -2
- package/dist/chunks/2693.1e93067a.js.map +0 -1
- package/dist/chunks/5114.89597ba9.js +0 -2
- package/dist/chunks/5114.89597ba9.js.map +0 -1
- package/dist/chunks/app-wall.d99406d6.js +0 -2
- package/dist/chunks/app-wall.d99406d6.js.map +0 -1
- package/dist/chunks/simple-card-item.227bfcfc.js +0 -3
- package/dist/chunks/simple-card-item.227bfcfc.js.map +0 -1
- /package/dist/chunks/{simple-card-item.227bfcfc.js.LICENSE.txt → simple-card-item.61b3990d.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -48,81 +48,6 @@
|
|
|
48
48
|
"parts": [],
|
|
49
49
|
"description": ""
|
|
50
50
|
},
|
|
51
|
-
{
|
|
52
|
-
"name": "data-view.modern-style-component-title",
|
|
53
|
-
"properties": [
|
|
54
|
-
{
|
|
55
|
-
"name": "hideLeftComponent",
|
|
56
|
-
"description": "",
|
|
57
|
-
"default": "false"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"name": "hideRightComponent",
|
|
61
|
-
"description": "",
|
|
62
|
-
"default": "true"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"name": "componentTitle",
|
|
66
|
-
"description": "",
|
|
67
|
-
"type": "string"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"name": "titleTextStyle",
|
|
71
|
-
"description": "",
|
|
72
|
-
"attribute": false,
|
|
73
|
-
"type": "CSSProperties"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"name": "squareColor",
|
|
77
|
-
"description": "",
|
|
78
|
-
"attribute": false,
|
|
79
|
-
"type": "CSSProperties[\"color\"]"
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
|
-
"events": [],
|
|
83
|
-
"slots": [],
|
|
84
|
-
"methods": [],
|
|
85
|
-
"parts": [],
|
|
86
|
-
"description": ""
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"name": "data-view.modern-style-page-title",
|
|
90
|
-
"properties": [
|
|
91
|
-
{
|
|
92
|
-
"name": "pageTitle",
|
|
93
|
-
"description": "",
|
|
94
|
-
"type": "string"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"name": "description",
|
|
98
|
-
"description": "",
|
|
99
|
-
"type": "string"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"name": "backgroundStyle",
|
|
103
|
-
"description": "",
|
|
104
|
-
"attribute": false,
|
|
105
|
-
"type": "CSSProperties"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"name": "leftRoundStyle",
|
|
109
|
-
"description": "",
|
|
110
|
-
"attribute": false,
|
|
111
|
-
"type": "CSSProperties"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"name": "rightRoundStyle",
|
|
115
|
-
"description": "",
|
|
116
|
-
"attribute": false,
|
|
117
|
-
"type": "CSSProperties"
|
|
118
|
-
}
|
|
119
|
-
],
|
|
120
|
-
"events": [],
|
|
121
|
-
"slots": [],
|
|
122
|
-
"methods": [],
|
|
123
|
-
"parts": [],
|
|
124
|
-
"description": ""
|
|
125
|
-
},
|
|
126
51
|
{
|
|
127
52
|
"name": "data-view.tabs-drawer",
|
|
128
53
|
"properties": [
|
|
@@ -420,45 +345,75 @@
|
|
|
420
345
|
"description": ""
|
|
421
346
|
},
|
|
422
347
|
{
|
|
423
|
-
"name": "data-view.
|
|
348
|
+
"name": "data-view.modern-style-component-title",
|
|
424
349
|
"properties": [
|
|
425
350
|
{
|
|
426
|
-
"name": "
|
|
351
|
+
"name": "hideLeftComponent",
|
|
427
352
|
"description": "",
|
|
428
|
-
"
|
|
353
|
+
"default": "false"
|
|
429
354
|
},
|
|
430
355
|
{
|
|
431
|
-
"name": "
|
|
356
|
+
"name": "hideRightComponent",
|
|
432
357
|
"description": "",
|
|
433
|
-
"
|
|
358
|
+
"default": "true"
|
|
434
359
|
},
|
|
435
360
|
{
|
|
436
|
-
"name": "
|
|
361
|
+
"name": "componentTitle",
|
|
437
362
|
"description": "",
|
|
438
|
-
"
|
|
439
|
-
"type": "boolean"
|
|
363
|
+
"type": "string"
|
|
440
364
|
},
|
|
441
365
|
{
|
|
442
|
-
"name": "
|
|
366
|
+
"name": "titleTextStyle",
|
|
443
367
|
"description": "",
|
|
444
|
-
"
|
|
368
|
+
"attribute": false,
|
|
369
|
+
"type": "CSSProperties"
|
|
445
370
|
},
|
|
446
371
|
{
|
|
447
|
-
"name": "
|
|
372
|
+
"name": "squareColor",
|
|
448
373
|
"description": "",
|
|
449
|
-
"
|
|
374
|
+
"attribute": false,
|
|
375
|
+
"type": "CSSProperties[\"color\"]"
|
|
450
376
|
}
|
|
451
377
|
],
|
|
452
|
-
"events": [
|
|
378
|
+
"events": [],
|
|
379
|
+
"slots": [],
|
|
380
|
+
"methods": [],
|
|
381
|
+
"parts": [],
|
|
382
|
+
"description": ""
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"name": "data-view.modern-style-page-title",
|
|
386
|
+
"properties": [
|
|
453
387
|
{
|
|
454
|
-
"name": "
|
|
388
|
+
"name": "pageTitle",
|
|
455
389
|
"description": "",
|
|
456
|
-
"
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
390
|
+
"type": "string"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "description",
|
|
394
|
+
"description": "",
|
|
395
|
+
"type": "string"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "backgroundStyle",
|
|
399
|
+
"description": "",
|
|
400
|
+
"attribute": false,
|
|
401
|
+
"type": "CSSProperties"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"name": "leftRoundStyle",
|
|
405
|
+
"description": "",
|
|
406
|
+
"attribute": false,
|
|
407
|
+
"type": "CSSProperties"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"name": "rightRoundStyle",
|
|
411
|
+
"description": "",
|
|
412
|
+
"attribute": false,
|
|
413
|
+
"type": "CSSProperties"
|
|
460
414
|
}
|
|
461
415
|
],
|
|
416
|
+
"events": [],
|
|
462
417
|
"slots": [],
|
|
463
418
|
"methods": [],
|
|
464
419
|
"parts": [],
|
|
@@ -486,6 +441,51 @@
|
|
|
486
441
|
"parts": [],
|
|
487
442
|
"description": ""
|
|
488
443
|
},
|
|
444
|
+
{
|
|
445
|
+
"name": "data-view.loading-panel",
|
|
446
|
+
"properties": [
|
|
447
|
+
{
|
|
448
|
+
"name": "customTitle",
|
|
449
|
+
"description": "",
|
|
450
|
+
"type": "string"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"name": "loading",
|
|
454
|
+
"description": "",
|
|
455
|
+
"type": "boolean"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "useRealTimeProgress",
|
|
459
|
+
"description": "",
|
|
460
|
+
"default": "false",
|
|
461
|
+
"type": "boolean"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "progress",
|
|
465
|
+
"description": "",
|
|
466
|
+
"type": "number"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"name": "intervalTime",
|
|
470
|
+
"description": "",
|
|
471
|
+
"type": "number"
|
|
472
|
+
}
|
|
473
|
+
],
|
|
474
|
+
"events": [
|
|
475
|
+
{
|
|
476
|
+
"name": "end",
|
|
477
|
+
"description": "",
|
|
478
|
+
"detail": {
|
|
479
|
+
"description": null,
|
|
480
|
+
"type": "void"
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
],
|
|
484
|
+
"slots": [],
|
|
485
|
+
"methods": [],
|
|
486
|
+
"parts": [],
|
|
487
|
+
"description": ""
|
|
488
|
+
},
|
|
489
489
|
{
|
|
490
490
|
"name": "data-view.app-wall-card-item",
|
|
491
491
|
"properties": [
|
|
@@ -824,6 +824,11 @@
|
|
|
824
824
|
"name": "containerId",
|
|
825
825
|
"description": "容器id,用于监听容器大小",
|
|
826
826
|
"type": "string"
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"name": "noRotate",
|
|
830
|
+
"description": "控制是否旋转",
|
|
831
|
+
"type": "boolean"
|
|
827
832
|
}
|
|
828
833
|
],
|
|
829
834
|
"events": [
|
package/dist/types.json
CHANGED
|
@@ -40,110 +40,6 @@
|
|
|
40
40
|
"events": [],
|
|
41
41
|
"methods": []
|
|
42
42
|
},
|
|
43
|
-
"data-view.modern-style-component-title": {
|
|
44
|
-
"properties": [
|
|
45
|
-
{
|
|
46
|
-
"name": "hideLeftComponent",
|
|
47
|
-
"annotation": {
|
|
48
|
-
"type": "keyword",
|
|
49
|
-
"value": "boolean"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "hideRightComponent",
|
|
54
|
-
"annotation": {
|
|
55
|
-
"type": "keyword",
|
|
56
|
-
"value": "boolean"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"name": "componentTitle",
|
|
61
|
-
"annotation": {
|
|
62
|
-
"type": "keyword",
|
|
63
|
-
"value": "string"
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"name": "titleTextStyle",
|
|
68
|
-
"annotation": {
|
|
69
|
-
"type": "reference",
|
|
70
|
-
"typeName": {
|
|
71
|
-
"type": "identifier",
|
|
72
|
-
"name": "CSSProperties"
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"name": "squareColor",
|
|
78
|
-
"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"
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
"events": [],
|
|
95
|
-
"methods": []
|
|
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
43
|
"data-view.tabs-drawer": {
|
|
148
44
|
"properties": [
|
|
149
45
|
{
|
|
@@ -548,6 +444,110 @@
|
|
|
548
444
|
],
|
|
549
445
|
"methods": []
|
|
550
446
|
},
|
|
447
|
+
"data-view.modern-style-component-title": {
|
|
448
|
+
"properties": [
|
|
449
|
+
{
|
|
450
|
+
"name": "hideLeftComponent",
|
|
451
|
+
"annotation": {
|
|
452
|
+
"type": "keyword",
|
|
453
|
+
"value": "boolean"
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "hideRightComponent",
|
|
458
|
+
"annotation": {
|
|
459
|
+
"type": "keyword",
|
|
460
|
+
"value": "boolean"
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "componentTitle",
|
|
465
|
+
"annotation": {
|
|
466
|
+
"type": "keyword",
|
|
467
|
+
"value": "string"
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"name": "titleTextStyle",
|
|
472
|
+
"annotation": {
|
|
473
|
+
"type": "reference",
|
|
474
|
+
"typeName": {
|
|
475
|
+
"type": "identifier",
|
|
476
|
+
"name": "CSSProperties"
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"name": "squareColor",
|
|
482
|
+
"annotation": {
|
|
483
|
+
"type": "indexedAccess",
|
|
484
|
+
"objectType": {
|
|
485
|
+
"type": "reference",
|
|
486
|
+
"typeName": {
|
|
487
|
+
"type": "identifier",
|
|
488
|
+
"name": "CSSProperties"
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
"indexType": {
|
|
492
|
+
"type": "jsLiteral",
|
|
493
|
+
"value": "color"
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
],
|
|
498
|
+
"events": [],
|
|
499
|
+
"methods": []
|
|
500
|
+
},
|
|
501
|
+
"data-view.modern-style-page-title": {
|
|
502
|
+
"properties": [
|
|
503
|
+
{
|
|
504
|
+
"name": "pageTitle",
|
|
505
|
+
"annotation": {
|
|
506
|
+
"type": "keyword",
|
|
507
|
+
"value": "string"
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"name": "description",
|
|
512
|
+
"annotation": {
|
|
513
|
+
"type": "keyword",
|
|
514
|
+
"value": "string"
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"name": "backgroundStyle",
|
|
519
|
+
"annotation": {
|
|
520
|
+
"type": "reference",
|
|
521
|
+
"typeName": {
|
|
522
|
+
"type": "identifier",
|
|
523
|
+
"name": "CSSProperties"
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"name": "leftRoundStyle",
|
|
529
|
+
"annotation": {
|
|
530
|
+
"type": "reference",
|
|
531
|
+
"typeName": {
|
|
532
|
+
"type": "identifier",
|
|
533
|
+
"name": "CSSProperties"
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"name": "rightRoundStyle",
|
|
539
|
+
"annotation": {
|
|
540
|
+
"type": "reference",
|
|
541
|
+
"typeName": {
|
|
542
|
+
"type": "identifier",
|
|
543
|
+
"name": "CSSProperties"
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
],
|
|
548
|
+
"events": [],
|
|
549
|
+
"methods": []
|
|
550
|
+
},
|
|
551
551
|
"data-view.particle-animation": {
|
|
552
552
|
"properties": [
|
|
553
553
|
{
|
|
@@ -3332,6 +3332,13 @@
|
|
|
3332
3332
|
"type": "keyword",
|
|
3333
3333
|
"value": "string"
|
|
3334
3334
|
}
|
|
3335
|
+
},
|
|
3336
|
+
{
|
|
3337
|
+
"name": "noRotate",
|
|
3338
|
+
"annotation": {
|
|
3339
|
+
"type": "keyword",
|
|
3340
|
+
"value": "boolean"
|
|
3341
|
+
}
|
|
3335
3342
|
}
|
|
3336
3343
|
],
|
|
3337
3344
|
"events": [
|
|
@@ -16,6 +16,7 @@ export interface AppWallProps {
|
|
|
16
16
|
handleCardClick?: (data: AppData) => void;
|
|
17
17
|
cardBrickName: AppWallCardBrickNameType;
|
|
18
18
|
containerId?: string;
|
|
19
|
+
noRotate?: boolean;
|
|
19
20
|
}
|
|
20
21
|
/**
|
|
21
22
|
* @id data-view.app-wall
|
|
@@ -59,6 +60,10 @@ declare class AppWall extends ReactNextElement implements AppWallProps {
|
|
|
59
60
|
* 容器id,用于监听容器大小
|
|
60
61
|
*/
|
|
61
62
|
accessor containerId: string;
|
|
63
|
+
/**
|
|
64
|
+
* 控制是否旋转
|
|
65
|
+
*/
|
|
66
|
+
accessor noRotate: boolean;
|
|
62
67
|
handleLeftClick: (data: AppData) => void;
|
|
63
68
|
handleRightClick: (data: AppData) => void;
|
|
64
69
|
handleCardDbClick: (data: AppData) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/data-view",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/data-view",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"@types/d3-hierarchy": "^3.1.2",
|
|
40
40
|
"@types/three": "^0.150.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "2ba2b3ef8884c85070ad4b83790b18e4f04aee61"
|
|
43
43
|
}
|