@next-bricks/presentational 1.12.8 → 1.13.0

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.
@@ -65,61 +65,68 @@
65
65
  "category": "text"
66
66
  },
67
67
  {
68
- "name": "eo-code-display",
69
- "alias": [
70
- "presentational.code-display"
71
- ],
68
+ "name": "eo-pagination",
72
69
  "properties": [
73
70
  {
74
- "name": "value",
75
- "description": "代码内容",
76
- "default": "\"\"",
77
- "type": "string"
71
+ "name": "type",
72
+ "description": "",
73
+ "default": "\"page\"",
74
+ "type": "\"page\" | \"token\""
78
75
  },
79
76
  {
80
- "name": "language",
81
- "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
82
- "type": "string"
77
+ "name": "total",
78
+ "description": "数据总数",
79
+ "default": "0",
80
+ "type": "number"
83
81
  },
84
82
  {
85
- "name": "hideLineNumber",
86
- "description": "是否隐藏行号",
87
- "type": "boolean"
83
+ "name": "page",
84
+ "description": "当前页数",
85
+ "default": "1",
86
+ "type": "number"
88
87
  },
89
88
  {
90
- "name": "maxLines",
91
- "description": "最大行数",
89
+ "name": "pageSize",
90
+ "description": "每页条数",
91
+ "default": "20",
92
92
  "type": "number"
93
93
  },
94
94
  {
95
- "name": "minLines",
96
- "description": "最小行数",
97
- "type": "number"
95
+ "name": "pageSizeOptions",
96
+ "description": "指定每页可以显示多少条",
97
+ "default": "[10, 20, 50, 100]",
98
+ "attribute": false,
99
+ "type": "number[]"
98
100
  },
99
101
  {
100
- "name": "showCopyButton",
101
- "description": "是否显示复制按钮",
102
+ "name": "showSizeChanger",
103
+ "description": "是否展示`pageSize`分页器",
102
104
  "default": "true",
103
105
  "type": "boolean"
104
106
  },
105
107
  {
106
- "name": "showExportButton",
107
- "description": "是否显示导出按钮",
108
- "type": "boolean"
108
+ "name": "nextToken",
109
+ "type": "string"
109
110
  },
110
111
  {
111
- "name": "exportFileName",
112
- "description": "导出的文件名",
113
- "default": "download.txt",
112
+ "name": "previousToken",
114
113
  "type": "string"
115
114
  }
116
115
  ],
117
- "events": [],
116
+ "events": [
117
+ {
118
+ "name": "change",
119
+ "description": "页码及每页条数改变事件",
120
+ "detail": {
121
+ "type": "ChangeDetail"
122
+ }
123
+ }
124
+ ],
118
125
  "slots": [],
119
126
  "methods": [],
120
127
  "parts": [],
121
- "description": "代码展示",
122
- "category": "display-component"
128
+ "description": "分页",
129
+ "category": "navigation"
123
130
  },
124
131
  {
125
132
  "name": "eo-alert",
@@ -180,112 +187,6 @@
180
187
  "description": "告警提示",
181
188
  "category": "display-component"
182
189
  },
183
- {
184
- "name": "eo-pagination",
185
- "properties": [
186
- {
187
- "name": "type",
188
- "description": "",
189
- "default": "\"page\"",
190
- "type": "\"page\" | \"token\""
191
- },
192
- {
193
- "name": "total",
194
- "description": "数据总数",
195
- "default": "0",
196
- "type": "number"
197
- },
198
- {
199
- "name": "page",
200
- "description": "当前页数",
201
- "default": "1",
202
- "type": "number"
203
- },
204
- {
205
- "name": "pageSize",
206
- "description": "每页条数",
207
- "default": "20",
208
- "type": "number"
209
- },
210
- {
211
- "name": "pageSizeOptions",
212
- "description": "指定每页可以显示多少条",
213
- "default": "[10, 20, 50, 100]",
214
- "attribute": false,
215
- "type": "number[]"
216
- },
217
- {
218
- "name": "showSizeChanger",
219
- "description": "是否展示`pageSize`分页器",
220
- "default": "true",
221
- "type": "boolean"
222
- },
223
- {
224
- "name": "nextToken",
225
- "type": "string"
226
- },
227
- {
228
- "name": "previousToken",
229
- "type": "string"
230
- }
231
- ],
232
- "events": [
233
- {
234
- "name": "change",
235
- "description": "页码及每页条数改变事件",
236
- "detail": {
237
- "type": "ChangeDetail"
238
- }
239
- }
240
- ],
241
- "slots": [],
242
- "methods": [],
243
- "parts": [],
244
- "description": "分页",
245
- "category": "navigation"
246
- },
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": [