@next-bricks/presentational 1.12.3 → 1.12.4
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 +19 -19
- package/dist/examples.json +9 -9
- package/dist/{index.0254377f.js → index.dd90f74b.js} +2 -2
- package/dist/{index.0254377f.js.map → index.dd90f74b.js.map} +1 -1
- package/dist/manifest.json +206 -206
- package/dist/types.json +490 -490
- package/package.json +3 -3
package/dist/manifest.json
CHANGED
|
@@ -3,65 +3,6 @@
|
|
|
3
3
|
"package": "@next-bricks/presentational",
|
|
4
4
|
"name": "presentational",
|
|
5
5
|
"bricks": [
|
|
6
|
-
{
|
|
7
|
-
"name": "eo-alert",
|
|
8
|
-
"alias": [
|
|
9
|
-
"presentational.general-alert"
|
|
10
|
-
],
|
|
11
|
-
"properties": [
|
|
12
|
-
{
|
|
13
|
-
"name": "type",
|
|
14
|
-
"description": "警告类型",
|
|
15
|
-
"attribute": false,
|
|
16
|
-
"type": "AlertType"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "hasTitle",
|
|
20
|
-
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "showIcon",
|
|
25
|
-
"description": "是否显示提示图标",
|
|
26
|
-
"type": "boolean"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "closable",
|
|
30
|
-
"description": "是否显示关闭按钮",
|
|
31
|
-
"type": "boolean"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "localStorageKey",
|
|
35
|
-
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
36
|
-
"type": "string"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "disableUrlNamespace",
|
|
40
|
-
"description": "关闭后仅以 `localStorageKey` 作为命名空间",
|
|
41
|
-
"type": "boolean"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "textContent",
|
|
45
|
-
"type": "string",
|
|
46
|
-
"description": "文本内容"
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
"events": [],
|
|
50
|
-
"slots": [
|
|
51
|
-
{
|
|
52
|
-
"name": null,
|
|
53
|
-
"description": "内容区"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "title",
|
|
57
|
-
"description": "标题"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"methods": [],
|
|
61
|
-
"parts": [],
|
|
62
|
-
"description": "告警提示",
|
|
63
|
-
"category": "display-component"
|
|
64
|
-
},
|
|
65
6
|
{
|
|
66
7
|
"name": "eo-descriptions",
|
|
67
8
|
"alias": [
|
|
@@ -123,6 +64,65 @@
|
|
|
123
64
|
"description": "通用描述列表构件",
|
|
124
65
|
"category": "text"
|
|
125
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
|
+
"name": "textContent",
|
|
106
|
+
"type": "string",
|
|
107
|
+
"description": "文本内容"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"events": [],
|
|
111
|
+
"slots": [
|
|
112
|
+
{
|
|
113
|
+
"name": null,
|
|
114
|
+
"description": "内容区"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "title",
|
|
118
|
+
"description": "标题"
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"methods": [],
|
|
122
|
+
"parts": [],
|
|
123
|
+
"description": "告警提示",
|
|
124
|
+
"category": "display-component"
|
|
125
|
+
},
|
|
126
126
|
{
|
|
127
127
|
"name": "eo-code-display",
|
|
128
128
|
"alias": [
|
|
@@ -244,6 +244,91 @@
|
|
|
244
244
|
"description": "分页",
|
|
245
245
|
"category": "navigation"
|
|
246
246
|
},
|
|
247
|
+
{
|
|
248
|
+
"name": "eo-divider",
|
|
249
|
+
"properties": [
|
|
250
|
+
{
|
|
251
|
+
"name": "orientation",
|
|
252
|
+
"description": "标题位置,在horizontal类型的分割线中使用",
|
|
253
|
+
"default": "center",
|
|
254
|
+
"attribute": false,
|
|
255
|
+
"type": "OrientationType"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "dashed",
|
|
259
|
+
"description": "是否虚线",
|
|
260
|
+
"default": "false",
|
|
261
|
+
"type": "boolean"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"name": "type",
|
|
265
|
+
"description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
|
|
266
|
+
"default": "\"horizontal\"",
|
|
267
|
+
"type": "dividerType"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "proportion",
|
|
271
|
+
"description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
|
|
272
|
+
"attribute": false,
|
|
273
|
+
"type": "[number, number]"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "dividerStyle",
|
|
277
|
+
"description": "分割线自定义样式",
|
|
278
|
+
"attribute": false,
|
|
279
|
+
"type": "CSSProperties"
|
|
280
|
+
}
|
|
281
|
+
],
|
|
282
|
+
"events": [],
|
|
283
|
+
"slots": [],
|
|
284
|
+
"methods": [],
|
|
285
|
+
"parts": [],
|
|
286
|
+
"description": "分割线",
|
|
287
|
+
"category": "container-display"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"name": "eo-info-card-item",
|
|
291
|
+
"properties": [
|
|
292
|
+
{
|
|
293
|
+
"name": "cardTitle",
|
|
294
|
+
"description": "title",
|
|
295
|
+
"type": "string"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "description",
|
|
299
|
+
"description": "description",
|
|
300
|
+
"type": "string"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "url",
|
|
304
|
+
"description": "链接地址",
|
|
305
|
+
"type": "string"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "cardIcon",
|
|
309
|
+
"description": "图标",
|
|
310
|
+
"attribute": false,
|
|
311
|
+
"type": "IconAvatar"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "detailList",
|
|
315
|
+
"description": "详细列表",
|
|
316
|
+
"attribute": false,
|
|
317
|
+
"type": "InfoCardDetail[]"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "target",
|
|
321
|
+
"description": "链接跳转目标",
|
|
322
|
+
"type": "LinkProps[\"target\"]"
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"events": [],
|
|
326
|
+
"slots": [],
|
|
327
|
+
"methods": [],
|
|
328
|
+
"parts": [],
|
|
329
|
+
"description": "信息卡片",
|
|
330
|
+
"category": "card-info"
|
|
331
|
+
},
|
|
247
332
|
{
|
|
248
333
|
"name": "eo-card-item",
|
|
249
334
|
"properties": [
|
|
@@ -375,91 +460,6 @@
|
|
|
375
460
|
"description": "信息类卡片 —— 通用卡片",
|
|
376
461
|
"category": "card-info"
|
|
377
462
|
},
|
|
378
|
-
{
|
|
379
|
-
"name": "eo-divider",
|
|
380
|
-
"properties": [
|
|
381
|
-
{
|
|
382
|
-
"name": "orientation",
|
|
383
|
-
"description": "标题位置,在horizontal类型的分割线中使用",
|
|
384
|
-
"default": "center",
|
|
385
|
-
"attribute": false,
|
|
386
|
-
"type": "OrientationType"
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
"name": "dashed",
|
|
390
|
-
"description": "是否虚线",
|
|
391
|
-
"default": "false",
|
|
392
|
-
"type": "boolean"
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
"name": "type",
|
|
396
|
-
"description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
|
|
397
|
-
"default": "\"horizontal\"",
|
|
398
|
-
"type": "dividerType"
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
"name": "proportion",
|
|
402
|
-
"description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
|
|
403
|
-
"attribute": false,
|
|
404
|
-
"type": "[number, number]"
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
"name": "dividerStyle",
|
|
408
|
-
"description": "分割线自定义样式",
|
|
409
|
-
"attribute": false,
|
|
410
|
-
"type": "CSSProperties"
|
|
411
|
-
}
|
|
412
|
-
],
|
|
413
|
-
"events": [],
|
|
414
|
-
"slots": [],
|
|
415
|
-
"methods": [],
|
|
416
|
-
"parts": [],
|
|
417
|
-
"description": "分割线",
|
|
418
|
-
"category": "container-display"
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
"name": "eo-info-card-item",
|
|
422
|
-
"properties": [
|
|
423
|
-
{
|
|
424
|
-
"name": "cardTitle",
|
|
425
|
-
"description": "title",
|
|
426
|
-
"type": "string"
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
"name": "description",
|
|
430
|
-
"description": "description",
|
|
431
|
-
"type": "string"
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
"name": "url",
|
|
435
|
-
"description": "链接地址",
|
|
436
|
-
"type": "string"
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
"name": "cardIcon",
|
|
440
|
-
"description": "图标",
|
|
441
|
-
"attribute": false,
|
|
442
|
-
"type": "IconAvatar"
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
"name": "detailList",
|
|
446
|
-
"description": "详细列表",
|
|
447
|
-
"attribute": false,
|
|
448
|
-
"type": "InfoCardDetail[]"
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"name": "target",
|
|
452
|
-
"description": "链接跳转目标",
|
|
453
|
-
"type": "LinkProps[\"target\"]"
|
|
454
|
-
}
|
|
455
|
-
],
|
|
456
|
-
"events": [],
|
|
457
|
-
"slots": [],
|
|
458
|
-
"methods": [],
|
|
459
|
-
"parts": [],
|
|
460
|
-
"description": "信息卡片",
|
|
461
|
-
"category": "card-info"
|
|
462
|
-
},
|
|
463
463
|
{
|
|
464
464
|
"name": "eo-humanize-time",
|
|
465
465
|
"alias": [
|
|
@@ -615,6 +615,68 @@
|
|
|
615
615
|
"parts": [],
|
|
616
616
|
"description": "统计卡片"
|
|
617
617
|
},
|
|
618
|
+
{
|
|
619
|
+
"name": "eo-current-time",
|
|
620
|
+
"properties": [
|
|
621
|
+
{
|
|
622
|
+
"name": "format",
|
|
623
|
+
"description": "时间格式",
|
|
624
|
+
"default": "\"YYYY-MM-DD HH:mm:ss\"",
|
|
625
|
+
"type": "string"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"name": "icon",
|
|
629
|
+
"description": "前置图标",
|
|
630
|
+
"attribute": false,
|
|
631
|
+
"type": "GeneralIconProps"
|
|
632
|
+
}
|
|
633
|
+
],
|
|
634
|
+
"events": [],
|
|
635
|
+
"slots": [],
|
|
636
|
+
"methods": [],
|
|
637
|
+
"parts": [],
|
|
638
|
+
"description": "构件 `eo-current-time`"
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"name": "eo-carousel-text",
|
|
642
|
+
"properties": [
|
|
643
|
+
{
|
|
644
|
+
"name": "text",
|
|
645
|
+
"description": "展示内容",
|
|
646
|
+
"default": "\"\"",
|
|
647
|
+
"type": "string"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"name": "containerWidth",
|
|
651
|
+
"description": "容器宽度",
|
|
652
|
+
"default": "\"100%\"",
|
|
653
|
+
"type": "CSSProperties[\"width\"]"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"name": "fontSize",
|
|
657
|
+
"description": "字体大小",
|
|
658
|
+
"default": "\"var(--normal-font-size)\"",
|
|
659
|
+
"type": "CSSProperties[\"fontSize\"]"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"name": "fontColor",
|
|
663
|
+
"description": "字体颜色",
|
|
664
|
+
"default": "\"var(--text-color-default)\"",
|
|
665
|
+
"type": "CSSProperties[\"color\"]"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "speed",
|
|
669
|
+
"description": "移动速度,单位 px/s",
|
|
670
|
+
"default": "100",
|
|
671
|
+
"type": "number"
|
|
672
|
+
}
|
|
673
|
+
],
|
|
674
|
+
"events": [],
|
|
675
|
+
"slots": [],
|
|
676
|
+
"methods": [],
|
|
677
|
+
"parts": [],
|
|
678
|
+
"description": "构件 `eo-carousel-text`"
|
|
679
|
+
},
|
|
618
680
|
{
|
|
619
681
|
"name": "eo-loading-step",
|
|
620
682
|
"properties": [
|
|
@@ -678,68 +740,6 @@
|
|
|
678
740
|
],
|
|
679
741
|
"parts": [],
|
|
680
742
|
"description": "加载步骤框"
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
"name": "eo-current-time",
|
|
684
|
-
"properties": [
|
|
685
|
-
{
|
|
686
|
-
"name": "format",
|
|
687
|
-
"description": "时间格式",
|
|
688
|
-
"default": "\"YYYY-MM-DD HH:mm:ss\"",
|
|
689
|
-
"type": "string"
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
"name": "icon",
|
|
693
|
-
"description": "前置图标",
|
|
694
|
-
"attribute": false,
|
|
695
|
-
"type": "GeneralIconProps"
|
|
696
|
-
}
|
|
697
|
-
],
|
|
698
|
-
"events": [],
|
|
699
|
-
"slots": [],
|
|
700
|
-
"methods": [],
|
|
701
|
-
"parts": [],
|
|
702
|
-
"description": "构件 `eo-current-time`"
|
|
703
|
-
},
|
|
704
|
-
{
|
|
705
|
-
"name": "eo-carousel-text",
|
|
706
|
-
"properties": [
|
|
707
|
-
{
|
|
708
|
-
"name": "text",
|
|
709
|
-
"description": "展示内容",
|
|
710
|
-
"default": "\"\"",
|
|
711
|
-
"type": "string"
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
"name": "containerWidth",
|
|
715
|
-
"description": "容器宽度",
|
|
716
|
-
"default": "\"100%\"",
|
|
717
|
-
"type": "CSSProperties[\"width\"]"
|
|
718
|
-
},
|
|
719
|
-
{
|
|
720
|
-
"name": "fontSize",
|
|
721
|
-
"description": "字体大小",
|
|
722
|
-
"default": "\"var(--normal-font-size)\"",
|
|
723
|
-
"type": "CSSProperties[\"fontSize\"]"
|
|
724
|
-
},
|
|
725
|
-
{
|
|
726
|
-
"name": "fontColor",
|
|
727
|
-
"description": "字体颜色",
|
|
728
|
-
"default": "\"var(--text-color-default)\"",
|
|
729
|
-
"type": "CSSProperties[\"color\"]"
|
|
730
|
-
},
|
|
731
|
-
{
|
|
732
|
-
"name": "speed",
|
|
733
|
-
"description": "移动速度,单位 px/s",
|
|
734
|
-
"default": "100",
|
|
735
|
-
"type": "number"
|
|
736
|
-
}
|
|
737
|
-
],
|
|
738
|
-
"events": [],
|
|
739
|
-
"slots": [],
|
|
740
|
-
"methods": [],
|
|
741
|
-
"parts": [],
|
|
742
|
-
"description": "构件 `eo-carousel-text`"
|
|
743
743
|
}
|
|
744
744
|
],
|
|
745
745
|
"providers": []
|