@next-bricks/presentational 1.10.16 → 1.10.18
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/1122.cd42779d.js +2 -0
- package/dist/chunks/1122.cd42779d.js.map +1 -0
- package/dist/chunks/{114.1868267e.js → 114.c9c1a2a8.js} +2 -2
- package/dist/chunks/{114.1868267e.js.map → 114.c9c1a2a8.js.map} +1 -1
- package/dist/chunks/1940.9668f6c6.js +2 -0
- package/dist/chunks/1940.9668f6c6.js.map +1 -0
- package/dist/chunks/{2277.6d96168c.js → 2277.fac69a60.js} +2 -2
- package/dist/chunks/{2277.6d96168c.js.map → 2277.fac69a60.js.map} +1 -1
- package/dist/chunks/{3171.44387cf3.js → 3171.6d0fcafd.js} +2 -2
- package/dist/chunks/{3171.44387cf3.js.map → 3171.6d0fcafd.js.map} +1 -1
- package/dist/chunks/3933.82c381a8.js +2 -0
- package/dist/chunks/{6314.ef4d7a8f.js.map → 3933.82c381a8.js.map} +1 -1
- package/dist/chunks/4196.7ddfda88.js +2 -0
- package/dist/chunks/{4196.2f9b82fd.js.map → 4196.7ddfda88.js.map} +1 -1
- package/dist/chunks/4235.3df9f2fd.js +3 -0
- package/dist/chunks/4235.3df9f2fd.js.map +1 -0
- package/dist/chunks/4306.9fc2004c.js +2 -0
- package/dist/chunks/4306.9fc2004c.js.map +1 -0
- package/dist/chunks/{4658.33283326.js → 4658.dbd21896.js} +2 -2
- package/dist/chunks/{4658.33283326.js.map → 4658.dbd21896.js.map} +1 -1
- package/dist/chunks/{4837.b89dd023.js → 4837.616c684a.js} +2 -2
- package/dist/chunks/{7218.e3397473.js.map → 4837.616c684a.js.map} +1 -1
- package/dist/chunks/5399.991c599b.js +2 -0
- package/dist/chunks/5399.991c599b.js.map +1 -0
- package/dist/chunks/{5552.4a862da1.js → 5552.d5706488.js} +2 -2
- package/dist/chunks/{5552.4a862da1.js.map → 5552.d5706488.js.map} +1 -1
- package/dist/chunks/6314.2884a9fd.js +2 -0
- package/dist/chunks/{3933.0c68f6c5.js.map → 6314.2884a9fd.js.map} +1 -1
- package/dist/chunks/6519.661eb71e.js +2 -0
- package/dist/chunks/{6519.886ec719.js.map → 6519.661eb71e.js.map} +1 -1
- package/dist/chunks/{7218.e3397473.js → 7218.7a8a565b.js} +2 -2
- package/dist/chunks/{4837.b89dd023.js.map → 7218.7a8a565b.js.map} +1 -1
- package/dist/chunks/{7733.2655fff2.js → 7733.eb41eeb5.js} +2 -2
- package/dist/chunks/{7733.2655fff2.js.map → 7733.eb41eeb5.js.map} +1 -1
- package/dist/chunks/{8097.1582368c.js → 8097.062dc9e0.js} +2 -2
- package/dist/chunks/{8097.1582368c.js.map → 8097.062dc9e0.js.map} +1 -1
- package/dist/chunks/9559.dbf4897f.js +2 -0
- package/dist/chunks/9559.dbf4897f.js.map +1 -0
- package/dist/chunks/{eo-alert.d3250e8d.js → eo-alert.ba627445.js} +3 -3
- package/dist/chunks/{eo-alert.d3250e8d.js.map → eo-alert.ba627445.js.map} +1 -1
- package/dist/chunks/{eo-card-item.066de71c.js → eo-card-item.9e679452.js} +3 -3
- package/dist/chunks/{eo-card-item.066de71c.js.map → eo-card-item.9e679452.js.map} +1 -1
- package/dist/chunks/{eo-carousel-text.17f8daa5.js → eo-carousel-text.c0795f52.js} +2 -2
- package/dist/chunks/{eo-carousel-text.17f8daa5.js.map → eo-carousel-text.c0795f52.js.map} +1 -1
- package/dist/chunks/eo-code-display.299f7dbf.js +2 -0
- package/dist/chunks/{eo-code-display.7e8df280.js.map → eo-code-display.299f7dbf.js.map} +1 -1
- package/dist/chunks/{eo-current-time.d8895bb1.js → eo-current-time.acfc56d5.js} +2 -2
- package/dist/chunks/{eo-current-time.d8895bb1.js.map → eo-current-time.acfc56d5.js.map} +1 -1
- package/dist/chunks/{eo-descriptions.3980106b.js → eo-descriptions.ddaee986.js} +3 -3
- package/dist/chunks/{eo-descriptions.3980106b.js.map → eo-descriptions.ddaee986.js.map} +1 -1
- package/dist/chunks/{eo-divider.5823805e.js → eo-divider.aa50f0a5.js} +3 -3
- package/dist/chunks/{eo-divider.5823805e.js.map → eo-divider.aa50f0a5.js.map} +1 -1
- package/dist/chunks/{eo-humanize-time.ada2b602.js → eo-humanize-time.b85dbc1e.js} +2 -2
- package/dist/chunks/{eo-humanize-time.ada2b602.js.map → eo-humanize-time.b85dbc1e.js.map} +1 -1
- package/dist/chunks/{eo-info-card-item.98f71cc9.js → eo-info-card-item.558836f2.js} +3 -3
- package/dist/chunks/{eo-info-card-item.98f71cc9.js.map → eo-info-card-item.558836f2.js.map} +1 -1
- package/dist/chunks/{eo-loading-step.f6370256.js → eo-loading-step.3d87a02b.js} +3 -3
- package/dist/chunks/{eo-loading-step.f6370256.js.map → eo-loading-step.3d87a02b.js.map} +1 -1
- package/dist/chunks/eo-pagination.ee85f673.js +3 -0
- package/dist/chunks/{eo-pagination.f551f57a.js.map → eo-pagination.ee85f673.js.map} +1 -1
- package/dist/chunks/{eo-statistics-card.a40edb19.js → eo-statistics-card.d8dca392.js} +2 -2
- package/dist/chunks/{eo-statistics-card.a40edb19.js.map → eo-statistics-card.d8dca392.js.map} +1 -1
- package/dist/chunks/main.8b1f022c.js +2 -0
- package/dist/chunks/main.8b1f022c.js.map +1 -0
- package/dist/examples.json +9 -9
- package/dist/index.f232aadb.js +2 -0
- package/dist/index.f232aadb.js.map +1 -0
- package/dist/manifest.json +168 -168
- package/dist/types.json +79 -79
- package/package.json +4 -4
- package/dist/chunks/1122.a95e253d.js +0 -2
- package/dist/chunks/1122.a95e253d.js.map +0 -1
- package/dist/chunks/1940.3ad1a879.js +0 -2
- package/dist/chunks/1940.3ad1a879.js.map +0 -1
- package/dist/chunks/3933.0c68f6c5.js +0 -2
- package/dist/chunks/4196.2f9b82fd.js +0 -2
- package/dist/chunks/4741.3387a2b3.js +0 -2
- package/dist/chunks/4741.3387a2b3.js.map +0 -1
- package/dist/chunks/5009.13d4c0db.js +0 -3
- package/dist/chunks/5009.13d4c0db.js.map +0 -1
- package/dist/chunks/5399.036365a0.js +0 -2
- package/dist/chunks/5399.036365a0.js.map +0 -1
- package/dist/chunks/6314.ef4d7a8f.js +0 -2
- package/dist/chunks/6519.886ec719.js +0 -2
- package/dist/chunks/9559.3564a67a.js +0 -2
- package/dist/chunks/9559.3564a67a.js.map +0 -1
- package/dist/chunks/eo-code-display.7e8df280.js +0 -2
- package/dist/chunks/eo-pagination.f551f57a.js +0 -3
- package/dist/chunks/main.3053bafb.js +0 -2
- package/dist/chunks/main.3053bafb.js.map +0 -1
- package/dist/index.d62b066c.js +0 -2
- package/dist/index.d62b066c.js.map +0 -1
- /package/dist/chunks/{5009.13d4c0db.js.LICENSE.txt → 4235.3df9f2fd.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-alert.d3250e8d.js.LICENSE.txt → eo-alert.ba627445.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-card-item.066de71c.js.LICENSE.txt → eo-card-item.9e679452.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-descriptions.3980106b.js.LICENSE.txt → eo-descriptions.ddaee986.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-divider.5823805e.js.LICENSE.txt → eo-divider.aa50f0a5.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-info-card-item.98f71cc9.js.LICENSE.txt → eo-info-card-item.558836f2.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-loading-step.f6370256.js.LICENSE.txt → eo-loading-step.3d87a02b.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-pagination.f551f57a.js.LICENSE.txt → eo-pagination.ee85f673.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -64,117 +64,6 @@
|
|
|
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
|
-
},
|
|
178
67
|
{
|
|
179
68
|
"name": "eo-pagination",
|
|
180
69
|
"properties": [
|
|
@@ -399,112 +288,158 @@
|
|
|
399
288
|
"category": "container-display"
|
|
400
289
|
},
|
|
401
290
|
{
|
|
402
|
-
"name": "eo-
|
|
291
|
+
"name": "eo-alert",
|
|
292
|
+
"alias": [
|
|
293
|
+
"presentational.general-alert"
|
|
294
|
+
],
|
|
403
295
|
"properties": [
|
|
404
296
|
{
|
|
405
|
-
"name": "
|
|
406
|
-
"description": "
|
|
407
|
-
"
|
|
297
|
+
"name": "type",
|
|
298
|
+
"description": "警告类型",
|
|
299
|
+
"attribute": false,
|
|
300
|
+
"type": "AlertType"
|
|
408
301
|
},
|
|
409
302
|
{
|
|
410
|
-
"name": "
|
|
411
|
-
"description": "
|
|
412
|
-
"type": "
|
|
303
|
+
"name": "hasTitle",
|
|
304
|
+
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
305
|
+
"type": "boolean"
|
|
413
306
|
},
|
|
414
307
|
{
|
|
415
|
-
"name": "
|
|
416
|
-
"description": "
|
|
417
|
-
"type": "
|
|
308
|
+
"name": "showIcon",
|
|
309
|
+
"description": "是否显示提示图标",
|
|
310
|
+
"type": "boolean"
|
|
418
311
|
},
|
|
419
312
|
{
|
|
420
|
-
"name": "
|
|
421
|
-
"description": "
|
|
422
|
-
"
|
|
423
|
-
"type": "IconAvatar"
|
|
313
|
+
"name": "closable",
|
|
314
|
+
"description": "是否显示关闭按钮",
|
|
315
|
+
"type": "boolean"
|
|
424
316
|
},
|
|
425
317
|
{
|
|
426
|
-
"name": "
|
|
427
|
-
"description": "
|
|
428
|
-
"
|
|
429
|
-
"type": "InfoCardDetail[]"
|
|
318
|
+
"name": "localStorageKey",
|
|
319
|
+
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
320
|
+
"type": "string"
|
|
430
321
|
},
|
|
431
322
|
{
|
|
432
|
-
"name": "
|
|
433
|
-
"description": "
|
|
434
|
-
"type": "
|
|
323
|
+
"name": "disableUrlNamespace",
|
|
324
|
+
"description": "关闭后仅以 `localStorageKey` 作为命名空间",
|
|
325
|
+
"type": "boolean"
|
|
435
326
|
}
|
|
436
327
|
],
|
|
437
328
|
"events": [],
|
|
438
|
-
"slots": [
|
|
329
|
+
"slots": [
|
|
330
|
+
{
|
|
331
|
+
"name": null,
|
|
332
|
+
"description": "内容区"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"name": "title",
|
|
336
|
+
"description": "标题"
|
|
337
|
+
}
|
|
338
|
+
],
|
|
439
339
|
"methods": [],
|
|
440
340
|
"parts": [],
|
|
441
|
-
"description": "
|
|
442
|
-
"category": "
|
|
341
|
+
"description": "告警提示",
|
|
342
|
+
"category": "display-component"
|
|
443
343
|
},
|
|
444
344
|
{
|
|
445
|
-
"name": "eo-
|
|
345
|
+
"name": "eo-code-display",
|
|
446
346
|
"alias": [
|
|
447
|
-
"presentational.
|
|
347
|
+
"presentational.code-display"
|
|
448
348
|
],
|
|
449
349
|
"properties": [
|
|
450
350
|
{
|
|
451
351
|
"name": "value",
|
|
452
|
-
"description": "
|
|
453
|
-
"
|
|
454
|
-
"attribute": false,
|
|
455
|
-
"type": "number | string"
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
"name": "inputFormat",
|
|
459
|
-
"description": "字符串的时间格式,如 \"YYYY-MM-DD\", [时间格式参照表](https://day.js.org/docs/en/parse/string-format)",
|
|
352
|
+
"description": "代码内容",
|
|
353
|
+
"default": "\"\"",
|
|
460
354
|
"type": "string"
|
|
461
355
|
},
|
|
462
356
|
{
|
|
463
|
-
"name": "
|
|
464
|
-
"description": "
|
|
357
|
+
"name": "language",
|
|
358
|
+
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
465
359
|
"type": "string"
|
|
466
360
|
},
|
|
467
361
|
{
|
|
468
|
-
"name": "
|
|
469
|
-
"description": "
|
|
470
|
-
"
|
|
471
|
-
"type": "\"datetime\" | \"date\""
|
|
362
|
+
"name": "hideLineNumber",
|
|
363
|
+
"description": "是否隐藏行号",
|
|
364
|
+
"type": "boolean"
|
|
472
365
|
},
|
|
473
366
|
{
|
|
474
|
-
"name": "
|
|
475
|
-
"description": "
|
|
476
|
-
"type": "
|
|
367
|
+
"name": "maxLines",
|
|
368
|
+
"description": "最大行数",
|
|
369
|
+
"type": "number"
|
|
477
370
|
},
|
|
478
371
|
{
|
|
479
|
-
"name": "
|
|
480
|
-
"description": "
|
|
481
|
-
"
|
|
482
|
-
"attribute": false,
|
|
483
|
-
"type": "HumanizeTimeFormat"
|
|
372
|
+
"name": "minLines",
|
|
373
|
+
"description": "最小行数",
|
|
374
|
+
"type": "number"
|
|
484
375
|
},
|
|
485
376
|
{
|
|
486
|
-
"name": "
|
|
487
|
-
"description": "
|
|
488
|
-
"
|
|
377
|
+
"name": "showCopyButton",
|
|
378
|
+
"description": "是否显示复制按钮",
|
|
379
|
+
"default": "true",
|
|
489
380
|
"type": "boolean"
|
|
490
381
|
},
|
|
491
382
|
{
|
|
492
|
-
"name": "
|
|
493
|
-
"description": "
|
|
383
|
+
"name": "showExportButton",
|
|
384
|
+
"description": "是否显示导出按钮",
|
|
494
385
|
"type": "boolean"
|
|
495
386
|
},
|
|
496
387
|
{
|
|
497
|
-
"name": "
|
|
498
|
-
"description": "
|
|
388
|
+
"name": "exportFileName",
|
|
389
|
+
"description": "导出的文件名",
|
|
390
|
+
"default": "download.txt",
|
|
391
|
+
"type": "string"
|
|
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"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"name": "url",
|
|
416
|
+
"description": "链接地址",
|
|
417
|
+
"type": "string"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"name": "cardIcon",
|
|
421
|
+
"description": "图标",
|
|
499
422
|
"attribute": false,
|
|
500
|
-
"type": "
|
|
423
|
+
"type": "IconAvatar"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"name": "detailList",
|
|
427
|
+
"description": "详细列表",
|
|
428
|
+
"attribute": false,
|
|
429
|
+
"type": "InfoCardDetail[]"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "target",
|
|
433
|
+
"description": "链接跳转目标",
|
|
434
|
+
"type": "LinkProps[\"target\"]"
|
|
501
435
|
}
|
|
502
436
|
],
|
|
503
437
|
"events": [],
|
|
504
438
|
"slots": [],
|
|
505
439
|
"methods": [],
|
|
506
440
|
"parts": [],
|
|
507
|
-
"description": "
|
|
441
|
+
"description": "信息卡片",
|
|
442
|
+
"category": "card-info"
|
|
508
443
|
},
|
|
509
444
|
{
|
|
510
445
|
"name": "eo-statistics-card",
|
|
@@ -596,6 +531,71 @@
|
|
|
596
531
|
"parts": [],
|
|
597
532
|
"description": "统计卡片"
|
|
598
533
|
},
|
|
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
599
|
{
|
|
600
600
|
"name": "eo-loading-step",
|
|
601
601
|
"properties": [
|
package/dist/types.json
CHANGED
|
@@ -1557,6 +1557,85 @@
|
|
|
1557
1557
|
"events": [],
|
|
1558
1558
|
"methods": []
|
|
1559
1559
|
},
|
|
1560
|
+
"eo-pagination": {
|
|
1561
|
+
"properties": [
|
|
1562
|
+
{
|
|
1563
|
+
"name": "total",
|
|
1564
|
+
"annotation": {
|
|
1565
|
+
"type": "keyword",
|
|
1566
|
+
"value": "number"
|
|
1567
|
+
}
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
"name": "page",
|
|
1571
|
+
"annotation": {
|
|
1572
|
+
"type": "keyword",
|
|
1573
|
+
"value": "number"
|
|
1574
|
+
}
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
"name": "pageSize",
|
|
1578
|
+
"annotation": {
|
|
1579
|
+
"type": "keyword",
|
|
1580
|
+
"value": "number"
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"name": "pageSizeOptions",
|
|
1585
|
+
"annotation": {
|
|
1586
|
+
"type": "array",
|
|
1587
|
+
"elementType": {
|
|
1588
|
+
"type": "keyword",
|
|
1589
|
+
"value": "number"
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
"name": "showSizeChanger",
|
|
1595
|
+
"annotation": {
|
|
1596
|
+
"type": "keyword",
|
|
1597
|
+
"value": "boolean"
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
],
|
|
1601
|
+
"events": [
|
|
1602
|
+
{
|
|
1603
|
+
"name": "change",
|
|
1604
|
+
"detail": {
|
|
1605
|
+
"annotation": {
|
|
1606
|
+
"type": "typeLiteral",
|
|
1607
|
+
"members": [
|
|
1608
|
+
{
|
|
1609
|
+
"type": "propertySignature",
|
|
1610
|
+
"key": {
|
|
1611
|
+
"type": "identifier",
|
|
1612
|
+
"name": "page"
|
|
1613
|
+
},
|
|
1614
|
+
"annotation": {
|
|
1615
|
+
"type": "keyword",
|
|
1616
|
+
"value": "number"
|
|
1617
|
+
},
|
|
1618
|
+
"computed": false
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"type": "propertySignature",
|
|
1622
|
+
"key": {
|
|
1623
|
+
"type": "identifier",
|
|
1624
|
+
"name": "pageSize"
|
|
1625
|
+
},
|
|
1626
|
+
"annotation": {
|
|
1627
|
+
"type": "keyword",
|
|
1628
|
+
"value": "number"
|
|
1629
|
+
},
|
|
1630
|
+
"computed": false
|
|
1631
|
+
}
|
|
1632
|
+
]
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
],
|
|
1637
|
+
"methods": []
|
|
1638
|
+
},
|
|
1560
1639
|
"eo-alert": {
|
|
1561
1640
|
"properties": [
|
|
1562
1641
|
{
|
|
@@ -1722,85 +1801,6 @@
|
|
|
1722
1801
|
"events": [],
|
|
1723
1802
|
"methods": []
|
|
1724
1803
|
},
|
|
1725
|
-
"eo-pagination": {
|
|
1726
|
-
"properties": [
|
|
1727
|
-
{
|
|
1728
|
-
"name": "total",
|
|
1729
|
-
"annotation": {
|
|
1730
|
-
"type": "keyword",
|
|
1731
|
-
"value": "number"
|
|
1732
|
-
}
|
|
1733
|
-
},
|
|
1734
|
-
{
|
|
1735
|
-
"name": "page",
|
|
1736
|
-
"annotation": {
|
|
1737
|
-
"type": "keyword",
|
|
1738
|
-
"value": "number"
|
|
1739
|
-
}
|
|
1740
|
-
},
|
|
1741
|
-
{
|
|
1742
|
-
"name": "pageSize",
|
|
1743
|
-
"annotation": {
|
|
1744
|
-
"type": "keyword",
|
|
1745
|
-
"value": "number"
|
|
1746
|
-
}
|
|
1747
|
-
},
|
|
1748
|
-
{
|
|
1749
|
-
"name": "pageSizeOptions",
|
|
1750
|
-
"annotation": {
|
|
1751
|
-
"type": "array",
|
|
1752
|
-
"elementType": {
|
|
1753
|
-
"type": "keyword",
|
|
1754
|
-
"value": "number"
|
|
1755
|
-
}
|
|
1756
|
-
}
|
|
1757
|
-
},
|
|
1758
|
-
{
|
|
1759
|
-
"name": "showSizeChanger",
|
|
1760
|
-
"annotation": {
|
|
1761
|
-
"type": "keyword",
|
|
1762
|
-
"value": "boolean"
|
|
1763
|
-
}
|
|
1764
|
-
}
|
|
1765
|
-
],
|
|
1766
|
-
"events": [
|
|
1767
|
-
{
|
|
1768
|
-
"name": "change",
|
|
1769
|
-
"detail": {
|
|
1770
|
-
"annotation": {
|
|
1771
|
-
"type": "typeLiteral",
|
|
1772
|
-
"members": [
|
|
1773
|
-
{
|
|
1774
|
-
"type": "propertySignature",
|
|
1775
|
-
"key": {
|
|
1776
|
-
"type": "identifier",
|
|
1777
|
-
"name": "page"
|
|
1778
|
-
},
|
|
1779
|
-
"annotation": {
|
|
1780
|
-
"type": "keyword",
|
|
1781
|
-
"value": "number"
|
|
1782
|
-
},
|
|
1783
|
-
"computed": false
|
|
1784
|
-
},
|
|
1785
|
-
{
|
|
1786
|
-
"type": "propertySignature",
|
|
1787
|
-
"key": {
|
|
1788
|
-
"type": "identifier",
|
|
1789
|
-
"name": "pageSize"
|
|
1790
|
-
},
|
|
1791
|
-
"annotation": {
|
|
1792
|
-
"type": "keyword",
|
|
1793
|
-
"value": "number"
|
|
1794
|
-
},
|
|
1795
|
-
"computed": false
|
|
1796
|
-
}
|
|
1797
|
-
]
|
|
1798
|
-
}
|
|
1799
|
-
}
|
|
1800
|
-
}
|
|
1801
|
-
],
|
|
1802
|
-
"methods": []
|
|
1803
|
-
},
|
|
1804
1804
|
"eo-humanize-time": {
|
|
1805
1805
|
"properties": [
|
|
1806
1806
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.18",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/presentational",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"postpublish": "mv package.json.bak package.json"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@next-core/build-next-bricks": "^1.23.
|
|
39
|
-
"@next-core/test-next": "^1.1.
|
|
38
|
+
"@next-core/build-next-bricks": "^1.23.4",
|
|
39
|
+
"@next-core/test-next": "^1.1.7",
|
|
40
40
|
"babel-plugin-prismjs": "^2.1.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"@next-bricks/containers": "*",
|
|
45
45
|
"@next-bricks/icons": "*"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "4c619a2e4658b268bf1af8fb3282098c4a0e5b2b"
|
|
48
48
|
}
|