@next-bricks/presentational 1.10.18 → 1.11.1
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 +16 -16
- package/dist/chunks/1491.db6e34a4.js +3 -0
- package/dist/chunks/1491.db6e34a4.js.map +1 -0
- package/dist/chunks/4196.568b49ec.js +2 -0
- package/dist/chunks/4196.568b49ec.js.map +1 -0
- package/dist/chunks/{4837.616c684a.js → 4837.7ae8a340.js} +2 -2
- package/dist/chunks/{4837.616c684a.js.map → 4837.7ae8a340.js.map} +1 -1
- package/dist/chunks/{7218.7a8a565b.js → 7218.d132b9b0.js} +2 -2
- package/dist/chunks/{7218.7a8a565b.js.map → 7218.d132b9b0.js.map} +1 -1
- package/dist/chunks/{eo-card-item.9e679452.js → eo-card-item.02cdcb0b.js} +3 -3
- package/dist/chunks/{eo-card-item.9e679452.js.map → eo-card-item.02cdcb0b.js.map} +1 -1
- package/dist/chunks/eo-descriptions.8230e021.js +3 -0
- package/dist/chunks/eo-descriptions.8230e021.js.map +1 -0
- package/dist/chunks/eo-humanize-time.88c3f60d.js +2 -0
- package/dist/chunks/eo-humanize-time.88c3f60d.js.map +1 -0
- package/dist/chunks/eo-info-card-item.611ee822.js +3 -0
- package/dist/chunks/eo-info-card-item.611ee822.js.map +1 -0
- package/dist/chunks/eo-loading-step.36e87150.js +3 -0
- package/dist/chunks/eo-loading-step.36e87150.js.map +1 -0
- package/dist/chunks/eo-pagination.44f8b140.js +3 -0
- package/dist/chunks/eo-pagination.44f8b140.js.map +1 -0
- package/dist/chunks/{main.8b1f022c.js → main.70cd9a47.js} +2 -2
- package/dist/chunks/{main.8b1f022c.js.map → main.70cd9a47.js.map} +1 -1
- package/dist/examples.json +10 -10
- package/dist/{index.f232aadb.js → index.e15f79d2.js} +2 -2
- package/dist/{index.f232aadb.js.map → index.e15f79d2.js.map} +1 -1
- package/dist/manifest.json +183 -169
- package/dist/types.json +193 -79
- package/dist-types/pagination/index.d.ts +21 -5
- package/docs/eo-pagination.md +17 -1
- package/package.json +2 -2
- package/dist/chunks/4196.7ddfda88.js +0 -2
- package/dist/chunks/4196.7ddfda88.js.map +0 -1
- package/dist/chunks/4235.3df9f2fd.js +0 -3
- package/dist/chunks/4235.3df9f2fd.js.map +0 -1
- package/dist/chunks/eo-descriptions.ddaee986.js +0 -3
- package/dist/chunks/eo-descriptions.ddaee986.js.map +0 -1
- package/dist/chunks/eo-humanize-time.b85dbc1e.js +0 -2
- package/dist/chunks/eo-humanize-time.b85dbc1e.js.map +0 -1
- package/dist/chunks/eo-info-card-item.558836f2.js +0 -3
- package/dist/chunks/eo-info-card-item.558836f2.js.map +0 -1
- package/dist/chunks/eo-loading-step.3d87a02b.js +0 -3
- package/dist/chunks/eo-loading-step.3d87a02b.js.map +0 -1
- package/dist/chunks/eo-pagination.ee85f673.js +0 -3
- package/dist/chunks/eo-pagination.ee85f673.js.map +0 -1
- /package/dist/chunks/{4235.3df9f2fd.js.LICENSE.txt → 1491.db6e34a4.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-card-item.9e679452.js.LICENSE.txt → eo-card-item.02cdcb0b.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-descriptions.ddaee986.js.LICENSE.txt → eo-descriptions.8230e021.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-info-card-item.558836f2.js.LICENSE.txt → eo-info-card-item.611ee822.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-loading-step.3d87a02b.js.LICENSE.txt → eo-loading-step.36e87150.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-pagination.ee85f673.js.LICENSE.txt → eo-pagination.44f8b140.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -64,9 +64,126 @@
|
|
|
64
64
|
"description": "通用描述列表构件",
|
|
65
65
|
"category": "text"
|
|
66
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
|
+
"events": [],
|
|
106
|
+
"slots": [
|
|
107
|
+
{
|
|
108
|
+
"name": null,
|
|
109
|
+
"description": "内容区"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "title",
|
|
113
|
+
"description": "标题"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"methods": [],
|
|
117
|
+
"parts": [],
|
|
118
|
+
"description": "告警提示",
|
|
119
|
+
"category": "display-component"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "eo-code-display",
|
|
123
|
+
"alias": [
|
|
124
|
+
"presentational.code-display"
|
|
125
|
+
],
|
|
126
|
+
"properties": [
|
|
127
|
+
{
|
|
128
|
+
"name": "value",
|
|
129
|
+
"description": "代码内容",
|
|
130
|
+
"default": "\"\"",
|
|
131
|
+
"type": "string"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "language",
|
|
135
|
+
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
136
|
+
"type": "string"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "hideLineNumber",
|
|
140
|
+
"description": "是否隐藏行号",
|
|
141
|
+
"type": "boolean"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "maxLines",
|
|
145
|
+
"description": "最大行数",
|
|
146
|
+
"type": "number"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "minLines",
|
|
150
|
+
"description": "最小行数",
|
|
151
|
+
"type": "number"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "showCopyButton",
|
|
155
|
+
"description": "是否显示复制按钮",
|
|
156
|
+
"default": "true",
|
|
157
|
+
"type": "boolean"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "showExportButton",
|
|
161
|
+
"description": "是否显示导出按钮",
|
|
162
|
+
"type": "boolean"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "exportFileName",
|
|
166
|
+
"description": "导出的文件名",
|
|
167
|
+
"default": "download.txt",
|
|
168
|
+
"type": "string"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"events": [],
|
|
172
|
+
"slots": [],
|
|
173
|
+
"methods": [],
|
|
174
|
+
"parts": [],
|
|
175
|
+
"description": "代码展示",
|
|
176
|
+
"category": "display-component"
|
|
177
|
+
},
|
|
67
178
|
{
|
|
68
179
|
"name": "eo-pagination",
|
|
69
180
|
"properties": [
|
|
181
|
+
{
|
|
182
|
+
"name": "type",
|
|
183
|
+
"description": "",
|
|
184
|
+
"default": "\"page\"",
|
|
185
|
+
"type": "\"page\" | \"token\""
|
|
186
|
+
},
|
|
70
187
|
{
|
|
71
188
|
"name": "total",
|
|
72
189
|
"description": "数据总数",
|
|
@@ -97,6 +214,14 @@
|
|
|
97
214
|
"description": "是否展示`pageSize`分页器",
|
|
98
215
|
"default": "true",
|
|
99
216
|
"type": "boolean"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "nextToken",
|
|
220
|
+
"type": "string"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "previousToken",
|
|
224
|
+
"type": "string"
|
|
100
225
|
}
|
|
101
226
|
],
|
|
102
227
|
"events": [
|
|
@@ -104,7 +229,7 @@
|
|
|
104
229
|
"name": "change",
|
|
105
230
|
"description": "页码及每页条数改变事件",
|
|
106
231
|
"detail": {
|
|
107
|
-
"type": "
|
|
232
|
+
"type": "ChangeDetail"
|
|
108
233
|
}
|
|
109
234
|
}
|
|
110
235
|
],
|
|
@@ -288,158 +413,112 @@
|
|
|
288
413
|
"category": "container-display"
|
|
289
414
|
},
|
|
290
415
|
{
|
|
291
|
-
"name": "eo-
|
|
292
|
-
"alias": [
|
|
293
|
-
"presentational.general-alert"
|
|
294
|
-
],
|
|
416
|
+
"name": "eo-info-card-item",
|
|
295
417
|
"properties": [
|
|
296
418
|
{
|
|
297
|
-
"name": "
|
|
298
|
-
"description": "
|
|
299
|
-
"
|
|
300
|
-
"type": "AlertType"
|
|
419
|
+
"name": "cardTitle",
|
|
420
|
+
"description": "title",
|
|
421
|
+
"type": "string"
|
|
301
422
|
},
|
|
302
423
|
{
|
|
303
|
-
"name": "
|
|
304
|
-
"description": "
|
|
305
|
-
"type": "
|
|
424
|
+
"name": "description",
|
|
425
|
+
"description": "description",
|
|
426
|
+
"type": "string"
|
|
306
427
|
},
|
|
307
428
|
{
|
|
308
|
-
"name": "
|
|
309
|
-
"description": "
|
|
310
|
-
"type": "
|
|
429
|
+
"name": "url",
|
|
430
|
+
"description": "链接地址",
|
|
431
|
+
"type": "string"
|
|
311
432
|
},
|
|
312
433
|
{
|
|
313
|
-
"name": "
|
|
314
|
-
"description": "
|
|
315
|
-
"
|
|
434
|
+
"name": "cardIcon",
|
|
435
|
+
"description": "图标",
|
|
436
|
+
"attribute": false,
|
|
437
|
+
"type": "IconAvatar"
|
|
316
438
|
},
|
|
317
439
|
{
|
|
318
|
-
"name": "
|
|
319
|
-
"description": "
|
|
320
|
-
"
|
|
440
|
+
"name": "detailList",
|
|
441
|
+
"description": "详细列表",
|
|
442
|
+
"attribute": false,
|
|
443
|
+
"type": "InfoCardDetail[]"
|
|
321
444
|
},
|
|
322
445
|
{
|
|
323
|
-
"name": "
|
|
324
|
-
"description": "
|
|
325
|
-
"type": "
|
|
446
|
+
"name": "target",
|
|
447
|
+
"description": "链接跳转目标",
|
|
448
|
+
"type": "LinkProps[\"target\"]"
|
|
326
449
|
}
|
|
327
450
|
],
|
|
328
451
|
"events": [],
|
|
329
|
-
"slots": [
|
|
330
|
-
{
|
|
331
|
-
"name": null,
|
|
332
|
-
"description": "内容区"
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
"name": "title",
|
|
336
|
-
"description": "标题"
|
|
337
|
-
}
|
|
338
|
-
],
|
|
452
|
+
"slots": [],
|
|
339
453
|
"methods": [],
|
|
340
454
|
"parts": [],
|
|
341
|
-
"description": "
|
|
342
|
-
"category": "
|
|
455
|
+
"description": "信息卡片",
|
|
456
|
+
"category": "card-info"
|
|
343
457
|
},
|
|
344
458
|
{
|
|
345
|
-
"name": "eo-
|
|
459
|
+
"name": "eo-humanize-time",
|
|
346
460
|
"alias": [
|
|
347
|
-
"presentational.
|
|
461
|
+
"presentational.humanize-time"
|
|
348
462
|
],
|
|
349
463
|
"properties": [
|
|
350
464
|
{
|
|
351
465
|
"name": "value",
|
|
352
|
-
"description": "
|
|
353
|
-
"
|
|
354
|
-
"
|
|
466
|
+
"description": "时间截,或字符串,当为字符串时,应提供时间格式 `inputFormat`",
|
|
467
|
+
"required": true,
|
|
468
|
+
"attribute": false,
|
|
469
|
+
"type": "number | string"
|
|
355
470
|
},
|
|
356
471
|
{
|
|
357
|
-
"name": "
|
|
358
|
-
"description": "
|
|
472
|
+
"name": "inputFormat",
|
|
473
|
+
"description": "字符串的时间格式,如 \"YYYY-MM-DD\", [时间格式参照表](https://day.js.org/docs/en/parse/string-format)",
|
|
359
474
|
"type": "string"
|
|
360
475
|
},
|
|
361
476
|
{
|
|
362
|
-
"name": "
|
|
363
|
-
"description": "
|
|
364
|
-
"type": "
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
"name": "maxLines",
|
|
368
|
-
"description": "最大行数",
|
|
369
|
-
"type": "number"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"name": "minLines",
|
|
373
|
-
"description": "最小行数",
|
|
374
|
-
"type": "number"
|
|
477
|
+
"name": "outputFormat",
|
|
478
|
+
"description": "展示时间格式,如 \"YYYY-MM-DD\",当设置该属性时,属性 `formatter` 无效 [时间格式参照表](https://day.js.org/docs/en/display/format)",
|
|
479
|
+
"type": "string"
|
|
375
480
|
},
|
|
376
481
|
{
|
|
377
|
-
"name": "
|
|
378
|
-
"description": "
|
|
379
|
-
"default": "
|
|
380
|
-
"type": "
|
|
482
|
+
"name": "type",
|
|
483
|
+
"description": "使用日期+时间格式输出还是仅日期。",
|
|
484
|
+
"default": "\"datetime\"",
|
|
485
|
+
"type": "\"datetime\" | \"date\""
|
|
381
486
|
},
|
|
382
487
|
{
|
|
383
|
-
"name": "
|
|
384
|
-
"description": "
|
|
488
|
+
"name": "isCostTime",
|
|
489
|
+
"description": "是否展示为耗费时间,例如:'1 个月 20 天'",
|
|
385
490
|
"type": "boolean"
|
|
386
491
|
},
|
|
387
492
|
{
|
|
388
|
-
"name": "
|
|
389
|
-
"description": "
|
|
390
|
-
"default": "
|
|
391
|
-
"
|
|
392
|
-
|
|
393
|
-
],
|
|
394
|
-
"events": [],
|
|
395
|
-
"slots": [],
|
|
396
|
-
"methods": [],
|
|
397
|
-
"parts": [],
|
|
398
|
-
"description": "代码展示",
|
|
399
|
-
"category": "display-component"
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
"name": "eo-info-card-item",
|
|
403
|
-
"properties": [
|
|
404
|
-
{
|
|
405
|
-
"name": "cardTitle",
|
|
406
|
-
"description": "title",
|
|
407
|
-
"type": "string"
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
"name": "description",
|
|
411
|
-
"description": "description",
|
|
412
|
-
"type": "string"
|
|
493
|
+
"name": "formatter",
|
|
494
|
+
"description": "格式类型",
|
|
495
|
+
"default": "\"default\"",
|
|
496
|
+
"attribute": false,
|
|
497
|
+
"type": "HumanizeTimeFormat"
|
|
413
498
|
},
|
|
414
499
|
{
|
|
415
|
-
"name": "
|
|
416
|
-
"description": "
|
|
417
|
-
"
|
|
500
|
+
"name": "isMicrosecond",
|
|
501
|
+
"description": "value 值的单位是否为毫秒(此处属性 id 写错,实际表达意义为 isMillisecond)",
|
|
502
|
+
"deprecated": "请使用 `isMillisecond`",
|
|
503
|
+
"type": "boolean"
|
|
418
504
|
},
|
|
419
505
|
{
|
|
420
|
-
"name": "
|
|
421
|
-
"description": "
|
|
422
|
-
"
|
|
423
|
-
"type": "IconAvatar"
|
|
506
|
+
"name": "isMillisecond",
|
|
507
|
+
"description": "value 值的单位是否为毫秒",
|
|
508
|
+
"type": "boolean"
|
|
424
509
|
},
|
|
425
510
|
{
|
|
426
|
-
"name": "
|
|
427
|
-
"description": "
|
|
511
|
+
"name": "link",
|
|
512
|
+
"description": "跳转链接,默认为空",
|
|
428
513
|
"attribute": false,
|
|
429
|
-
"type": "
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"name": "target",
|
|
433
|
-
"description": "链接跳转目标",
|
|
434
|
-
"type": "LinkProps[\"target\"]"
|
|
514
|
+
"type": "LinkInfo"
|
|
435
515
|
}
|
|
436
516
|
],
|
|
437
517
|
"events": [],
|
|
438
518
|
"slots": [],
|
|
439
519
|
"methods": [],
|
|
440
520
|
"parts": [],
|
|
441
|
-
"description": "
|
|
442
|
-
"category": "card-info"
|
|
521
|
+
"description": "人性化时间展示,可显示完整时间、相对时间、未来时间、耗时等,支持自定义输入值格式和输出格式。"
|
|
443
522
|
},
|
|
444
523
|
{
|
|
445
524
|
"name": "eo-statistics-card",
|
|
@@ -531,71 +610,6 @@
|
|
|
531
610
|
"parts": [],
|
|
532
611
|
"description": "统计卡片"
|
|
533
612
|
},
|
|
534
|
-
{
|
|
535
|
-
"name": "eo-humanize-time",
|
|
536
|
-
"alias": [
|
|
537
|
-
"presentational.humanize-time"
|
|
538
|
-
],
|
|
539
|
-
"properties": [
|
|
540
|
-
{
|
|
541
|
-
"name": "value",
|
|
542
|
-
"description": "时间截,或字符串,当为字符串时,应提供时间格式 `inputFormat`",
|
|
543
|
-
"required": true,
|
|
544
|
-
"attribute": false,
|
|
545
|
-
"type": "number | string"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"name": "inputFormat",
|
|
549
|
-
"description": "字符串的时间格式,如 \"YYYY-MM-DD\", [时间格式参照表](https://day.js.org/docs/en/parse/string-format)",
|
|
550
|
-
"type": "string"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"name": "outputFormat",
|
|
554
|
-
"description": "展示时间格式,如 \"YYYY-MM-DD\",当设置该属性时,属性 `formatter` 无效 [时间格式参照表](https://day.js.org/docs/en/display/format)",
|
|
555
|
-
"type": "string"
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
"name": "type",
|
|
559
|
-
"description": "使用日期+时间格式输出还是仅日期。",
|
|
560
|
-
"default": "\"datetime\"",
|
|
561
|
-
"type": "\"datetime\" | \"date\""
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
"name": "isCostTime",
|
|
565
|
-
"description": "是否展示为耗费时间,例如:'1 个月 20 天'",
|
|
566
|
-
"type": "boolean"
|
|
567
|
-
},
|
|
568
|
-
{
|
|
569
|
-
"name": "formatter",
|
|
570
|
-
"description": "格式类型",
|
|
571
|
-
"default": "\"default\"",
|
|
572
|
-
"attribute": false,
|
|
573
|
-
"type": "HumanizeTimeFormat"
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
"name": "isMicrosecond",
|
|
577
|
-
"description": "value 值的单位是否为毫秒(此处属性 id 写错,实际表达意义为 isMillisecond)",
|
|
578
|
-
"deprecated": "请使用 `isMillisecond`",
|
|
579
|
-
"type": "boolean"
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
"name": "isMillisecond",
|
|
583
|
-
"description": "value 值的单位是否为毫秒",
|
|
584
|
-
"type": "boolean"
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
"name": "link",
|
|
588
|
-
"description": "跳转链接,默认为空",
|
|
589
|
-
"attribute": false,
|
|
590
|
-
"type": "LinkInfo"
|
|
591
|
-
}
|
|
592
|
-
],
|
|
593
|
-
"events": [],
|
|
594
|
-
"slots": [],
|
|
595
|
-
"methods": [],
|
|
596
|
-
"parts": [],
|
|
597
|
-
"description": "人性化时间展示,可显示完整时间、相对时间、未来时间、耗时等,支持自定义输入值格式和输出格式。"
|
|
598
|
-
},
|
|
599
613
|
{
|
|
600
614
|
"name": "eo-loading-step",
|
|
601
615
|
"properties": [
|