@vue-start/pro 0.5.64 → 0.5.66
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/index.css +17 -0
- package/dist/index.d.ts +9 -2
- package/dist/index.es.js +1304 -1289
- package/dist/index.js +3 -3
- package/package.json +2 -2
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:has(.pro-table-v2-wrapper) .pro-table {
|
|
536
|
+
flex: 1;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.pro-page.curd-list:has(.pro-table-v2-wrapper) .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
|
@@ -790,7 +790,7 @@ interface IProConfigProvide {
|
|
|
790
790
|
* form组件集(使用FormItem包裹的组件集合)
|
|
791
791
|
*/
|
|
792
792
|
formElementMap?: TElementMap;
|
|
793
|
-
formExtraMap?: TFormExtraMap
|
|
793
|
+
formExtraMap?: ComputedRef<TFormExtraMap>;
|
|
794
794
|
/**
|
|
795
795
|
* 注册的全局状态
|
|
796
796
|
*/
|
|
@@ -1302,6 +1302,9 @@ declare const proFormProps: () => {
|
|
|
1302
1302
|
operate: {
|
|
1303
1303
|
type: PropType<TProFormOperate>;
|
|
1304
1304
|
};
|
|
1305
|
+
opeItems: {
|
|
1306
|
+
type: PropType<() => IOpeItem[]>;
|
|
1307
|
+
};
|
|
1305
1308
|
submitLoading: {
|
|
1306
1309
|
type: BooleanConstructor;
|
|
1307
1310
|
};
|
|
@@ -1789,6 +1792,9 @@ declare const proTableProps: () => {
|
|
|
1789
1792
|
dataSource: {
|
|
1790
1793
|
type: PropType<Record<string, any>[]>;
|
|
1791
1794
|
};
|
|
1795
|
+
virtual: {
|
|
1796
|
+
type: BooleanConstructor;
|
|
1797
|
+
};
|
|
1792
1798
|
};
|
|
1793
1799
|
declare type ProTableProps = Partial<ExtractPropTypes<ReturnType<typeof proTableProps>>> & ProBaseProps & {
|
|
1794
1800
|
loading?: boolean;
|
|
@@ -3160,6 +3166,7 @@ declare const ElementKeys: {
|
|
|
3160
3166
|
FormKey: string;
|
|
3161
3167
|
FormItemKey: string;
|
|
3162
3168
|
TableKey: string;
|
|
3169
|
+
TableV2Key: string;
|
|
3163
3170
|
TableOperateKey: string;
|
|
3164
3171
|
UploaderKey: string;
|
|
3165
3172
|
EmptyKey: string;
|
|
@@ -3275,7 +3282,7 @@ interface IProCurdProvide {
|
|
|
3275
3282
|
tableColumns: Ref<TColumns>;
|
|
3276
3283
|
searchColumns: Ref<TColumns>;
|
|
3277
3284
|
sendCurdEvent: (event: TCurdActionEvent) => void;
|
|
3278
|
-
operates: ICurdOperateOpts[]
|
|
3285
|
+
operates: ComputedRef$1<ICurdOperateOpts[]>;
|
|
3279
3286
|
getOperate: (action: ICurdAction) => ICurdOperateOpts | undefined;
|
|
3280
3287
|
refreshList: (extra?: Record<string, any>) => void;
|
|
3281
3288
|
defaultAddRecord?: ComputedRef$1<Record<string, any> | undefined>;
|