@next-bricks/presentational 1.14.1 → 1.14.2
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 +36 -36
- package/dist/chunks/7082.4443a6cf.js +2 -0
- package/dist/chunks/7082.4443a6cf.js.map +1 -0
- package/dist/chunks/{eo-descriptions.935a0e78.js → eo-descriptions.60087249.js} +3 -3
- package/dist/chunks/eo-descriptions.60087249.js.map +1 -0
- package/dist/chunks/{main.5a473cc6.js → main.968254e5.js} +2 -2
- package/dist/chunks/{main.5a473cc6.js.map → main.968254e5.js.map} +1 -1
- package/dist/examples.json +16 -16
- package/dist/{index.98193f50.js → index.e491f19d.js} +2 -2
- package/dist/{index.98193f50.js.map → index.e491f19d.js.map} +1 -1
- package/dist/manifest.json +270 -270
- package/dist/types.json +460 -460
- package/package.json +2 -2
- package/dist/chunks/7082.0543bf39.js +0 -2
- package/dist/chunks/7082.0543bf39.js.map +0 -1
- package/dist/chunks/eo-descriptions.935a0e78.js.map +0 -1
- /package/dist/chunks/{eo-descriptions.935a0e78.js.LICENSE.txt → eo-descriptions.60087249.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -4,184 +4,70 @@
|
|
|
4
4
|
"name": "presentational",
|
|
5
5
|
"bricks": [
|
|
6
6
|
{
|
|
7
|
-
"name": "eo-
|
|
7
|
+
"name": "eo-descriptions",
|
|
8
8
|
"alias": [
|
|
9
|
-
"presentational.
|
|
9
|
+
"presentational.general-descriptions"
|
|
10
10
|
],
|
|
11
11
|
"properties": [
|
|
12
12
|
{
|
|
13
|
-
"name": "
|
|
14
|
-
"description": "
|
|
15
|
-
"default": "\"\"",
|
|
16
|
-
"type": "string"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "language",
|
|
20
|
-
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
13
|
+
"name": "descriptionTitle",
|
|
14
|
+
"description": "描述标题",
|
|
21
15
|
"type": "string"
|
|
22
16
|
},
|
|
23
17
|
{
|
|
24
|
-
"name": "
|
|
25
|
-
"description": "
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
{
|
|
29
|
-
"name": "maxLines",
|
|
30
|
-
"description": "最大行数",
|
|
31
|
-
"type": "number"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "minLines",
|
|
35
|
-
"description": "最小行数",
|
|
36
|
-
"type": "number"
|
|
18
|
+
"name": "list",
|
|
19
|
+
"description": "描述列表",
|
|
20
|
+
"attribute": false,
|
|
21
|
+
"type": "DescriptionItem[]"
|
|
37
22
|
},
|
|
38
23
|
{
|
|
39
|
-
"name": "
|
|
40
|
-
"description": "
|
|
24
|
+
"name": "showCard",
|
|
25
|
+
"description": "是否展示卡片背景",
|
|
41
26
|
"default": "true",
|
|
42
27
|
"type": "boolean"
|
|
43
28
|
},
|
|
44
29
|
{
|
|
45
|
-
"name": "
|
|
46
|
-
"description": "
|
|
47
|
-
"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "exportFileName",
|
|
51
|
-
"description": "导出的文件名",
|
|
52
|
-
"default": "download.txt",
|
|
53
|
-
"type": "string"
|
|
54
|
-
}
|
|
55
|
-
],
|
|
56
|
-
"events": [],
|
|
57
|
-
"slots": [],
|
|
58
|
-
"methods": [],
|
|
59
|
-
"parts": [],
|
|
60
|
-
"description": "代码展示",
|
|
61
|
-
"category": "display-component"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "eo-pagination",
|
|
65
|
-
"properties": [
|
|
66
|
-
{
|
|
67
|
-
"name": "type",
|
|
68
|
-
"description": "",
|
|
69
|
-
"default": "\"page\"",
|
|
70
|
-
"type": "\"page\" | \"token\""
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"name": "total",
|
|
74
|
-
"description": "数据总数",
|
|
75
|
-
"default": "0",
|
|
76
|
-
"type": "number"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"name": "page",
|
|
80
|
-
"description": "当前页数",
|
|
81
|
-
"default": "1",
|
|
82
|
-
"type": "number"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"name": "pageSize",
|
|
86
|
-
"description": "每页条数",
|
|
87
|
-
"default": "20",
|
|
30
|
+
"name": "column",
|
|
31
|
+
"description": "列数",
|
|
32
|
+
"attribute": true,
|
|
88
33
|
"type": "number"
|
|
89
34
|
},
|
|
90
35
|
{
|
|
91
|
-
"name": "
|
|
92
|
-
"description": "
|
|
93
|
-
"default": "
|
|
94
|
-
"
|
|
95
|
-
"type": "number[]"
|
|
36
|
+
"name": "layout",
|
|
37
|
+
"description": "布局模式",
|
|
38
|
+
"default": "\"horizontal\"",
|
|
39
|
+
"type": "Layout"
|
|
96
40
|
},
|
|
97
41
|
{
|
|
98
|
-
"name": "
|
|
99
|
-
"description": "
|
|
100
|
-
"default": "
|
|
42
|
+
"name": "bordered",
|
|
43
|
+
"description": "是否展示边框",
|
|
44
|
+
"default": "false",
|
|
101
45
|
"type": "boolean"
|
|
102
46
|
},
|
|
103
47
|
{
|
|
104
|
-
"name": "
|
|
105
|
-
"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"name": "previousToken",
|
|
109
|
-
"type": "string"
|
|
110
|
-
}
|
|
111
|
-
],
|
|
112
|
-
"events": [
|
|
113
|
-
{
|
|
114
|
-
"name": "change",
|
|
115
|
-
"description": "页码及每页条数改变事件",
|
|
116
|
-
"detail": {
|
|
117
|
-
"type": "ChangeDetail"
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
],
|
|
121
|
-
"slots": [],
|
|
122
|
-
"methods": [],
|
|
123
|
-
"parts": [],
|
|
124
|
-
"description": "分页",
|
|
125
|
-
"category": "navigation"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"name": "eo-alert",
|
|
129
|
-
"alias": [
|
|
130
|
-
"presentational.general-alert"
|
|
131
|
-
],
|
|
132
|
-
"properties": [
|
|
133
|
-
{
|
|
134
|
-
"name": "type",
|
|
135
|
-
"description": "警告类型",
|
|
48
|
+
"name": "hideGroups",
|
|
49
|
+
"description": "隐藏的描述列表项",
|
|
136
50
|
"attribute": false,
|
|
137
|
-
"type": "
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"name": "hasTitle",
|
|
141
|
-
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
142
|
-
"type": "boolean"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"name": "showIcon",
|
|
146
|
-
"description": "是否显示提示图标",
|
|
147
|
-
"type": "boolean"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"name": "closable",
|
|
151
|
-
"description": "是否显示关闭按钮",
|
|
152
|
-
"type": "boolean"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"name": "localStorageKey",
|
|
156
|
-
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
157
|
-
"type": "string"
|
|
51
|
+
"type": "string | string[]"
|
|
158
52
|
},
|
|
159
53
|
{
|
|
160
|
-
"name": "
|
|
161
|
-
"description": "
|
|
162
|
-
"
|
|
54
|
+
"name": "dataSource",
|
|
55
|
+
"description": "数据源",
|
|
56
|
+
"attribute": false,
|
|
57
|
+
"type": "Record<string, unknown>"
|
|
163
58
|
},
|
|
164
59
|
{
|
|
165
|
-
"name": "
|
|
166
|
-
"
|
|
167
|
-
"
|
|
60
|
+
"name": "themeVariant",
|
|
61
|
+
"description": "主题变体",
|
|
62
|
+
"type": "\"default\" | \"elevo\""
|
|
168
63
|
}
|
|
169
64
|
],
|
|
170
65
|
"events": [],
|
|
171
|
-
"slots": [
|
|
172
|
-
{
|
|
173
|
-
"name": null,
|
|
174
|
-
"description": "内容区"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"name": "title",
|
|
178
|
-
"description": "标题"
|
|
179
|
-
}
|
|
180
|
-
],
|
|
66
|
+
"slots": [],
|
|
181
67
|
"methods": [],
|
|
182
68
|
"parts": [],
|
|
183
|
-
"description": "
|
|
184
|
-
"category": "
|
|
69
|
+
"description": "通用描述列表构件",
|
|
70
|
+
"category": "text"
|
|
185
71
|
},
|
|
186
72
|
{
|
|
187
73
|
"name": "eo-card-item",
|
|
@@ -317,8 +203,114 @@
|
|
|
317
203
|
],
|
|
318
204
|
"methods": [],
|
|
319
205
|
"parts": [],
|
|
320
|
-
"description": "信息类卡片 —— 通用卡片",
|
|
321
|
-
"category": "card-info"
|
|
206
|
+
"description": "信息类卡片 —— 通用卡片",
|
|
207
|
+
"category": "card-info"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "eo-divider",
|
|
211
|
+
"properties": [
|
|
212
|
+
{
|
|
213
|
+
"name": "orientation",
|
|
214
|
+
"description": "标题位置,在horizontal类型的分割线中使用",
|
|
215
|
+
"default": "center",
|
|
216
|
+
"attribute": false,
|
|
217
|
+
"type": "OrientationType"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "dashed",
|
|
221
|
+
"description": "是否虚线",
|
|
222
|
+
"default": "false",
|
|
223
|
+
"type": "boolean"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "type",
|
|
227
|
+
"description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
|
|
228
|
+
"default": "\"horizontal\"",
|
|
229
|
+
"type": "dividerType"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "proportion",
|
|
233
|
+
"description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
|
|
234
|
+
"attribute": false,
|
|
235
|
+
"type": "[number, number]"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "dividerStyle",
|
|
239
|
+
"description": "分割线自定义样式",
|
|
240
|
+
"attribute": false,
|
|
241
|
+
"type": "CSSProperties"
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
"events": [],
|
|
245
|
+
"slots": [],
|
|
246
|
+
"methods": [],
|
|
247
|
+
"parts": [],
|
|
248
|
+
"description": "分割线",
|
|
249
|
+
"category": "container-display"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "eo-pagination",
|
|
253
|
+
"properties": [
|
|
254
|
+
{
|
|
255
|
+
"name": "type",
|
|
256
|
+
"description": "",
|
|
257
|
+
"default": "\"page\"",
|
|
258
|
+
"type": "\"page\" | \"token\""
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "total",
|
|
262
|
+
"description": "数据总数",
|
|
263
|
+
"default": "0",
|
|
264
|
+
"type": "number"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "page",
|
|
268
|
+
"description": "当前页数",
|
|
269
|
+
"default": "1",
|
|
270
|
+
"type": "number"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "pageSize",
|
|
274
|
+
"description": "每页条数",
|
|
275
|
+
"default": "20",
|
|
276
|
+
"type": "number"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "pageSizeOptions",
|
|
280
|
+
"description": "指定每页可以显示多少条",
|
|
281
|
+
"default": "[10, 20, 50, 100]",
|
|
282
|
+
"attribute": false,
|
|
283
|
+
"type": "number[]"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"name": "showSizeChanger",
|
|
287
|
+
"description": "是否展示`pageSize`分页器",
|
|
288
|
+
"default": "true",
|
|
289
|
+
"type": "boolean"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "nextToken",
|
|
293
|
+
"type": "string"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "previousToken",
|
|
297
|
+
"type": "string"
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"events": [
|
|
301
|
+
{
|
|
302
|
+
"name": "change",
|
|
303
|
+
"description": "页码及每页条数改变事件",
|
|
304
|
+
"detail": {
|
|
305
|
+
"type": "ChangeDetail"
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"slots": [],
|
|
310
|
+
"methods": [],
|
|
311
|
+
"parts": [],
|
|
312
|
+
"description": "分页",
|
|
313
|
+
"category": "navigation"
|
|
322
314
|
},
|
|
323
315
|
{
|
|
324
316
|
"name": "eo-info-card-item",
|
|
@@ -518,68 +510,6 @@
|
|
|
518
510
|
"parts": [],
|
|
519
511
|
"description": "统计卡片"
|
|
520
512
|
},
|
|
521
|
-
{
|
|
522
|
-
"name": "eo-current-time",
|
|
523
|
-
"properties": [
|
|
524
|
-
{
|
|
525
|
-
"name": "format",
|
|
526
|
-
"description": "时间格式",
|
|
527
|
-
"default": "\"YYYY-MM-DD HH:mm:ss\"",
|
|
528
|
-
"type": "string"
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"name": "icon",
|
|
532
|
-
"description": "前置图标",
|
|
533
|
-
"attribute": false,
|
|
534
|
-
"type": "GeneralIconProps"
|
|
535
|
-
}
|
|
536
|
-
],
|
|
537
|
-
"events": [],
|
|
538
|
-
"slots": [],
|
|
539
|
-
"methods": [],
|
|
540
|
-
"parts": [],
|
|
541
|
-
"description": "构件 `eo-current-time`"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"name": "eo-carousel-text",
|
|
545
|
-
"properties": [
|
|
546
|
-
{
|
|
547
|
-
"name": "text",
|
|
548
|
-
"description": "展示内容",
|
|
549
|
-
"default": "\"\"",
|
|
550
|
-
"type": "string"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"name": "containerWidth",
|
|
554
|
-
"description": "容器宽度",
|
|
555
|
-
"default": "\"100%\"",
|
|
556
|
-
"type": "CSSProperties[\"width\"]"
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
"name": "fontSize",
|
|
560
|
-
"description": "字体大小",
|
|
561
|
-
"default": "\"var(--normal-font-size)\"",
|
|
562
|
-
"type": "CSSProperties[\"fontSize\"]"
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
"name": "fontColor",
|
|
566
|
-
"description": "字体颜色",
|
|
567
|
-
"default": "\"var(--text-color-default)\"",
|
|
568
|
-
"type": "CSSProperties[\"color\"]"
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"name": "speed",
|
|
572
|
-
"description": "移动速度,单位 px/s",
|
|
573
|
-
"default": "100",
|
|
574
|
-
"type": "number"
|
|
575
|
-
}
|
|
576
|
-
],
|
|
577
|
-
"events": [],
|
|
578
|
-
"slots": [],
|
|
579
|
-
"methods": [],
|
|
580
|
-
"parts": [],
|
|
581
|
-
"description": "构件 `eo-carousel-text`"
|
|
582
|
-
},
|
|
583
513
|
{
|
|
584
514
|
"name": "eo-loading-step",
|
|
585
515
|
"properties": [
|
|
@@ -645,112 +575,182 @@
|
|
|
645
575
|
"description": "加载步骤框"
|
|
646
576
|
},
|
|
647
577
|
{
|
|
648
|
-
"name": "eo-
|
|
649
|
-
"alias": [
|
|
650
|
-
"presentational.general-descriptions"
|
|
651
|
-
],
|
|
578
|
+
"name": "eo-current-time",
|
|
652
579
|
"properties": [
|
|
653
580
|
{
|
|
654
|
-
"name": "
|
|
655
|
-
"description": "
|
|
581
|
+
"name": "format",
|
|
582
|
+
"description": "时间格式",
|
|
583
|
+
"default": "\"YYYY-MM-DD HH:mm:ss\"",
|
|
656
584
|
"type": "string"
|
|
657
585
|
},
|
|
658
586
|
{
|
|
659
|
-
"name": "
|
|
660
|
-
"description": "
|
|
587
|
+
"name": "icon",
|
|
588
|
+
"description": "前置图标",
|
|
661
589
|
"attribute": false,
|
|
662
|
-
"type": "
|
|
590
|
+
"type": "GeneralIconProps"
|
|
591
|
+
}
|
|
592
|
+
],
|
|
593
|
+
"events": [],
|
|
594
|
+
"slots": [],
|
|
595
|
+
"methods": [],
|
|
596
|
+
"parts": [],
|
|
597
|
+
"description": "构件 `eo-current-time`"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"name": "eo-alert",
|
|
601
|
+
"alias": [
|
|
602
|
+
"presentational.general-alert"
|
|
603
|
+
],
|
|
604
|
+
"properties": [
|
|
605
|
+
{
|
|
606
|
+
"name": "type",
|
|
607
|
+
"description": "警告类型",
|
|
608
|
+
"attribute": false,
|
|
609
|
+
"type": "AlertType"
|
|
663
610
|
},
|
|
664
611
|
{
|
|
665
|
-
"name": "
|
|
666
|
-
"description": "
|
|
667
|
-
"default": "true",
|
|
612
|
+
"name": "hasTitle",
|
|
613
|
+
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
668
614
|
"type": "boolean"
|
|
669
615
|
},
|
|
670
616
|
{
|
|
671
|
-
"name": "
|
|
672
|
-
"description": "
|
|
673
|
-
"
|
|
674
|
-
"type": "number"
|
|
617
|
+
"name": "showIcon",
|
|
618
|
+
"description": "是否显示提示图标",
|
|
619
|
+
"type": "boolean"
|
|
675
620
|
},
|
|
676
621
|
{
|
|
677
|
-
"name": "
|
|
678
|
-
"description": "
|
|
679
|
-
"
|
|
680
|
-
"type": "Layout"
|
|
622
|
+
"name": "closable",
|
|
623
|
+
"description": "是否显示关闭按钮",
|
|
624
|
+
"type": "boolean"
|
|
681
625
|
},
|
|
682
626
|
{
|
|
683
|
-
"name": "
|
|
684
|
-
"description": "
|
|
685
|
-
"
|
|
627
|
+
"name": "localStorageKey",
|
|
628
|
+
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
629
|
+
"type": "string"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"name": "disableUrlNamespace",
|
|
633
|
+
"description": "关闭后仅以 `localStorageKey` 作为命名空间",
|
|
686
634
|
"type": "boolean"
|
|
687
635
|
},
|
|
688
636
|
{
|
|
689
|
-
"name": "
|
|
690
|
-
"
|
|
691
|
-
"
|
|
692
|
-
|
|
637
|
+
"name": "textContent",
|
|
638
|
+
"type": "string",
|
|
639
|
+
"description": "文本内容"
|
|
640
|
+
}
|
|
641
|
+
],
|
|
642
|
+
"events": [],
|
|
643
|
+
"slots": [
|
|
644
|
+
{
|
|
645
|
+
"name": null,
|
|
646
|
+
"description": "内容区"
|
|
693
647
|
},
|
|
694
648
|
{
|
|
695
|
-
"name": "
|
|
696
|
-
"description": "
|
|
697
|
-
|
|
698
|
-
|
|
649
|
+
"name": "title",
|
|
650
|
+
"description": "标题"
|
|
651
|
+
}
|
|
652
|
+
],
|
|
653
|
+
"methods": [],
|
|
654
|
+
"parts": [],
|
|
655
|
+
"description": "告警提示",
|
|
656
|
+
"category": "display-component"
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"name": "eo-carousel-text",
|
|
660
|
+
"properties": [
|
|
661
|
+
{
|
|
662
|
+
"name": "text",
|
|
663
|
+
"description": "展示内容",
|
|
664
|
+
"default": "\"\"",
|
|
665
|
+
"type": "string"
|
|
699
666
|
},
|
|
700
667
|
{
|
|
701
|
-
"name": "
|
|
702
|
-
"description": "
|
|
703
|
-
"
|
|
668
|
+
"name": "containerWidth",
|
|
669
|
+
"description": "容器宽度",
|
|
670
|
+
"default": "\"100%\"",
|
|
671
|
+
"type": "CSSProperties[\"width\"]"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "fontSize",
|
|
675
|
+
"description": "字体大小",
|
|
676
|
+
"default": "\"var(--normal-font-size)\"",
|
|
677
|
+
"type": "CSSProperties[\"fontSize\"]"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"name": "fontColor",
|
|
681
|
+
"description": "字体颜色",
|
|
682
|
+
"default": "\"var(--text-color-default)\"",
|
|
683
|
+
"type": "CSSProperties[\"color\"]"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"name": "speed",
|
|
687
|
+
"description": "移动速度,单位 px/s",
|
|
688
|
+
"default": "100",
|
|
689
|
+
"type": "number"
|
|
704
690
|
}
|
|
705
691
|
],
|
|
706
692
|
"events": [],
|
|
707
693
|
"slots": [],
|
|
708
694
|
"methods": [],
|
|
709
695
|
"parts": [],
|
|
710
|
-
"description": "
|
|
711
|
-
"category": "text"
|
|
696
|
+
"description": "构件 `eo-carousel-text`"
|
|
712
697
|
},
|
|
713
698
|
{
|
|
714
|
-
"name": "eo-
|
|
699
|
+
"name": "eo-code-display",
|
|
700
|
+
"alias": [
|
|
701
|
+
"presentational.code-display"
|
|
702
|
+
],
|
|
715
703
|
"properties": [
|
|
716
704
|
{
|
|
717
|
-
"name": "
|
|
718
|
-
"description": "
|
|
719
|
-
"default": "
|
|
720
|
-
"
|
|
721
|
-
"type": "OrientationType"
|
|
705
|
+
"name": "value",
|
|
706
|
+
"description": "代码内容",
|
|
707
|
+
"default": "\"\"",
|
|
708
|
+
"type": "string"
|
|
722
709
|
},
|
|
723
710
|
{
|
|
724
|
-
"name": "
|
|
725
|
-
"description": "
|
|
726
|
-
"
|
|
711
|
+
"name": "language",
|
|
712
|
+
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
713
|
+
"type": "string"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"name": "hideLineNumber",
|
|
717
|
+
"description": "是否隐藏行号",
|
|
727
718
|
"type": "boolean"
|
|
728
719
|
},
|
|
729
720
|
{
|
|
730
|
-
"name": "
|
|
731
|
-
"description": "
|
|
732
|
-
"
|
|
733
|
-
"type": "dividerType"
|
|
721
|
+
"name": "maxLines",
|
|
722
|
+
"description": "最大行数",
|
|
723
|
+
"type": "number"
|
|
734
724
|
},
|
|
735
725
|
{
|
|
736
|
-
"name": "
|
|
737
|
-
"description": "
|
|
738
|
-
"
|
|
739
|
-
"type": "[number, number]"
|
|
726
|
+
"name": "minLines",
|
|
727
|
+
"description": "最小行数",
|
|
728
|
+
"type": "number"
|
|
740
729
|
},
|
|
741
730
|
{
|
|
742
|
-
"name": "
|
|
743
|
-
"description": "
|
|
744
|
-
"
|
|
745
|
-
"type": "
|
|
731
|
+
"name": "showCopyButton",
|
|
732
|
+
"description": "是否显示复制按钮",
|
|
733
|
+
"default": "true",
|
|
734
|
+
"type": "boolean"
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"name": "showExportButton",
|
|
738
|
+
"description": "是否显示导出按钮",
|
|
739
|
+
"type": "boolean"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"name": "exportFileName",
|
|
743
|
+
"description": "导出的文件名",
|
|
744
|
+
"default": "download.txt",
|
|
745
|
+
"type": "string"
|
|
746
746
|
}
|
|
747
747
|
],
|
|
748
748
|
"events": [],
|
|
749
749
|
"slots": [],
|
|
750
750
|
"methods": [],
|
|
751
751
|
"parts": [],
|
|
752
|
-
"description": "
|
|
753
|
-
"category": "
|
|
752
|
+
"description": "代码展示",
|
|
753
|
+
"category": "display-component"
|
|
754
754
|
}
|
|
755
755
|
],
|
|
756
756
|
"providers": []
|