@next-bricks/advanced 0.49.0 → 0.49.2
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.f0a774ab.js → 4197.ec9bc920.js} +2 -2
- package/dist/chunks/4197.ec9bc920.js.map +1 -0
- package/dist/chunks/{eo-workbench-layout-v2.bd8b47e6.js → eo-workbench-layout-v2.09c0b033.js} +3 -3
- package/dist/chunks/eo-workbench-layout-v2.09c0b033.js.map +1 -0
- package/dist/chunks/{main.90752277.js → main.e684e193.js} +2 -2
- package/dist/chunks/{main.90752277.js.map → main.e684e193.js.map} +1 -1
- package/dist/examples.json +4 -4
- package/dist/{index.42fe3d36.js → index.1e1e4b78.js} +2 -2
- package/dist/{index.42fe3d36.js.map → index.1e1e4b78.js.map} +1 -1
- package/dist/manifest.json +304 -299
- package/dist/types.json +241 -234
- package/dist-types/interfaces/workbench.d.ts +1 -0
- package/dist-types/workbench-layout-v2/index.d.ts +5 -0
- package/package.json +2 -2
- package/dist/chunks/4197.f0a774ab.js.map +0 -1
- package/dist/chunks/eo-workbench-layout-v2.bd8b47e6.js.map +0 -1
- /package/dist/chunks/{eo-workbench-layout-v2.bd8b47e6.js.LICENSE.txt → eo-workbench-layout-v2.09c0b033.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -345,7 +345,229 @@
|
|
|
345
345
|
"insider": true
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
|
-
"name": "eo-
|
|
348
|
+
"name": "eo-next-table",
|
|
349
|
+
"properties": [
|
|
350
|
+
{
|
|
351
|
+
"name": "rowKey",
|
|
352
|
+
"description": "指定表格行的 key",
|
|
353
|
+
"default": "\"key\"",
|
|
354
|
+
"type": "string"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
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": "是否前端搜索",
|
|
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 优先级",
|
|
393
|
+
"type": "boolean"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"name": "sort",
|
|
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)",
|
|
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": "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\""
|
|
482
|
+
}
|
|
483
|
+
],
|
|
484
|
+
"events": [
|
|
485
|
+
{
|
|
486
|
+
"name": "page.change",
|
|
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": "行选中项发生变化时的回调",
|
|
513
|
+
"detail": {
|
|
514
|
+
"description": "改变后的 rowKey 及行数据",
|
|
515
|
+
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"name": "row.select.v2",
|
|
520
|
+
"description": "行选中项发生变化时的回调(v2 版本)",
|
|
521
|
+
"detail": {
|
|
522
|
+
"description": "改变后的行数据",
|
|
523
|
+
"type": "RecordType[]"
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"name": "row.expand",
|
|
528
|
+
"description": "点击展开图标时触发",
|
|
529
|
+
"detail": {
|
|
530
|
+
"description": "当前行的展开情况及数据",
|
|
531
|
+
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"name": "expanded.rows.change",
|
|
536
|
+
"description": "展开的行变化时触发",
|
|
537
|
+
"detail": {
|
|
538
|
+
"description": "所有展开行的 key",
|
|
539
|
+
"type": "(string | number)[]"
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"name": "row.drag",
|
|
544
|
+
"description": "表格行拖拽结束发生的事件",
|
|
545
|
+
"detail": {
|
|
546
|
+
"description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
|
|
547
|
+
"type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
"slots": [],
|
|
552
|
+
"methods": [
|
|
553
|
+
{
|
|
554
|
+
"name": "search",
|
|
555
|
+
"params": [
|
|
556
|
+
{
|
|
557
|
+
"name": "params",
|
|
558
|
+
"type": "{ q: string }"
|
|
559
|
+
}
|
|
560
|
+
],
|
|
561
|
+
"description": "前端搜索",
|
|
562
|
+
"returns": {}
|
|
563
|
+
}
|
|
564
|
+
],
|
|
565
|
+
"parts": [],
|
|
566
|
+
"description": "大型表格",
|
|
567
|
+
"category": "table"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"name": "eo-workbench-layout-v2",
|
|
349
571
|
"properties": [
|
|
350
572
|
{
|
|
351
573
|
"name": "cardTitle",
|
|
@@ -358,25 +580,46 @@
|
|
|
358
580
|
{
|
|
359
581
|
"name": "layouts",
|
|
360
582
|
"attribute": false,
|
|
361
|
-
"type": "
|
|
583
|
+
"type": "ExtraLayout[]"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"name": "toolbarBricks",
|
|
587
|
+
"attribute": false,
|
|
588
|
+
"type": "{ useBrick: UseSingleBrickConf[] }"
|
|
362
589
|
},
|
|
363
590
|
{
|
|
364
591
|
"name": "componentList",
|
|
365
592
|
"attribute": false,
|
|
366
|
-
"type": "
|
|
593
|
+
"type": "WorkbenchComponent[]"
|
|
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"
|
|
367
610
|
}
|
|
368
611
|
],
|
|
369
612
|
"events": [
|
|
370
613
|
{
|
|
371
614
|
"name": "change",
|
|
372
615
|
"detail": {
|
|
373
|
-
"type": "
|
|
616
|
+
"type": "ExtraLayout[]"
|
|
374
617
|
}
|
|
375
618
|
},
|
|
376
619
|
{
|
|
377
620
|
"name": "save",
|
|
378
621
|
"detail": {
|
|
379
|
-
"type": "
|
|
622
|
+
"type": "ExtraLayout[]"
|
|
380
623
|
}
|
|
381
624
|
},
|
|
382
625
|
{
|
|
@@ -385,6 +628,12 @@
|
|
|
385
628
|
"type": "void"
|
|
386
629
|
}
|
|
387
630
|
},
|
|
631
|
+
{
|
|
632
|
+
"name": "setting",
|
|
633
|
+
"detail": {
|
|
634
|
+
"type": "void"
|
|
635
|
+
}
|
|
636
|
+
},
|
|
388
637
|
{
|
|
389
638
|
"name": "action.click",
|
|
390
639
|
"description": "操作点击事件",
|
|
@@ -407,8 +656,7 @@
|
|
|
407
656
|
}
|
|
408
657
|
],
|
|
409
658
|
"parts": [],
|
|
410
|
-
"description": "工作台布局"
|
|
411
|
-
"deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
|
|
659
|
+
"description": "工作台布局V2,未使用shadow dom"
|
|
412
660
|
},
|
|
413
661
|
{
|
|
414
662
|
"name": "eo-cascader",
|
|
@@ -476,133 +724,46 @@
|
|
|
476
724
|
"type": "AntdCascaderProps[\"expandTrigger\"]",
|
|
477
725
|
"default": "\"click\""
|
|
478
726
|
},
|
|
479
|
-
{
|
|
480
|
-
"name": "popupPlacement",
|
|
481
|
-
"type": "AntdCascaderProps[\"placement\"]",
|
|
482
|
-
"default": "\"bottomLeft\""
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
"name": "size",
|
|
486
|
-
"type": "AntdCascaderProps[\"size\"]"
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
"name": "limit",
|
|
490
|
-
"type": "number",
|
|
491
|
-
"default": "50"
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
"name": "maxTagCount",
|
|
495
|
-
"attribute": false,
|
|
496
|
-
"type": "number | \"responsive\""
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
"name": "cascaderStyle",
|
|
500
|
-
"attribute": false,
|
|
501
|
-
"type": "CSSProperties"
|
|
502
|
-
}
|
|
503
|
-
],
|
|
504
|
-
"events": [
|
|
505
|
-
{
|
|
506
|
-
"name": "cascader.change",
|
|
507
|
-
"description": "",
|
|
508
|
-
"detail": {
|
|
509
|
-
"description": "{ value: AntdCascaderProps[\"value\"], selectedOptions: DefaultOptionType[] | DefaultOptionType[][] }",
|
|
510
|
-
"type": "{\n value: AntdCascaderProps[\"value\"];\n selectedOptions: DefaultOptionType[] | DefaultOptionType[][];\n }"
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
],
|
|
514
|
-
"slots": [],
|
|
515
|
-
"methods": [],
|
|
516
|
-
"parts": [],
|
|
517
|
-
"description": "级联选择器",
|
|
518
|
-
"category": "form-input-basic"
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
"name": "eo-workbench-layout-v2",
|
|
522
|
-
"properties": [
|
|
523
|
-
{
|
|
524
|
-
"name": "cardTitle",
|
|
525
|
-
"type": "string"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"name": "isEdit",
|
|
529
|
-
"type": "boolean"
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
"name": "layouts",
|
|
533
|
-
"attribute": false,
|
|
534
|
-
"type": "ExtraLayout[]"
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
"name": "toolbarBricks",
|
|
538
|
-
"attribute": false,
|
|
539
|
-
"type": "{ useBrick: UseSingleBrickConf[] }"
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
"name": "componentList",
|
|
543
|
-
"attribute": false,
|
|
544
|
-
"type": "WorkbenchComponent[]"
|
|
545
|
-
},
|
|
546
|
-
{
|
|
547
|
-
"name": "customDefaultCardConfigMap",
|
|
548
|
-
"description": "自定义卡片默认配置, 用于覆盖默认卡片配置",
|
|
549
|
-
"attribute": false,
|
|
550
|
-
"type": "Record<string, CardStyleConfig>"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"name": "showSettingButton",
|
|
554
|
-
"description": "description: 用于设置页面样式和布局的按钮",
|
|
555
|
-
"type": "boolean"
|
|
556
|
-
}
|
|
557
|
-
],
|
|
558
|
-
"events": [
|
|
559
|
-
{
|
|
560
|
-
"name": "change",
|
|
561
|
-
"detail": {
|
|
562
|
-
"type": "ExtraLayout[]"
|
|
563
|
-
}
|
|
727
|
+
{
|
|
728
|
+
"name": "popupPlacement",
|
|
729
|
+
"type": "AntdCascaderProps[\"placement\"]",
|
|
730
|
+
"default": "\"bottomLeft\""
|
|
564
731
|
},
|
|
565
732
|
{
|
|
566
|
-
"name": "
|
|
567
|
-
"
|
|
568
|
-
"type": "ExtraLayout[]"
|
|
569
|
-
}
|
|
733
|
+
"name": "size",
|
|
734
|
+
"type": "AntdCascaderProps[\"size\"]"
|
|
570
735
|
},
|
|
571
736
|
{
|
|
572
|
-
"name": "
|
|
573
|
-
"
|
|
574
|
-
|
|
575
|
-
}
|
|
737
|
+
"name": "limit",
|
|
738
|
+
"type": "number",
|
|
739
|
+
"default": "50"
|
|
576
740
|
},
|
|
577
741
|
{
|
|
578
|
-
"name": "
|
|
579
|
-
"
|
|
580
|
-
|
|
581
|
-
}
|
|
742
|
+
"name": "maxTagCount",
|
|
743
|
+
"attribute": false,
|
|
744
|
+
"type": "number | \"responsive\""
|
|
582
745
|
},
|
|
583
746
|
{
|
|
584
|
-
"name": "
|
|
585
|
-
"
|
|
586
|
-
"
|
|
587
|
-
"description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
|
|
588
|
-
"type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
|
|
589
|
-
}
|
|
747
|
+
"name": "cascaderStyle",
|
|
748
|
+
"attribute": false,
|
|
749
|
+
"type": "CSSProperties"
|
|
590
750
|
}
|
|
591
751
|
],
|
|
592
|
-
"
|
|
593
|
-
"methods": [
|
|
752
|
+
"events": [
|
|
594
753
|
{
|
|
595
|
-
"name": "
|
|
596
|
-
"
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
]
|
|
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
|
+
}
|
|
602
760
|
}
|
|
603
761
|
],
|
|
762
|
+
"slots": [],
|
|
763
|
+
"methods": [],
|
|
604
764
|
"parts": [],
|
|
605
|
-
"description": "
|
|
765
|
+
"description": "级联选择器",
|
|
766
|
+
"category": "form-input-basic"
|
|
606
767
|
},
|
|
607
768
|
{
|
|
608
769
|
"name": "eo-tree",
|
|
@@ -881,226 +1042,70 @@
|
|
|
881
1042
|
"description": "构件 `advanced.pdf-viewer`"
|
|
882
1043
|
},
|
|
883
1044
|
{
|
|
884
|
-
"name": "eo-
|
|
1045
|
+
"name": "eo-workbench-layout",
|
|
885
1046
|
"properties": [
|
|
886
1047
|
{
|
|
887
|
-
"name": "
|
|
888
|
-
"description": "指定表格行的 key",
|
|
889
|
-
"default": "\"key\"",
|
|
890
|
-
"type": "string"
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
"name": "columns",
|
|
894
|
-
"description": "列定义",
|
|
895
|
-
"attribute": false,
|
|
896
|
-
"type": "Column[]"
|
|
897
|
-
},
|
|
898
|
-
{
|
|
899
|
-
"name": "cell",
|
|
900
|
-
"description": "单元格",
|
|
901
|
-
"attribute": false,
|
|
902
|
-
"type": "CellConfig"
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
"name": "dataSource",
|
|
906
|
-
"description": "数据源",
|
|
907
|
-
"attribute": false,
|
|
908
|
-
"type": "DataSource"
|
|
909
|
-
},
|
|
910
|
-
{
|
|
911
|
-
"name": "frontSearch",
|
|
912
|
-
"description": "是否前端搜索",
|
|
913
|
-
"type": "boolean"
|
|
914
|
-
},
|
|
915
|
-
{
|
|
916
|
-
"name": "pagination",
|
|
917
|
-
"description": "分页配置",
|
|
918
|
-
"attribute": false,
|
|
919
|
-
"type": "PaginationType"
|
|
920
|
-
},
|
|
921
|
-
{
|
|
922
|
-
"name": "loading",
|
|
923
|
-
"description": "显示加载中状态",
|
|
924
|
-
"type": "boolean"
|
|
925
|
-
},
|
|
926
|
-
{
|
|
927
|
-
"name": "multiSort",
|
|
928
|
-
"description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
|
|
929
|
-
"type": "boolean"
|
|
930
|
-
},
|
|
931
|
-
{
|
|
932
|
-
"name": "sort",
|
|
933
|
-
"description": "排序信息",
|
|
934
|
-
"attribute": false,
|
|
935
|
-
"type": "Sort | Sort[]"
|
|
936
|
-
},
|
|
937
|
-
{
|
|
938
|
-
"name": "rowSelection",
|
|
939
|
-
"description": "表格行可选择配置",
|
|
940
|
-
"attribute": false,
|
|
941
|
-
"type": "RowSelectionType"
|
|
942
|
-
},
|
|
943
|
-
{
|
|
944
|
-
"name": "selectedRowKeys",
|
|
945
|
-
"description": "选中项的 key",
|
|
946
|
-
"attribute": false,
|
|
947
|
-
"type": "(string | number)[]"
|
|
948
|
-
},
|
|
949
|
-
{
|
|
950
|
-
"name": "hiddenColumns",
|
|
951
|
-
"description": "隐藏的列(输入对应的 column.key)",
|
|
952
|
-
"attribute": false,
|
|
953
|
-
"type": "(string | number)[]"
|
|
954
|
-
},
|
|
955
|
-
{
|
|
956
|
-
"name": "expandable",
|
|
957
|
-
"description": "表格行展开配置",
|
|
958
|
-
"attribute": false,
|
|
959
|
-
"type": "ExpandableType"
|
|
960
|
-
},
|
|
961
|
-
{
|
|
962
|
-
"name": "expandedRowKeys",
|
|
963
|
-
"description": "展开项的 key",
|
|
964
|
-
"attribute": false,
|
|
965
|
-
"type": "(string | number)[]"
|
|
966
|
-
},
|
|
967
|
-
{
|
|
968
|
-
"name": "childrenColumnName",
|
|
969
|
-
"description": "树形结构的列名",
|
|
970
|
-
"default": "\"children\"",
|
|
1048
|
+
"name": "cardTitle",
|
|
971
1049
|
"type": "string"
|
|
972
1050
|
},
|
|
973
1051
|
{
|
|
974
|
-
"name": "
|
|
975
|
-
"description": "表格行拖拽配置",
|
|
976
|
-
"type": "boolean"
|
|
977
|
-
},
|
|
978
|
-
{
|
|
979
|
-
"name": "searchFields",
|
|
980
|
-
"description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
|
|
981
|
-
"attribute": false,
|
|
982
|
-
"type": "(string | string[])[]"
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
"name": "size",
|
|
986
|
-
"description": "表格大小",
|
|
987
|
-
"default": "\"large\"",
|
|
988
|
-
"type": "TableProps<RecordType>[\"size\"]"
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
"name": "showHeader",
|
|
992
|
-
"description": "是否显示表头",
|
|
993
|
-
"default": "true",
|
|
994
|
-
"type": "boolean"
|
|
995
|
-
},
|
|
996
|
-
{
|
|
997
|
-
"name": "bordered",
|
|
998
|
-
"description": "是否显示边框",
|
|
1052
|
+
"name": "isEdit",
|
|
999
1053
|
"type": "boolean"
|
|
1000
1054
|
},
|
|
1001
1055
|
{
|
|
1002
|
-
"name": "
|
|
1003
|
-
"description": "滚动配置",
|
|
1004
|
-
"default": "{ x: true }",
|
|
1056
|
+
"name": "layouts",
|
|
1005
1057
|
"attribute": false,
|
|
1006
|
-
"type": "
|
|
1058
|
+
"type": "Layout[]"
|
|
1007
1059
|
},
|
|
1008
1060
|
{
|
|
1009
|
-
"name": "
|
|
1010
|
-
"description": "优化渲染的列(输入对应的 column.key)",
|
|
1061
|
+
"name": "componentList",
|
|
1011
1062
|
"attribute": false,
|
|
1012
|
-
"type": "
|
|
1013
|
-
},
|
|
1014
|
-
{
|
|
1015
|
-
"name": "themeVariant",
|
|
1016
|
-
"description": "主题变体",
|
|
1017
|
-
"type": "\"default\" | \"elevo\""
|
|
1063
|
+
"type": "Item[]"
|
|
1018
1064
|
}
|
|
1019
1065
|
],
|
|
1020
1066
|
"events": [
|
|
1021
1067
|
{
|
|
1022
|
-
"name": "
|
|
1023
|
-
"description": "page 或 pageSize 改变的回调",
|
|
1024
|
-
"detail": {
|
|
1025
|
-
"description": "改变后的页码及每页条数",
|
|
1026
|
-
"type": "{ page: number; pageSize: number }"
|
|
1027
|
-
}
|
|
1028
|
-
},
|
|
1029
|
-
{
|
|
1030
|
-
"name": "page.size.change",
|
|
1031
|
-
"description": "pageSize 变化的回调",
|
|
1032
|
-
"deprecated": "统一用 `page.change` 事件",
|
|
1033
|
-
"detail": {
|
|
1034
|
-
"description": "改变后的页码及每页条数",
|
|
1035
|
-
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
1036
|
-
}
|
|
1037
|
-
},
|
|
1038
|
-
{
|
|
1039
|
-
"name": "sort.change",
|
|
1040
|
-
"description": "排序变化的回调",
|
|
1041
|
-
"detail": {
|
|
1042
|
-
"description": "当前排序的信息",
|
|
1043
|
-
"type": "Sort | Sort[] | undefined"
|
|
1044
|
-
}
|
|
1045
|
-
},
|
|
1046
|
-
{
|
|
1047
|
-
"name": "row.select",
|
|
1048
|
-
"description": "行选中项发生变化时的回调",
|
|
1049
|
-
"detail": {
|
|
1050
|
-
"description": "改变后的 rowKey 及行数据",
|
|
1051
|
-
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
1052
|
-
}
|
|
1053
|
-
},
|
|
1054
|
-
{
|
|
1055
|
-
"name": "row.select.v2",
|
|
1056
|
-
"description": "行选中项发生变化时的回调(v2 版本)",
|
|
1068
|
+
"name": "change",
|
|
1057
1069
|
"detail": {
|
|
1058
|
-
"
|
|
1059
|
-
"type": "RecordType[]"
|
|
1070
|
+
"type": "Layout[]"
|
|
1060
1071
|
}
|
|
1061
1072
|
},
|
|
1062
1073
|
{
|
|
1063
|
-
"name": "
|
|
1064
|
-
"description": "点击展开图标时触发",
|
|
1074
|
+
"name": "save",
|
|
1065
1075
|
"detail": {
|
|
1066
|
-
"
|
|
1067
|
-
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
1076
|
+
"type": "Layout[]"
|
|
1068
1077
|
}
|
|
1069
1078
|
},
|
|
1070
1079
|
{
|
|
1071
|
-
"name": "
|
|
1072
|
-
"description": "展开的行变化时触发",
|
|
1080
|
+
"name": "cancel",
|
|
1073
1081
|
"detail": {
|
|
1074
|
-
"
|
|
1075
|
-
"type": "(string | number)[]"
|
|
1082
|
+
"type": "void"
|
|
1076
1083
|
}
|
|
1077
1084
|
},
|
|
1078
1085
|
{
|
|
1079
|
-
"name": "
|
|
1080
|
-
"description": "
|
|
1086
|
+
"name": "action.click",
|
|
1087
|
+
"description": "操作点击事件",
|
|
1081
1088
|
"detail": {
|
|
1082
|
-
"description": "
|
|
1083
|
-
"type": "{\n
|
|
1089
|
+
"description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
|
|
1090
|
+
"type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
|
|
1084
1091
|
}
|
|
1085
1092
|
}
|
|
1086
1093
|
],
|
|
1087
1094
|
"slots": [],
|
|
1088
1095
|
"methods": [
|
|
1089
1096
|
{
|
|
1090
|
-
"name": "
|
|
1097
|
+
"name": "setLayouts",
|
|
1091
1098
|
"params": [
|
|
1092
1099
|
{
|
|
1093
|
-
"name": "
|
|
1094
|
-
"type": "
|
|
1100
|
+
"name": "layouts",
|
|
1101
|
+
"type": "Layout[]"
|
|
1095
1102
|
}
|
|
1096
|
-
]
|
|
1097
|
-
"description": "前端搜索",
|
|
1098
|
-
"returns": {}
|
|
1103
|
+
]
|
|
1099
1104
|
}
|
|
1100
1105
|
],
|
|
1101
1106
|
"parts": [],
|
|
1102
|
-
"description": "
|
|
1103
|
-
"
|
|
1107
|
+
"description": "工作台布局",
|
|
1108
|
+
"deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
|
|
1104
1109
|
}
|
|
1105
1110
|
],
|
|
1106
1111
|
"providers": [
|