@next-bricks/presentational 1.14.0 → 1.14.1
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.
- package/dist/bricks.json +22 -22
- package/dist/chunks/7082.0543bf39.js +2 -0
- package/dist/chunks/{7082.ea485981.js.map → 7082.0543bf39.js.map} +1 -1
- package/dist/chunks/eo-descriptions.935a0e78.js +3 -0
- package/dist/chunks/eo-descriptions.935a0e78.js.map +1 -0
- package/dist/chunks/{main.a90efb7b.js → main.5a473cc6.js} +2 -2
- package/dist/chunks/{main.a90efb7b.js.map → main.5a473cc6.js.map} +1 -1
- package/dist/examples.json +11 -11
- package/dist/{index.ca27063b.js → index.98193f50.js} +2 -2
- package/dist/{index.ca27063b.js.map → index.98193f50.js.map} +1 -1
- package/dist/manifest.json +178 -178
- package/dist/types.json +895 -895
- package/package.json +2 -2
- package/dist/chunks/7082.ea485981.js +0 -2
- package/dist/chunks/eo-descriptions.3f94aea3.js +0 -3
- package/dist/chunks/eo-descriptions.3f94aea3.js.map +0 -1
- /package/dist/chunks/{eo-descriptions.3f94aea3.js.LICENSE.txt → eo-descriptions.935a0e78.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -3,72 +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
|
-
"name": "themeVariant",
|
|
61
|
-
"description": "主题变体",
|
|
62
|
-
"type": "\"default\" | \"elevo\""
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"events": [],
|
|
66
|
-
"slots": [],
|
|
67
|
-
"methods": [],
|
|
68
|
-
"parts": [],
|
|
69
|
-
"description": "通用描述列表构件",
|
|
70
|
-
"category": "text"
|
|
71
|
-
},
|
|
72
6
|
{
|
|
73
7
|
"name": "eo-code-display",
|
|
74
8
|
"alias": [
|
|
@@ -126,65 +60,6 @@
|
|
|
126
60
|
"description": "代码展示",
|
|
127
61
|
"category": "display-component"
|
|
128
62
|
},
|
|
129
|
-
{
|
|
130
|
-
"name": "eo-alert",
|
|
131
|
-
"alias": [
|
|
132
|
-
"presentational.general-alert"
|
|
133
|
-
],
|
|
134
|
-
"properties": [
|
|
135
|
-
{
|
|
136
|
-
"name": "type",
|
|
137
|
-
"description": "警告类型",
|
|
138
|
-
"attribute": false,
|
|
139
|
-
"type": "AlertType"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"name": "hasTitle",
|
|
143
|
-
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
144
|
-
"type": "boolean"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"name": "showIcon",
|
|
148
|
-
"description": "是否显示提示图标",
|
|
149
|
-
"type": "boolean"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"name": "closable",
|
|
153
|
-
"description": "是否显示关闭按钮",
|
|
154
|
-
"type": "boolean"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"name": "localStorageKey",
|
|
158
|
-
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
159
|
-
"type": "string"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"name": "disableUrlNamespace",
|
|
163
|
-
"description": "关闭后仅以 `localStorageKey` 作为命名空间",
|
|
164
|
-
"type": "boolean"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"name": "textContent",
|
|
168
|
-
"type": "string",
|
|
169
|
-
"description": "文本内容"
|
|
170
|
-
}
|
|
171
|
-
],
|
|
172
|
-
"events": [],
|
|
173
|
-
"slots": [
|
|
174
|
-
{
|
|
175
|
-
"name": null,
|
|
176
|
-
"description": "内容区"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"name": "title",
|
|
180
|
-
"description": "标题"
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
"methods": [],
|
|
184
|
-
"parts": [],
|
|
185
|
-
"description": "告警提示",
|
|
186
|
-
"category": "display-component"
|
|
187
|
-
},
|
|
188
63
|
{
|
|
189
64
|
"name": "eo-pagination",
|
|
190
65
|
"properties": [
|
|
@@ -250,46 +125,63 @@
|
|
|
250
125
|
"category": "navigation"
|
|
251
126
|
},
|
|
252
127
|
{
|
|
253
|
-
"name": "eo-
|
|
128
|
+
"name": "eo-alert",
|
|
129
|
+
"alias": [
|
|
130
|
+
"presentational.general-alert"
|
|
131
|
+
],
|
|
254
132
|
"properties": [
|
|
255
133
|
{
|
|
256
|
-
"name": "
|
|
257
|
-
"description": "
|
|
258
|
-
"default": "center",
|
|
134
|
+
"name": "type",
|
|
135
|
+
"description": "警告类型",
|
|
259
136
|
"attribute": false,
|
|
260
|
-
"type": "
|
|
137
|
+
"type": "AlertType"
|
|
261
138
|
},
|
|
262
139
|
{
|
|
263
|
-
"name": "
|
|
264
|
-
"description": "
|
|
265
|
-
"default": "false",
|
|
140
|
+
"name": "hasTitle",
|
|
141
|
+
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
266
142
|
"type": "boolean"
|
|
267
143
|
},
|
|
268
144
|
{
|
|
269
|
-
"name": "
|
|
270
|
-
"description": "
|
|
271
|
-
"
|
|
272
|
-
"type": "dividerType"
|
|
145
|
+
"name": "showIcon",
|
|
146
|
+
"description": "是否显示提示图标",
|
|
147
|
+
"type": "boolean"
|
|
273
148
|
},
|
|
274
149
|
{
|
|
275
|
-
"name": "
|
|
276
|
-
"description": "
|
|
277
|
-
"
|
|
278
|
-
"type": "[number, number]"
|
|
150
|
+
"name": "closable",
|
|
151
|
+
"description": "是否显示关闭按钮",
|
|
152
|
+
"type": "boolean"
|
|
279
153
|
},
|
|
280
154
|
{
|
|
281
|
-
"name": "
|
|
282
|
-
"description": "
|
|
283
|
-
"
|
|
284
|
-
|
|
155
|
+
"name": "localStorageKey",
|
|
156
|
+
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
157
|
+
"type": "string"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "disableUrlNamespace",
|
|
161
|
+
"description": "关闭后仅以 `localStorageKey` 作为命名空间",
|
|
162
|
+
"type": "boolean"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "textContent",
|
|
166
|
+
"type": "string",
|
|
167
|
+
"description": "文本内容"
|
|
285
168
|
}
|
|
286
169
|
],
|
|
287
170
|
"events": [],
|
|
288
|
-
"slots": [
|
|
171
|
+
"slots": [
|
|
172
|
+
{
|
|
173
|
+
"name": null,
|
|
174
|
+
"description": "内容区"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "title",
|
|
178
|
+
"description": "标题"
|
|
179
|
+
}
|
|
180
|
+
],
|
|
289
181
|
"methods": [],
|
|
290
182
|
"parts": [],
|
|
291
|
-
"description": "
|
|
292
|
-
"category": "
|
|
183
|
+
"description": "告警提示",
|
|
184
|
+
"category": "display-component"
|
|
293
185
|
},
|
|
294
186
|
{
|
|
295
187
|
"name": "eo-card-item",
|
|
@@ -626,6 +518,68 @@
|
|
|
626
518
|
"parts": [],
|
|
627
519
|
"description": "统计卡片"
|
|
628
520
|
},
|
|
521
|
+
{
|
|
522
|
+
"name": "eo-current-time",
|
|
523
|
+
"properties": [
|
|
524
|
+
{
|
|
525
|
+
"name": "format",
|
|
526
|
+
"description": "时间格式",
|
|
527
|
+
"default": "\"YYYY-MM-DD HH:mm:ss\"",
|
|
528
|
+
"type": "string"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "icon",
|
|
532
|
+
"description": "前置图标",
|
|
533
|
+
"attribute": false,
|
|
534
|
+
"type": "GeneralIconProps"
|
|
535
|
+
}
|
|
536
|
+
],
|
|
537
|
+
"events": [],
|
|
538
|
+
"slots": [],
|
|
539
|
+
"methods": [],
|
|
540
|
+
"parts": [],
|
|
541
|
+
"description": "构件 `eo-current-time`"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"name": "eo-carousel-text",
|
|
545
|
+
"properties": [
|
|
546
|
+
{
|
|
547
|
+
"name": "text",
|
|
548
|
+
"description": "展示内容",
|
|
549
|
+
"default": "\"\"",
|
|
550
|
+
"type": "string"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"name": "containerWidth",
|
|
554
|
+
"description": "容器宽度",
|
|
555
|
+
"default": "\"100%\"",
|
|
556
|
+
"type": "CSSProperties[\"width\"]"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"name": "fontSize",
|
|
560
|
+
"description": "字体大小",
|
|
561
|
+
"default": "\"var(--normal-font-size)\"",
|
|
562
|
+
"type": "CSSProperties[\"fontSize\"]"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"name": "fontColor",
|
|
566
|
+
"description": "字体颜色",
|
|
567
|
+
"default": "\"var(--text-color-default)\"",
|
|
568
|
+
"type": "CSSProperties[\"color\"]"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"name": "speed",
|
|
572
|
+
"description": "移动速度,单位 px/s",
|
|
573
|
+
"default": "100",
|
|
574
|
+
"type": "number"
|
|
575
|
+
}
|
|
576
|
+
],
|
|
577
|
+
"events": [],
|
|
578
|
+
"slots": [],
|
|
579
|
+
"methods": [],
|
|
580
|
+
"parts": [],
|
|
581
|
+
"description": "构件 `eo-carousel-text`"
|
|
582
|
+
},
|
|
629
583
|
{
|
|
630
584
|
"name": "eo-loading-step",
|
|
631
585
|
"properties": [
|
|
@@ -691,66 +645,112 @@
|
|
|
691
645
|
"description": "加载步骤框"
|
|
692
646
|
},
|
|
693
647
|
{
|
|
694
|
-
"name": "eo-
|
|
648
|
+
"name": "eo-descriptions",
|
|
649
|
+
"alias": [
|
|
650
|
+
"presentational.general-descriptions"
|
|
651
|
+
],
|
|
695
652
|
"properties": [
|
|
696
653
|
{
|
|
697
|
-
"name": "
|
|
698
|
-
"description": "
|
|
699
|
-
"default": "\"YYYY-MM-DD HH:mm:ss\"",
|
|
654
|
+
"name": "descriptionTitle",
|
|
655
|
+
"description": "描述标题",
|
|
700
656
|
"type": "string"
|
|
701
657
|
},
|
|
702
658
|
{
|
|
703
|
-
"name": "
|
|
704
|
-
"description": "
|
|
659
|
+
"name": "list",
|
|
660
|
+
"description": "描述列表",
|
|
705
661
|
"attribute": false,
|
|
706
|
-
"type": "
|
|
662
|
+
"type": "DescriptionItem[]"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"name": "showCard",
|
|
666
|
+
"description": "是否展示卡片背景",
|
|
667
|
+
"default": "true",
|
|
668
|
+
"type": "boolean"
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"name": "column",
|
|
672
|
+
"description": "列数",
|
|
673
|
+
"attribute": true,
|
|
674
|
+
"type": "number"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"name": "layout",
|
|
678
|
+
"description": "布局模式",
|
|
679
|
+
"default": "\"horizontal\"",
|
|
680
|
+
"type": "Layout"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"name": "bordered",
|
|
684
|
+
"description": "是否展示边框",
|
|
685
|
+
"default": "false",
|
|
686
|
+
"type": "boolean"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"name": "hideGroups",
|
|
690
|
+
"description": "隐藏的描述列表项",
|
|
691
|
+
"attribute": false,
|
|
692
|
+
"type": "string | string[]"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"name": "dataSource",
|
|
696
|
+
"description": "数据源",
|
|
697
|
+
"attribute": false,
|
|
698
|
+
"type": "Record<string, unknown>"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"name": "themeVariant",
|
|
702
|
+
"description": "主题变体",
|
|
703
|
+
"type": "\"default\" | \"elevo\""
|
|
707
704
|
}
|
|
708
705
|
],
|
|
709
706
|
"events": [],
|
|
710
707
|
"slots": [],
|
|
711
708
|
"methods": [],
|
|
712
709
|
"parts": [],
|
|
713
|
-
"description": "
|
|
710
|
+
"description": "通用描述列表构件",
|
|
711
|
+
"category": "text"
|
|
714
712
|
},
|
|
715
713
|
{
|
|
716
|
-
"name": "eo-
|
|
714
|
+
"name": "eo-divider",
|
|
717
715
|
"properties": [
|
|
718
716
|
{
|
|
719
|
-
"name": "
|
|
720
|
-
"description": "
|
|
721
|
-
"default": "
|
|
722
|
-
"
|
|
717
|
+
"name": "orientation",
|
|
718
|
+
"description": "标题位置,在horizontal类型的分割线中使用",
|
|
719
|
+
"default": "center",
|
|
720
|
+
"attribute": false,
|
|
721
|
+
"type": "OrientationType"
|
|
723
722
|
},
|
|
724
723
|
{
|
|
725
|
-
"name": "
|
|
726
|
-
"description": "
|
|
727
|
-
"default": "
|
|
728
|
-
"type": "
|
|
724
|
+
"name": "dashed",
|
|
725
|
+
"description": "是否虚线",
|
|
726
|
+
"default": "false",
|
|
727
|
+
"type": "boolean"
|
|
729
728
|
},
|
|
730
729
|
{
|
|
731
|
-
"name": "
|
|
732
|
-
"description": "
|
|
733
|
-
"default": "\"
|
|
734
|
-
"type": "
|
|
730
|
+
"name": "type",
|
|
731
|
+
"description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
|
|
732
|
+
"default": "\"horizontal\"",
|
|
733
|
+
"type": "dividerType"
|
|
735
734
|
},
|
|
736
735
|
{
|
|
737
|
-
"name": "
|
|
738
|
-
"description": "
|
|
739
|
-
"
|
|
740
|
-
"type": "
|
|
736
|
+
"name": "proportion",
|
|
737
|
+
"description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
|
|
738
|
+
"attribute": false,
|
|
739
|
+
"type": "[number, number]"
|
|
741
740
|
},
|
|
742
741
|
{
|
|
743
|
-
"name": "
|
|
744
|
-
"description": "
|
|
745
|
-
"
|
|
746
|
-
"type": "
|
|
742
|
+
"name": "dividerStyle",
|
|
743
|
+
"description": "分割线自定义样式",
|
|
744
|
+
"attribute": false,
|
|
745
|
+
"type": "CSSProperties"
|
|
747
746
|
}
|
|
748
747
|
],
|
|
749
748
|
"events": [],
|
|
750
749
|
"slots": [],
|
|
751
750
|
"methods": [],
|
|
752
751
|
"parts": [],
|
|
753
|
-
"description": "
|
|
752
|
+
"description": "分割线",
|
|
753
|
+
"category": "container-display"
|
|
754
754
|
}
|
|
755
755
|
],
|
|
756
756
|
"providers": []
|