@next-bricks/presentational 1.12.0 → 1.12.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 +17 -17
- package/dist/chunks/4185.c2453882.js +3 -0
- package/dist/chunks/4185.c2453882.js.map +1 -0
- package/dist/chunks/4196.2c0cc687.js +2 -0
- package/dist/chunks/{4196.cca24f30.js.map → 4196.2c0cc687.js.map} +1 -1
- package/dist/chunks/{4837.89f5cf5c.js → 4837.46f0f733.js} +2 -2
- package/dist/chunks/{4837.89f5cf5c.js.map → 4837.46f0f733.js.map} +1 -1
- package/dist/chunks/{7218.cbdbf4dc.js → 7218.e9f08213.js} +2 -2
- package/dist/chunks/{7218.cbdbf4dc.js.map → 7218.e9f08213.js.map} +1 -1
- package/dist/chunks/eo-card-item.41025a28.js +3 -0
- package/dist/chunks/{eo-card-item.ba559329.js.map → eo-card-item.41025a28.js.map} +1 -1
- package/dist/chunks/eo-descriptions.db3abdc1.js +3 -0
- package/dist/chunks/{eo-descriptions.28b294f5.js.map → eo-descriptions.db3abdc1.js.map} +1 -1
- package/dist/chunks/eo-info-card-item.0d079211.js +3 -0
- package/dist/chunks/{eo-info-card-item.4e18db94.js.map → eo-info-card-item.0d079211.js.map} +1 -1
- package/dist/chunks/eo-loading-step.078a2852.js +3 -0
- package/dist/chunks/{eo-loading-step.bd38e150.js.map → eo-loading-step.078a2852.js.map} +1 -1
- package/dist/chunks/{main.4fe18e42.js → main.68264fbb.js} +2 -2
- package/dist/chunks/main.68264fbb.js.map +1 -0
- package/dist/examples.json +8 -8
- package/dist/{index.76061934.js → index.afbf01cd.js} +2 -2
- package/dist/index.afbf01cd.js.map +1 -0
- package/dist/manifest.json +197 -197
- package/dist/types.json +298 -298
- package/package.json +2 -2
- package/dist/chunks/1491.23bdb29b.js +0 -3
- package/dist/chunks/1491.23bdb29b.js.map +0 -1
- package/dist/chunks/4196.cca24f30.js +0 -2
- package/dist/chunks/eo-card-item.ba559329.js +0 -3
- package/dist/chunks/eo-descriptions.28b294f5.js +0 -3
- package/dist/chunks/eo-info-card-item.4e18db94.js +0 -3
- package/dist/chunks/eo-loading-step.bd38e150.js +0 -3
- package/dist/chunks/main.4fe18e42.js.map +0 -1
- package/dist/index.76061934.js.map +0 -1
- /package/dist/chunks/{1491.23bdb29b.js.LICENSE.txt → 4185.c2453882.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-card-item.ba559329.js.LICENSE.txt → eo-card-item.41025a28.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-descriptions.28b294f5.js.LICENSE.txt → eo-descriptions.db3abdc1.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-info-card-item.4e18db94.js.LICENSE.txt → eo-info-card-item.0d079211.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-loading-step.bd38e150.js.LICENSE.txt → eo-loading-step.078a2852.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -64,70 +64,6 @@
|
|
|
64
64
|
"description": "通用描述列表构件",
|
|
65
65
|
"category": "text"
|
|
66
66
|
},
|
|
67
|
-
{
|
|
68
|
-
"name": "eo-pagination",
|
|
69
|
-
"properties": [
|
|
70
|
-
{
|
|
71
|
-
"name": "type",
|
|
72
|
-
"description": "",
|
|
73
|
-
"default": "\"page\"",
|
|
74
|
-
"type": "\"page\" | \"token\""
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"name": "total",
|
|
78
|
-
"description": "数据总数",
|
|
79
|
-
"default": "0",
|
|
80
|
-
"type": "number"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"name": "page",
|
|
84
|
-
"description": "当前页数",
|
|
85
|
-
"default": "1",
|
|
86
|
-
"type": "number"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"name": "pageSize",
|
|
90
|
-
"description": "每页条数",
|
|
91
|
-
"default": "20",
|
|
92
|
-
"type": "number"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "pageSizeOptions",
|
|
96
|
-
"description": "指定每页可以显示多少条",
|
|
97
|
-
"default": "[10, 20, 50, 100]",
|
|
98
|
-
"attribute": false,
|
|
99
|
-
"type": "number[]"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"name": "showSizeChanger",
|
|
103
|
-
"description": "是否展示`pageSize`分页器",
|
|
104
|
-
"default": "true",
|
|
105
|
-
"type": "boolean"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"name": "nextToken",
|
|
109
|
-
"type": "string"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"name": "previousToken",
|
|
113
|
-
"type": "string"
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
"events": [
|
|
117
|
-
{
|
|
118
|
-
"name": "change",
|
|
119
|
-
"description": "页码及每页条数改变事件",
|
|
120
|
-
"detail": {
|
|
121
|
-
"type": "ChangeDetail"
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
],
|
|
125
|
-
"slots": [],
|
|
126
|
-
"methods": [],
|
|
127
|
-
"parts": [],
|
|
128
|
-
"description": "分页",
|
|
129
|
-
"category": "navigation"
|
|
130
|
-
},
|
|
131
67
|
{
|
|
132
68
|
"name": "eo-alert",
|
|
133
69
|
"alias": [
|
|
@@ -188,103 +124,68 @@
|
|
|
188
124
|
"category": "display-component"
|
|
189
125
|
},
|
|
190
126
|
{
|
|
191
|
-
"name": "eo-
|
|
127
|
+
"name": "eo-pagination",
|
|
192
128
|
"properties": [
|
|
193
|
-
{
|
|
194
|
-
"name": "orientation",
|
|
195
|
-
"description": "标题位置,在horizontal类型的分割线中使用",
|
|
196
|
-
"default": "center",
|
|
197
|
-
"attribute": false,
|
|
198
|
-
"type": "OrientationType"
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"name": "dashed",
|
|
202
|
-
"description": "是否虚线",
|
|
203
|
-
"default": "false",
|
|
204
|
-
"type": "boolean"
|
|
205
|
-
},
|
|
206
129
|
{
|
|
207
130
|
"name": "type",
|
|
208
|
-
"description": "
|
|
209
|
-
"default": "\"
|
|
210
|
-
"type": "
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"name": "proportion",
|
|
214
|
-
"description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
|
|
215
|
-
"attribute": false,
|
|
216
|
-
"type": "[number, number]"
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"name": "dividerStyle",
|
|
220
|
-
"description": "分割线自定义样式",
|
|
221
|
-
"attribute": false,
|
|
222
|
-
"type": "CSSProperties"
|
|
223
|
-
}
|
|
224
|
-
],
|
|
225
|
-
"events": [],
|
|
226
|
-
"slots": [],
|
|
227
|
-
"methods": [],
|
|
228
|
-
"parts": [],
|
|
229
|
-
"description": "分割线",
|
|
230
|
-
"category": "container-display"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"name": "eo-code-display",
|
|
234
|
-
"alias": [
|
|
235
|
-
"presentational.code-display"
|
|
236
|
-
],
|
|
237
|
-
"properties": [
|
|
238
|
-
{
|
|
239
|
-
"name": "value",
|
|
240
|
-
"description": "代码内容",
|
|
241
|
-
"default": "\"\"",
|
|
242
|
-
"type": "string"
|
|
131
|
+
"description": "",
|
|
132
|
+
"default": "\"page\"",
|
|
133
|
+
"type": "\"page\" | \"token\""
|
|
243
134
|
},
|
|
244
135
|
{
|
|
245
|
-
"name": "
|
|
246
|
-
"description": "
|
|
247
|
-
"
|
|
136
|
+
"name": "total",
|
|
137
|
+
"description": "数据总数",
|
|
138
|
+
"default": "0",
|
|
139
|
+
"type": "number"
|
|
248
140
|
},
|
|
249
141
|
{
|
|
250
|
-
"name": "
|
|
251
|
-
"description": "
|
|
252
|
-
"
|
|
142
|
+
"name": "page",
|
|
143
|
+
"description": "当前页数",
|
|
144
|
+
"default": "1",
|
|
145
|
+
"type": "number"
|
|
253
146
|
},
|
|
254
147
|
{
|
|
255
|
-
"name": "
|
|
256
|
-
"description": "
|
|
148
|
+
"name": "pageSize",
|
|
149
|
+
"description": "每页条数",
|
|
150
|
+
"default": "20",
|
|
257
151
|
"type": "number"
|
|
258
152
|
},
|
|
259
153
|
{
|
|
260
|
-
"name": "
|
|
261
|
-
"description": "
|
|
262
|
-
"
|
|
154
|
+
"name": "pageSizeOptions",
|
|
155
|
+
"description": "指定每页可以显示多少条",
|
|
156
|
+
"default": "[10, 20, 50, 100]",
|
|
157
|
+
"attribute": false,
|
|
158
|
+
"type": "number[]"
|
|
263
159
|
},
|
|
264
160
|
{
|
|
265
|
-
"name": "
|
|
266
|
-
"description": "
|
|
161
|
+
"name": "showSizeChanger",
|
|
162
|
+
"description": "是否展示`pageSize`分页器",
|
|
267
163
|
"default": "true",
|
|
268
164
|
"type": "boolean"
|
|
269
165
|
},
|
|
270
166
|
{
|
|
271
|
-
"name": "
|
|
272
|
-
"
|
|
273
|
-
"type": "boolean"
|
|
167
|
+
"name": "nextToken",
|
|
168
|
+
"type": "string"
|
|
274
169
|
},
|
|
275
170
|
{
|
|
276
|
-
"name": "
|
|
277
|
-
"description": "导出的文件名",
|
|
278
|
-
"default": "download.txt",
|
|
171
|
+
"name": "previousToken",
|
|
279
172
|
"type": "string"
|
|
280
173
|
}
|
|
281
174
|
],
|
|
282
|
-
"events": [
|
|
175
|
+
"events": [
|
|
176
|
+
{
|
|
177
|
+
"name": "change",
|
|
178
|
+
"description": "页码及每页条数改变事件",
|
|
179
|
+
"detail": {
|
|
180
|
+
"type": "ChangeDetail"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
],
|
|
283
184
|
"slots": [],
|
|
284
185
|
"methods": [],
|
|
285
186
|
"parts": [],
|
|
286
|
-
"description": "
|
|
287
|
-
"category": "
|
|
187
|
+
"description": "分页",
|
|
188
|
+
"category": "navigation"
|
|
288
189
|
},
|
|
289
190
|
{
|
|
290
191
|
"name": "eo-card-item",
|
|
@@ -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": [
|
|
@@ -615,6 +615,68 @@
|
|
|
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
|
+
},
|
|
618
680
|
{
|
|
619
681
|
"name": "eo-loading-step",
|
|
620
682
|
"properties": [
|
|
@@ -678,68 +740,6 @@
|
|
|
678
740
|
],
|
|
679
741
|
"parts": [],
|
|
680
742
|
"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": []
|