@next-bricks/advanced 0.49.2 → 0.49.3
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 +18 -18
- package/dist/chunks/{4197.ec9bc920.js → 4197.dc49fc4a.js} +2 -2
- package/dist/chunks/4197.dc49fc4a.js.map +1 -0
- package/dist/chunks/eo-workbench-layout-v2.2a779f9a.js +3 -0
- package/dist/chunks/eo-workbench-layout-v2.2a779f9a.js.map +1 -0
- package/dist/chunks/{main.e684e193.js → main.08c22319.js} +2 -2
- package/dist/chunks/{main.e684e193.js.map → main.08c22319.js.map} +1 -1
- package/dist/examples.json +9 -9
- package/dist/{index.1e1e4b78.js → index.eb3f07ba.js} +2 -2
- package/dist/{index.1e1e4b78.js.map → index.eb3f07ba.js.map} +1 -1
- package/dist/manifest.json +345 -345
- package/dist/types.json +382 -382
- package/package.json +2 -2
- package/dist/chunks/4197.ec9bc920.js.map +0 -1
- package/dist/chunks/eo-workbench-layout-v2.09c0b033.js +0 -3
- package/dist/chunks/eo-workbench-layout-v2.09c0b033.js.map +0 -1
- /package/dist/chunks/{eo-workbench-layout-v2.09c0b033.js.LICENSE.txt → eo-workbench-layout-v2.2a779f9a.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -345,229 +345,99 @@
|
|
|
345
345
|
"insider": true
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
|
-
"name": "eo-
|
|
348
|
+
"name": "eo-workbench-layout-v2",
|
|
349
349
|
"properties": [
|
|
350
350
|
{
|
|
351
|
-
"name": "
|
|
352
|
-
"description": "指定表格行的 key",
|
|
353
|
-
"default": "\"key\"",
|
|
351
|
+
"name": "cardTitle",
|
|
354
352
|
"type": "string"
|
|
355
353
|
},
|
|
356
354
|
{
|
|
357
|
-
"name": "
|
|
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 优先级",
|
|
355
|
+
"name": "isEdit",
|
|
393
356
|
"type": "boolean"
|
|
394
357
|
},
|
|
395
358
|
{
|
|
396
|
-
"name": "
|
|
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)",
|
|
359
|
+
"name": "layouts",
|
|
416
360
|
"attribute": false,
|
|
417
|
-
"type": "
|
|
361
|
+
"type": "ExtraLayout[]"
|
|
418
362
|
},
|
|
419
363
|
{
|
|
420
|
-
"name": "
|
|
421
|
-
"description": "表格行展开配置",
|
|
364
|
+
"name": "toolbarBricks",
|
|
422
365
|
"attribute": false,
|
|
423
|
-
"type": "
|
|
366
|
+
"type": "{ useBrick: UseSingleBrickConf[] }"
|
|
424
367
|
},
|
|
425
368
|
{
|
|
426
|
-
"name": "
|
|
427
|
-
"description": "展开项的 key",
|
|
369
|
+
"name": "componentList",
|
|
428
370
|
"attribute": false,
|
|
429
|
-
"type": "
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"name": "childrenColumnName",
|
|
433
|
-
"description": "树形结构的列名",
|
|
434
|
-
"default": "\"children\"",
|
|
435
|
-
"type": "string"
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
"name": "rowDraggable",
|
|
439
|
-
"description": "表格行拖拽配置",
|
|
440
|
-
"type": "boolean"
|
|
371
|
+
"type": "WorkbenchComponent[]"
|
|
441
372
|
},
|
|
442
373
|
{
|
|
443
|
-
"name": "
|
|
444
|
-
"description": "
|
|
374
|
+
"name": "customDefaultCardConfigMap",
|
|
375
|
+
"description": "自定义卡片默认配置, 用于覆盖默认卡片配置",
|
|
445
376
|
"attribute": false,
|
|
446
|
-
"type": "
|
|
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"
|
|
377
|
+
"type": "Record<string, CardStyleConfig>"
|
|
459
378
|
},
|
|
460
379
|
{
|
|
461
|
-
"name": "
|
|
462
|
-
"description": "
|
|
380
|
+
"name": "showSettingButton",
|
|
381
|
+
"description": "description: 用于设置页面样式和布局的按钮",
|
|
463
382
|
"type": "boolean"
|
|
464
383
|
},
|
|
465
384
|
{
|
|
466
|
-
"name": "
|
|
467
|
-
"description": "
|
|
468
|
-
"
|
|
469
|
-
"attribute": false,
|
|
470
|
-
"type": "TableScroll"
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
"name": "optimizedColumns",
|
|
474
|
-
"description": "优化渲染的列(输入对应的 column.key)",
|
|
475
|
-
"attribute": false,
|
|
476
|
-
"type": "(string | number)[]"
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
"name": "themeVariant",
|
|
480
|
-
"description": "主题变体",
|
|
481
|
-
"type": "\"default\" | \"elevo\""
|
|
385
|
+
"name": "gap",
|
|
386
|
+
"description": "description: 卡片间隔",
|
|
387
|
+
"type": "number"
|
|
482
388
|
}
|
|
483
389
|
],
|
|
484
390
|
"events": [
|
|
485
391
|
{
|
|
486
|
-
"name": "
|
|
487
|
-
"description": "page 或 pageSize 改变的回调",
|
|
488
|
-
"detail": {
|
|
489
|
-
"description": "改变后的页码及每页条数",
|
|
490
|
-
"type": "{ page: number; pageSize: number }"
|
|
491
|
-
}
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
"name": "page.size.change",
|
|
495
|
-
"description": "pageSize 变化的回调",
|
|
496
|
-
"deprecated": "统一用 `page.change` 事件",
|
|
497
|
-
"detail": {
|
|
498
|
-
"description": "改变后的页码及每页条数",
|
|
499
|
-
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
500
|
-
}
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"name": "sort.change",
|
|
504
|
-
"description": "排序变化的回调",
|
|
505
|
-
"detail": {
|
|
506
|
-
"description": "当前排序的信息",
|
|
507
|
-
"type": "Sort | Sort[] | undefined"
|
|
508
|
-
}
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"name": "row.select",
|
|
512
|
-
"description": "行选中项发生变化时的回调",
|
|
392
|
+
"name": "change",
|
|
513
393
|
"detail": {
|
|
514
|
-
"
|
|
515
|
-
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
394
|
+
"type": "ExtraLayout[]"
|
|
516
395
|
}
|
|
517
396
|
},
|
|
518
397
|
{
|
|
519
|
-
"name": "
|
|
520
|
-
"description": "行选中项发生变化时的回调(v2 版本)",
|
|
398
|
+
"name": "save",
|
|
521
399
|
"detail": {
|
|
522
|
-
"
|
|
523
|
-
"type": "RecordType[]"
|
|
400
|
+
"type": "ExtraLayout[]"
|
|
524
401
|
}
|
|
525
402
|
},
|
|
526
403
|
{
|
|
527
|
-
"name": "
|
|
528
|
-
"description": "点击展开图标时触发",
|
|
404
|
+
"name": "cancel",
|
|
529
405
|
"detail": {
|
|
530
|
-
"
|
|
531
|
-
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
406
|
+
"type": "void"
|
|
532
407
|
}
|
|
533
408
|
},
|
|
534
409
|
{
|
|
535
|
-
"name": "
|
|
536
|
-
"description": "展开的行变化时触发",
|
|
410
|
+
"name": "setting",
|
|
537
411
|
"detail": {
|
|
538
|
-
"
|
|
539
|
-
"type": "(string | number)[]"
|
|
412
|
+
"type": "void"
|
|
540
413
|
}
|
|
541
414
|
},
|
|
542
415
|
{
|
|
543
|
-
"name": "
|
|
544
|
-
"description": "
|
|
416
|
+
"name": "action.click",
|
|
417
|
+
"description": "操作点击事件",
|
|
545
418
|
"detail": {
|
|
546
|
-
"description": "
|
|
547
|
-
"type": "{\n
|
|
419
|
+
"description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
|
|
420
|
+
"type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
|
|
548
421
|
}
|
|
549
422
|
}
|
|
550
423
|
],
|
|
551
424
|
"slots": [],
|
|
552
425
|
"methods": [
|
|
553
426
|
{
|
|
554
|
-
"name": "
|
|
427
|
+
"name": "setLayouts",
|
|
555
428
|
"params": [
|
|
556
429
|
{
|
|
557
|
-
"name": "
|
|
558
|
-
"type": "
|
|
430
|
+
"name": "layouts",
|
|
431
|
+
"type": "Layout[]"
|
|
559
432
|
}
|
|
560
|
-
]
|
|
561
|
-
"description": "前端搜索",
|
|
562
|
-
"returns": {}
|
|
433
|
+
]
|
|
563
434
|
}
|
|
564
435
|
],
|
|
565
436
|
"parts": [],
|
|
566
|
-
"description": "
|
|
567
|
-
"category": "table"
|
|
437
|
+
"description": "工作台布局V2,未使用shadow dom"
|
|
568
438
|
},
|
|
569
439
|
{
|
|
570
|
-
"name": "eo-workbench-layout
|
|
440
|
+
"name": "eo-workbench-layout",
|
|
571
441
|
"properties": [
|
|
572
442
|
{
|
|
573
443
|
"name": "cardTitle",
|
|
@@ -580,46 +450,25 @@
|
|
|
580
450
|
{
|
|
581
451
|
"name": "layouts",
|
|
582
452
|
"attribute": false,
|
|
583
|
-
"type": "
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
"name": "toolbarBricks",
|
|
587
|
-
"attribute": false,
|
|
588
|
-
"type": "{ useBrick: UseSingleBrickConf[] }"
|
|
453
|
+
"type": "Layout[]"
|
|
589
454
|
},
|
|
590
455
|
{
|
|
591
456
|
"name": "componentList",
|
|
592
457
|
"attribute": false,
|
|
593
|
-
"type": "
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
"name": "customDefaultCardConfigMap",
|
|
597
|
-
"description": "自定义卡片默认配置, 用于覆盖默认卡片配置",
|
|
598
|
-
"attribute": false,
|
|
599
|
-
"type": "Record<string, CardStyleConfig>"
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
"name": "showSettingButton",
|
|
603
|
-
"description": "description: 用于设置页面样式和布局的按钮",
|
|
604
|
-
"type": "boolean"
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
"name": "gap",
|
|
608
|
-
"description": "description: 卡片间隔",
|
|
609
|
-
"type": "number"
|
|
458
|
+
"type": "Item[]"
|
|
610
459
|
}
|
|
611
460
|
],
|
|
612
461
|
"events": [
|
|
613
462
|
{
|
|
614
463
|
"name": "change",
|
|
615
464
|
"detail": {
|
|
616
|
-
"type": "
|
|
465
|
+
"type": "Layout[]"
|
|
617
466
|
}
|
|
618
467
|
},
|
|
619
468
|
{
|
|
620
469
|
"name": "save",
|
|
621
470
|
"detail": {
|
|
622
|
-
"type": "
|
|
471
|
+
"type": "Layout[]"
|
|
623
472
|
}
|
|
624
473
|
},
|
|
625
474
|
{
|
|
@@ -628,12 +477,6 @@
|
|
|
628
477
|
"type": "void"
|
|
629
478
|
}
|
|
630
479
|
},
|
|
631
|
-
{
|
|
632
|
-
"name": "setting",
|
|
633
|
-
"detail": {
|
|
634
|
-
"type": "void"
|
|
635
|
-
}
|
|
636
|
-
},
|
|
637
480
|
{
|
|
638
481
|
"name": "action.click",
|
|
639
482
|
"description": "操作点击事件",
|
|
@@ -656,131 +499,25 @@
|
|
|
656
499
|
}
|
|
657
500
|
],
|
|
658
501
|
"parts": [],
|
|
659
|
-
"description": "工作台布局
|
|
502
|
+
"description": "工作台布局",
|
|
503
|
+
"deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
|
|
660
504
|
},
|
|
661
505
|
{
|
|
662
|
-
"name": "eo-
|
|
663
|
-
"alias": [
|
|
664
|
-
"advanced.general-cascader"
|
|
665
|
-
],
|
|
506
|
+
"name": "eo-tree",
|
|
666
507
|
"properties": [
|
|
667
508
|
{
|
|
668
|
-
"name": "
|
|
669
|
-
"
|
|
509
|
+
"name": "dataSource",
|
|
510
|
+
"attribute": false,
|
|
511
|
+
"type": "TreeNode[]"
|
|
670
512
|
},
|
|
671
513
|
{
|
|
672
|
-
"name": "
|
|
673
|
-
"type": "
|
|
514
|
+
"name": "checkable",
|
|
515
|
+
"type": "boolean"
|
|
674
516
|
},
|
|
675
517
|
{
|
|
676
|
-
"name": "
|
|
677
|
-
"
|
|
678
|
-
|
|
679
|
-
{
|
|
680
|
-
"name": "options",
|
|
681
|
-
"attribute": false,
|
|
682
|
-
"type": "AntdCascaderProps[\"options\"]"
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
"name": "fieldNames",
|
|
686
|
-
"attribute": false,
|
|
687
|
-
"type": "AntdCascaderProps[\"fieldNames\"]",
|
|
688
|
-
"default": "{\n label: \"label\",\n value: \"value\",\n children: \"children\",\n }"
|
|
689
|
-
},
|
|
690
|
-
{
|
|
691
|
-
"name": "value",
|
|
692
|
-
"attribute": false,
|
|
693
|
-
"type": "AntdCascaderProps[\"value\"]"
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
"name": "placeholder",
|
|
697
|
-
"type": "string"
|
|
698
|
-
},
|
|
699
|
-
{
|
|
700
|
-
"name": "multiple",
|
|
701
|
-
"type": "boolean"
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
"name": "disabled",
|
|
705
|
-
"type": "boolean"
|
|
706
|
-
},
|
|
707
|
-
{
|
|
708
|
-
"name": "allowClear",
|
|
709
|
-
"type": "boolean",
|
|
710
|
-
"default": "true"
|
|
711
|
-
},
|
|
712
|
-
{
|
|
713
|
-
"name": "showSearch",
|
|
714
|
-
"type": "boolean",
|
|
715
|
-
"default": "true"
|
|
716
|
-
},
|
|
717
|
-
{
|
|
718
|
-
"name": "suffixIcon",
|
|
719
|
-
"attribute": false,
|
|
720
|
-
"type": "GeneralIconProps"
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
"name": "expandTrigger",
|
|
724
|
-
"type": "AntdCascaderProps[\"expandTrigger\"]",
|
|
725
|
-
"default": "\"click\""
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
"name": "popupPlacement",
|
|
729
|
-
"type": "AntdCascaderProps[\"placement\"]",
|
|
730
|
-
"default": "\"bottomLeft\""
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
"name": "size",
|
|
734
|
-
"type": "AntdCascaderProps[\"size\"]"
|
|
735
|
-
},
|
|
736
|
-
{
|
|
737
|
-
"name": "limit",
|
|
738
|
-
"type": "number",
|
|
739
|
-
"default": "50"
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
"name": "maxTagCount",
|
|
743
|
-
"attribute": false,
|
|
744
|
-
"type": "number | \"responsive\""
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
"name": "cascaderStyle",
|
|
748
|
-
"attribute": false,
|
|
749
|
-
"type": "CSSProperties"
|
|
750
|
-
}
|
|
751
|
-
],
|
|
752
|
-
"events": [
|
|
753
|
-
{
|
|
754
|
-
"name": "cascader.change",
|
|
755
|
-
"description": "",
|
|
756
|
-
"detail": {
|
|
757
|
-
"description": "{ value: AntdCascaderProps[\"value\"], selectedOptions: DefaultOptionType[] | DefaultOptionType[][] }",
|
|
758
|
-
"type": "{\n value: AntdCascaderProps[\"value\"];\n selectedOptions: DefaultOptionType[] | DefaultOptionType[][];\n }"
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
],
|
|
762
|
-
"slots": [],
|
|
763
|
-
"methods": [],
|
|
764
|
-
"parts": [],
|
|
765
|
-
"description": "级联选择器",
|
|
766
|
-
"category": "form-input-basic"
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
"name": "eo-tree",
|
|
770
|
-
"properties": [
|
|
771
|
-
{
|
|
772
|
-
"name": "dataSource",
|
|
773
|
-
"attribute": false,
|
|
774
|
-
"type": "TreeNode[]"
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
"name": "checkable",
|
|
778
|
-
"type": "boolean"
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
"name": "selectable",
|
|
782
|
-
"description": "",
|
|
783
|
-
"default": "true",
|
|
518
|
+
"name": "selectable",
|
|
519
|
+
"description": "",
|
|
520
|
+
"default": "true",
|
|
784
521
|
"type": "boolean"
|
|
785
522
|
},
|
|
786
523
|
{
|
|
@@ -992,6 +729,33 @@
|
|
|
992
729
|
"description": "树选择器",
|
|
993
730
|
"category": "form-input-basic"
|
|
994
731
|
},
|
|
732
|
+
{
|
|
733
|
+
"name": "advanced.pdf-viewer",
|
|
734
|
+
"properties": [
|
|
735
|
+
{
|
|
736
|
+
"name": "url",
|
|
737
|
+
"type": "string"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"name": "page",
|
|
741
|
+
"type": "number"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"name": "search",
|
|
745
|
+
"type": "string"
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"name": "viewerStyle",
|
|
749
|
+
"attribute": false,
|
|
750
|
+
"type": "React.CSSProperties"
|
|
751
|
+
}
|
|
752
|
+
],
|
|
753
|
+
"events": [],
|
|
754
|
+
"slots": [],
|
|
755
|
+
"methods": [],
|
|
756
|
+
"parts": [],
|
|
757
|
+
"description": "构件 `advanced.pdf-viewer`"
|
|
758
|
+
},
|
|
995
759
|
{
|
|
996
760
|
"name": "eo-text-tooltip",
|
|
997
761
|
"properties": [
|
|
@@ -1015,97 +779,333 @@
|
|
|
1015
779
|
"description": "超出宽度鼠标悬浮显示tooltip\n构件 `eo-text-tooltip`"
|
|
1016
780
|
},
|
|
1017
781
|
{
|
|
1018
|
-
"name": "
|
|
782
|
+
"name": "eo-cascader",
|
|
783
|
+
"alias": [
|
|
784
|
+
"advanced.general-cascader"
|
|
785
|
+
],
|
|
1019
786
|
"properties": [
|
|
1020
787
|
{
|
|
1021
|
-
"name": "
|
|
788
|
+
"name": "name",
|
|
1022
789
|
"type": "string"
|
|
1023
790
|
},
|
|
1024
791
|
{
|
|
1025
|
-
"name": "
|
|
1026
|
-
"type": "
|
|
792
|
+
"name": "label",
|
|
793
|
+
"type": "string"
|
|
1027
794
|
},
|
|
1028
795
|
{
|
|
1029
|
-
"name": "
|
|
796
|
+
"name": "required",
|
|
797
|
+
"type": "boolean"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"name": "options",
|
|
801
|
+
"attribute": false,
|
|
802
|
+
"type": "AntdCascaderProps[\"options\"]"
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"name": "fieldNames",
|
|
806
|
+
"attribute": false,
|
|
807
|
+
"type": "AntdCascaderProps[\"fieldNames\"]",
|
|
808
|
+
"default": "{\n label: \"label\",\n value: \"value\",\n children: \"children\",\n }"
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"name": "value",
|
|
812
|
+
"attribute": false,
|
|
813
|
+
"type": "AntdCascaderProps[\"value\"]"
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"name": "placeholder",
|
|
1030
817
|
"type": "string"
|
|
1031
818
|
},
|
|
1032
819
|
{
|
|
1033
|
-
"name": "
|
|
820
|
+
"name": "multiple",
|
|
821
|
+
"type": "boolean"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"name": "disabled",
|
|
825
|
+
"type": "boolean"
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"name": "allowClear",
|
|
829
|
+
"type": "boolean",
|
|
830
|
+
"default": "true"
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"name": "showSearch",
|
|
834
|
+
"type": "boolean",
|
|
835
|
+
"default": "true"
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"name": "suffixIcon",
|
|
1034
839
|
"attribute": false,
|
|
1035
|
-
"type": "
|
|
840
|
+
"type": "GeneralIconProps"
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"name": "expandTrigger",
|
|
844
|
+
"type": "AntdCascaderProps[\"expandTrigger\"]",
|
|
845
|
+
"default": "\"click\""
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"name": "popupPlacement",
|
|
849
|
+
"type": "AntdCascaderProps[\"placement\"]",
|
|
850
|
+
"default": "\"bottomLeft\""
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"name": "size",
|
|
854
|
+
"type": "AntdCascaderProps[\"size\"]"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"name": "limit",
|
|
858
|
+
"type": "number",
|
|
859
|
+
"default": "50"
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
"name": "maxTagCount",
|
|
863
|
+
"attribute": false,
|
|
864
|
+
"type": "number | \"responsive\""
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"name": "cascaderStyle",
|
|
868
|
+
"attribute": false,
|
|
869
|
+
"type": "CSSProperties"
|
|
870
|
+
}
|
|
871
|
+
],
|
|
872
|
+
"events": [
|
|
873
|
+
{
|
|
874
|
+
"name": "cascader.change",
|
|
875
|
+
"description": "",
|
|
876
|
+
"detail": {
|
|
877
|
+
"description": "{ value: AntdCascaderProps[\"value\"], selectedOptions: DefaultOptionType[] | DefaultOptionType[][] }",
|
|
878
|
+
"type": "{\n value: AntdCascaderProps[\"value\"];\n selectedOptions: DefaultOptionType[] | DefaultOptionType[][];\n }"
|
|
879
|
+
}
|
|
1036
880
|
}
|
|
1037
881
|
],
|
|
1038
|
-
"events": [],
|
|
1039
882
|
"slots": [],
|
|
1040
883
|
"methods": [],
|
|
1041
884
|
"parts": [],
|
|
1042
|
-
"description": "
|
|
885
|
+
"description": "级联选择器",
|
|
886
|
+
"category": "form-input-basic"
|
|
1043
887
|
},
|
|
1044
888
|
{
|
|
1045
|
-
"name": "eo-
|
|
889
|
+
"name": "eo-next-table",
|
|
1046
890
|
"properties": [
|
|
1047
891
|
{
|
|
1048
|
-
"name": "
|
|
892
|
+
"name": "rowKey",
|
|
893
|
+
"description": "指定表格行的 key",
|
|
894
|
+
"default": "\"key\"",
|
|
1049
895
|
"type": "string"
|
|
1050
896
|
},
|
|
1051
897
|
{
|
|
1052
|
-
"name": "
|
|
898
|
+
"name": "columns",
|
|
899
|
+
"description": "列定义",
|
|
900
|
+
"attribute": false,
|
|
901
|
+
"type": "Column[]"
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"name": "cell",
|
|
905
|
+
"description": "单元格",
|
|
906
|
+
"attribute": false,
|
|
907
|
+
"type": "CellConfig"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"name": "dataSource",
|
|
911
|
+
"description": "数据源",
|
|
912
|
+
"attribute": false,
|
|
913
|
+
"type": "DataSource"
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"name": "frontSearch",
|
|
917
|
+
"description": "是否前端搜索",
|
|
1053
918
|
"type": "boolean"
|
|
1054
919
|
},
|
|
1055
920
|
{
|
|
1056
|
-
"name": "
|
|
921
|
+
"name": "pagination",
|
|
922
|
+
"description": "分页配置",
|
|
1057
923
|
"attribute": false,
|
|
1058
|
-
"type": "
|
|
924
|
+
"type": "PaginationType"
|
|
1059
925
|
},
|
|
1060
926
|
{
|
|
1061
|
-
"name": "
|
|
927
|
+
"name": "loading",
|
|
928
|
+
"description": "显示加载中状态",
|
|
929
|
+
"type": "boolean"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"name": "multiSort",
|
|
933
|
+
"description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
|
|
934
|
+
"type": "boolean"
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"name": "sort",
|
|
938
|
+
"description": "排序信息",
|
|
1062
939
|
"attribute": false,
|
|
1063
|
-
"type": "
|
|
940
|
+
"type": "Sort | Sort[]"
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"name": "rowSelection",
|
|
944
|
+
"description": "表格行可选择配置",
|
|
945
|
+
"attribute": false,
|
|
946
|
+
"type": "RowSelectionType"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"name": "selectedRowKeys",
|
|
950
|
+
"description": "选中项的 key",
|
|
951
|
+
"attribute": false,
|
|
952
|
+
"type": "(string | number)[]"
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
"name": "hiddenColumns",
|
|
956
|
+
"description": "隐藏的列(输入对应的 column.key)",
|
|
957
|
+
"attribute": false,
|
|
958
|
+
"type": "(string | number)[]"
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"name": "expandable",
|
|
962
|
+
"description": "表格行展开配置",
|
|
963
|
+
"attribute": false,
|
|
964
|
+
"type": "ExpandableType"
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"name": "expandedRowKeys",
|
|
968
|
+
"description": "展开项的 key",
|
|
969
|
+
"attribute": false,
|
|
970
|
+
"type": "(string | number)[]"
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"name": "childrenColumnName",
|
|
974
|
+
"description": "树形结构的列名",
|
|
975
|
+
"default": "\"children\"",
|
|
976
|
+
"type": "string"
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"name": "rowDraggable",
|
|
980
|
+
"description": "表格行拖拽配置",
|
|
981
|
+
"type": "boolean"
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"name": "searchFields",
|
|
985
|
+
"description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
|
|
986
|
+
"attribute": false,
|
|
987
|
+
"type": "(string | string[])[]"
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"name": "size",
|
|
991
|
+
"description": "表格大小",
|
|
992
|
+
"default": "\"large\"",
|
|
993
|
+
"type": "TableProps<RecordType>[\"size\"]"
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"name": "showHeader",
|
|
997
|
+
"description": "是否显示表头",
|
|
998
|
+
"default": "true",
|
|
999
|
+
"type": "boolean"
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"name": "bordered",
|
|
1003
|
+
"description": "是否显示边框",
|
|
1004
|
+
"type": "boolean"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"name": "scrollConfig",
|
|
1008
|
+
"description": "滚动配置",
|
|
1009
|
+
"default": "{ x: true }",
|
|
1010
|
+
"attribute": false,
|
|
1011
|
+
"type": "TableScroll"
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"name": "optimizedColumns",
|
|
1015
|
+
"description": "优化渲染的列(输入对应的 column.key)",
|
|
1016
|
+
"attribute": false,
|
|
1017
|
+
"type": "(string | number)[]"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"name": "themeVariant",
|
|
1021
|
+
"description": "主题变体",
|
|
1022
|
+
"type": "\"default\" | \"elevo\""
|
|
1064
1023
|
}
|
|
1065
1024
|
],
|
|
1066
1025
|
"events": [
|
|
1067
1026
|
{
|
|
1068
|
-
"name": "change",
|
|
1027
|
+
"name": "page.change",
|
|
1028
|
+
"description": "page 或 pageSize 改变的回调",
|
|
1069
1029
|
"detail": {
|
|
1070
|
-
"
|
|
1030
|
+
"description": "改变后的页码及每页条数",
|
|
1031
|
+
"type": "{ page: number; pageSize: number }"
|
|
1071
1032
|
}
|
|
1072
1033
|
},
|
|
1073
1034
|
{
|
|
1074
|
-
"name": "
|
|
1035
|
+
"name": "page.size.change",
|
|
1036
|
+
"description": "pageSize 变化的回调",
|
|
1037
|
+
"deprecated": "统一用 `page.change` 事件",
|
|
1075
1038
|
"detail": {
|
|
1076
|
-
"
|
|
1039
|
+
"description": "改变后的页码及每页条数",
|
|
1040
|
+
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
1077
1041
|
}
|
|
1078
1042
|
},
|
|
1079
1043
|
{
|
|
1080
|
-
"name": "
|
|
1044
|
+
"name": "sort.change",
|
|
1045
|
+
"description": "排序变化的回调",
|
|
1081
1046
|
"detail": {
|
|
1082
|
-
"
|
|
1047
|
+
"description": "当前排序的信息",
|
|
1048
|
+
"type": "Sort | Sort[] | undefined"
|
|
1083
1049
|
}
|
|
1084
1050
|
},
|
|
1085
1051
|
{
|
|
1086
|
-
"name": "
|
|
1087
|
-
"description": "
|
|
1052
|
+
"name": "row.select",
|
|
1053
|
+
"description": "行选中项发生变化时的回调",
|
|
1088
1054
|
"detail": {
|
|
1089
|
-
"description": "
|
|
1090
|
-
"type": "{\n
|
|
1055
|
+
"description": "改变后的 rowKey 及行数据",
|
|
1056
|
+
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
1057
|
+
}
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"name": "row.select.v2",
|
|
1061
|
+
"description": "行选中项发生变化时的回调(v2 版本)",
|
|
1062
|
+
"detail": {
|
|
1063
|
+
"description": "改变后的行数据",
|
|
1064
|
+
"type": "RecordType[]"
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"name": "row.expand",
|
|
1069
|
+
"description": "点击展开图标时触发",
|
|
1070
|
+
"detail": {
|
|
1071
|
+
"description": "当前行的展开情况及数据",
|
|
1072
|
+
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"name": "expanded.rows.change",
|
|
1077
|
+
"description": "展开的行变化时触发",
|
|
1078
|
+
"detail": {
|
|
1079
|
+
"description": "所有展开行的 key",
|
|
1080
|
+
"type": "(string | number)[]"
|
|
1081
|
+
}
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"name": "row.drag",
|
|
1085
|
+
"description": "表格行拖拽结束发生的事件",
|
|
1086
|
+
"detail": {
|
|
1087
|
+
"description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
|
|
1088
|
+
"type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
|
|
1091
1089
|
}
|
|
1092
1090
|
}
|
|
1093
1091
|
],
|
|
1094
1092
|
"slots": [],
|
|
1095
1093
|
"methods": [
|
|
1096
1094
|
{
|
|
1097
|
-
"name": "
|
|
1095
|
+
"name": "search",
|
|
1098
1096
|
"params": [
|
|
1099
1097
|
{
|
|
1100
|
-
"name": "
|
|
1101
|
-
"type": "
|
|
1098
|
+
"name": "params",
|
|
1099
|
+
"type": "{ q: string }"
|
|
1102
1100
|
}
|
|
1103
|
-
]
|
|
1101
|
+
],
|
|
1102
|
+
"description": "前端搜索",
|
|
1103
|
+
"returns": {}
|
|
1104
1104
|
}
|
|
1105
1105
|
],
|
|
1106
1106
|
"parts": [],
|
|
1107
|
-
"description": "
|
|
1108
|
-
"
|
|
1107
|
+
"description": "大型表格",
|
|
1108
|
+
"category": "table"
|
|
1109
1109
|
}
|
|
1110
1110
|
],
|
|
1111
1111
|
"providers": [
|