@next-bricks/presentational 1.7.9 → 1.7.10
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 +20 -20
- package/dist/chunks/1889.62073b7d.js +2 -0
- package/dist/chunks/1889.62073b7d.js.map +1 -0
- package/dist/chunks/{main.a9750c18.js → main.088ae63f.js} +2 -2
- package/dist/chunks/{main.a9750c18.js.map → main.088ae63f.js.map} +1 -1
- package/dist/examples.json +8 -8
- package/dist/{index.7dcb2925.js → index.5e434643.js} +2 -2
- package/dist/{index.7dcb2925.js.map → index.5e434643.js.map} +1 -1
- package/dist/manifest.json +205 -205
- package/dist/types.json +616 -616
- package/package.json +2 -2
- package/dist/chunks/1889.1d727622.js +0 -2
- package/dist/chunks/1889.1d727622.js.map +0 -1
package/dist/manifest.json
CHANGED
|
@@ -65,54 +65,61 @@
|
|
|
65
65
|
"category": "text"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
-
"name": "eo-
|
|
68
|
+
"name": "eo-code-display",
|
|
69
|
+
"alias": [
|
|
70
|
+
"presentational.code-display"
|
|
71
|
+
],
|
|
69
72
|
"properties": [
|
|
70
73
|
{
|
|
71
|
-
"name": "
|
|
72
|
-
"description": "
|
|
73
|
-
"default": "
|
|
74
|
-
"type": "
|
|
74
|
+
"name": "value",
|
|
75
|
+
"description": "代码内容",
|
|
76
|
+
"default": "\"\"",
|
|
77
|
+
"type": "string"
|
|
75
78
|
},
|
|
76
79
|
{
|
|
77
|
-
"name": "
|
|
78
|
-
"description": "
|
|
79
|
-
"
|
|
80
|
-
"type": "number"
|
|
80
|
+
"name": "language",
|
|
81
|
+
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
82
|
+
"type": "string"
|
|
81
83
|
},
|
|
82
84
|
{
|
|
83
|
-
"name": "
|
|
84
|
-
"description": "
|
|
85
|
-
"
|
|
85
|
+
"name": "hideLineNumber",
|
|
86
|
+
"description": "是否隐藏行号",
|
|
87
|
+
"type": "boolean"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "maxLines",
|
|
91
|
+
"description": "最大行数",
|
|
86
92
|
"type": "number"
|
|
87
93
|
},
|
|
88
94
|
{
|
|
89
|
-
"name": "
|
|
90
|
-
"description": "
|
|
91
|
-
"
|
|
92
|
-
"attribute": false,
|
|
93
|
-
"type": "number[]"
|
|
95
|
+
"name": "minLines",
|
|
96
|
+
"description": "最小行数",
|
|
97
|
+
"type": "number"
|
|
94
98
|
},
|
|
95
99
|
{
|
|
96
|
-
"name": "
|
|
97
|
-
"description": "
|
|
100
|
+
"name": "showCopyButton",
|
|
101
|
+
"description": "是否显示复制按钮",
|
|
98
102
|
"default": "true",
|
|
99
103
|
"type": "boolean"
|
|
100
|
-
}
|
|
101
|
-
],
|
|
102
|
-
"events": [
|
|
104
|
+
},
|
|
103
105
|
{
|
|
104
|
-
"name": "
|
|
105
|
-
"description": "
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
"name": "showExportButton",
|
|
107
|
+
"description": "是否显示导出按钮",
|
|
108
|
+
"type": "boolean"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "exportFileName",
|
|
112
|
+
"description": "导出的文件名",
|
|
113
|
+
"default": "download.txt",
|
|
114
|
+
"type": "string"
|
|
109
115
|
}
|
|
110
116
|
],
|
|
117
|
+
"events": [],
|
|
111
118
|
"slots": [],
|
|
112
119
|
"methods": [],
|
|
113
120
|
"parts": [],
|
|
114
|
-
"description": "
|
|
115
|
-
"category": "
|
|
121
|
+
"description": "代码展示",
|
|
122
|
+
"category": "display-component"
|
|
116
123
|
},
|
|
117
124
|
{
|
|
118
125
|
"name": "eo-alert",
|
|
@@ -168,6 +175,175 @@
|
|
|
168
175
|
"description": "告警提示",
|
|
169
176
|
"category": "display-component"
|
|
170
177
|
},
|
|
178
|
+
{
|
|
179
|
+
"name": "eo-card-item",
|
|
180
|
+
"properties": [
|
|
181
|
+
{
|
|
182
|
+
"name": "hasHeader",
|
|
183
|
+
"description": "是否有顶部小标题",
|
|
184
|
+
"type": "boolean"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "cardTitle",
|
|
188
|
+
"description": "卡片标题",
|
|
189
|
+
"type": "string"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "description",
|
|
193
|
+
"description": "描述信息",
|
|
194
|
+
"type": "string"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "auxiliaryText",
|
|
198
|
+
"description": "顶部辅助文字",
|
|
199
|
+
"type": "string"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "avatar",
|
|
203
|
+
"description": "图标",
|
|
204
|
+
"attribute": false,
|
|
205
|
+
"type": "IconAvatar | ImgAvatar"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "href",
|
|
209
|
+
"description": "设置 `href` 时将使用原生 `<a>` 标签,通常用于外链的跳转",
|
|
210
|
+
"type": "LinkProps[\"href\"]"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "url",
|
|
214
|
+
"description": "链接地址",
|
|
215
|
+
"attribute": false,
|
|
216
|
+
"type": "LinkProps[\"url\"]"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "target",
|
|
220
|
+
"description": "链接跳转目标",
|
|
221
|
+
"type": "LinkProps[\"target\"]"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "actions",
|
|
225
|
+
"description": "操作按钮组",
|
|
226
|
+
"attribute": false,
|
|
227
|
+
"type": "ActionType[]"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "selected",
|
|
231
|
+
"description": "是否选中",
|
|
232
|
+
"type": "boolean"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "styleType",
|
|
236
|
+
"description": "卡片样式类型",
|
|
237
|
+
"type": "\"grayish\""
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "hasCover",
|
|
241
|
+
"description": "是否使用卡片封面",
|
|
242
|
+
"type": "boolean"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "coverImage",
|
|
246
|
+
"description": "卡片封面背景图片",
|
|
247
|
+
"attribute": false,
|
|
248
|
+
"type": "string"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "coverColor",
|
|
252
|
+
"description": "卡片封面背景颜色(使用纯色背景)",
|
|
253
|
+
"attribute": false,
|
|
254
|
+
"type": "string"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "coverImageSize",
|
|
258
|
+
"description": "卡片封面图片尺寸 ,配置参考 https://developer.mozilla.org/zh-CN/docs/Web/CSS/background-size",
|
|
259
|
+
"attribute": false,
|
|
260
|
+
"type": "React.CSSProperties[\"backgroundSize\"]"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "avatarPosition",
|
|
264
|
+
"description": "图标是否放置在卡片封面",
|
|
265
|
+
"type": "\"content\" | \"cover\""
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "tagConfig",
|
|
269
|
+
"attribute": false,
|
|
270
|
+
"type": "TagConfig"
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
"events": [
|
|
274
|
+
{
|
|
275
|
+
"name": "tag.click",
|
|
276
|
+
"description": "徽标点击事件",
|
|
277
|
+
"detail": {
|
|
278
|
+
"type": "void"
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
],
|
|
282
|
+
"slots": [
|
|
283
|
+
{
|
|
284
|
+
"name": "expanded-area-1",
|
|
285
|
+
"description": "扩展区域 1,通常放置标签信息"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "expanded-area-2",
|
|
289
|
+
"description": "扩展区域 2,通常放置操作和其他属性信息(图标/头像/小字描述/统计信息)"
|
|
290
|
+
}
|
|
291
|
+
],
|
|
292
|
+
"methods": [],
|
|
293
|
+
"parts": [],
|
|
294
|
+
"description": "信息类卡片 —— 通用卡片",
|
|
295
|
+
"category": "card-info"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "eo-pagination",
|
|
299
|
+
"properties": [
|
|
300
|
+
{
|
|
301
|
+
"name": "total",
|
|
302
|
+
"description": "数据总数",
|
|
303
|
+
"default": "0",
|
|
304
|
+
"type": "number"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "page",
|
|
308
|
+
"description": "当前页数",
|
|
309
|
+
"default": "1",
|
|
310
|
+
"type": "number"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"name": "pageSize",
|
|
314
|
+
"description": "每页条数",
|
|
315
|
+
"default": "20",
|
|
316
|
+
"type": "number"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "pageSizeOptions",
|
|
320
|
+
"description": "指定每页可以显示多少条",
|
|
321
|
+
"default": "[10, 20, 50, 100]",
|
|
322
|
+
"attribute": false,
|
|
323
|
+
"type": "number[]"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "showSizeChanger",
|
|
327
|
+
"description": "是否展示`pageSize`分页器",
|
|
328
|
+
"default": "true",
|
|
329
|
+
"type": "boolean"
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"events": [
|
|
333
|
+
{
|
|
334
|
+
"name": "change",
|
|
335
|
+
"description": "页码及每页条数改变事件",
|
|
336
|
+
"detail": {
|
|
337
|
+
"type": "{ page: number; pageSize: number }"
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
],
|
|
341
|
+
"slots": [],
|
|
342
|
+
"methods": [],
|
|
343
|
+
"parts": [],
|
|
344
|
+
"description": "分页",
|
|
345
|
+
"category": "navigation"
|
|
346
|
+
},
|
|
171
347
|
{
|
|
172
348
|
"name": "eo-divider",
|
|
173
349
|
"properties": [
|
|
@@ -253,63 +429,6 @@
|
|
|
253
429
|
"description": "信息卡片",
|
|
254
430
|
"category": "card-info"
|
|
255
431
|
},
|
|
256
|
-
{
|
|
257
|
-
"name": "eo-code-display",
|
|
258
|
-
"alias": [
|
|
259
|
-
"presentational.code-display"
|
|
260
|
-
],
|
|
261
|
-
"properties": [
|
|
262
|
-
{
|
|
263
|
-
"name": "value",
|
|
264
|
-
"description": "代码内容",
|
|
265
|
-
"default": "\"\"",
|
|
266
|
-
"type": "string"
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"name": "language",
|
|
270
|
-
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
271
|
-
"type": "string"
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"name": "hideLineNumber",
|
|
275
|
-
"description": "是否隐藏行号",
|
|
276
|
-
"type": "boolean"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"name": "maxLines",
|
|
280
|
-
"description": "最大行数",
|
|
281
|
-
"type": "number"
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"name": "minLines",
|
|
285
|
-
"description": "最小行数",
|
|
286
|
-
"type": "number"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"name": "showCopyButton",
|
|
290
|
-
"description": "是否显示复制按钮",
|
|
291
|
-
"default": "true",
|
|
292
|
-
"type": "boolean"
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"name": "showExportButton",
|
|
296
|
-
"description": "是否显示导出按钮",
|
|
297
|
-
"type": "boolean"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"name": "exportFileName",
|
|
301
|
-
"description": "导出的文件名",
|
|
302
|
-
"default": "download.txt",
|
|
303
|
-
"type": "string"
|
|
304
|
-
}
|
|
305
|
-
],
|
|
306
|
-
"events": [],
|
|
307
|
-
"slots": [],
|
|
308
|
-
"methods": [],
|
|
309
|
-
"parts": [],
|
|
310
|
-
"description": "代码展示",
|
|
311
|
-
"category": "display-component"
|
|
312
|
-
},
|
|
313
432
|
{
|
|
314
433
|
"name": "eo-humanize-time",
|
|
315
434
|
"alias": [
|
|
@@ -453,125 +572,6 @@
|
|
|
453
572
|
"parts": [],
|
|
454
573
|
"description": "统计卡片"
|
|
455
574
|
},
|
|
456
|
-
{
|
|
457
|
-
"name": "eo-card-item",
|
|
458
|
-
"properties": [
|
|
459
|
-
{
|
|
460
|
-
"name": "hasHeader",
|
|
461
|
-
"description": "是否有顶部小标题",
|
|
462
|
-
"type": "boolean"
|
|
463
|
-
},
|
|
464
|
-
{
|
|
465
|
-
"name": "cardTitle",
|
|
466
|
-
"description": "卡片标题",
|
|
467
|
-
"type": "string"
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
"name": "description",
|
|
471
|
-
"description": "描述信息",
|
|
472
|
-
"type": "string"
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
"name": "auxiliaryText",
|
|
476
|
-
"description": "顶部辅助文字",
|
|
477
|
-
"type": "string"
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
"name": "avatar",
|
|
481
|
-
"description": "图标",
|
|
482
|
-
"attribute": false,
|
|
483
|
-
"type": "IconAvatar | ImgAvatar"
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
"name": "href",
|
|
487
|
-
"description": "设置 `href` 时将使用原生 `<a>` 标签,通常用于外链的跳转",
|
|
488
|
-
"type": "LinkProps[\"href\"]"
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
"name": "url",
|
|
492
|
-
"description": "链接地址",
|
|
493
|
-
"attribute": false,
|
|
494
|
-
"type": "LinkProps[\"url\"]"
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"name": "target",
|
|
498
|
-
"description": "链接跳转目标",
|
|
499
|
-
"type": "LinkProps[\"target\"]"
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
"name": "actions",
|
|
503
|
-
"description": "操作按钮组",
|
|
504
|
-
"attribute": false,
|
|
505
|
-
"type": "ActionType[]"
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
"name": "selected",
|
|
509
|
-
"description": "是否选中",
|
|
510
|
-
"type": "boolean"
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
"name": "styleType",
|
|
514
|
-
"description": "卡片样式类型",
|
|
515
|
-
"type": "\"grayish\""
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
"name": "hasCover",
|
|
519
|
-
"description": "是否使用卡片封面",
|
|
520
|
-
"type": "boolean"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"name": "coverImage",
|
|
524
|
-
"description": "卡片封面背景图片",
|
|
525
|
-
"attribute": false,
|
|
526
|
-
"type": "string"
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
"name": "coverColor",
|
|
530
|
-
"description": "卡片封面背景颜色(使用纯色背景)",
|
|
531
|
-
"attribute": false,
|
|
532
|
-
"type": "string"
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
"name": "coverImageSize",
|
|
536
|
-
"description": "卡片封面图片尺寸 ,配置参考 https://developer.mozilla.org/zh-CN/docs/Web/CSS/background-size",
|
|
537
|
-
"attribute": false,
|
|
538
|
-
"type": "React.CSSProperties[\"backgroundSize\"]"
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
"name": "avatarPosition",
|
|
542
|
-
"description": "图标是否放置在卡片封面",
|
|
543
|
-
"type": "\"content\" | \"cover\""
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"name": "tagConfig",
|
|
547
|
-
"attribute": false,
|
|
548
|
-
"type": "TagConfig"
|
|
549
|
-
}
|
|
550
|
-
],
|
|
551
|
-
"events": [
|
|
552
|
-
{
|
|
553
|
-
"name": "tag.click",
|
|
554
|
-
"description": "徽标点击事件",
|
|
555
|
-
"detail": {
|
|
556
|
-
"type": "void"
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
],
|
|
560
|
-
"slots": [
|
|
561
|
-
{
|
|
562
|
-
"name": "expanded-area-1",
|
|
563
|
-
"description": "扩展区域 1,通常放置标签信息"
|
|
564
|
-
},
|
|
565
|
-
{
|
|
566
|
-
"name": "expanded-area-2",
|
|
567
|
-
"description": "扩展区域 2,通常放置操作和其他属性信息(图标/头像/小字描述/统计信息)"
|
|
568
|
-
}
|
|
569
|
-
],
|
|
570
|
-
"methods": [],
|
|
571
|
-
"parts": [],
|
|
572
|
-
"description": "信息类卡片 —— 通用卡片",
|
|
573
|
-
"category": "card-info"
|
|
574
|
-
},
|
|
575
575
|
{
|
|
576
576
|
"name": "eo-loading-step",
|
|
577
577
|
"properties": [
|