@next-bricks/presentational 1.10.8 → 1.10.10

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.
Files changed (61) hide show
  1. package/dist/bricks.json +10 -10
  2. package/dist/chunks/{3171.bccdbe7c.js → 3171.54aee285.js} +2 -2
  3. package/dist/chunks/{5552.7b6f65fa.js.map → 3171.54aee285.js.map} +1 -1
  4. package/dist/chunks/{3933.005b8c04.js → 3933.c1a26910.js} +2 -2
  5. package/dist/chunks/{3933.005b8c04.js.map → 3933.c1a26910.js.map} +1 -1
  6. package/dist/chunks/{4196.7c12c25f.js → 4196.f48108ff.js} +2 -2
  7. package/dist/chunks/{4196.7c12c25f.js.map → 4196.f48108ff.js.map} +1 -1
  8. package/dist/chunks/{4837.dd0c66b6.js → 4837.5793e23b.js} +2 -2
  9. package/dist/chunks/{4837.dd0c66b6.js.map → 4837.5793e23b.js.map} +1 -1
  10. package/dist/chunks/5009.bbaf3f9b.js +3 -0
  11. package/dist/chunks/5009.bbaf3f9b.js.map +1 -0
  12. package/dist/chunks/5399.036365a0.js +2 -0
  13. package/dist/chunks/5399.036365a0.js.map +1 -0
  14. package/dist/chunks/{5552.7b6f65fa.js → 5552.f4b2572a.js} +2 -2
  15. package/dist/chunks/{3171.bccdbe7c.js.map → 5552.f4b2572a.js.map} +1 -1
  16. package/dist/chunks/{6314.d58ca97d.js → 6314.e4a7c911.js} +2 -2
  17. package/dist/chunks/{6314.d58ca97d.js.map → 6314.e4a7c911.js.map} +1 -1
  18. package/dist/chunks/6773.e9eb505f.js +2 -0
  19. package/dist/chunks/6773.e9eb505f.js.map +1 -0
  20. package/dist/chunks/{7218.817a5112.js → 7218.63e2164c.js} +2 -2
  21. package/dist/chunks/{7218.817a5112.js.map → 7218.63e2164c.js.map} +1 -1
  22. package/dist/chunks/{8097.3cb1863e.js → 8097.303cc868.js} +2 -2
  23. package/dist/chunks/{8097.3cb1863e.js.map → 8097.303cc868.js.map} +1 -1
  24. package/dist/chunks/{eo-card-item.6b8837ba.js → eo-card-item.c128ddd9.js} +3 -3
  25. package/dist/chunks/{eo-card-item.6b8837ba.js.map → eo-card-item.c128ddd9.js.map} +1 -1
  26. package/dist/chunks/{eo-code-display.3fccf7c5.js → eo-code-display.23568674.js} +2 -2
  27. package/dist/chunks/{eo-code-display.3fccf7c5.js.map → eo-code-display.23568674.js.map} +1 -1
  28. package/dist/chunks/{eo-descriptions.882f1553.js → eo-descriptions.3390f134.js} +3 -3
  29. package/dist/chunks/{eo-descriptions.882f1553.js.map → eo-descriptions.3390f134.js.map} +1 -1
  30. package/dist/chunks/{eo-humanize-time.0507efe9.js → eo-humanize-time.b0f67f9c.js} +2 -2
  31. package/dist/chunks/{eo-humanize-time.0507efe9.js.map → eo-humanize-time.b0f67f9c.js.map} +1 -1
  32. package/dist/chunks/{eo-info-card-item.0ea5a452.js → eo-info-card-item.34f36ba0.js} +3 -3
  33. package/dist/chunks/{eo-info-card-item.0ea5a452.js.map → eo-info-card-item.34f36ba0.js.map} +1 -1
  34. package/dist/chunks/{eo-loading-step.2cd58611.js → eo-loading-step.ef95fb6b.js} +3 -3
  35. package/dist/chunks/{eo-loading-step.2cd58611.js.map → eo-loading-step.ef95fb6b.js.map} +1 -1
  36. package/dist/chunks/{eo-pagination.5f0857f6.js → eo-pagination.1c5a4a58.js} +3 -3
  37. package/dist/chunks/{eo-pagination.5f0857f6.js.map → eo-pagination.1c5a4a58.js.map} +1 -1
  38. package/dist/chunks/main.f9d02114.js +2 -0
  39. package/dist/chunks/main.f9d02114.js.map +1 -0
  40. package/dist/examples.json +6 -6
  41. package/dist/index.a8377313.js +2 -0
  42. package/dist/index.a8377313.js.map +1 -0
  43. package/dist/manifest.json +115 -115
  44. package/dist/types.json +62 -62
  45. package/package.json +2 -2
  46. package/dist/chunks/3413.abeb421d.js +0 -3
  47. package/dist/chunks/3413.abeb421d.js.map +0 -1
  48. package/dist/chunks/5399.4e3829c0.js +0 -2
  49. package/dist/chunks/5399.4e3829c0.js.map +0 -1
  50. package/dist/chunks/6773.f3ad140d.js +0 -2
  51. package/dist/chunks/6773.f3ad140d.js.map +0 -1
  52. package/dist/chunks/main.0b78df1e.js +0 -2
  53. package/dist/chunks/main.0b78df1e.js.map +0 -1
  54. package/dist/index.48033556.js +0 -2
  55. package/dist/index.48033556.js.map +0 -1
  56. /package/dist/chunks/{3413.abeb421d.js.LICENSE.txt → 5009.bbaf3f9b.js.LICENSE.txt} +0 -0
  57. /package/dist/chunks/{eo-card-item.6b8837ba.js.LICENSE.txt → eo-card-item.c128ddd9.js.LICENSE.txt} +0 -0
  58. /package/dist/chunks/{eo-descriptions.882f1553.js.LICENSE.txt → eo-descriptions.3390f134.js.LICENSE.txt} +0 -0
  59. /package/dist/chunks/{eo-info-card-item.0ea5a452.js.LICENSE.txt → eo-info-card-item.34f36ba0.js.LICENSE.txt} +0 -0
  60. /package/dist/chunks/{eo-loading-step.2cd58611.js.LICENSE.txt → eo-loading-step.ef95fb6b.js.LICENSE.txt} +0 -0
  61. /package/dist/chunks/{eo-pagination.5f0857f6.js.LICENSE.txt → eo-pagination.1c5a4a58.js.LICENSE.txt} +0 -0
@@ -118,6 +118,56 @@
118
118
  "description": "告警提示",
119
119
  "category": "display-component"
120
120
  },
121
+ {
122
+ "name": "eo-pagination",
123
+ "properties": [
124
+ {
125
+ "name": "total",
126
+ "description": "数据总数",
127
+ "default": "0",
128
+ "type": "number"
129
+ },
130
+ {
131
+ "name": "page",
132
+ "description": "当前页数",
133
+ "default": "1",
134
+ "type": "number"
135
+ },
136
+ {
137
+ "name": "pageSize",
138
+ "description": "每页条数",
139
+ "default": "20",
140
+ "type": "number"
141
+ },
142
+ {
143
+ "name": "pageSizeOptions",
144
+ "description": "指定每页可以显示多少条",
145
+ "default": "[10, 20, 50, 100]",
146
+ "attribute": false,
147
+ "type": "number[]"
148
+ },
149
+ {
150
+ "name": "showSizeChanger",
151
+ "description": "是否展示`pageSize`分页器",
152
+ "default": "true",
153
+ "type": "boolean"
154
+ }
155
+ ],
156
+ "events": [
157
+ {
158
+ "name": "change",
159
+ "description": "页码及每页条数改变事件",
160
+ "detail": {
161
+ "type": "{ page: number; pageSize: number }"
162
+ }
163
+ }
164
+ ],
165
+ "slots": [],
166
+ "methods": [],
167
+ "parts": [],
168
+ "description": "分页",
169
+ "category": "navigation"
170
+ },
121
171
  {
122
172
  "name": "eo-code-display",
123
173
  "alias": [
@@ -175,56 +225,6 @@
175
225
  "description": "代码展示",
176
226
  "category": "display-component"
177
227
  },
178
- {
179
- "name": "eo-pagination",
180
- "properties": [
181
- {
182
- "name": "total",
183
- "description": "数据总数",
184
- "default": "0",
185
- "type": "number"
186
- },
187
- {
188
- "name": "page",
189
- "description": "当前页数",
190
- "default": "1",
191
- "type": "number"
192
- },
193
- {
194
- "name": "pageSize",
195
- "description": "每页条数",
196
- "default": "20",
197
- "type": "number"
198
- },
199
- {
200
- "name": "pageSizeOptions",
201
- "description": "指定每页可以显示多少条",
202
- "default": "[10, 20, 50, 100]",
203
- "attribute": false,
204
- "type": "number[]"
205
- },
206
- {
207
- "name": "showSizeChanger",
208
- "description": "是否展示`pageSize`分页器",
209
- "default": "true",
210
- "type": "boolean"
211
- }
212
- ],
213
- "events": [
214
- {
215
- "name": "change",
216
- "description": "页码及每页条数改变事件",
217
- "detail": {
218
- "type": "{ page: number; pageSize: number }"
219
- }
220
- }
221
- ],
222
- "slots": [],
223
- "methods": [],
224
- "parts": [],
225
- "description": "分页",
226
- "category": "navigation"
227
- },
228
228
  {
229
229
  "name": "eo-card-item",
230
230
  "properties": [
@@ -441,71 +441,6 @@
441
441
  "description": "信息卡片",
442
442
  "category": "card-info"
443
443
  },
444
- {
445
- "name": "eo-humanize-time",
446
- "alias": [
447
- "presentational.humanize-time"
448
- ],
449
- "properties": [
450
- {
451
- "name": "value",
452
- "description": "时间截,或字符串,当为字符串时,应提供时间格式 `inputFormat`",
453
- "required": true,
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)",
460
- "type": "string"
461
- },
462
- {
463
- "name": "outputFormat",
464
- "description": "展示时间格式,如 \"YYYY-MM-DD\",当设置该属性时,属性 `formatter` 无效 [时间格式参照表](https://day.js.org/docs/en/display/format)",
465
- "type": "string"
466
- },
467
- {
468
- "name": "type",
469
- "description": "使用日期+时间格式输出还是仅日期。",
470
- "default": "\"datetime\"",
471
- "type": "\"datetime\" | \"date\""
472
- },
473
- {
474
- "name": "isCostTime",
475
- "description": "是否展示为耗费时间,例如:'1 个月 20 天'",
476
- "type": "boolean"
477
- },
478
- {
479
- "name": "formatter",
480
- "description": "格式类型",
481
- "default": "\"default\"",
482
- "attribute": false,
483
- "type": "HumanizeTimeFormat"
484
- },
485
- {
486
- "name": "isMicrosecond",
487
- "description": "value 值的单位是否为毫秒(此处属性 id 写错,实际表达意义为 isMillisecond)",
488
- "deprecated": "请使用 `isMillisecond`",
489
- "type": "boolean"
490
- },
491
- {
492
- "name": "isMillisecond",
493
- "description": "value 值的单位是否为毫秒",
494
- "type": "boolean"
495
- },
496
- {
497
- "name": "link",
498
- "description": "跳转链接,默认为空",
499
- "attribute": false,
500
- "type": "LinkInfo"
501
- }
502
- ],
503
- "events": [],
504
- "slots": [],
505
- "methods": [],
506
- "parts": [],
507
- "description": "人性化时间展示,可显示完整时间、相对时间、未来时间、耗时等,支持自定义输入值格式和输出格式。"
508
- },
509
444
  {
510
445
  "name": "eo-statistics-card",
511
446
  "properties": [
@@ -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
@@ -1660,68 +1660,6 @@
1660
1660
  }
1661
1661
  ]
1662
1662
  },
1663
- "eo-code-display": {
1664
- "properties": [
1665
- {
1666
- "name": "value",
1667
- "annotation": {
1668
- "type": "keyword",
1669
- "value": "string"
1670
- }
1671
- },
1672
- {
1673
- "name": "language",
1674
- "annotation": {
1675
- "type": "keyword",
1676
- "value": "string"
1677
- }
1678
- },
1679
- {
1680
- "name": "hideLineNumber",
1681
- "annotation": {
1682
- "type": "keyword",
1683
- "value": "boolean"
1684
- }
1685
- },
1686
- {
1687
- "name": "maxLines",
1688
- "annotation": {
1689
- "type": "keyword",
1690
- "value": "number"
1691
- }
1692
- },
1693
- {
1694
- "name": "minLines",
1695
- "annotation": {
1696
- "type": "keyword",
1697
- "value": "number"
1698
- }
1699
- },
1700
- {
1701
- "name": "showCopyButton",
1702
- "annotation": {
1703
- "type": "keyword",
1704
- "value": "boolean"
1705
- }
1706
- },
1707
- {
1708
- "name": "showExportButton",
1709
- "annotation": {
1710
- "type": "keyword",
1711
- "value": "boolean"
1712
- }
1713
- },
1714
- {
1715
- "name": "exportFileName",
1716
- "annotation": {
1717
- "type": "keyword",
1718
- "value": "string"
1719
- }
1720
- }
1721
- ],
1722
- "events": [],
1723
- "methods": []
1724
- },
1725
1663
  "eo-pagination": {
1726
1664
  "properties": [
1727
1665
  {
@@ -1801,6 +1739,68 @@
1801
1739
  ],
1802
1740
  "methods": []
1803
1741
  },
1742
+ "eo-code-display": {
1743
+ "properties": [
1744
+ {
1745
+ "name": "value",
1746
+ "annotation": {
1747
+ "type": "keyword",
1748
+ "value": "string"
1749
+ }
1750
+ },
1751
+ {
1752
+ "name": "language",
1753
+ "annotation": {
1754
+ "type": "keyword",
1755
+ "value": "string"
1756
+ }
1757
+ },
1758
+ {
1759
+ "name": "hideLineNumber",
1760
+ "annotation": {
1761
+ "type": "keyword",
1762
+ "value": "boolean"
1763
+ }
1764
+ },
1765
+ {
1766
+ "name": "maxLines",
1767
+ "annotation": {
1768
+ "type": "keyword",
1769
+ "value": "number"
1770
+ }
1771
+ },
1772
+ {
1773
+ "name": "minLines",
1774
+ "annotation": {
1775
+ "type": "keyword",
1776
+ "value": "number"
1777
+ }
1778
+ },
1779
+ {
1780
+ "name": "showCopyButton",
1781
+ "annotation": {
1782
+ "type": "keyword",
1783
+ "value": "boolean"
1784
+ }
1785
+ },
1786
+ {
1787
+ "name": "showExportButton",
1788
+ "annotation": {
1789
+ "type": "keyword",
1790
+ "value": "boolean"
1791
+ }
1792
+ },
1793
+ {
1794
+ "name": "exportFileName",
1795
+ "annotation": {
1796
+ "type": "keyword",
1797
+ "value": "string"
1798
+ }
1799
+ }
1800
+ ],
1801
+ "events": [],
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.8",
3
+ "version": "1.10.10",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/presentational",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,5 +44,5 @@
44
44
  "@next-bricks/containers": "*",
45
45
  "@next-bricks/icons": "*"
46
46
  },
47
- "gitHead": "2f5fd846001aac3ce9786f9ef3d78bd543e8f5d3"
47
+ "gitHead": "952a787773d97b38cfc54bf42d429ba9de84eb36"
48
48
  }