@gopowerteam/table-render 0.0.13 → 0.0.14
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.
|
@@ -953,16 +953,19 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
953
953
|
$props: Partial<{
|
|
954
954
|
footer: boolean;
|
|
955
955
|
name: string;
|
|
956
|
+
layout: "horizontal" | "vertical";
|
|
956
957
|
minWidth: number;
|
|
957
958
|
submitable: boolean;
|
|
958
959
|
searchable: boolean;
|
|
959
960
|
}> & Omit<{
|
|
960
961
|
readonly form: FormItemsOptions<any>;
|
|
961
962
|
readonly minWidth: number;
|
|
963
|
+
readonly layout: "horizontal" | "vertical";
|
|
962
964
|
readonly name: string;
|
|
963
965
|
readonly submitable: boolean;
|
|
964
966
|
readonly searchable: boolean;
|
|
965
967
|
readonly footer: boolean;
|
|
968
|
+
readonly columns?: number | undefined;
|
|
966
969
|
readonly value?: Record<string, any> | undefined;
|
|
967
970
|
readonly modelValue?: Record<string, any> | undefined;
|
|
968
971
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
@@ -977,6 +980,15 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
977
980
|
type: PropType<Record<string, any>>;
|
|
978
981
|
required: false;
|
|
979
982
|
};
|
|
983
|
+
layout: {
|
|
984
|
+
type: PropType<"horizontal" | "vertical">;
|
|
985
|
+
required: false;
|
|
986
|
+
default: string;
|
|
987
|
+
};
|
|
988
|
+
columns: {
|
|
989
|
+
type: NumberConstructor;
|
|
990
|
+
required: false;
|
|
991
|
+
};
|
|
980
992
|
modelValue: {
|
|
981
993
|
type: PropType<Record<string, any>>;
|
|
982
994
|
required: false;
|
|
@@ -1010,7 +1022,7 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
1010
1022
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
1011
1023
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
1012
1024
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
1013
|
-
}, "minWidth" | "name" | "submitable" | "searchable" | "footer">;
|
|
1025
|
+
}, "minWidth" | "layout" | "name" | "submitable" | "searchable" | "footer">;
|
|
1014
1026
|
$attrs: {
|
|
1015
1027
|
[x: string]: unknown;
|
|
1016
1028
|
};
|
|
@@ -1033,6 +1045,15 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
1033
1045
|
type: PropType<Record<string, any>>;
|
|
1034
1046
|
required: false;
|
|
1035
1047
|
};
|
|
1048
|
+
layout: {
|
|
1049
|
+
type: PropType<"horizontal" | "vertical">;
|
|
1050
|
+
required: false;
|
|
1051
|
+
default: string;
|
|
1052
|
+
};
|
|
1053
|
+
columns: {
|
|
1054
|
+
type: NumberConstructor;
|
|
1055
|
+
required: false;
|
|
1056
|
+
};
|
|
1036
1057
|
modelValue: {
|
|
1037
1058
|
type: PropType<Record<string, any>>;
|
|
1038
1059
|
required: false;
|
|
@@ -1142,7 +1163,7 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
1142
1163
|
values: Record<string, any>;
|
|
1143
1164
|
errors: Record<string, import("@arco-design/web-vue").ValidatedError>;
|
|
1144
1165
|
}, ev: Event) => any) | undefined;
|
|
1145
|
-
}, "
|
|
1166
|
+
}, "layout" | "disabled" | "labelColProps" | "wrapperColProps" | "labelAlign" | "autoLabelWidth" | "scrollToFirstError">;
|
|
1146
1167
|
$attrs: {
|
|
1147
1168
|
[x: string]: unknown;
|
|
1148
1169
|
};
|
|
@@ -1328,6 +1349,7 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
1328
1349
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "cancel" | "update:model-value")[], string, {
|
|
1329
1350
|
footer: boolean;
|
|
1330
1351
|
name: string;
|
|
1352
|
+
layout: "horizontal" | "vertical";
|
|
1331
1353
|
minWidth: number;
|
|
1332
1354
|
submitable: boolean;
|
|
1333
1355
|
searchable: boolean;
|
|
@@ -1360,6 +1382,15 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
1360
1382
|
type: PropType<Record<string, any>>;
|
|
1361
1383
|
required: false;
|
|
1362
1384
|
};
|
|
1385
|
+
layout: {
|
|
1386
|
+
type: PropType<"horizontal" | "vertical">;
|
|
1387
|
+
required: false;
|
|
1388
|
+
default: string;
|
|
1389
|
+
};
|
|
1390
|
+
columns: {
|
|
1391
|
+
type: NumberConstructor;
|
|
1392
|
+
required: false;
|
|
1393
|
+
};
|
|
1363
1394
|
modelValue: {
|
|
1364
1395
|
type: PropType<Record<string, any>>;
|
|
1365
1396
|
required: false;
|
|
@@ -1469,7 +1500,7 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
1469
1500
|
values: Record<string, any>;
|
|
1470
1501
|
errors: Record<string, import("@arco-design/web-vue").ValidatedError>;
|
|
1471
1502
|
}, ev: Event) => any) | undefined;
|
|
1472
|
-
}, "
|
|
1503
|
+
}, "layout" | "disabled" | "labelColProps" | "wrapperColProps" | "labelAlign" | "autoLabelWidth" | "scrollToFirstError">;
|
|
1473
1504
|
$attrs: {
|
|
1474
1505
|
[x: string]: unknown;
|
|
1475
1506
|
};
|
|
@@ -65,9 +65,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
65
|
};
|
|
66
66
|
}>>, {
|
|
67
67
|
minWidth: number;
|
|
68
|
+
layout: "horizontal" | "vertical" | "inline-horizontal" | "inline-vertical";
|
|
68
69
|
buttons: RenderSingleButtonColumnOptions<DataRecord>[];
|
|
69
70
|
border: boolean;
|
|
70
71
|
exclude: string[];
|
|
71
|
-
layout: "horizontal" | "vertical" | "inline-horizontal" | "inline-vertical";
|
|
72
72
|
}, {}>;
|
|
73
73
|
export default _default;
|
|
@@ -953,16 +953,19 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
953
953
|
$props: Partial<{
|
|
954
954
|
footer: boolean;
|
|
955
955
|
name: string;
|
|
956
|
+
layout: "horizontal" | "vertical";
|
|
956
957
|
minWidth: number;
|
|
957
958
|
submitable: boolean;
|
|
958
959
|
searchable: boolean;
|
|
959
960
|
}> & Omit<{
|
|
960
961
|
readonly form: FormItemsOptions<any>;
|
|
961
962
|
readonly minWidth: number;
|
|
963
|
+
readonly layout: "horizontal" | "vertical";
|
|
962
964
|
readonly name: string;
|
|
963
965
|
readonly submitable: boolean;
|
|
964
966
|
readonly searchable: boolean;
|
|
965
967
|
readonly footer: boolean;
|
|
968
|
+
readonly columns?: number | undefined;
|
|
966
969
|
readonly value?: Record<string, any> | undefined;
|
|
967
970
|
readonly modelValue?: Record<string, any> | undefined;
|
|
968
971
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
@@ -977,6 +980,15 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
977
980
|
type: PropType<Record<string, any>>;
|
|
978
981
|
required: false;
|
|
979
982
|
};
|
|
983
|
+
layout: {
|
|
984
|
+
type: PropType<"horizontal" | "vertical">;
|
|
985
|
+
required: false;
|
|
986
|
+
default: string;
|
|
987
|
+
};
|
|
988
|
+
columns: {
|
|
989
|
+
type: NumberConstructor;
|
|
990
|
+
required: false;
|
|
991
|
+
};
|
|
980
992
|
modelValue: {
|
|
981
993
|
type: PropType<Record<string, any>>;
|
|
982
994
|
required: false;
|
|
@@ -1010,7 +1022,7 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
1010
1022
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
1011
1023
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
1012
1024
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
1013
|
-
}, "minWidth" | "name" | "submitable" | "searchable" | "footer">;
|
|
1025
|
+
}, "minWidth" | "layout" | "name" | "submitable" | "searchable" | "footer">;
|
|
1014
1026
|
$attrs: {
|
|
1015
1027
|
[x: string]: unknown;
|
|
1016
1028
|
};
|
|
@@ -1033,6 +1045,15 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
1033
1045
|
type: PropType<Record<string, any>>;
|
|
1034
1046
|
required: false;
|
|
1035
1047
|
};
|
|
1048
|
+
layout: {
|
|
1049
|
+
type: PropType<"horizontal" | "vertical">;
|
|
1050
|
+
required: false;
|
|
1051
|
+
default: string;
|
|
1052
|
+
};
|
|
1053
|
+
columns: {
|
|
1054
|
+
type: NumberConstructor;
|
|
1055
|
+
required: false;
|
|
1056
|
+
};
|
|
1036
1057
|
modelValue: {
|
|
1037
1058
|
type: PropType<Record<string, any>>;
|
|
1038
1059
|
required: false;
|
|
@@ -1142,7 +1163,7 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
1142
1163
|
values: Record<string, any>;
|
|
1143
1164
|
errors: Record<string, import("@arco-design/web-vue").ValidatedError>;
|
|
1144
1165
|
}, ev: Event) => any) | undefined;
|
|
1145
|
-
}, "
|
|
1166
|
+
}, "layout" | "disabled" | "labelColProps" | "wrapperColProps" | "labelAlign" | "autoLabelWidth" | "scrollToFirstError">;
|
|
1146
1167
|
$attrs: {
|
|
1147
1168
|
[x: string]: unknown;
|
|
1148
1169
|
};
|
|
@@ -1328,6 +1349,7 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
1328
1349
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "cancel" | "update:model-value")[], string, {
|
|
1329
1350
|
footer: boolean;
|
|
1330
1351
|
name: string;
|
|
1352
|
+
layout: "horizontal" | "vertical";
|
|
1331
1353
|
minWidth: number;
|
|
1332
1354
|
submitable: boolean;
|
|
1333
1355
|
searchable: boolean;
|
|
@@ -1360,6 +1382,15 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
1360
1382
|
type: PropType<Record<string, any>>;
|
|
1361
1383
|
required: false;
|
|
1362
1384
|
};
|
|
1385
|
+
layout: {
|
|
1386
|
+
type: PropType<"horizontal" | "vertical">;
|
|
1387
|
+
required: false;
|
|
1388
|
+
default: string;
|
|
1389
|
+
};
|
|
1390
|
+
columns: {
|
|
1391
|
+
type: NumberConstructor;
|
|
1392
|
+
required: false;
|
|
1393
|
+
};
|
|
1363
1394
|
modelValue: {
|
|
1364
1395
|
type: PropType<Record<string, any>>;
|
|
1365
1396
|
required: false;
|
|
@@ -1469,7 +1500,7 @@ export declare const TableRender: import("vue").DefineComponent<{
|
|
|
1469
1500
|
values: Record<string, any>;
|
|
1470
1501
|
errors: Record<string, import("@arco-design/web-vue").ValidatedError>;
|
|
1471
1502
|
}, ev: Event) => any) | undefined;
|
|
1472
|
-
}, "
|
|
1503
|
+
}, "layout" | "disabled" | "labelColProps" | "wrapperColProps" | "labelAlign" | "autoLabelWidth" | "scrollToFirstError">;
|
|
1473
1504
|
$attrs: {
|
|
1474
1505
|
[x: string]: unknown;
|
|
1475
1506
|
};
|
|
@@ -65,9 +65,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
65
|
};
|
|
66
66
|
}>>, {
|
|
67
67
|
minWidth: number;
|
|
68
|
+
layout: "horizontal" | "vertical" | "inline-horizontal" | "inline-vertical";
|
|
68
69
|
buttons: RenderSingleButtonColumnOptions<DataRecord>[];
|
|
69
70
|
border: boolean;
|
|
70
71
|
exclude: string[];
|
|
71
|
-
layout: "horizontal" | "vertical" | "inline-horizontal" | "inline-vertical";
|
|
72
72
|
}, {}>;
|
|
73
73
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gopowerteam/table-render",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.14",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "zhuchentong",
|
|
7
7
|
"email": "2037630@gmail.com"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"@arco-design/web-vue": "^2.52.1",
|
|
57
|
-
"@gopowerteam/form-render": "^0.0.
|
|
57
|
+
"@gopowerteam/form-render": "^0.0.10",
|
|
58
58
|
"@gopowerteam/modal-render": "^0.0.10",
|
|
59
59
|
"vue": "^3.0.0"
|
|
60
60
|
},
|