@next-bricks/advanced 0.44.14 → 0.44.15
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 +16 -16
- package/dist/chunks/{4197.7ac1ea57.js → 4197.95488100.js} +2 -2
- package/dist/chunks/{4197.7ac1ea57.js.map → 4197.95488100.js.map} +1 -1
- package/dist/chunks/{eo-workbench-layout-v2.1ab22602.js → eo-workbench-layout-v2.d33886a3.js} +3 -3
- package/dist/chunks/{eo-workbench-layout-v2.1ab22602.js.map → eo-workbench-layout-v2.d33886a3.js.map} +1 -1
- package/dist/chunks/{main.a0e28d58.js → main.d5cab943.js} +2 -2
- package/dist/chunks/{main.a0e28d58.js.map → main.d5cab943.js.map} +1 -1
- package/dist/examples.json +9 -9
- package/dist/{index.f6cd96a7.js → index.bc2c2614.js} +2 -2
- package/dist/{index.f6cd96a7.js.map → index.bc2c2614.js.map} +1 -1
- package/dist/manifest.json +365 -365
- package/dist/types.json +671 -671
- package/package.json +2 -2
- /package/dist/chunks/{eo-workbench-layout-v2.1ab22602.js.LICENSE.txt → eo-workbench-layout-v2.d33886a3.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -345,70 +345,213 @@
|
|
|
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": "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
|
-
"
|
|
484
|
+
"description": "改变后的页码及每页条数",
|
|
485
|
+
"type": "{ page: number; pageSize: number }"
|
|
374
486
|
}
|
|
375
487
|
},
|
|
376
488
|
{
|
|
377
|
-
"name": "
|
|
489
|
+
"name": "page.size.change",
|
|
490
|
+
"description": "pageSize 变化的回调",
|
|
491
|
+
"deprecated": "统一用 `page.change` 事件",
|
|
378
492
|
"detail": {
|
|
379
|
-
"
|
|
493
|
+
"description": "改变后的页码及每页条数",
|
|
494
|
+
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
380
495
|
}
|
|
381
496
|
},
|
|
382
497
|
{
|
|
383
|
-
"name": "
|
|
498
|
+
"name": "sort.change",
|
|
499
|
+
"description": "排序变化的回调",
|
|
384
500
|
"detail": {
|
|
385
|
-
"
|
|
501
|
+
"description": "当前排序的信息",
|
|
502
|
+
"type": "Sort | Sort[] | undefined"
|
|
386
503
|
}
|
|
387
504
|
},
|
|
388
505
|
{
|
|
389
|
-
"name": "
|
|
390
|
-
"description": "
|
|
506
|
+
"name": "row.select",
|
|
507
|
+
"description": "行选中项发生变化时的回调",
|
|
391
508
|
"detail": {
|
|
392
|
-
"description": "
|
|
393
|
-
"type": "{\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": "
|
|
541
|
+
"name": "search",
|
|
401
542
|
"params": [
|
|
402
543
|
{
|
|
403
|
-
"name": "
|
|
404
|
-
"type": "
|
|
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
|
-
"
|
|
553
|
+
"description": "大型表格",
|
|
554
|
+
"category": "table"
|
|
412
555
|
},
|
|
413
556
|
{
|
|
414
557
|
"name": "eo-workbench-layout-v2",
|
|
@@ -492,138 +635,70 @@
|
|
|
492
635
|
"description": "工作台布局V2,未使用shadow dom"
|
|
493
636
|
},
|
|
494
637
|
{
|
|
495
|
-
"name": "eo-
|
|
638
|
+
"name": "eo-workbench-layout",
|
|
496
639
|
"properties": [
|
|
497
640
|
{
|
|
498
|
-
"name": "
|
|
499
|
-
"type": "string"
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
"name": "label",
|
|
641
|
+
"name": "cardTitle",
|
|
503
642
|
"type": "string"
|
|
504
643
|
},
|
|
505
644
|
{
|
|
506
|
-
"name": "
|
|
507
|
-
"type": "boolean"
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
"name": "treeData",
|
|
511
|
-
"attribute": false,
|
|
512
|
-
"type": "AntdTreeSelectProps[\"treeData\"]"
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
"name": "treeDefaultExpandAll",
|
|
645
|
+
"name": "isEdit",
|
|
516
646
|
"type": "boolean"
|
|
517
647
|
},
|
|
518
648
|
{
|
|
519
|
-
"name": "
|
|
520
|
-
"attribute": false,
|
|
521
|
-
"type": "string[]"
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
"name": "fieldNames",
|
|
649
|
+
"name": "layouts",
|
|
525
650
|
"attribute": false,
|
|
526
|
-
"type": "
|
|
651
|
+
"type": "Layout[]"
|
|
527
652
|
},
|
|
528
653
|
{
|
|
529
|
-
"name": "
|
|
654
|
+
"name": "componentList",
|
|
530
655
|
"attribute": false,
|
|
531
|
-
"type": "
|
|
532
|
-
}
|
|
656
|
+
"type": "Item[]"
|
|
657
|
+
}
|
|
658
|
+
],
|
|
659
|
+
"events": [
|
|
533
660
|
{
|
|
534
|
-
"name": "
|
|
535
|
-
"
|
|
661
|
+
"name": "change",
|
|
662
|
+
"detail": {
|
|
663
|
+
"type": "Layout[]"
|
|
664
|
+
}
|
|
536
665
|
},
|
|
537
666
|
{
|
|
538
|
-
"name": "
|
|
539
|
-
"
|
|
667
|
+
"name": "save",
|
|
668
|
+
"detail": {
|
|
669
|
+
"type": "Layout[]"
|
|
670
|
+
}
|
|
540
671
|
},
|
|
541
672
|
{
|
|
542
|
-
"name": "
|
|
543
|
-
"
|
|
673
|
+
"name": "cancel",
|
|
674
|
+
"detail": {
|
|
675
|
+
"type": "void"
|
|
676
|
+
}
|
|
544
677
|
},
|
|
545
678
|
{
|
|
546
|
-
"name": "
|
|
547
|
-
"
|
|
548
|
-
|
|
679
|
+
"name": "action.click",
|
|
680
|
+
"description": "操作点击事件",
|
|
681
|
+
"detail": {
|
|
682
|
+
"description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
|
|
683
|
+
"type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
],
|
|
687
|
+
"slots": [],
|
|
688
|
+
"methods": [
|
|
549
689
|
{
|
|
550
|
-
"name": "
|
|
551
|
-
"
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
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
|
-
}
|
|
690
|
+
"name": "setLayouts",
|
|
691
|
+
"params": [
|
|
692
|
+
{
|
|
693
|
+
"name": "layouts",
|
|
694
|
+
"type": "Layout[]"
|
|
695
|
+
}
|
|
696
|
+
]
|
|
620
697
|
}
|
|
621
698
|
],
|
|
622
|
-
"slots": [],
|
|
623
|
-
"methods": [],
|
|
624
699
|
"parts": [],
|
|
625
|
-
"description": "
|
|
626
|
-
"
|
|
700
|
+
"description": "工作台布局",
|
|
701
|
+
"deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
|
|
627
702
|
},
|
|
628
703
|
{
|
|
629
704
|
"name": "eo-cascader",
|
|
@@ -733,350 +808,275 @@
|
|
|
733
808
|
"category": "form-input-basic"
|
|
734
809
|
},
|
|
735
810
|
{
|
|
736
|
-
"name": "eo-
|
|
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
|
-
},
|
|
784
|
-
{
|
|
785
|
-
"name": "eo-next-table",
|
|
811
|
+
"name": "eo-tree",
|
|
786
812
|
"properties": [
|
|
787
|
-
{
|
|
788
|
-
"name": "rowKey",
|
|
789
|
-
"description": "指定表格行的 key",
|
|
790
|
-
"default": "\"key\"",
|
|
791
|
-
"type": "string"
|
|
792
|
-
},
|
|
793
|
-
{
|
|
794
|
-
"name": "columns",
|
|
795
|
-
"description": "列定义",
|
|
796
|
-
"attribute": false,
|
|
797
|
-
"type": "Column[]"
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
"name": "cell",
|
|
801
|
-
"description": "单元格",
|
|
802
|
-
"attribute": false,
|
|
803
|
-
"type": "CellConfig"
|
|
804
|
-
},
|
|
805
813
|
{
|
|
806
814
|
"name": "dataSource",
|
|
807
|
-
"description": "数据源",
|
|
808
815
|
"attribute": false,
|
|
809
|
-
"type": "
|
|
816
|
+
"type": "TreeNode[]"
|
|
810
817
|
},
|
|
811
818
|
{
|
|
812
|
-
"name": "
|
|
813
|
-
"description": "是否前端搜索",
|
|
819
|
+
"name": "checkable",
|
|
814
820
|
"type": "boolean"
|
|
815
821
|
},
|
|
816
822
|
{
|
|
817
|
-
"name": "
|
|
818
|
-
"description": "
|
|
819
|
-
"
|
|
820
|
-
"type": "PaginationType"
|
|
821
|
-
},
|
|
822
|
-
{
|
|
823
|
-
"name": "loading",
|
|
824
|
-
"description": "显示加载中状态",
|
|
823
|
+
"name": "selectable",
|
|
824
|
+
"description": "",
|
|
825
|
+
"default": "true",
|
|
825
826
|
"type": "boolean"
|
|
826
827
|
},
|
|
827
828
|
{
|
|
828
|
-
"name": "
|
|
829
|
-
"description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
|
|
829
|
+
"name": "defaultExpandAll",
|
|
830
830
|
"type": "boolean"
|
|
831
831
|
},
|
|
832
832
|
{
|
|
833
|
-
"name": "
|
|
834
|
-
"
|
|
835
|
-
"attribute": false,
|
|
836
|
-
"type": "Sort | Sort[]"
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
"name": "rowSelection",
|
|
840
|
-
"description": "表格行可选择配置",
|
|
841
|
-
"attribute": false,
|
|
842
|
-
"type": "RowSelectionType"
|
|
843
|
-
},
|
|
844
|
-
{
|
|
845
|
-
"name": "selectedRowKeys",
|
|
846
|
-
"description": "选中项的 key",
|
|
847
|
-
"attribute": false,
|
|
848
|
-
"type": "(string | number)[]"
|
|
833
|
+
"name": "showLine",
|
|
834
|
+
"type": "boolean"
|
|
849
835
|
},
|
|
850
836
|
{
|
|
851
|
-
"name": "
|
|
852
|
-
"description": "隐藏的列(输入对应的 column.key)",
|
|
837
|
+
"name": "expandedKeys",
|
|
853
838
|
"attribute": false,
|
|
854
|
-
"type": "
|
|
839
|
+
"type": "TreeNodeKey[]"
|
|
855
840
|
},
|
|
856
841
|
{
|
|
857
|
-
"name": "
|
|
858
|
-
"description": "表格行展开配置",
|
|
842
|
+
"name": "checkedKeys",
|
|
859
843
|
"attribute": false,
|
|
860
|
-
"type": "
|
|
844
|
+
"type": "TreeNodeKey[]"
|
|
861
845
|
},
|
|
862
846
|
{
|
|
863
|
-
"name": "
|
|
864
|
-
"description": "展开项的 key",
|
|
847
|
+
"name": "nodeDraggable",
|
|
865
848
|
"attribute": false,
|
|
866
|
-
"type": "
|
|
867
|
-
},
|
|
868
|
-
{
|
|
869
|
-
"name": "childrenColumnName",
|
|
870
|
-
"description": "树形结构的列名",
|
|
871
|
-
"default": "\"children\"",
|
|
872
|
-
"type": "string"
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
"name": "rowDraggable",
|
|
876
|
-
"description": "表格行拖拽配置",
|
|
877
|
-
"type": "boolean"
|
|
849
|
+
"type": "boolean | { icon?: false }"
|
|
878
850
|
},
|
|
879
851
|
{
|
|
880
|
-
"name": "
|
|
881
|
-
"description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
|
|
852
|
+
"name": "switcherIcon",
|
|
882
853
|
"attribute": false,
|
|
883
|
-
"type": "
|
|
884
|
-
},
|
|
885
|
-
{
|
|
886
|
-
"name": "size",
|
|
887
|
-
"description": "表格大小",
|
|
888
|
-
"default": "\"large\"",
|
|
889
|
-
"type": "TableProps<RecordType>[\"size\"]"
|
|
890
|
-
},
|
|
891
|
-
{
|
|
892
|
-
"name": "showHeader",
|
|
893
|
-
"description": "是否显示表头",
|
|
894
|
-
"default": "true",
|
|
895
|
-
"type": "boolean"
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
"name": "bordered",
|
|
899
|
-
"description": "是否显示边框",
|
|
900
|
-
"type": "boolean"
|
|
854
|
+
"type": "\"auto\" | \"chevron\" | false"
|
|
901
855
|
},
|
|
902
856
|
{
|
|
903
|
-
"name": "
|
|
904
|
-
"description": "滚动配置",
|
|
905
|
-
"default": "{ x: true }",
|
|
857
|
+
"name": "allowDrop",
|
|
906
858
|
"attribute": false,
|
|
907
|
-
"type": "
|
|
859
|
+
"type": "((info: AllowDropInfo) => boolean)"
|
|
908
860
|
},
|
|
909
861
|
{
|
|
910
|
-
"name": "
|
|
911
|
-
"description": "优化渲染的列(输入对应的 column.key)",
|
|
862
|
+
"name": "titleSuffixBrick",
|
|
912
863
|
"attribute": false,
|
|
913
|
-
"type": "
|
|
864
|
+
"type": "{ useBrick: UseBrickConf }"
|
|
914
865
|
}
|
|
915
866
|
],
|
|
916
867
|
"events": [
|
|
917
868
|
{
|
|
918
|
-
"name": "
|
|
919
|
-
"description": "page 或 pageSize 改变的回调",
|
|
920
|
-
"detail": {
|
|
921
|
-
"description": "改变后的页码及每页条数",
|
|
922
|
-
"type": "{ page: number; pageSize: number }"
|
|
923
|
-
}
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
"name": "page.size.change",
|
|
927
|
-
"description": "pageSize 变化的回调",
|
|
928
|
-
"deprecated": "统一用 `page.change` 事件",
|
|
929
|
-
"detail": {
|
|
930
|
-
"description": "改变后的页码及每页条数",
|
|
931
|
-
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
932
|
-
}
|
|
933
|
-
},
|
|
934
|
-
{
|
|
935
|
-
"name": "sort.change",
|
|
936
|
-
"description": "排序变化的回调",
|
|
937
|
-
"detail": {
|
|
938
|
-
"description": "当前排序的信息",
|
|
939
|
-
"type": "Sort | Sort[] | undefined"
|
|
940
|
-
}
|
|
941
|
-
},
|
|
942
|
-
{
|
|
943
|
-
"name": "row.select",
|
|
944
|
-
"description": "行选中项发生变化时的回调",
|
|
869
|
+
"name": "check",
|
|
945
870
|
"detail": {
|
|
946
|
-
"
|
|
947
|
-
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
871
|
+
"type": "TreeNodeKey[]"
|
|
948
872
|
}
|
|
949
873
|
},
|
|
950
874
|
{
|
|
951
|
-
"name": "
|
|
952
|
-
"description": "点击展开图标时触发",
|
|
875
|
+
"name": "check.detail",
|
|
953
876
|
"detail": {
|
|
954
|
-
"
|
|
955
|
-
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
877
|
+
"type": "CheckDetail"
|
|
956
878
|
}
|
|
957
879
|
},
|
|
958
880
|
{
|
|
959
|
-
"name": "
|
|
960
|
-
"description": "展开的行变化时触发",
|
|
881
|
+
"name": "expand",
|
|
961
882
|
"detail": {
|
|
962
|
-
"
|
|
963
|
-
"type": "(string | number)[]"
|
|
883
|
+
"type": "TreeNodeKey[]"
|
|
964
884
|
}
|
|
965
885
|
},
|
|
966
886
|
{
|
|
967
|
-
"name": "
|
|
968
|
-
"description": "表格行拖拽结束发生的事件",
|
|
887
|
+
"name": "node.drop",
|
|
969
888
|
"detail": {
|
|
970
|
-
"
|
|
971
|
-
"type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
|
|
889
|
+
"type": "DropDetail"
|
|
972
890
|
}
|
|
973
891
|
}
|
|
974
892
|
],
|
|
975
893
|
"slots": [],
|
|
976
|
-
"methods": [
|
|
977
|
-
{
|
|
978
|
-
"name": "search",
|
|
979
|
-
"params": [
|
|
980
|
-
{
|
|
981
|
-
"name": "params",
|
|
982
|
-
"type": "{ q: string }"
|
|
983
|
-
}
|
|
984
|
-
],
|
|
985
|
-
"description": "前端搜索",
|
|
986
|
-
"returns": {}
|
|
987
|
-
}
|
|
988
|
-
],
|
|
894
|
+
"methods": [],
|
|
989
895
|
"parts": [],
|
|
990
|
-
"description": "
|
|
991
|
-
"category": "table"
|
|
896
|
+
"description": "树形构件"
|
|
992
897
|
},
|
|
993
898
|
{
|
|
994
|
-
"name": "eo-tree",
|
|
899
|
+
"name": "eo-tree-select",
|
|
995
900
|
"properties": [
|
|
996
901
|
{
|
|
997
|
-
"name": "
|
|
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",
|
|
998
915
|
"attribute": false,
|
|
999
|
-
"type": "
|
|
916
|
+
"type": "AntdTreeSelectProps[\"treeData\"]"
|
|
1000
917
|
},
|
|
1001
918
|
{
|
|
1002
|
-
"name": "
|
|
919
|
+
"name": "treeDefaultExpandAll",
|
|
1003
920
|
"type": "boolean"
|
|
1004
921
|
},
|
|
1005
922
|
{
|
|
1006
|
-
"name": "
|
|
1007
|
-
"
|
|
1008
|
-
"
|
|
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",
|
|
1009
943
|
"type": "boolean"
|
|
1010
944
|
},
|
|
1011
945
|
{
|
|
1012
|
-
"name": "
|
|
946
|
+
"name": "disabled",
|
|
1013
947
|
"type": "boolean"
|
|
1014
948
|
},
|
|
1015
949
|
{
|
|
1016
|
-
"name": "
|
|
950
|
+
"name": "checkable",
|
|
1017
951
|
"type": "boolean"
|
|
1018
952
|
},
|
|
1019
953
|
{
|
|
1020
|
-
"name": "
|
|
1021
|
-
"
|
|
1022
|
-
"
|
|
954
|
+
"name": "allowClear",
|
|
955
|
+
"type": "boolean",
|
|
956
|
+
"default": "true"
|
|
1023
957
|
},
|
|
1024
958
|
{
|
|
1025
|
-
"name": "
|
|
1026
|
-
"
|
|
1027
|
-
"
|
|
959
|
+
"name": "loading",
|
|
960
|
+
"type": "boolean",
|
|
961
|
+
"default": "false"
|
|
1028
962
|
},
|
|
1029
963
|
{
|
|
1030
|
-
"name": "
|
|
964
|
+
"name": "filterTreeNode",
|
|
1031
965
|
"attribute": false,
|
|
1032
|
-
"type": "
|
|
966
|
+
"type": "AntdTreeSelectProps[\"filterTreeNode\"]"
|
|
1033
967
|
},
|
|
1034
968
|
{
|
|
1035
|
-
"name": "
|
|
969
|
+
"name": "showSearch",
|
|
970
|
+
"type": "boolean",
|
|
971
|
+
"default": "true"
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"name": "suffixIcon",
|
|
1036
975
|
"attribute": false,
|
|
1037
|
-
"type": "
|
|
976
|
+
"type": "GeneralIconProps"
|
|
1038
977
|
},
|
|
1039
978
|
{
|
|
1040
|
-
"name": "
|
|
979
|
+
"name": "popupPlacement",
|
|
980
|
+
"type": "AntdTreeSelectProps[\"placement\"]",
|
|
981
|
+
"default": "\"bottomLeft\""
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"name": "size",
|
|
985
|
+
"type": "AntdTreeSelectProps[\"size\"]"
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"name": "maxTagCount",
|
|
1041
989
|
"attribute": false,
|
|
1042
|
-
"type": "
|
|
990
|
+
"type": "number | \"responsive\""
|
|
1043
991
|
},
|
|
1044
992
|
{
|
|
1045
|
-
"name": "
|
|
993
|
+
"name": "dropdownStyle",
|
|
1046
994
|
"attribute": false,
|
|
1047
|
-
"type": "
|
|
995
|
+
"type": "CSSProperties"
|
|
1048
996
|
}
|
|
1049
997
|
],
|
|
1050
998
|
"events": [
|
|
1051
999
|
{
|
|
1052
|
-
"name": "
|
|
1000
|
+
"name": "change",
|
|
1001
|
+
"description": "",
|
|
1053
1002
|
"detail": {
|
|
1054
|
-
"
|
|
1003
|
+
"description": "{ value: AntdTreeSelectProps[\"value\"], selectedOptions: DefaultOptionType[] | DefaultOptionType[][] }",
|
|
1004
|
+
"type": "{\n value: AntdTreeSelectProps[\"value\"];\n }"
|
|
1055
1005
|
}
|
|
1056
1006
|
},
|
|
1057
1007
|
{
|
|
1058
|
-
"name": "
|
|
1008
|
+
"name": "search",
|
|
1059
1009
|
"detail": {
|
|
1060
|
-
"type": "
|
|
1010
|
+
"type": "string"
|
|
1061
1011
|
}
|
|
1062
1012
|
},
|
|
1063
1013
|
{
|
|
1064
|
-
"name": "
|
|
1014
|
+
"name": "select",
|
|
1065
1015
|
"detail": {
|
|
1066
|
-
"type": "
|
|
1016
|
+
"type": "{ value: AntdTreeSelectProps[\"value\"] }"
|
|
1067
1017
|
}
|
|
1068
1018
|
},
|
|
1069
1019
|
{
|
|
1070
|
-
"name": "
|
|
1020
|
+
"name": "expand",
|
|
1071
1021
|
"detail": {
|
|
1072
|
-
"type": "
|
|
1022
|
+
"type": "{ keys: React.Key[] }"
|
|
1073
1023
|
}
|
|
1074
1024
|
}
|
|
1075
1025
|
],
|
|
1076
1026
|
"slots": [],
|
|
1077
1027
|
"methods": [],
|
|
1078
1028
|
"parts": [],
|
|
1079
|
-
"description": "
|
|
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": [
|