@next-bricks/presentational 1.21.0 → 1.21.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 +32 -32
- package/dist/chunks/{3900.9b093658.js → 3900.47f48f41.js} +2 -2
- package/dist/chunks/{3900.9b093658.js.map → 3900.47f48f41.js.map} +1 -1
- package/dist/chunks/948.e1790690.js.map +1 -1
- package/dist/chunks/{eo-card-item.225ef485.js → eo-card-item.da90013a.js} +3 -3
- package/dist/chunks/{eo-card-item.225ef485.js.map → eo-card-item.da90013a.js.map} +1 -1
- package/dist/chunks/{eo-code-block.8853f77b.js → eo-code-block.f5ffef62.js} +2 -2
- package/dist/chunks/{eo-code-block.8853f77b.js.map → eo-code-block.f5ffef62.js.map} +1 -1
- package/dist/chunks/{eo-descriptions.9da014f3.js → eo-descriptions.84bd1dfe.js} +3 -3
- package/dist/chunks/{eo-descriptions.9da014f3.js.map → eo-descriptions.84bd1dfe.js.map} +1 -1
- package/dist/chunks/{eo-info-card-item.9c7a6579.js → eo-info-card-item.554cba4f.js} +3 -3
- package/dist/chunks/{eo-info-card-item.9c7a6579.js.map → eo-info-card-item.554cba4f.js.map} +1 -1
- package/dist/chunks/{eo-loading-step.7c1cfe82.js → eo-loading-step.604d6e34.js} +3 -3
- package/dist/chunks/{eo-loading-step.7c1cfe82.js.map → eo-loading-step.604d6e34.js.map} +1 -1
- package/dist/chunks/{main.96df5002.js → main.e70d2fce.js} +2 -2
- package/dist/chunks/{main.96df5002.js.map → main.e70d2fce.js.map} +1 -1
- package/dist/examples.json +12 -9
- package/dist/{index.5a0be08d.js → index.0205acd1.js} +2 -2
- package/dist/{index.5a0be08d.js.map → index.0205acd1.js.map} +1 -1
- package/dist/manifest.json +187 -187
- package/dist/types.json +352 -352
- package/docs/{code-block.md → eo-code-block.md} +2 -2
- package/package.json +2 -2
- /package/dist/chunks/{eo-card-item.225ef485.js.LICENSE.txt → eo-card-item.da90013a.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-descriptions.9da014f3.js.LICENSE.txt → eo-descriptions.84bd1dfe.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-info-card-item.9c7a6579.js.LICENSE.txt → eo-info-card-item.554cba4f.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-loading-step.7c1cfe82.js.LICENSE.txt → eo-loading-step.604d6e34.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -3,193 +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": "templateColumns",
|
|
37
|
-
"description": "CSS [grid-template-columns](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns)",
|
|
38
|
-
"type": "string"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "layout",
|
|
42
|
-
"description": "布局模式",
|
|
43
|
-
"default": "\"horizontal\"",
|
|
44
|
-
"type": "Layout"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"name": "bordered",
|
|
48
|
-
"description": "是否展示边框",
|
|
49
|
-
"default": "false",
|
|
50
|
-
"type": "boolean"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "hideGroups",
|
|
54
|
-
"description": "隐藏的描述列表项",
|
|
55
|
-
"attribute": false,
|
|
56
|
-
"type": "string | string[]"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"name": "dataSource",
|
|
60
|
-
"description": "数据源",
|
|
61
|
-
"attribute": false,
|
|
62
|
-
"type": "Record<string, unknown>"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"name": "themeVariant",
|
|
66
|
-
"description": "主题变体",
|
|
67
|
-
"type": "\"default\" | \"elevo\""
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
"events": [],
|
|
71
|
-
"slots": [],
|
|
72
|
-
"methods": [],
|
|
73
|
-
"parts": [],
|
|
74
|
-
"description": "通用描述列表构件",
|
|
75
|
-
"category": "text"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"name": "eo-alert",
|
|
79
|
-
"alias": [
|
|
80
|
-
"presentational.general-alert"
|
|
81
|
-
],
|
|
82
|
-
"properties": [
|
|
83
|
-
{
|
|
84
|
-
"name": "type",
|
|
85
|
-
"description": "警告类型",
|
|
86
|
-
"attribute": false,
|
|
87
|
-
"type": "AlertType"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"name": "hasTitle",
|
|
91
|
-
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
92
|
-
"type": "boolean"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "showIcon",
|
|
96
|
-
"description": "是否显示提示图标",
|
|
97
|
-
"type": "boolean"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"name": "closable",
|
|
101
|
-
"description": "是否显示关闭按钮",
|
|
102
|
-
"type": "boolean"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"name": "localStorageKey",
|
|
106
|
-
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
107
|
-
"type": "string"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"name": "disableUrlNamespace",
|
|
111
|
-
"description": "关闭后仅以 `localStorageKey` 作为命名空间",
|
|
112
|
-
"type": "boolean"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"name": "textContent",
|
|
116
|
-
"type": "string",
|
|
117
|
-
"description": "文本内容"
|
|
118
|
-
}
|
|
119
|
-
],
|
|
120
|
-
"events": [],
|
|
121
|
-
"slots": [
|
|
122
|
-
{
|
|
123
|
-
"name": null,
|
|
124
|
-
"description": "内容区"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"name": "title",
|
|
128
|
-
"description": "标题"
|
|
129
|
-
}
|
|
130
|
-
],
|
|
131
|
-
"methods": [],
|
|
132
|
-
"parts": [],
|
|
133
|
-
"description": "告警提示",
|
|
134
|
-
"category": "display-component"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"name": "eo-code-display",
|
|
138
|
-
"alias": [
|
|
139
|
-
"presentational.code-display"
|
|
140
|
-
],
|
|
141
|
-
"properties": [
|
|
142
|
-
{
|
|
143
|
-
"name": "value",
|
|
144
|
-
"description": "代码内容",
|
|
145
|
-
"default": "\"\"",
|
|
146
|
-
"type": "string"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"name": "language",
|
|
150
|
-
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
151
|
-
"type": "string"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"name": "hideLineNumber",
|
|
155
|
-
"description": "是否隐藏行号",
|
|
156
|
-
"type": "boolean"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"name": "maxLines",
|
|
160
|
-
"description": "最大行数",
|
|
161
|
-
"type": "number"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"name": "minLines",
|
|
165
|
-
"description": "最小行数",
|
|
166
|
-
"type": "number"
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"name": "showCopyButton",
|
|
170
|
-
"description": "是否显示复制按钮",
|
|
171
|
-
"default": "true",
|
|
172
|
-
"type": "boolean"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"name": "showExportButton",
|
|
176
|
-
"description": "是否显示导出按钮",
|
|
177
|
-
"type": "boolean"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"name": "exportFileName",
|
|
181
|
-
"description": "导出的文件名",
|
|
182
|
-
"default": "download.txt",
|
|
183
|
-
"type": "string"
|
|
184
|
-
}
|
|
185
|
-
],
|
|
186
|
-
"events": [],
|
|
187
|
-
"slots": [],
|
|
188
|
-
"methods": [],
|
|
189
|
-
"parts": [],
|
|
190
|
-
"description": "代码展示",
|
|
191
|
-
"category": "display-component"
|
|
192
|
-
},
|
|
193
6
|
{
|
|
194
7
|
"name": "eo-pagination",
|
|
195
8
|
"properties": [
|
|
@@ -514,6 +327,63 @@
|
|
|
514
327
|
"description": "信息卡片",
|
|
515
328
|
"category": "card-info"
|
|
516
329
|
},
|
|
330
|
+
{
|
|
331
|
+
"name": "eo-code-display",
|
|
332
|
+
"alias": [
|
|
333
|
+
"presentational.code-display"
|
|
334
|
+
],
|
|
335
|
+
"properties": [
|
|
336
|
+
{
|
|
337
|
+
"name": "value",
|
|
338
|
+
"description": "代码内容",
|
|
339
|
+
"default": "\"\"",
|
|
340
|
+
"type": "string"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"name": "language",
|
|
344
|
+
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
345
|
+
"type": "string"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "hideLineNumber",
|
|
349
|
+
"description": "是否隐藏行号",
|
|
350
|
+
"type": "boolean"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"name": "maxLines",
|
|
354
|
+
"description": "最大行数",
|
|
355
|
+
"type": "number"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "minLines",
|
|
359
|
+
"description": "最小行数",
|
|
360
|
+
"type": "number"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "showCopyButton",
|
|
364
|
+
"description": "是否显示复制按钮",
|
|
365
|
+
"default": "true",
|
|
366
|
+
"type": "boolean"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"name": "showExportButton",
|
|
370
|
+
"description": "是否显示导出按钮",
|
|
371
|
+
"type": "boolean"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"name": "exportFileName",
|
|
375
|
+
"description": "导出的文件名",
|
|
376
|
+
"default": "download.txt",
|
|
377
|
+
"type": "string"
|
|
378
|
+
}
|
|
379
|
+
],
|
|
380
|
+
"events": [],
|
|
381
|
+
"slots": [],
|
|
382
|
+
"methods": [],
|
|
383
|
+
"parts": [],
|
|
384
|
+
"description": "代码展示",
|
|
385
|
+
"category": "display-component"
|
|
386
|
+
},
|
|
517
387
|
{
|
|
518
388
|
"name": "eo-humanize-time",
|
|
519
389
|
"alias": [
|
|
@@ -884,6 +754,136 @@
|
|
|
884
754
|
}
|
|
885
755
|
],
|
|
886
756
|
"description": "构件 `presentational.code-wrapper`"
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"name": "eo-alert",
|
|
760
|
+
"alias": [
|
|
761
|
+
"presentational.general-alert"
|
|
762
|
+
],
|
|
763
|
+
"properties": [
|
|
764
|
+
{
|
|
765
|
+
"name": "type",
|
|
766
|
+
"description": "警告类型",
|
|
767
|
+
"attribute": false,
|
|
768
|
+
"type": "AlertType"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"name": "hasTitle",
|
|
772
|
+
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
773
|
+
"type": "boolean"
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"name": "showIcon",
|
|
777
|
+
"description": "是否显示提示图标",
|
|
778
|
+
"type": "boolean"
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"name": "closable",
|
|
782
|
+
"description": "是否显示关闭按钮",
|
|
783
|
+
"type": "boolean"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"name": "localStorageKey",
|
|
787
|
+
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
788
|
+
"type": "string"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"name": "disableUrlNamespace",
|
|
792
|
+
"description": "关闭后仅以 `localStorageKey` 作为命名空间",
|
|
793
|
+
"type": "boolean"
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"name": "textContent",
|
|
797
|
+
"type": "string",
|
|
798
|
+
"description": "文本内容"
|
|
799
|
+
}
|
|
800
|
+
],
|
|
801
|
+
"events": [],
|
|
802
|
+
"slots": [
|
|
803
|
+
{
|
|
804
|
+
"name": null,
|
|
805
|
+
"description": "内容区"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"name": "title",
|
|
809
|
+
"description": "标题"
|
|
810
|
+
}
|
|
811
|
+
],
|
|
812
|
+
"methods": [],
|
|
813
|
+
"parts": [],
|
|
814
|
+
"description": "告警提示",
|
|
815
|
+
"category": "display-component"
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"name": "eo-descriptions",
|
|
819
|
+
"alias": [
|
|
820
|
+
"presentational.general-descriptions"
|
|
821
|
+
],
|
|
822
|
+
"properties": [
|
|
823
|
+
{
|
|
824
|
+
"name": "descriptionTitle",
|
|
825
|
+
"description": "描述标题",
|
|
826
|
+
"type": "string"
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"name": "list",
|
|
830
|
+
"description": "描述列表",
|
|
831
|
+
"attribute": false,
|
|
832
|
+
"type": "DescriptionItem[]"
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"name": "showCard",
|
|
836
|
+
"description": "是否展示卡片背景",
|
|
837
|
+
"default": "true",
|
|
838
|
+
"type": "boolean"
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"name": "column",
|
|
842
|
+
"description": "列数",
|
|
843
|
+
"attribute": true,
|
|
844
|
+
"type": "number"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"name": "templateColumns",
|
|
848
|
+
"description": "CSS [grid-template-columns](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns)",
|
|
849
|
+
"type": "string"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"name": "layout",
|
|
853
|
+
"description": "布局模式",
|
|
854
|
+
"default": "\"horizontal\"",
|
|
855
|
+
"type": "Layout"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"name": "bordered",
|
|
859
|
+
"description": "是否展示边框",
|
|
860
|
+
"default": "false",
|
|
861
|
+
"type": "boolean"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"name": "hideGroups",
|
|
865
|
+
"description": "隐藏的描述列表项",
|
|
866
|
+
"attribute": false,
|
|
867
|
+
"type": "string | string[]"
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
"name": "dataSource",
|
|
871
|
+
"description": "数据源",
|
|
872
|
+
"attribute": false,
|
|
873
|
+
"type": "Record<string, unknown>"
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"name": "themeVariant",
|
|
877
|
+
"description": "主题变体",
|
|
878
|
+
"type": "\"default\" | \"elevo\""
|
|
879
|
+
}
|
|
880
|
+
],
|
|
881
|
+
"events": [],
|
|
882
|
+
"slots": [],
|
|
883
|
+
"methods": [],
|
|
884
|
+
"parts": [],
|
|
885
|
+
"description": "通用描述列表构件",
|
|
886
|
+
"category": "text"
|
|
887
887
|
}
|
|
888
888
|
],
|
|
889
889
|
"providers": []
|