@next-bricks/advanced 0.44.13 → 0.44.14

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,6 +344,287 @@
344
344
  "category": "table",
345
345
  "insider": true
346
346
  },
347
+ {
348
+ "name": "eo-workbench-layout",
349
+ "properties": [
350
+ {
351
+ "name": "cardTitle",
352
+ "type": "string"
353
+ },
354
+ {
355
+ "name": "isEdit",
356
+ "type": "boolean"
357
+ },
358
+ {
359
+ "name": "layouts",
360
+ "attribute": false,
361
+ "type": "Layout[]"
362
+ },
363
+ {
364
+ "name": "componentList",
365
+ "attribute": false,
366
+ "type": "Item[]"
367
+ }
368
+ ],
369
+ "events": [
370
+ {
371
+ "name": "change",
372
+ "detail": {
373
+ "type": "Layout[]"
374
+ }
375
+ },
376
+ {
377
+ "name": "save",
378
+ "detail": {
379
+ "type": "Layout[]"
380
+ }
381
+ },
382
+ {
383
+ "name": "cancel",
384
+ "detail": {
385
+ "type": "void"
386
+ }
387
+ },
388
+ {
389
+ "name": "action.click",
390
+ "description": "操作点击事件",
391
+ "detail": {
392
+ "description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
393
+ "type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
394
+ }
395
+ }
396
+ ],
397
+ "slots": [],
398
+ "methods": [
399
+ {
400
+ "name": "setLayouts",
401
+ "params": [
402
+ {
403
+ "name": "layouts",
404
+ "type": "Layout[]"
405
+ }
406
+ ]
407
+ }
408
+ ],
409
+ "parts": [],
410
+ "description": "工作台布局",
411
+ "deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
412
+ },
413
+ {
414
+ "name": "eo-workbench-layout-v2",
415
+ "properties": [
416
+ {
417
+ "name": "cardTitle",
418
+ "type": "string"
419
+ },
420
+ {
421
+ "name": "isEdit",
422
+ "type": "boolean"
423
+ },
424
+ {
425
+ "name": "layouts",
426
+ "attribute": false,
427
+ "type": "ExtraLayout[]"
428
+ },
429
+ {
430
+ "name": "toolbarBricks",
431
+ "attribute": false,
432
+ "type": "{ useBrick: UseSingleBrickConf[] }"
433
+ },
434
+ {
435
+ "name": "componentList",
436
+ "attribute": false,
437
+ "type": "WorkbenchComponent[]"
438
+ },
439
+ {
440
+ "name": "showSettingButton",
441
+ "description": "description: 用于设置页面样式和布局的按钮",
442
+ "type": "boolean"
443
+ }
444
+ ],
445
+ "events": [
446
+ {
447
+ "name": "change",
448
+ "detail": {
449
+ "type": "ExtraLayout[]"
450
+ }
451
+ },
452
+ {
453
+ "name": "save",
454
+ "detail": {
455
+ "type": "ExtraLayout[]"
456
+ }
457
+ },
458
+ {
459
+ "name": "cancel",
460
+ "detail": {
461
+ "type": "void"
462
+ }
463
+ },
464
+ {
465
+ "name": "setting",
466
+ "detail": {
467
+ "type": "void"
468
+ }
469
+ },
470
+ {
471
+ "name": "action.click",
472
+ "description": "操作点击事件",
473
+ "detail": {
474
+ "description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
475
+ "type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
476
+ }
477
+ }
478
+ ],
479
+ "slots": [],
480
+ "methods": [
481
+ {
482
+ "name": "setLayouts",
483
+ "params": [
484
+ {
485
+ "name": "layouts",
486
+ "type": "Layout[]"
487
+ }
488
+ ]
489
+ }
490
+ ],
491
+ "parts": [],
492
+ "description": "工作台布局V2,未使用shadow dom"
493
+ },
494
+ {
495
+ "name": "eo-tree-select",
496
+ "properties": [
497
+ {
498
+ "name": "name",
499
+ "type": "string"
500
+ },
501
+ {
502
+ "name": "label",
503
+ "type": "string"
504
+ },
505
+ {
506
+ "name": "required",
507
+ "type": "boolean"
508
+ },
509
+ {
510
+ "name": "treeData",
511
+ "attribute": false,
512
+ "type": "AntdTreeSelectProps[\"treeData\"]"
513
+ },
514
+ {
515
+ "name": "treeDefaultExpandAll",
516
+ "type": "boolean"
517
+ },
518
+ {
519
+ "name": "treeExpandedKeys",
520
+ "attribute": false,
521
+ "type": "string[]"
522
+ },
523
+ {
524
+ "name": "fieldNames",
525
+ "attribute": false,
526
+ "type": "AntdTreeSelectProps[\"fieldNames\"]"
527
+ },
528
+ {
529
+ "name": "value",
530
+ "attribute": false,
531
+ "type": "AntdTreeSelectProps[\"value\"]"
532
+ },
533
+ {
534
+ "name": "placeholder",
535
+ "type": "string"
536
+ },
537
+ {
538
+ "name": "multiple",
539
+ "type": "boolean"
540
+ },
541
+ {
542
+ "name": "disabled",
543
+ "type": "boolean"
544
+ },
545
+ {
546
+ "name": "checkable",
547
+ "type": "boolean"
548
+ },
549
+ {
550
+ "name": "allowClear",
551
+ "type": "boolean",
552
+ "default": "true"
553
+ },
554
+ {
555
+ "name": "loading",
556
+ "type": "boolean",
557
+ "default": "false"
558
+ },
559
+ {
560
+ "name": "filterTreeNode",
561
+ "attribute": false,
562
+ "type": "AntdTreeSelectProps[\"filterTreeNode\"]"
563
+ },
564
+ {
565
+ "name": "showSearch",
566
+ "type": "boolean",
567
+ "default": "true"
568
+ },
569
+ {
570
+ "name": "suffixIcon",
571
+ "attribute": false,
572
+ "type": "GeneralIconProps"
573
+ },
574
+ {
575
+ "name": "popupPlacement",
576
+ "type": "AntdTreeSelectProps[\"placement\"]",
577
+ "default": "\"bottomLeft\""
578
+ },
579
+ {
580
+ "name": "size",
581
+ "type": "AntdTreeSelectProps[\"size\"]"
582
+ },
583
+ {
584
+ "name": "maxTagCount",
585
+ "attribute": false,
586
+ "type": "number | \"responsive\""
587
+ },
588
+ {
589
+ "name": "dropdownStyle",
590
+ "attribute": false,
591
+ "type": "CSSProperties"
592
+ }
593
+ ],
594
+ "events": [
595
+ {
596
+ "name": "change",
597
+ "description": "",
598
+ "detail": {
599
+ "description": "{ value: AntdTreeSelectProps[\"value\"], selectedOptions: DefaultOptionType[] | DefaultOptionType[][] }",
600
+ "type": "{\n value: AntdTreeSelectProps[\"value\"];\n }"
601
+ }
602
+ },
603
+ {
604
+ "name": "search",
605
+ "detail": {
606
+ "type": "string"
607
+ }
608
+ },
609
+ {
610
+ "name": "select",
611
+ "detail": {
612
+ "type": "{ value: AntdTreeSelectProps[\"value\"] }"
613
+ }
614
+ },
615
+ {
616
+ "name": "expand",
617
+ "detail": {
618
+ "type": "{ keys: React.Key[] }"
619
+ }
620
+ }
621
+ ],
622
+ "slots": [],
623
+ "methods": [],
624
+ "parts": [],
625
+ "description": "树选择器",
626
+ "category": "form-input-basic"
627
+ },
347
628
  {
348
629
  "name": "eo-cascader",
349
630
  "alias": [
@@ -451,6 +732,55 @@
451
732
  "description": "级联选择器",
452
733
  "category": "form-input-basic"
453
734
  },
735
+ {
736
+ "name": "eo-text-tooltip",
737
+ "properties": [
738
+ {
739
+ "name": "label",
740
+ "description": "文案",
741
+ "default": null,
742
+ "type": "string"
743
+ },
744
+ {
745
+ "name": "lineClamp",
746
+ "description": "省略行数",
747
+ "default": "1",
748
+ "type": "number"
749
+ }
750
+ ],
751
+ "events": [],
752
+ "slots": [],
753
+ "methods": [],
754
+ "parts": [],
755
+ "description": "超出宽度鼠标悬浮显示tooltip\n构件 `eo-text-tooltip`"
756
+ },
757
+ {
758
+ "name": "advanced.pdf-viewer",
759
+ "properties": [
760
+ {
761
+ "name": "url",
762
+ "type": "string"
763
+ },
764
+ {
765
+ "name": "page",
766
+ "type": "number"
767
+ },
768
+ {
769
+ "name": "search",
770
+ "type": "string"
771
+ },
772
+ {
773
+ "name": "viewerStyle",
774
+ "attribute": false,
775
+ "type": "React.CSSProperties"
776
+ }
777
+ ],
778
+ "events": [],
779
+ "slots": [],
780
+ "methods": [],
781
+ "parts": [],
782
+ "description": "构件 `advanced.pdf-viewer`"
783
+ },
454
784
  {
455
785
  "name": "eo-next-table",
456
786
  "properties": [
@@ -571,241 +901,94 @@
571
901
  },
572
902
  {
573
903
  "name": "scrollConfig",
574
- "description": "滚动配置",
575
- "default": "{ x: true }",
576
- "attribute": false,
577
- "type": "TableProps<RecordType>[\"scroll\"]"
578
- },
579
- {
580
- "name": "optimizedColumns",
581
- "description": "优化渲染的列(输入对应的 column.key)",
582
- "attribute": false,
583
- "type": "(string | number)[]"
584
- }
585
- ],
586
- "events": [
587
- {
588
- "name": "page.change",
589
- "description": "page 或 pageSize 改变的回调",
590
- "detail": {
591
- "description": "改变后的页码及每页条数",
592
- "type": "{ page: number; pageSize: number }"
593
- }
594
- },
595
- {
596
- "name": "page.size.change",
597
- "description": "pageSize 变化的回调",
598
- "deprecated": "统一用 `page.change` 事件",
599
- "detail": {
600
- "description": "改变后的页码及每页条数",
601
- "type": "{\n page: number;\n pageSize: number;\n }"
602
- }
603
- },
604
- {
605
- "name": "sort.change",
606
- "description": "排序变化的回调",
607
- "detail": {
608
- "description": "当前排序的信息",
609
- "type": "Sort | Sort[] | undefined"
610
- }
611
- },
612
- {
613
- "name": "row.select",
614
- "description": "行选中项发生变化时的回调",
615
- "detail": {
616
- "description": "改变后的 rowKey 及行数据",
617
- "type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
618
- }
619
- },
620
- {
621
- "name": "row.expand",
622
- "description": "点击展开图标时触发",
623
- "detail": {
624
- "description": "当前行的展开情况及数据",
625
- "type": "{\n expanded: boolean;\n record: RecordType;\n }"
626
- }
627
- },
628
- {
629
- "name": "expanded.rows.change",
630
- "description": "展开的行变化时触发",
631
- "detail": {
632
- "description": "所有展开行的 key",
633
- "type": "(string | number)[]"
634
- }
635
- },
636
- {
637
- "name": "row.drag",
638
- "description": "表格行拖拽结束发生的事件",
639
- "detail": {
640
- "description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
641
- "type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
642
- }
643
- }
644
- ],
645
- "slots": [],
646
- "methods": [
647
- {
648
- "name": "search",
649
- "params": [
650
- {
651
- "name": "params",
652
- "type": "{ q: string }"
653
- }
654
- ],
655
- "description": "前端搜索",
656
- "returns": {}
657
- }
658
- ],
659
- "parts": [],
660
- "description": "大型表格",
661
- "category": "table"
662
- },
663
- {
664
- "name": "eo-workbench-layout",
665
- "properties": [
666
- {
667
- "name": "cardTitle",
668
- "type": "string"
669
- },
670
- {
671
- "name": "isEdit",
672
- "type": "boolean"
673
- },
674
- {
675
- "name": "layouts",
676
- "attribute": false,
677
- "type": "Layout[]"
678
- },
679
- {
680
- "name": "componentList",
681
- "attribute": false,
682
- "type": "Item[]"
683
- }
684
- ],
685
- "events": [
686
- {
687
- "name": "change",
688
- "detail": {
689
- "type": "Layout[]"
690
- }
691
- },
692
- {
693
- "name": "save",
694
- "detail": {
695
- "type": "Layout[]"
696
- }
697
- },
698
- {
699
- "name": "cancel",
700
- "detail": {
701
- "type": "void"
702
- }
703
- },
704
- {
705
- "name": "action.click",
706
- "description": "操作点击事件",
707
- "detail": {
708
- "description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
709
- "type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
710
- }
711
- }
712
- ],
713
- "slots": [],
714
- "methods": [
715
- {
716
- "name": "setLayouts",
717
- "params": [
718
- {
719
- "name": "layouts",
720
- "type": "Layout[]"
721
- }
722
- ]
723
- }
724
- ],
725
- "parts": [],
726
- "description": "工作台布局",
727
- "deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
728
- },
729
- {
730
- "name": "eo-workbench-layout-v2",
731
- "properties": [
732
- {
733
- "name": "cardTitle",
734
- "type": "string"
735
- },
736
- {
737
- "name": "isEdit",
738
- "type": "boolean"
739
- },
740
- {
741
- "name": "layouts",
742
- "attribute": false,
743
- "type": "ExtraLayout[]"
744
- },
745
- {
746
- "name": "toolbarBricks",
747
- "attribute": false,
748
- "type": "{ useBrick: UseSingleBrickConf[] }"
749
- },
750
- {
751
- "name": "componentList",
904
+ "description": "滚动配置",
905
+ "default": "{ x: true }",
752
906
  "attribute": false,
753
- "type": "WorkbenchComponent[]"
907
+ "type": "TableProps<RecordType>[\"scroll\"]"
754
908
  },
755
909
  {
756
- "name": "showSettingButton",
757
- "description": "description: 用于设置页面样式和布局的按钮",
758
- "type": "boolean"
910
+ "name": "optimizedColumns",
911
+ "description": "优化渲染的列(输入对应的 column.key)",
912
+ "attribute": false,
913
+ "type": "(string | number)[]"
759
914
  }
760
915
  ],
761
916
  "events": [
762
917
  {
763
- "name": "change",
918
+ "name": "page.change",
919
+ "description": "page 或 pageSize 改变的回调",
764
920
  "detail": {
765
- "type": "ExtraLayout[]"
921
+ "description": "改变后的页码及每页条数",
922
+ "type": "{ page: number; pageSize: number }"
766
923
  }
767
924
  },
768
925
  {
769
- "name": "save",
926
+ "name": "page.size.change",
927
+ "description": "pageSize 变化的回调",
928
+ "deprecated": "统一用 `page.change` 事件",
770
929
  "detail": {
771
- "type": "ExtraLayout[]"
930
+ "description": "改变后的页码及每页条数",
931
+ "type": "{\n page: number;\n pageSize: number;\n }"
772
932
  }
773
933
  },
774
934
  {
775
- "name": "cancel",
935
+ "name": "sort.change",
936
+ "description": "排序变化的回调",
776
937
  "detail": {
777
- "type": "void"
938
+ "description": "当前排序的信息",
939
+ "type": "Sort | Sort[] | undefined"
778
940
  }
779
941
  },
780
942
  {
781
- "name": "setting",
943
+ "name": "row.select",
944
+ "description": "行选中项发生变化时的回调",
782
945
  "detail": {
783
- "type": "void"
946
+ "description": "改变后的 rowKey 及行数据",
947
+ "type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
784
948
  }
785
949
  },
786
950
  {
787
- "name": "action.click",
788
- "description": "操作点击事件",
951
+ "name": "row.expand",
952
+ "description": "点击展开图标时触发",
789
953
  "detail": {
790
- "description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
791
- "type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
954
+ "description": "当前行的展开情况及数据",
955
+ "type": "{\n expanded: boolean;\n record: RecordType;\n }"
956
+ }
957
+ },
958
+ {
959
+ "name": "expanded.rows.change",
960
+ "description": "展开的行变化时触发",
961
+ "detail": {
962
+ "description": "所有展开行的 key",
963
+ "type": "(string | number)[]"
964
+ }
965
+ },
966
+ {
967
+ "name": "row.drag",
968
+ "description": "表格行拖拽结束发生的事件",
969
+ "detail": {
970
+ "description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
971
+ "type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
792
972
  }
793
973
  }
794
974
  ],
795
975
  "slots": [],
796
976
  "methods": [
797
977
  {
798
- "name": "setLayouts",
978
+ "name": "search",
799
979
  "params": [
800
980
  {
801
- "name": "layouts",
802
- "type": "Layout[]"
981
+ "name": "params",
982
+ "type": "{ q: string }"
803
983
  }
804
- ]
984
+ ],
985
+ "description": "前端搜索",
986
+ "returns": {}
805
987
  }
806
988
  ],
807
989
  "parts": [],
808
- "description": "工作台布局V2,未使用shadow dom"
990
+ "description": "大型表格",
991
+ "category": "table"
809
992
  },
810
993
  {
811
994
  "name": "eo-tree",
@@ -894,189 +1077,6 @@
894
1077
  "methods": [],
895
1078
  "parts": [],
896
1079
  "description": "树形构件"
897
- },
898
- {
899
- "name": "eo-tree-select",
900
- "properties": [
901
- {
902
- "name": "name",
903
- "type": "string"
904
- },
905
- {
906
- "name": "label",
907
- "type": "string"
908
- },
909
- {
910
- "name": "required",
911
- "type": "boolean"
912
- },
913
- {
914
- "name": "treeData",
915
- "attribute": false,
916
- "type": "AntdTreeSelectProps[\"treeData\"]"
917
- },
918
- {
919
- "name": "treeDefaultExpandAll",
920
- "type": "boolean"
921
- },
922
- {
923
- "name": "treeExpandedKeys",
924
- "attribute": false,
925
- "type": "string[]"
926
- },
927
- {
928
- "name": "fieldNames",
929
- "attribute": false,
930
- "type": "AntdTreeSelectProps[\"fieldNames\"]"
931
- },
932
- {
933
- "name": "value",
934
- "attribute": false,
935
- "type": "AntdTreeSelectProps[\"value\"]"
936
- },
937
- {
938
- "name": "placeholder",
939
- "type": "string"
940
- },
941
- {
942
- "name": "multiple",
943
- "type": "boolean"
944
- },
945
- {
946
- "name": "disabled",
947
- "type": "boolean"
948
- },
949
- {
950
- "name": "checkable",
951
- "type": "boolean"
952
- },
953
- {
954
- "name": "allowClear",
955
- "type": "boolean",
956
- "default": "true"
957
- },
958
- {
959
- "name": "loading",
960
- "type": "boolean",
961
- "default": "false"
962
- },
963
- {
964
- "name": "filterTreeNode",
965
- "attribute": false,
966
- "type": "AntdTreeSelectProps[\"filterTreeNode\"]"
967
- },
968
- {
969
- "name": "showSearch",
970
- "type": "boolean",
971
- "default": "true"
972
- },
973
- {
974
- "name": "suffixIcon",
975
- "attribute": false,
976
- "type": "GeneralIconProps"
977
- },
978
- {
979
- "name": "popupPlacement",
980
- "type": "AntdTreeSelectProps[\"placement\"]",
981
- "default": "\"bottomLeft\""
982
- },
983
- {
984
- "name": "size",
985
- "type": "AntdTreeSelectProps[\"size\"]"
986
- },
987
- {
988
- "name": "maxTagCount",
989
- "attribute": false,
990
- "type": "number | \"responsive\""
991
- },
992
- {
993
- "name": "dropdownStyle",
994
- "attribute": false,
995
- "type": "CSSProperties"
996
- }
997
- ],
998
- "events": [
999
- {
1000
- "name": "change",
1001
- "description": "",
1002
- "detail": {
1003
- "description": "{ value: AntdTreeSelectProps[\"value\"], selectedOptions: DefaultOptionType[] | DefaultOptionType[][] }",
1004
- "type": "{\n value: AntdTreeSelectProps[\"value\"];\n }"
1005
- }
1006
- },
1007
- {
1008
- "name": "search",
1009
- "detail": {
1010
- "type": "string"
1011
- }
1012
- },
1013
- {
1014
- "name": "select",
1015
- "detail": {
1016
- "type": "{ value: AntdTreeSelectProps[\"value\"] }"
1017
- }
1018
- },
1019
- {
1020
- "name": "expand",
1021
- "detail": {
1022
- "type": "{ keys: React.Key[] }"
1023
- }
1024
- }
1025
- ],
1026
- "slots": [],
1027
- "methods": [],
1028
- "parts": [],
1029
- "description": "树选择器",
1030
- "category": "form-input-basic"
1031
- },
1032
- {
1033
- "name": "eo-text-tooltip",
1034
- "properties": [
1035
- {
1036
- "name": "label",
1037
- "description": "文案",
1038
- "default": null,
1039
- "type": "string"
1040
- },
1041
- {
1042
- "name": "lineClamp",
1043
- "description": "省略行数",
1044
- "default": "1",
1045
- "type": "number"
1046
- }
1047
- ],
1048
- "events": [],
1049
- "slots": [],
1050
- "methods": [],
1051
- "parts": [],
1052
- "description": "超出宽度鼠标悬浮显示tooltip\n构件 `eo-text-tooltip`"
1053
- },
1054
- {
1055
- "name": "advanced.pdf-viewer",
1056
- "properties": [
1057
- {
1058
- "name": "url",
1059
- "type": "string"
1060
- },
1061
- {
1062
- "name": "page",
1063
- "type": "number"
1064
- },
1065
- {
1066
- "name": "search",
1067
- "type": "string"
1068
- },
1069
- {
1070
- "name": "viewerStyle",
1071
- "attribute": false,
1072
- "type": "React.CSSProperties"
1073
- }
1074
- ],
1075
- "events": [],
1076
- "slots": [],
1077
- "methods": [],
1078
- "parts": [],
1079
- "description": "构件 `advanced.pdf-viewer`"
1080
1080
  }
1081
1081
  ],
1082
1082
  "providers": [