@next-bricks/presentational 1.12.7 → 1.12.9

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 (31) hide show
  1. package/dist/bricks.json +25 -25
  2. package/dist/chunks/{4185.77d04631.js → 4185.4cb234f9.js} +3 -3
  3. package/dist/chunks/4185.4cb234f9.js.map +1 -0
  4. package/dist/chunks/{7082.617e09e3.js → 7082.b8df225e.js} +2 -2
  5. package/dist/chunks/{7082.617e09e3.js.map → 7082.b8df225e.js.map} +1 -1
  6. package/dist/chunks/{eo-card-item.55df3a90.js → eo-card-item.06a985d6.js} +3 -3
  7. package/dist/chunks/{eo-card-item.55df3a90.js.map → eo-card-item.06a985d6.js.map} +1 -1
  8. package/dist/chunks/{eo-descriptions.19dc877b.js → eo-descriptions.463e23c7.js} +3 -3
  9. package/dist/chunks/{eo-descriptions.19dc877b.js.map → eo-descriptions.463e23c7.js.map} +1 -1
  10. package/dist/chunks/{eo-info-card-item.132e586d.js → eo-info-card-item.997b5030.js} +3 -3
  11. package/dist/chunks/{eo-info-card-item.132e586d.js.map → eo-info-card-item.997b5030.js.map} +1 -1
  12. package/dist/chunks/{eo-loading-step.2f4a1925.js → eo-loading-step.d97516f9.js} +3 -3
  13. package/dist/chunks/{eo-loading-step.2f4a1925.js.map → eo-loading-step.d97516f9.js.map} +1 -1
  14. package/dist/chunks/main.7b76b2a9.js +2 -0
  15. package/dist/chunks/main.7b76b2a9.js.map +1 -0
  16. package/dist/examples.json +11 -11
  17. package/dist/index.0a0617bf.js +2 -0
  18. package/dist/index.0a0617bf.js.map +1 -0
  19. package/dist/manifest.json +244 -244
  20. package/dist/types.json +332 -332
  21. package/package.json +3 -3
  22. package/dist/chunks/4185.77d04631.js.map +0 -1
  23. package/dist/chunks/main.df9ba285.js +0 -2
  24. package/dist/chunks/main.df9ba285.js.map +0 -1
  25. package/dist/index.ccda90ba.js +0 -2
  26. package/dist/index.ccda90ba.js.map +0 -1
  27. /package/dist/chunks/{4185.77d04631.js.LICENSE.txt → 4185.4cb234f9.js.LICENSE.txt} +0 -0
  28. /package/dist/chunks/{eo-card-item.55df3a90.js.LICENSE.txt → eo-card-item.06a985d6.js.LICENSE.txt} +0 -0
  29. /package/dist/chunks/{eo-descriptions.19dc877b.js.LICENSE.txt → eo-descriptions.463e23c7.js.LICENSE.txt} +0 -0
  30. /package/dist/chunks/{eo-info-card-item.132e586d.js.LICENSE.txt → eo-info-card-item.997b5030.js.LICENSE.txt} +0 -0
  31. /package/dist/chunks/{eo-loading-step.2f4a1925.js.LICENSE.txt → eo-loading-step.d97516f9.js.LICENSE.txt} +0 -0
@@ -3,122 +3,6 @@
3
3
  "package": "@next-bricks/presentational",
4
4
  "name": "presentational",
5
5
  "bricks": [
6
- {
7
- "name": "eo-alert",
8
- "alias": [
9
- "presentational.general-alert"
10
- ],
11
- "properties": [
12
- {
13
- "name": "type",
14
- "description": "警告类型",
15
- "attribute": false,
16
- "type": "AlertType"
17
- },
18
- {
19
- "name": "hasTitle",
20
- "description": "是否显示标题。开启后,可以使用 `title` 插槽",
21
- "type": "boolean"
22
- },
23
- {
24
- "name": "showIcon",
25
- "description": "是否显示提示图标",
26
- "type": "boolean"
27
- },
28
- {
29
- "name": "closable",
30
- "description": "是否显示关闭按钮",
31
- "type": "boolean"
32
- },
33
- {
34
- "name": "localStorageKey",
35
- "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
36
- "type": "string"
37
- },
38
- {
39
- "name": "disableUrlNamespace",
40
- "description": "关闭后仅以 `localStorageKey` 作为命名空间",
41
- "type": "boolean"
42
- },
43
- {
44
- "name": "textContent",
45
- "type": "string",
46
- "description": "文本内容"
47
- }
48
- ],
49
- "events": [],
50
- "slots": [
51
- {
52
- "name": null,
53
- "description": "内容区"
54
- },
55
- {
56
- "name": "title",
57
- "description": "标题"
58
- }
59
- ],
60
- "methods": [],
61
- "parts": [],
62
- "description": "告警提示",
63
- "category": "display-component"
64
- },
65
- {
66
- "name": "eo-code-display",
67
- "alias": [
68
- "presentational.code-display"
69
- ],
70
- "properties": [
71
- {
72
- "name": "value",
73
- "description": "代码内容",
74
- "default": "\"\"",
75
- "type": "string"
76
- },
77
- {
78
- "name": "language",
79
- "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
80
- "type": "string"
81
- },
82
- {
83
- "name": "hideLineNumber",
84
- "description": "是否隐藏行号",
85
- "type": "boolean"
86
- },
87
- {
88
- "name": "maxLines",
89
- "description": "最大行数",
90
- "type": "number"
91
- },
92
- {
93
- "name": "minLines",
94
- "description": "最小行数",
95
- "type": "number"
96
- },
97
- {
98
- "name": "showCopyButton",
99
- "description": "是否显示复制按钮",
100
- "default": "true",
101
- "type": "boolean"
102
- },
103
- {
104
- "name": "showExportButton",
105
- "description": "是否显示导出按钮",
106
- "type": "boolean"
107
- },
108
- {
109
- "name": "exportFileName",
110
- "description": "导出的文件名",
111
- "default": "download.txt",
112
- "type": "string"
113
- }
114
- ],
115
- "events": [],
116
- "slots": [],
117
- "methods": [],
118
- "parts": [],
119
- "description": "代码展示",
120
- "category": "display-component"
121
- },
122
6
  {
123
7
  "name": "eo-descriptions",
124
8
  "alias": [
@@ -180,6 +64,65 @@
180
64
  "description": "通用描述列表构件",
181
65
  "category": "text"
182
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
+ "name": "textContent",
106
+ "type": "string",
107
+ "description": "文本内容"
108
+ }
109
+ ],
110
+ "events": [],
111
+ "slots": [
112
+ {
113
+ "name": null,
114
+ "description": "内容区"
115
+ },
116
+ {
117
+ "name": "title",
118
+ "description": "标题"
119
+ }
120
+ ],
121
+ "methods": [],
122
+ "parts": [],
123
+ "description": "告警提示",
124
+ "category": "display-component"
125
+ },
183
126
  {
184
127
  "name": "eo-pagination",
185
128
  "properties": [
@@ -244,48 +187,6 @@
244
187
  "description": "分页",
245
188
  "category": "navigation"
246
189
  },
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
190
  {
290
191
  "name": "eo-card-item",
291
192
  "properties": [
@@ -417,6 +318,105 @@
417
318
  "description": "信息类卡片 —— 通用卡片",
418
319
  "category": "card-info"
419
320
  },
321
+ {
322
+ "name": "eo-divider",
323
+ "properties": [
324
+ {
325
+ "name": "orientation",
326
+ "description": "标题位置,在horizontal类型的分割线中使用",
327
+ "default": "center",
328
+ "attribute": false,
329
+ "type": "OrientationType"
330
+ },
331
+ {
332
+ "name": "dashed",
333
+ "description": "是否虚线",
334
+ "default": "false",
335
+ "type": "boolean"
336
+ },
337
+ {
338
+ "name": "type",
339
+ "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
340
+ "default": "\"horizontal\"",
341
+ "type": "dividerType"
342
+ },
343
+ {
344
+ "name": "proportion",
345
+ "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
346
+ "attribute": false,
347
+ "type": "[number, number]"
348
+ },
349
+ {
350
+ "name": "dividerStyle",
351
+ "description": "分割线自定义样式",
352
+ "attribute": false,
353
+ "type": "CSSProperties"
354
+ }
355
+ ],
356
+ "events": [],
357
+ "slots": [],
358
+ "methods": [],
359
+ "parts": [],
360
+ "description": "分割线",
361
+ "category": "container-display"
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
420
  {
421
421
  "name": "eo-info-card-item",
422
422
  "properties": [
@@ -525,6 +525,92 @@
525
525
  "parts": [],
526
526
  "description": "人性化时间展示,可显示完整时间、相对时间、未来时间、耗时等,支持自定义输入值格式和输出格式。"
527
527
  },
528
+ {
529
+ "name": "eo-loading-step",
530
+ "properties": [
531
+ {
532
+ "name": "visible",
533
+ "description": "是否可见",
534
+ "type": "boolean"
535
+ },
536
+ {
537
+ "name": "width",
538
+ "description": "宽度",
539
+ "type": "string"
540
+ },
541
+ {
542
+ "name": "stepTitle",
543
+ "description": "步骤标题",
544
+ "type": "string"
545
+ },
546
+ {
547
+ "name": "stepList",
548
+ "description": "步骤列表",
549
+ "attribute": false,
550
+ "type": "StepItem[]"
551
+ },
552
+ {
553
+ "name": "curStep",
554
+ "description": "当前步骤",
555
+ "type": "string"
556
+ }
557
+ ],
558
+ "events": [
559
+ {
560
+ "name": "open",
561
+ "description": "打开事件",
562
+ "detail": {
563
+ "type": "void"
564
+ }
565
+ },
566
+ {
567
+ "name": "close",
568
+ "description": "关闭事件",
569
+ "detail": {
570
+ "type": "void"
571
+ }
572
+ }
573
+ ],
574
+ "slots": [],
575
+ "methods": [
576
+ {
577
+ "name": "open",
578
+ "params": [],
579
+ "description": "打开",
580
+ "returns": {}
581
+ },
582
+ {
583
+ "name": "close",
584
+ "params": [],
585
+ "description": "关闭",
586
+ "returns": {}
587
+ }
588
+ ],
589
+ "parts": [],
590
+ "description": "加载步骤框"
591
+ },
592
+ {
593
+ "name": "eo-current-time",
594
+ "properties": [
595
+ {
596
+ "name": "format",
597
+ "description": "时间格式",
598
+ "default": "\"YYYY-MM-DD HH:mm:ss\"",
599
+ "type": "string"
600
+ },
601
+ {
602
+ "name": "icon",
603
+ "description": "前置图标",
604
+ "attribute": false,
605
+ "type": "GeneralIconProps"
606
+ }
607
+ ],
608
+ "events": [],
609
+ "slots": [],
610
+ "methods": [],
611
+ "parts": [],
612
+ "description": "构件 `eo-current-time`"
613
+ },
528
614
  {
529
615
  "name": "eo-statistics-card",
530
616
  "properties": [
@@ -615,92 +701,6 @@
615
701
  "parts": [],
616
702
  "description": "统计卡片"
617
703
  },
618
- {
619
- "name": "eo-loading-step",
620
- "properties": [
621
- {
622
- "name": "visible",
623
- "description": "是否可见",
624
- "type": "boolean"
625
- },
626
- {
627
- "name": "width",
628
- "description": "宽度",
629
- "type": "string"
630
- },
631
- {
632
- "name": "stepTitle",
633
- "description": "步骤标题",
634
- "type": "string"
635
- },
636
- {
637
- "name": "stepList",
638
- "description": "步骤列表",
639
- "attribute": false,
640
- "type": "StepItem[]"
641
- },
642
- {
643
- "name": "curStep",
644
- "description": "当前步骤",
645
- "type": "string"
646
- }
647
- ],
648
- "events": [
649
- {
650
- "name": "open",
651
- "description": "打开事件",
652
- "detail": {
653
- "type": "void"
654
- }
655
- },
656
- {
657
- "name": "close",
658
- "description": "关闭事件",
659
- "detail": {
660
- "type": "void"
661
- }
662
- }
663
- ],
664
- "slots": [],
665
- "methods": [
666
- {
667
- "name": "open",
668
- "params": [],
669
- "description": "打开",
670
- "returns": {}
671
- },
672
- {
673
- "name": "close",
674
- "params": [],
675
- "description": "关闭",
676
- "returns": {}
677
- }
678
- ],
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
704
  {
705
705
  "name": "eo-carousel-text",
706
706
  "properties": [