@next-bricks/presentational 1.17.2 → 1.19.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.
@@ -32,6 +32,11 @@
32
32
  "attribute": true,
33
33
  "type": "number"
34
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
+ },
35
40
  {
36
41
  "name": "layout",
37
42
  "description": "布局模式",
@@ -69,129 +74,6 @@
69
74
  "description": "通用描述列表构件",
70
75
  "category": "text"
71
76
  },
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
77
  {
196
78
  "name": "eo-card-item",
197
79
  "properties": [
@@ -297,6 +179,11 @@
297
179
  "description": "卡片边框颜色",
298
180
  "type": "string"
299
181
  },
182
+ {
183
+ "name": "stacked",
184
+ "description": "是否堆叠",
185
+ "type": "boolean"
186
+ },
300
187
  {
301
188
  "name": "cardStyle",
302
189
  "description": "卡片样式",
@@ -357,46 +244,68 @@
357
244
  "category": "card-info"
358
245
  },
359
246
  {
360
- "name": "eo-divider",
247
+ "name": "eo-pagination",
361
248
  "properties": [
362
249
  {
363
- "name": "orientation",
364
- "description": "标题位置,在horizontal类型的分割线中使用",
365
- "default": "center",
366
- "attribute": false,
367
- "type": "OrientationType"
250
+ "name": "type",
251
+ "description": "",
252
+ "default": "\"page\"",
253
+ "type": "\"page\" | \"token\""
368
254
  },
369
255
  {
370
- "name": "dashed",
371
- "description": "是否虚线",
372
- "default": "false",
373
- "type": "boolean"
256
+ "name": "total",
257
+ "description": "数据总数",
258
+ "default": "0",
259
+ "type": "number"
374
260
  },
375
261
  {
376
- "name": "type",
377
- "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
378
- "default": "\"horizontal\"",
379
- "type": "dividerType"
262
+ "name": "page",
263
+ "description": "当前页数",
264
+ "default": "1",
265
+ "type": "number"
380
266
  },
381
267
  {
382
- "name": "proportion",
383
- "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
384
- "attribute": false,
385
- "type": "[number, number]"
268
+ "name": "pageSize",
269
+ "description": "每页条数",
270
+ "default": "20",
271
+ "type": "number"
386
272
  },
387
273
  {
388
- "name": "dividerStyle",
389
- "description": "分割线自定义样式",
274
+ "name": "pageSizeOptions",
275
+ "description": "指定每页可以显示多少条",
276
+ "default": "[10, 20, 50, 100]",
390
277
  "attribute": false,
391
- "type": "CSSProperties"
278
+ "type": "number[]"
279
+ },
280
+ {
281
+ "name": "showSizeChanger",
282
+ "description": "是否展示`pageSize`分页器",
283
+ "default": "true",
284
+ "type": "boolean"
285
+ },
286
+ {
287
+ "name": "nextToken",
288
+ "type": "string"
289
+ },
290
+ {
291
+ "name": "previousToken",
292
+ "type": "string"
293
+ }
294
+ ],
295
+ "events": [
296
+ {
297
+ "name": "change",
298
+ "description": "页码及每页条数改变事件",
299
+ "detail": {
300
+ "type": "ChangeDetail"
301
+ }
392
302
  }
393
303
  ],
394
- "events": [],
395
304
  "slots": [],
396
305
  "methods": [],
397
306
  "parts": [],
398
- "description": "分割线",
399
- "category": "container-display"
307
+ "description": "分页",
308
+ "category": "navigation"
400
309
  },
401
310
  {
402
311
  "name": "eo-code-display",
@@ -456,47 +365,63 @@
456
365
  "category": "display-component"
457
366
  },
458
367
  {
459
- "name": "eo-info-card-item",
368
+ "name": "eo-alert",
369
+ "alias": [
370
+ "presentational.general-alert"
371
+ ],
460
372
  "properties": [
461
373
  {
462
- "name": "cardTitle",
463
- "description": "title",
464
- "type": "string"
374
+ "name": "type",
375
+ "description": "警告类型",
376
+ "attribute": false,
377
+ "type": "AlertType"
465
378
  },
466
379
  {
467
- "name": "description",
468
- "description": "description",
469
- "type": "string"
380
+ "name": "hasTitle",
381
+ "description": "是否显示标题。开启后,可以使用 `title` 插槽",
382
+ "type": "boolean"
470
383
  },
471
384
  {
472
- "name": "url",
473
- "description": "链接地址",
474
- "type": "string"
385
+ "name": "showIcon",
386
+ "description": "是否显示提示图标",
387
+ "type": "boolean"
475
388
  },
476
389
  {
477
- "name": "cardIcon",
478
- "description": "图标",
479
- "attribute": false,
480
- "type": "IconAvatar"
390
+ "name": "closable",
391
+ "description": "是否显示关闭按钮",
392
+ "type": "boolean"
481
393
  },
482
394
  {
483
- "name": "detailList",
484
- "description": "详细列表",
485
- "attribute": false,
486
- "type": "InfoCardDetail[]"
395
+ "name": "localStorageKey",
396
+ "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
397
+ "type": "string"
487
398
  },
488
399
  {
489
- "name": "target",
490
- "description": "链接跳转目标",
491
- "type": "LinkProps[\"target\"]"
400
+ "name": "disableUrlNamespace",
401
+ "description": "关闭后仅以 `localStorageKey` 作为命名空间",
402
+ "type": "boolean"
403
+ },
404
+ {
405
+ "name": "textContent",
406
+ "type": "string",
407
+ "description": "文本内容"
492
408
  }
493
409
  ],
494
410
  "events": [],
495
- "slots": [],
411
+ "slots": [
412
+ {
413
+ "name": null,
414
+ "description": "内容区"
415
+ },
416
+ {
417
+ "name": "title",
418
+ "description": "标题"
419
+ }
420
+ ],
496
421
  "methods": [],
497
422
  "parts": [],
498
- "description": "信息卡片",
499
- "category": "card-info"
423
+ "description": "告警提示",
424
+ "category": "display-component"
500
425
  },
501
426
  {
502
427
  "name": "eo-humanize-time",
@@ -563,6 +488,91 @@
563
488
  "parts": [],
564
489
  "description": "人性化时间展示,可显示完整时间、相对时间、未来时间、耗时等,支持自定义输入值格式和输出格式。"
565
490
  },
491
+ {
492
+ "name": "eo-info-card-item",
493
+ "properties": [
494
+ {
495
+ "name": "cardTitle",
496
+ "description": "title",
497
+ "type": "string"
498
+ },
499
+ {
500
+ "name": "description",
501
+ "description": "description",
502
+ "type": "string"
503
+ },
504
+ {
505
+ "name": "url",
506
+ "description": "链接地址",
507
+ "type": "string"
508
+ },
509
+ {
510
+ "name": "cardIcon",
511
+ "description": "图标",
512
+ "attribute": false,
513
+ "type": "IconAvatar"
514
+ },
515
+ {
516
+ "name": "detailList",
517
+ "description": "详细列表",
518
+ "attribute": false,
519
+ "type": "InfoCardDetail[]"
520
+ },
521
+ {
522
+ "name": "target",
523
+ "description": "链接跳转目标",
524
+ "type": "LinkProps[\"target\"]"
525
+ }
526
+ ],
527
+ "events": [],
528
+ "slots": [],
529
+ "methods": [],
530
+ "parts": [],
531
+ "description": "信息卡片",
532
+ "category": "card-info"
533
+ },
534
+ {
535
+ "name": "eo-divider",
536
+ "properties": [
537
+ {
538
+ "name": "orientation",
539
+ "description": "标题位置,在horizontal类型的分割线中使用",
540
+ "default": "center",
541
+ "attribute": false,
542
+ "type": "OrientationType"
543
+ },
544
+ {
545
+ "name": "dashed",
546
+ "description": "是否虚线",
547
+ "default": "false",
548
+ "type": "boolean"
549
+ },
550
+ {
551
+ "name": "type",
552
+ "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
553
+ "default": "\"horizontal\"",
554
+ "type": "dividerType"
555
+ },
556
+ {
557
+ "name": "proportion",
558
+ "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
559
+ "attribute": false,
560
+ "type": "[number, number]"
561
+ },
562
+ {
563
+ "name": "dividerStyle",
564
+ "description": "分割线自定义样式",
565
+ "attribute": false,
566
+ "type": "CSSProperties"
567
+ }
568
+ ],
569
+ "events": [],
570
+ "slots": [],
571
+ "methods": [],
572
+ "parts": [],
573
+ "description": "分割线",
574
+ "category": "container-display"
575
+ },
566
576
  {
567
577
  "name": "eo-statistics-card",
568
578
  "properties": [
@@ -653,28 +663,6 @@
653
663
  "parts": [],
654
664
  "description": "统计卡片"
655
665
  },
656
- {
657
- "name": "eo-current-time",
658
- "properties": [
659
- {
660
- "name": "format",
661
- "description": "时间格式",
662
- "default": "\"YYYY-MM-DD HH:mm:ss\"",
663
- "type": "string"
664
- },
665
- {
666
- "name": "icon",
667
- "description": "前置图标",
668
- "attribute": false,
669
- "type": "GeneralIconProps"
670
- }
671
- ],
672
- "events": [],
673
- "slots": [],
674
- "methods": [],
675
- "parts": [],
676
- "description": "构件 `eo-current-time`"
677
- },
678
666
  {
679
667
  "name": "eo-loading-step",
680
668
  "properties": [
@@ -739,6 +727,28 @@
739
727
  "parts": [],
740
728
  "description": "加载步骤框"
741
729
  },
730
+ {
731
+ "name": "eo-current-time",
732
+ "properties": [
733
+ {
734
+ "name": "format",
735
+ "description": "时间格式",
736
+ "default": "\"YYYY-MM-DD HH:mm:ss\"",
737
+ "type": "string"
738
+ },
739
+ {
740
+ "name": "icon",
741
+ "description": "前置图标",
742
+ "attribute": false,
743
+ "type": "GeneralIconProps"
744
+ }
745
+ ],
746
+ "events": [],
747
+ "slots": [],
748
+ "methods": [],
749
+ "parts": [],
750
+ "description": "构件 `eo-current-time`"
751
+ },
742
752
  {
743
753
  "name": "eo-carousel-text",
744
754
  "properties": [