@next-bricks/presentational 1.13.3 → 1.13.5

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 (74) hide show
  1. package/dist/bricks.json +24 -24
  2. package/dist/chunks/{114.b8b698e0.js → 114.1c7311ae.js} +2 -2
  3. package/dist/chunks/{114.b8b698e0.js.map → 114.1c7311ae.js.map} +1 -1
  4. package/dist/chunks/{5552.edc5674f.js → 3171.f590784a.js} +2 -2
  5. package/dist/chunks/{5552.edc5674f.js.map → 3171.f590784a.js.map} +1 -1
  6. package/dist/chunks/{3933.2d37273c.js → 3933.64cbd609.js} +2 -2
  7. package/dist/chunks/{3933.2d37273c.js.map → 3933.64cbd609.js.map} +1 -1
  8. package/dist/chunks/{7218.7700d085.js → 4837.dc61e345.js} +2 -2
  9. package/dist/chunks/{4837.0736e17e.js.map → 4837.dc61e345.js.map} +1 -1
  10. package/dist/chunks/{3171.366c2c0c.js → 5552.cb20f8c5.js} +2 -2
  11. package/dist/chunks/{3171.366c2c0c.js.map → 5552.cb20f8c5.js.map} +1 -1
  12. package/dist/chunks/{6314.7b2fefa5.js → 6314.f0e17bd7.js} +2 -2
  13. package/dist/chunks/{6314.7b2fefa5.js.map → 6314.f0e17bd7.js.map} +1 -1
  14. package/dist/chunks/7082.ff332c51.js +2 -0
  15. package/dist/chunks/7082.ff332c51.js.map +1 -0
  16. package/dist/chunks/{4837.0736e17e.js → 7218.0fbf3fe9.js} +2 -2
  17. package/dist/chunks/{7218.7700d085.js.map → 7218.0fbf3fe9.js.map} +1 -1
  18. package/dist/chunks/{7733.eaa2a1bc.js → 7733.e71133ff.js} +2 -2
  19. package/dist/chunks/{7733.eaa2a1bc.js.map → 7733.e71133ff.js.map} +1 -1
  20. package/dist/chunks/{8097.4b9a4713.js → 8097.f48a66dc.js} +2 -2
  21. package/dist/chunks/{8097.4b9a4713.js.map → 8097.f48a66dc.js.map} +1 -1
  22. package/dist/chunks/{9140.65e7d361.js → 9140.a5160608.js} +3 -3
  23. package/dist/chunks/9140.a5160608.js.map +1 -0
  24. package/dist/chunks/{eo-alert.2fb67c84.js → eo-alert.0f3e7944.js} +3 -3
  25. package/dist/chunks/{eo-alert.2fb67c84.js.map → eo-alert.0f3e7944.js.map} +1 -1
  26. package/dist/chunks/eo-card-item.22045fe8.js +3 -0
  27. package/dist/chunks/eo-card-item.22045fe8.js.map +1 -0
  28. package/dist/chunks/{eo-carousel-text.80ad9796.js → eo-carousel-text.b0e3ca7c.js} +2 -2
  29. package/dist/chunks/{eo-carousel-text.80ad9796.js.map → eo-carousel-text.b0e3ca7c.js.map} +1 -1
  30. package/dist/chunks/{eo-code-display.93f14096.js → eo-code-display.c96366aa.js} +2 -2
  31. package/dist/chunks/{eo-code-display.93f14096.js.map → eo-code-display.c96366aa.js.map} +1 -1
  32. package/dist/chunks/{eo-current-time.97b5b6e0.js → eo-current-time.28667a90.js} +2 -2
  33. package/dist/chunks/{eo-current-time.97b5b6e0.js.map → eo-current-time.28667a90.js.map} +1 -1
  34. package/dist/chunks/{eo-descriptions.31594ec1.js → eo-descriptions.ef1ece9b.js} +3 -3
  35. package/dist/chunks/{eo-descriptions.31594ec1.js.map → eo-descriptions.ef1ece9b.js.map} +1 -1
  36. package/dist/chunks/{eo-divider.65965caf.js → eo-divider.f669534e.js} +3 -3
  37. package/dist/chunks/{eo-divider.65965caf.js.map → eo-divider.f669534e.js.map} +1 -1
  38. package/dist/chunks/{eo-humanize-time.92a350b7.js → eo-humanize-time.0bca81b4.js} +2 -2
  39. package/dist/chunks/{eo-humanize-time.92a350b7.js.map → eo-humanize-time.0bca81b4.js.map} +1 -1
  40. package/dist/chunks/{eo-info-card-item.c6caa3f6.js → eo-info-card-item.3d8f762f.js} +3 -3
  41. package/dist/chunks/{eo-info-card-item.c6caa3f6.js.map → eo-info-card-item.3d8f762f.js.map} +1 -1
  42. package/dist/chunks/{eo-loading-step.8a502bc2.js → eo-loading-step.a646bbfd.js} +3 -3
  43. package/dist/chunks/{eo-loading-step.8a502bc2.js.map → eo-loading-step.a646bbfd.js.map} +1 -1
  44. package/dist/chunks/eo-pagination.3cc8c286.js +3 -0
  45. package/dist/chunks/{eo-pagination.c1ee47cb.js.map → eo-pagination.3cc8c286.js.map} +1 -1
  46. package/dist/chunks/{eo-statistics-card.454d5a07.js → eo-statistics-card.c6317452.js} +2 -2
  47. package/dist/chunks/{eo-statistics-card.454d5a07.js.map → eo-statistics-card.c6317452.js.map} +1 -1
  48. package/dist/chunks/main.f3cf3a33.js +2 -0
  49. package/dist/chunks/main.f3cf3a33.js.map +1 -0
  50. package/dist/examples.json +10 -10
  51. package/dist/index.9ec9a507.js +2 -0
  52. package/dist/index.9ec9a507.js.map +1 -0
  53. package/dist/manifest.json +179 -173
  54. package/dist/types.json +200 -183
  55. package/dist-types/card-item/index.d.ts +5 -0
  56. package/package.json +4 -4
  57. package/dist/chunks/7082.1d1edd18.js +0 -2
  58. package/dist/chunks/7082.1d1edd18.js.map +0 -1
  59. package/dist/chunks/9140.65e7d361.js.map +0 -1
  60. package/dist/chunks/eo-card-item.2e03be51.js +0 -3
  61. package/dist/chunks/eo-card-item.2e03be51.js.map +0 -1
  62. package/dist/chunks/eo-pagination.c1ee47cb.js +0 -3
  63. package/dist/chunks/main.47f25a1d.js +0 -2
  64. package/dist/chunks/main.47f25a1d.js.map +0 -1
  65. package/dist/index.0ef8d8df.js +0 -2
  66. package/dist/index.0ef8d8df.js.map +0 -1
  67. /package/dist/chunks/{9140.65e7d361.js.LICENSE.txt → 9140.a5160608.js.LICENSE.txt} +0 -0
  68. /package/dist/chunks/{eo-alert.2fb67c84.js.LICENSE.txt → eo-alert.0f3e7944.js.LICENSE.txt} +0 -0
  69. /package/dist/chunks/{eo-card-item.2e03be51.js.LICENSE.txt → eo-card-item.22045fe8.js.LICENSE.txt} +0 -0
  70. /package/dist/chunks/{eo-descriptions.31594ec1.js.LICENSE.txt → eo-descriptions.ef1ece9b.js.LICENSE.txt} +0 -0
  71. /package/dist/chunks/{eo-divider.65965caf.js.LICENSE.txt → eo-divider.f669534e.js.LICENSE.txt} +0 -0
  72. /package/dist/chunks/{eo-info-card-item.c6caa3f6.js.LICENSE.txt → eo-info-card-item.3d8f762f.js.LICENSE.txt} +0 -0
  73. /package/dist/chunks/{eo-loading-step.8a502bc2.js.LICENSE.txt → eo-loading-step.a646bbfd.js.LICENSE.txt} +0 -0
  74. /package/dist/chunks/{eo-pagination.c1ee47cb.js.LICENSE.txt → eo-pagination.3cc8c286.js.LICENSE.txt} +0 -0
@@ -64,6 +64,63 @@
64
64
  "description": "通用描述列表构件",
65
65
  "category": "text"
66
66
  },
67
+ {
68
+ "name": "eo-code-display",
69
+ "alias": [
70
+ "presentational.code-display"
71
+ ],
72
+ "properties": [
73
+ {
74
+ "name": "value",
75
+ "description": "代码内容",
76
+ "default": "\"\"",
77
+ "type": "string"
78
+ },
79
+ {
80
+ "name": "language",
81
+ "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
82
+ "type": "string"
83
+ },
84
+ {
85
+ "name": "hideLineNumber",
86
+ "description": "是否隐藏行号",
87
+ "type": "boolean"
88
+ },
89
+ {
90
+ "name": "maxLines",
91
+ "description": "最大行数",
92
+ "type": "number"
93
+ },
94
+ {
95
+ "name": "minLines",
96
+ "description": "最小行数",
97
+ "type": "number"
98
+ },
99
+ {
100
+ "name": "showCopyButton",
101
+ "description": "是否显示复制按钮",
102
+ "default": "true",
103
+ "type": "boolean"
104
+ },
105
+ {
106
+ "name": "showExportButton",
107
+ "description": "是否显示导出按钮",
108
+ "type": "boolean"
109
+ },
110
+ {
111
+ "name": "exportFileName",
112
+ "description": "导出的文件名",
113
+ "default": "download.txt",
114
+ "type": "string"
115
+ }
116
+ ],
117
+ "events": [],
118
+ "slots": [],
119
+ "methods": [],
120
+ "parts": [],
121
+ "description": "代码展示",
122
+ "category": "display-component"
123
+ },
67
124
  {
68
125
  "name": "eo-alert",
69
126
  "alias": [
@@ -187,63 +244,6 @@
187
244
  "description": "分页",
188
245
  "category": "navigation"
189
246
  },
190
- {
191
- "name": "eo-code-display",
192
- "alias": [
193
- "presentational.code-display"
194
- ],
195
- "properties": [
196
- {
197
- "name": "value",
198
- "description": "代码内容",
199
- "default": "\"\"",
200
- "type": "string"
201
- },
202
- {
203
- "name": "language",
204
- "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
205
- "type": "string"
206
- },
207
- {
208
- "name": "hideLineNumber",
209
- "description": "是否隐藏行号",
210
- "type": "boolean"
211
- },
212
- {
213
- "name": "maxLines",
214
- "description": "最大行数",
215
- "type": "number"
216
- },
217
- {
218
- "name": "minLines",
219
- "description": "最小行数",
220
- "type": "number"
221
- },
222
- {
223
- "name": "showCopyButton",
224
- "description": "是否显示复制按钮",
225
- "default": "true",
226
- "type": "boolean"
227
- },
228
- {
229
- "name": "showExportButton",
230
- "description": "是否显示导出按钮",
231
- "type": "boolean"
232
- },
233
- {
234
- "name": "exportFileName",
235
- "description": "导出的文件名",
236
- "default": "download.txt",
237
- "type": "string"
238
- }
239
- ],
240
- "events": [],
241
- "slots": [],
242
- "methods": [],
243
- "parts": [],
244
- "description": "代码展示",
245
- "category": "display-component"
246
- },
247
247
  {
248
248
  "name": "eo-card-item",
249
249
  "properties": [
@@ -349,6 +349,12 @@
349
349
  "description": "卡片样式",
350
350
  "attribute": false,
351
351
  "type": "React.CSSProperties"
352
+ },
353
+ {
354
+ "name": "cardTitleStyle",
355
+ "description": "卡片标题样式",
356
+ "attribute": false,
357
+ "type": "React.CSSProperties"
352
358
  }
353
359
  ],
354
360
  "events": [
@@ -461,94 +467,69 @@
461
467
  "category": "card-info"
462
468
  },
463
469
  {
464
- "name": "eo-statistics-card",
470
+ "name": "eo-humanize-time",
471
+ "alias": [
472
+ "presentational.humanize-time"
473
+ ],
465
474
  "properties": [
466
- {
467
- "name": "cardTitle",
468
- "description": "卡片标题",
469
- "type": "string"
470
- },
471
475
  {
472
476
  "name": "value",
473
- "description": "",
474
- "type": "string"
475
- },
476
- {
477
- "name": "unit",
478
- "description": "单位",
479
- "type": "string"
480
- },
481
- {
482
- "name": "icon",
483
- "description": "图标",
477
+ "description": "时间截,或字符串,当为字符串时,应提供时间格式 `inputFormat`",
478
+ "required": true,
484
479
  "attribute": false,
485
- "type": "EoStatisticsCardProps[\"icon\"]"
486
- },
487
- {
488
- "name": "size",
489
- "description": "尺寸",
490
- "default": "\"medium\"",
491
- "type": "\"large\" | \"medium\" | \"small\""
492
- },
493
- {
494
- "name": "outline",
495
- "description": "卡片轮廓",
496
- "default": "\"border\"",
497
- "type": "\"border\" | \"background\" | \"none\""
480
+ "type": "number | string"
498
481
  },
499
482
  {
500
- "name": "background",
501
- "description": "背景",
483
+ "name": "inputFormat",
484
+ "description": "字符串的时间格式,如 \"YYYY-MM-DD\", [时间格式参照表](https://day.js.org/docs/en/parse/string-format)",
502
485
  "type": "string"
503
486
  },
504
487
  {
505
- "name": "descriptionPosition",
506
- "description": "描述位置",
507
- "default": "\"bottom\"",
508
- "type": "\"bottom\" | \"right\""
488
+ "name": "outputFormat",
489
+ "description": "展示时间格式,如 \"YYYY-MM-DD\",当设置该属性时,属性 `formatter` 无效 [时间格式参照表](https://day.js.org/docs/en/display/format)",
490
+ "type": "string"
509
491
  },
510
492
  {
511
- "name": "valueStyle",
512
- "description": "值样式",
513
- "attribute": false,
514
- "type": "React.CSSProperties"
493
+ "name": "type",
494
+ "description": "使用日期+时间格式输出还是仅日期。",
495
+ "default": "\"datetime\"",
496
+ "type": "\"datetime\" | \"date\""
515
497
  },
516
498
  {
517
- "name": "interactable",
518
- "description": "是否可互动",
499
+ "name": "isCostTime",
500
+ "description": "是否展示为耗费时间,例如:'1 个月 20 天'",
519
501
  "type": "boolean"
520
- }
521
- ],
522
- "events": [],
523
- "slots": [
524
- {
525
- "name": "titlePrefix",
526
- "description": "标题前缀,放置辅助信息"
527
- },
528
- {
529
- "name": "titleSuffix",
530
- "description": "标题前缀,放置辅助信息"
531
502
  },
532
503
  {
533
- "name": "description",
534
- "description": "描述信息,通常是对于统计值的描述"
504
+ "name": "formatter",
505
+ "description": "格式类型",
506
+ "default": "\"default\"",
507
+ "attribute": false,
508
+ "type": "HumanizeTimeFormat"
535
509
  },
536
510
  {
537
- "name": "basicContent",
538
- "description": "卡片右侧内容区,适合放置迷你图表,常用于小卡片"
511
+ "name": "isMicrosecond",
512
+ "description": "value 值的单位是否为毫秒(此处属性 id 写错,实际表达意义为 isMillisecond)",
513
+ "deprecated": "请使用 `isMillisecond`",
514
+ "type": "boolean"
539
515
  },
540
516
  {
541
- "name": "extraContent",
542
- "description": "卡片下方内容区,适合放置图表,用于展示更多信息的场景"
517
+ "name": "isMillisecond",
518
+ "description": "value 值的单位是否为毫秒",
519
+ "type": "boolean"
543
520
  },
544
521
  {
545
- "name": "operator",
546
- "description": "右上角操作区"
522
+ "name": "link",
523
+ "description": "跳转链接,默认为空",
524
+ "attribute": false,
525
+ "type": "LinkInfo"
547
526
  }
548
527
  ],
528
+ "events": [],
529
+ "slots": [],
549
530
  "methods": [],
550
531
  "parts": [],
551
- "description": "统计卡片"
532
+ "description": "人性化时间展示,可显示完整时间、相对时间、未来时间、耗时等,支持自定义输入值格式和输出格式。"
552
533
  },
553
534
  {
554
535
  "name": "eo-loading-step",
@@ -615,91 +596,94 @@
615
596
  "description": "加载步骤框"
616
597
  },
617
598
  {
618
- "name": "eo-humanize-time",
619
- "alias": [
620
- "presentational.humanize-time"
621
- ],
599
+ "name": "eo-statistics-card",
622
600
  "properties": [
623
601
  {
624
- "name": "value",
625
- "description": "时间截,或字符串,当为字符串时,应提供时间格式 `inputFormat`",
626
- "required": true,
627
- "attribute": false,
628
- "type": "number | string"
602
+ "name": "cardTitle",
603
+ "description": "卡片标题",
604
+ "type": "string"
629
605
  },
630
606
  {
631
- "name": "inputFormat",
632
- "description": "字符串的时间格式,如 \"YYYY-MM-DD\", [时间格式参照表](https://day.js.org/docs/en/parse/string-format)",
607
+ "name": "value",
608
+ "description": "",
633
609
  "type": "string"
634
610
  },
635
611
  {
636
- "name": "outputFormat",
637
- "description": "展示时间格式,如 \"YYYY-MM-DD\",当设置该属性时,属性 `formatter` 无效 [时间格式参照表](https://day.js.org/docs/en/display/format)",
612
+ "name": "unit",
613
+ "description": "单位",
638
614
  "type": "string"
639
615
  },
640
616
  {
641
- "name": "type",
642
- "description": "使用日期+时间格式输出还是仅日期。",
643
- "default": "\"datetime\"",
644
- "type": "\"datetime\" | \"date\""
617
+ "name": "icon",
618
+ "description": "图标",
619
+ "attribute": false,
620
+ "type": "EoStatisticsCardProps[\"icon\"]"
645
621
  },
646
622
  {
647
- "name": "isCostTime",
648
- "description": "是否展示为耗费时间,例如:'1 个月 20 天'",
649
- "type": "boolean"
623
+ "name": "size",
624
+ "description": "尺寸",
625
+ "default": "\"medium\"",
626
+ "type": "\"large\" | \"medium\" | \"small\""
650
627
  },
651
628
  {
652
- "name": "formatter",
653
- "description": "格式类型",
654
- "default": "\"default\"",
655
- "attribute": false,
656
- "type": "HumanizeTimeFormat"
629
+ "name": "outline",
630
+ "description": "卡片轮廓",
631
+ "default": "\"border\"",
632
+ "type": "\"border\" | \"background\" | \"none\""
657
633
  },
658
634
  {
659
- "name": "isMicrosecond",
660
- "description": "value 值的单位是否为毫秒(此处属性 id 写错,实际表达意义为 isMillisecond)",
661
- "deprecated": "请使用 `isMillisecond`",
662
- "type": "boolean"
635
+ "name": "background",
636
+ "description": "背景",
637
+ "type": "string"
663
638
  },
664
639
  {
665
- "name": "isMillisecond",
666
- "description": "value 值的单位是否为毫秒",
667
- "type": "boolean"
640
+ "name": "descriptionPosition",
641
+ "description": "描述位置",
642
+ "default": "\"bottom\"",
643
+ "type": "\"bottom\" | \"right\""
668
644
  },
669
645
  {
670
- "name": "link",
671
- "description": "跳转链接,默认为空",
646
+ "name": "valueStyle",
647
+ "description": "值样式",
672
648
  "attribute": false,
673
- "type": "LinkInfo"
649
+ "type": "React.CSSProperties"
650
+ },
651
+ {
652
+ "name": "interactable",
653
+ "description": "是否可互动",
654
+ "type": "boolean"
674
655
  }
675
656
  ],
676
657
  "events": [],
677
- "slots": [],
678
- "methods": [],
679
- "parts": [],
680
- "description": "人性化时间展示,可显示完整时间、相对时间、未来时间、耗时等,支持自定义输入值格式和输出格式。"
681
- },
682
- {
683
- "name": "eo-current-time",
684
- "properties": [
658
+ "slots": [
685
659
  {
686
- "name": "format",
687
- "description": "时间格式",
688
- "default": "\"YYYY-MM-DD HH:mm:ss\"",
689
- "type": "string"
660
+ "name": "titlePrefix",
661
+ "description": "标题前缀,放置辅助信息"
690
662
  },
691
663
  {
692
- "name": "icon",
693
- "description": "前置图标",
694
- "attribute": false,
695
- "type": "GeneralIconProps"
664
+ "name": "titleSuffix",
665
+ "description": "标题前缀,放置辅助信息"
666
+ },
667
+ {
668
+ "name": "description",
669
+ "description": "描述信息,通常是对于统计值的描述"
670
+ },
671
+ {
672
+ "name": "basicContent",
673
+ "description": "卡片右侧内容区,适合放置迷你图表,常用于小卡片"
674
+ },
675
+ {
676
+ "name": "extraContent",
677
+ "description": "卡片下方内容区,适合放置图表,用于展示更多信息的场景"
678
+ },
679
+ {
680
+ "name": "operator",
681
+ "description": "右上角操作区"
696
682
  }
697
683
  ],
698
- "events": [],
699
- "slots": [],
700
684
  "methods": [],
701
685
  "parts": [],
702
- "description": "构件 `eo-current-time`"
686
+ "description": "统计卡片"
703
687
  },
704
688
  {
705
689
  "name": "eo-carousel-text",
@@ -740,6 +724,28 @@
740
724
  "methods": [],
741
725
  "parts": [],
742
726
  "description": "构件 `eo-carousel-text`"
727
+ },
728
+ {
729
+ "name": "eo-current-time",
730
+ "properties": [
731
+ {
732
+ "name": "format",
733
+ "description": "时间格式",
734
+ "default": "\"YYYY-MM-DD HH:mm:ss\"",
735
+ "type": "string"
736
+ },
737
+ {
738
+ "name": "icon",
739
+ "description": "前置图标",
740
+ "attribute": false,
741
+ "type": "GeneralIconProps"
742
+ }
743
+ ],
744
+ "events": [],
745
+ "slots": [],
746
+ "methods": [],
747
+ "parts": [],
748
+ "description": "构件 `eo-current-time`"
743
749
  }
744
750
  ],
745
751
  "providers": []