@next-bricks/advanced 0.41.18 → 0.42.1
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/5479.5296430c.js +2 -0
- package/dist/chunks/5479.5296430c.js.map +1 -0
- package/dist/chunks/{main.68f35805.js → main.9ce45671.js} +2 -2
- package/dist/chunks/{main.68f35805.js.map → main.9ce45671.js.map} +1 -1
- package/dist/examples.json +6 -6
- package/dist/{index.45811285.js → index.35cb24be.js} +2 -2
- package/dist/{index.45811285.js.map → index.35cb24be.js.map} +1 -1
- package/dist/manifest.json +295 -295
- package/dist/types.json +372 -289
- package/dist-types/next-table/interface.d.ts +9 -0
- package/dist-types/next-table/utils.d.ts +1 -0
- package/docs/eo-next-table.md +125 -0
- package/package.json +2 -2
- package/dist/chunks/5479.fffc7ea8.js +0 -2
- package/dist/chunks/5479.fffc7ea8.js.map +0 -1
package/dist/manifest.json
CHANGED
|
@@ -344,215 +344,6 @@
|
|
|
344
344
|
"category": "table",
|
|
345
345
|
"insider": true
|
|
346
346
|
},
|
|
347
|
-
{
|
|
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": "TableProps<RecordType>[\"scroll\"]"
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
"name": "optimizedColumns",
|
|
474
|
-
"description": "优化渲染的列(输入对应的 column.key)",
|
|
475
|
-
"attribute": false,
|
|
476
|
-
"type": "(string | number)[]"
|
|
477
|
-
}
|
|
478
|
-
],
|
|
479
|
-
"events": [
|
|
480
|
-
{
|
|
481
|
-
"name": "page.change",
|
|
482
|
-
"description": "page 或 pageSize 改变的回调",
|
|
483
|
-
"detail": {
|
|
484
|
-
"description": "改变后的页码及每页条数",
|
|
485
|
-
"type": "{ page: number; pageSize: number }"
|
|
486
|
-
}
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
"name": "page.size.change",
|
|
490
|
-
"description": "pageSize 变化的回调",
|
|
491
|
-
"deprecated": "统一用 `page.change` 事件",
|
|
492
|
-
"detail": {
|
|
493
|
-
"description": "改变后的页码及每页条数",
|
|
494
|
-
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"name": "sort.change",
|
|
499
|
-
"description": "排序变化的回调",
|
|
500
|
-
"detail": {
|
|
501
|
-
"description": "当前排序的信息",
|
|
502
|
-
"type": "Sort | Sort[] | undefined"
|
|
503
|
-
}
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
"name": "row.select",
|
|
507
|
-
"description": "行选中项发生变化时的回调",
|
|
508
|
-
"detail": {
|
|
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 }"
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
],
|
|
538
|
-
"slots": [],
|
|
539
|
-
"methods": [
|
|
540
|
-
{
|
|
541
|
-
"name": "search",
|
|
542
|
-
"params": [
|
|
543
|
-
{
|
|
544
|
-
"name": "params",
|
|
545
|
-
"type": "{ q: string }"
|
|
546
|
-
}
|
|
547
|
-
],
|
|
548
|
-
"description": "前端搜索",
|
|
549
|
-
"returns": {}
|
|
550
|
-
}
|
|
551
|
-
],
|
|
552
|
-
"parts": [],
|
|
553
|
-
"description": "大型表格",
|
|
554
|
-
"category": "table"
|
|
555
|
-
},
|
|
556
347
|
{
|
|
557
348
|
"name": "eo-workbench-layout-v2",
|
|
558
349
|
"properties": [
|
|
@@ -731,106 +522,40 @@
|
|
|
731
522
|
"category": "form-input-basic"
|
|
732
523
|
},
|
|
733
524
|
{
|
|
734
|
-
"name": "eo-
|
|
525
|
+
"name": "eo-tree",
|
|
735
526
|
"properties": [
|
|
736
527
|
{
|
|
737
|
-
"name": "
|
|
738
|
-
"
|
|
528
|
+
"name": "dataSource",
|
|
529
|
+
"attribute": false,
|
|
530
|
+
"type": "TreeNode[]"
|
|
739
531
|
},
|
|
740
532
|
{
|
|
741
|
-
"name": "
|
|
533
|
+
"name": "checkable",
|
|
742
534
|
"type": "boolean"
|
|
743
535
|
},
|
|
744
536
|
{
|
|
745
|
-
"name": "
|
|
746
|
-
"
|
|
747
|
-
"
|
|
537
|
+
"name": "selectable",
|
|
538
|
+
"description": "",
|
|
539
|
+
"default": "true",
|
|
540
|
+
"type": "boolean"
|
|
748
541
|
},
|
|
749
542
|
{
|
|
750
|
-
"name": "
|
|
751
|
-
"
|
|
752
|
-
|
|
753
|
-
}
|
|
754
|
-
],
|
|
755
|
-
"events": [
|
|
543
|
+
"name": "defaultExpandAll",
|
|
544
|
+
"type": "boolean"
|
|
545
|
+
},
|
|
756
546
|
{
|
|
757
|
-
"name": "
|
|
758
|
-
"
|
|
759
|
-
"type": "Layout[]"
|
|
760
|
-
}
|
|
547
|
+
"name": "showLine",
|
|
548
|
+
"type": "boolean"
|
|
761
549
|
},
|
|
762
550
|
{
|
|
763
|
-
"name": "
|
|
764
|
-
"
|
|
765
|
-
|
|
766
|
-
}
|
|
551
|
+
"name": "expandedKeys",
|
|
552
|
+
"attribute": false,
|
|
553
|
+
"type": "TreeNodeKey[]"
|
|
767
554
|
},
|
|
768
555
|
{
|
|
769
|
-
"name": "
|
|
770
|
-
"
|
|
771
|
-
|
|
772
|
-
}
|
|
773
|
-
},
|
|
774
|
-
{
|
|
775
|
-
"name": "action.click",
|
|
776
|
-
"description": "操作点击事件",
|
|
777
|
-
"detail": {
|
|
778
|
-
"description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
|
|
779
|
-
"type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
],
|
|
783
|
-
"slots": [],
|
|
784
|
-
"methods": [
|
|
785
|
-
{
|
|
786
|
-
"name": "setLayouts",
|
|
787
|
-
"params": [
|
|
788
|
-
{
|
|
789
|
-
"name": "layouts",
|
|
790
|
-
"type": "Layout[]"
|
|
791
|
-
}
|
|
792
|
-
]
|
|
793
|
-
}
|
|
794
|
-
],
|
|
795
|
-
"parts": [],
|
|
796
|
-
"description": "工作台布局",
|
|
797
|
-
"deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
"name": "eo-tree",
|
|
801
|
-
"properties": [
|
|
802
|
-
{
|
|
803
|
-
"name": "dataSource",
|
|
804
|
-
"attribute": false,
|
|
805
|
-
"type": "TreeNode[]"
|
|
806
|
-
},
|
|
807
|
-
{
|
|
808
|
-
"name": "checkable",
|
|
809
|
-
"type": "boolean"
|
|
810
|
-
},
|
|
811
|
-
{
|
|
812
|
-
"name": "selectable",
|
|
813
|
-
"description": "",
|
|
814
|
-
"default": "true",
|
|
815
|
-
"type": "boolean"
|
|
816
|
-
},
|
|
817
|
-
{
|
|
818
|
-
"name": "defaultExpandAll",
|
|
819
|
-
"type": "boolean"
|
|
820
|
-
},
|
|
821
|
-
{
|
|
822
|
-
"name": "showLine",
|
|
823
|
-
"type": "boolean"
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
"name": "expandedKeys",
|
|
827
|
-
"attribute": false,
|
|
828
|
-
"type": "TreeNodeKey[]"
|
|
829
|
-
},
|
|
830
|
-
{
|
|
831
|
-
"name": "checkedKeys",
|
|
832
|
-
"attribute": false,
|
|
833
|
-
"type": "TreeNodeKey[]"
|
|
556
|
+
"name": "checkedKeys",
|
|
557
|
+
"attribute": false,
|
|
558
|
+
"type": "TreeNodeKey[]"
|
|
834
559
|
},
|
|
835
560
|
{
|
|
836
561
|
"name": "nodeDraggable",
|
|
@@ -1018,6 +743,215 @@
|
|
|
1018
743
|
"description": "树选择器",
|
|
1019
744
|
"category": "form-input-basic"
|
|
1020
745
|
},
|
|
746
|
+
{
|
|
747
|
+
"name": "eo-next-table",
|
|
748
|
+
"properties": [
|
|
749
|
+
{
|
|
750
|
+
"name": "rowKey",
|
|
751
|
+
"description": "指定表格行的 key",
|
|
752
|
+
"default": "\"key\"",
|
|
753
|
+
"type": "string"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"name": "columns",
|
|
757
|
+
"description": "列定义",
|
|
758
|
+
"attribute": false,
|
|
759
|
+
"type": "Column[]"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"name": "cell",
|
|
763
|
+
"description": "单元格",
|
|
764
|
+
"attribute": false,
|
|
765
|
+
"type": "CellConfig"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"name": "dataSource",
|
|
769
|
+
"description": "数据源",
|
|
770
|
+
"attribute": false,
|
|
771
|
+
"type": "DataSource"
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"name": "frontSearch",
|
|
775
|
+
"description": "是否前端搜索",
|
|
776
|
+
"type": "boolean"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"name": "pagination",
|
|
780
|
+
"description": "分页配置",
|
|
781
|
+
"attribute": false,
|
|
782
|
+
"type": "PaginationType"
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"name": "loading",
|
|
786
|
+
"description": "显示加载中状态",
|
|
787
|
+
"type": "boolean"
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"name": "multiSort",
|
|
791
|
+
"description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
|
|
792
|
+
"type": "boolean"
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"name": "sort",
|
|
796
|
+
"description": "排序信息",
|
|
797
|
+
"attribute": false,
|
|
798
|
+
"type": "Sort | Sort[]"
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"name": "rowSelection",
|
|
802
|
+
"description": "表格行可选择配置",
|
|
803
|
+
"attribute": false,
|
|
804
|
+
"type": "RowSelectionType"
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
"name": "selectedRowKeys",
|
|
808
|
+
"description": "选中项的 key",
|
|
809
|
+
"attribute": false,
|
|
810
|
+
"type": "(string | number)[]"
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"name": "hiddenColumns",
|
|
814
|
+
"description": "隐藏的列(输入对应的 column.key)",
|
|
815
|
+
"attribute": false,
|
|
816
|
+
"type": "(string | number)[]"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "expandable",
|
|
820
|
+
"description": "表格行展开配置",
|
|
821
|
+
"attribute": false,
|
|
822
|
+
"type": "ExpandableType"
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"name": "expandedRowKeys",
|
|
826
|
+
"description": "展开项的 key",
|
|
827
|
+
"attribute": false,
|
|
828
|
+
"type": "(string | number)[]"
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"name": "childrenColumnName",
|
|
832
|
+
"description": "树形结构的列名",
|
|
833
|
+
"default": "\"children\"",
|
|
834
|
+
"type": "string"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "rowDraggable",
|
|
838
|
+
"description": "表格行拖拽配置",
|
|
839
|
+
"type": "boolean"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"name": "searchFields",
|
|
843
|
+
"description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
|
|
844
|
+
"attribute": false,
|
|
845
|
+
"type": "(string | string[])[]"
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"name": "size",
|
|
849
|
+
"description": "表格大小",
|
|
850
|
+
"default": "\"large\"",
|
|
851
|
+
"type": "TableProps<RecordType>[\"size\"]"
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"name": "showHeader",
|
|
855
|
+
"description": "是否显示表头",
|
|
856
|
+
"default": "true",
|
|
857
|
+
"type": "boolean"
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"name": "bordered",
|
|
861
|
+
"description": "是否显示边框",
|
|
862
|
+
"type": "boolean"
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"name": "scrollConfig",
|
|
866
|
+
"description": "滚动配置",
|
|
867
|
+
"default": "{ x: true }",
|
|
868
|
+
"attribute": false,
|
|
869
|
+
"type": "TableProps<RecordType>[\"scroll\"]"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"name": "optimizedColumns",
|
|
873
|
+
"description": "优化渲染的列(输入对应的 column.key)",
|
|
874
|
+
"attribute": false,
|
|
875
|
+
"type": "(string | number)[]"
|
|
876
|
+
}
|
|
877
|
+
],
|
|
878
|
+
"events": [
|
|
879
|
+
{
|
|
880
|
+
"name": "page.change",
|
|
881
|
+
"description": "page 或 pageSize 改变的回调",
|
|
882
|
+
"detail": {
|
|
883
|
+
"description": "改变后的页码及每页条数",
|
|
884
|
+
"type": "{ page: number; pageSize: number }"
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"name": "page.size.change",
|
|
889
|
+
"description": "pageSize 变化的回调",
|
|
890
|
+
"deprecated": "统一用 `page.change` 事件",
|
|
891
|
+
"detail": {
|
|
892
|
+
"description": "改变后的页码及每页条数",
|
|
893
|
+
"type": "{\n page: number;\n pageSize: number;\n }"
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"name": "sort.change",
|
|
898
|
+
"description": "排序变化的回调",
|
|
899
|
+
"detail": {
|
|
900
|
+
"description": "当前排序的信息",
|
|
901
|
+
"type": "Sort | Sort[] | undefined"
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "row.select",
|
|
906
|
+
"description": "行选中项发生变化时的回调",
|
|
907
|
+
"detail": {
|
|
908
|
+
"description": "改变后的 rowKey 及行数据",
|
|
909
|
+
"type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"name": "row.expand",
|
|
914
|
+
"description": "点击展开图标时触发",
|
|
915
|
+
"detail": {
|
|
916
|
+
"description": "当前行的展开情况及数据",
|
|
917
|
+
"type": "{\n expanded: boolean;\n record: RecordType;\n }"
|
|
918
|
+
}
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"name": "expanded.rows.change",
|
|
922
|
+
"description": "展开的行变化时触发",
|
|
923
|
+
"detail": {
|
|
924
|
+
"description": "所有展开行的 key",
|
|
925
|
+
"type": "(string | number)[]"
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"name": "row.drag",
|
|
930
|
+
"description": "表格行拖拽结束发生的事件",
|
|
931
|
+
"detail": {
|
|
932
|
+
"description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
|
|
933
|
+
"type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
],
|
|
937
|
+
"slots": [],
|
|
938
|
+
"methods": [
|
|
939
|
+
{
|
|
940
|
+
"name": "search",
|
|
941
|
+
"params": [
|
|
942
|
+
{
|
|
943
|
+
"name": "params",
|
|
944
|
+
"type": "{ q: string }"
|
|
945
|
+
}
|
|
946
|
+
],
|
|
947
|
+
"description": "前端搜索",
|
|
948
|
+
"returns": {}
|
|
949
|
+
}
|
|
950
|
+
],
|
|
951
|
+
"parts": [],
|
|
952
|
+
"description": "大型表格",
|
|
953
|
+
"category": "table"
|
|
954
|
+
},
|
|
1021
955
|
{
|
|
1022
956
|
"name": "eo-text-tooltip",
|
|
1023
957
|
"properties": [
|
|
@@ -1040,6 +974,72 @@
|
|
|
1040
974
|
"parts": [],
|
|
1041
975
|
"description": "超出宽度鼠标悬浮显示tooltip\n构件 `eo-text-tooltip`"
|
|
1042
976
|
},
|
|
977
|
+
{
|
|
978
|
+
"name": "eo-workbench-layout",
|
|
979
|
+
"properties": [
|
|
980
|
+
{
|
|
981
|
+
"name": "cardTitle",
|
|
982
|
+
"type": "string"
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"name": "isEdit",
|
|
986
|
+
"type": "boolean"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"name": "layouts",
|
|
990
|
+
"attribute": false,
|
|
991
|
+
"type": "Layout[]"
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"name": "componentList",
|
|
995
|
+
"attribute": false,
|
|
996
|
+
"type": "Item[]"
|
|
997
|
+
}
|
|
998
|
+
],
|
|
999
|
+
"events": [
|
|
1000
|
+
{
|
|
1001
|
+
"name": "change",
|
|
1002
|
+
"detail": {
|
|
1003
|
+
"type": "Layout[]"
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"name": "save",
|
|
1008
|
+
"detail": {
|
|
1009
|
+
"type": "Layout[]"
|
|
1010
|
+
}
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"name": "cancel",
|
|
1014
|
+
"detail": {
|
|
1015
|
+
"type": "void"
|
|
1016
|
+
}
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"name": "action.click",
|
|
1020
|
+
"description": "操作点击事件",
|
|
1021
|
+
"detail": {
|
|
1022
|
+
"description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
|
|
1023
|
+
"type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
],
|
|
1027
|
+
"slots": [],
|
|
1028
|
+
"methods": [
|
|
1029
|
+
{
|
|
1030
|
+
"name": "setLayouts",
|
|
1031
|
+
"params": [
|
|
1032
|
+
{
|
|
1033
|
+
"name": "layouts",
|
|
1034
|
+
"type": "Layout[]"
|
|
1035
|
+
}
|
|
1036
|
+
]
|
|
1037
|
+
}
|
|
1038
|
+
],
|
|
1039
|
+
"parts": [],
|
|
1040
|
+
"description": "工作台布局",
|
|
1041
|
+
"deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
|
|
1042
|
+
},
|
|
1043
1043
|
{
|
|
1044
1044
|
"name": "advanced.pdf-viewer",
|
|
1045
1045
|
"properties": [
|