@next-bricks/advanced 0.48.4 → 0.49.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.
- package/dist/bricks.json +6 -6
- package/dist/chunks/{4197.f3365a72.js → 4197.f0a774ab.js} +2 -2
- package/dist/chunks/4197.f0a774ab.js.map +1 -0
- package/dist/chunks/{4758.79baed2f.js → 4758.5f79e636.js} +3 -3
- package/dist/chunks/4758.5f79e636.js.map +1 -0
- package/dist/chunks/eo-workbench-layout-v2.bd8b47e6.js +3 -0
- package/dist/chunks/eo-workbench-layout-v2.bd8b47e6.js.map +1 -0
- package/dist/chunks/{main.63b7edc3.js → main.90752277.js} +2 -2
- package/dist/chunks/{main.63b7edc3.js.map → main.90752277.js.map} +1 -1
- package/dist/examples.json +5 -5
- package/dist/{index.91ab4f74.js → index.42fe3d36.js} +2 -2
- package/dist/{index.91ab4f74.js.map → index.42fe3d36.js.map} +1 -1
- package/dist/manifest.json +282 -276
- package/dist/types.json +90 -64
- package/dist-types/workbench-layout-v2/index.d.ts +6 -1
- package/dist-types/workbench-layout-v2/utils.d.ts +1 -1
- package/package.json +2 -2
- package/dist/chunks/4197.f3365a72.js.map +0 -1
- package/dist/chunks/4758.79baed2f.js.map +0 -1
- package/dist/chunks/eo-workbench-layout-v2.c223df74.js +0 -3
- package/dist/chunks/eo-workbench-layout-v2.c223df74.js.map +0 -1
- /package/dist/chunks/{4758.79baed2f.js.LICENSE.txt → 4758.5f79e636.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-workbench-layout-v2.c223df74.js.LICENSE.txt → eo-workbench-layout-v2.bd8b47e6.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -517,228 +517,6 @@
|
|
|
517
517
|
"description": "级联选择器",
|
|
518
518
|
"category": "form-input-basic"
|
|
519
519
|
},
|
|
520
|
-
{
|
|
521
|
-
"name": "eo-next-table",
|
|
522
|
-
"properties": [
|
|
523
|
-
{
|
|
524
|
-
"name": "rowKey",
|
|
525
|
-
"description": "指定表格行的 key",
|
|
526
|
-
"default": "\"key\"",
|
|
527
|
-
"type": "string"
|
|
528
|
-
},
|
|
529
|
-
{
|
|
530
|
-
"name": "columns",
|
|
531
|
-
"description": "列定义",
|
|
532
|
-
"attribute": false,
|
|
533
|
-
"type": "Column[]"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
"name": "cell",
|
|
537
|
-
"description": "单元格",
|
|
538
|
-
"attribute": false,
|
|
539
|
-
"type": "CellConfig"
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
"name": "dataSource",
|
|
543
|
-
"description": "数据源",
|
|
544
|
-
"attribute": false,
|
|
545
|
-
"type": "DataSource"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"name": "frontSearch",
|
|
549
|
-
"description": "是否前端搜索",
|
|
550
|
-
"type": "boolean"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"name": "pagination",
|
|
554
|
-
"description": "分页配置",
|
|
555
|
-
"attribute": false,
|
|
556
|
-
"type": "PaginationType"
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
"name": "loading",
|
|
560
|
-
"description": "显示加载中状态",
|
|
561
|
-
"type": "boolean"
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
"name": "multiSort",
|
|
565
|
-
"description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
|
|
566
|
-
"type": "boolean"
|
|
567
|
-
},
|
|
568
|
-
{
|
|
569
|
-
"name": "sort",
|
|
570
|
-
"description": "排序信息",
|
|
571
|
-
"attribute": false,
|
|
572
|
-
"type": "Sort | Sort[]"
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
"name": "rowSelection",
|
|
576
|
-
"description": "表格行可选择配置",
|
|
577
|
-
"attribute": false,
|
|
578
|
-
"type": "RowSelectionType"
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
"name": "selectedRowKeys",
|
|
582
|
-
"description": "选中项的 key",
|
|
583
|
-
"attribute": false,
|
|
584
|
-
"type": "(string | number)[]"
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
"name": "hiddenColumns",
|
|
588
|
-
"description": "隐藏的列(输入对应的 column.key)",
|
|
589
|
-
"attribute": false,
|
|
590
|
-
"type": "(string | number)[]"
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
"name": "expandable",
|
|
594
|
-
"description": "表格行展开配置",
|
|
595
|
-
"attribute": false,
|
|
596
|
-
"type": "ExpandableType"
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
"name": "expandedRowKeys",
|
|
600
|
-
"description": "展开项的 key",
|
|
601
|
-
"attribute": false,
|
|
602
|
-
"type": "(string | number)[]"
|
|
603
|
-
},
|
|
604
|
-
{
|
|
605
|
-
"name": "childrenColumnName",
|
|
606
|
-
"description": "树形结构的列名",
|
|
607
|
-
"default": "\"children\"",
|
|
608
|
-
"type": "string"
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
"name": "rowDraggable",
|
|
612
|
-
"description": "表格行拖拽配置",
|
|
613
|
-
"type": "boolean"
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
"name": "searchFields",
|
|
617
|
-
"description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
|
|
618
|
-
"attribute": false,
|
|
619
|
-
"type": "(string | string[])[]"
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
"name": "size",
|
|
623
|
-
"description": "表格大小",
|
|
624
|
-
"default": "\"large\"",
|
|
625
|
-
"type": "TableProps<RecordType>[\"size\"]"
|
|
626
|
-
},
|
|
627
|
-
{
|
|
628
|
-
"name": "showHeader",
|
|
629
|
-
"description": "是否显示表头",
|
|
630
|
-
"default": "true",
|
|
631
|
-
"type": "boolean"
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
"name": "bordered",
|
|
635
|
-
"description": "是否显示边框",
|
|
636
|
-
"type": "boolean"
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
"name": "scrollConfig",
|
|
640
|
-
"description": "滚动配置",
|
|
641
|
-
"default": "{ x: true }",
|
|
642
|
-
"attribute": false,
|
|
643
|
-
"type": "TableScroll"
|
|
644
|
-
},
|
|
645
|
-
{
|
|
646
|
-
"name": "optimizedColumns",
|
|
647
|
-
"description": "优化渲染的列(输入对应的 column.key)",
|
|
648
|
-
"attribute": false,
|
|
649
|
-
"type": "(string | number)[]"
|
|
650
|
-
},
|
|
651
|
-
{
|
|
652
|
-
"name": "themeVariant",
|
|
653
|
-
"description": "主题变体",
|
|
654
|
-
"type": "\"default\" | \"elevo\""
|
|
655
|
-
}
|
|
656
|
-
],
|
|
657
|
-
"events": [
|
|
658
|
-
{
|
|
659
|
-
"name": "page.change",
|
|
660
|
-
"description": "page 或 pageSize 改变的回调",
|
|
661
|
-
"detail": {
|
|
662
|
-
"description": "改变后的页码及每页条数",
|
|
663
|
-
"type": "{ page: number; pageSize: number }"
|
|
664
|
-
}
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
"name": "page.size.change",
|
|
668
|
-
"description": "pageSize 变化的回调",
|
|
669
|
-
"deprecated": "统一用 `page.change` 事件",
|
|
670
|
-
"detail": {
|
|
671
|
-
"description": "改变后的页码及每页条数",
|
|
672
|
-
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
673
|
-
}
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
"name": "sort.change",
|
|
677
|
-
"description": "排序变化的回调",
|
|
678
|
-
"detail": {
|
|
679
|
-
"description": "当前排序的信息",
|
|
680
|
-
"type": "Sort | Sort[] | undefined"
|
|
681
|
-
}
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
"name": "row.select",
|
|
685
|
-
"description": "行选中项发生变化时的回调",
|
|
686
|
-
"detail": {
|
|
687
|
-
"description": "改变后的 rowKey 及行数据",
|
|
688
|
-
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
689
|
-
}
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
"name": "row.select.v2",
|
|
693
|
-
"description": "行选中项发生变化时的回调(v2 版本)",
|
|
694
|
-
"detail": {
|
|
695
|
-
"description": "改变后的行数据",
|
|
696
|
-
"type": "RecordType[]"
|
|
697
|
-
}
|
|
698
|
-
},
|
|
699
|
-
{
|
|
700
|
-
"name": "row.expand",
|
|
701
|
-
"description": "点击展开图标时触发",
|
|
702
|
-
"detail": {
|
|
703
|
-
"description": "当前行的展开情况及数据",
|
|
704
|
-
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
705
|
-
}
|
|
706
|
-
},
|
|
707
|
-
{
|
|
708
|
-
"name": "expanded.rows.change",
|
|
709
|
-
"description": "展开的行变化时触发",
|
|
710
|
-
"detail": {
|
|
711
|
-
"description": "所有展开行的 key",
|
|
712
|
-
"type": "(string | number)[]"
|
|
713
|
-
}
|
|
714
|
-
},
|
|
715
|
-
{
|
|
716
|
-
"name": "row.drag",
|
|
717
|
-
"description": "表格行拖拽结束发生的事件",
|
|
718
|
-
"detail": {
|
|
719
|
-
"description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
|
|
720
|
-
"type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
],
|
|
724
|
-
"slots": [],
|
|
725
|
-
"methods": [
|
|
726
|
-
{
|
|
727
|
-
"name": "search",
|
|
728
|
-
"params": [
|
|
729
|
-
{
|
|
730
|
-
"name": "params",
|
|
731
|
-
"type": "{ q: string }"
|
|
732
|
-
}
|
|
733
|
-
],
|
|
734
|
-
"description": "前端搜索",
|
|
735
|
-
"returns": {}
|
|
736
|
-
}
|
|
737
|
-
],
|
|
738
|
-
"parts": [],
|
|
739
|
-
"description": "大型表格",
|
|
740
|
-
"category": "table"
|
|
741
|
-
},
|
|
742
520
|
{
|
|
743
521
|
"name": "eo-workbench-layout-v2",
|
|
744
522
|
"properties": [
|
|
@@ -765,6 +543,12 @@
|
|
|
765
543
|
"attribute": false,
|
|
766
544
|
"type": "WorkbenchComponent[]"
|
|
767
545
|
},
|
|
546
|
+
{
|
|
547
|
+
"name": "customDefaultCardConfigMap",
|
|
548
|
+
"description": "自定义卡片默认配置, 用于覆盖默认卡片配置",
|
|
549
|
+
"attribute": false,
|
|
550
|
+
"type": "Record<string, CardStyleConfig>"
|
|
551
|
+
},
|
|
768
552
|
{
|
|
769
553
|
"name": "showSettingButton",
|
|
770
554
|
"description": "description: 用于设置页面样式和布局的按钮",
|
|
@@ -909,68 +693,19 @@
|
|
|
909
693
|
"description": "树形构件"
|
|
910
694
|
},
|
|
911
695
|
{
|
|
912
|
-
"name": "eo-
|
|
696
|
+
"name": "eo-tree-select",
|
|
913
697
|
"properties": [
|
|
914
698
|
{
|
|
915
|
-
"name": "
|
|
916
|
-
"description": "文案",
|
|
917
|
-
"default": null,
|
|
699
|
+
"name": "name",
|
|
918
700
|
"type": "string"
|
|
919
701
|
},
|
|
920
702
|
{
|
|
921
|
-
"name": "
|
|
922
|
-
"description": "省略行数",
|
|
923
|
-
"default": "1",
|
|
924
|
-
"type": "number"
|
|
925
|
-
}
|
|
926
|
-
],
|
|
927
|
-
"events": [],
|
|
928
|
-
"slots": [],
|
|
929
|
-
"methods": [],
|
|
930
|
-
"parts": [],
|
|
931
|
-
"description": "超出宽度鼠标悬浮显示tooltip\n构件 `eo-text-tooltip`"
|
|
932
|
-
},
|
|
933
|
-
{
|
|
934
|
-
"name": "advanced.pdf-viewer",
|
|
935
|
-
"properties": [
|
|
936
|
-
{
|
|
937
|
-
"name": "url",
|
|
703
|
+
"name": "label",
|
|
938
704
|
"type": "string"
|
|
939
705
|
},
|
|
940
706
|
{
|
|
941
|
-
"name": "
|
|
942
|
-
"type": "
|
|
943
|
-
},
|
|
944
|
-
{
|
|
945
|
-
"name": "search",
|
|
946
|
-
"type": "string"
|
|
947
|
-
},
|
|
948
|
-
{
|
|
949
|
-
"name": "viewerStyle",
|
|
950
|
-
"attribute": false,
|
|
951
|
-
"type": "React.CSSProperties"
|
|
952
|
-
}
|
|
953
|
-
],
|
|
954
|
-
"events": [],
|
|
955
|
-
"slots": [],
|
|
956
|
-
"methods": [],
|
|
957
|
-
"parts": [],
|
|
958
|
-
"description": "构件 `advanced.pdf-viewer`"
|
|
959
|
-
},
|
|
960
|
-
{
|
|
961
|
-
"name": "eo-tree-select",
|
|
962
|
-
"properties": [
|
|
963
|
-
{
|
|
964
|
-
"name": "name",
|
|
965
|
-
"type": "string"
|
|
966
|
-
},
|
|
967
|
-
{
|
|
968
|
-
"name": "label",
|
|
969
|
-
"type": "string"
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
"name": "required",
|
|
973
|
-
"type": "boolean"
|
|
707
|
+
"name": "required",
|
|
708
|
+
"type": "boolean"
|
|
974
709
|
},
|
|
975
710
|
{
|
|
976
711
|
"name": "treeData",
|
|
@@ -1095,6 +830,277 @@
|
|
|
1095
830
|
"parts": [],
|
|
1096
831
|
"description": "树选择器",
|
|
1097
832
|
"category": "form-input-basic"
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"name": "eo-text-tooltip",
|
|
836
|
+
"properties": [
|
|
837
|
+
{
|
|
838
|
+
"name": "label",
|
|
839
|
+
"description": "文案",
|
|
840
|
+
"default": null,
|
|
841
|
+
"type": "string"
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"name": "lineClamp",
|
|
845
|
+
"description": "省略行数",
|
|
846
|
+
"default": "1",
|
|
847
|
+
"type": "number"
|
|
848
|
+
}
|
|
849
|
+
],
|
|
850
|
+
"events": [],
|
|
851
|
+
"slots": [],
|
|
852
|
+
"methods": [],
|
|
853
|
+
"parts": [],
|
|
854
|
+
"description": "超出宽度鼠标悬浮显示tooltip\n构件 `eo-text-tooltip`"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"name": "advanced.pdf-viewer",
|
|
858
|
+
"properties": [
|
|
859
|
+
{
|
|
860
|
+
"name": "url",
|
|
861
|
+
"type": "string"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"name": "page",
|
|
865
|
+
"type": "number"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"name": "search",
|
|
869
|
+
"type": "string"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"name": "viewerStyle",
|
|
873
|
+
"attribute": false,
|
|
874
|
+
"type": "React.CSSProperties"
|
|
875
|
+
}
|
|
876
|
+
],
|
|
877
|
+
"events": [],
|
|
878
|
+
"slots": [],
|
|
879
|
+
"methods": [],
|
|
880
|
+
"parts": [],
|
|
881
|
+
"description": "构件 `advanced.pdf-viewer`"
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"name": "eo-next-table",
|
|
885
|
+
"properties": [
|
|
886
|
+
{
|
|
887
|
+
"name": "rowKey",
|
|
888
|
+
"description": "指定表格行的 key",
|
|
889
|
+
"default": "\"key\"",
|
|
890
|
+
"type": "string"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"name": "columns",
|
|
894
|
+
"description": "列定义",
|
|
895
|
+
"attribute": false,
|
|
896
|
+
"type": "Column[]"
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"name": "cell",
|
|
900
|
+
"description": "单元格",
|
|
901
|
+
"attribute": false,
|
|
902
|
+
"type": "CellConfig"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "dataSource",
|
|
906
|
+
"description": "数据源",
|
|
907
|
+
"attribute": false,
|
|
908
|
+
"type": "DataSource"
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"name": "frontSearch",
|
|
912
|
+
"description": "是否前端搜索",
|
|
913
|
+
"type": "boolean"
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"name": "pagination",
|
|
917
|
+
"description": "分页配置",
|
|
918
|
+
"attribute": false,
|
|
919
|
+
"type": "PaginationType"
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"name": "loading",
|
|
923
|
+
"description": "显示加载中状态",
|
|
924
|
+
"type": "boolean"
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"name": "multiSort",
|
|
928
|
+
"description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
|
|
929
|
+
"type": "boolean"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"name": "sort",
|
|
933
|
+
"description": "排序信息",
|
|
934
|
+
"attribute": false,
|
|
935
|
+
"type": "Sort | Sort[]"
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"name": "rowSelection",
|
|
939
|
+
"description": "表格行可选择配置",
|
|
940
|
+
"attribute": false,
|
|
941
|
+
"type": "RowSelectionType"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"name": "selectedRowKeys",
|
|
945
|
+
"description": "选中项的 key",
|
|
946
|
+
"attribute": false,
|
|
947
|
+
"type": "(string | number)[]"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"name": "hiddenColumns",
|
|
951
|
+
"description": "隐藏的列(输入对应的 column.key)",
|
|
952
|
+
"attribute": false,
|
|
953
|
+
"type": "(string | number)[]"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"name": "expandable",
|
|
957
|
+
"description": "表格行展开配置",
|
|
958
|
+
"attribute": false,
|
|
959
|
+
"type": "ExpandableType"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"name": "expandedRowKeys",
|
|
963
|
+
"description": "展开项的 key",
|
|
964
|
+
"attribute": false,
|
|
965
|
+
"type": "(string | number)[]"
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
"name": "childrenColumnName",
|
|
969
|
+
"description": "树形结构的列名",
|
|
970
|
+
"default": "\"children\"",
|
|
971
|
+
"type": "string"
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"name": "rowDraggable",
|
|
975
|
+
"description": "表格行拖拽配置",
|
|
976
|
+
"type": "boolean"
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"name": "searchFields",
|
|
980
|
+
"description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
|
|
981
|
+
"attribute": false,
|
|
982
|
+
"type": "(string | string[])[]"
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"name": "size",
|
|
986
|
+
"description": "表格大小",
|
|
987
|
+
"default": "\"large\"",
|
|
988
|
+
"type": "TableProps<RecordType>[\"size\"]"
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"name": "showHeader",
|
|
992
|
+
"description": "是否显示表头",
|
|
993
|
+
"default": "true",
|
|
994
|
+
"type": "boolean"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"name": "bordered",
|
|
998
|
+
"description": "是否显示边框",
|
|
999
|
+
"type": "boolean"
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"name": "scrollConfig",
|
|
1003
|
+
"description": "滚动配置",
|
|
1004
|
+
"default": "{ x: true }",
|
|
1005
|
+
"attribute": false,
|
|
1006
|
+
"type": "TableScroll"
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"name": "optimizedColumns",
|
|
1010
|
+
"description": "优化渲染的列(输入对应的 column.key)",
|
|
1011
|
+
"attribute": false,
|
|
1012
|
+
"type": "(string | number)[]"
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"name": "themeVariant",
|
|
1016
|
+
"description": "主题变体",
|
|
1017
|
+
"type": "\"default\" | \"elevo\""
|
|
1018
|
+
}
|
|
1019
|
+
],
|
|
1020
|
+
"events": [
|
|
1021
|
+
{
|
|
1022
|
+
"name": "page.change",
|
|
1023
|
+
"description": "page 或 pageSize 改变的回调",
|
|
1024
|
+
"detail": {
|
|
1025
|
+
"description": "改变后的页码及每页条数",
|
|
1026
|
+
"type": "{ page: number; pageSize: number }"
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"name": "page.size.change",
|
|
1031
|
+
"description": "pageSize 变化的回调",
|
|
1032
|
+
"deprecated": "统一用 `page.change` 事件",
|
|
1033
|
+
"detail": {
|
|
1034
|
+
"description": "改变后的页码及每页条数",
|
|
1035
|
+
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"name": "sort.change",
|
|
1040
|
+
"description": "排序变化的回调",
|
|
1041
|
+
"detail": {
|
|
1042
|
+
"description": "当前排序的信息",
|
|
1043
|
+
"type": "Sort | Sort[] | undefined"
|
|
1044
|
+
}
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
"name": "row.select",
|
|
1048
|
+
"description": "行选中项发生变化时的回调",
|
|
1049
|
+
"detail": {
|
|
1050
|
+
"description": "改变后的 rowKey 及行数据",
|
|
1051
|
+
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
1052
|
+
}
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"name": "row.select.v2",
|
|
1056
|
+
"description": "行选中项发生变化时的回调(v2 版本)",
|
|
1057
|
+
"detail": {
|
|
1058
|
+
"description": "改变后的行数据",
|
|
1059
|
+
"type": "RecordType[]"
|
|
1060
|
+
}
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"name": "row.expand",
|
|
1064
|
+
"description": "点击展开图标时触发",
|
|
1065
|
+
"detail": {
|
|
1066
|
+
"description": "当前行的展开情况及数据",
|
|
1067
|
+
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
1068
|
+
}
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
"name": "expanded.rows.change",
|
|
1072
|
+
"description": "展开的行变化时触发",
|
|
1073
|
+
"detail": {
|
|
1074
|
+
"description": "所有展开行的 key",
|
|
1075
|
+
"type": "(string | number)[]"
|
|
1076
|
+
}
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"name": "row.drag",
|
|
1080
|
+
"description": "表格行拖拽结束发生的事件",
|
|
1081
|
+
"detail": {
|
|
1082
|
+
"description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
|
|
1083
|
+
"type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
],
|
|
1087
|
+
"slots": [],
|
|
1088
|
+
"methods": [
|
|
1089
|
+
{
|
|
1090
|
+
"name": "search",
|
|
1091
|
+
"params": [
|
|
1092
|
+
{
|
|
1093
|
+
"name": "params",
|
|
1094
|
+
"type": "{ q: string }"
|
|
1095
|
+
}
|
|
1096
|
+
],
|
|
1097
|
+
"description": "前端搜索",
|
|
1098
|
+
"returns": {}
|
|
1099
|
+
}
|
|
1100
|
+
],
|
|
1101
|
+
"parts": [],
|
|
1102
|
+
"description": "大型表格",
|
|
1103
|
+
"category": "table"
|
|
1098
1104
|
}
|
|
1099
1105
|
],
|
|
1100
1106
|
"providers": [
|