@next-bricks/advanced 0.32.5 → 0.32.7
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/{5114.b2f022c6.js → 5114.30883434.js} +2 -2
- package/dist/chunks/{5114.b2f022c6.js.map → 5114.30883434.js.map} +1 -1
- package/dist/chunks/{5479.37460e88.js → 5479.0a24d0a6.js} +2 -2
- package/dist/chunks/{5479.37460e88.js.map → 5479.0a24d0a6.js.map} +1 -1
- package/dist/chunks/{7115.0879573e.js → 7115.2ee65eba.js} +2 -2
- package/dist/chunks/{7115.0879573e.js.map → 7115.2ee65eba.js.map} +1 -1
- package/dist/chunks/8954.2da4cf33.js +2 -0
- package/dist/chunks/8954.2da4cf33.js.map +1 -0
- package/dist/chunks/{9496.6ca87c7e.js → 9496.3494a96e.js} +2 -2
- package/dist/chunks/{9496.6ca87c7e.js.map → 9496.3494a96e.js.map} +1 -1
- package/dist/chunks/{capture-snapshot.4cd49daf.js → capture-snapshot.b2b55590.js} +2 -2
- package/dist/chunks/{capture-snapshot.4cd49daf.js.map → capture-snapshot.b2b55590.js.map} +1 -1
- package/dist/chunks/{eo-cascader.696bf910.js → eo-cascader.39e94641.js} +2 -2
- package/dist/chunks/{eo-cascader.696bf910.js.map → eo-cascader.39e94641.js.map} +1 -1
- package/dist/chunks/{eo-table.e3f2480f.js → eo-table.c41ce2e6.js} +2 -2
- package/dist/chunks/{eo-table.e3f2480f.js.map → eo-table.c41ce2e6.js.map} +1 -1
- package/dist/chunks/{eo-tree-select.363521ad.js → eo-tree-select.8d37074c.js} +2 -2
- package/dist/chunks/{eo-tree-select.363521ad.js.map → eo-tree-select.8d37074c.js.map} +1 -1
- package/dist/chunks/{eo-tree.bcf6e80f.js → eo-tree.9756b20d.js} +3 -3
- package/dist/chunks/{eo-tree.bcf6e80f.js.map → eo-tree.9756b20d.js.map} +1 -1
- package/dist/chunks/{eo-workbench-layout.b608d58a.js → eo-workbench-layout.f2ec831d.js} +2 -2
- package/dist/chunks/{eo-workbench-layout.b608d58a.js.map → eo-workbench-layout.f2ec831d.js.map} +1 -1
- package/dist/chunks/main.8b3d1cf4.js +2 -0
- package/dist/chunks/{main.62d02ee4.js.map → main.8b3d1cf4.js.map} +1 -1
- package/dist/examples.json +3 -3
- package/dist/index.bd790640.js +2 -0
- package/dist/{index.8480f27f.js.map → index.bd790640.js.map} +1 -1
- package/dist/manifest.json +198 -198
- package/package.json +2 -2
- package/dist/chunks/8954.99b7b09f.js +0 -2
- package/dist/chunks/8954.99b7b09f.js.map +0 -1
- package/dist/chunks/main.62d02ee4.js +0 -2
- package/dist/index.8480f27f.js +0 -2
- /package/dist/chunks/{eo-tree.bcf6e80f.js.LICENSE.txt → eo-tree.9756b20d.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -492,6 +492,204 @@
|
|
|
492
492
|
"parts": [],
|
|
493
493
|
"description": "工作台布局"
|
|
494
494
|
},
|
|
495
|
+
{
|
|
496
|
+
"name": "eo-next-table",
|
|
497
|
+
"properties": [
|
|
498
|
+
{
|
|
499
|
+
"name": "rowKey",
|
|
500
|
+
"description": "指定表格行的 key",
|
|
501
|
+
"default": "\"key\"",
|
|
502
|
+
"type": "string"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "columns",
|
|
506
|
+
"description": "列定义",
|
|
507
|
+
"attribute": false,
|
|
508
|
+
"type": "Column[]"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"name": "cell",
|
|
512
|
+
"description": "单元格",
|
|
513
|
+
"attribute": false,
|
|
514
|
+
"type": "CellConfig"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "dataSource",
|
|
518
|
+
"description": "数据源",
|
|
519
|
+
"attribute": false,
|
|
520
|
+
"type": "DataSource"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"name": "frontSearch",
|
|
524
|
+
"description": "是否前端搜索",
|
|
525
|
+
"type": "boolean"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"name": "pagination",
|
|
529
|
+
"description": "分页配置",
|
|
530
|
+
"attribute": false,
|
|
531
|
+
"type": "PaginationType"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"name": "multiSort",
|
|
535
|
+
"description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
|
|
536
|
+
"type": "boolean"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"name": "sort",
|
|
540
|
+
"description": "排序信息",
|
|
541
|
+
"attribute": false,
|
|
542
|
+
"type": "Sort | Sort[]"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"name": "rowSelection",
|
|
546
|
+
"description": "表格行可选择配置",
|
|
547
|
+
"attribute": false,
|
|
548
|
+
"type": "RowSelectionType"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"name": "selectedRowKeys",
|
|
552
|
+
"description": "选中项的 key",
|
|
553
|
+
"attribute": false,
|
|
554
|
+
"type": "(string | number)[]"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"name": "hiddenColumns",
|
|
558
|
+
"description": "隐藏的列(输入对应的 column.key)",
|
|
559
|
+
"attribute": false,
|
|
560
|
+
"type": "(string | number)[]"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"name": "expandable",
|
|
564
|
+
"description": "表格行展开配置",
|
|
565
|
+
"attribute": false,
|
|
566
|
+
"type": "ExpandableType"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "expandedRowKeys",
|
|
570
|
+
"description": "展开项的 key",
|
|
571
|
+
"attribute": false,
|
|
572
|
+
"type": "(string | number)[]"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"name": "childrenColumnName",
|
|
576
|
+
"description": "树形结构的列名",
|
|
577
|
+
"default": "\"children\"",
|
|
578
|
+
"type": "string"
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"name": "rowDraggable",
|
|
582
|
+
"description": "表格行拖拽配置",
|
|
583
|
+
"type": "boolean"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"name": "searchFields",
|
|
587
|
+
"description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
|
|
588
|
+
"attribute": false,
|
|
589
|
+
"type": "(string | string[])[]"
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"name": "size",
|
|
593
|
+
"description": "表格大小",
|
|
594
|
+
"default": "\"large\"",
|
|
595
|
+
"type": "TableProps<RecordType>[\"size\"]"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"name": "showHeader",
|
|
599
|
+
"description": "是否显示表头",
|
|
600
|
+
"default": "true",
|
|
601
|
+
"type": "boolean"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"name": "scrollConfig",
|
|
605
|
+
"description": "滚动配置",
|
|
606
|
+
"default": "{ x: true }",
|
|
607
|
+
"attribute": false,
|
|
608
|
+
"type": "TableProps<RecordType>[\"scroll\"]"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"name": "optimizedColumns",
|
|
612
|
+
"description": "优化渲染的列(输入对应的 column.key)",
|
|
613
|
+
"attribute": false,
|
|
614
|
+
"type": "(string | number)[]"
|
|
615
|
+
}
|
|
616
|
+
],
|
|
617
|
+
"events": [
|
|
618
|
+
{
|
|
619
|
+
"name": "page.change",
|
|
620
|
+
"description": "page 或 pageSize 改变的回调",
|
|
621
|
+
"detail": {
|
|
622
|
+
"description": "改变后的页码及每页条数",
|
|
623
|
+
"type": "{ page: number; pageSize: number }"
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"name": "page.size.change",
|
|
628
|
+
"description": "pageSize 变化的回调",
|
|
629
|
+
"detail": {
|
|
630
|
+
"description": "改变后的页码及每页条数",
|
|
631
|
+
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
632
|
+
}
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"name": "sort.change",
|
|
636
|
+
"description": "排序变化的回调",
|
|
637
|
+
"detail": {
|
|
638
|
+
"description": "当前排序的信息",
|
|
639
|
+
"type": "Sort | Sort[] | undefined"
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "row.select",
|
|
644
|
+
"description": "行选中项发生变化时的回调",
|
|
645
|
+
"detail": {
|
|
646
|
+
"description": "改变后的 rowKey 及行数据",
|
|
647
|
+
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"name": "row.expand",
|
|
652
|
+
"description": "点击展开图标时触发",
|
|
653
|
+
"detail": {
|
|
654
|
+
"description": "当前行的展开情况及数据",
|
|
655
|
+
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"name": "expanded.rows.change",
|
|
660
|
+
"description": "展开的行变化时触发",
|
|
661
|
+
"detail": {
|
|
662
|
+
"description": "所有展开行的 key",
|
|
663
|
+
"type": "(string | number)[]"
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"name": "row.drag",
|
|
668
|
+
"description": "表格行拖拽结束发生的事件",
|
|
669
|
+
"detail": {
|
|
670
|
+
"description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
|
|
671
|
+
"type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
],
|
|
675
|
+
"slots": [],
|
|
676
|
+
"methods": [
|
|
677
|
+
{
|
|
678
|
+
"name": "search",
|
|
679
|
+
"params": [
|
|
680
|
+
{
|
|
681
|
+
"name": "params",
|
|
682
|
+
"type": "{ q: string }"
|
|
683
|
+
}
|
|
684
|
+
],
|
|
685
|
+
"description": "前端搜索",
|
|
686
|
+
"returns": {}
|
|
687
|
+
}
|
|
688
|
+
],
|
|
689
|
+
"parts": [],
|
|
690
|
+
"description": "大型表格",
|
|
691
|
+
"category": "table"
|
|
692
|
+
},
|
|
495
693
|
{
|
|
496
694
|
"name": "eo-tree",
|
|
497
695
|
"properties": [
|
|
@@ -713,204 +911,6 @@
|
|
|
713
911
|
"parts": [],
|
|
714
912
|
"description": "树选择器",
|
|
715
913
|
"category": "form-input-basic"
|
|
716
|
-
},
|
|
717
|
-
{
|
|
718
|
-
"name": "eo-next-table",
|
|
719
|
-
"properties": [
|
|
720
|
-
{
|
|
721
|
-
"name": "rowKey",
|
|
722
|
-
"description": "指定表格行的 key",
|
|
723
|
-
"default": "\"key\"",
|
|
724
|
-
"type": "string"
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
"name": "columns",
|
|
728
|
-
"description": "列定义",
|
|
729
|
-
"attribute": false,
|
|
730
|
-
"type": "Column[]"
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
"name": "cell",
|
|
734
|
-
"description": "单元格",
|
|
735
|
-
"attribute": false,
|
|
736
|
-
"type": "CellConfig"
|
|
737
|
-
},
|
|
738
|
-
{
|
|
739
|
-
"name": "dataSource",
|
|
740
|
-
"description": "数据源",
|
|
741
|
-
"attribute": false,
|
|
742
|
-
"type": "DataSource"
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
"name": "frontSearch",
|
|
746
|
-
"description": "是否前端搜索",
|
|
747
|
-
"type": "boolean"
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
"name": "pagination",
|
|
751
|
-
"description": "分页配置",
|
|
752
|
-
"attribute": false,
|
|
753
|
-
"type": "PaginationType"
|
|
754
|
-
},
|
|
755
|
-
{
|
|
756
|
-
"name": "multiSort",
|
|
757
|
-
"description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
|
|
758
|
-
"type": "boolean"
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
"name": "sort",
|
|
762
|
-
"description": "排序信息",
|
|
763
|
-
"attribute": false,
|
|
764
|
-
"type": "Sort | Sort[]"
|
|
765
|
-
},
|
|
766
|
-
{
|
|
767
|
-
"name": "rowSelection",
|
|
768
|
-
"description": "表格行可选择配置",
|
|
769
|
-
"attribute": false,
|
|
770
|
-
"type": "RowSelectionType"
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
"name": "selectedRowKeys",
|
|
774
|
-
"description": "选中项的 key",
|
|
775
|
-
"attribute": false,
|
|
776
|
-
"type": "(string | number)[]"
|
|
777
|
-
},
|
|
778
|
-
{
|
|
779
|
-
"name": "hiddenColumns",
|
|
780
|
-
"description": "隐藏的列(输入对应的 column.key)",
|
|
781
|
-
"attribute": false,
|
|
782
|
-
"type": "(string | number)[]"
|
|
783
|
-
},
|
|
784
|
-
{
|
|
785
|
-
"name": "expandable",
|
|
786
|
-
"description": "表格行展开配置",
|
|
787
|
-
"attribute": false,
|
|
788
|
-
"type": "ExpandableType"
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
"name": "expandedRowKeys",
|
|
792
|
-
"description": "展开项的 key",
|
|
793
|
-
"attribute": false,
|
|
794
|
-
"type": "(string | number)[]"
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
"name": "childrenColumnName",
|
|
798
|
-
"description": "树形结构的列名",
|
|
799
|
-
"default": "\"children\"",
|
|
800
|
-
"type": "string"
|
|
801
|
-
},
|
|
802
|
-
{
|
|
803
|
-
"name": "rowDraggable",
|
|
804
|
-
"description": "表格行拖拽配置",
|
|
805
|
-
"type": "boolean"
|
|
806
|
-
},
|
|
807
|
-
{
|
|
808
|
-
"name": "searchFields",
|
|
809
|
-
"description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
|
|
810
|
-
"attribute": false,
|
|
811
|
-
"type": "(string | string[])[]"
|
|
812
|
-
},
|
|
813
|
-
{
|
|
814
|
-
"name": "size",
|
|
815
|
-
"description": "表格大小",
|
|
816
|
-
"default": "\"large\"",
|
|
817
|
-
"type": "TableProps<RecordType>[\"size\"]"
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"name": "showHeader",
|
|
821
|
-
"description": "是否显示表头",
|
|
822
|
-
"default": "true",
|
|
823
|
-
"type": "boolean"
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
"name": "scrollConfig",
|
|
827
|
-
"description": "滚动配置",
|
|
828
|
-
"default": "{ x: true }",
|
|
829
|
-
"attribute": false,
|
|
830
|
-
"type": "TableProps<RecordType>[\"scroll\"]"
|
|
831
|
-
},
|
|
832
|
-
{
|
|
833
|
-
"name": "optimizedColumns",
|
|
834
|
-
"description": "优化渲染的列(输入对应的 column.key)",
|
|
835
|
-
"attribute": false,
|
|
836
|
-
"type": "(string | number)[]"
|
|
837
|
-
}
|
|
838
|
-
],
|
|
839
|
-
"events": [
|
|
840
|
-
{
|
|
841
|
-
"name": "page.change",
|
|
842
|
-
"description": "page 或 pageSize 改变的回调",
|
|
843
|
-
"detail": {
|
|
844
|
-
"description": "改变后的页码及每页条数",
|
|
845
|
-
"type": "{ page: number; pageSize: number }"
|
|
846
|
-
}
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"name": "page.size.change",
|
|
850
|
-
"description": "pageSize 变化的回调",
|
|
851
|
-
"detail": {
|
|
852
|
-
"description": "改变后的页码及每页条数",
|
|
853
|
-
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
854
|
-
}
|
|
855
|
-
},
|
|
856
|
-
{
|
|
857
|
-
"name": "sort.change",
|
|
858
|
-
"description": "排序变化的回调",
|
|
859
|
-
"detail": {
|
|
860
|
-
"description": "当前排序的信息",
|
|
861
|
-
"type": "Sort | Sort[] | undefined"
|
|
862
|
-
}
|
|
863
|
-
},
|
|
864
|
-
{
|
|
865
|
-
"name": "row.select",
|
|
866
|
-
"description": "行选中项发生变化时的回调",
|
|
867
|
-
"detail": {
|
|
868
|
-
"description": "改变后的 rowKey 及行数据",
|
|
869
|
-
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
870
|
-
}
|
|
871
|
-
},
|
|
872
|
-
{
|
|
873
|
-
"name": "row.expand",
|
|
874
|
-
"description": "点击展开图标时触发",
|
|
875
|
-
"detail": {
|
|
876
|
-
"description": "当前行的展开情况及数据",
|
|
877
|
-
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
878
|
-
}
|
|
879
|
-
},
|
|
880
|
-
{
|
|
881
|
-
"name": "expanded.rows.change",
|
|
882
|
-
"description": "展开的行变化时触发",
|
|
883
|
-
"detail": {
|
|
884
|
-
"description": "所有展开行的 key",
|
|
885
|
-
"type": "(string | number)[]"
|
|
886
|
-
}
|
|
887
|
-
},
|
|
888
|
-
{
|
|
889
|
-
"name": "row.drag",
|
|
890
|
-
"description": "表格行拖拽结束发生的事件",
|
|
891
|
-
"detail": {
|
|
892
|
-
"description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
|
|
893
|
-
"type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
|
|
894
|
-
}
|
|
895
|
-
}
|
|
896
|
-
],
|
|
897
|
-
"slots": [],
|
|
898
|
-
"methods": [
|
|
899
|
-
{
|
|
900
|
-
"name": "search",
|
|
901
|
-
"params": [
|
|
902
|
-
{
|
|
903
|
-
"name": "params",
|
|
904
|
-
"type": "{ q: string }"
|
|
905
|
-
}
|
|
906
|
-
],
|
|
907
|
-
"description": "前端搜索",
|
|
908
|
-
"returns": {}
|
|
909
|
-
}
|
|
910
|
-
],
|
|
911
|
-
"parts": [],
|
|
912
|
-
"description": "大型表格",
|
|
913
|
-
"category": "table"
|
|
914
914
|
}
|
|
915
915
|
],
|
|
916
916
|
"providers": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/advanced",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.7",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/basic",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"@next-bricks/icons": "*",
|
|
44
44
|
"@next-bricks/markdown": "*"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "6e28ef7f17684ea4abb12b09df98009b66cfd085"
|
|
47
47
|
}
|