@next-bricks/advanced 0.41.18 → 0.42.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.
@@ -344,285 +344,6 @@
344
344
  "category": "table",
345
345
  "insider": true
346
346
  },
347
- {
348
- "name": "eo-next-table",
349
- "properties": [
350
- {
351
- "name": "rowKey",
352
- "description": "指定表格行的 key",
353
- "default": "\"key\"",
354
- "type": "string"
355
- },
356
- {
357
- "name": "columns",
358
- "description": "列定义",
359
- "attribute": false,
360
- "type": "Column[]"
361
- },
362
- {
363
- "name": "cell",
364
- "description": "单元格",
365
- "attribute": false,
366
- "type": "CellConfig"
367
- },
368
- {
369
- "name": "dataSource",
370
- "description": "数据源",
371
- "attribute": false,
372
- "type": "DataSource"
373
- },
374
- {
375
- "name": "frontSearch",
376
- "description": "是否前端搜索",
377
- "type": "boolean"
378
- },
379
- {
380
- "name": "pagination",
381
- "description": "分页配置",
382
- "attribute": false,
383
- "type": "PaginationType"
384
- },
385
- {
386
- "name": "loading",
387
- "description": "显示加载中状态",
388
- "type": "boolean"
389
- },
390
- {
391
- "name": "multiSort",
392
- "description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
393
- "type": "boolean"
394
- },
395
- {
396
- "name": "sort",
397
- "description": "排序信息",
398
- "attribute": false,
399
- "type": "Sort | Sort[]"
400
- },
401
- {
402
- "name": "rowSelection",
403
- "description": "表格行可选择配置",
404
- "attribute": false,
405
- "type": "RowSelectionType"
406
- },
407
- {
408
- "name": "selectedRowKeys",
409
- "description": "选中项的 key",
410
- "attribute": false,
411
- "type": "(string | number)[]"
412
- },
413
- {
414
- "name": "hiddenColumns",
415
- "description": "隐藏的列(输入对应的 column.key)",
416
- "attribute": false,
417
- "type": "(string | number)[]"
418
- },
419
- {
420
- "name": "expandable",
421
- "description": "表格行展开配置",
422
- "attribute": false,
423
- "type": "ExpandableType"
424
- },
425
- {
426
- "name": "expandedRowKeys",
427
- "description": "展开项的 key",
428
- "attribute": false,
429
- "type": "(string | number)[]"
430
- },
431
- {
432
- "name": "childrenColumnName",
433
- "description": "树形结构的列名",
434
- "default": "\"children\"",
435
- "type": "string"
436
- },
437
- {
438
- "name": "rowDraggable",
439
- "description": "表格行拖拽配置",
440
- "type": "boolean"
441
- },
442
- {
443
- "name": "searchFields",
444
- "description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
445
- "attribute": false,
446
- "type": "(string | string[])[]"
447
- },
448
- {
449
- "name": "size",
450
- "description": "表格大小",
451
- "default": "\"large\"",
452
- "type": "TableProps<RecordType>[\"size\"]"
453
- },
454
- {
455
- "name": "showHeader",
456
- "description": "是否显示表头",
457
- "default": "true",
458
- "type": "boolean"
459
- },
460
- {
461
- "name": "bordered",
462
- "description": "是否显示边框",
463
- "type": "boolean"
464
- },
465
- {
466
- "name": "scrollConfig",
467
- "description": "滚动配置",
468
- "default": "{ x: true }",
469
- "attribute": false,
470
- "type": "TableProps<RecordType>[\"scroll\"]"
471
- },
472
- {
473
- "name": "optimizedColumns",
474
- "description": "优化渲染的列(输入对应的 column.key)",
475
- "attribute": false,
476
- "type": "(string | number)[]"
477
- }
478
- ],
479
- "events": [
480
- {
481
- "name": "page.change",
482
- "description": "page 或 pageSize 改变的回调",
483
- "detail": {
484
- "description": "改变后的页码及每页条数",
485
- "type": "{ page: number; pageSize: number }"
486
- }
487
- },
488
- {
489
- "name": "page.size.change",
490
- "description": "pageSize 变化的回调",
491
- "deprecated": "统一用 `page.change` 事件",
492
- "detail": {
493
- "description": "改变后的页码及每页条数",
494
- "type": "{\n page: number;\n pageSize: number;\n }"
495
- }
496
- },
497
- {
498
- "name": "sort.change",
499
- "description": "排序变化的回调",
500
- "detail": {
501
- "description": "当前排序的信息",
502
- "type": "Sort | Sort[] | undefined"
503
- }
504
- },
505
- {
506
- "name": "row.select",
507
- "description": "行选中项发生变化时的回调",
508
- "detail": {
509
- "description": "改变后的 rowKey 及行数据",
510
- "type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
511
- }
512
- },
513
- {
514
- "name": "row.expand",
515
- "description": "点击展开图标时触发",
516
- "detail": {
517
- "description": "当前行的展开情况及数据",
518
- "type": "{\n expanded: boolean;\n record: RecordType;\n }"
519
- }
520
- },
521
- {
522
- "name": "expanded.rows.change",
523
- "description": "展开的行变化时触发",
524
- "detail": {
525
- "description": "所有展开行的 key",
526
- "type": "(string | number)[]"
527
- }
528
- },
529
- {
530
- "name": "row.drag",
531
- "description": "表格行拖拽结束发生的事件",
532
- "detail": {
533
- "description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
534
- "type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
535
- }
536
- }
537
- ],
538
- "slots": [],
539
- "methods": [
540
- {
541
- "name": "search",
542
- "params": [
543
- {
544
- "name": "params",
545
- "type": "{ q: string }"
546
- }
547
- ],
548
- "description": "前端搜索",
549
- "returns": {}
550
- }
551
- ],
552
- "parts": [],
553
- "description": "大型表格",
554
- "category": "table"
555
- },
556
- {
557
- "name": "eo-workbench-layout-v2",
558
- "properties": [
559
- {
560
- "name": "cardTitle",
561
- "type": "string"
562
- },
563
- {
564
- "name": "isEdit",
565
- "type": "boolean"
566
- },
567
- {
568
- "name": "layouts",
569
- "attribute": false,
570
- "type": "Layout[]"
571
- },
572
- {
573
- "name": "toolbarBricks",
574
- "attribute": false,
575
- "type": "{\n useBrick: UseSingleBrickConf[];\n }"
576
- },
577
- {
578
- "name": "componentList",
579
- "attribute": false,
580
- "type": "Item[]"
581
- }
582
- ],
583
- "events": [
584
- {
585
- "name": "change",
586
- "detail": {
587
- "type": "Layout[]"
588
- }
589
- },
590
- {
591
- "name": "save",
592
- "detail": {
593
- "type": "Layout[]"
594
- }
595
- },
596
- {
597
- "name": "cancel",
598
- "detail": {
599
- "type": "void"
600
- }
601
- },
602
- {
603
- "name": "action.click",
604
- "description": "操作点击事件",
605
- "detail": {
606
- "description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
607
- "type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
608
- }
609
- }
610
- ],
611
- "slots": [],
612
- "methods": [
613
- {
614
- "name": "setLayouts",
615
- "params": [
616
- {
617
- "name": "layouts",
618
- "type": "Layout[]"
619
- }
620
- ]
621
- }
622
- ],
623
- "parts": [],
624
- "description": "工作台布局V2,未使用shadow dom"
625
- },
626
347
  {
627
348
  "name": "eo-cascader",
628
349
  "alias": [
@@ -706,29 +427,99 @@
706
427
  {
707
428
  "name": "maxTagCount",
708
429
  "attribute": false,
709
- "type": "number | \"responsive\""
430
+ "type": "number | \"responsive\""
431
+ },
432
+ {
433
+ "name": "cascaderStyle",
434
+ "attribute": false,
435
+ "type": "CSSProperties"
436
+ }
437
+ ],
438
+ "events": [
439
+ {
440
+ "name": "cascader.change",
441
+ "description": "",
442
+ "detail": {
443
+ "description": "{ value: AntdCascaderProps[\"value\"], selectedOptions: DefaultOptionType[] | DefaultOptionType[][] }",
444
+ "type": "{\n value: AntdCascaderProps[\"value\"];\n selectedOptions: DefaultOptionType[] | DefaultOptionType[][];\n }"
445
+ }
446
+ }
447
+ ],
448
+ "slots": [],
449
+ "methods": [],
450
+ "parts": [],
451
+ "description": "级联选择器",
452
+ "category": "form-input-basic"
453
+ },
454
+ {
455
+ "name": "eo-workbench-layout-v2",
456
+ "properties": [
457
+ {
458
+ "name": "cardTitle",
459
+ "type": "string"
460
+ },
461
+ {
462
+ "name": "isEdit",
463
+ "type": "boolean"
464
+ },
465
+ {
466
+ "name": "layouts",
467
+ "attribute": false,
468
+ "type": "Layout[]"
469
+ },
470
+ {
471
+ "name": "toolbarBricks",
472
+ "attribute": false,
473
+ "type": "{\n useBrick: UseSingleBrickConf[];\n }"
710
474
  },
711
475
  {
712
- "name": "cascaderStyle",
476
+ "name": "componentList",
713
477
  "attribute": false,
714
- "type": "CSSProperties"
478
+ "type": "Item[]"
715
479
  }
716
480
  ],
717
481
  "events": [
718
482
  {
719
- "name": "cascader.change",
720
- "description": "",
483
+ "name": "change",
721
484
  "detail": {
722
- "description": "{ value: AntdCascaderProps[\"value\"], selectedOptions: DefaultOptionType[] | DefaultOptionType[][] }",
723
- "type": "{\n value: AntdCascaderProps[\"value\"];\n selectedOptions: DefaultOptionType[] | DefaultOptionType[][];\n }"
485
+ "type": "Layout[]"
486
+ }
487
+ },
488
+ {
489
+ "name": "save",
490
+ "detail": {
491
+ "type": "Layout[]"
492
+ }
493
+ },
494
+ {
495
+ "name": "cancel",
496
+ "detail": {
497
+ "type": "void"
498
+ }
499
+ },
500
+ {
501
+ "name": "action.click",
502
+ "description": "操作点击事件",
503
+ "detail": {
504
+ "description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
505
+ "type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
724
506
  }
725
507
  }
726
508
  ],
727
509
  "slots": [],
728
- "methods": [],
510
+ "methods": [
511
+ {
512
+ "name": "setLayouts",
513
+ "params": [
514
+ {
515
+ "name": "layouts",
516
+ "type": "Layout[]"
517
+ }
518
+ ]
519
+ }
520
+ ],
729
521
  "parts": [],
730
- "description": "级联选择器",
731
- "category": "form-input-basic"
522
+ "description": "工作台布局V2,未使用shadow dom"
732
523
  },
733
524
  {
734
525
  "name": "eo-workbench-layout",
@@ -1066,6 +857,215 @@
1066
857
  "methods": [],
1067
858
  "parts": [],
1068
859
  "description": "构件 `advanced.pdf-viewer`"
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)[]"
932
+ },
933
+ {
934
+ "name": "expandable",
935
+ "description": "表格行展开配置",
936
+ "attribute": false,
937
+ "type": "ExpandableType"
938
+ },
939
+ {
940
+ "name": "expandedRowKeys",
941
+ "description": "展开项的 key",
942
+ "attribute": false,
943
+ "type": "(string | number)[]"
944
+ },
945
+ {
946
+ "name": "childrenColumnName",
947
+ "description": "树形结构的列名",
948
+ "default": "\"children\"",
949
+ "type": "string"
950
+ },
951
+ {
952
+ "name": "rowDraggable",
953
+ "description": "表格行拖拽配置",
954
+ "type": "boolean"
955
+ },
956
+ {
957
+ "name": "searchFields",
958
+ "description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
959
+ "attribute": false,
960
+ "type": "(string | string[])[]"
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"
973
+ },
974
+ {
975
+ "name": "bordered",
976
+ "description": "是否显示边框",
977
+ "type": "boolean"
978
+ },
979
+ {
980
+ "name": "scrollConfig",
981
+ "description": "滚动配置",
982
+ "default": "{ x: true }",
983
+ "attribute": false,
984
+ "type": "TableProps<RecordType>[\"scroll\"]"
985
+ },
986
+ {
987
+ "name": "optimizedColumns",
988
+ "description": "优化渲染的列(输入对应的 column.key)",
989
+ "attribute": false,
990
+ "type": "(string | number)[]"
991
+ }
992
+ ],
993
+ "events": [
994
+ {
995
+ "name": "page.change",
996
+ "description": "page 或 pageSize 改变的回调",
997
+ "detail": {
998
+ "description": "改变后的页码及每页条数",
999
+ "type": "{ page: number; pageSize: number }"
1000
+ }
1001
+ },
1002
+ {
1003
+ "name": "page.size.change",
1004
+ "description": "pageSize 变化的回调",
1005
+ "deprecated": "统一用 `page.change` 事件",
1006
+ "detail": {
1007
+ "description": "改变后的页码及每页条数",
1008
+ "type": "{\n page: number;\n pageSize: number;\n }"
1009
+ }
1010
+ },
1011
+ {
1012
+ "name": "sort.change",
1013
+ "description": "排序变化的回调",
1014
+ "detail": {
1015
+ "description": "当前排序的信息",
1016
+ "type": "Sort | Sort[] | undefined"
1017
+ }
1018
+ },
1019
+ {
1020
+ "name": "row.select",
1021
+ "description": "行选中项发生变化时的回调",
1022
+ "detail": {
1023
+ "description": "改变后的 rowKey 及行数据",
1024
+ "type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
1025
+ }
1026
+ },
1027
+ {
1028
+ "name": "row.expand",
1029
+ "description": "点击展开图标时触发",
1030
+ "detail": {
1031
+ "description": "当前行的展开情况及数据",
1032
+ "type": "{\n expanded: boolean;\n record: RecordType;\n }"
1033
+ }
1034
+ },
1035
+ {
1036
+ "name": "expanded.rows.change",
1037
+ "description": "展开的行变化时触发",
1038
+ "detail": {
1039
+ "description": "所有展开行的 key",
1040
+ "type": "(string | number)[]"
1041
+ }
1042
+ },
1043
+ {
1044
+ "name": "row.drag",
1045
+ "description": "表格行拖拽结束发生的事件",
1046
+ "detail": {
1047
+ "description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
1048
+ "type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
1049
+ }
1050
+ }
1051
+ ],
1052
+ "slots": [],
1053
+ "methods": [
1054
+ {
1055
+ "name": "search",
1056
+ "params": [
1057
+ {
1058
+ "name": "params",
1059
+ "type": "{ q: string }"
1060
+ }
1061
+ ],
1062
+ "description": "前端搜索",
1063
+ "returns": {}
1064
+ }
1065
+ ],
1066
+ "parts": [],
1067
+ "description": "大型表格",
1068
+ "category": "table"
1069
1069
  }
1070
1070
  ],
1071
1071
  "providers": [