@next-bricks/presentational 1.6.8 → 1.7.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.
Files changed (35) hide show
  1. package/dist/bricks.json +18 -18
  2. package/dist/chunks/2612.2c25b82a.js +2 -0
  3. package/dist/chunks/2612.2c25b82a.js.map +1 -0
  4. package/dist/chunks/{2652.8c39ed2a.js → 2652.d8379b86.js} +2 -2
  5. package/dist/chunks/2652.d8379b86.js.map +1 -0
  6. package/dist/chunks/{7115.bd27cc31.js → 7115.21e2b5ae.js} +2 -2
  7. package/dist/chunks/{7115.bd27cc31.js.map → 7115.21e2b5ae.js.map} +1 -1
  8. package/dist/chunks/{9496.622974ed.js → 9496.8f93e6db.js} +2 -2
  9. package/dist/chunks/{9496.622974ed.js.map → 9496.8f93e6db.js.map} +1 -1
  10. package/dist/chunks/eo-card-item.8b9dbbd8.js +3 -0
  11. package/dist/chunks/eo-card-item.8b9dbbd8.js.map +1 -0
  12. package/dist/chunks/{eo-descriptions.06e4f230.js → eo-descriptions.ff57bf99.js} +3 -3
  13. package/dist/chunks/{eo-descriptions.06e4f230.js.map → eo-descriptions.ff57bf99.js.map} +1 -1
  14. package/dist/chunks/{eo-info-card-item.107aaf4f.js → eo-info-card-item.1593dfd5.js} +3 -3
  15. package/dist/chunks/{eo-info-card-item.107aaf4f.js.map → eo-info-card-item.1593dfd5.js.map} +1 -1
  16. package/dist/chunks/{eo-loading-step.b441d89f.js → eo-loading-step.05a4b3e6.js} +3 -3
  17. package/dist/chunks/{eo-loading-step.b441d89f.js.map → eo-loading-step.05a4b3e6.js.map} +1 -1
  18. package/dist/chunks/{main.923a1368.js → main.df28ef49.js} +2 -2
  19. package/dist/chunks/{main.923a1368.js.map → main.df28ef49.js.map} +1 -1
  20. package/dist/examples.json +9 -9
  21. package/dist/{index.4f05bcae.js → index.ca87ac10.js} +2 -2
  22. package/dist/{index.4f05bcae.js.map → index.ca87ac10.js.map} +1 -1
  23. package/dist/manifest.json +198 -193
  24. package/dist/types.json +218 -211
  25. package/dist-types/card-item/index.d.ts +5 -0
  26. package/package.json +2 -2
  27. package/dist/chunks/2612.d738d359.js +0 -2
  28. package/dist/chunks/2612.d738d359.js.map +0 -1
  29. package/dist/chunks/2652.8c39ed2a.js.map +0 -1
  30. package/dist/chunks/eo-card-item.2d783d55.js +0 -3
  31. package/dist/chunks/eo-card-item.2d783d55.js.map +0 -1
  32. /package/dist/chunks/{eo-card-item.2d783d55.js.LICENSE.txt → eo-card-item.8b9dbbd8.js.LICENSE.txt} +0 -0
  33. /package/dist/chunks/{eo-descriptions.06e4f230.js.LICENSE.txt → eo-descriptions.ff57bf99.js.LICENSE.txt} +0 -0
  34. /package/dist/chunks/{eo-info-card-item.107aaf4f.js.LICENSE.txt → eo-info-card-item.1593dfd5.js.LICENSE.txt} +0 -0
  35. /package/dist/chunks/{eo-loading-step.b441d89f.js.LICENSE.txt → eo-loading-step.05a4b3e6.js.LICENSE.txt} +0 -0
@@ -64,6 +64,56 @@
64
64
  "description": "通用描述列表构件",
65
65
  "category": "text"
66
66
  },
67
+ {
68
+ "name": "eo-pagination",
69
+ "properties": [
70
+ {
71
+ "name": "total",
72
+ "description": "数据总数",
73
+ "default": "0",
74
+ "type": "number"
75
+ },
76
+ {
77
+ "name": "page",
78
+ "description": "当前页数",
79
+ "default": "1",
80
+ "type": "number"
81
+ },
82
+ {
83
+ "name": "pageSize",
84
+ "description": "每页条数",
85
+ "default": "20",
86
+ "type": "number"
87
+ },
88
+ {
89
+ "name": "pageSizeOptions",
90
+ "description": "指定每页可以显示多少条",
91
+ "default": "[10, 20, 50, 100]",
92
+ "attribute": false,
93
+ "type": "number[]"
94
+ },
95
+ {
96
+ "name": "showSizeChanger",
97
+ "description": "是否展示`pageSize`分页器",
98
+ "default": "true",
99
+ "type": "boolean"
100
+ }
101
+ ],
102
+ "events": [
103
+ {
104
+ "name": "change",
105
+ "description": "页码及每页条数改变事件",
106
+ "detail": {
107
+ "type": "{ page: number; pageSize: number }"
108
+ }
109
+ }
110
+ ],
111
+ "slots": [],
112
+ "methods": [],
113
+ "parts": [],
114
+ "description": "分页",
115
+ "category": "navigation"
116
+ },
67
117
  {
68
118
  "name": "eo-alert",
69
119
  "alias": [
@@ -118,113 +168,6 @@
118
168
  "description": "告警提示",
119
169
  "category": "display-component"
120
170
  },
121
- {
122
- "name": "eo-code-display",
123
- "alias": [
124
- "presentational.code-display"
125
- ],
126
- "properties": [
127
- {
128
- "name": "value",
129
- "description": "代码内容",
130
- "default": "\"\"",
131
- "type": "string"
132
- },
133
- {
134
- "name": "language",
135
- "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
136
- "type": "string"
137
- },
138
- {
139
- "name": "hideLineNumber",
140
- "description": "是否隐藏行号",
141
- "type": "boolean"
142
- },
143
- {
144
- "name": "maxLines",
145
- "description": "最大行数",
146
- "type": "number"
147
- },
148
- {
149
- "name": "minLines",
150
- "description": "最小行数",
151
- "type": "number"
152
- },
153
- {
154
- "name": "showCopyButton",
155
- "description": "是否显示复制按钮",
156
- "default": "true",
157
- "type": "boolean"
158
- },
159
- {
160
- "name": "showExportButton",
161
- "description": "是否显示导出按钮",
162
- "type": "boolean"
163
- },
164
- {
165
- "name": "exportFileName",
166
- "description": "导出的文件名",
167
- "default": "download.txt",
168
- "type": "string"
169
- }
170
- ],
171
- "events": [],
172
- "slots": [],
173
- "methods": [],
174
- "parts": [],
175
- "description": "代码展示",
176
- "category": "display-component"
177
- },
178
- {
179
- "name": "eo-pagination",
180
- "properties": [
181
- {
182
- "name": "total",
183
- "description": "数据总数",
184
- "default": "0",
185
- "type": "number"
186
- },
187
- {
188
- "name": "page",
189
- "description": "当前页数",
190
- "default": "1",
191
- "type": "number"
192
- },
193
- {
194
- "name": "pageSize",
195
- "description": "每页条数",
196
- "default": "20",
197
- "type": "number"
198
- },
199
- {
200
- "name": "pageSizeOptions",
201
- "description": "指定每页可以显示多少条",
202
- "default": "[10, 20, 50, 100]",
203
- "attribute": false,
204
- "type": "number[]"
205
- },
206
- {
207
- "name": "showSizeChanger",
208
- "description": "是否展示`pageSize`分页器",
209
- "default": "true",
210
- "type": "boolean"
211
- }
212
- ],
213
- "events": [
214
- {
215
- "name": "change",
216
- "description": "页码及每页条数改变事件",
217
- "detail": {
218
- "type": "{ page: number; pageSize: number }"
219
- }
220
- }
221
- ],
222
- "slots": [],
223
- "methods": [],
224
- "parts": [],
225
- "description": "分页",
226
- "category": "navigation"
227
- },
228
171
  {
229
172
  "name": "eo-card-item",
230
173
  "properties": [
@@ -276,6 +219,11 @@
276
219
  "attribute": false,
277
220
  "type": "ActionType[]"
278
221
  },
222
+ {
223
+ "name": "selected",
224
+ "description": "是否选中",
225
+ "type": "boolean"
226
+ },
279
227
  {
280
228
  "name": "styleType",
281
229
  "description": "卡片样式类型",
@@ -381,6 +329,63 @@
381
329
  "description": "分割线",
382
330
  "category": "container-display"
383
331
  },
332
+ {
333
+ "name": "eo-code-display",
334
+ "alias": [
335
+ "presentational.code-display"
336
+ ],
337
+ "properties": [
338
+ {
339
+ "name": "value",
340
+ "description": "代码内容",
341
+ "default": "\"\"",
342
+ "type": "string"
343
+ },
344
+ {
345
+ "name": "language",
346
+ "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
347
+ "type": "string"
348
+ },
349
+ {
350
+ "name": "hideLineNumber",
351
+ "description": "是否隐藏行号",
352
+ "type": "boolean"
353
+ },
354
+ {
355
+ "name": "maxLines",
356
+ "description": "最大行数",
357
+ "type": "number"
358
+ },
359
+ {
360
+ "name": "minLines",
361
+ "description": "最小行数",
362
+ "type": "number"
363
+ },
364
+ {
365
+ "name": "showCopyButton",
366
+ "description": "是否显示复制按钮",
367
+ "default": "true",
368
+ "type": "boolean"
369
+ },
370
+ {
371
+ "name": "showExportButton",
372
+ "description": "是否显示导出按钮",
373
+ "type": "boolean"
374
+ },
375
+ {
376
+ "name": "exportFileName",
377
+ "description": "导出的文件名",
378
+ "default": "download.txt",
379
+ "type": "string"
380
+ }
381
+ ],
382
+ "events": [],
383
+ "slots": [],
384
+ "methods": [],
385
+ "parts": [],
386
+ "description": "代码展示",
387
+ "category": "display-component"
388
+ },
384
389
  {
385
390
  "name": "eo-info-card-item",
386
391
  "properties": [
@@ -477,6 +482,92 @@
477
482
  "parts": [],
478
483
  "description": "人性化时间展示,可显示完整时间、相对时间、未来时间、耗时等,支持自定义输入值格式和输出格式。"
479
484
  },
485
+ {
486
+ "name": "eo-loading-step",
487
+ "properties": [
488
+ {
489
+ "name": "visible",
490
+ "description": "是否可见",
491
+ "type": "boolean"
492
+ },
493
+ {
494
+ "name": "width",
495
+ "description": "宽度",
496
+ "type": "string"
497
+ },
498
+ {
499
+ "name": "stepTitle",
500
+ "description": "步骤标题",
501
+ "type": "string"
502
+ },
503
+ {
504
+ "name": "stepList",
505
+ "description": "步骤列表",
506
+ "attribute": false,
507
+ "type": "StepItem[]"
508
+ },
509
+ {
510
+ "name": "curStep",
511
+ "description": "当前步骤",
512
+ "type": "string"
513
+ }
514
+ ],
515
+ "events": [
516
+ {
517
+ "name": "open",
518
+ "description": "打开事件",
519
+ "detail": {
520
+ "type": "void"
521
+ }
522
+ },
523
+ {
524
+ "name": "close",
525
+ "description": "关闭事件",
526
+ "detail": {
527
+ "type": "void"
528
+ }
529
+ }
530
+ ],
531
+ "slots": [],
532
+ "methods": [
533
+ {
534
+ "name": "open",
535
+ "params": [],
536
+ "description": "打开",
537
+ "returns": {}
538
+ },
539
+ {
540
+ "name": "close",
541
+ "params": [],
542
+ "description": "关闭",
543
+ "returns": {}
544
+ }
545
+ ],
546
+ "parts": [],
547
+ "description": "加载步骤框"
548
+ },
549
+ {
550
+ "name": "eo-current-time",
551
+ "properties": [
552
+ {
553
+ "name": "format",
554
+ "description": "时间格式",
555
+ "default": "\"YYYY-MM-DD HH:mm:ss\"",
556
+ "type": "string"
557
+ },
558
+ {
559
+ "name": "icon",
560
+ "description": "前置图标",
561
+ "attribute": false,
562
+ "type": "GeneralIconProps"
563
+ }
564
+ ],
565
+ "events": [],
566
+ "slots": [],
567
+ "methods": [],
568
+ "parts": [],
569
+ "description": "构件 `eo-current-time`"
570
+ },
480
571
  {
481
572
  "name": "eo-statistics-card",
482
573
  "properties": [
@@ -567,92 +658,6 @@
567
658
  "parts": [],
568
659
  "description": "统计卡片"
569
660
  },
570
- {
571
- "name": "eo-loading-step",
572
- "properties": [
573
- {
574
- "name": "visible",
575
- "description": "是否可见",
576
- "type": "boolean"
577
- },
578
- {
579
- "name": "width",
580
- "description": "宽度",
581
- "type": "string"
582
- },
583
- {
584
- "name": "stepTitle",
585
- "description": "步骤标题",
586
- "type": "string"
587
- },
588
- {
589
- "name": "stepList",
590
- "description": "步骤列表",
591
- "attribute": false,
592
- "type": "StepItem[]"
593
- },
594
- {
595
- "name": "curStep",
596
- "description": "当前步骤",
597
- "type": "string"
598
- }
599
- ],
600
- "events": [
601
- {
602
- "name": "open",
603
- "description": "打开事件",
604
- "detail": {
605
- "type": "void"
606
- }
607
- },
608
- {
609
- "name": "close",
610
- "description": "关闭事件",
611
- "detail": {
612
- "type": "void"
613
- }
614
- }
615
- ],
616
- "slots": [],
617
- "methods": [
618
- {
619
- "name": "open",
620
- "params": [],
621
- "description": "打开",
622
- "returns": {}
623
- },
624
- {
625
- "name": "close",
626
- "params": [],
627
- "description": "关闭",
628
- "returns": {}
629
- }
630
- ],
631
- "parts": [],
632
- "description": "加载步骤框"
633
- },
634
- {
635
- "name": "eo-current-time",
636
- "properties": [
637
- {
638
- "name": "format",
639
- "description": "时间格式",
640
- "default": "\"YYYY-MM-DD HH:mm:ss\"",
641
- "type": "string"
642
- },
643
- {
644
- "name": "icon",
645
- "description": "前置图标",
646
- "attribute": false,
647
- "type": "GeneralIconProps"
648
- }
649
- ],
650
- "events": [],
651
- "slots": [],
652
- "methods": [],
653
- "parts": [],
654
- "description": "构件 `eo-current-time`"
655
- },
656
661
  {
657
662
  "name": "eo-carousel-text",
658
663
  "properties": [