@next-bricks/presentational 1.15.1 → 1.17.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 +27 -27
- package/dist/chunks/7082.3fe11c4a.js +2 -0
- package/dist/chunks/7082.3fe11c4a.js.map +1 -0
- package/dist/chunks/eo-card-item.b83e2601.js +3 -0
- package/dist/chunks/eo-card-item.b83e2601.js.map +1 -0
- package/dist/chunks/{main.5f4e873f.js → main.06350a7d.js} +2 -2
- package/dist/chunks/{main.5f4e873f.js.map → main.06350a7d.js.map} +1 -1
- package/dist/examples.json +12 -12
- package/dist/{index.104b9c0b.js → index.3213eabc.js} +2 -2
- package/dist/{index.104b9c0b.js.map → index.3213eabc.js.map} +1 -1
- package/dist/manifest.json +249 -222
- package/dist/types.json +456 -413
- package/dist-types/card-item/index.d.ts +11 -0
- package/docs/eo-card-item.md +61 -28
- package/package.json +2 -2
- package/dist/chunks/7082.5b5601f8.js +0 -2
- package/dist/chunks/7082.5b5601f8.js.map +0 -1
- package/dist/chunks/eo-card-item.c8ae419d.js +0 -3
- package/dist/chunks/eo-card-item.c8ae419d.js.map +0 -1
- /package/dist/chunks/{eo-card-item.c8ae419d.js.LICENSE.txt → eo-card-item.b83e2601.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -69,122 +69,6 @@
|
|
|
69
69
|
"description": "通用描述列表构件",
|
|
70
70
|
"category": "text"
|
|
71
71
|
},
|
|
72
|
-
{
|
|
73
|
-
"name": "eo-alert",
|
|
74
|
-
"alias": [
|
|
75
|
-
"presentational.general-alert"
|
|
76
|
-
],
|
|
77
|
-
"properties": [
|
|
78
|
-
{
|
|
79
|
-
"name": "type",
|
|
80
|
-
"description": "警告类型",
|
|
81
|
-
"attribute": false,
|
|
82
|
-
"type": "AlertType"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"name": "hasTitle",
|
|
86
|
-
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
87
|
-
"type": "boolean"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"name": "showIcon",
|
|
91
|
-
"description": "是否显示提示图标",
|
|
92
|
-
"type": "boolean"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "closable",
|
|
96
|
-
"description": "是否显示关闭按钮",
|
|
97
|
-
"type": "boolean"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"name": "localStorageKey",
|
|
101
|
-
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
102
|
-
"type": "string"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"name": "disableUrlNamespace",
|
|
106
|
-
"description": "关闭后仅以 `localStorageKey` 作为命名空间",
|
|
107
|
-
"type": "boolean"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"name": "textContent",
|
|
111
|
-
"type": "string",
|
|
112
|
-
"description": "文本内容"
|
|
113
|
-
}
|
|
114
|
-
],
|
|
115
|
-
"events": [],
|
|
116
|
-
"slots": [
|
|
117
|
-
{
|
|
118
|
-
"name": null,
|
|
119
|
-
"description": "内容区"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"name": "title",
|
|
123
|
-
"description": "标题"
|
|
124
|
-
}
|
|
125
|
-
],
|
|
126
|
-
"methods": [],
|
|
127
|
-
"parts": [],
|
|
128
|
-
"description": "告警提示",
|
|
129
|
-
"category": "display-component"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"name": "eo-code-display",
|
|
133
|
-
"alias": [
|
|
134
|
-
"presentational.code-display"
|
|
135
|
-
],
|
|
136
|
-
"properties": [
|
|
137
|
-
{
|
|
138
|
-
"name": "value",
|
|
139
|
-
"description": "代码内容",
|
|
140
|
-
"default": "\"\"",
|
|
141
|
-
"type": "string"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"name": "language",
|
|
145
|
-
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
146
|
-
"type": "string"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"name": "hideLineNumber",
|
|
150
|
-
"description": "是否隐藏行号",
|
|
151
|
-
"type": "boolean"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"name": "maxLines",
|
|
155
|
-
"description": "最大行数",
|
|
156
|
-
"type": "number"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"name": "minLines",
|
|
160
|
-
"description": "最小行数",
|
|
161
|
-
"type": "number"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"name": "showCopyButton",
|
|
165
|
-
"description": "是否显示复制按钮",
|
|
166
|
-
"default": "true",
|
|
167
|
-
"type": "boolean"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"name": "showExportButton",
|
|
171
|
-
"description": "是否显示导出按钮",
|
|
172
|
-
"type": "boolean"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"name": "exportFileName",
|
|
176
|
-
"description": "导出的文件名",
|
|
177
|
-
"default": "download.txt",
|
|
178
|
-
"type": "string"
|
|
179
|
-
}
|
|
180
|
-
],
|
|
181
|
-
"events": [],
|
|
182
|
-
"slots": [],
|
|
183
|
-
"methods": [],
|
|
184
|
-
"parts": [],
|
|
185
|
-
"description": "代码展示",
|
|
186
|
-
"category": "display-component"
|
|
187
|
-
},
|
|
188
72
|
{
|
|
189
73
|
"name": "eo-pagination",
|
|
190
74
|
"properties": [
|
|
@@ -249,48 +133,6 @@
|
|
|
249
133
|
"description": "分页",
|
|
250
134
|
"category": "navigation"
|
|
251
135
|
},
|
|
252
|
-
{
|
|
253
|
-
"name": "eo-divider",
|
|
254
|
-
"properties": [
|
|
255
|
-
{
|
|
256
|
-
"name": "orientation",
|
|
257
|
-
"description": "标题位置,在horizontal类型的分割线中使用",
|
|
258
|
-
"default": "center",
|
|
259
|
-
"attribute": false,
|
|
260
|
-
"type": "OrientationType"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"name": "dashed",
|
|
264
|
-
"description": "是否虚线",
|
|
265
|
-
"default": "false",
|
|
266
|
-
"type": "boolean"
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"name": "type",
|
|
270
|
-
"description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
|
|
271
|
-
"default": "\"horizontal\"",
|
|
272
|
-
"type": "dividerType"
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"name": "proportion",
|
|
276
|
-
"description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
|
|
277
|
-
"attribute": false,
|
|
278
|
-
"type": "[number, number]"
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
"name": "dividerStyle",
|
|
282
|
-
"description": "分割线自定义样式",
|
|
283
|
-
"attribute": false,
|
|
284
|
-
"type": "CSSProperties"
|
|
285
|
-
}
|
|
286
|
-
],
|
|
287
|
-
"events": [],
|
|
288
|
-
"slots": [],
|
|
289
|
-
"methods": [],
|
|
290
|
-
"parts": [],
|
|
291
|
-
"description": "分割线",
|
|
292
|
-
"category": "container-display"
|
|
293
|
-
},
|
|
294
136
|
{
|
|
295
137
|
"name": "eo-card-item",
|
|
296
138
|
"properties": [
|
|
@@ -391,20 +233,43 @@
|
|
|
391
233
|
"attribute": false,
|
|
392
234
|
"type": "TagConfig"
|
|
393
235
|
},
|
|
236
|
+
{
|
|
237
|
+
"name": "borderColor",
|
|
238
|
+
"description": "卡片边框颜色",
|
|
239
|
+
"type": "string"
|
|
240
|
+
},
|
|
394
241
|
{
|
|
395
242
|
"name": "cardStyle",
|
|
396
243
|
"description": "卡片样式",
|
|
397
244
|
"attribute": false,
|
|
398
245
|
"type": "React.CSSProperties"
|
|
399
246
|
},
|
|
247
|
+
{
|
|
248
|
+
"name": "cardBodyStyle",
|
|
249
|
+
"description": "卡片内容区域样式",
|
|
250
|
+
"attribute": false,
|
|
251
|
+
"type": "React.CSSProperties"
|
|
252
|
+
},
|
|
400
253
|
{
|
|
401
254
|
"name": "cardTitleStyle",
|
|
402
255
|
"description": "卡片标题样式",
|
|
403
256
|
"attribute": false,
|
|
404
257
|
"type": "React.CSSProperties"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "textContent",
|
|
261
|
+
"type": "string",
|
|
262
|
+
"description": "文本内容"
|
|
405
263
|
}
|
|
406
264
|
],
|
|
407
265
|
"events": [
|
|
266
|
+
{
|
|
267
|
+
"name": "action.click",
|
|
268
|
+
"description": "操作按钮点击事件",
|
|
269
|
+
"detail": {
|
|
270
|
+
"type": "SimpleActionType"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
408
273
|
{
|
|
409
274
|
"name": "tag.click",
|
|
410
275
|
"description": "徽标点击事件",
|
|
@@ -414,6 +279,10 @@
|
|
|
414
279
|
}
|
|
415
280
|
],
|
|
416
281
|
"slots": [
|
|
282
|
+
{
|
|
283
|
+
"name": null,
|
|
284
|
+
"description": "内容区域,通常放置卡片自定义内容"
|
|
285
|
+
},
|
|
417
286
|
{
|
|
418
287
|
"name": "expanded-area-1",
|
|
419
288
|
"description": "扩展区域 1,通常放置标签信息"
|
|
@@ -428,6 +297,107 @@
|
|
|
428
297
|
"description": "信息类卡片 —— 通用卡片",
|
|
429
298
|
"category": "card-info"
|
|
430
299
|
},
|
|
300
|
+
{
|
|
301
|
+
"name": "eo-alert",
|
|
302
|
+
"alias": [
|
|
303
|
+
"presentational.general-alert"
|
|
304
|
+
],
|
|
305
|
+
"properties": [
|
|
306
|
+
{
|
|
307
|
+
"name": "type",
|
|
308
|
+
"description": "警告类型",
|
|
309
|
+
"attribute": false,
|
|
310
|
+
"type": "AlertType"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"name": "hasTitle",
|
|
314
|
+
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
315
|
+
"type": "boolean"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "showIcon",
|
|
319
|
+
"description": "是否显示提示图标",
|
|
320
|
+
"type": "boolean"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "closable",
|
|
324
|
+
"description": "是否显示关闭按钮",
|
|
325
|
+
"type": "boolean"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "localStorageKey",
|
|
329
|
+
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
330
|
+
"type": "string"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "disableUrlNamespace",
|
|
334
|
+
"description": "关闭后仅以 `localStorageKey` 作为命名空间",
|
|
335
|
+
"type": "boolean"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "textContent",
|
|
339
|
+
"type": "string",
|
|
340
|
+
"description": "文本内容"
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
"events": [],
|
|
344
|
+
"slots": [
|
|
345
|
+
{
|
|
346
|
+
"name": null,
|
|
347
|
+
"description": "内容区"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "title",
|
|
351
|
+
"description": "标题"
|
|
352
|
+
}
|
|
353
|
+
],
|
|
354
|
+
"methods": [],
|
|
355
|
+
"parts": [],
|
|
356
|
+
"description": "告警提示",
|
|
357
|
+
"category": "display-component"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"name": "eo-divider",
|
|
361
|
+
"properties": [
|
|
362
|
+
{
|
|
363
|
+
"name": "orientation",
|
|
364
|
+
"description": "标题位置,在horizontal类型的分割线中使用",
|
|
365
|
+
"default": "center",
|
|
366
|
+
"attribute": false,
|
|
367
|
+
"type": "OrientationType"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "dashed",
|
|
371
|
+
"description": "是否虚线",
|
|
372
|
+
"default": "false",
|
|
373
|
+
"type": "boolean"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"name": "type",
|
|
377
|
+
"description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
|
|
378
|
+
"default": "\"horizontal\"",
|
|
379
|
+
"type": "dividerType"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"name": "proportion",
|
|
383
|
+
"description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
|
|
384
|
+
"attribute": false,
|
|
385
|
+
"type": "[number, number]"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "dividerStyle",
|
|
389
|
+
"description": "分割线自定义样式",
|
|
390
|
+
"attribute": false,
|
|
391
|
+
"type": "CSSProperties"
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"events": [],
|
|
395
|
+
"slots": [],
|
|
396
|
+
"methods": [],
|
|
397
|
+
"parts": [],
|
|
398
|
+
"description": "分割线",
|
|
399
|
+
"category": "container-display"
|
|
400
|
+
},
|
|
431
401
|
{
|
|
432
402
|
"name": "eo-info-card-item",
|
|
433
403
|
"properties": [
|
|
@@ -536,70 +506,6 @@
|
|
|
536
506
|
"parts": [],
|
|
537
507
|
"description": "人性化时间展示,可显示完整时间、相对时间、未来时间、耗时等,支持自定义输入值格式和输出格式。"
|
|
538
508
|
},
|
|
539
|
-
{
|
|
540
|
-
"name": "eo-loading-step",
|
|
541
|
-
"properties": [
|
|
542
|
-
{
|
|
543
|
-
"name": "visible",
|
|
544
|
-
"description": "是否可见",
|
|
545
|
-
"type": "boolean"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"name": "width",
|
|
549
|
-
"description": "宽度",
|
|
550
|
-
"type": "string"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"name": "stepTitle",
|
|
554
|
-
"description": "步骤标题",
|
|
555
|
-
"type": "string"
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
"name": "stepList",
|
|
559
|
-
"description": "步骤列表",
|
|
560
|
-
"attribute": false,
|
|
561
|
-
"type": "StepItem[]"
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
"name": "curStep",
|
|
565
|
-
"description": "当前步骤",
|
|
566
|
-
"type": "string"
|
|
567
|
-
}
|
|
568
|
-
],
|
|
569
|
-
"events": [
|
|
570
|
-
{
|
|
571
|
-
"name": "open",
|
|
572
|
-
"description": "打开事件",
|
|
573
|
-
"detail": {
|
|
574
|
-
"type": "void"
|
|
575
|
-
}
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
"name": "close",
|
|
579
|
-
"description": "关闭事件",
|
|
580
|
-
"detail": {
|
|
581
|
-
"type": "void"
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
],
|
|
585
|
-
"slots": [],
|
|
586
|
-
"methods": [
|
|
587
|
-
{
|
|
588
|
-
"name": "open",
|
|
589
|
-
"params": [],
|
|
590
|
-
"description": "打开",
|
|
591
|
-
"returns": {}
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
"name": "close",
|
|
595
|
-
"params": [],
|
|
596
|
-
"description": "关闭",
|
|
597
|
-
"returns": {}
|
|
598
|
-
}
|
|
599
|
-
],
|
|
600
|
-
"parts": [],
|
|
601
|
-
"description": "加载步骤框"
|
|
602
|
-
},
|
|
603
509
|
{
|
|
604
510
|
"name": "eo-statistics-card",
|
|
605
511
|
"properties": [
|
|
@@ -712,6 +618,127 @@
|
|
|
712
618
|
"parts": [],
|
|
713
619
|
"description": "构件 `eo-current-time`"
|
|
714
620
|
},
|
|
621
|
+
{
|
|
622
|
+
"name": "eo-loading-step",
|
|
623
|
+
"properties": [
|
|
624
|
+
{
|
|
625
|
+
"name": "visible",
|
|
626
|
+
"description": "是否可见",
|
|
627
|
+
"type": "boolean"
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"name": "width",
|
|
631
|
+
"description": "宽度",
|
|
632
|
+
"type": "string"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"name": "stepTitle",
|
|
636
|
+
"description": "步骤标题",
|
|
637
|
+
"type": "string"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"name": "stepList",
|
|
641
|
+
"description": "步骤列表",
|
|
642
|
+
"attribute": false,
|
|
643
|
+
"type": "StepItem[]"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"name": "curStep",
|
|
647
|
+
"description": "当前步骤",
|
|
648
|
+
"type": "string"
|
|
649
|
+
}
|
|
650
|
+
],
|
|
651
|
+
"events": [
|
|
652
|
+
{
|
|
653
|
+
"name": "open",
|
|
654
|
+
"description": "打开事件",
|
|
655
|
+
"detail": {
|
|
656
|
+
"type": "void"
|
|
657
|
+
}
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"name": "close",
|
|
661
|
+
"description": "关闭事件",
|
|
662
|
+
"detail": {
|
|
663
|
+
"type": "void"
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
],
|
|
667
|
+
"slots": [],
|
|
668
|
+
"methods": [
|
|
669
|
+
{
|
|
670
|
+
"name": "open",
|
|
671
|
+
"params": [],
|
|
672
|
+
"description": "打开",
|
|
673
|
+
"returns": {}
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"name": "close",
|
|
677
|
+
"params": [],
|
|
678
|
+
"description": "关闭",
|
|
679
|
+
"returns": {}
|
|
680
|
+
}
|
|
681
|
+
],
|
|
682
|
+
"parts": [],
|
|
683
|
+
"description": "加载步骤框"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"name": "eo-code-display",
|
|
687
|
+
"alias": [
|
|
688
|
+
"presentational.code-display"
|
|
689
|
+
],
|
|
690
|
+
"properties": [
|
|
691
|
+
{
|
|
692
|
+
"name": "value",
|
|
693
|
+
"description": "代码内容",
|
|
694
|
+
"default": "\"\"",
|
|
695
|
+
"type": "string"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"name": "language",
|
|
699
|
+
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
700
|
+
"type": "string"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"name": "hideLineNumber",
|
|
704
|
+
"description": "是否隐藏行号",
|
|
705
|
+
"type": "boolean"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"name": "maxLines",
|
|
709
|
+
"description": "最大行数",
|
|
710
|
+
"type": "number"
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"name": "minLines",
|
|
714
|
+
"description": "最小行数",
|
|
715
|
+
"type": "number"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"name": "showCopyButton",
|
|
719
|
+
"description": "是否显示复制按钮",
|
|
720
|
+
"default": "true",
|
|
721
|
+
"type": "boolean"
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"name": "showExportButton",
|
|
725
|
+
"description": "是否显示导出按钮",
|
|
726
|
+
"type": "boolean"
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"name": "exportFileName",
|
|
730
|
+
"description": "导出的文件名",
|
|
731
|
+
"default": "download.txt",
|
|
732
|
+
"type": "string"
|
|
733
|
+
}
|
|
734
|
+
],
|
|
735
|
+
"events": [],
|
|
736
|
+
"slots": [],
|
|
737
|
+
"methods": [],
|
|
738
|
+
"parts": [],
|
|
739
|
+
"description": "代码展示",
|
|
740
|
+
"category": "display-component"
|
|
741
|
+
},
|
|
715
742
|
{
|
|
716
743
|
"name": "eo-carousel-text",
|
|
717
744
|
"properties": [
|