@vue-start/pro 0.5.65 → 0.5.67

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/CHANGELOG.md CHANGED
@@ -3,9 +3,13 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 0.5.67
7
+
8
+ - fix: ProTable 支持虚拟表格,通过 virtual 字段配置;
9
+
6
10
  # 0.5.63
7
11
 
8
- - fix: ProUploaderText convertItem 方法参数添加fieldNames;
12
+ - fix: ProUploaderText convertItem 方法参数添加 fieldNames;
9
13
 
10
14
  # 0.5.58
11
15
 
package/dist/index.css CHANGED
@@ -387,6 +387,11 @@
387
387
  margin-bottom: 0px;
388
388
  }
389
389
 
390
+ /* element-plus 虚拟表格 */
391
+ .el-table-v2.dynamic-hei .el-table-v2__row-cell {
392
+ min-height: var(--estimated-hei);
393
+ }
394
+
390
395
  .pro-table .el-table__header .pro-single .el-checkbox {
391
396
  display: none;
392
397
  }
@@ -523,6 +528,18 @@
523
528
  height: calc(100% - var(--pro-table-toolbar-hei));
524
529
  }
525
530
 
531
+ .pro-page.curd-list .pro-table-v2-wrapper {
532
+ height: calc(100% - var(--pro-table-toolbar-hei));
533
+ }
534
+
535
+ .pro-page.curd-list .pro-curd-list.virtual .pro-table {
536
+ flex: 1;
537
+ }
538
+
539
+ .pro-page.curd-list .pro-curd-list.virtual .curd-list-grow {
540
+ flex-grow: unset !important;
541
+ }
542
+
526
543
  .pro-page.curd-list .pro-curd-list.has-pagination .pro-list-pagination {
527
544
  height: var(--pro-page-footer-hei);
528
545
  min-height: var(--pro-page-footer-hei);
package/dist/index.d.ts CHANGED
@@ -53,6 +53,8 @@ declare type TColumn = {
53
53
  formReadRender?: string | TRender;
54
54
  tableRender?: string | TRender;
55
55
  search?: boolean;
56
+ width?: number;
57
+ minWidth?: number;
56
58
  extra?: {
57
59
  desc?: Record<string, any>;
58
60
  col?: Record<string, any>;
@@ -1792,6 +1794,9 @@ declare const proTableProps: () => {
1792
1794
  dataSource: {
1793
1795
  type: PropType<Record<string, any>[]>;
1794
1796
  };
1797
+ virtual: {
1798
+ type: BooleanConstructor;
1799
+ };
1795
1800
  };
1796
1801
  declare type ProTableProps = Partial<ExtractPropTypes<ReturnType<typeof proTableProps>>> & ProBaseProps & {
1797
1802
  loading?: boolean;
@@ -3163,6 +3168,7 @@ declare const ElementKeys: {
3163
3168
  FormKey: string;
3164
3169
  FormItemKey: string;
3165
3170
  TableKey: string;
3171
+ TableV2Key: string;
3166
3172
  TableOperateKey: string;
3167
3173
  UploaderKey: string;
3168
3174
  EmptyKey: string;