@next-bricks/presentational 1.8.2 → 1.9.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 +22 -22
- package/dist/chunks/{4.2b0bb26a.js → 4.9da33f9e.js} +3 -3
- package/dist/chunks/{4.2b0bb26a.js.map → 4.9da33f9e.js.map} +1 -1
- package/dist/chunks/4196.760bf647.js +2 -0
- package/dist/chunks/4196.760bf647.js.map +1 -0
- package/dist/chunks/{4837.e53fcc14.js → 4837.8c911455.js} +2 -2
- package/dist/chunks/{4837.e53fcc14.js.map → 4837.8c911455.js.map} +1 -1
- package/dist/chunks/5399.86709664.js +2 -0
- package/dist/chunks/5399.86709664.js.map +1 -0
- package/dist/chunks/{7218.dc9a174a.js → 7218.0ce79611.js} +2 -2
- package/dist/chunks/{7218.dc9a174a.js.map → 7218.0ce79611.js.map} +1 -1
- package/dist/chunks/eo-card-item.10f8fd96.js +3 -0
- package/dist/chunks/eo-card-item.10f8fd96.js.map +1 -0
- package/dist/chunks/eo-descriptions.1d2489bf.js +3 -0
- package/dist/chunks/{eo-descriptions.d919e560.js.map → eo-descriptions.1d2489bf.js.map} +1 -1
- package/dist/chunks/eo-info-card-item.83c89a3f.js +3 -0
- package/dist/chunks/{eo-info-card-item.2ec160d7.js.map → eo-info-card-item.83c89a3f.js.map} +1 -1
- package/dist/chunks/eo-loading-step.90016d34.js +3 -0
- package/dist/chunks/{eo-loading-step.17d6f54d.js.map → eo-loading-step.90016d34.js.map} +1 -1
- package/dist/chunks/main.3c30c90d.js +2 -0
- package/dist/chunks/main.3c30c90d.js.map +1 -0
- package/dist/examples.json +7 -7
- package/dist/index.4389e7bb.js +2 -0
- package/dist/index.4389e7bb.js.map +1 -0
- package/dist/manifest.json +123 -111
- package/dist/types.json +198 -165
- package/dist-types/card-item/index.d.ts +10 -0
- package/docs/eo-card-item.md +89 -0
- package/package.json +2 -2
- package/dist/chunks/4196.9329399a.js +0 -2
- package/dist/chunks/4196.9329399a.js.map +0 -1
- package/dist/chunks/5399.78dd41f9.js +0 -2
- package/dist/chunks/5399.78dd41f9.js.map +0 -1
- package/dist/chunks/eo-card-item.0216a832.js +0 -3
- package/dist/chunks/eo-card-item.0216a832.js.map +0 -1
- package/dist/chunks/eo-descriptions.d919e560.js +0 -3
- package/dist/chunks/eo-info-card-item.2ec160d7.js +0 -3
- package/dist/chunks/eo-loading-step.17d6f54d.js +0 -3
- package/dist/chunks/main.3f394bb3.js +0 -2
- package/dist/chunks/main.3f394bb3.js.map +0 -1
- package/dist/index.dd06b654.js +0 -2
- package/dist/index.dd06b654.js.map +0 -1
- /package/dist/chunks/{4.2b0bb26a.js.LICENSE.txt → 4.9da33f9e.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-card-item.0216a832.js.LICENSE.txt → eo-card-item.10f8fd96.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-descriptions.d919e560.js.LICENSE.txt → eo-descriptions.1d2489bf.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-info-card-item.2ec160d7.js.LICENSE.txt → eo-info-card-item.83c89a3f.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-loading-step.17d6f54d.js.LICENSE.txt → eo-loading-step.90016d34.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -64,117 +64,6 @@
|
|
|
64
64
|
"description": "通用描述列表构件",
|
|
65
65
|
"category": "text"
|
|
66
66
|
},
|
|
67
|
-
{
|
|
68
|
-
"name": "eo-alert",
|
|
69
|
-
"alias": [
|
|
70
|
-
"presentational.general-alert"
|
|
71
|
-
],
|
|
72
|
-
"properties": [
|
|
73
|
-
{
|
|
74
|
-
"name": "type",
|
|
75
|
-
"description": "警告类型",
|
|
76
|
-
"attribute": false,
|
|
77
|
-
"type": "AlertType"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"name": "hasTitle",
|
|
81
|
-
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
82
|
-
"type": "boolean"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"name": "showIcon",
|
|
86
|
-
"description": "是否显示提示图标",
|
|
87
|
-
"type": "boolean"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"name": "closable",
|
|
91
|
-
"description": "是否显示关闭按钮",
|
|
92
|
-
"type": "boolean"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "localStorageKey",
|
|
96
|
-
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
97
|
-
"type": "string"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"name": "disableUrlNamespace",
|
|
101
|
-
"description": "关闭后仅以 `localStorageKey` 作为命名空间",
|
|
102
|
-
"type": "boolean"
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
"events": [],
|
|
106
|
-
"slots": [
|
|
107
|
-
{
|
|
108
|
-
"name": null,
|
|
109
|
-
"description": "内容区"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"name": "title",
|
|
113
|
-
"description": "标题"
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
"methods": [],
|
|
117
|
-
"parts": [],
|
|
118
|
-
"description": "告警提示",
|
|
119
|
-
"category": "display-component"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"name": "eo-code-display",
|
|
123
|
-
"alias": [
|
|
124
|
-
"presentational.code-display"
|
|
125
|
-
],
|
|
126
|
-
"properties": [
|
|
127
|
-
{
|
|
128
|
-
"name": "value",
|
|
129
|
-
"description": "代码内容",
|
|
130
|
-
"default": "\"\"",
|
|
131
|
-
"type": "string"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"name": "language",
|
|
135
|
-
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
136
|
-
"type": "string"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"name": "hideLineNumber",
|
|
140
|
-
"description": "是否隐藏行号",
|
|
141
|
-
"type": "boolean"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"name": "maxLines",
|
|
145
|
-
"description": "最大行数",
|
|
146
|
-
"type": "number"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"name": "minLines",
|
|
150
|
-
"description": "最小行数",
|
|
151
|
-
"type": "number"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"name": "showCopyButton",
|
|
155
|
-
"description": "是否显示复制按钮",
|
|
156
|
-
"default": "true",
|
|
157
|
-
"type": "boolean"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"name": "showExportButton",
|
|
161
|
-
"description": "是否显示导出按钮",
|
|
162
|
-
"type": "boolean"
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"name": "exportFileName",
|
|
166
|
-
"description": "导出的文件名",
|
|
167
|
-
"default": "download.txt",
|
|
168
|
-
"type": "string"
|
|
169
|
-
}
|
|
170
|
-
],
|
|
171
|
-
"events": [],
|
|
172
|
-
"slots": [],
|
|
173
|
-
"methods": [],
|
|
174
|
-
"parts": [],
|
|
175
|
-
"description": "代码展示",
|
|
176
|
-
"category": "display-component"
|
|
177
|
-
},
|
|
178
67
|
{
|
|
179
68
|
"name": "eo-card-item",
|
|
180
69
|
"properties": [
|
|
@@ -226,6 +115,12 @@
|
|
|
226
115
|
"attribute": false,
|
|
227
116
|
"type": "ActionType[]"
|
|
228
117
|
},
|
|
118
|
+
{
|
|
119
|
+
"name": "showActions",
|
|
120
|
+
"description": "展示操作按钮组",
|
|
121
|
+
"default": "\"always\"",
|
|
122
|
+
"type": "\"always\" | \"hover\""
|
|
123
|
+
},
|
|
229
124
|
{
|
|
230
125
|
"name": "selected",
|
|
231
126
|
"description": "是否选中",
|
|
@@ -268,6 +163,12 @@
|
|
|
268
163
|
"name": "tagConfig",
|
|
269
164
|
"attribute": false,
|
|
270
165
|
"type": "TagConfig"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "cardStyle",
|
|
169
|
+
"description": "卡片样式",
|
|
170
|
+
"attribute": false,
|
|
171
|
+
"type": "React.CSSProperties"
|
|
271
172
|
}
|
|
272
173
|
],
|
|
273
174
|
"events": [
|
|
@@ -572,6 +473,60 @@
|
|
|
572
473
|
"parts": [],
|
|
573
474
|
"description": "统计卡片"
|
|
574
475
|
},
|
|
476
|
+
{
|
|
477
|
+
"name": "eo-alert",
|
|
478
|
+
"alias": [
|
|
479
|
+
"presentational.general-alert"
|
|
480
|
+
],
|
|
481
|
+
"properties": [
|
|
482
|
+
{
|
|
483
|
+
"name": "type",
|
|
484
|
+
"description": "警告类型",
|
|
485
|
+
"attribute": false,
|
|
486
|
+
"type": "AlertType"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"name": "hasTitle",
|
|
490
|
+
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
491
|
+
"type": "boolean"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"name": "showIcon",
|
|
495
|
+
"description": "是否显示提示图标",
|
|
496
|
+
"type": "boolean"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"name": "closable",
|
|
500
|
+
"description": "是否显示关闭按钮",
|
|
501
|
+
"type": "boolean"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"name": "localStorageKey",
|
|
505
|
+
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
506
|
+
"type": "string"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"name": "disableUrlNamespace",
|
|
510
|
+
"description": "关闭后仅以 `localStorageKey` 作为命名空间",
|
|
511
|
+
"type": "boolean"
|
|
512
|
+
}
|
|
513
|
+
],
|
|
514
|
+
"events": [],
|
|
515
|
+
"slots": [
|
|
516
|
+
{
|
|
517
|
+
"name": null,
|
|
518
|
+
"description": "内容区"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"name": "title",
|
|
522
|
+
"description": "标题"
|
|
523
|
+
}
|
|
524
|
+
],
|
|
525
|
+
"methods": [],
|
|
526
|
+
"parts": [],
|
|
527
|
+
"description": "告警提示",
|
|
528
|
+
"category": "display-component"
|
|
529
|
+
},
|
|
575
530
|
{
|
|
576
531
|
"name": "eo-loading-step",
|
|
577
532
|
"properties": [
|
|
@@ -697,6 +652,63 @@
|
|
|
697
652
|
"methods": [],
|
|
698
653
|
"parts": [],
|
|
699
654
|
"description": "构件 `eo-carousel-text`"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"name": "eo-code-display",
|
|
658
|
+
"alias": [
|
|
659
|
+
"presentational.code-display"
|
|
660
|
+
],
|
|
661
|
+
"properties": [
|
|
662
|
+
{
|
|
663
|
+
"name": "value",
|
|
664
|
+
"description": "代码内容",
|
|
665
|
+
"default": "\"\"",
|
|
666
|
+
"type": "string"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "language",
|
|
670
|
+
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
671
|
+
"type": "string"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "hideLineNumber",
|
|
675
|
+
"description": "是否隐藏行号",
|
|
676
|
+
"type": "boolean"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"name": "maxLines",
|
|
680
|
+
"description": "最大行数",
|
|
681
|
+
"type": "number"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"name": "minLines",
|
|
685
|
+
"description": "最小行数",
|
|
686
|
+
"type": "number"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"name": "showCopyButton",
|
|
690
|
+
"description": "是否显示复制按钮",
|
|
691
|
+
"default": "true",
|
|
692
|
+
"type": "boolean"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"name": "showExportButton",
|
|
696
|
+
"description": "是否显示导出按钮",
|
|
697
|
+
"type": "boolean"
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"name": "exportFileName",
|
|
701
|
+
"description": "导出的文件名",
|
|
702
|
+
"default": "download.txt",
|
|
703
|
+
"type": "string"
|
|
704
|
+
}
|
|
705
|
+
],
|
|
706
|
+
"events": [],
|
|
707
|
+
"slots": [],
|
|
708
|
+
"methods": [],
|
|
709
|
+
"parts": [],
|
|
710
|
+
"description": "代码展示",
|
|
711
|
+
"category": "display-component"
|
|
700
712
|
}
|
|
701
713
|
],
|
|
702
714
|
"providers": []
|
package/dist/types.json
CHANGED
|
@@ -315,6 +315,22 @@
|
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
},
|
|
318
|
+
{
|
|
319
|
+
"name": "showActions",
|
|
320
|
+
"annotation": {
|
|
321
|
+
"type": "union",
|
|
322
|
+
"types": [
|
|
323
|
+
{
|
|
324
|
+
"type": "jsLiteral",
|
|
325
|
+
"value": "always"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"type": "jsLiteral",
|
|
329
|
+
"value": "hover"
|
|
330
|
+
}
|
|
331
|
+
]
|
|
332
|
+
}
|
|
333
|
+
},
|
|
318
334
|
{
|
|
319
335
|
"name": "selected",
|
|
320
336
|
"annotation": {
|
|
@@ -399,6 +415,23 @@
|
|
|
399
415
|
"name": "TagConfig"
|
|
400
416
|
}
|
|
401
417
|
}
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"name": "cardStyle",
|
|
421
|
+
"annotation": {
|
|
422
|
+
"type": "reference",
|
|
423
|
+
"typeName": {
|
|
424
|
+
"type": "qualifiedName",
|
|
425
|
+
"left": {
|
|
426
|
+
"type": "identifier",
|
|
427
|
+
"name": "React"
|
|
428
|
+
},
|
|
429
|
+
"right": {
|
|
430
|
+
"type": "identifier",
|
|
431
|
+
"name": "CSSProperties"
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
402
435
|
}
|
|
403
436
|
],
|
|
404
437
|
"events": [
|
|
@@ -1524,171 +1557,6 @@
|
|
|
1524
1557
|
"events": [],
|
|
1525
1558
|
"methods": []
|
|
1526
1559
|
},
|
|
1527
|
-
"eo-alert": {
|
|
1528
|
-
"properties": [
|
|
1529
|
-
{
|
|
1530
|
-
"name": "type",
|
|
1531
|
-
"annotation": {
|
|
1532
|
-
"type": "reference",
|
|
1533
|
-
"typeName": {
|
|
1534
|
-
"type": "identifier",
|
|
1535
|
-
"name": "AlertType"
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
|
-
},
|
|
1539
|
-
{
|
|
1540
|
-
"name": "hasTitle",
|
|
1541
|
-
"annotation": {
|
|
1542
|
-
"type": "keyword",
|
|
1543
|
-
"value": "boolean"
|
|
1544
|
-
}
|
|
1545
|
-
},
|
|
1546
|
-
{
|
|
1547
|
-
"name": "showIcon",
|
|
1548
|
-
"annotation": {
|
|
1549
|
-
"type": "keyword",
|
|
1550
|
-
"value": "boolean"
|
|
1551
|
-
}
|
|
1552
|
-
},
|
|
1553
|
-
{
|
|
1554
|
-
"name": "closable",
|
|
1555
|
-
"annotation": {
|
|
1556
|
-
"type": "keyword",
|
|
1557
|
-
"value": "boolean"
|
|
1558
|
-
}
|
|
1559
|
-
},
|
|
1560
|
-
{
|
|
1561
|
-
"name": "localStorageKey",
|
|
1562
|
-
"annotation": {
|
|
1563
|
-
"type": "keyword",
|
|
1564
|
-
"value": "string"
|
|
1565
|
-
}
|
|
1566
|
-
},
|
|
1567
|
-
{
|
|
1568
|
-
"name": "disableUrlNamespace",
|
|
1569
|
-
"annotation": {
|
|
1570
|
-
"type": "keyword",
|
|
1571
|
-
"value": "boolean"
|
|
1572
|
-
}
|
|
1573
|
-
}
|
|
1574
|
-
],
|
|
1575
|
-
"events": [],
|
|
1576
|
-
"methods": [],
|
|
1577
|
-
"types": [
|
|
1578
|
-
{
|
|
1579
|
-
"type": "enum",
|
|
1580
|
-
"name": "AlertType",
|
|
1581
|
-
"members": [
|
|
1582
|
-
{
|
|
1583
|
-
"type": "enumMember",
|
|
1584
|
-
"id": {
|
|
1585
|
-
"type": "jsLiteral",
|
|
1586
|
-
"value": "SUCCESS"
|
|
1587
|
-
},
|
|
1588
|
-
"initializer": {
|
|
1589
|
-
"type": "jsLiteral",
|
|
1590
|
-
"value": "success"
|
|
1591
|
-
}
|
|
1592
|
-
},
|
|
1593
|
-
{
|
|
1594
|
-
"type": "enumMember",
|
|
1595
|
-
"id": {
|
|
1596
|
-
"type": "jsLiteral",
|
|
1597
|
-
"value": "INFO"
|
|
1598
|
-
},
|
|
1599
|
-
"initializer": {
|
|
1600
|
-
"type": "jsLiteral",
|
|
1601
|
-
"value": "info"
|
|
1602
|
-
}
|
|
1603
|
-
},
|
|
1604
|
-
{
|
|
1605
|
-
"type": "enumMember",
|
|
1606
|
-
"id": {
|
|
1607
|
-
"type": "jsLiteral",
|
|
1608
|
-
"value": "WARNING"
|
|
1609
|
-
},
|
|
1610
|
-
"initializer": {
|
|
1611
|
-
"type": "jsLiteral",
|
|
1612
|
-
"value": "warning"
|
|
1613
|
-
}
|
|
1614
|
-
},
|
|
1615
|
-
{
|
|
1616
|
-
"type": "enumMember",
|
|
1617
|
-
"id": {
|
|
1618
|
-
"type": "jsLiteral",
|
|
1619
|
-
"value": "ERROR"
|
|
1620
|
-
},
|
|
1621
|
-
"initializer": {
|
|
1622
|
-
"type": "jsLiteral",
|
|
1623
|
-
"value": "error"
|
|
1624
|
-
}
|
|
1625
|
-
}
|
|
1626
|
-
]
|
|
1627
|
-
}
|
|
1628
|
-
]
|
|
1629
|
-
},
|
|
1630
|
-
"eo-code-display": {
|
|
1631
|
-
"properties": [
|
|
1632
|
-
{
|
|
1633
|
-
"name": "value",
|
|
1634
|
-
"annotation": {
|
|
1635
|
-
"type": "keyword",
|
|
1636
|
-
"value": "string"
|
|
1637
|
-
}
|
|
1638
|
-
},
|
|
1639
|
-
{
|
|
1640
|
-
"name": "language",
|
|
1641
|
-
"annotation": {
|
|
1642
|
-
"type": "keyword",
|
|
1643
|
-
"value": "string"
|
|
1644
|
-
}
|
|
1645
|
-
},
|
|
1646
|
-
{
|
|
1647
|
-
"name": "hideLineNumber",
|
|
1648
|
-
"annotation": {
|
|
1649
|
-
"type": "keyword",
|
|
1650
|
-
"value": "boolean"
|
|
1651
|
-
}
|
|
1652
|
-
},
|
|
1653
|
-
{
|
|
1654
|
-
"name": "maxLines",
|
|
1655
|
-
"annotation": {
|
|
1656
|
-
"type": "keyword",
|
|
1657
|
-
"value": "number"
|
|
1658
|
-
}
|
|
1659
|
-
},
|
|
1660
|
-
{
|
|
1661
|
-
"name": "minLines",
|
|
1662
|
-
"annotation": {
|
|
1663
|
-
"type": "keyword",
|
|
1664
|
-
"value": "number"
|
|
1665
|
-
}
|
|
1666
|
-
},
|
|
1667
|
-
{
|
|
1668
|
-
"name": "showCopyButton",
|
|
1669
|
-
"annotation": {
|
|
1670
|
-
"type": "keyword",
|
|
1671
|
-
"value": "boolean"
|
|
1672
|
-
}
|
|
1673
|
-
},
|
|
1674
|
-
{
|
|
1675
|
-
"name": "showExportButton",
|
|
1676
|
-
"annotation": {
|
|
1677
|
-
"type": "keyword",
|
|
1678
|
-
"value": "boolean"
|
|
1679
|
-
}
|
|
1680
|
-
},
|
|
1681
|
-
{
|
|
1682
|
-
"name": "exportFileName",
|
|
1683
|
-
"annotation": {
|
|
1684
|
-
"type": "keyword",
|
|
1685
|
-
"value": "string"
|
|
1686
|
-
}
|
|
1687
|
-
}
|
|
1688
|
-
],
|
|
1689
|
-
"events": [],
|
|
1690
|
-
"methods": []
|
|
1691
|
-
},
|
|
1692
1560
|
"eo-pagination": {
|
|
1693
1561
|
"properties": [
|
|
1694
1562
|
{
|
|
@@ -1873,5 +1741,170 @@
|
|
|
1873
1741
|
]
|
|
1874
1742
|
}
|
|
1875
1743
|
]
|
|
1744
|
+
},
|
|
1745
|
+
"eo-alert": {
|
|
1746
|
+
"properties": [
|
|
1747
|
+
{
|
|
1748
|
+
"name": "type",
|
|
1749
|
+
"annotation": {
|
|
1750
|
+
"type": "reference",
|
|
1751
|
+
"typeName": {
|
|
1752
|
+
"type": "identifier",
|
|
1753
|
+
"name": "AlertType"
|
|
1754
|
+
}
|
|
1755
|
+
}
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
"name": "hasTitle",
|
|
1759
|
+
"annotation": {
|
|
1760
|
+
"type": "keyword",
|
|
1761
|
+
"value": "boolean"
|
|
1762
|
+
}
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
"name": "showIcon",
|
|
1766
|
+
"annotation": {
|
|
1767
|
+
"type": "keyword",
|
|
1768
|
+
"value": "boolean"
|
|
1769
|
+
}
|
|
1770
|
+
},
|
|
1771
|
+
{
|
|
1772
|
+
"name": "closable",
|
|
1773
|
+
"annotation": {
|
|
1774
|
+
"type": "keyword",
|
|
1775
|
+
"value": "boolean"
|
|
1776
|
+
}
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
"name": "localStorageKey",
|
|
1780
|
+
"annotation": {
|
|
1781
|
+
"type": "keyword",
|
|
1782
|
+
"value": "string"
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"name": "disableUrlNamespace",
|
|
1787
|
+
"annotation": {
|
|
1788
|
+
"type": "keyword",
|
|
1789
|
+
"value": "boolean"
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
],
|
|
1793
|
+
"events": [],
|
|
1794
|
+
"methods": [],
|
|
1795
|
+
"types": [
|
|
1796
|
+
{
|
|
1797
|
+
"type": "enum",
|
|
1798
|
+
"name": "AlertType",
|
|
1799
|
+
"members": [
|
|
1800
|
+
{
|
|
1801
|
+
"type": "enumMember",
|
|
1802
|
+
"id": {
|
|
1803
|
+
"type": "jsLiteral",
|
|
1804
|
+
"value": "SUCCESS"
|
|
1805
|
+
},
|
|
1806
|
+
"initializer": {
|
|
1807
|
+
"type": "jsLiteral",
|
|
1808
|
+
"value": "success"
|
|
1809
|
+
}
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
"type": "enumMember",
|
|
1813
|
+
"id": {
|
|
1814
|
+
"type": "jsLiteral",
|
|
1815
|
+
"value": "INFO"
|
|
1816
|
+
},
|
|
1817
|
+
"initializer": {
|
|
1818
|
+
"type": "jsLiteral",
|
|
1819
|
+
"value": "info"
|
|
1820
|
+
}
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"type": "enumMember",
|
|
1824
|
+
"id": {
|
|
1825
|
+
"type": "jsLiteral",
|
|
1826
|
+
"value": "WARNING"
|
|
1827
|
+
},
|
|
1828
|
+
"initializer": {
|
|
1829
|
+
"type": "jsLiteral",
|
|
1830
|
+
"value": "warning"
|
|
1831
|
+
}
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
"type": "enumMember",
|
|
1835
|
+
"id": {
|
|
1836
|
+
"type": "jsLiteral",
|
|
1837
|
+
"value": "ERROR"
|
|
1838
|
+
},
|
|
1839
|
+
"initializer": {
|
|
1840
|
+
"type": "jsLiteral",
|
|
1841
|
+
"value": "error"
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
]
|
|
1845
|
+
}
|
|
1846
|
+
]
|
|
1847
|
+
},
|
|
1848
|
+
"eo-code-display": {
|
|
1849
|
+
"properties": [
|
|
1850
|
+
{
|
|
1851
|
+
"name": "value",
|
|
1852
|
+
"annotation": {
|
|
1853
|
+
"type": "keyword",
|
|
1854
|
+
"value": "string"
|
|
1855
|
+
}
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
"name": "language",
|
|
1859
|
+
"annotation": {
|
|
1860
|
+
"type": "keyword",
|
|
1861
|
+
"value": "string"
|
|
1862
|
+
}
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"name": "hideLineNumber",
|
|
1866
|
+
"annotation": {
|
|
1867
|
+
"type": "keyword",
|
|
1868
|
+
"value": "boolean"
|
|
1869
|
+
}
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
"name": "maxLines",
|
|
1873
|
+
"annotation": {
|
|
1874
|
+
"type": "keyword",
|
|
1875
|
+
"value": "number"
|
|
1876
|
+
}
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"name": "minLines",
|
|
1880
|
+
"annotation": {
|
|
1881
|
+
"type": "keyword",
|
|
1882
|
+
"value": "number"
|
|
1883
|
+
}
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"name": "showCopyButton",
|
|
1887
|
+
"annotation": {
|
|
1888
|
+
"type": "keyword",
|
|
1889
|
+
"value": "boolean"
|
|
1890
|
+
}
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
"name": "showExportButton",
|
|
1894
|
+
"annotation": {
|
|
1895
|
+
"type": "keyword",
|
|
1896
|
+
"value": "boolean"
|
|
1897
|
+
}
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
"name": "exportFileName",
|
|
1901
|
+
"annotation": {
|
|
1902
|
+
"type": "keyword",
|
|
1903
|
+
"value": "string"
|
|
1904
|
+
}
|
|
1905
|
+
}
|
|
1906
|
+
],
|
|
1907
|
+
"events": [],
|
|
1908
|
+
"methods": []
|
|
1876
1909
|
}
|
|
1877
1910
|
}
|
|
@@ -47,6 +47,7 @@ export interface EoCardItemProps {
|
|
|
47
47
|
url?: LinkProps["url"];
|
|
48
48
|
target?: LinkProps["target"];
|
|
49
49
|
actions?: ActionType[];
|
|
50
|
+
showActions?: "always" | "hover";
|
|
50
51
|
hasExpandedArea1?: boolean;
|
|
51
52
|
hasExpandedArea2?: boolean;
|
|
52
53
|
selected?: boolean;
|
|
@@ -57,6 +58,7 @@ export interface EoCardItemProps {
|
|
|
57
58
|
tagConfig?: TagConfig;
|
|
58
59
|
avatarPosition?: "content" | "cover";
|
|
59
60
|
coverImageSize?: React.CSSProperties["backgroundSize"];
|
|
61
|
+
cardStyle?: React.CSSProperties;
|
|
60
62
|
}
|
|
61
63
|
/**
|
|
62
64
|
* 信息类卡片 —— 通用卡片
|
|
@@ -102,6 +104,10 @@ export declare class EoCardItem extends ReactNextElement implements EoCardItemPr
|
|
|
102
104
|
* 操作按钮组
|
|
103
105
|
*/
|
|
104
106
|
accessor actions: ActionType[] | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* 展示操作按钮组
|
|
109
|
+
*/
|
|
110
|
+
accessor showActions: "always" | "hover";
|
|
105
111
|
/**
|
|
106
112
|
* 是否选中
|
|
107
113
|
*/
|
|
@@ -131,6 +137,10 @@ export declare class EoCardItem extends ReactNextElement implements EoCardItemPr
|
|
|
131
137
|
*/
|
|
132
138
|
accessor avatarPosition: "content" | "cover";
|
|
133
139
|
accessor tagConfig: TagConfig | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* 卡片样式
|
|
142
|
+
*/
|
|
143
|
+
accessor cardStyle: React.CSSProperties;
|
|
134
144
|
/**
|
|
135
145
|
* 是否有扩展区域 1
|
|
136
146
|
* @internal
|