@next-bricks/advanced 0.44.7 → 0.44.9

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.
Files changed (30) hide show
  1. package/dist/bricks.json +13 -13
  2. package/dist/chunks/4197.37aa340f.js +2 -0
  3. package/dist/chunks/4197.37aa340f.js.map +1 -0
  4. package/dist/chunks/6773.e9348322.js +2 -0
  5. package/dist/chunks/6773.e9348322.js.map +1 -0
  6. package/dist/chunks/6907.0c6e9b40.js +2 -0
  7. package/dist/chunks/6907.0c6e9b40.js.map +1 -0
  8. package/dist/chunks/eo-next-table.f9f4fd0e.js +2 -0
  9. package/dist/chunks/eo-next-table.f9f4fd0e.js.map +1 -0
  10. package/dist/chunks/eo-workbench-layout-v2.17affa8a.js +3 -0
  11. package/dist/chunks/eo-workbench-layout-v2.17affa8a.js.map +1 -0
  12. package/dist/chunks/{main.eb3ba851.js → main.30e25924.js} +2 -2
  13. package/dist/chunks/{main.eb3ba851.js.map → main.30e25924.js.map} +1 -1
  14. package/dist/examples.json +5 -5
  15. package/dist/{index.c8836b3d.js → index.5c908061.js} +2 -2
  16. package/dist/{index.c8836b3d.js.map → index.5c908061.js.map} +1 -1
  17. package/dist/manifest.json +232 -232
  18. package/dist/types.json +234 -234
  19. package/package.json +2 -2
  20. package/dist/chunks/3816.6720301c.js +0 -2
  21. package/dist/chunks/3816.6720301c.js.map +0 -1
  22. package/dist/chunks/6773.37102d3b.js +0 -2
  23. package/dist/chunks/6773.37102d3b.js.map +0 -1
  24. package/dist/chunks/8609.3ffed8bd.js +0 -2
  25. package/dist/chunks/8609.3ffed8bd.js.map +0 -1
  26. package/dist/chunks/eo-next-table.263604ea.js +0 -2
  27. package/dist/chunks/eo-next-table.263604ea.js.map +0 -1
  28. package/dist/chunks/eo-workbench-layout-v2.ef7e0617.js +0 -3
  29. package/dist/chunks/eo-workbench-layout-v2.ef7e0617.js.map +0 -1
  30. /package/dist/chunks/{eo-workbench-layout-v2.ef7e0617.js.LICENSE.txt → eo-workbench-layout-v2.17affa8a.js.LICENSE.txt} +0 -0
@@ -345,70 +345,213 @@
345
345
  "insider": true
346
346
  },
347
347
  {
348
- "name": "eo-workbench-layout",
348
+ "name": "eo-next-table",
349
349
  "properties": [
350
350
  {
351
- "name": "cardTitle",
351
+ "name": "rowKey",
352
+ "description": "指定表格行的 key",
353
+ "default": "\"key\"",
352
354
  "type": "string"
353
355
  },
354
356
  {
355
- "name": "isEdit",
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": "是否前端搜索",
356
377
  "type": "boolean"
357
378
  },
358
379
  {
359
- "name": "layouts",
380
+ "name": "pagination",
381
+ "description": "分页配置",
360
382
  "attribute": false,
361
- "type": "Layout[]"
383
+ "type": "PaginationType"
362
384
  },
363
385
  {
364
- "name": "componentList",
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": "排序信息",
365
398
  "attribute": false,
366
- "type": "Item[]"
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)[]"
367
477
  }
368
478
  ],
369
479
  "events": [
370
480
  {
371
- "name": "change",
481
+ "name": "page.change",
482
+ "description": "page 或 pageSize 改变的回调",
372
483
  "detail": {
373
- "type": "Layout[]"
484
+ "description": "改变后的页码及每页条数",
485
+ "type": "{ page: number; pageSize: number }"
374
486
  }
375
487
  },
376
488
  {
377
- "name": "save",
489
+ "name": "page.size.change",
490
+ "description": "pageSize 变化的回调",
491
+ "deprecated": "统一用 `page.change` 事件",
378
492
  "detail": {
379
- "type": "Layout[]"
493
+ "description": "改变后的页码及每页条数",
494
+ "type": "{\n page: number;\n pageSize: number;\n }"
380
495
  }
381
496
  },
382
497
  {
383
- "name": "cancel",
498
+ "name": "sort.change",
499
+ "description": "排序变化的回调",
384
500
  "detail": {
385
- "type": "void"
501
+ "description": "当前排序的信息",
502
+ "type": "Sort | Sort[] | undefined"
386
503
  }
387
504
  },
388
505
  {
389
- "name": "action.click",
390
- "description": "操作点击事件",
506
+ "name": "row.select",
507
+ "description": "行选中项发生变化时的回调",
391
508
  "detail": {
392
- "description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
393
- "type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
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 }"
394
535
  }
395
536
  }
396
537
  ],
397
538
  "slots": [],
398
539
  "methods": [
399
540
  {
400
- "name": "setLayouts",
541
+ "name": "search",
401
542
  "params": [
402
543
  {
403
- "name": "layouts",
404
- "type": "Layout[]"
544
+ "name": "params",
545
+ "type": "{ q: string }"
405
546
  }
406
- ]
547
+ ],
548
+ "description": "前端搜索",
549
+ "returns": {}
407
550
  }
408
551
  ],
409
552
  "parts": [],
410
- "description": "工作台布局",
411
- "deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
553
+ "description": "大型表格",
554
+ "category": "table"
412
555
  },
413
556
  {
414
557
  "name": "eo-cascader",
@@ -598,215 +741,6 @@
598
741
  "parts": [],
599
742
  "description": "工作台布局V2,未使用shadow dom"
600
743
  },
601
- {
602
- "name": "eo-next-table",
603
- "properties": [
604
- {
605
- "name": "rowKey",
606
- "description": "指定表格行的 key",
607
- "default": "\"key\"",
608
- "type": "string"
609
- },
610
- {
611
- "name": "columns",
612
- "description": "列定义",
613
- "attribute": false,
614
- "type": "Column[]"
615
- },
616
- {
617
- "name": "cell",
618
- "description": "单元格",
619
- "attribute": false,
620
- "type": "CellConfig"
621
- },
622
- {
623
- "name": "dataSource",
624
- "description": "数据源",
625
- "attribute": false,
626
- "type": "DataSource"
627
- },
628
- {
629
- "name": "frontSearch",
630
- "description": "是否前端搜索",
631
- "type": "boolean"
632
- },
633
- {
634
- "name": "pagination",
635
- "description": "分页配置",
636
- "attribute": false,
637
- "type": "PaginationType"
638
- },
639
- {
640
- "name": "loading",
641
- "description": "显示加载中状态",
642
- "type": "boolean"
643
- },
644
- {
645
- "name": "multiSort",
646
- "description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
647
- "type": "boolean"
648
- },
649
- {
650
- "name": "sort",
651
- "description": "排序信息",
652
- "attribute": false,
653
- "type": "Sort | Sort[]"
654
- },
655
- {
656
- "name": "rowSelection",
657
- "description": "表格行可选择配置",
658
- "attribute": false,
659
- "type": "RowSelectionType"
660
- },
661
- {
662
- "name": "selectedRowKeys",
663
- "description": "选中项的 key",
664
- "attribute": false,
665
- "type": "(string | number)[]"
666
- },
667
- {
668
- "name": "hiddenColumns",
669
- "description": "隐藏的列(输入对应的 column.key)",
670
- "attribute": false,
671
- "type": "(string | number)[]"
672
- },
673
- {
674
- "name": "expandable",
675
- "description": "表格行展开配置",
676
- "attribute": false,
677
- "type": "ExpandableType"
678
- },
679
- {
680
- "name": "expandedRowKeys",
681
- "description": "展开项的 key",
682
- "attribute": false,
683
- "type": "(string | number)[]"
684
- },
685
- {
686
- "name": "childrenColumnName",
687
- "description": "树形结构的列名",
688
- "default": "\"children\"",
689
- "type": "string"
690
- },
691
- {
692
- "name": "rowDraggable",
693
- "description": "表格行拖拽配置",
694
- "type": "boolean"
695
- },
696
- {
697
- "name": "searchFields",
698
- "description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
699
- "attribute": false,
700
- "type": "(string | string[])[]"
701
- },
702
- {
703
- "name": "size",
704
- "description": "表格大小",
705
- "default": "\"large\"",
706
- "type": "TableProps<RecordType>[\"size\"]"
707
- },
708
- {
709
- "name": "showHeader",
710
- "description": "是否显示表头",
711
- "default": "true",
712
- "type": "boolean"
713
- },
714
- {
715
- "name": "bordered",
716
- "description": "是否显示边框",
717
- "type": "boolean"
718
- },
719
- {
720
- "name": "scrollConfig",
721
- "description": "滚动配置",
722
- "default": "{ x: true }",
723
- "attribute": false,
724
- "type": "TableProps<RecordType>[\"scroll\"]"
725
- },
726
- {
727
- "name": "optimizedColumns",
728
- "description": "优化渲染的列(输入对应的 column.key)",
729
- "attribute": false,
730
- "type": "(string | number)[]"
731
- }
732
- ],
733
- "events": [
734
- {
735
- "name": "page.change",
736
- "description": "page 或 pageSize 改变的回调",
737
- "detail": {
738
- "description": "改变后的页码及每页条数",
739
- "type": "{ page: number; pageSize: number }"
740
- }
741
- },
742
- {
743
- "name": "page.size.change",
744
- "description": "pageSize 变化的回调",
745
- "deprecated": "统一用 `page.change` 事件",
746
- "detail": {
747
- "description": "改变后的页码及每页条数",
748
- "type": "{\n page: number;\n pageSize: number;\n }"
749
- }
750
- },
751
- {
752
- "name": "sort.change",
753
- "description": "排序变化的回调",
754
- "detail": {
755
- "description": "当前排序的信息",
756
- "type": "Sort | Sort[] | undefined"
757
- }
758
- },
759
- {
760
- "name": "row.select",
761
- "description": "行选中项发生变化时的回调",
762
- "detail": {
763
- "description": "改变后的 rowKey 及行数据",
764
- "type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
765
- }
766
- },
767
- {
768
- "name": "row.expand",
769
- "description": "点击展开图标时触发",
770
- "detail": {
771
- "description": "当前行的展开情况及数据",
772
- "type": "{\n expanded: boolean;\n record: RecordType;\n }"
773
- }
774
- },
775
- {
776
- "name": "expanded.rows.change",
777
- "description": "展开的行变化时触发",
778
- "detail": {
779
- "description": "所有展开行的 key",
780
- "type": "(string | number)[]"
781
- }
782
- },
783
- {
784
- "name": "row.drag",
785
- "description": "表格行拖拽结束发生的事件",
786
- "detail": {
787
- "description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
788
- "type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
789
- }
790
- }
791
- ],
792
- "slots": [],
793
- "methods": [
794
- {
795
- "name": "search",
796
- "params": [
797
- {
798
- "name": "params",
799
- "type": "{ q: string }"
800
- }
801
- ],
802
- "description": "前端搜索",
803
- "returns": {}
804
- }
805
- ],
806
- "parts": [],
807
- "description": "大型表格",
808
- "category": "table"
809
- },
810
744
  {
811
745
  "name": "eo-tree",
812
746
  "properties": [
@@ -1077,6 +1011,72 @@
1077
1011
  "methods": [],
1078
1012
  "parts": [],
1079
1013
  "description": "构件 `advanced.pdf-viewer`"
1014
+ },
1015
+ {
1016
+ "name": "eo-workbench-layout",
1017
+ "properties": [
1018
+ {
1019
+ "name": "cardTitle",
1020
+ "type": "string"
1021
+ },
1022
+ {
1023
+ "name": "isEdit",
1024
+ "type": "boolean"
1025
+ },
1026
+ {
1027
+ "name": "layouts",
1028
+ "attribute": false,
1029
+ "type": "Layout[]"
1030
+ },
1031
+ {
1032
+ "name": "componentList",
1033
+ "attribute": false,
1034
+ "type": "Item[]"
1035
+ }
1036
+ ],
1037
+ "events": [
1038
+ {
1039
+ "name": "change",
1040
+ "detail": {
1041
+ "type": "Layout[]"
1042
+ }
1043
+ },
1044
+ {
1045
+ "name": "save",
1046
+ "detail": {
1047
+ "type": "Layout[]"
1048
+ }
1049
+ },
1050
+ {
1051
+ "name": "cancel",
1052
+ "detail": {
1053
+ "type": "void"
1054
+ }
1055
+ },
1056
+ {
1057
+ "name": "action.click",
1058
+ "description": "操作点击事件",
1059
+ "detail": {
1060
+ "description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
1061
+ "type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
1062
+ }
1063
+ }
1064
+ ],
1065
+ "slots": [],
1066
+ "methods": [
1067
+ {
1068
+ "name": "setLayouts",
1069
+ "params": [
1070
+ {
1071
+ "name": "layouts",
1072
+ "type": "Layout[]"
1073
+ }
1074
+ ]
1075
+ }
1076
+ ],
1077
+ "parts": [],
1078
+ "description": "工作台布局",
1079
+ "deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
1080
1080
  }
1081
1081
  ],
1082
1082
  "providers": [