@next-bricks/presentational 1.12.4 → 1.12.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 (32) hide show
  1. package/dist/bricks.json +25 -25
  2. package/dist/chunks/4185.a12b48a8.js +3 -0
  3. package/dist/chunks/4185.a12b48a8.js.map +1 -0
  4. package/dist/chunks/{7082.d6a7b628.js → 7082.bcdbed6b.js} +2 -2
  5. package/dist/chunks/{7082.d6a7b628.js.map → 7082.bcdbed6b.js.map} +1 -1
  6. package/dist/chunks/{eo-card-item.e7f1e7e4.js → eo-card-item.d2b19a47.js} +3 -3
  7. package/dist/chunks/{eo-card-item.e7f1e7e4.js.map → eo-card-item.d2b19a47.js.map} +1 -1
  8. package/dist/chunks/{eo-descriptions.ff76ecc8.js → eo-descriptions.2d616ee9.js} +3 -3
  9. package/dist/chunks/{eo-descriptions.ff76ecc8.js.map → eo-descriptions.2d616ee9.js.map} +1 -1
  10. package/dist/chunks/{eo-info-card-item.b348374e.js → eo-info-card-item.95316172.js} +3 -3
  11. package/dist/chunks/{eo-info-card-item.b348374e.js.map → eo-info-card-item.95316172.js.map} +1 -1
  12. package/dist/chunks/{eo-loading-step.505b64b4.js → eo-loading-step.f1c3cda6.js} +3 -3
  13. package/dist/chunks/{eo-loading-step.505b64b4.js.map → eo-loading-step.f1c3cda6.js.map} +1 -1
  14. package/dist/chunks/main.31905ce9.js +2 -0
  15. package/dist/chunks/main.31905ce9.js.map +1 -0
  16. package/dist/examples.json +12 -12
  17. package/dist/index.bbce755d.js +2 -0
  18. package/dist/index.bbce755d.js.map +1 -0
  19. package/dist/manifest.json +303 -303
  20. package/dist/types.json +662 -662
  21. package/package.json +2 -2
  22. package/dist/chunks/4185.d75ff5bd.js +0 -3
  23. package/dist/chunks/4185.d75ff5bd.js.map +0 -1
  24. package/dist/chunks/main.66e9c68e.js +0 -2
  25. package/dist/chunks/main.66e9c68e.js.map +0 -1
  26. package/dist/index.dd90f74b.js +0 -2
  27. package/dist/index.dd90f74b.js.map +0 -1
  28. /package/dist/chunks/{4185.d75ff5bd.js.LICENSE.txt → 4185.a12b48a8.js.LICENSE.txt} +0 -0
  29. /package/dist/chunks/{eo-card-item.e7f1e7e4.js.LICENSE.txt → eo-card-item.d2b19a47.js.LICENSE.txt} +0 -0
  30. /package/dist/chunks/{eo-descriptions.ff76ecc8.js.LICENSE.txt → eo-descriptions.2d616ee9.js.LICENSE.txt} +0 -0
  31. /package/dist/chunks/{eo-info-card-item.b348374e.js.LICENSE.txt → eo-info-card-item.95316172.js.LICENSE.txt} +0 -0
  32. /package/dist/chunks/{eo-loading-step.505b64b4.js.LICENSE.txt → eo-loading-step.f1c3cda6.js.LICENSE.txt} +0 -0
@@ -3,67 +3,6 @@
3
3
  "package": "@next-bricks/presentational",
4
4
  "name": "presentational",
5
5
  "bricks": [
6
- {
7
- "name": "eo-descriptions",
8
- "alias": [
9
- "presentational.general-descriptions"
10
- ],
11
- "properties": [
12
- {
13
- "name": "descriptionTitle",
14
- "description": "描述标题",
15
- "type": "string"
16
- },
17
- {
18
- "name": "list",
19
- "description": "描述列表",
20
- "attribute": false,
21
- "type": "DescriptionItem[]"
22
- },
23
- {
24
- "name": "showCard",
25
- "description": "是否展示卡片背景",
26
- "default": "true",
27
- "type": "boolean"
28
- },
29
- {
30
- "name": "column",
31
- "description": "列数",
32
- "attribute": true,
33
- "type": "number"
34
- },
35
- {
36
- "name": "layout",
37
- "description": "布局模式",
38
- "default": "\"horizontal\"",
39
- "type": "Layout"
40
- },
41
- {
42
- "name": "bordered",
43
- "description": "是否展示边框",
44
- "default": "false",
45
- "type": "boolean"
46
- },
47
- {
48
- "name": "hideGroups",
49
- "description": "隐藏的描述列表项",
50
- "attribute": false,
51
- "type": "string | string[]"
52
- },
53
- {
54
- "name": "dataSource",
55
- "description": "数据源",
56
- "attribute": false,
57
- "type": "Record<string, unknown>"
58
- }
59
- ],
60
- "events": [],
61
- "slots": [],
62
- "methods": [],
63
- "parts": [],
64
- "description": "通用描述列表构件",
65
- "category": "text"
66
- },
67
6
  {
68
7
  "name": "eo-alert",
69
8
  "alias": [
@@ -123,63 +62,6 @@
123
62
  "description": "告警提示",
124
63
  "category": "display-component"
125
64
  },
126
- {
127
- "name": "eo-code-display",
128
- "alias": [
129
- "presentational.code-display"
130
- ],
131
- "properties": [
132
- {
133
- "name": "value",
134
- "description": "代码内容",
135
- "default": "\"\"",
136
- "type": "string"
137
- },
138
- {
139
- "name": "language",
140
- "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
141
- "type": "string"
142
- },
143
- {
144
- "name": "hideLineNumber",
145
- "description": "是否隐藏行号",
146
- "type": "boolean"
147
- },
148
- {
149
- "name": "maxLines",
150
- "description": "最大行数",
151
- "type": "number"
152
- },
153
- {
154
- "name": "minLines",
155
- "description": "最小行数",
156
- "type": "number"
157
- },
158
- {
159
- "name": "showCopyButton",
160
- "description": "是否显示复制按钮",
161
- "default": "true",
162
- "type": "boolean"
163
- },
164
- {
165
- "name": "showExportButton",
166
- "description": "是否显示导出按钮",
167
- "type": "boolean"
168
- },
169
- {
170
- "name": "exportFileName",
171
- "description": "导出的文件名",
172
- "default": "download.txt",
173
- "type": "string"
174
- }
175
- ],
176
- "events": [],
177
- "slots": [],
178
- "methods": [],
179
- "parts": [],
180
- "description": "代码展示",
181
- "category": "display-component"
182
- },
183
65
  {
184
66
  "name": "eo-pagination",
185
67
  "properties": [
@@ -244,91 +126,6 @@
244
126
  "description": "分页",
245
127
  "category": "navigation"
246
128
  },
247
- {
248
- "name": "eo-divider",
249
- "properties": [
250
- {
251
- "name": "orientation",
252
- "description": "标题位置,在horizontal类型的分割线中使用",
253
- "default": "center",
254
- "attribute": false,
255
- "type": "OrientationType"
256
- },
257
- {
258
- "name": "dashed",
259
- "description": "是否虚线",
260
- "default": "false",
261
- "type": "boolean"
262
- },
263
- {
264
- "name": "type",
265
- "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
266
- "default": "\"horizontal\"",
267
- "type": "dividerType"
268
- },
269
- {
270
- "name": "proportion",
271
- "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
272
- "attribute": false,
273
- "type": "[number, number]"
274
- },
275
- {
276
- "name": "dividerStyle",
277
- "description": "分割线自定义样式",
278
- "attribute": false,
279
- "type": "CSSProperties"
280
- }
281
- ],
282
- "events": [],
283
- "slots": [],
284
- "methods": [],
285
- "parts": [],
286
- "description": "分割线",
287
- "category": "container-display"
288
- },
289
- {
290
- "name": "eo-info-card-item",
291
- "properties": [
292
- {
293
- "name": "cardTitle",
294
- "description": "title",
295
- "type": "string"
296
- },
297
- {
298
- "name": "description",
299
- "description": "description",
300
- "type": "string"
301
- },
302
- {
303
- "name": "url",
304
- "description": "链接地址",
305
- "type": "string"
306
- },
307
- {
308
- "name": "cardIcon",
309
- "description": "图标",
310
- "attribute": false,
311
- "type": "IconAvatar"
312
- },
313
- {
314
- "name": "detailList",
315
- "description": "详细列表",
316
- "attribute": false,
317
- "type": "InfoCardDetail[]"
318
- },
319
- {
320
- "name": "target",
321
- "description": "链接跳转目标",
322
- "type": "LinkProps[\"target\"]"
323
- }
324
- ],
325
- "events": [],
326
- "slots": [],
327
- "methods": [],
328
- "parts": [],
329
- "description": "信息卡片",
330
- "category": "card-info"
331
- },
332
129
  {
333
130
  "name": "eo-card-item",
334
131
  "properties": [
@@ -461,57 +258,260 @@
461
258
  "category": "card-info"
462
259
  },
463
260
  {
464
- "name": "eo-humanize-time",
465
- "alias": [
466
- "presentational.humanize-time"
467
- ],
261
+ "name": "eo-divider",
468
262
  "properties": [
469
263
  {
470
- "name": "value",
471
- "description": "时间截,或字符串,当为字符串时,应提供时间格式 `inputFormat`",
472
- "required": true,
264
+ "name": "orientation",
265
+ "description": "标题位置,在horizontal类型的分割线中使用",
266
+ "default": "center",
473
267
  "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"
268
+ "type": "OrientationType"
480
269
  },
481
270
  {
482
- "name": "outputFormat",
483
- "description": "展示时间格式,如 \"YYYY-MM-DD\",当设置该属性时,属性 `formatter` 无效 [时间格式参照表](https://day.js.org/docs/en/display/format)",
484
- "type": "string"
271
+ "name": "dashed",
272
+ "description": "是否虚线",
273
+ "default": "false",
274
+ "type": "boolean"
485
275
  },
486
276
  {
487
277
  "name": "type",
488
- "description": "使用日期+时间格式输出还是仅日期。",
489
- "default": "\"datetime\"",
490
- "type": "\"datetime\" | \"date\""
491
- },
492
- {
493
- "name": "isCostTime",
494
- "description": "是否展示为耗费时间,例如:'1 个月 20 天'",
495
- "type": "boolean"
278
+ "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
279
+ "default": "\"horizontal\"",
280
+ "type": "dividerType"
496
281
  },
497
282
  {
498
- "name": "formatter",
499
- "description": "格式类型",
500
- "default": "\"default\"",
283
+ "name": "proportion",
284
+ "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
501
285
  "attribute": false,
502
- "type": "HumanizeTimeFormat"
503
- },
504
- {
505
- "name": "isMicrosecond",
506
- "description": "value 值的单位是否为毫秒(此处属性 id 写错,实际表达意义为 isMillisecond)",
507
- "deprecated": "请使用 `isMillisecond`",
508
- "type": "boolean"
286
+ "type": "[number, number]"
509
287
  },
510
288
  {
511
- "name": "isMillisecond",
512
- "description": "value 值的单位是否为毫秒",
513
- "type": "boolean"
514
- },
289
+ "name": "dividerStyle",
290
+ "description": "分割线自定义样式",
291
+ "attribute": false,
292
+ "type": "CSSProperties"
293
+ }
294
+ ],
295
+ "events": [],
296
+ "slots": [],
297
+ "methods": [],
298
+ "parts": [],
299
+ "description": "分割线",
300
+ "category": "container-display"
301
+ },
302
+ {
303
+ "name": "eo-descriptions",
304
+ "alias": [
305
+ "presentational.general-descriptions"
306
+ ],
307
+ "properties": [
308
+ {
309
+ "name": "descriptionTitle",
310
+ "description": "描述标题",
311
+ "type": "string"
312
+ },
313
+ {
314
+ "name": "list",
315
+ "description": "描述列表",
316
+ "attribute": false,
317
+ "type": "DescriptionItem[]"
318
+ },
319
+ {
320
+ "name": "showCard",
321
+ "description": "是否展示卡片背景",
322
+ "default": "true",
323
+ "type": "boolean"
324
+ },
325
+ {
326
+ "name": "column",
327
+ "description": "列数",
328
+ "attribute": true,
329
+ "type": "number"
330
+ },
331
+ {
332
+ "name": "layout",
333
+ "description": "布局模式",
334
+ "default": "\"horizontal\"",
335
+ "type": "Layout"
336
+ },
337
+ {
338
+ "name": "bordered",
339
+ "description": "是否展示边框",
340
+ "default": "false",
341
+ "type": "boolean"
342
+ },
343
+ {
344
+ "name": "hideGroups",
345
+ "description": "隐藏的描述列表项",
346
+ "attribute": false,
347
+ "type": "string | string[]"
348
+ },
349
+ {
350
+ "name": "dataSource",
351
+ "description": "数据源",
352
+ "attribute": false,
353
+ "type": "Record<string, unknown>"
354
+ }
355
+ ],
356
+ "events": [],
357
+ "slots": [],
358
+ "methods": [],
359
+ "parts": [],
360
+ "description": "通用描述列表构件",
361
+ "category": "text"
362
+ },
363
+ {
364
+ "name": "eo-code-display",
365
+ "alias": [
366
+ "presentational.code-display"
367
+ ],
368
+ "properties": [
369
+ {
370
+ "name": "value",
371
+ "description": "代码内容",
372
+ "default": "\"\"",
373
+ "type": "string"
374
+ },
375
+ {
376
+ "name": "language",
377
+ "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
378
+ "type": "string"
379
+ },
380
+ {
381
+ "name": "hideLineNumber",
382
+ "description": "是否隐藏行号",
383
+ "type": "boolean"
384
+ },
385
+ {
386
+ "name": "maxLines",
387
+ "description": "最大行数",
388
+ "type": "number"
389
+ },
390
+ {
391
+ "name": "minLines",
392
+ "description": "最小行数",
393
+ "type": "number"
394
+ },
395
+ {
396
+ "name": "showCopyButton",
397
+ "description": "是否显示复制按钮",
398
+ "default": "true",
399
+ "type": "boolean"
400
+ },
401
+ {
402
+ "name": "showExportButton",
403
+ "description": "是否显示导出按钮",
404
+ "type": "boolean"
405
+ },
406
+ {
407
+ "name": "exportFileName",
408
+ "description": "导出的文件名",
409
+ "default": "download.txt",
410
+ "type": "string"
411
+ }
412
+ ],
413
+ "events": [],
414
+ "slots": [],
415
+ "methods": [],
416
+ "parts": [],
417
+ "description": "代码展示",
418
+ "category": "display-component"
419
+ },
420
+ {
421
+ "name": "eo-info-card-item",
422
+ "properties": [
423
+ {
424
+ "name": "cardTitle",
425
+ "description": "title",
426
+ "type": "string"
427
+ },
428
+ {
429
+ "name": "description",
430
+ "description": "description",
431
+ "type": "string"
432
+ },
433
+ {
434
+ "name": "url",
435
+ "description": "链接地址",
436
+ "type": "string"
437
+ },
438
+ {
439
+ "name": "cardIcon",
440
+ "description": "图标",
441
+ "attribute": false,
442
+ "type": "IconAvatar"
443
+ },
444
+ {
445
+ "name": "detailList",
446
+ "description": "详细列表",
447
+ "attribute": false,
448
+ "type": "InfoCardDetail[]"
449
+ },
450
+ {
451
+ "name": "target",
452
+ "description": "链接跳转目标",
453
+ "type": "LinkProps[\"target\"]"
454
+ }
455
+ ],
456
+ "events": [],
457
+ "slots": [],
458
+ "methods": [],
459
+ "parts": [],
460
+ "description": "信息卡片",
461
+ "category": "card-info"
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
515
  {
516
516
  "name": "link",
517
517
  "description": "跳转链接,默认为空",
@@ -615,68 +615,6 @@
615
615
  "parts": [],
616
616
  "description": "统计卡片"
617
617
  },
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
618
  {
681
619
  "name": "eo-loading-step",
682
620
  "properties": [
@@ -740,6 +678,68 @@
740
678
  ],
741
679
  "parts": [],
742
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": []