@next-bricks/advanced 0.41.7 → 0.41.8
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 +12 -12
- package/dist/chunks/{2197.0aa1a34b.js → 2197.c5138c85.js} +2 -2
- package/dist/chunks/{2197.0aa1a34b.js.map → 2197.c5138c85.js.map} +1 -1
- package/dist/chunks/{eo-tree-select.c08bf615.js → eo-tree-select.ecee3d60.js} +2 -2
- package/dist/chunks/{eo-tree-select.c08bf615.js.map → eo-tree-select.ecee3d60.js.map} +1 -1
- package/dist/chunks/{main.d2f6b9b9.js → main.3ada30c8.js} +2 -2
- package/dist/chunks/{main.d2f6b9b9.js.map → main.3ada30c8.js.map} +1 -1
- package/dist/examples.json +4 -4
- package/dist/{index.b0714900.js → index.ca9beb3d.js} +2 -2
- package/dist/{index.b0714900.js.map → index.ca9beb3d.js.map} +1 -1
- package/dist/manifest.json +188 -188
- package/dist/types.json +234 -234
- package/package.json +2 -2
package/dist/manifest.json
CHANGED
|
@@ -345,70 +345,208 @@
|
|
|
345
345
|
"insider": true
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
|
-
"name": "eo-
|
|
348
|
+
"name": "eo-next-table",
|
|
349
349
|
"properties": [
|
|
350
350
|
{
|
|
351
|
-
"name": "
|
|
351
|
+
"name": "rowKey",
|
|
352
|
+
"description": "指定表格行的 key",
|
|
353
|
+
"default": "\"key\"",
|
|
352
354
|
"type": "string"
|
|
353
355
|
},
|
|
354
356
|
{
|
|
355
|
-
"name": "
|
|
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": "
|
|
380
|
+
"name": "pagination",
|
|
381
|
+
"description": "分页配置",
|
|
360
382
|
"attribute": false,
|
|
361
|
-
"type": "
|
|
383
|
+
"type": "PaginationType"
|
|
362
384
|
},
|
|
363
385
|
{
|
|
364
|
-
"name": "
|
|
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": "
|
|
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": "scrollConfig",
|
|
462
|
+
"description": "滚动配置",
|
|
463
|
+
"default": "{ x: true }",
|
|
464
|
+
"attribute": false,
|
|
465
|
+
"type": "TableProps<RecordType>[\"scroll\"]"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "optimizedColumns",
|
|
469
|
+
"description": "优化渲染的列(输入对应的 column.key)",
|
|
470
|
+
"attribute": false,
|
|
471
|
+
"type": "(string | number)[]"
|
|
367
472
|
}
|
|
368
473
|
],
|
|
369
474
|
"events": [
|
|
370
475
|
{
|
|
371
|
-
"name": "change",
|
|
476
|
+
"name": "page.change",
|
|
477
|
+
"description": "page 或 pageSize 改变的回调",
|
|
372
478
|
"detail": {
|
|
373
|
-
"
|
|
479
|
+
"description": "改变后的页码及每页条数",
|
|
480
|
+
"type": "{ page: number; pageSize: number }"
|
|
374
481
|
}
|
|
375
482
|
},
|
|
376
483
|
{
|
|
377
|
-
"name": "
|
|
484
|
+
"name": "page.size.change",
|
|
485
|
+
"description": "pageSize 变化的回调",
|
|
486
|
+
"deprecated": "统一用 `page.change` 事件",
|
|
378
487
|
"detail": {
|
|
379
|
-
"
|
|
488
|
+
"description": "改变后的页码及每页条数",
|
|
489
|
+
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
380
490
|
}
|
|
381
491
|
},
|
|
382
492
|
{
|
|
383
|
-
"name": "
|
|
493
|
+
"name": "sort.change",
|
|
494
|
+
"description": "排序变化的回调",
|
|
384
495
|
"detail": {
|
|
385
|
-
"
|
|
496
|
+
"description": "当前排序的信息",
|
|
497
|
+
"type": "Sort | Sort[] | undefined"
|
|
386
498
|
}
|
|
387
499
|
},
|
|
388
500
|
{
|
|
389
|
-
"name": "
|
|
390
|
-
"description": "
|
|
501
|
+
"name": "row.select",
|
|
502
|
+
"description": "行选中项发生变化时的回调",
|
|
391
503
|
"detail": {
|
|
392
|
-
"description": "
|
|
393
|
-
"type": "{\n
|
|
504
|
+
"description": "改变后的 rowKey 及行数据",
|
|
505
|
+
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"name": "row.expand",
|
|
510
|
+
"description": "点击展开图标时触发",
|
|
511
|
+
"detail": {
|
|
512
|
+
"description": "当前行的展开情况及数据",
|
|
513
|
+
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "expanded.rows.change",
|
|
518
|
+
"description": "展开的行变化时触发",
|
|
519
|
+
"detail": {
|
|
520
|
+
"description": "所有展开行的 key",
|
|
521
|
+
"type": "(string | number)[]"
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"name": "row.drag",
|
|
526
|
+
"description": "表格行拖拽结束发生的事件",
|
|
527
|
+
"detail": {
|
|
528
|
+
"description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
|
|
529
|
+
"type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
|
|
394
530
|
}
|
|
395
531
|
}
|
|
396
532
|
],
|
|
397
533
|
"slots": [],
|
|
398
534
|
"methods": [
|
|
399
535
|
{
|
|
400
|
-
"name": "
|
|
536
|
+
"name": "search",
|
|
401
537
|
"params": [
|
|
402
538
|
{
|
|
403
|
-
"name": "
|
|
404
|
-
"type": "
|
|
539
|
+
"name": "params",
|
|
540
|
+
"type": "{ q: string }"
|
|
405
541
|
}
|
|
406
|
-
]
|
|
542
|
+
],
|
|
543
|
+
"description": "前端搜索",
|
|
544
|
+
"returns": {}
|
|
407
545
|
}
|
|
408
546
|
],
|
|
409
547
|
"parts": [],
|
|
410
|
-
"description": "
|
|
411
|
-
"
|
|
548
|
+
"description": "大型表格",
|
|
549
|
+
"category": "table"
|
|
412
550
|
},
|
|
413
551
|
{
|
|
414
552
|
"name": "eo-cascader",
|
|
@@ -518,7 +656,7 @@
|
|
|
518
656
|
"category": "form-input-basic"
|
|
519
657
|
},
|
|
520
658
|
{
|
|
521
|
-
"name": "eo-workbench-layout
|
|
659
|
+
"name": "eo-workbench-layout",
|
|
522
660
|
"properties": [
|
|
523
661
|
{
|
|
524
662
|
"name": "cardTitle",
|
|
@@ -533,11 +671,6 @@
|
|
|
533
671
|
"attribute": false,
|
|
534
672
|
"type": "Layout[]"
|
|
535
673
|
},
|
|
536
|
-
{
|
|
537
|
-
"name": "toolbarBricks",
|
|
538
|
-
"attribute": false,
|
|
539
|
-
"type": "{\n useBrick: UseSingleBrickConf[];\n }"
|
|
540
|
-
},
|
|
541
674
|
{
|
|
542
675
|
"name": "componentList",
|
|
543
676
|
"attribute": false,
|
|
@@ -585,211 +718,78 @@
|
|
|
585
718
|
}
|
|
586
719
|
],
|
|
587
720
|
"parts": [],
|
|
588
|
-
"description": "工作台布局
|
|
721
|
+
"description": "工作台布局",
|
|
722
|
+
"deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
|
|
589
723
|
},
|
|
590
724
|
{
|
|
591
|
-
"name": "eo-
|
|
725
|
+
"name": "eo-workbench-layout-v2",
|
|
592
726
|
"properties": [
|
|
593
727
|
{
|
|
594
|
-
"name": "
|
|
595
|
-
"description": "指定表格行的 key",
|
|
596
|
-
"default": "\"key\"",
|
|
597
|
-
"type": "string"
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
"name": "columns",
|
|
601
|
-
"description": "列定义",
|
|
602
|
-
"attribute": false,
|
|
603
|
-
"type": "Column[]"
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
"name": "cell",
|
|
607
|
-
"description": "单元格",
|
|
608
|
-
"attribute": false,
|
|
609
|
-
"type": "CellConfig"
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"name": "dataSource",
|
|
613
|
-
"description": "数据源",
|
|
614
|
-
"attribute": false,
|
|
615
|
-
"type": "DataSource"
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
"name": "frontSearch",
|
|
619
|
-
"description": "是否前端搜索",
|
|
620
|
-
"type": "boolean"
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
"name": "pagination",
|
|
624
|
-
"description": "分页配置",
|
|
625
|
-
"attribute": false,
|
|
626
|
-
"type": "PaginationType"
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
"name": "loading",
|
|
630
|
-
"description": "显示加载中状态",
|
|
631
|
-
"type": "boolean"
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
"name": "multiSort",
|
|
635
|
-
"description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
|
|
636
|
-
"type": "boolean"
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
"name": "sort",
|
|
640
|
-
"description": "排序信息",
|
|
641
|
-
"attribute": false,
|
|
642
|
-
"type": "Sort | Sort[]"
|
|
643
|
-
},
|
|
644
|
-
{
|
|
645
|
-
"name": "rowSelection",
|
|
646
|
-
"description": "表格行可选择配置",
|
|
647
|
-
"attribute": false,
|
|
648
|
-
"type": "RowSelectionType"
|
|
649
|
-
},
|
|
650
|
-
{
|
|
651
|
-
"name": "selectedRowKeys",
|
|
652
|
-
"description": "选中项的 key",
|
|
653
|
-
"attribute": false,
|
|
654
|
-
"type": "(string | number)[]"
|
|
655
|
-
},
|
|
656
|
-
{
|
|
657
|
-
"name": "hiddenColumns",
|
|
658
|
-
"description": "隐藏的列(输入对应的 column.key)",
|
|
659
|
-
"attribute": false,
|
|
660
|
-
"type": "(string | number)[]"
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
"name": "expandable",
|
|
664
|
-
"description": "表格行展开配置",
|
|
665
|
-
"attribute": false,
|
|
666
|
-
"type": "ExpandableType"
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
"name": "expandedRowKeys",
|
|
670
|
-
"description": "展开项的 key",
|
|
671
|
-
"attribute": false,
|
|
672
|
-
"type": "(string | number)[]"
|
|
673
|
-
},
|
|
674
|
-
{
|
|
675
|
-
"name": "childrenColumnName",
|
|
676
|
-
"description": "树形结构的列名",
|
|
677
|
-
"default": "\"children\"",
|
|
728
|
+
"name": "cardTitle",
|
|
678
729
|
"type": "string"
|
|
679
730
|
},
|
|
680
731
|
{
|
|
681
|
-
"name": "
|
|
682
|
-
"description": "表格行拖拽配置",
|
|
732
|
+
"name": "isEdit",
|
|
683
733
|
"type": "boolean"
|
|
684
734
|
},
|
|
685
735
|
{
|
|
686
|
-
"name": "
|
|
687
|
-
"description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
|
|
736
|
+
"name": "layouts",
|
|
688
737
|
"attribute": false,
|
|
689
|
-
"type": "
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
"name": "size",
|
|
693
|
-
"description": "表格大小",
|
|
694
|
-
"default": "\"large\"",
|
|
695
|
-
"type": "TableProps<RecordType>[\"size\"]"
|
|
696
|
-
},
|
|
697
|
-
{
|
|
698
|
-
"name": "showHeader",
|
|
699
|
-
"description": "是否显示表头",
|
|
700
|
-
"default": "true",
|
|
701
|
-
"type": "boolean"
|
|
738
|
+
"type": "Layout[]"
|
|
702
739
|
},
|
|
703
740
|
{
|
|
704
|
-
"name": "
|
|
705
|
-
"description": "滚动配置",
|
|
706
|
-
"default": "{ x: true }",
|
|
741
|
+
"name": "toolbarBricks",
|
|
707
742
|
"attribute": false,
|
|
708
|
-
"type": "
|
|
743
|
+
"type": "{\n useBrick: UseSingleBrickConf[];\n }"
|
|
709
744
|
},
|
|
710
745
|
{
|
|
711
|
-
"name": "
|
|
712
|
-
"description": "优化渲染的列(输入对应的 column.key)",
|
|
746
|
+
"name": "componentList",
|
|
713
747
|
"attribute": false,
|
|
714
|
-
"type": "
|
|
748
|
+
"type": "Item[]"
|
|
715
749
|
}
|
|
716
750
|
],
|
|
717
751
|
"events": [
|
|
718
752
|
{
|
|
719
|
-
"name": "
|
|
720
|
-
"description": "page 或 pageSize 改变的回调",
|
|
721
|
-
"detail": {
|
|
722
|
-
"description": "改变后的页码及每页条数",
|
|
723
|
-
"type": "{ page: number; pageSize: number }"
|
|
724
|
-
}
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
"name": "page.size.change",
|
|
728
|
-
"description": "pageSize 变化的回调",
|
|
729
|
-
"deprecated": "统一用 `page.change` 事件",
|
|
730
|
-
"detail": {
|
|
731
|
-
"description": "改变后的页码及每页条数",
|
|
732
|
-
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
733
|
-
}
|
|
734
|
-
},
|
|
735
|
-
{
|
|
736
|
-
"name": "sort.change",
|
|
737
|
-
"description": "排序变化的回调",
|
|
738
|
-
"detail": {
|
|
739
|
-
"description": "当前排序的信息",
|
|
740
|
-
"type": "Sort | Sort[] | undefined"
|
|
741
|
-
}
|
|
742
|
-
},
|
|
743
|
-
{
|
|
744
|
-
"name": "row.select",
|
|
745
|
-
"description": "行选中项发生变化时的回调",
|
|
753
|
+
"name": "change",
|
|
746
754
|
"detail": {
|
|
747
|
-
"
|
|
748
|
-
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
755
|
+
"type": "Layout[]"
|
|
749
756
|
}
|
|
750
757
|
},
|
|
751
758
|
{
|
|
752
|
-
"name": "
|
|
753
|
-
"description": "点击展开图标时触发",
|
|
759
|
+
"name": "save",
|
|
754
760
|
"detail": {
|
|
755
|
-
"
|
|
756
|
-
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
761
|
+
"type": "Layout[]"
|
|
757
762
|
}
|
|
758
763
|
},
|
|
759
764
|
{
|
|
760
|
-
"name": "
|
|
761
|
-
"description": "展开的行变化时触发",
|
|
765
|
+
"name": "cancel",
|
|
762
766
|
"detail": {
|
|
763
|
-
"
|
|
764
|
-
"type": "(string | number)[]"
|
|
767
|
+
"type": "void"
|
|
765
768
|
}
|
|
766
769
|
},
|
|
767
770
|
{
|
|
768
|
-
"name": "
|
|
769
|
-
"description": "
|
|
771
|
+
"name": "action.click",
|
|
772
|
+
"description": "操作点击事件",
|
|
770
773
|
"detail": {
|
|
771
|
-
"description": "
|
|
772
|
-
"type": "{\n
|
|
774
|
+
"description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
|
|
775
|
+
"type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
|
|
773
776
|
}
|
|
774
777
|
}
|
|
775
778
|
],
|
|
776
779
|
"slots": [],
|
|
777
780
|
"methods": [
|
|
778
781
|
{
|
|
779
|
-
"name": "
|
|
782
|
+
"name": "setLayouts",
|
|
780
783
|
"params": [
|
|
781
784
|
{
|
|
782
|
-
"name": "
|
|
783
|
-
"type": "
|
|
785
|
+
"name": "layouts",
|
|
786
|
+
"type": "Layout[]"
|
|
784
787
|
}
|
|
785
|
-
]
|
|
786
|
-
"description": "前端搜索",
|
|
787
|
-
"returns": {}
|
|
788
|
+
]
|
|
788
789
|
}
|
|
789
790
|
],
|
|
790
791
|
"parts": [],
|
|
791
|
-
"description": "
|
|
792
|
-
"category": "table"
|
|
792
|
+
"description": "工作台布局V2,未使用shadow dom"
|
|
793
793
|
},
|
|
794
794
|
{
|
|
795
795
|
"name": "eo-tree",
|