@next-bricks/advanced 0.35.0 → 0.35.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.
@@ -345,202 +345,45 @@
345
345
  "insider": true
346
346
  },
347
347
  {
348
- "name": "eo-next-table",
348
+ "name": "eo-workbench-layout",
349
349
  "properties": [
350
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": "multiSort",
387
- "description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
388
- "type": "boolean"
389
- },
390
- {
391
- "name": "sort",
392
- "description": "排序信息",
393
- "attribute": false,
394
- "type": "Sort | Sort[]"
395
- },
396
- {
397
- "name": "rowSelection",
398
- "description": "表格行可选择配置",
399
- "attribute": false,
400
- "type": "RowSelectionType"
401
- },
402
- {
403
- "name": "selectedRowKeys",
404
- "description": "选中项的 key",
405
- "attribute": false,
406
- "type": "(string | number)[]"
407
- },
408
- {
409
- "name": "hiddenColumns",
410
- "description": "隐藏的列(输入对应的 column.key)",
411
- "attribute": false,
412
- "type": "(string | number)[]"
413
- },
414
- {
415
- "name": "expandable",
416
- "description": "表格行展开配置",
417
- "attribute": false,
418
- "type": "ExpandableType"
419
- },
420
- {
421
- "name": "expandedRowKeys",
422
- "description": "展开项的 key",
423
- "attribute": false,
424
- "type": "(string | number)[]"
425
- },
426
- {
427
- "name": "childrenColumnName",
428
- "description": "树形结构的列名",
429
- "default": "\"children\"",
351
+ "name": "cardTitle",
430
352
  "type": "string"
431
353
  },
432
354
  {
433
- "name": "rowDraggable",
434
- "description": "表格行拖拽配置",
435
- "type": "boolean"
436
- },
437
- {
438
- "name": "searchFields",
439
- "description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
440
- "attribute": false,
441
- "type": "(string | string[])[]"
442
- },
443
- {
444
- "name": "size",
445
- "description": "表格大小",
446
- "default": "\"large\"",
447
- "type": "TableProps<RecordType>[\"size\"]"
448
- },
449
- {
450
- "name": "showHeader",
451
- "description": "是否显示表头",
452
- "default": "true",
355
+ "name": "isEdit",
453
356
  "type": "boolean"
454
357
  },
455
358
  {
456
- "name": "scrollConfig",
457
- "description": "滚动配置",
458
- "default": "{ x: true }",
359
+ "name": "layouts",
459
360
  "attribute": false,
460
- "type": "TableProps<RecordType>[\"scroll\"]"
361
+ "type": "Layout[]"
461
362
  },
462
363
  {
463
- "name": "optimizedColumns",
464
- "description": "优化渲染的列(输入对应的 column.key)",
364
+ "name": "componentList",
465
365
  "attribute": false,
466
- "type": "(string | number)[]"
366
+ "type": "Item[]"
467
367
  }
468
368
  ],
469
369
  "events": [
470
370
  {
471
- "name": "page.change",
472
- "description": "page 或 pageSize 改变的回调",
473
- "detail": {
474
- "description": "改变后的页码及每页条数",
475
- "type": "{ page: number; pageSize: number }"
476
- }
477
- },
478
- {
479
- "name": "page.size.change",
480
- "description": "pageSize 变化的回调",
481
- "detail": {
482
- "description": "改变后的页码及每页条数",
483
- "type": "{\n page: number;\n pageSize: number;\n }"
484
- }
485
- },
486
- {
487
- "name": "sort.change",
488
- "description": "排序变化的回调",
489
- "detail": {
490
- "description": "当前排序的信息",
491
- "type": "Sort | Sort[] | undefined"
492
- }
493
- },
494
- {
495
- "name": "row.select",
496
- "description": "行选中项发生变化时的回调",
497
- "detail": {
498
- "description": "改变后的 rowKey 及行数据",
499
- "type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
500
- }
501
- },
502
- {
503
- "name": "row.expand",
504
- "description": "点击展开图标时触发",
505
- "detail": {
506
- "description": "当前行的展开情况及数据",
507
- "type": "{\n expanded: boolean;\n record: RecordType;\n }"
508
- }
509
- },
510
- {
511
- "name": "expanded.rows.change",
512
- "description": "展开的行变化时触发",
371
+ "name": "save",
513
372
  "detail": {
514
- "description": "所有展开行的 key",
515
- "type": "(string | number)[]"
373
+ "type": "Layout[]"
516
374
  }
517
375
  },
518
376
  {
519
- "name": "row.drag",
520
- "description": "表格行拖拽结束发生的事件",
377
+ "name": "cancel",
521
378
  "detail": {
522
- "description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
523
- "type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
379
+ "type": "void"
524
380
  }
525
381
  }
526
382
  ],
527
383
  "slots": [],
528
- "methods": [
529
- {
530
- "name": "search",
531
- "params": [
532
- {
533
- "name": "params",
534
- "type": "{ q: string }"
535
- }
536
- ],
537
- "description": "前端搜索",
538
- "returns": {}
539
- }
540
- ],
384
+ "methods": [],
541
385
  "parts": [],
542
- "description": "大型表格",
543
- "category": "table"
386
+ "description": "工作台布局"
544
387
  },
545
388
  {
546
389
  "name": "eo-cascader",
@@ -650,7 +493,7 @@
650
493
  "category": "form-input-basic"
651
494
  },
652
495
  {
653
- "name": "eo-workbench-layout",
496
+ "name": "eo-workbench-layout-v2",
654
497
  "properties": [
655
498
  {
656
499
  "name": "cardTitle",
@@ -665,6 +508,11 @@
665
508
  "attribute": false,
666
509
  "type": "Layout[]"
667
510
  },
511
+ {
512
+ "name": "toolbarBricks",
513
+ "attribute": false,
514
+ "type": "{\n useBrick: UseSingleBrickConf[];\n }"
515
+ },
668
516
  {
669
517
  "name": "componentList",
670
518
  "attribute": false,
@@ -688,53 +536,205 @@
688
536
  "slots": [],
689
537
  "methods": [],
690
538
  "parts": [],
691
- "description": "工作台布局"
539
+ "description": "工作台布局V2,未使用shadow dom"
692
540
  },
693
541
  {
694
- "name": "eo-workbench-layout-v2",
542
+ "name": "eo-next-table",
695
543
  "properties": [
696
544
  {
697
- "name": "cardTitle",
545
+ "name": "rowKey",
546
+ "description": "指定表格行的 key",
547
+ "default": "\"key\"",
698
548
  "type": "string"
699
549
  },
700
550
  {
701
- "name": "isEdit",
551
+ "name": "columns",
552
+ "description": "列定义",
553
+ "attribute": false,
554
+ "type": "Column[]"
555
+ },
556
+ {
557
+ "name": "cell",
558
+ "description": "单元格",
559
+ "attribute": false,
560
+ "type": "CellConfig"
561
+ },
562
+ {
563
+ "name": "dataSource",
564
+ "description": "数据源",
565
+ "attribute": false,
566
+ "type": "DataSource"
567
+ },
568
+ {
569
+ "name": "frontSearch",
570
+ "description": "是否前端搜索",
702
571
  "type": "boolean"
703
572
  },
704
573
  {
705
- "name": "layouts",
574
+ "name": "pagination",
575
+ "description": "分页配置",
706
576
  "attribute": false,
707
- "type": "Layout[]"
577
+ "type": "PaginationType"
708
578
  },
709
579
  {
710
- "name": "toolbarBricks",
580
+ "name": "multiSort",
581
+ "description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
582
+ "type": "boolean"
583
+ },
584
+ {
585
+ "name": "sort",
586
+ "description": "排序信息",
711
587
  "attribute": false,
712
- "type": "{\n useBrick: UseSingleBrickConf[];\n }"
588
+ "type": "Sort | Sort[]"
713
589
  },
714
590
  {
715
- "name": "componentList",
591
+ "name": "rowSelection",
592
+ "description": "表格行可选择配置",
716
593
  "attribute": false,
717
- "type": "Item[]"
594
+ "type": "RowSelectionType"
595
+ },
596
+ {
597
+ "name": "selectedRowKeys",
598
+ "description": "选中项的 key",
599
+ "attribute": false,
600
+ "type": "(string | number)[]"
601
+ },
602
+ {
603
+ "name": "hiddenColumns",
604
+ "description": "隐藏的列(输入对应的 column.key)",
605
+ "attribute": false,
606
+ "type": "(string | number)[]"
607
+ },
608
+ {
609
+ "name": "expandable",
610
+ "description": "表格行展开配置",
611
+ "attribute": false,
612
+ "type": "ExpandableType"
613
+ },
614
+ {
615
+ "name": "expandedRowKeys",
616
+ "description": "展开项的 key",
617
+ "attribute": false,
618
+ "type": "(string | number)[]"
619
+ },
620
+ {
621
+ "name": "childrenColumnName",
622
+ "description": "树形结构的列名",
623
+ "default": "\"children\"",
624
+ "type": "string"
625
+ },
626
+ {
627
+ "name": "rowDraggable",
628
+ "description": "表格行拖拽配置",
629
+ "type": "boolean"
630
+ },
631
+ {
632
+ "name": "searchFields",
633
+ "description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
634
+ "attribute": false,
635
+ "type": "(string | string[])[]"
636
+ },
637
+ {
638
+ "name": "size",
639
+ "description": "表格大小",
640
+ "default": "\"large\"",
641
+ "type": "TableProps<RecordType>[\"size\"]"
642
+ },
643
+ {
644
+ "name": "showHeader",
645
+ "description": "是否显示表头",
646
+ "default": "true",
647
+ "type": "boolean"
648
+ },
649
+ {
650
+ "name": "scrollConfig",
651
+ "description": "滚动配置",
652
+ "default": "{ x: true }",
653
+ "attribute": false,
654
+ "type": "TableProps<RecordType>[\"scroll\"]"
655
+ },
656
+ {
657
+ "name": "optimizedColumns",
658
+ "description": "优化渲染的列(输入对应的 column.key)",
659
+ "attribute": false,
660
+ "type": "(string | number)[]"
718
661
  }
719
662
  ],
720
663
  "events": [
721
664
  {
722
- "name": "save",
665
+ "name": "page.change",
666
+ "description": "page 或 pageSize 改变的回调",
723
667
  "detail": {
724
- "type": "Layout[]"
668
+ "description": "改变后的页码及每页条数",
669
+ "type": "{ page: number; pageSize: number }"
725
670
  }
726
671
  },
727
672
  {
728
- "name": "cancel",
673
+ "name": "page.size.change",
674
+ "description": "pageSize 变化的回调",
729
675
  "detail": {
730
- "type": "void"
676
+ "description": "改变后的页码及每页条数",
677
+ "type": "{\n page: number;\n pageSize: number;\n }"
678
+ }
679
+ },
680
+ {
681
+ "name": "sort.change",
682
+ "description": "排序变化的回调",
683
+ "detail": {
684
+ "description": "当前排序的信息",
685
+ "type": "Sort | Sort[] | undefined"
686
+ }
687
+ },
688
+ {
689
+ "name": "row.select",
690
+ "description": "行选中项发生变化时的回调",
691
+ "detail": {
692
+ "description": "改变后的 rowKey 及行数据",
693
+ "type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
694
+ }
695
+ },
696
+ {
697
+ "name": "row.expand",
698
+ "description": "点击展开图标时触发",
699
+ "detail": {
700
+ "description": "当前行的展开情况及数据",
701
+ "type": "{\n expanded: boolean;\n record: RecordType;\n }"
702
+ }
703
+ },
704
+ {
705
+ "name": "expanded.rows.change",
706
+ "description": "展开的行变化时触发",
707
+ "detail": {
708
+ "description": "所有展开行的 key",
709
+ "type": "(string | number)[]"
710
+ }
711
+ },
712
+ {
713
+ "name": "row.drag",
714
+ "description": "表格行拖拽结束发生的事件",
715
+ "detail": {
716
+ "description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
717
+ "type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
731
718
  }
732
719
  }
733
720
  ],
734
721
  "slots": [],
735
- "methods": [],
722
+ "methods": [
723
+ {
724
+ "name": "search",
725
+ "params": [
726
+ {
727
+ "name": "params",
728
+ "type": "{ q: string }"
729
+ }
730
+ ],
731
+ "description": "前端搜索",
732
+ "returns": {}
733
+ }
734
+ ],
736
735
  "parts": [],
737
- "description": "工作台布局V2,未使用shadow dom"
736
+ "description": "大型表格",
737
+ "category": "table"
738
738
  },
739
739
  {
740
740
  "name": "eo-tree",