@next-bricks/advanced 0.50.7 → 0.51.1
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 +8 -8
- package/dist/chunks/8382.d552299f.js +2 -0
- package/dist/chunks/8382.d552299f.js.map +1 -0
- package/dist/chunks/eo-next-table.25f4bf4d.js +2 -0
- package/dist/chunks/eo-next-table.25f4bf4d.js.map +1 -0
- package/dist/chunks/{main.86c53518.js → main.f43a8ad8.js} +2 -2
- package/dist/chunks/{main.86c53518.js.map → main.f43a8ad8.js.map} +1 -1
- package/dist/examples.json +5 -5
- package/dist/{index.436ac9c2.js → index.d63b126d.js} +2 -2
- package/dist/{index.436ac9c2.js.map → index.d63b126d.js.map} +1 -1
- package/dist/manifest.json +292 -279
- package/dist/types.json +83 -64
- package/dist-types/jsx.d.ts +1 -0
- package/dist-types/next-table/Table.d.ts +1 -0
- package/dist-types/next-table/index.d.ts +4 -0
- package/dist-types/next-table/interface.d.ts +1 -0
- package/package.json +2 -2
- package/dist/chunks/8382.a9fea9d6.js +0 -2
- package/dist/chunks/8382.a9fea9d6.js.map +0 -1
- package/dist/chunks/eo-next-table.cab33e66.js +0 -2
- package/dist/chunks/eo-next-table.cab33e66.js.map +0 -1
package/dist/manifest.json
CHANGED
|
@@ -451,228 +451,6 @@
|
|
|
451
451
|
"description": "级联选择器",
|
|
452
452
|
"category": "form-input-basic"
|
|
453
453
|
},
|
|
454
|
-
{
|
|
455
|
-
"name": "eo-next-table",
|
|
456
|
-
"properties": [
|
|
457
|
-
{
|
|
458
|
-
"name": "rowKey",
|
|
459
|
-
"description": "指定表格行的 key",
|
|
460
|
-
"default": "\"key\"",
|
|
461
|
-
"type": "string"
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
"name": "columns",
|
|
465
|
-
"description": "列定义",
|
|
466
|
-
"attribute": false,
|
|
467
|
-
"type": "Column[]"
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
"name": "cell",
|
|
471
|
-
"description": "单元格",
|
|
472
|
-
"attribute": false,
|
|
473
|
-
"type": "CellConfig"
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
"name": "dataSource",
|
|
477
|
-
"description": "数据源",
|
|
478
|
-
"attribute": false,
|
|
479
|
-
"type": "DataSource"
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"name": "frontSearch",
|
|
483
|
-
"description": "是否前端搜索",
|
|
484
|
-
"type": "boolean"
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"name": "pagination",
|
|
488
|
-
"description": "分页配置",
|
|
489
|
-
"attribute": false,
|
|
490
|
-
"type": "PaginationType"
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
"name": "loading",
|
|
494
|
-
"description": "显示加载中状态",
|
|
495
|
-
"type": "boolean"
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"name": "multiSort",
|
|
499
|
-
"description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
|
|
500
|
-
"type": "boolean"
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"name": "sort",
|
|
504
|
-
"description": "排序信息",
|
|
505
|
-
"attribute": false,
|
|
506
|
-
"type": "Sort | Sort[]"
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
"name": "rowSelection",
|
|
510
|
-
"description": "表格行可选择配置",
|
|
511
|
-
"attribute": false,
|
|
512
|
-
"type": "RowSelectionType"
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
"name": "selectedRowKeys",
|
|
516
|
-
"description": "选中项的 key",
|
|
517
|
-
"attribute": false,
|
|
518
|
-
"type": "(string | number)[]"
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
"name": "hiddenColumns",
|
|
522
|
-
"description": "隐藏的列(输入对应的 column.key)",
|
|
523
|
-
"attribute": false,
|
|
524
|
-
"type": "(string | number)[]"
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
"name": "expandable",
|
|
528
|
-
"description": "表格行展开配置",
|
|
529
|
-
"attribute": false,
|
|
530
|
-
"type": "ExpandableType"
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
"name": "expandedRowKeys",
|
|
534
|
-
"description": "展开项的 key",
|
|
535
|
-
"attribute": false,
|
|
536
|
-
"type": "(string | number)[]"
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
"name": "childrenColumnName",
|
|
540
|
-
"description": "树形结构的列名",
|
|
541
|
-
"default": "\"children\"",
|
|
542
|
-
"type": "string"
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
"name": "rowDraggable",
|
|
546
|
-
"description": "表格行拖拽配置",
|
|
547
|
-
"type": "boolean"
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
"name": "searchFields",
|
|
551
|
-
"description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
|
|
552
|
-
"attribute": false,
|
|
553
|
-
"type": "(string | string[])[]"
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
"name": "size",
|
|
557
|
-
"description": "表格大小",
|
|
558
|
-
"default": "\"large\"",
|
|
559
|
-
"type": "TableProps<RecordType>[\"size\"]"
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
"name": "showHeader",
|
|
563
|
-
"description": "是否显示表头",
|
|
564
|
-
"default": "true",
|
|
565
|
-
"type": "boolean"
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"name": "bordered",
|
|
569
|
-
"description": "是否显示边框",
|
|
570
|
-
"type": "boolean"
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"name": "scrollConfig",
|
|
574
|
-
"description": "滚动配置",
|
|
575
|
-
"default": "{ x: true }",
|
|
576
|
-
"attribute": false,
|
|
577
|
-
"type": "TableScroll"
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
"name": "optimizedColumns",
|
|
581
|
-
"description": "优化渲染的列(输入对应的 column.key)",
|
|
582
|
-
"attribute": false,
|
|
583
|
-
"type": "(string | number)[]"
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
"name": "themeVariant",
|
|
587
|
-
"description": "主题变体",
|
|
588
|
-
"type": "\"default\" | \"elevo\""
|
|
589
|
-
}
|
|
590
|
-
],
|
|
591
|
-
"events": [
|
|
592
|
-
{
|
|
593
|
-
"name": "page.change",
|
|
594
|
-
"description": "page 或 pageSize 改变的回调",
|
|
595
|
-
"detail": {
|
|
596
|
-
"description": "改变后的页码及每页条数",
|
|
597
|
-
"type": "{ page: number; pageSize: number }"
|
|
598
|
-
}
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
"name": "page.size.change",
|
|
602
|
-
"description": "pageSize 变化的回调",
|
|
603
|
-
"deprecated": "统一用 `page.change` 事件",
|
|
604
|
-
"detail": {
|
|
605
|
-
"description": "改变后的页码及每页条数",
|
|
606
|
-
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
607
|
-
}
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
"name": "sort.change",
|
|
611
|
-
"description": "排序变化的回调",
|
|
612
|
-
"detail": {
|
|
613
|
-
"description": "当前排序的信息",
|
|
614
|
-
"type": "Sort | Sort[] | undefined"
|
|
615
|
-
}
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
"name": "row.select",
|
|
619
|
-
"description": "行选中项发生变化时的回调",
|
|
620
|
-
"detail": {
|
|
621
|
-
"description": "改变后的 rowKey 及行数据",
|
|
622
|
-
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
623
|
-
}
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
"name": "row.select.v2",
|
|
627
|
-
"description": "行选中项发生变化时的回调(v2 版本)",
|
|
628
|
-
"detail": {
|
|
629
|
-
"description": "改变后的行数据",
|
|
630
|
-
"type": "RecordType[]"
|
|
631
|
-
}
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
"name": "row.expand",
|
|
635
|
-
"description": "点击展开图标时触发",
|
|
636
|
-
"detail": {
|
|
637
|
-
"description": "当前行的展开情况及数据",
|
|
638
|
-
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
639
|
-
}
|
|
640
|
-
},
|
|
641
|
-
{
|
|
642
|
-
"name": "expanded.rows.change",
|
|
643
|
-
"description": "展开的行变化时触发",
|
|
644
|
-
"detail": {
|
|
645
|
-
"description": "所有展开行的 key",
|
|
646
|
-
"type": "(string | number)[]"
|
|
647
|
-
}
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
"name": "row.drag",
|
|
651
|
-
"description": "表格行拖拽结束发生的事件",
|
|
652
|
-
"detail": {
|
|
653
|
-
"description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
|
|
654
|
-
"type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
],
|
|
658
|
-
"slots": [],
|
|
659
|
-
"methods": [
|
|
660
|
-
{
|
|
661
|
-
"name": "search",
|
|
662
|
-
"params": [
|
|
663
|
-
{
|
|
664
|
-
"name": "params",
|
|
665
|
-
"type": "{ q: string }"
|
|
666
|
-
}
|
|
667
|
-
],
|
|
668
|
-
"description": "前端搜索",
|
|
669
|
-
"returns": {}
|
|
670
|
-
}
|
|
671
|
-
],
|
|
672
|
-
"parts": [],
|
|
673
|
-
"description": "大型表格",
|
|
674
|
-
"category": "table"
|
|
675
|
-
},
|
|
676
454
|
{
|
|
677
455
|
"name": "eo-workbench-layout",
|
|
678
456
|
"properties": [
|
|
@@ -920,73 +698,24 @@
|
|
|
920
698
|
"description": "树形构件"
|
|
921
699
|
},
|
|
922
700
|
{
|
|
923
|
-
"name": "eo-
|
|
701
|
+
"name": "eo-tree-select",
|
|
924
702
|
"properties": [
|
|
925
703
|
{
|
|
926
|
-
"name": "
|
|
927
|
-
"description": "文案",
|
|
928
|
-
"default": null,
|
|
704
|
+
"name": "name",
|
|
929
705
|
"type": "string"
|
|
930
706
|
},
|
|
931
707
|
{
|
|
932
|
-
"name": "
|
|
933
|
-
"description": "省略行数",
|
|
934
|
-
"default": "1",
|
|
935
|
-
"type": "number"
|
|
936
|
-
}
|
|
937
|
-
],
|
|
938
|
-
"events": [],
|
|
939
|
-
"slots": [],
|
|
940
|
-
"methods": [],
|
|
941
|
-
"parts": [],
|
|
942
|
-
"description": "超出宽度鼠标悬浮显示tooltip\n构件 `eo-text-tooltip`"
|
|
943
|
-
},
|
|
944
|
-
{
|
|
945
|
-
"name": "advanced.pdf-viewer",
|
|
946
|
-
"properties": [
|
|
947
|
-
{
|
|
948
|
-
"name": "url",
|
|
708
|
+
"name": "label",
|
|
949
709
|
"type": "string"
|
|
950
710
|
},
|
|
951
711
|
{
|
|
952
|
-
"name": "
|
|
953
|
-
"type": "
|
|
712
|
+
"name": "required",
|
|
713
|
+
"type": "boolean"
|
|
954
714
|
},
|
|
955
715
|
{
|
|
956
|
-
"name": "
|
|
957
|
-
"
|
|
958
|
-
|
|
959
|
-
{
|
|
960
|
-
"name": "viewerStyle",
|
|
961
|
-
"attribute": false,
|
|
962
|
-
"type": "React.CSSProperties"
|
|
963
|
-
}
|
|
964
|
-
],
|
|
965
|
-
"events": [],
|
|
966
|
-
"slots": [],
|
|
967
|
-
"methods": [],
|
|
968
|
-
"parts": [],
|
|
969
|
-
"description": "构件 `advanced.pdf-viewer`"
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
"name": "eo-tree-select",
|
|
973
|
-
"properties": [
|
|
974
|
-
{
|
|
975
|
-
"name": "name",
|
|
976
|
-
"type": "string"
|
|
977
|
-
},
|
|
978
|
-
{
|
|
979
|
-
"name": "label",
|
|
980
|
-
"type": "string"
|
|
981
|
-
},
|
|
982
|
-
{
|
|
983
|
-
"name": "required",
|
|
984
|
-
"type": "boolean"
|
|
985
|
-
},
|
|
986
|
-
{
|
|
987
|
-
"name": "treeData",
|
|
988
|
-
"attribute": false,
|
|
989
|
-
"type": "AntdTreeSelectProps[\"treeData\"]"
|
|
716
|
+
"name": "treeData",
|
|
717
|
+
"attribute": false,
|
|
718
|
+
"type": "AntdTreeSelectProps[\"treeData\"]"
|
|
990
719
|
},
|
|
991
720
|
{
|
|
992
721
|
"name": "treeDefaultExpandAll",
|
|
@@ -1106,6 +835,290 @@
|
|
|
1106
835
|
"parts": [],
|
|
1107
836
|
"description": "树选择器",
|
|
1108
837
|
"category": "form-input-basic"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"name": "eo-text-tooltip",
|
|
841
|
+
"properties": [
|
|
842
|
+
{
|
|
843
|
+
"name": "label",
|
|
844
|
+
"description": "文案",
|
|
845
|
+
"default": null,
|
|
846
|
+
"type": "string"
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"name": "lineClamp",
|
|
850
|
+
"description": "省略行数",
|
|
851
|
+
"default": "1",
|
|
852
|
+
"type": "number"
|
|
853
|
+
}
|
|
854
|
+
],
|
|
855
|
+
"events": [],
|
|
856
|
+
"slots": [],
|
|
857
|
+
"methods": [],
|
|
858
|
+
"parts": [],
|
|
859
|
+
"description": "超出宽度鼠标悬浮显示tooltip\n构件 `eo-text-tooltip`"
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
"name": "advanced.pdf-viewer",
|
|
863
|
+
"properties": [
|
|
864
|
+
{
|
|
865
|
+
"name": "url",
|
|
866
|
+
"type": "string"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"name": "page",
|
|
870
|
+
"type": "number"
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"name": "search",
|
|
874
|
+
"type": "string"
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"name": "viewerStyle",
|
|
878
|
+
"attribute": false,
|
|
879
|
+
"type": "React.CSSProperties"
|
|
880
|
+
}
|
|
881
|
+
],
|
|
882
|
+
"events": [],
|
|
883
|
+
"slots": [],
|
|
884
|
+
"methods": [],
|
|
885
|
+
"parts": [],
|
|
886
|
+
"description": "构件 `advanced.pdf-viewer`"
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
"name": "eo-next-table",
|
|
890
|
+
"properties": [
|
|
891
|
+
{
|
|
892
|
+
"name": "rowKey",
|
|
893
|
+
"description": "指定表格行的 key",
|
|
894
|
+
"default": "\"key\"",
|
|
895
|
+
"type": "string"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"name": "columns",
|
|
899
|
+
"description": "列定义",
|
|
900
|
+
"attribute": false,
|
|
901
|
+
"type": "Column[]"
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"name": "cell",
|
|
905
|
+
"description": "单元格",
|
|
906
|
+
"attribute": false,
|
|
907
|
+
"type": "CellConfig"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"name": "dataSource",
|
|
911
|
+
"description": "数据源",
|
|
912
|
+
"attribute": false,
|
|
913
|
+
"type": "DataSource"
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"name": "frontSearch",
|
|
917
|
+
"description": "是否前端搜索",
|
|
918
|
+
"type": "boolean"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"name": "pagination",
|
|
922
|
+
"description": "分页配置",
|
|
923
|
+
"attribute": false,
|
|
924
|
+
"type": "PaginationType"
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"name": "loading",
|
|
928
|
+
"description": "显示加载中状态",
|
|
929
|
+
"type": "boolean"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"name": "multiSort",
|
|
933
|
+
"description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
|
|
934
|
+
"type": "boolean"
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"name": "sort",
|
|
938
|
+
"description": "排序信息",
|
|
939
|
+
"attribute": false,
|
|
940
|
+
"type": "Sort | Sort[]"
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"name": "rowSelection",
|
|
944
|
+
"description": "表格行可选择配置",
|
|
945
|
+
"attribute": false,
|
|
946
|
+
"type": "RowSelectionType"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"name": "selectedRowKeys",
|
|
950
|
+
"description": "选中项的 key",
|
|
951
|
+
"attribute": false,
|
|
952
|
+
"type": "(string | number)[]"
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
"name": "hiddenColumns",
|
|
956
|
+
"description": "隐藏的列(输入对应的 column.key)",
|
|
957
|
+
"attribute": false,
|
|
958
|
+
"type": "(string | number)[]"
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"name": "expandable",
|
|
962
|
+
"description": "表格行展开配置",
|
|
963
|
+
"attribute": false,
|
|
964
|
+
"type": "ExpandableType"
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"name": "expandedRowKeys",
|
|
968
|
+
"description": "展开项的 key",
|
|
969
|
+
"attribute": false,
|
|
970
|
+
"type": "(string | number)[]"
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"name": "childrenColumnName",
|
|
974
|
+
"description": "树形结构的列名",
|
|
975
|
+
"default": "\"children\"",
|
|
976
|
+
"type": "string"
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"name": "rowDraggable",
|
|
980
|
+
"description": "表格行拖拽配置",
|
|
981
|
+
"type": "boolean"
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"name": "rowClickable",
|
|
985
|
+
"description": "表格行可点击(激活鼠标手势)",
|
|
986
|
+
"type": "boolean"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"name": "searchFields",
|
|
990
|
+
"description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
|
|
991
|
+
"attribute": false,
|
|
992
|
+
"type": "(string | string[])[]"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"name": "size",
|
|
996
|
+
"description": "表格大小",
|
|
997
|
+
"default": "\"large\"",
|
|
998
|
+
"type": "TableProps<RecordType>[\"size\"]"
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
"name": "showHeader",
|
|
1002
|
+
"description": "是否显示表头",
|
|
1003
|
+
"default": "true",
|
|
1004
|
+
"type": "boolean"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"name": "bordered",
|
|
1008
|
+
"description": "是否显示边框",
|
|
1009
|
+
"type": "boolean"
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"name": "scrollConfig",
|
|
1013
|
+
"description": "滚动配置",
|
|
1014
|
+
"default": "{ x: true }",
|
|
1015
|
+
"attribute": false,
|
|
1016
|
+
"type": "TableScroll"
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"name": "optimizedColumns",
|
|
1020
|
+
"description": "优化渲染的列(输入对应的 column.key)",
|
|
1021
|
+
"attribute": false,
|
|
1022
|
+
"type": "(string | number)[]"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"name": "themeVariant",
|
|
1026
|
+
"description": "主题变体",
|
|
1027
|
+
"type": "\"default\" | \"elevo\""
|
|
1028
|
+
}
|
|
1029
|
+
],
|
|
1030
|
+
"events": [
|
|
1031
|
+
{
|
|
1032
|
+
"name": "page.change",
|
|
1033
|
+
"description": "page 或 pageSize 改变的回调",
|
|
1034
|
+
"detail": {
|
|
1035
|
+
"description": "改变后的页码及每页条数",
|
|
1036
|
+
"type": "{ page: number; pageSize: number }"
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"name": "page.size.change",
|
|
1041
|
+
"description": "pageSize 变化的回调",
|
|
1042
|
+
"deprecated": "统一用 `page.change` 事件",
|
|
1043
|
+
"detail": {
|
|
1044
|
+
"description": "改变后的页码及每页条数",
|
|
1045
|
+
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"name": "sort.change",
|
|
1050
|
+
"description": "排序变化的回调",
|
|
1051
|
+
"detail": {
|
|
1052
|
+
"description": "当前排序的信息",
|
|
1053
|
+
"type": "Sort | Sort[] | undefined"
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"name": "row.click",
|
|
1058
|
+
"description": "行点击时的回调",
|
|
1059
|
+
"detail": {
|
|
1060
|
+
"description": "被点击的行数据",
|
|
1061
|
+
"type": "RecordType"
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"name": "row.select",
|
|
1066
|
+
"description": "行选中项发生变化时的回调",
|
|
1067
|
+
"detail": {
|
|
1068
|
+
"description": "改变后的 rowKey 及行数据",
|
|
1069
|
+
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"name": "row.select.v2",
|
|
1074
|
+
"description": "行选中项发生变化时的回调(v2 版本)",
|
|
1075
|
+
"detail": {
|
|
1076
|
+
"description": "改变后的行数据",
|
|
1077
|
+
"type": "RecordType[]"
|
|
1078
|
+
}
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"name": "row.expand",
|
|
1082
|
+
"description": "点击展开图标时触发",
|
|
1083
|
+
"detail": {
|
|
1084
|
+
"description": "当前行的展开情况及数据",
|
|
1085
|
+
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
1086
|
+
}
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
"name": "expanded.rows.change",
|
|
1090
|
+
"description": "展开的行变化时触发",
|
|
1091
|
+
"detail": {
|
|
1092
|
+
"description": "所有展开行的 key",
|
|
1093
|
+
"type": "(string | number)[]"
|
|
1094
|
+
}
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"name": "row.drag",
|
|
1098
|
+
"description": "表格行拖拽结束发生的事件",
|
|
1099
|
+
"detail": {
|
|
1100
|
+
"description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
|
|
1101
|
+
"type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
],
|
|
1105
|
+
"slots": [],
|
|
1106
|
+
"methods": [
|
|
1107
|
+
{
|
|
1108
|
+
"name": "search",
|
|
1109
|
+
"params": [
|
|
1110
|
+
{
|
|
1111
|
+
"name": "params",
|
|
1112
|
+
"type": "{ q: string }"
|
|
1113
|
+
}
|
|
1114
|
+
],
|
|
1115
|
+
"description": "前端搜索",
|
|
1116
|
+
"returns": {}
|
|
1117
|
+
}
|
|
1118
|
+
],
|
|
1119
|
+
"parts": [],
|
|
1120
|
+
"description": "大型表格",
|
|
1121
|
+
"category": "table"
|
|
1109
1122
|
}
|
|
1110
1123
|
],
|
|
1111
1124
|
"providers": [
|