@next-bricks/presentational 1.13.2 → 1.13.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.
Files changed (57) hide show
  1. package/dist/bricks.json +24 -24
  2. package/dist/chunks/{3171.4daef470.js → 3171.366c2c0c.js} +2 -2
  3. package/dist/chunks/{5552.f7b81aaa.js.map → 3171.366c2c0c.js.map} +1 -1
  4. package/dist/chunks/{6314.80fdbc22.js → 3933.2d37273c.js} +2 -2
  5. package/dist/chunks/{6314.80fdbc22.js.map → 3933.2d37273c.js.map} +1 -1
  6. package/dist/chunks/{5552.f7b81aaa.js → 5552.edc5674f.js} +2 -2
  7. package/dist/chunks/{3171.4daef470.js.map → 5552.edc5674f.js.map} +1 -1
  8. package/dist/chunks/{3933.25d29199.js → 6314.7b2fefa5.js} +2 -2
  9. package/dist/chunks/{3933.25d29199.js.map → 6314.7b2fefa5.js.map} +1 -1
  10. package/dist/chunks/6773.566c8c4c.js +2 -0
  11. package/dist/chunks/6773.566c8c4c.js.map +1 -0
  12. package/dist/chunks/7082.1d1edd18.js +2 -0
  13. package/dist/chunks/{7082.e77dd3b3.js.map → 7082.1d1edd18.js.map} +1 -1
  14. package/dist/chunks/{8097.49e69e32.js → 8097.4b9a4713.js} +2 -2
  15. package/dist/chunks/{8097.49e69e32.js.map → 8097.4b9a4713.js.map} +1 -1
  16. package/dist/chunks/871.62bceee5.js +2 -0
  17. package/dist/chunks/871.62bceee5.js.map +1 -0
  18. package/dist/chunks/9140.65e7d361.js +3 -0
  19. package/dist/chunks/9140.65e7d361.js.map +1 -0
  20. package/dist/chunks/{eo-card-item.99325012.js → eo-card-item.2e03be51.js} +3 -3
  21. package/dist/chunks/{eo-card-item.99325012.js.map → eo-card-item.2e03be51.js.map} +1 -1
  22. package/dist/chunks/{eo-code-display.cfc4c71d.js → eo-code-display.93f14096.js} +2 -2
  23. package/dist/chunks/{eo-code-display.cfc4c71d.js.map → eo-code-display.93f14096.js.map} +1 -1
  24. package/dist/chunks/{eo-descriptions.e403b0b4.js → eo-descriptions.31594ec1.js} +3 -3
  25. package/dist/chunks/{eo-descriptions.e403b0b4.js.map → eo-descriptions.31594ec1.js.map} +1 -1
  26. package/dist/chunks/{eo-humanize-time.b52dfbc1.js → eo-humanize-time.92a350b7.js} +2 -2
  27. package/dist/chunks/{eo-humanize-time.b52dfbc1.js.map → eo-humanize-time.92a350b7.js.map} +1 -1
  28. package/dist/chunks/{eo-info-card-item.457b9fa7.js → eo-info-card-item.c6caa3f6.js} +3 -3
  29. package/dist/chunks/{eo-info-card-item.457b9fa7.js.map → eo-info-card-item.c6caa3f6.js.map} +1 -1
  30. package/dist/chunks/{eo-loading-step.85b257f5.js → eo-loading-step.8a502bc2.js} +3 -3
  31. package/dist/chunks/{eo-loading-step.85b257f5.js.map → eo-loading-step.8a502bc2.js.map} +1 -1
  32. package/dist/chunks/eo-pagination.c1ee47cb.js +3 -0
  33. package/dist/chunks/{eo-pagination.c46e2149.js.map → eo-pagination.c1ee47cb.js.map} +1 -1
  34. package/dist/chunks/{main.55022358.js → main.47f25a1d.js} +2 -2
  35. package/dist/chunks/main.47f25a1d.js.map +1 -0
  36. package/dist/examples.json +10 -10
  37. package/dist/{index.c278a47a.js → index.0ef8d8df.js} +2 -2
  38. package/dist/index.0ef8d8df.js.map +1 -0
  39. package/dist/manifest.json +189 -189
  40. package/dist/types.json +120 -120
  41. package/package.json +2 -2
  42. package/dist/chunks/6773.fc9122c5.js +0 -2
  43. package/dist/chunks/6773.fc9122c5.js.map +0 -1
  44. package/dist/chunks/7082.e77dd3b3.js +0 -2
  45. package/dist/chunks/871.0325f131.js +0 -2
  46. package/dist/chunks/871.0325f131.js.map +0 -1
  47. package/dist/chunks/9140.4e657bd1.js +0 -3
  48. package/dist/chunks/9140.4e657bd1.js.map +0 -1
  49. package/dist/chunks/eo-pagination.c46e2149.js +0 -3
  50. package/dist/chunks/main.55022358.js.map +0 -1
  51. package/dist/index.c278a47a.js.map +0 -1
  52. /package/dist/chunks/{9140.4e657bd1.js.LICENSE.txt → 9140.65e7d361.js.LICENSE.txt} +0 -0
  53. /package/dist/chunks/{eo-card-item.99325012.js.LICENSE.txt → eo-card-item.2e03be51.js.LICENSE.txt} +0 -0
  54. /package/dist/chunks/{eo-descriptions.e403b0b4.js.LICENSE.txt → eo-descriptions.31594ec1.js.LICENSE.txt} +0 -0
  55. /package/dist/chunks/{eo-info-card-item.457b9fa7.js.LICENSE.txt → eo-info-card-item.c6caa3f6.js.LICENSE.txt} +0 -0
  56. /package/dist/chunks/{eo-loading-step.85b257f5.js.LICENSE.txt → eo-loading-step.8a502bc2.js.LICENSE.txt} +0 -0
  57. /package/dist/chunks/{eo-pagination.c46e2149.js.LICENSE.txt → eo-pagination.c1ee47cb.js.LICENSE.txt} +0 -0
@@ -65,60 +65,62 @@
65
65
  "category": "text"
66
66
  },
67
67
  {
68
- "name": "eo-code-display",
68
+ "name": "eo-alert",
69
69
  "alias": [
70
- "presentational.code-display"
70
+ "presentational.general-alert"
71
71
  ],
72
72
  "properties": [
73
73
  {
74
- "name": "value",
75
- "description": "代码内容",
76
- "default": "\"\"",
77
- "type": "string"
74
+ "name": "type",
75
+ "description": "警告类型",
76
+ "attribute": false,
77
+ "type": "AlertType"
78
78
  },
79
79
  {
80
- "name": "language",
81
- "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
82
- "type": "string"
80
+ "name": "hasTitle",
81
+ "description": "是否显示标题。开启后,可以使用 `title` 插槽",
82
+ "type": "boolean"
83
83
  },
84
84
  {
85
- "name": "hideLineNumber",
86
- "description": "是否隐藏行号",
85
+ "name": "showIcon",
86
+ "description": "是否显示提示图标",
87
87
  "type": "boolean"
88
88
  },
89
89
  {
90
- "name": "maxLines",
91
- "description": "最大行数",
92
- "type": "number"
90
+ "name": "closable",
91
+ "description": "是否显示关闭按钮",
92
+ "type": "boolean"
93
93
  },
94
94
  {
95
- "name": "minLines",
96
- "description": "最小行数",
97
- "type": "number"
95
+ "name": "localStorageKey",
96
+ "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
97
+ "type": "string"
98
98
  },
99
99
  {
100
- "name": "showCopyButton",
101
- "description": "是否显示复制按钮",
102
- "default": "true",
100
+ "name": "disableUrlNamespace",
101
+ "description": "关闭后仅以 `localStorageKey` 作为命名空间",
103
102
  "type": "boolean"
104
103
  },
105
104
  {
106
- "name": "showExportButton",
107
- "description": "是否显示导出按钮",
108
- "type": "boolean"
105
+ "name": "textContent",
106
+ "type": "string",
107
+ "description": "文本内容"
108
+ }
109
+ ],
110
+ "events": [],
111
+ "slots": [
112
+ {
113
+ "name": null,
114
+ "description": "内容区"
109
115
  },
110
116
  {
111
- "name": "exportFileName",
112
- "description": "导出的文件名",
113
- "default": "download.txt",
114
- "type": "string"
117
+ "name": "title",
118
+ "description": "标题"
115
119
  }
116
120
  ],
117
- "events": [],
118
- "slots": [],
119
121
  "methods": [],
120
122
  "parts": [],
121
- "description": "代码展示",
123
+ "description": "告警提示",
122
124
  "category": "display-component"
123
125
  },
124
126
  {
@@ -186,62 +188,60 @@
186
188
  "category": "navigation"
187
189
  },
188
190
  {
189
- "name": "eo-alert",
191
+ "name": "eo-code-display",
190
192
  "alias": [
191
- "presentational.general-alert"
193
+ "presentational.code-display"
192
194
  ],
193
195
  "properties": [
194
196
  {
195
- "name": "type",
196
- "description": "警告类型",
197
- "attribute": false,
198
- "type": "AlertType"
197
+ "name": "value",
198
+ "description": "代码内容",
199
+ "default": "\"\"",
200
+ "type": "string"
199
201
  },
200
202
  {
201
- "name": "hasTitle",
202
- "description": "是否显示标题。开启后,可以使用 `title` 插槽",
203
- "type": "boolean"
203
+ "name": "language",
204
+ "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
205
+ "type": "string"
204
206
  },
205
207
  {
206
- "name": "showIcon",
207
- "description": "是否显示提示图标",
208
+ "name": "hideLineNumber",
209
+ "description": "是否隐藏行号",
208
210
  "type": "boolean"
209
211
  },
210
212
  {
211
- "name": "closable",
212
- "description": "是否显示关闭按钮",
213
- "type": "boolean"
213
+ "name": "maxLines",
214
+ "description": "最大行数",
215
+ "type": "number"
214
216
  },
215
217
  {
216
- "name": "localStorageKey",
217
- "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
218
- "type": "string"
218
+ "name": "minLines",
219
+ "description": "最小行数",
220
+ "type": "number"
219
221
  },
220
222
  {
221
- "name": "disableUrlNamespace",
222
- "description": "关闭后仅以 `localStorageKey` 作为命名空间",
223
+ "name": "showCopyButton",
224
+ "description": "是否显示复制按钮",
225
+ "default": "true",
223
226
  "type": "boolean"
224
227
  },
225
228
  {
226
- "name": "textContent",
227
- "type": "string",
228
- "description": "文本内容"
229
- }
230
- ],
231
- "events": [],
232
- "slots": [
233
- {
234
- "name": null,
235
- "description": "内容区"
229
+ "name": "showExportButton",
230
+ "description": "是否显示导出按钮",
231
+ "type": "boolean"
236
232
  },
237
233
  {
238
- "name": "title",
239
- "description": "标题"
234
+ "name": "exportFileName",
235
+ "description": "导出的文件名",
236
+ "default": "download.txt",
237
+ "type": "string"
240
238
  }
241
239
  ],
240
+ "events": [],
241
+ "slots": [],
242
242
  "methods": [],
243
243
  "parts": [],
244
- "description": "告警提示",
244
+ "description": "代码展示",
245
245
  "category": "display-component"
246
246
  },
247
247
  {
@@ -460,71 +460,6 @@
460
460
  "description": "信息卡片",
461
461
  "category": "card-info"
462
462
  },
463
- {
464
- "name": "eo-humanize-time",
465
- "alias": [
466
- "presentational.humanize-time"
467
- ],
468
- "properties": [
469
- {
470
- "name": "value",
471
- "description": "时间截,或字符串,当为字符串时,应提供时间格式 `inputFormat`",
472
- "required": true,
473
- "attribute": false,
474
- "type": "number | string"
475
- },
476
- {
477
- "name": "inputFormat",
478
- "description": "字符串的时间格式,如 \"YYYY-MM-DD\", [时间格式参照表](https://day.js.org/docs/en/parse/string-format)",
479
- "type": "string"
480
- },
481
- {
482
- "name": "outputFormat",
483
- "description": "展示时间格式,如 \"YYYY-MM-DD\",当设置该属性时,属性 `formatter` 无效 [时间格式参照表](https://day.js.org/docs/en/display/format)",
484
- "type": "string"
485
- },
486
- {
487
- "name": "type",
488
- "description": "使用日期+时间格式输出还是仅日期。",
489
- "default": "\"datetime\"",
490
- "type": "\"datetime\" | \"date\""
491
- },
492
- {
493
- "name": "isCostTime",
494
- "description": "是否展示为耗费时间,例如:'1 个月 20 天'",
495
- "type": "boolean"
496
- },
497
- {
498
- "name": "formatter",
499
- "description": "格式类型",
500
- "default": "\"default\"",
501
- "attribute": false,
502
- "type": "HumanizeTimeFormat"
503
- },
504
- {
505
- "name": "isMicrosecond",
506
- "description": "value 值的单位是否为毫秒(此处属性 id 写错,实际表达意义为 isMillisecond)",
507
- "deprecated": "请使用 `isMillisecond`",
508
- "type": "boolean"
509
- },
510
- {
511
- "name": "isMillisecond",
512
- "description": "value 值的单位是否为毫秒",
513
- "type": "boolean"
514
- },
515
- {
516
- "name": "link",
517
- "description": "跳转链接,默认为空",
518
- "attribute": false,
519
- "type": "LinkInfo"
520
- }
521
- ],
522
- "events": [],
523
- "slots": [],
524
- "methods": [],
525
- "parts": [],
526
- "description": "人性化时间展示,可显示完整时间、相对时间、未来时间、耗时等,支持自定义输入值格式和输出格式。"
527
- },
528
463
  {
529
464
  "name": "eo-statistics-card",
530
465
  "properties": [
@@ -615,68 +550,6 @@
615
550
  "parts": [],
616
551
  "description": "统计卡片"
617
552
  },
618
- {
619
- "name": "eo-current-time",
620
- "properties": [
621
- {
622
- "name": "format",
623
- "description": "时间格式",
624
- "default": "\"YYYY-MM-DD HH:mm:ss\"",
625
- "type": "string"
626
- },
627
- {
628
- "name": "icon",
629
- "description": "前置图标",
630
- "attribute": false,
631
- "type": "GeneralIconProps"
632
- }
633
- ],
634
- "events": [],
635
- "slots": [],
636
- "methods": [],
637
- "parts": [],
638
- "description": "构件 `eo-current-time`"
639
- },
640
- {
641
- "name": "eo-carousel-text",
642
- "properties": [
643
- {
644
- "name": "text",
645
- "description": "展示内容",
646
- "default": "\"\"",
647
- "type": "string"
648
- },
649
- {
650
- "name": "containerWidth",
651
- "description": "容器宽度",
652
- "default": "\"100%\"",
653
- "type": "CSSProperties[\"width\"]"
654
- },
655
- {
656
- "name": "fontSize",
657
- "description": "字体大小",
658
- "default": "\"var(--normal-font-size)\"",
659
- "type": "CSSProperties[\"fontSize\"]"
660
- },
661
- {
662
- "name": "fontColor",
663
- "description": "字体颜色",
664
- "default": "\"var(--text-color-default)\"",
665
- "type": "CSSProperties[\"color\"]"
666
- },
667
- {
668
- "name": "speed",
669
- "description": "移动速度,单位 px/s",
670
- "default": "100",
671
- "type": "number"
672
- }
673
- ],
674
- "events": [],
675
- "slots": [],
676
- "methods": [],
677
- "parts": [],
678
- "description": "构件 `eo-carousel-text`"
679
- },
680
553
  {
681
554
  "name": "eo-loading-step",
682
555
  "properties": [
@@ -740,6 +613,133 @@
740
613
  ],
741
614
  "parts": [],
742
615
  "description": "加载步骤框"
616
+ },
617
+ {
618
+ "name": "eo-humanize-time",
619
+ "alias": [
620
+ "presentational.humanize-time"
621
+ ],
622
+ "properties": [
623
+ {
624
+ "name": "value",
625
+ "description": "时间截,或字符串,当为字符串时,应提供时间格式 `inputFormat`",
626
+ "required": true,
627
+ "attribute": false,
628
+ "type": "number | string"
629
+ },
630
+ {
631
+ "name": "inputFormat",
632
+ "description": "字符串的时间格式,如 \"YYYY-MM-DD\", [时间格式参照表](https://day.js.org/docs/en/parse/string-format)",
633
+ "type": "string"
634
+ },
635
+ {
636
+ "name": "outputFormat",
637
+ "description": "展示时间格式,如 \"YYYY-MM-DD\",当设置该属性时,属性 `formatter` 无效 [时间格式参照表](https://day.js.org/docs/en/display/format)",
638
+ "type": "string"
639
+ },
640
+ {
641
+ "name": "type",
642
+ "description": "使用日期+时间格式输出还是仅日期。",
643
+ "default": "\"datetime\"",
644
+ "type": "\"datetime\" | \"date\""
645
+ },
646
+ {
647
+ "name": "isCostTime",
648
+ "description": "是否展示为耗费时间,例如:'1 个月 20 天'",
649
+ "type": "boolean"
650
+ },
651
+ {
652
+ "name": "formatter",
653
+ "description": "格式类型",
654
+ "default": "\"default\"",
655
+ "attribute": false,
656
+ "type": "HumanizeTimeFormat"
657
+ },
658
+ {
659
+ "name": "isMicrosecond",
660
+ "description": "value 值的单位是否为毫秒(此处属性 id 写错,实际表达意义为 isMillisecond)",
661
+ "deprecated": "请使用 `isMillisecond`",
662
+ "type": "boolean"
663
+ },
664
+ {
665
+ "name": "isMillisecond",
666
+ "description": "value 值的单位是否为毫秒",
667
+ "type": "boolean"
668
+ },
669
+ {
670
+ "name": "link",
671
+ "description": "跳转链接,默认为空",
672
+ "attribute": false,
673
+ "type": "LinkInfo"
674
+ }
675
+ ],
676
+ "events": [],
677
+ "slots": [],
678
+ "methods": [],
679
+ "parts": [],
680
+ "description": "人性化时间展示,可显示完整时间、相对时间、未来时间、耗时等,支持自定义输入值格式和输出格式。"
681
+ },
682
+ {
683
+ "name": "eo-current-time",
684
+ "properties": [
685
+ {
686
+ "name": "format",
687
+ "description": "时间格式",
688
+ "default": "\"YYYY-MM-DD HH:mm:ss\"",
689
+ "type": "string"
690
+ },
691
+ {
692
+ "name": "icon",
693
+ "description": "前置图标",
694
+ "attribute": false,
695
+ "type": "GeneralIconProps"
696
+ }
697
+ ],
698
+ "events": [],
699
+ "slots": [],
700
+ "methods": [],
701
+ "parts": [],
702
+ "description": "构件 `eo-current-time`"
703
+ },
704
+ {
705
+ "name": "eo-carousel-text",
706
+ "properties": [
707
+ {
708
+ "name": "text",
709
+ "description": "展示内容",
710
+ "default": "\"\"",
711
+ "type": "string"
712
+ },
713
+ {
714
+ "name": "containerWidth",
715
+ "description": "容器宽度",
716
+ "default": "\"100%\"",
717
+ "type": "CSSProperties[\"width\"]"
718
+ },
719
+ {
720
+ "name": "fontSize",
721
+ "description": "字体大小",
722
+ "default": "\"var(--normal-font-size)\"",
723
+ "type": "CSSProperties[\"fontSize\"]"
724
+ },
725
+ {
726
+ "name": "fontColor",
727
+ "description": "字体颜色",
728
+ "default": "\"var(--text-color-default)\"",
729
+ "type": "CSSProperties[\"color\"]"
730
+ },
731
+ {
732
+ "name": "speed",
733
+ "description": "移动速度,单位 px/s",
734
+ "default": "100",
735
+ "type": "number"
736
+ }
737
+ ],
738
+ "events": [],
739
+ "slots": [],
740
+ "methods": [],
741
+ "parts": [],
742
+ "description": "构件 `eo-carousel-text`"
743
743
  }
744
744
  ],
745
745
  "providers": []