@next-bricks/presentational 1.14.2 → 1.14.3
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 +28 -28
- package/dist/chunks/7082.8e4910e8.js +2 -0
- package/dist/chunks/7082.8e4910e8.js.map +1 -0
- package/dist/chunks/eo-descriptions.972f8d12.js +3 -0
- package/dist/chunks/eo-descriptions.972f8d12.js.map +1 -0
- package/dist/chunks/{main.968254e5.js → main.38c43416.js} +2 -2
- package/dist/chunks/{main.968254e5.js.map → main.38c43416.js.map} +1 -1
- package/dist/examples.json +13 -13
- package/dist/{index.e491f19d.js → index.c08d5ad1.js} +2 -2
- package/dist/{index.e491f19d.js.map → index.c08d5ad1.js.map} +1 -1
- package/dist/manifest.json +232 -232
- package/dist/types.json +376 -376
- package/package.json +2 -2
- package/dist/chunks/7082.4443a6cf.js +0 -2
- package/dist/chunks/7082.4443a6cf.js.map +0 -1
- package/dist/chunks/eo-descriptions.60087249.js +0 -3
- package/dist/chunks/eo-descriptions.60087249.js.map +0 -1
- /package/dist/chunks/{eo-descriptions.60087249.js.LICENSE.txt → eo-descriptions.972f8d12.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -69,6 +69,129 @@
|
|
|
69
69
|
"description": "通用描述列表构件",
|
|
70
70
|
"category": "text"
|
|
71
71
|
},
|
|
72
|
+
{
|
|
73
|
+
"name": "eo-pagination",
|
|
74
|
+
"properties": [
|
|
75
|
+
{
|
|
76
|
+
"name": "type",
|
|
77
|
+
"description": "",
|
|
78
|
+
"default": "\"page\"",
|
|
79
|
+
"type": "\"page\" | \"token\""
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "total",
|
|
83
|
+
"description": "数据总数",
|
|
84
|
+
"default": "0",
|
|
85
|
+
"type": "number"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "page",
|
|
89
|
+
"description": "当前页数",
|
|
90
|
+
"default": "1",
|
|
91
|
+
"type": "number"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "pageSize",
|
|
95
|
+
"description": "每页条数",
|
|
96
|
+
"default": "20",
|
|
97
|
+
"type": "number"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "pageSizeOptions",
|
|
101
|
+
"description": "指定每页可以显示多少条",
|
|
102
|
+
"default": "[10, 20, 50, 100]",
|
|
103
|
+
"attribute": false,
|
|
104
|
+
"type": "number[]"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "showSizeChanger",
|
|
108
|
+
"description": "是否展示`pageSize`分页器",
|
|
109
|
+
"default": "true",
|
|
110
|
+
"type": "boolean"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "nextToken",
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "previousToken",
|
|
118
|
+
"type": "string"
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"events": [
|
|
122
|
+
{
|
|
123
|
+
"name": "change",
|
|
124
|
+
"description": "页码及每页条数改变事件",
|
|
125
|
+
"detail": {
|
|
126
|
+
"type": "ChangeDetail"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"slots": [],
|
|
131
|
+
"methods": [],
|
|
132
|
+
"parts": [],
|
|
133
|
+
"description": "分页",
|
|
134
|
+
"category": "navigation"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "eo-alert",
|
|
138
|
+
"alias": [
|
|
139
|
+
"presentational.general-alert"
|
|
140
|
+
],
|
|
141
|
+
"properties": [
|
|
142
|
+
{
|
|
143
|
+
"name": "type",
|
|
144
|
+
"description": "警告类型",
|
|
145
|
+
"attribute": false,
|
|
146
|
+
"type": "AlertType"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "hasTitle",
|
|
150
|
+
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
151
|
+
"type": "boolean"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "showIcon",
|
|
155
|
+
"description": "是否显示提示图标",
|
|
156
|
+
"type": "boolean"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "closable",
|
|
160
|
+
"description": "是否显示关闭按钮",
|
|
161
|
+
"type": "boolean"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "localStorageKey",
|
|
165
|
+
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
166
|
+
"type": "string"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "disableUrlNamespace",
|
|
170
|
+
"description": "关闭后仅以 `localStorageKey` 作为命名空间",
|
|
171
|
+
"type": "boolean"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "textContent",
|
|
175
|
+
"type": "string",
|
|
176
|
+
"description": "文本内容"
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"events": [],
|
|
180
|
+
"slots": [
|
|
181
|
+
{
|
|
182
|
+
"name": null,
|
|
183
|
+
"description": "内容区"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "title",
|
|
187
|
+
"description": "标题"
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"methods": [],
|
|
191
|
+
"parts": [],
|
|
192
|
+
"description": "告警提示",
|
|
193
|
+
"category": "display-component"
|
|
194
|
+
},
|
|
72
195
|
{
|
|
73
196
|
"name": "eo-card-item",
|
|
74
197
|
"properties": [
|
|
@@ -249,111 +372,61 @@
|
|
|
249
372
|
"category": "container-display"
|
|
250
373
|
},
|
|
251
374
|
{
|
|
252
|
-
"name": "eo-
|
|
375
|
+
"name": "eo-code-display",
|
|
376
|
+
"alias": [
|
|
377
|
+
"presentational.code-display"
|
|
378
|
+
],
|
|
253
379
|
"properties": [
|
|
254
380
|
{
|
|
255
|
-
"name": "
|
|
256
|
-
"description": "",
|
|
257
|
-
"default": "\"
|
|
258
|
-
"type": "
|
|
381
|
+
"name": "value",
|
|
382
|
+
"description": "代码内容",
|
|
383
|
+
"default": "\"\"",
|
|
384
|
+
"type": "string"
|
|
259
385
|
},
|
|
260
386
|
{
|
|
261
|
-
"name": "
|
|
262
|
-
"description": "
|
|
263
|
-
"
|
|
264
|
-
"type": "number"
|
|
387
|
+
"name": "language",
|
|
388
|
+
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
389
|
+
"type": "string"
|
|
265
390
|
},
|
|
266
391
|
{
|
|
267
|
-
"name": "
|
|
268
|
-
"description": "
|
|
269
|
-
"
|
|
270
|
-
"type": "number"
|
|
392
|
+
"name": "hideLineNumber",
|
|
393
|
+
"description": "是否隐藏行号",
|
|
394
|
+
"type": "boolean"
|
|
271
395
|
},
|
|
272
396
|
{
|
|
273
|
-
"name": "
|
|
274
|
-
"description": "
|
|
275
|
-
"default": "20",
|
|
397
|
+
"name": "maxLines",
|
|
398
|
+
"description": "最大行数",
|
|
276
399
|
"type": "number"
|
|
277
400
|
},
|
|
278
401
|
{
|
|
279
|
-
"name": "
|
|
280
|
-
"description": "
|
|
281
|
-
"
|
|
282
|
-
"attribute": false,
|
|
283
|
-
"type": "number[]"
|
|
402
|
+
"name": "minLines",
|
|
403
|
+
"description": "最小行数",
|
|
404
|
+
"type": "number"
|
|
284
405
|
},
|
|
285
406
|
{
|
|
286
|
-
"name": "
|
|
287
|
-
"description": "
|
|
407
|
+
"name": "showCopyButton",
|
|
408
|
+
"description": "是否显示复制按钮",
|
|
288
409
|
"default": "true",
|
|
289
410
|
"type": "boolean"
|
|
290
411
|
},
|
|
291
412
|
{
|
|
292
|
-
"name": "
|
|
293
|
-
"
|
|
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"
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"name": "eo-info-card-item",
|
|
317
|
-
"properties": [
|
|
318
|
-
{
|
|
319
|
-
"name": "cardTitle",
|
|
320
|
-
"description": "title",
|
|
321
|
-
"type": "string"
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"name": "description",
|
|
325
|
-
"description": "description",
|
|
326
|
-
"type": "string"
|
|
413
|
+
"name": "showExportButton",
|
|
414
|
+
"description": "是否显示导出按钮",
|
|
415
|
+
"type": "boolean"
|
|
327
416
|
},
|
|
328
417
|
{
|
|
329
|
-
"name": "
|
|
330
|
-
"description": "
|
|
418
|
+
"name": "exportFileName",
|
|
419
|
+
"description": "导出的文件名",
|
|
420
|
+
"default": "download.txt",
|
|
331
421
|
"type": "string"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"name": "cardIcon",
|
|
335
|
-
"description": "图标",
|
|
336
|
-
"attribute": false,
|
|
337
|
-
"type": "IconAvatar"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
"name": "detailList",
|
|
341
|
-
"description": "详细列表",
|
|
342
|
-
"attribute": false,
|
|
343
|
-
"type": "InfoCardDetail[]"
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
"name": "target",
|
|
347
|
-
"description": "链接跳转目标",
|
|
348
|
-
"type": "LinkProps[\"target\"]"
|
|
349
422
|
}
|
|
350
423
|
],
|
|
351
424
|
"events": [],
|
|
352
425
|
"slots": [],
|
|
353
426
|
"methods": [],
|
|
354
427
|
"parts": [],
|
|
355
|
-
"description": "
|
|
356
|
-
"category": "
|
|
428
|
+
"description": "代码展示",
|
|
429
|
+
"category": "display-component"
|
|
357
430
|
},
|
|
358
431
|
{
|
|
359
432
|
"name": "eo-humanize-time",
|
|
@@ -510,70 +583,6 @@
|
|
|
510
583
|
"parts": [],
|
|
511
584
|
"description": "统计卡片"
|
|
512
585
|
},
|
|
513
|
-
{
|
|
514
|
-
"name": "eo-loading-step",
|
|
515
|
-
"properties": [
|
|
516
|
-
{
|
|
517
|
-
"name": "visible",
|
|
518
|
-
"description": "是否可见",
|
|
519
|
-
"type": "boolean"
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
"name": "width",
|
|
523
|
-
"description": "宽度",
|
|
524
|
-
"type": "string"
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
"name": "stepTitle",
|
|
528
|
-
"description": "步骤标题",
|
|
529
|
-
"type": "string"
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
"name": "stepList",
|
|
533
|
-
"description": "步骤列表",
|
|
534
|
-
"attribute": false,
|
|
535
|
-
"type": "StepItem[]"
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
"name": "curStep",
|
|
539
|
-
"description": "当前步骤",
|
|
540
|
-
"type": "string"
|
|
541
|
-
}
|
|
542
|
-
],
|
|
543
|
-
"events": [
|
|
544
|
-
{
|
|
545
|
-
"name": "open",
|
|
546
|
-
"description": "打开事件",
|
|
547
|
-
"detail": {
|
|
548
|
-
"type": "void"
|
|
549
|
-
}
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
"name": "close",
|
|
553
|
-
"description": "关闭事件",
|
|
554
|
-
"detail": {
|
|
555
|
-
"type": "void"
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
],
|
|
559
|
-
"slots": [],
|
|
560
|
-
"methods": [
|
|
561
|
-
{
|
|
562
|
-
"name": "open",
|
|
563
|
-
"params": [],
|
|
564
|
-
"description": "打开",
|
|
565
|
-
"returns": {}
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"name": "close",
|
|
569
|
-
"params": [],
|
|
570
|
-
"description": "关闭",
|
|
571
|
-
"returns": {}
|
|
572
|
-
}
|
|
573
|
-
],
|
|
574
|
-
"parts": [],
|
|
575
|
-
"description": "加载步骤框"
|
|
576
|
-
},
|
|
577
586
|
{
|
|
578
587
|
"name": "eo-current-time",
|
|
579
588
|
"properties": [
|
|
@@ -596,65 +605,6 @@
|
|
|
596
605
|
"parts": [],
|
|
597
606
|
"description": "构件 `eo-current-time`"
|
|
598
607
|
},
|
|
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"
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"name": "hasTitle",
|
|
613
|
-
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
614
|
-
"type": "boolean"
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
"name": "showIcon",
|
|
618
|
-
"description": "是否显示提示图标",
|
|
619
|
-
"type": "boolean"
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
"name": "closable",
|
|
623
|
-
"description": "是否显示关闭按钮",
|
|
624
|
-
"type": "boolean"
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
"name": "localStorageKey",
|
|
628
|
-
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
629
|
-
"type": "string"
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
"name": "disableUrlNamespace",
|
|
633
|
-
"description": "关闭后仅以 `localStorageKey` 作为命名空间",
|
|
634
|
-
"type": "boolean"
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
"name": "textContent",
|
|
638
|
-
"type": "string",
|
|
639
|
-
"description": "文本内容"
|
|
640
|
-
}
|
|
641
|
-
],
|
|
642
|
-
"events": [],
|
|
643
|
-
"slots": [
|
|
644
|
-
{
|
|
645
|
-
"name": null,
|
|
646
|
-
"description": "内容区"
|
|
647
|
-
},
|
|
648
|
-
{
|
|
649
|
-
"name": "title",
|
|
650
|
-
"description": "标题"
|
|
651
|
-
}
|
|
652
|
-
],
|
|
653
|
-
"methods": [],
|
|
654
|
-
"parts": [],
|
|
655
|
-
"description": "告警提示",
|
|
656
|
-
"category": "display-component"
|
|
657
|
-
},
|
|
658
608
|
{
|
|
659
609
|
"name": "eo-carousel-text",
|
|
660
610
|
"properties": [
|
|
@@ -696,61 +646,111 @@
|
|
|
696
646
|
"description": "构件 `eo-carousel-text`"
|
|
697
647
|
},
|
|
698
648
|
{
|
|
699
|
-
"name": "eo-
|
|
700
|
-
"alias": [
|
|
701
|
-
"presentational.code-display"
|
|
702
|
-
],
|
|
649
|
+
"name": "eo-loading-step",
|
|
703
650
|
"properties": [
|
|
704
651
|
{
|
|
705
|
-
"name": "
|
|
706
|
-
"description": "
|
|
707
|
-
"
|
|
652
|
+
"name": "visible",
|
|
653
|
+
"description": "是否可见",
|
|
654
|
+
"type": "boolean"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"name": "width",
|
|
658
|
+
"description": "宽度",
|
|
708
659
|
"type": "string"
|
|
709
660
|
},
|
|
710
661
|
{
|
|
711
|
-
"name": "
|
|
712
|
-
"description": "
|
|
662
|
+
"name": "stepTitle",
|
|
663
|
+
"description": "步骤标题",
|
|
713
664
|
"type": "string"
|
|
714
665
|
},
|
|
715
666
|
{
|
|
716
|
-
"name": "
|
|
717
|
-
"description": "
|
|
718
|
-
"
|
|
667
|
+
"name": "stepList",
|
|
668
|
+
"description": "步骤列表",
|
|
669
|
+
"attribute": false,
|
|
670
|
+
"type": "StepItem[]"
|
|
719
671
|
},
|
|
720
672
|
{
|
|
721
|
-
"name": "
|
|
722
|
-
"description": "
|
|
723
|
-
"type": "
|
|
673
|
+
"name": "curStep",
|
|
674
|
+
"description": "当前步骤",
|
|
675
|
+
"type": "string"
|
|
676
|
+
}
|
|
677
|
+
],
|
|
678
|
+
"events": [
|
|
679
|
+
{
|
|
680
|
+
"name": "open",
|
|
681
|
+
"description": "打开事件",
|
|
682
|
+
"detail": {
|
|
683
|
+
"type": "void"
|
|
684
|
+
}
|
|
724
685
|
},
|
|
725
686
|
{
|
|
726
|
-
"name": "
|
|
727
|
-
"description": "
|
|
728
|
-
"
|
|
687
|
+
"name": "close",
|
|
688
|
+
"description": "关闭事件",
|
|
689
|
+
"detail": {
|
|
690
|
+
"type": "void"
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
],
|
|
694
|
+
"slots": [],
|
|
695
|
+
"methods": [
|
|
696
|
+
{
|
|
697
|
+
"name": "open",
|
|
698
|
+
"params": [],
|
|
699
|
+
"description": "打开",
|
|
700
|
+
"returns": {}
|
|
729
701
|
},
|
|
730
702
|
{
|
|
731
|
-
"name": "
|
|
732
|
-
"
|
|
733
|
-
"
|
|
734
|
-
"
|
|
703
|
+
"name": "close",
|
|
704
|
+
"params": [],
|
|
705
|
+
"description": "关闭",
|
|
706
|
+
"returns": {}
|
|
707
|
+
}
|
|
708
|
+
],
|
|
709
|
+
"parts": [],
|
|
710
|
+
"description": "加载步骤框"
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"name": "eo-info-card-item",
|
|
714
|
+
"properties": [
|
|
715
|
+
{
|
|
716
|
+
"name": "cardTitle",
|
|
717
|
+
"description": "title",
|
|
718
|
+
"type": "string"
|
|
735
719
|
},
|
|
736
720
|
{
|
|
737
|
-
"name": "
|
|
738
|
-
"description": "
|
|
739
|
-
"type": "
|
|
721
|
+
"name": "description",
|
|
722
|
+
"description": "description",
|
|
723
|
+
"type": "string"
|
|
740
724
|
},
|
|
741
725
|
{
|
|
742
|
-
"name": "
|
|
743
|
-
"description": "
|
|
744
|
-
"default": "download.txt",
|
|
726
|
+
"name": "url",
|
|
727
|
+
"description": "链接地址",
|
|
745
728
|
"type": "string"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"name": "cardIcon",
|
|
732
|
+
"description": "图标",
|
|
733
|
+
"attribute": false,
|
|
734
|
+
"type": "IconAvatar"
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"name": "detailList",
|
|
738
|
+
"description": "详细列表",
|
|
739
|
+
"attribute": false,
|
|
740
|
+
"type": "InfoCardDetail[]"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"name": "target",
|
|
744
|
+
"description": "链接跳转目标",
|
|
745
|
+
"type": "LinkProps[\"target\"]"
|
|
746
746
|
}
|
|
747
747
|
],
|
|
748
748
|
"events": [],
|
|
749
749
|
"slots": [],
|
|
750
750
|
"methods": [],
|
|
751
751
|
"parts": [],
|
|
752
|
-
"description": "
|
|
753
|
-
"category": "
|
|
752
|
+
"description": "信息卡片",
|
|
753
|
+
"category": "card-info"
|
|
754
754
|
}
|
|
755
755
|
],
|
|
756
756
|
"providers": []
|