@next-bricks/presentational 0.20.0 → 0.21.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 (52) hide show
  1. package/dist/bricks.json +1 -1
  2. package/dist/chunks/9359.f58cbe08.js +2 -0
  3. package/dist/chunks/9359.f58cbe08.js.map +1 -0
  4. package/dist/chunks/eo-alert.fe9e8c22.js +3 -0
  5. package/dist/chunks/eo-alert.fe9e8c22.js.map +1 -0
  6. package/dist/chunks/eo-statistics-card.c2d82f00.js +2 -0
  7. package/dist/chunks/eo-statistics-card.c2d82f00.js.map +1 -0
  8. package/dist/chunks/{main.9dcfb4a3.js → main.cdbd44e7.js} +2 -2
  9. package/dist/chunks/{main.9dcfb4a3.js.map → main.cdbd44e7.js.map} +1 -1
  10. package/dist/examples.json +2 -2
  11. package/dist/{index.c4784992.js → index.eccff41b.js} +2 -2
  12. package/dist/{index.c4784992.js.map → index.eccff41b.js.map} +1 -1
  13. package/dist/manifest.json +14 -0
  14. package/dist/stories-assets/card-blue.b720359410357c004700.svg +37 -0
  15. package/dist/stories-assets/eo-alert.02683385378f7c3fae6a.svg +157 -0
  16. package/dist/stories-assets/eo-alert[info-tips-with-icon].3a210c979febafb5c24f.svg +52 -0
  17. package/dist/stories-assets/eo-alert[success-tips].a52aaddac794ed2df91a.svg +52 -0
  18. package/dist/stories-assets/eo-alert[warn-tips-with-close].7747c1e8d98ff2061dab.svg +56 -0
  19. package/dist/stories-assets/eo-alert[with-slot].3812fee6cf496c2ae326.svg +82 -0
  20. package/dist/stories-assets/eo-card-item.14cef77a449c10e33790.svg +23 -0
  21. package/dist/stories-assets/eo-card-item[normal].070e2c69590888ceb686.svg +23 -0
  22. package/dist/stories-assets/eo-card-item[with-right-tag].0b5f7342cce1217a7de7.svg +22 -0
  23. package/dist/stories-assets/eo-code-display.d3eed656cefe2e4f7b5b.svg +24 -0
  24. package/dist/stories-assets/eo-code-display[css].328987c856ec720741d9.svg +56 -0
  25. package/dist/stories-assets/eo-code-display[js].69aa084fd43383c2645e.svg +35 -0
  26. package/dist/stories-assets/eo-descriptions.965e13a5fc9f585c6f5b.svg +26 -0
  27. package/dist/stories-assets/eo-descriptions[normal].491f209ddcb9d51a2609.svg +34 -0
  28. package/dist/stories-assets/eo-divider.271f77d94f33b6150548.svg +14 -0
  29. package/dist/stories-assets/eo-divider[normal].db6d6df633260b64a65a.svg +22 -0
  30. package/dist/stories-assets/eo-humanize-time.56238da7262dabf6b5ff.svg +17 -0
  31. package/dist/stories-assets/eo-humanize-time[accurate].b5cf2308d9eddfbfab23.svg +14 -0
  32. package/dist/stories-assets/eo-humanize-time[cost].76859afe51987e3204a4.svg +14 -0
  33. package/dist/stories-assets/eo-humanize-time[format].8c1180b88e67a51bee90.svg +14 -0
  34. package/dist/stories-assets/eo-humanize-time[full].2984b25c72dbf29328ea.svg +17 -0
  35. package/dist/stories-assets/eo-humanize-time[relative].578ba8d01cdb55c1d488.svg +14 -0
  36. package/dist/stories-assets/eo-pagination.496479d51cfcd0fabc2b.svg +23 -0
  37. package/dist/stories-assets/eo-pagination[normal].af14b46786ad85369798.svg +23 -0
  38. package/dist/stories-assets/eo-statistic-card[normal].a655def2da5d2b06522d.svg +35 -0
  39. package/dist/stories.json +611 -0
  40. package/dist/types.json +27 -0
  41. package/dist-types/general-alert/index.d.ts +5 -0
  42. package/dist-types/statistics-card/index.d.ts +6 -0
  43. package/docs/eo-alert.md +7 -0
  44. package/docs/eo-statistics-card.md +117 -0
  45. package/package.json +2 -2
  46. package/dist/chunks/9359.a55fdcda.js +0 -2
  47. package/dist/chunks/9359.a55fdcda.js.map +0 -1
  48. package/dist/chunks/eo-alert.4b6b7169.js +0 -3
  49. package/dist/chunks/eo-alert.4b6b7169.js.map +0 -1
  50. package/dist/chunks/eo-statistics-card.953c7d00.js +0 -2
  51. package/dist/chunks/eo-statistics-card.953c7d00.js.map +0 -1
  52. /package/dist/chunks/{eo-alert.4b6b7169.js.LICENSE.txt → eo-alert.fe9e8c22.js.LICENSE.txt} +0 -0
@@ -0,0 +1,611 @@
1
+ [
2
+ {
3
+ "storyId": "eo-alert",
4
+ "text": {
5
+ "en": "Alert",
6
+ "zh": "警告提示"
7
+ },
8
+ "description": {
9
+ "en": "alert content, configurable with color type, description and showIcon",
10
+ "zh": "警告提示,可配置颜色类型,描述和是否显示图标"
11
+ },
12
+ "icon": {
13
+ "imgSrc": "bricks/presentational/dist/stories-assets/eo-alert.02683385378f7c3fae6a.svg"
14
+ },
15
+ "conf": [
16
+ {
17
+ "snippetId": "eo-alert[success-tips]",
18
+ "bricks": [
19
+ {
20
+ "brick": "eo-alert",
21
+ "properties": {
22
+ "type": "success",
23
+ "textContent": "tool executed successfully"
24
+ }
25
+ }
26
+ ],
27
+ "title": {
28
+ "en": "Success alert",
29
+ "zh": "成功提示"
30
+ },
31
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-alert[success-tips].a52aaddac794ed2df91a.svg"
32
+ },
33
+ {
34
+ "snippetId": "eo-alert[info-tips-with-icon]",
35
+ "bricks": [
36
+ {
37
+ "brick": "eo-alert",
38
+ "properties": {
39
+ "type": "info",
40
+ "showIcon": true,
41
+ "textContent": "tool executed successfully"
42
+ }
43
+ }
44
+ ],
45
+ "title": {
46
+ "en": "Info alert with icon",
47
+ "zh": "带图标正常提示"
48
+ },
49
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-alert[info-tips-with-icon].3a210c979febafb5c24f.svg"
50
+ },
51
+ {
52
+ "snippetId": "eo-alert[warn-tips-with-close]",
53
+ "message": {
54
+ "en": "",
55
+ "zh": "当 `closable` 为true,`localStorageKey` 不为空时,以页面 url 为命名空间,控制提示在当前路径关闭后不再显示。可通过设置 `stripLocalStorageUrlSuffix` 为true关闭url命名空间,使提示的关闭全局有效"
56
+ },
57
+ "bricks": [
58
+ {
59
+ "brick": "eo-alert",
60
+ "properties": {
61
+ "type": "warning",
62
+ "textContent": "Today is Tuesday",
63
+ "closable": true,
64
+ "showIcon": true,
65
+ "localStorageKey": ""
66
+ }
67
+ }
68
+ ],
69
+ "title": {
70
+ "en": "Warn Alert with close",
71
+ "zh": "警告提示带关闭按钮"
72
+ },
73
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-alert[warn-tips-with-close].7747c1e8d98ff2061dab.svg"
74
+ },
75
+ {
76
+ "snippetId": "eo-alert[with-slot]",
77
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-alert[with-slot].3812fee6cf496c2ae326.svg",
78
+ "message": {
79
+ "en": "",
80
+ "zh": "本示例额外使用了通过target改变具体构件属性的知识点"
81
+ },
82
+ "title": {
83
+ "zh": "带插槽提示",
84
+ "en": "Alert with slots"
85
+ },
86
+ "bricks": [
87
+ {
88
+ "brick": "eo-alert",
89
+ "properties": {
90
+ "type": "info",
91
+ "showIcon": true,
92
+ "message": "Today is Tuesday"
93
+ },
94
+ "slots": {
95
+ "": {
96
+ "type": "bricks",
97
+ "bricks": [
98
+ {
99
+ "brick": "div",
100
+ "slots": {
101
+ "": {
102
+ "type": "bricks",
103
+ "bricks": [
104
+ {
105
+ "brick": "strong",
106
+ "properties": {
107
+ "textContent": "Temperature: "
108
+ }
109
+ },
110
+ {
111
+ "brick": "span",
112
+ "properties": {
113
+ "textContent": "24°C"
114
+ }
115
+ }
116
+ ]
117
+ }
118
+ }
119
+ },
120
+ {
121
+ "brick": "div",
122
+ "slots": {
123
+ "": {
124
+ "type": "bricks",
125
+ "bricks": [
126
+ {
127
+ "brick": "strong",
128
+ "properties": {
129
+ "textContent": "Weather: "
130
+ }
131
+ },
132
+ {
133
+ "brick": "span",
134
+ "properties": {
135
+ "textContent": "not bad"
136
+ }
137
+ },
138
+ {
139
+ "brick": "eo-button",
140
+ "properties": {
141
+ "style": {
142
+ "margin": "12px"
143
+ },
144
+ "textContent": "hello-button",
145
+ "icon": {
146
+ "icon": "search",
147
+ "lib": "antd"
148
+ },
149
+ "type": "primary"
150
+ }
151
+ }
152
+ ]
153
+ }
154
+ }
155
+ }
156
+ ]
157
+ }
158
+ }
159
+ }
160
+ ]
161
+ }
162
+ ]
163
+ },
164
+ {
165
+ "storyId": "eo-card-item",
166
+ "text": {
167
+ "en": "Information Display Card",
168
+ "zh": "信息展示卡片"
169
+ },
170
+ "description": {
171
+ "en": "General card item",
172
+ "zh": "通用卡片项"
173
+ },
174
+ "icon": {
175
+ "imgSrc": "bricks/presentational/dist/stories-assets/eo-card-item.14cef77a449c10e33790.svg"
176
+ },
177
+ "conf": [
178
+ {
179
+ "snippetId": "eo-card-item[normal]",
180
+ "title": {
181
+ "zh": "通用卡片项",
182
+ "en": ""
183
+ },
184
+ "message": {
185
+ "zh": "可以配置 `expanded-area-1`,`expanded-area-2` 等操作区的插槽。适用场景:用户可凭借图标颜色来区分不同卡片,图标具有分类意义(区分类型/状态)而存在。",
186
+ "en": ""
187
+ },
188
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-card-item[normal].070e2c69590888ceb686.svg",
189
+ "bricks": [
190
+ {
191
+ "brick": "eo-card-item",
192
+ "description": {
193
+ "title": "卡片布局为 `icon-small-align-left` 类型,小尺寸 icon 位于左边。",
194
+ "message": "可以配置 `expanded-area-1`,`expanded-area-2` 等操作区的插槽。适用场景:用户可凭借图标颜色来区分不同卡片,图标具有分类意义(区分类型/状态)而存在。"
195
+ },
196
+ "properties": {
197
+ "cardTitle": "资源监控微应用",
198
+ "description": "资源监控微应用相关前后台",
199
+ "url": "/#1",
200
+ "avatar": {
201
+ "imgSrc": "bricks/presentational/dist/stories-assets/card-blue.b720359410357c004700.svg"
202
+ },
203
+ "hasHeader": true,
204
+ "auxiliaryText": "头部提示文本",
205
+ "actions": [
206
+ {
207
+ "text": "编辑",
208
+ "icon": {
209
+ "lib": "antd",
210
+ "icon": "edit"
211
+ },
212
+ "isDropdown": false
213
+ },
214
+ {
215
+ "text": "删除",
216
+ "isDropdown": true,
217
+ "icon": {
218
+ "lib": "antd",
219
+ "icon": "delete"
220
+ }
221
+ }
222
+ ]
223
+ },
224
+ "slots": {
225
+ "expanded-area-1": {
226
+ "type": "bricks",
227
+ "bricks": [
228
+ {
229
+ "brick": "eo-tag-list",
230
+ "properties": {
231
+ "list": [
232
+ {
233
+ "key": "1",
234
+ "text": "IT资源管理"
235
+ },
236
+ {
237
+ "key": "2",
238
+ "text": "资源套餐"
239
+ },
240
+ {
241
+ "key": "3",
242
+ "text": "实例管理"
243
+ }
244
+ ]
245
+ }
246
+ }
247
+ ]
248
+ },
249
+ "expanded-area-2": {
250
+ "type": "bricks",
251
+ "bricks": [
252
+ {
253
+ "brick": "eo-button",
254
+ "properties": {
255
+ "textContent": "INS",
256
+ "icon": {
257
+ "lib": "easyops",
258
+ "category": "default",
259
+ "icon": "card-diff",
260
+ "color": "rgb(157, 168, 184)"
261
+ }
262
+ }
263
+ },
264
+ {
265
+ "brick": "eo-button",
266
+ "properties": {
267
+ "textContent": "TASK",
268
+ "icon": {
269
+ "lib": "easyops",
270
+ "category": "default",
271
+ "icon": "card-task-delivery",
272
+ "color": "rgb(157, 168, 184)"
273
+ }
274
+ }
275
+ }
276
+ ]
277
+ }
278
+ }
279
+ }
280
+ ]
281
+ }
282
+ ]
283
+ },
284
+ {
285
+ "storyId": "eo-code-display",
286
+ "text": {
287
+ "en": "Code Display",
288
+ "zh": "代码展示"
289
+ },
290
+ "description": {
291
+ "en": "suport Shell、Python、CSS、HTML highlight",
292
+ "zh": "支持Shell、Python、CSS、HTML等语法高亮"
293
+ },
294
+ "icon": {
295
+ "imgSrc": "bricks/presentational/dist/stories-assets/eo-code-display.d3eed656cefe2e4f7b5b.svg"
296
+ },
297
+ "conf": [
298
+ {
299
+ "bricks": [
300
+ {
301
+ "brick": "eo-code-display",
302
+ "properties": {
303
+ "showLineNumber": true,
304
+ "language": "js",
305
+ "value": "const a = 1;"
306
+ }
307
+ }
308
+ ],
309
+ "snippetId": "eo-code-display[js]",
310
+ "title": {
311
+ "en": "JS Code Display",
312
+ "zh": "JS代码展示"
313
+ },
314
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-code-display[js].69aa084fd43383c2645e.svg"
315
+ },
316
+ {
317
+ "bricks": [
318
+ {
319
+ "brick": "eo-code-display",
320
+ "properties": {
321
+ "language": "css",
322
+ "value": ".container{ \n background: #ccc;\n font-size: 16px;\n line-height: 20px;\n position: relative;\n}",
323
+ "minLines": 3,
324
+ "maxLines": 8
325
+ }
326
+ }
327
+ ],
328
+ "snippetId": "eo-code-display[css]",
329
+ "title": {
330
+ "en": "CSS Code Display",
331
+ "zh": "CSS代码展示"
332
+ },
333
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-code-display[css].328987c856ec720741d9.svg"
334
+ }
335
+ ]
336
+ },
337
+ {
338
+ "storyId": "eo-descriptions",
339
+ "text": {
340
+ "en": "Descriptions",
341
+ "zh": "描述列表"
342
+ },
343
+ "description": {
344
+ "en": "",
345
+ "zh": "常用于概要信息的描述,2~3列"
346
+ },
347
+ "icon": {
348
+ "imgSrc": "bricks/presentational/dist/stories-assets/eo-descriptions.965e13a5fc9f585c6f5b.svg"
349
+ },
350
+ "conf": [
351
+ {
352
+ "snippetId": "eo-descriptions[normal]",
353
+ "text": {
354
+ "zh": "描述列表",
355
+ "en": "Description list"
356
+ },
357
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-descriptions[normal].491f209ddcb9d51a2609.svg",
358
+ "bricks": [
359
+ {
360
+ "brick": "eo-descriptions",
361
+ "properties": {
362
+ "list": [
363
+ {
364
+ "text": "Lynette",
365
+ "label": "UserName"
366
+ },
367
+ {
368
+ "text": "18",
369
+ "label": "Age"
370
+ },
371
+ {
372
+ "label": "Tags",
373
+ "useBrick": {
374
+ "brick": "eo-tag-list",
375
+ "properties": {
376
+ "list": "<% DATA.tags %>",
377
+ "configProps": {
378
+ "color": "orange"
379
+ },
380
+ "showCard": false
381
+ }
382
+ }
383
+ }
384
+ ],
385
+ "descriptionTitle": "User Info",
386
+ "dataSource": {
387
+ "tags": [
388
+ "user",
389
+ "admin"
390
+ ]
391
+ }
392
+ }
393
+ }
394
+ ]
395
+ }
396
+ ]
397
+ },
398
+ {
399
+ "storyId": "eo-divider",
400
+ "text": {
401
+ "en": "divider",
402
+ "zh": "分割线"
403
+ },
404
+ "description": {
405
+ "en": "divider",
406
+ "zh": "分割线"
407
+ },
408
+ "icon": {
409
+ "imgSrc": "bricks/presentational/dist/stories-assets/eo-divider.271f77d94f33b6150548.svg"
410
+ },
411
+ "conf": [
412
+ {
413
+ "snippetId": "eo-divider[normal]",
414
+ "title": {
415
+ "zh": "Basic divider",
416
+ "en": "基础分割线"
417
+ },
418
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-divider[normal].db6d6df633260b64a65a.svg",
419
+ "bricks": [
420
+ {
421
+ "brick": "eo-divider",
422
+ "properties": {
423
+ "textContent": "分割线",
424
+ "orientation": "center"
425
+ }
426
+ }
427
+ ]
428
+ }
429
+ ]
430
+ },
431
+ {
432
+ "storyId": "eo-humanize-time",
433
+ "text": {
434
+ "en": "humanize time",
435
+ "zh": "人性化时间展示"
436
+ },
437
+ "description": {
438
+ "en": "1h ago",
439
+ "zh": "如:3天前、过去2小时等。也可显示消耗时间,如1小时2分钟,也可显示为链接"
440
+ },
441
+ "icon": {
442
+ "imgSrc": "bricks/presentational/dist/stories-assets/eo-humanize-time.56238da7262dabf6b5ff.svg"
443
+ },
444
+ "conf": [
445
+ {
446
+ "snippetId": "eo-humanize-time[full]",
447
+ "title": {
448
+ "en": "Humanize time(full)",
449
+ "zh": "人性化时间展示(完整)"
450
+ },
451
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-humanize-time[full].2984b25c72dbf29328ea.svg",
452
+ "bricks": [
453
+ {
454
+ "brick": "eo-humanize-time",
455
+ "properties": {
456
+ "value": 1571017058,
457
+ "formatter": "full"
458
+ }
459
+ }
460
+ ]
461
+ },
462
+ {
463
+ "snippetId": "eo-humanize-time[accurate]",
464
+ "title": {
465
+ "en": "Humanize time(accurate)",
466
+ "zh": "人性化时间展示(精确)"
467
+ },
468
+ "bricks": [
469
+ {
470
+ "brick": "eo-humanize-time",
471
+ "properties": {
472
+ "value": 1571017058,
473
+ "formatter": "accurate",
474
+ "isCostTime": true
475
+ }
476
+ }
477
+ ],
478
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-humanize-time[accurate].b5cf2308d9eddfbfab23.svg"
479
+ },
480
+ {
481
+ "snippetId": "eo-humanize-time[relative]",
482
+ "title": {
483
+ "en": "Humanize time(relative)",
484
+ "zh": "人性化时间展示(相对)"
485
+ },
486
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-humanize-time[relative].578ba8d01cdb55c1d488.svg",
487
+ "bricks": [
488
+ {
489
+ "brick": "eo-humanize-time",
490
+ "properties": {
491
+ "value": 1571017058000,
492
+ "isMicrosecond": true,
493
+ "formatter": "relative"
494
+ }
495
+ }
496
+ ]
497
+ },
498
+ {
499
+ "snippetId": "eo-humanize-time[cost]",
500
+ "title": {
501
+ "en": "Humanize time(cost)",
502
+ "zh": "人性化时间展示(耗时)"
503
+ },
504
+ "bricks": [
505
+ {
506
+ "brick": "eo-humanize-time",
507
+ "properties": {
508
+ "value": 1000,
509
+ "formatter": "relative",
510
+ "isCostTime": true
511
+ }
512
+ }
513
+ ],
514
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-humanize-time[cost].76859afe51987e3204a4.svg"
515
+ },
516
+ {
517
+ "snippetId": "eo-humanize-time[format]",
518
+ "title": {
519
+ "en": "Humanize time(format)",
520
+ "zh": "人性化时间展示(格式化)"
521
+ },
522
+ "bricks": [
523
+ {
524
+ "brick": "eo-humanize-time",
525
+ "properties": {
526
+ "value": "2020-02-27 16:36",
527
+ "inputFormat": "YYYY-MM-DD",
528
+ "outputFormat": "YYYY-MM-DD"
529
+ }
530
+ }
531
+ ],
532
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-humanize-time[format].8c1180b88e67a51bee90.svg"
533
+ }
534
+ ]
535
+ },
536
+ {
537
+ "storyId": "eo-pagination",
538
+ "text": {
539
+ "en": "General pagination",
540
+ "zh": "分页"
541
+ },
542
+ "description": {
543
+ "en": "General pagination brick",
544
+ "zh": "通用分页构件"
545
+ },
546
+ "icon": {
547
+ "imgSrc": "bricks/presentational/dist/stories-assets/eo-pagination.496479d51cfcd0fabc2b.svg"
548
+ },
549
+ "conf": [
550
+ {
551
+ "snippetId": "eo-pagination[normal]",
552
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-pagination[normal].af14b46786ad85369798.svg",
553
+ "title": {
554
+ "en": "",
555
+ "zh": "基础分页"
556
+ },
557
+ "bricks": [
558
+ {
559
+ "brick": "eo-pagination",
560
+ "properties": {
561
+ "page": 1,
562
+ "pageSize": 10,
563
+ "total": 100,
564
+ "dataset": {
565
+ "testid": "basic-usage-pagination-demo"
566
+ }
567
+ }
568
+ }
569
+ ]
570
+ }
571
+ ]
572
+ },
573
+ {
574
+ "storyId": "eo-statistics-card",
575
+ "text": {
576
+ "en": "Statistic Card",
577
+ "zh": "统计卡片"
578
+ },
579
+ "description": {
580
+ "en": "Card showing statistics, usually used on the homepage",
581
+ "zh": "展示统计数据的卡片,一般在首页使用"
582
+ },
583
+ "icon": {
584
+ "lib": "fa",
585
+ "icon": "info"
586
+ },
587
+ "conf": [
588
+ {
589
+ "snippetId": "eo-statistics-card[normal]",
590
+ "title": {
591
+ "zh": "基础统计卡片",
592
+ "en": ""
593
+ },
594
+ "thumbnail": "bricks/presentational/dist/stories-assets/eo-statistic-card[normal].a655def2da5d2b06522d.svg",
595
+ "bricks": [
596
+ {
597
+ "brick": "eo-statistics-card",
598
+ "properties": {
599
+ "cardTitle": "今日构建",
600
+ "value": 99,
601
+ "icon": {
602
+ "lib": "fa",
603
+ "icon": "clock"
604
+ }
605
+ }
606
+ }
607
+ ]
608
+ }
609
+ ]
610
+ }
611
+ ]
package/dist/types.json CHANGED
@@ -938,6 +938,13 @@
938
938
  }
939
939
  }
940
940
  }
941
+ },
942
+ {
943
+ "name": "interactable",
944
+ "annotation": {
945
+ "type": "keyword",
946
+ "value": "boolean"
947
+ }
941
948
  }
942
949
  ],
943
950
  "events": [],
@@ -1147,6 +1154,19 @@
1147
1154
  },
1148
1155
  "optional": true,
1149
1156
  "computed": false
1157
+ },
1158
+ {
1159
+ "type": "propertySignature",
1160
+ "key": {
1161
+ "type": "identifier",
1162
+ "name": "interactable"
1163
+ },
1164
+ "annotation": {
1165
+ "type": "keyword",
1166
+ "value": "boolean"
1167
+ },
1168
+ "optional": true,
1169
+ "computed": false
1150
1170
  }
1151
1171
  ]
1152
1172
  }
@@ -1171,6 +1191,13 @@
1171
1191
  "value": "boolean"
1172
1192
  }
1173
1193
  },
1194
+ {
1195
+ "name": "showIcon",
1196
+ "annotation": {
1197
+ "type": "keyword",
1198
+ "value": "boolean"
1199
+ }
1200
+ },
1174
1201
  {
1175
1202
  "name": "closable",
1176
1203
  "annotation": {
@@ -5,6 +5,7 @@ import { AlertType } from "./constants.js";
5
5
  export interface GeneralAlertProps {
6
6
  type: AlertType;
7
7
  hasTitle?: boolean;
8
+ showIcon?: boolean;
8
9
  closable?: boolean;
9
10
  localStorageKey?: string;
10
11
  disableUrlNamespace?: boolean;
@@ -27,6 +28,10 @@ export declare class GeneralAlert extends ReactNextElement implements GeneralAle
27
28
  * 是否显示标题。开启后,可以使用 `title` 插槽
28
29
  */
29
30
  accessor hasTitle: boolean | undefined;
31
+ /**
32
+ * 是否显示提示图标
33
+ */
34
+ accessor showIcon: boolean | undefined;
30
35
  /**
31
36
  * 是否显示关闭按钮
32
37
  */
@@ -15,6 +15,7 @@ export interface EoStatisticsCardProps {
15
15
  background?: string;
16
16
  descriptionPosition?: "bottom" | "right";
17
17
  valueStyle?: React.CSSProperties;
18
+ interactable?: boolean;
18
19
  }
19
20
  /**
20
21
  * 统计卡片
@@ -24,6 +25,7 @@ export interface EoStatisticsCardProps {
24
25
  * @slot description - 描述信息,通常是对于统计值的描述
25
26
  * @slot basicContent - 卡片右侧内容区,适合放置迷你图表,常用于小卡片
26
27
  * @slot extraContent - 卡片下方内容区,适合放置图表,用于展示更多信息的场景
28
+ * @slot operator - 右上角操作区
27
29
  *
28
30
  */
29
31
  export declare class EoStatisticsCard extends ReactNextElement {
@@ -63,6 +65,10 @@ export declare class EoStatisticsCard extends ReactNextElement {
63
65
  * 值样式
64
66
  */
65
67
  accessor valueStyle: React.CSSProperties | undefined;
68
+ /**
69
+ * 是否可互动
70
+ */
71
+ accessor interactable: boolean | undefined;
66
72
  render(): React.JSX.Element;
67
73
  }
68
74
  export declare function EoStatisticsCardComponent(props: EoStatisticsCardProps): React.JSX.Element;