@next-bricks/presentational 1.16.0 → 1.17.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 +30 -30
- package/dist/chunks/{3171.2429f5cc.js → 3171.ec7ebf74.js} +2 -2
- package/dist/chunks/{5552.4424d6d7.js.map → 3171.ec7ebf74.js.map} +1 -1
- package/dist/chunks/{4306.44709dce.js → 4306.0c3d1cb1.js} +2 -2
- package/dist/chunks/4306.0c3d1cb1.js.map +1 -0
- package/dist/chunks/{4765.058ad269.js → 4765.eb562592.js} +2 -2
- package/dist/chunks/4765.eb562592.js.map +1 -0
- package/dist/chunks/{5552.4424d6d7.js → 5552.4b9552ba.js} +2 -2
- package/dist/chunks/{3171.2429f5cc.js.map → 5552.4b9552ba.js.map} +1 -1
- package/dist/chunks/7082.3af1018f.js +2 -0
- package/dist/chunks/7082.3af1018f.js.map +1 -0
- package/dist/chunks/{7146.b211731b.js → 7146.29dad417.js} +2 -2
- package/dist/chunks/7146.29dad417.js.map +1 -0
- package/dist/chunks/{8097.218a31d1.js → 8097.f5a73244.js} +2 -2
- package/dist/chunks/{8097.218a31d1.js.map → 8097.f5a73244.js.map} +1 -1
- package/dist/chunks/871.9f1c7ab2.js +2 -0
- package/dist/chunks/871.9f1c7ab2.js.map +1 -0
- package/dist/chunks/9140.13b890b2.js +3 -0
- package/dist/chunks/9140.13b890b2.js.map +1 -0
- package/dist/chunks/eo-card-item.c2470618.js +3 -0
- package/dist/chunks/eo-card-item.c2470618.js.map +1 -0
- package/dist/chunks/{eo-code-display.e889e65f.js → eo-code-display.a3897397.js} +2 -2
- package/dist/chunks/{eo-code-display.e889e65f.js.map → eo-code-display.a3897397.js.map} +1 -1
- package/dist/chunks/{eo-descriptions.1abe32d8.js → eo-descriptions.80cb44b4.js} +3 -3
- package/dist/chunks/{eo-descriptions.1abe32d8.js.map → eo-descriptions.80cb44b4.js.map} +1 -1
- package/dist/chunks/{eo-humanize-time.0c9b0b77.js → eo-humanize-time.6d09bec0.js} +2 -2
- package/dist/chunks/{eo-humanize-time.0c9b0b77.js.map → eo-humanize-time.6d09bec0.js.map} +1 -1
- package/dist/chunks/{eo-info-card-item.cb203fd3.js → eo-info-card-item.844117a4.js} +3 -3
- package/dist/chunks/{eo-info-card-item.cb203fd3.js.map → eo-info-card-item.844117a4.js.map} +1 -1
- package/dist/chunks/{eo-loading-step.53e39964.js → eo-loading-step.f189dd21.js} +3 -3
- package/dist/chunks/{eo-loading-step.53e39964.js.map → eo-loading-step.f189dd21.js.map} +1 -1
- package/dist/chunks/{eo-pagination.712e2e65.js → eo-pagination.5f8f5ec7.js} +3 -3
- package/dist/chunks/{eo-pagination.712e2e65.js.map → eo-pagination.5f8f5ec7.js.map} +1 -1
- package/dist/chunks/main.9633bbb6.js +2 -0
- package/dist/chunks/main.9633bbb6.js.map +1 -0
- package/dist/examples.json +11 -11
- package/dist/index.a637d001.js +2 -0
- package/dist/index.a637d001.js.map +1 -0
- package/dist/manifest.json +268 -261
- package/dist/types.json +177 -165
- package/package.json +3 -3
- package/dist/chunks/4306.44709dce.js.map +0 -1
- package/dist/chunks/4765.058ad269.js.map +0 -1
- package/dist/chunks/7082.4f2c5022.js +0 -2
- package/dist/chunks/7082.4f2c5022.js.map +0 -1
- package/dist/chunks/7146.b211731b.js.map +0 -1
- package/dist/chunks/871.62bceee5.js +0 -2
- package/dist/chunks/871.62bceee5.js.map +0 -1
- package/dist/chunks/9140.a08e4e42.js +0 -3
- package/dist/chunks/9140.a08e4e42.js.map +0 -1
- package/dist/chunks/eo-card-item.08f95a92.js +0 -3
- package/dist/chunks/eo-card-item.08f95a92.js.map +0 -1
- package/dist/chunks/main.09302c17.js +0 -2
- package/dist/chunks/main.09302c17.js.map +0 -1
- package/dist/index.7804e54f.js +0 -2
- package/dist/index.7804e54f.js.map +0 -1
- /package/dist/chunks/{9140.a08e4e42.js.LICENSE.txt → 9140.13b890b2.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-card-item.08f95a92.js.LICENSE.txt → eo-card-item.c2470618.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-descriptions.1abe32d8.js.LICENSE.txt → eo-descriptions.80cb44b4.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-info-card-item.cb203fd3.js.LICENSE.txt → eo-info-card-item.844117a4.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-loading-step.53e39964.js.LICENSE.txt → eo-loading-step.f189dd21.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-pagination.712e2e65.js.LICENSE.txt → eo-pagination.5f8f5ec7.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -69,6 +69,171 @@
|
|
|
69
69
|
"description": "通用描述列表构件",
|
|
70
70
|
"category": "text"
|
|
71
71
|
},
|
|
72
|
+
{
|
|
73
|
+
"name": "eo-alert",
|
|
74
|
+
"alias": [
|
|
75
|
+
"presentational.general-alert"
|
|
76
|
+
],
|
|
77
|
+
"properties": [
|
|
78
|
+
{
|
|
79
|
+
"name": "type",
|
|
80
|
+
"description": "警告类型",
|
|
81
|
+
"attribute": false,
|
|
82
|
+
"type": "AlertType"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "hasTitle",
|
|
86
|
+
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
87
|
+
"type": "boolean"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "showIcon",
|
|
91
|
+
"description": "是否显示提示图标",
|
|
92
|
+
"type": "boolean"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "closable",
|
|
96
|
+
"description": "是否显示关闭按钮",
|
|
97
|
+
"type": "boolean"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "localStorageKey",
|
|
101
|
+
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
102
|
+
"type": "string"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "disableUrlNamespace",
|
|
106
|
+
"description": "关闭后仅以 `localStorageKey` 作为命名空间",
|
|
107
|
+
"type": "boolean"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "textContent",
|
|
111
|
+
"type": "string",
|
|
112
|
+
"description": "文本内容"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"events": [],
|
|
116
|
+
"slots": [
|
|
117
|
+
{
|
|
118
|
+
"name": null,
|
|
119
|
+
"description": "内容区"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "title",
|
|
123
|
+
"description": "标题"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"methods": [],
|
|
127
|
+
"parts": [],
|
|
128
|
+
"description": "告警提示",
|
|
129
|
+
"category": "display-component"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "eo-pagination",
|
|
133
|
+
"properties": [
|
|
134
|
+
{
|
|
135
|
+
"name": "type",
|
|
136
|
+
"description": "",
|
|
137
|
+
"default": "\"page\"",
|
|
138
|
+
"type": "\"page\" | \"token\""
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "total",
|
|
142
|
+
"description": "数据总数",
|
|
143
|
+
"default": "0",
|
|
144
|
+
"type": "number"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "page",
|
|
148
|
+
"description": "当前页数",
|
|
149
|
+
"default": "1",
|
|
150
|
+
"type": "number"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "pageSize",
|
|
154
|
+
"description": "每页条数",
|
|
155
|
+
"default": "20",
|
|
156
|
+
"type": "number"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "pageSizeOptions",
|
|
160
|
+
"description": "指定每页可以显示多少条",
|
|
161
|
+
"default": "[10, 20, 50, 100]",
|
|
162
|
+
"attribute": false,
|
|
163
|
+
"type": "number[]"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "showSizeChanger",
|
|
167
|
+
"description": "是否展示`pageSize`分页器",
|
|
168
|
+
"default": "true",
|
|
169
|
+
"type": "boolean"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "nextToken",
|
|
173
|
+
"type": "string"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "previousToken",
|
|
177
|
+
"type": "string"
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
"events": [
|
|
181
|
+
{
|
|
182
|
+
"name": "change",
|
|
183
|
+
"description": "页码及每页条数改变事件",
|
|
184
|
+
"detail": {
|
|
185
|
+
"type": "ChangeDetail"
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"slots": [],
|
|
190
|
+
"methods": [],
|
|
191
|
+
"parts": [],
|
|
192
|
+
"description": "分页",
|
|
193
|
+
"category": "navigation"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "eo-divider",
|
|
197
|
+
"properties": [
|
|
198
|
+
{
|
|
199
|
+
"name": "orientation",
|
|
200
|
+
"description": "标题位置,在horizontal类型的分割线中使用",
|
|
201
|
+
"default": "center",
|
|
202
|
+
"attribute": false,
|
|
203
|
+
"type": "OrientationType"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "dashed",
|
|
207
|
+
"description": "是否虚线",
|
|
208
|
+
"default": "false",
|
|
209
|
+
"type": "boolean"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "type",
|
|
213
|
+
"description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
|
|
214
|
+
"default": "\"horizontal\"",
|
|
215
|
+
"type": "dividerType"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "proportion",
|
|
219
|
+
"description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
|
|
220
|
+
"attribute": false,
|
|
221
|
+
"type": "[number, number]"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "dividerStyle",
|
|
225
|
+
"description": "分割线自定义样式",
|
|
226
|
+
"attribute": false,
|
|
227
|
+
"type": "CSSProperties"
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"events": [],
|
|
231
|
+
"slots": [],
|
|
232
|
+
"methods": [],
|
|
233
|
+
"parts": [],
|
|
234
|
+
"description": "分割线",
|
|
235
|
+
"category": "container-display"
|
|
236
|
+
},
|
|
72
237
|
{
|
|
73
238
|
"name": "eo-card-item",
|
|
74
239
|
"properties": [
|
|
@@ -199,6 +364,13 @@
|
|
|
199
364
|
}
|
|
200
365
|
],
|
|
201
366
|
"events": [
|
|
367
|
+
{
|
|
368
|
+
"name": "action.click",
|
|
369
|
+
"description": "操作按钮点击事件",
|
|
370
|
+
"detail": {
|
|
371
|
+
"type": "SimpleActionType"
|
|
372
|
+
}
|
|
373
|
+
},
|
|
202
374
|
{
|
|
203
375
|
"name": "tag.click",
|
|
204
376
|
"description": "徽标点击事件",
|
|
@@ -217,115 +389,14 @@
|
|
|
217
389
|
"description": "扩展区域 1,通常放置标签信息"
|
|
218
390
|
},
|
|
219
391
|
{
|
|
220
|
-
"name": "expanded-area-2",
|
|
221
|
-
"description": "扩展区域 2,通常放置操作和其他属性信息(图标/头像/小字描述/统计信息)"
|
|
222
|
-
}
|
|
223
|
-
],
|
|
224
|
-
"methods": [],
|
|
225
|
-
"parts": [],
|
|
226
|
-
"description": "信息类卡片 —— 通用卡片",
|
|
227
|
-
"category": "card-info"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"name": "eo-alert",
|
|
231
|
-
"alias": [
|
|
232
|
-
"presentational.general-alert"
|
|
233
|
-
],
|
|
234
|
-
"properties": [
|
|
235
|
-
{
|
|
236
|
-
"name": "type",
|
|
237
|
-
"description": "警告类型",
|
|
238
|
-
"attribute": false,
|
|
239
|
-
"type": "AlertType"
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"name": "hasTitle",
|
|
243
|
-
"description": "是否显示标题。开启后,可以使用 `title` 插槽",
|
|
244
|
-
"type": "boolean"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"name": "showIcon",
|
|
248
|
-
"description": "是否显示提示图标",
|
|
249
|
-
"type": "boolean"
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
"name": "closable",
|
|
253
|
-
"description": "是否显示关闭按钮",
|
|
254
|
-
"type": "boolean"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"name": "localStorageKey",
|
|
258
|
-
"description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
|
|
259
|
-
"type": "string"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"name": "disableUrlNamespace",
|
|
263
|
-
"description": "关闭后仅以 `localStorageKey` 作为命名空间",
|
|
264
|
-
"type": "boolean"
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"name": "textContent",
|
|
268
|
-
"type": "string",
|
|
269
|
-
"description": "文本内容"
|
|
270
|
-
}
|
|
271
|
-
],
|
|
272
|
-
"events": [],
|
|
273
|
-
"slots": [
|
|
274
|
-
{
|
|
275
|
-
"name": null,
|
|
276
|
-
"description": "内容区"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"name": "title",
|
|
280
|
-
"description": "标题"
|
|
281
|
-
}
|
|
282
|
-
],
|
|
283
|
-
"methods": [],
|
|
284
|
-
"parts": [],
|
|
285
|
-
"description": "告警提示",
|
|
286
|
-
"category": "display-component"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"name": "eo-divider",
|
|
290
|
-
"properties": [
|
|
291
|
-
{
|
|
292
|
-
"name": "orientation",
|
|
293
|
-
"description": "标题位置,在horizontal类型的分割线中使用",
|
|
294
|
-
"default": "center",
|
|
295
|
-
"attribute": false,
|
|
296
|
-
"type": "OrientationType"
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"name": "dashed",
|
|
300
|
-
"description": "是否虚线",
|
|
301
|
-
"default": "false",
|
|
302
|
-
"type": "boolean"
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
"name": "type",
|
|
306
|
-
"description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
|
|
307
|
-
"default": "\"horizontal\"",
|
|
308
|
-
"type": "dividerType"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"name": "proportion",
|
|
312
|
-
"description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
|
|
313
|
-
"attribute": false,
|
|
314
|
-
"type": "[number, number]"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"name": "dividerStyle",
|
|
318
|
-
"description": "分割线自定义样式",
|
|
319
|
-
"attribute": false,
|
|
320
|
-
"type": "CSSProperties"
|
|
392
|
+
"name": "expanded-area-2",
|
|
393
|
+
"description": "扩展区域 2,通常放置操作和其他属性信息(图标/头像/小字描述/统计信息)"
|
|
321
394
|
}
|
|
322
395
|
],
|
|
323
|
-
"events": [],
|
|
324
|
-
"slots": [],
|
|
325
396
|
"methods": [],
|
|
326
397
|
"parts": [],
|
|
327
|
-
"description": "
|
|
328
|
-
"category": "
|
|
398
|
+
"description": "信息类卡片 —— 通用卡片",
|
|
399
|
+
"category": "card-info"
|
|
329
400
|
},
|
|
330
401
|
{
|
|
331
402
|
"name": "eo-info-card-item",
|
|
@@ -371,68 +442,126 @@
|
|
|
371
442
|
"category": "card-info"
|
|
372
443
|
},
|
|
373
444
|
{
|
|
374
|
-
"name": "eo-
|
|
445
|
+
"name": "eo-code-display",
|
|
446
|
+
"alias": [
|
|
447
|
+
"presentational.code-display"
|
|
448
|
+
],
|
|
375
449
|
"properties": [
|
|
376
450
|
{
|
|
377
|
-
"name": "
|
|
378
|
-
"description": "",
|
|
379
|
-
"default": "\"
|
|
380
|
-
"type": "
|
|
451
|
+
"name": "value",
|
|
452
|
+
"description": "代码内容",
|
|
453
|
+
"default": "\"\"",
|
|
454
|
+
"type": "string"
|
|
381
455
|
},
|
|
382
456
|
{
|
|
383
|
-
"name": "
|
|
384
|
-
"description": "
|
|
385
|
-
"
|
|
386
|
-
"type": "number"
|
|
457
|
+
"name": "language",
|
|
458
|
+
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
459
|
+
"type": "string"
|
|
387
460
|
},
|
|
388
461
|
{
|
|
389
|
-
"name": "
|
|
390
|
-
"description": "
|
|
391
|
-
"
|
|
392
|
-
"type": "number"
|
|
462
|
+
"name": "hideLineNumber",
|
|
463
|
+
"description": "是否隐藏行号",
|
|
464
|
+
"type": "boolean"
|
|
393
465
|
},
|
|
394
466
|
{
|
|
395
|
-
"name": "
|
|
396
|
-
"description": "
|
|
397
|
-
"default": "20",
|
|
467
|
+
"name": "maxLines",
|
|
468
|
+
"description": "最大行数",
|
|
398
469
|
"type": "number"
|
|
399
470
|
},
|
|
400
471
|
{
|
|
401
|
-
"name": "
|
|
402
|
-
"description": "
|
|
403
|
-
"
|
|
404
|
-
"attribute": false,
|
|
405
|
-
"type": "number[]"
|
|
472
|
+
"name": "minLines",
|
|
473
|
+
"description": "最小行数",
|
|
474
|
+
"type": "number"
|
|
406
475
|
},
|
|
407
476
|
{
|
|
408
|
-
"name": "
|
|
409
|
-
"description": "
|
|
477
|
+
"name": "showCopyButton",
|
|
478
|
+
"description": "是否显示复制按钮",
|
|
410
479
|
"default": "true",
|
|
411
480
|
"type": "boolean"
|
|
412
481
|
},
|
|
413
482
|
{
|
|
414
|
-
"name": "
|
|
415
|
-
"
|
|
483
|
+
"name": "showExportButton",
|
|
484
|
+
"description": "是否显示导出按钮",
|
|
485
|
+
"type": "boolean"
|
|
416
486
|
},
|
|
417
487
|
{
|
|
418
|
-
"name": "
|
|
488
|
+
"name": "exportFileName",
|
|
489
|
+
"description": "导出的文件名",
|
|
490
|
+
"default": "download.txt",
|
|
419
491
|
"type": "string"
|
|
420
492
|
}
|
|
421
493
|
],
|
|
422
|
-
"events": [
|
|
494
|
+
"events": [],
|
|
495
|
+
"slots": [],
|
|
496
|
+
"methods": [],
|
|
497
|
+
"parts": [],
|
|
498
|
+
"description": "代码展示",
|
|
499
|
+
"category": "display-component"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"name": "eo-humanize-time",
|
|
503
|
+
"alias": [
|
|
504
|
+
"presentational.humanize-time"
|
|
505
|
+
],
|
|
506
|
+
"properties": [
|
|
423
507
|
{
|
|
424
|
-
"name": "
|
|
425
|
-
"description": "
|
|
426
|
-
"
|
|
427
|
-
|
|
428
|
-
|
|
508
|
+
"name": "value",
|
|
509
|
+
"description": "时间截,或字符串,当为字符串时,应提供时间格式 `inputFormat`",
|
|
510
|
+
"required": true,
|
|
511
|
+
"attribute": false,
|
|
512
|
+
"type": "number | string"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "inputFormat",
|
|
516
|
+
"description": "字符串的时间格式,如 \"YYYY-MM-DD\", [时间格式参照表](https://day.js.org/docs/en/parse/string-format)",
|
|
517
|
+
"type": "string"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"name": "outputFormat",
|
|
521
|
+
"description": "展示时间格式,如 \"YYYY-MM-DD\",当设置该属性时,属性 `formatter` 无效 [时间格式参照表](https://day.js.org/docs/en/display/format)",
|
|
522
|
+
"type": "string"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"name": "type",
|
|
526
|
+
"description": "使用日期+时间格式输出还是仅日期。",
|
|
527
|
+
"default": "\"datetime\"",
|
|
528
|
+
"type": "\"datetime\" | \"date\""
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "isCostTime",
|
|
532
|
+
"description": "是否展示为耗费时间,例如:'1 个月 20 天'",
|
|
533
|
+
"type": "boolean"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"name": "formatter",
|
|
537
|
+
"description": "格式类型",
|
|
538
|
+
"default": "\"default\"",
|
|
539
|
+
"attribute": false,
|
|
540
|
+
"type": "HumanizeTimeFormat"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"name": "isMicrosecond",
|
|
544
|
+
"description": "value 值的单位是否为毫秒(此处属性 id 写错,实际表达意义为 isMillisecond)",
|
|
545
|
+
"deprecated": "请使用 `isMillisecond`",
|
|
546
|
+
"type": "boolean"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"name": "isMillisecond",
|
|
550
|
+
"description": "value 值的单位是否为毫秒",
|
|
551
|
+
"type": "boolean"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"name": "link",
|
|
555
|
+
"description": "跳转链接,默认为空",
|
|
556
|
+
"attribute": false,
|
|
557
|
+
"type": "LinkInfo"
|
|
429
558
|
}
|
|
430
559
|
],
|
|
560
|
+
"events": [],
|
|
431
561
|
"slots": [],
|
|
432
562
|
"methods": [],
|
|
433
563
|
"parts": [],
|
|
434
|
-
"description": "
|
|
435
|
-
"category": "navigation"
|
|
564
|
+
"description": "人性化时间展示,可显示完整时间、相对时间、未来时间、耗时等,支持自定义输入值格式和输出格式。"
|
|
436
565
|
},
|
|
437
566
|
{
|
|
438
567
|
"name": "eo-statistics-card",
|
|
@@ -588,71 +717,6 @@
|
|
|
588
717
|
"parts": [],
|
|
589
718
|
"description": "加载步骤框"
|
|
590
719
|
},
|
|
591
|
-
{
|
|
592
|
-
"name": "eo-humanize-time",
|
|
593
|
-
"alias": [
|
|
594
|
-
"presentational.humanize-time"
|
|
595
|
-
],
|
|
596
|
-
"properties": [
|
|
597
|
-
{
|
|
598
|
-
"name": "value",
|
|
599
|
-
"description": "时间截,或字符串,当为字符串时,应提供时间格式 `inputFormat`",
|
|
600
|
-
"required": true,
|
|
601
|
-
"attribute": false,
|
|
602
|
-
"type": "number | string"
|
|
603
|
-
},
|
|
604
|
-
{
|
|
605
|
-
"name": "inputFormat",
|
|
606
|
-
"description": "字符串的时间格式,如 \"YYYY-MM-DD\", [时间格式参照表](https://day.js.org/docs/en/parse/string-format)",
|
|
607
|
-
"type": "string"
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
"name": "outputFormat",
|
|
611
|
-
"description": "展示时间格式,如 \"YYYY-MM-DD\",当设置该属性时,属性 `formatter` 无效 [时间格式参照表](https://day.js.org/docs/en/display/format)",
|
|
612
|
-
"type": "string"
|
|
613
|
-
},
|
|
614
|
-
{
|
|
615
|
-
"name": "type",
|
|
616
|
-
"description": "使用日期+时间格式输出还是仅日期。",
|
|
617
|
-
"default": "\"datetime\"",
|
|
618
|
-
"type": "\"datetime\" | \"date\""
|
|
619
|
-
},
|
|
620
|
-
{
|
|
621
|
-
"name": "isCostTime",
|
|
622
|
-
"description": "是否展示为耗费时间,例如:'1 个月 20 天'",
|
|
623
|
-
"type": "boolean"
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
"name": "formatter",
|
|
627
|
-
"description": "格式类型",
|
|
628
|
-
"default": "\"default\"",
|
|
629
|
-
"attribute": false,
|
|
630
|
-
"type": "HumanizeTimeFormat"
|
|
631
|
-
},
|
|
632
|
-
{
|
|
633
|
-
"name": "isMicrosecond",
|
|
634
|
-
"description": "value 值的单位是否为毫秒(此处属性 id 写错,实际表达意义为 isMillisecond)",
|
|
635
|
-
"deprecated": "请使用 `isMillisecond`",
|
|
636
|
-
"type": "boolean"
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
"name": "isMillisecond",
|
|
640
|
-
"description": "value 值的单位是否为毫秒",
|
|
641
|
-
"type": "boolean"
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
"name": "link",
|
|
645
|
-
"description": "跳转链接,默认为空",
|
|
646
|
-
"attribute": false,
|
|
647
|
-
"type": "LinkInfo"
|
|
648
|
-
}
|
|
649
|
-
],
|
|
650
|
-
"events": [],
|
|
651
|
-
"slots": [],
|
|
652
|
-
"methods": [],
|
|
653
|
-
"parts": [],
|
|
654
|
-
"description": "人性化时间展示,可显示完整时间、相对时间、未来时间、耗时等,支持自定义输入值格式和输出格式。"
|
|
655
|
-
},
|
|
656
720
|
{
|
|
657
721
|
"name": "eo-current-time",
|
|
658
722
|
"properties": [
|
|
@@ -714,63 +778,6 @@
|
|
|
714
778
|
"methods": [],
|
|
715
779
|
"parts": [],
|
|
716
780
|
"description": "构件 `eo-carousel-text`"
|
|
717
|
-
},
|
|
718
|
-
{
|
|
719
|
-
"name": "eo-code-display",
|
|
720
|
-
"alias": [
|
|
721
|
-
"presentational.code-display"
|
|
722
|
-
],
|
|
723
|
-
"properties": [
|
|
724
|
-
{
|
|
725
|
-
"name": "value",
|
|
726
|
-
"description": "代码内容",
|
|
727
|
-
"default": "\"\"",
|
|
728
|
-
"type": "string"
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
"name": "language",
|
|
732
|
-
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
733
|
-
"type": "string"
|
|
734
|
-
},
|
|
735
|
-
{
|
|
736
|
-
"name": "hideLineNumber",
|
|
737
|
-
"description": "是否隐藏行号",
|
|
738
|
-
"type": "boolean"
|
|
739
|
-
},
|
|
740
|
-
{
|
|
741
|
-
"name": "maxLines",
|
|
742
|
-
"description": "最大行数",
|
|
743
|
-
"type": "number"
|
|
744
|
-
},
|
|
745
|
-
{
|
|
746
|
-
"name": "minLines",
|
|
747
|
-
"description": "最小行数",
|
|
748
|
-
"type": "number"
|
|
749
|
-
},
|
|
750
|
-
{
|
|
751
|
-
"name": "showCopyButton",
|
|
752
|
-
"description": "是否显示复制按钮",
|
|
753
|
-
"default": "true",
|
|
754
|
-
"type": "boolean"
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
"name": "showExportButton",
|
|
758
|
-
"description": "是否显示导出按钮",
|
|
759
|
-
"type": "boolean"
|
|
760
|
-
},
|
|
761
|
-
{
|
|
762
|
-
"name": "exportFileName",
|
|
763
|
-
"description": "导出的文件名",
|
|
764
|
-
"default": "download.txt",
|
|
765
|
-
"type": "string"
|
|
766
|
-
}
|
|
767
|
-
],
|
|
768
|
-
"events": [],
|
|
769
|
-
"slots": [],
|
|
770
|
-
"methods": [],
|
|
771
|
-
"parts": [],
|
|
772
|
-
"description": "代码展示",
|
|
773
|
-
"category": "display-component"
|
|
774
781
|
}
|
|
775
782
|
],
|
|
776
783
|
"providers": []
|