@next-bricks/advanced 0.49.4 → 0.49.6
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 +16 -16
- package/dist/chunks/{4197.bce985f0.js → 4197.fd9e1bf8.js} +2 -2
- package/dist/chunks/4197.fd9e1bf8.js.map +1 -0
- package/dist/chunks/eo-workbench-layout-v2.5b086697.js +3 -0
- package/dist/chunks/eo-workbench-layout-v2.5b086697.js.map +1 -0
- package/dist/chunks/{main.9058d187.js → main.30cc7ff2.js} +2 -2
- package/dist/chunks/{main.9058d187.js.map → main.30cc7ff2.js.map} +1 -1
- package/dist/examples.json +6 -6
- package/dist/{index.e5623431.js → index.e63c8cf1.js} +2 -2
- package/dist/{index.e5623431.js.map → index.e63c8cf1.js.map} +1 -1
- package/dist/manifest.json +328 -328
- package/dist/types.json +234 -234
- package/package.json +2 -2
- package/dist/chunks/4197.bce985f0.js.map +0 -1
- package/dist/chunks/eo-workbench-layout-v2.89a70452.js +0 -3
- package/dist/chunks/eo-workbench-layout-v2.89a70452.js.map +0 -1
- /package/dist/chunks/{eo-workbench-layout-v2.89a70452.js.LICENSE.txt → eo-workbench-layout-v2.5b086697.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -3,6 +3,72 @@
|
|
|
3
3
|
"package": "@next-bricks/advanced",
|
|
4
4
|
"name": "advanced",
|
|
5
5
|
"bricks": [
|
|
6
|
+
{
|
|
7
|
+
"name": "eo-workbench-layout",
|
|
8
|
+
"properties": [
|
|
9
|
+
{
|
|
10
|
+
"name": "cardTitle",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "isEdit",
|
|
15
|
+
"type": "boolean"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "layouts",
|
|
19
|
+
"attribute": false,
|
|
20
|
+
"type": "Layout[]"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "componentList",
|
|
24
|
+
"attribute": false,
|
|
25
|
+
"type": "Item[]"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"events": [
|
|
29
|
+
{
|
|
30
|
+
"name": "change",
|
|
31
|
+
"detail": {
|
|
32
|
+
"type": "Layout[]"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "save",
|
|
37
|
+
"detail": {
|
|
38
|
+
"type": "Layout[]"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "cancel",
|
|
43
|
+
"detail": {
|
|
44
|
+
"type": "void"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "action.click",
|
|
49
|
+
"description": "操作点击事件",
|
|
50
|
+
"detail": {
|
|
51
|
+
"description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
|
|
52
|
+
"type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"slots": [],
|
|
57
|
+
"methods": [
|
|
58
|
+
{
|
|
59
|
+
"name": "setLayouts",
|
|
60
|
+
"params": [
|
|
61
|
+
{
|
|
62
|
+
"name": "layouts",
|
|
63
|
+
"type": "Layout[]"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"parts": [],
|
|
69
|
+
"description": "工作台布局",
|
|
70
|
+
"deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
|
|
71
|
+
},
|
|
6
72
|
{
|
|
7
73
|
"name": "eo-table",
|
|
8
74
|
"alias": [
|
|
@@ -345,162 +411,292 @@
|
|
|
345
411
|
"insider": true
|
|
346
412
|
},
|
|
347
413
|
{
|
|
348
|
-
"name": "eo-
|
|
414
|
+
"name": "eo-next-table",
|
|
349
415
|
"properties": [
|
|
350
416
|
{
|
|
351
|
-
"name": "
|
|
417
|
+
"name": "rowKey",
|
|
418
|
+
"description": "指定表格行的 key",
|
|
419
|
+
"default": "\"key\"",
|
|
352
420
|
"type": "string"
|
|
353
421
|
},
|
|
354
422
|
{
|
|
355
|
-
"name": "
|
|
356
|
-
"
|
|
423
|
+
"name": "columns",
|
|
424
|
+
"description": "列定义",
|
|
425
|
+
"attribute": false,
|
|
426
|
+
"type": "Column[]"
|
|
357
427
|
},
|
|
358
428
|
{
|
|
359
|
-
"name": "
|
|
429
|
+
"name": "cell",
|
|
430
|
+
"description": "单元格",
|
|
360
431
|
"attribute": false,
|
|
361
|
-
"type": "
|
|
432
|
+
"type": "CellConfig"
|
|
362
433
|
},
|
|
363
434
|
{
|
|
364
|
-
"name": "
|
|
435
|
+
"name": "dataSource",
|
|
436
|
+
"description": "数据源",
|
|
365
437
|
"attribute": false,
|
|
366
|
-
"type": "
|
|
438
|
+
"type": "DataSource"
|
|
367
439
|
},
|
|
368
440
|
{
|
|
369
|
-
"name": "
|
|
370
|
-
"
|
|
371
|
-
"type": "
|
|
441
|
+
"name": "frontSearch",
|
|
442
|
+
"description": "是否前端搜索",
|
|
443
|
+
"type": "boolean"
|
|
372
444
|
},
|
|
373
445
|
{
|
|
374
|
-
"name": "
|
|
375
|
-
"description": "
|
|
446
|
+
"name": "pagination",
|
|
447
|
+
"description": "分页配置",
|
|
376
448
|
"attribute": false,
|
|
377
|
-
"type": "
|
|
449
|
+
"type": "PaginationType"
|
|
378
450
|
},
|
|
379
451
|
{
|
|
380
|
-
"name": "
|
|
381
|
-
"description": "
|
|
452
|
+
"name": "loading",
|
|
453
|
+
"description": "显示加载中状态",
|
|
382
454
|
"type": "boolean"
|
|
383
455
|
},
|
|
384
456
|
{
|
|
385
|
-
"name": "
|
|
386
|
-
"description": "
|
|
387
|
-
"type": "
|
|
388
|
-
}
|
|
389
|
-
],
|
|
390
|
-
"events": [
|
|
391
|
-
{
|
|
392
|
-
"name": "change",
|
|
393
|
-
"detail": {
|
|
394
|
-
"type": "ExtraLayout[]"
|
|
395
|
-
}
|
|
457
|
+
"name": "multiSort",
|
|
458
|
+
"description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
|
|
459
|
+
"type": "boolean"
|
|
396
460
|
},
|
|
397
461
|
{
|
|
398
|
-
"name": "
|
|
399
|
-
"
|
|
400
|
-
|
|
401
|
-
|
|
462
|
+
"name": "sort",
|
|
463
|
+
"description": "排序信息",
|
|
464
|
+
"attribute": false,
|
|
465
|
+
"type": "Sort | Sort[]"
|
|
402
466
|
},
|
|
403
467
|
{
|
|
404
|
-
"name": "
|
|
405
|
-
"
|
|
406
|
-
|
|
407
|
-
|
|
468
|
+
"name": "rowSelection",
|
|
469
|
+
"description": "表格行可选择配置",
|
|
470
|
+
"attribute": false,
|
|
471
|
+
"type": "RowSelectionType"
|
|
408
472
|
},
|
|
409
473
|
{
|
|
410
|
-
"name": "
|
|
411
|
-
"
|
|
412
|
-
|
|
413
|
-
|
|
474
|
+
"name": "selectedRowKeys",
|
|
475
|
+
"description": "选中项的 key",
|
|
476
|
+
"attribute": false,
|
|
477
|
+
"type": "(string | number)[]"
|
|
414
478
|
},
|
|
415
479
|
{
|
|
416
|
-
"name": "
|
|
417
|
-
"description": "
|
|
418
|
-
"
|
|
419
|
-
|
|
420
|
-
"type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
],
|
|
424
|
-
"slots": [],
|
|
425
|
-
"methods": [
|
|
426
|
-
{
|
|
427
|
-
"name": "setLayouts",
|
|
428
|
-
"params": [
|
|
429
|
-
{
|
|
430
|
-
"name": "layouts",
|
|
431
|
-
"type": "Layout[]"
|
|
432
|
-
}
|
|
433
|
-
]
|
|
434
|
-
}
|
|
435
|
-
],
|
|
436
|
-
"parts": [],
|
|
437
|
-
"description": "工作台布局V2,未使用shadow dom"
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
"name": "eo-cascader",
|
|
441
|
-
"alias": [
|
|
442
|
-
"advanced.general-cascader"
|
|
443
|
-
],
|
|
444
|
-
"properties": [
|
|
445
|
-
{
|
|
446
|
-
"name": "name",
|
|
447
|
-
"type": "string"
|
|
480
|
+
"name": "hiddenColumns",
|
|
481
|
+
"description": "隐藏的列(输入对应的 column.key)",
|
|
482
|
+
"attribute": false,
|
|
483
|
+
"type": "(string | number)[]"
|
|
448
484
|
},
|
|
449
485
|
{
|
|
450
|
-
"name": "
|
|
451
|
-
"
|
|
486
|
+
"name": "expandable",
|
|
487
|
+
"description": "表格行展开配置",
|
|
488
|
+
"attribute": false,
|
|
489
|
+
"type": "ExpandableType"
|
|
452
490
|
},
|
|
453
491
|
{
|
|
454
|
-
"name": "
|
|
455
|
-
"
|
|
492
|
+
"name": "expandedRowKeys",
|
|
493
|
+
"description": "展开项的 key",
|
|
494
|
+
"attribute": false,
|
|
495
|
+
"type": "(string | number)[]"
|
|
456
496
|
},
|
|
457
497
|
{
|
|
458
|
-
"name": "
|
|
459
|
-
"
|
|
460
|
-
"
|
|
498
|
+
"name": "childrenColumnName",
|
|
499
|
+
"description": "树形结构的列名",
|
|
500
|
+
"default": "\"children\"",
|
|
501
|
+
"type": "string"
|
|
461
502
|
},
|
|
462
503
|
{
|
|
463
|
-
"name": "
|
|
464
|
-
"
|
|
465
|
-
"type": "
|
|
466
|
-
"default": "{\n label: \"label\",\n value: \"value\",\n children: \"children\",\n }"
|
|
504
|
+
"name": "rowDraggable",
|
|
505
|
+
"description": "表格行拖拽配置",
|
|
506
|
+
"type": "boolean"
|
|
467
507
|
},
|
|
468
508
|
{
|
|
469
|
-
"name": "
|
|
509
|
+
"name": "searchFields",
|
|
510
|
+
"description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
|
|
470
511
|
"attribute": false,
|
|
471
|
-
"type": "
|
|
512
|
+
"type": "(string | string[])[]"
|
|
472
513
|
},
|
|
473
514
|
{
|
|
474
|
-
"name": "
|
|
475
|
-
"
|
|
515
|
+
"name": "size",
|
|
516
|
+
"description": "表格大小",
|
|
517
|
+
"default": "\"large\"",
|
|
518
|
+
"type": "TableProps<RecordType>[\"size\"]"
|
|
476
519
|
},
|
|
477
520
|
{
|
|
478
|
-
"name": "
|
|
521
|
+
"name": "showHeader",
|
|
522
|
+
"description": "是否显示表头",
|
|
523
|
+
"default": "true",
|
|
479
524
|
"type": "boolean"
|
|
480
525
|
},
|
|
481
526
|
{
|
|
482
|
-
"name": "
|
|
527
|
+
"name": "bordered",
|
|
528
|
+
"description": "是否显示边框",
|
|
483
529
|
"type": "boolean"
|
|
484
530
|
},
|
|
485
531
|
{
|
|
486
|
-
"name": "
|
|
487
|
-
"
|
|
488
|
-
"default": "true"
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
"name": "showSearch",
|
|
492
|
-
"type": "boolean",
|
|
493
|
-
"default": "true"
|
|
532
|
+
"name": "scrollConfig",
|
|
533
|
+
"description": "滚动配置",
|
|
534
|
+
"default": "{ x: true }",
|
|
535
|
+
"attribute": false,
|
|
536
|
+
"type": "TableScroll"
|
|
494
537
|
},
|
|
495
538
|
{
|
|
496
|
-
"name": "
|
|
539
|
+
"name": "optimizedColumns",
|
|
540
|
+
"description": "优化渲染的列(输入对应的 column.key)",
|
|
497
541
|
"attribute": false,
|
|
498
|
-
"type": "
|
|
542
|
+
"type": "(string | number)[]"
|
|
499
543
|
},
|
|
500
544
|
{
|
|
501
|
-
"name": "
|
|
502
|
-
"
|
|
503
|
-
"
|
|
545
|
+
"name": "themeVariant",
|
|
546
|
+
"description": "主题变体",
|
|
547
|
+
"type": "\"default\" | \"elevo\""
|
|
548
|
+
}
|
|
549
|
+
],
|
|
550
|
+
"events": [
|
|
551
|
+
{
|
|
552
|
+
"name": "page.change",
|
|
553
|
+
"description": "page 或 pageSize 改变的回调",
|
|
554
|
+
"detail": {
|
|
555
|
+
"description": "改变后的页码及每页条数",
|
|
556
|
+
"type": "{ page: number; pageSize: number }"
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"name": "page.size.change",
|
|
561
|
+
"description": "pageSize 变化的回调",
|
|
562
|
+
"deprecated": "统一用 `page.change` 事件",
|
|
563
|
+
"detail": {
|
|
564
|
+
"description": "改变后的页码及每页条数",
|
|
565
|
+
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "sort.change",
|
|
570
|
+
"description": "排序变化的回调",
|
|
571
|
+
"detail": {
|
|
572
|
+
"description": "当前排序的信息",
|
|
573
|
+
"type": "Sort | Sort[] | undefined"
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"name": "row.select",
|
|
578
|
+
"description": "行选中项发生变化时的回调",
|
|
579
|
+
"detail": {
|
|
580
|
+
"description": "改变后的 rowKey 及行数据",
|
|
581
|
+
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"name": "row.select.v2",
|
|
586
|
+
"description": "行选中项发生变化时的回调(v2 版本)",
|
|
587
|
+
"detail": {
|
|
588
|
+
"description": "改变后的行数据",
|
|
589
|
+
"type": "RecordType[]"
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"name": "row.expand",
|
|
594
|
+
"description": "点击展开图标时触发",
|
|
595
|
+
"detail": {
|
|
596
|
+
"description": "当前行的展开情况及数据",
|
|
597
|
+
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"name": "expanded.rows.change",
|
|
602
|
+
"description": "展开的行变化时触发",
|
|
603
|
+
"detail": {
|
|
604
|
+
"description": "所有展开行的 key",
|
|
605
|
+
"type": "(string | number)[]"
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"name": "row.drag",
|
|
610
|
+
"description": "表格行拖拽结束发生的事件",
|
|
611
|
+
"detail": {
|
|
612
|
+
"description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
|
|
613
|
+
"type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
],
|
|
617
|
+
"slots": [],
|
|
618
|
+
"methods": [
|
|
619
|
+
{
|
|
620
|
+
"name": "search",
|
|
621
|
+
"params": [
|
|
622
|
+
{
|
|
623
|
+
"name": "params",
|
|
624
|
+
"type": "{ q: string }"
|
|
625
|
+
}
|
|
626
|
+
],
|
|
627
|
+
"description": "前端搜索",
|
|
628
|
+
"returns": {}
|
|
629
|
+
}
|
|
630
|
+
],
|
|
631
|
+
"parts": [],
|
|
632
|
+
"description": "大型表格",
|
|
633
|
+
"category": "table"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"name": "eo-cascader",
|
|
637
|
+
"alias": [
|
|
638
|
+
"advanced.general-cascader"
|
|
639
|
+
],
|
|
640
|
+
"properties": [
|
|
641
|
+
{
|
|
642
|
+
"name": "name",
|
|
643
|
+
"type": "string"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"name": "label",
|
|
647
|
+
"type": "string"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"name": "required",
|
|
651
|
+
"type": "boolean"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"name": "options",
|
|
655
|
+
"attribute": false,
|
|
656
|
+
"type": "AntdCascaderProps[\"options\"]"
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"name": "fieldNames",
|
|
660
|
+
"attribute": false,
|
|
661
|
+
"type": "AntdCascaderProps[\"fieldNames\"]",
|
|
662
|
+
"default": "{\n label: \"label\",\n value: \"value\",\n children: \"children\",\n }"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"name": "value",
|
|
666
|
+
"attribute": false,
|
|
667
|
+
"type": "AntdCascaderProps[\"value\"]"
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"name": "placeholder",
|
|
671
|
+
"type": "string"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "multiple",
|
|
675
|
+
"type": "boolean"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"name": "disabled",
|
|
679
|
+
"type": "boolean"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"name": "allowClear",
|
|
683
|
+
"type": "boolean",
|
|
684
|
+
"default": "true"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"name": "showSearch",
|
|
688
|
+
"type": "boolean",
|
|
689
|
+
"default": "true"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"name": "suffixIcon",
|
|
693
|
+
"attribute": false,
|
|
694
|
+
"type": "GeneralIconProps"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"name": "expandTrigger",
|
|
698
|
+
"type": "AntdCascaderProps[\"expandTrigger\"]",
|
|
699
|
+
"default": "\"click\""
|
|
504
700
|
},
|
|
505
701
|
{
|
|
506
702
|
"name": "popupPlacement",
|
|
@@ -793,7 +989,7 @@
|
|
|
793
989
|
"description": "超出宽度鼠标悬浮显示tooltip\n构件 `eo-text-tooltip`"
|
|
794
990
|
},
|
|
795
991
|
{
|
|
796
|
-
"name": "eo-workbench-layout",
|
|
992
|
+
"name": "eo-workbench-layout-v2",
|
|
797
993
|
"properties": [
|
|
798
994
|
{
|
|
799
995
|
"name": "cardTitle",
|
|
@@ -806,279 +1002,83 @@
|
|
|
806
1002
|
{
|
|
807
1003
|
"name": "layouts",
|
|
808
1004
|
"attribute": false,
|
|
809
|
-
"type": "
|
|
810
|
-
},
|
|
811
|
-
{
|
|
812
|
-
"name": "componentList",
|
|
813
|
-
"attribute": false,
|
|
814
|
-
"type": "Item[]"
|
|
815
|
-
}
|
|
816
|
-
],
|
|
817
|
-
"events": [
|
|
818
|
-
{
|
|
819
|
-
"name": "change",
|
|
820
|
-
"detail": {
|
|
821
|
-
"type": "Layout[]"
|
|
822
|
-
}
|
|
823
|
-
},
|
|
824
|
-
{
|
|
825
|
-
"name": "save",
|
|
826
|
-
"detail": {
|
|
827
|
-
"type": "Layout[]"
|
|
828
|
-
}
|
|
829
|
-
},
|
|
830
|
-
{
|
|
831
|
-
"name": "cancel",
|
|
832
|
-
"detail": {
|
|
833
|
-
"type": "void"
|
|
834
|
-
}
|
|
835
|
-
},
|
|
836
|
-
{
|
|
837
|
-
"name": "action.click",
|
|
838
|
-
"description": "操作点击事件",
|
|
839
|
-
"detail": {
|
|
840
|
-
"description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
|
|
841
|
-
"type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
],
|
|
845
|
-
"slots": [],
|
|
846
|
-
"methods": [
|
|
847
|
-
{
|
|
848
|
-
"name": "setLayouts",
|
|
849
|
-
"params": [
|
|
850
|
-
{
|
|
851
|
-
"name": "layouts",
|
|
852
|
-
"type": "Layout[]"
|
|
853
|
-
}
|
|
854
|
-
]
|
|
855
|
-
}
|
|
856
|
-
],
|
|
857
|
-
"parts": [],
|
|
858
|
-
"description": "工作台布局",
|
|
859
|
-
"deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
|
|
860
|
-
},
|
|
861
|
-
{
|
|
862
|
-
"name": "eo-next-table",
|
|
863
|
-
"properties": [
|
|
864
|
-
{
|
|
865
|
-
"name": "rowKey",
|
|
866
|
-
"description": "指定表格行的 key",
|
|
867
|
-
"default": "\"key\"",
|
|
868
|
-
"type": "string"
|
|
869
|
-
},
|
|
870
|
-
{
|
|
871
|
-
"name": "columns",
|
|
872
|
-
"description": "列定义",
|
|
873
|
-
"attribute": false,
|
|
874
|
-
"type": "Column[]"
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
"name": "cell",
|
|
878
|
-
"description": "单元格",
|
|
879
|
-
"attribute": false,
|
|
880
|
-
"type": "CellConfig"
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
"name": "dataSource",
|
|
884
|
-
"description": "数据源",
|
|
885
|
-
"attribute": false,
|
|
886
|
-
"type": "DataSource"
|
|
887
|
-
},
|
|
888
|
-
{
|
|
889
|
-
"name": "frontSearch",
|
|
890
|
-
"description": "是否前端搜索",
|
|
891
|
-
"type": "boolean"
|
|
892
|
-
},
|
|
893
|
-
{
|
|
894
|
-
"name": "pagination",
|
|
895
|
-
"description": "分页配置",
|
|
896
|
-
"attribute": false,
|
|
897
|
-
"type": "PaginationType"
|
|
898
|
-
},
|
|
899
|
-
{
|
|
900
|
-
"name": "loading",
|
|
901
|
-
"description": "显示加载中状态",
|
|
902
|
-
"type": "boolean"
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
"name": "multiSort",
|
|
906
|
-
"description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
|
|
907
|
-
"type": "boolean"
|
|
908
|
-
},
|
|
909
|
-
{
|
|
910
|
-
"name": "sort",
|
|
911
|
-
"description": "排序信息",
|
|
912
|
-
"attribute": false,
|
|
913
|
-
"type": "Sort | Sort[]"
|
|
914
|
-
},
|
|
915
|
-
{
|
|
916
|
-
"name": "rowSelection",
|
|
917
|
-
"description": "表格行可选择配置",
|
|
918
|
-
"attribute": false,
|
|
919
|
-
"type": "RowSelectionType"
|
|
920
|
-
},
|
|
921
|
-
{
|
|
922
|
-
"name": "selectedRowKeys",
|
|
923
|
-
"description": "选中项的 key",
|
|
924
|
-
"attribute": false,
|
|
925
|
-
"type": "(string | number)[]"
|
|
926
|
-
},
|
|
927
|
-
{
|
|
928
|
-
"name": "hiddenColumns",
|
|
929
|
-
"description": "隐藏的列(输入对应的 column.key)",
|
|
930
|
-
"attribute": false,
|
|
931
|
-
"type": "(string | number)[]"
|
|
1005
|
+
"type": "ExtraLayout[]"
|
|
932
1006
|
},
|
|
933
1007
|
{
|
|
934
|
-
"name": "
|
|
935
|
-
"description": "表格行展开配置",
|
|
1008
|
+
"name": "toolbarBricks",
|
|
936
1009
|
"attribute": false,
|
|
937
|
-
"type": "
|
|
1010
|
+
"type": "{ useBrick: UseSingleBrickConf[] }"
|
|
938
1011
|
},
|
|
939
1012
|
{
|
|
940
|
-
"name": "
|
|
941
|
-
"description": "展开项的 key",
|
|
1013
|
+
"name": "componentList",
|
|
942
1014
|
"attribute": false,
|
|
943
|
-
"type": "
|
|
944
|
-
},
|
|
945
|
-
{
|
|
946
|
-
"name": "childrenColumnName",
|
|
947
|
-
"description": "树形结构的列名",
|
|
948
|
-
"default": "\"children\"",
|
|
949
|
-
"type": "string"
|
|
950
|
-
},
|
|
951
|
-
{
|
|
952
|
-
"name": "rowDraggable",
|
|
953
|
-
"description": "表格行拖拽配置",
|
|
954
|
-
"type": "boolean"
|
|
1015
|
+
"type": "WorkbenchComponent[]"
|
|
955
1016
|
},
|
|
956
1017
|
{
|
|
957
|
-
"name": "
|
|
958
|
-
"description": "
|
|
1018
|
+
"name": "customDefaultCardConfigMap",
|
|
1019
|
+
"description": "自定义卡片默认配置, 用于覆盖默认卡片配置",
|
|
959
1020
|
"attribute": false,
|
|
960
|
-
"type": "
|
|
961
|
-
},
|
|
962
|
-
{
|
|
963
|
-
"name": "size",
|
|
964
|
-
"description": "表格大小",
|
|
965
|
-
"default": "\"large\"",
|
|
966
|
-
"type": "TableProps<RecordType>[\"size\"]"
|
|
967
|
-
},
|
|
968
|
-
{
|
|
969
|
-
"name": "showHeader",
|
|
970
|
-
"description": "是否显示表头",
|
|
971
|
-
"default": "true",
|
|
972
|
-
"type": "boolean"
|
|
1021
|
+
"type": "Record<string, CardStyleConfig>"
|
|
973
1022
|
},
|
|
974
1023
|
{
|
|
975
|
-
"name": "
|
|
976
|
-
"description": "
|
|
1024
|
+
"name": "showSettingButton",
|
|
1025
|
+
"description": "description: 用于设置页面样式和布局的按钮",
|
|
977
1026
|
"type": "boolean"
|
|
978
1027
|
},
|
|
979
1028
|
{
|
|
980
|
-
"name": "
|
|
981
|
-
"description": "
|
|
982
|
-
"
|
|
983
|
-
"attribute": false,
|
|
984
|
-
"type": "TableScroll"
|
|
985
|
-
},
|
|
986
|
-
{
|
|
987
|
-
"name": "optimizedColumns",
|
|
988
|
-
"description": "优化渲染的列(输入对应的 column.key)",
|
|
989
|
-
"attribute": false,
|
|
990
|
-
"type": "(string | number)[]"
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
"name": "themeVariant",
|
|
994
|
-
"description": "主题变体",
|
|
995
|
-
"type": "\"default\" | \"elevo\""
|
|
1029
|
+
"name": "gap",
|
|
1030
|
+
"description": "description: 卡片间隔",
|
|
1031
|
+
"type": "number"
|
|
996
1032
|
}
|
|
997
1033
|
],
|
|
998
1034
|
"events": [
|
|
999
1035
|
{
|
|
1000
|
-
"name": "
|
|
1001
|
-
"description": "page 或 pageSize 改变的回调",
|
|
1002
|
-
"detail": {
|
|
1003
|
-
"description": "改变后的页码及每页条数",
|
|
1004
|
-
"type": "{ page: number; pageSize: number }"
|
|
1005
|
-
}
|
|
1006
|
-
},
|
|
1007
|
-
{
|
|
1008
|
-
"name": "page.size.change",
|
|
1009
|
-
"description": "pageSize 变化的回调",
|
|
1010
|
-
"deprecated": "统一用 `page.change` 事件",
|
|
1011
|
-
"detail": {
|
|
1012
|
-
"description": "改变后的页码及每页条数",
|
|
1013
|
-
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
1014
|
-
}
|
|
1015
|
-
},
|
|
1016
|
-
{
|
|
1017
|
-
"name": "sort.change",
|
|
1018
|
-
"description": "排序变化的回调",
|
|
1019
|
-
"detail": {
|
|
1020
|
-
"description": "当前排序的信息",
|
|
1021
|
-
"type": "Sort | Sort[] | undefined"
|
|
1022
|
-
}
|
|
1023
|
-
},
|
|
1024
|
-
{
|
|
1025
|
-
"name": "row.select",
|
|
1026
|
-
"description": "行选中项发生变化时的回调",
|
|
1036
|
+
"name": "change",
|
|
1027
1037
|
"detail": {
|
|
1028
|
-
"
|
|
1029
|
-
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
1038
|
+
"type": "ExtraLayout[]"
|
|
1030
1039
|
}
|
|
1031
1040
|
},
|
|
1032
1041
|
{
|
|
1033
|
-
"name": "
|
|
1034
|
-
"description": "行选中项发生变化时的回调(v2 版本)",
|
|
1042
|
+
"name": "save",
|
|
1035
1043
|
"detail": {
|
|
1036
|
-
"
|
|
1037
|
-
"type": "RecordType[]"
|
|
1044
|
+
"type": "ExtraLayout[]"
|
|
1038
1045
|
}
|
|
1039
1046
|
},
|
|
1040
1047
|
{
|
|
1041
|
-
"name": "
|
|
1042
|
-
"description": "点击展开图标时触发",
|
|
1048
|
+
"name": "cancel",
|
|
1043
1049
|
"detail": {
|
|
1044
|
-
"
|
|
1045
|
-
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
1050
|
+
"type": "void"
|
|
1046
1051
|
}
|
|
1047
1052
|
},
|
|
1048
1053
|
{
|
|
1049
|
-
"name": "
|
|
1050
|
-
"description": "展开的行变化时触发",
|
|
1054
|
+
"name": "setting",
|
|
1051
1055
|
"detail": {
|
|
1052
|
-
"
|
|
1053
|
-
"type": "(string | number)[]"
|
|
1056
|
+
"type": "void"
|
|
1054
1057
|
}
|
|
1055
1058
|
},
|
|
1056
1059
|
{
|
|
1057
|
-
"name": "
|
|
1058
|
-
"description": "
|
|
1060
|
+
"name": "action.click",
|
|
1061
|
+
"description": "操作点击事件",
|
|
1059
1062
|
"detail": {
|
|
1060
|
-
"description": "
|
|
1061
|
-
"type": "{\n
|
|
1063
|
+
"description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
|
|
1064
|
+
"type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
|
|
1062
1065
|
}
|
|
1063
1066
|
}
|
|
1064
1067
|
],
|
|
1065
1068
|
"slots": [],
|
|
1066
1069
|
"methods": [
|
|
1067
1070
|
{
|
|
1068
|
-
"name": "
|
|
1071
|
+
"name": "setLayouts",
|
|
1069
1072
|
"params": [
|
|
1070
1073
|
{
|
|
1071
|
-
"name": "
|
|
1072
|
-
"type": "
|
|
1074
|
+
"name": "layouts",
|
|
1075
|
+
"type": "Layout[]"
|
|
1073
1076
|
}
|
|
1074
|
-
]
|
|
1075
|
-
"description": "前端搜索",
|
|
1076
|
-
"returns": {}
|
|
1077
|
+
]
|
|
1077
1078
|
}
|
|
1078
1079
|
],
|
|
1079
1080
|
"parts": [],
|
|
1080
|
-
"description": "
|
|
1081
|
-
"category": "table"
|
|
1081
|
+
"description": "工作台布局V2,未使用shadow dom"
|
|
1082
1082
|
},
|
|
1083
1083
|
{
|
|
1084
1084
|
"name": "advanced.pdf-viewer",
|