@partex/one-core 2.0.18 → 2.0.20
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/lib/components/form/index.vue.d.ts +9 -0
- package/lib/components/form/interface.d.ts +1 -0
- package/lib/components/importer/index.vue.d.ts +28 -38
- package/lib/components/table/index.vue.d.ts +6 -0
- package/lib/one-core.cjs +1 -1
- package/lib/one-core.js +1197 -1166
- package/lib/one-core.umd.cjs +1 -1
- package/package.json +1 -1
|
@@ -65,6 +65,7 @@ declare const _default: DefineComponent<{
|
|
|
65
65
|
disabled?: boolean | undefined;
|
|
66
66
|
readonly?: boolean | undefined;
|
|
67
67
|
} | undefined;
|
|
68
|
+
updateValue?: string | Fn<any, any> | undefined;
|
|
68
69
|
} | {
|
|
69
70
|
input: "number";
|
|
70
71
|
showButton?: boolean | undefined;
|
|
@@ -91,6 +92,7 @@ declare const _default: DefineComponent<{
|
|
|
91
92
|
disabled?: boolean | undefined;
|
|
92
93
|
readonly?: boolean | undefined;
|
|
93
94
|
} | undefined;
|
|
95
|
+
updateValue?: string | Fn<any, any> | undefined;
|
|
94
96
|
} | {
|
|
95
97
|
input: "date";
|
|
96
98
|
type: "date" | "datetime" | "daterange" | "datetimerange" | "month" | "monthrange" | "year" | "yearrange" | "quarter" | "quarterrange" | "week";
|
|
@@ -113,6 +115,7 @@ declare const _default: DefineComponent<{
|
|
|
113
115
|
disabled?: boolean | undefined;
|
|
114
116
|
readonly?: boolean | undefined;
|
|
115
117
|
} | undefined;
|
|
118
|
+
updateValue?: string | Fn<any, any> | undefined;
|
|
116
119
|
} | {
|
|
117
120
|
input: "select";
|
|
118
121
|
options: ObjectKey[];
|
|
@@ -138,6 +141,7 @@ declare const _default: DefineComponent<{
|
|
|
138
141
|
disabled?: boolean | undefined;
|
|
139
142
|
readonly?: boolean | undefined;
|
|
140
143
|
} | undefined;
|
|
144
|
+
updateValue?: string | Fn<any, any> | undefined;
|
|
141
145
|
} | {
|
|
142
146
|
input: "time";
|
|
143
147
|
label: string;
|
|
@@ -159,6 +163,7 @@ declare const _default: DefineComponent<{
|
|
|
159
163
|
disabled?: boolean | undefined;
|
|
160
164
|
readonly?: boolean | undefined;
|
|
161
165
|
} | undefined;
|
|
166
|
+
updateValue?: string | Fn<any, any> | undefined;
|
|
162
167
|
} | {
|
|
163
168
|
input: "upload";
|
|
164
169
|
accept?: string | undefined;
|
|
@@ -182,6 +187,7 @@ declare const _default: DefineComponent<{
|
|
|
182
187
|
disabled?: boolean | undefined;
|
|
183
188
|
readonly?: boolean | undefined;
|
|
184
189
|
} | undefined;
|
|
190
|
+
updateValue?: string | Fn<any, any> | undefined;
|
|
185
191
|
} | {
|
|
186
192
|
input: "switch";
|
|
187
193
|
label: string;
|
|
@@ -203,7 +209,10 @@ declare const _default: DefineComponent<{
|
|
|
203
209
|
disabled?: boolean | undefined;
|
|
204
210
|
readonly?: boolean | undefined;
|
|
205
211
|
} | undefined;
|
|
212
|
+
updateValue?: string | Fn<any, any> | undefined;
|
|
206
213
|
})[]>;
|
|
214
|
+
cloneDeep: <T>(value: T) => T;
|
|
215
|
+
updateValue: (item: IFormItem, value: any) => void;
|
|
207
216
|
beforeUpload: (options: {
|
|
208
217
|
file: UploadFileInfo;
|
|
209
218
|
fileList: UploadFileInfo[];
|
|
@@ -6,24 +6,18 @@ declare const _default: DefineComponent<{
|
|
|
6
6
|
type: PropType<boolean>;
|
|
7
7
|
default: boolean;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
data: {
|
|
10
10
|
required: true;
|
|
11
|
-
type: PropType<
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
default:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
type: PropType<string>;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
steam: {
|
|
25
|
-
type: PropType<boolean>;
|
|
26
|
-
default: boolean;
|
|
11
|
+
type: PropType<{
|
|
12
|
+
type: string;
|
|
13
|
+
file: string;
|
|
14
|
+
params?: string | undefined;
|
|
15
|
+
steam?: boolean | undefined;
|
|
16
|
+
}>;
|
|
17
|
+
default: () => {
|
|
18
|
+
type: string;
|
|
19
|
+
file: string;
|
|
20
|
+
};
|
|
27
21
|
};
|
|
28
22
|
}, {
|
|
29
23
|
modal: Ref<boolean>;
|
|
@@ -82,32 +76,28 @@ declare const _default: DefineComponent<{
|
|
|
82
76
|
type: PropType<boolean>;
|
|
83
77
|
default: boolean;
|
|
84
78
|
};
|
|
85
|
-
|
|
79
|
+
data: {
|
|
86
80
|
required: true;
|
|
87
|
-
type: PropType<
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
default:
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
type: PropType<string>;
|
|
98
|
-
default: string;
|
|
99
|
-
};
|
|
100
|
-
steam: {
|
|
101
|
-
type: PropType<boolean>;
|
|
102
|
-
default: boolean;
|
|
81
|
+
type: PropType<{
|
|
82
|
+
type: string;
|
|
83
|
+
file: string;
|
|
84
|
+
params?: string | undefined;
|
|
85
|
+
steam?: boolean | undefined;
|
|
86
|
+
}>;
|
|
87
|
+
default: () => {
|
|
88
|
+
type: string;
|
|
89
|
+
file: string;
|
|
90
|
+
};
|
|
103
91
|
};
|
|
104
92
|
}>> & {
|
|
105
93
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
106
94
|
}, {
|
|
95
|
+
data: {
|
|
96
|
+
type: string;
|
|
97
|
+
file: string;
|
|
98
|
+
params?: string | undefined;
|
|
99
|
+
steam?: boolean | undefined;
|
|
100
|
+
};
|
|
107
101
|
show: boolean;
|
|
108
|
-
type: string;
|
|
109
|
-
params: string;
|
|
110
|
-
file: string;
|
|
111
|
-
steam: boolean;
|
|
112
102
|
}, {}>;
|
|
113
103
|
export default _default;
|
|
@@ -70,6 +70,8 @@ declare const _default: DefineComponent<{
|
|
|
70
70
|
type: PropType<{
|
|
71
71
|
type: string;
|
|
72
72
|
file: string;
|
|
73
|
+
params?: string | undefined;
|
|
74
|
+
steam?: boolean | undefined;
|
|
73
75
|
}>;
|
|
74
76
|
default: undefined;
|
|
75
77
|
};
|
|
@@ -203,6 +205,8 @@ declare const _default: DefineComponent<{
|
|
|
203
205
|
type: PropType<{
|
|
204
206
|
type: string;
|
|
205
207
|
file: string;
|
|
208
|
+
params?: string | undefined;
|
|
209
|
+
steam?: boolean | undefined;
|
|
206
210
|
}>;
|
|
207
211
|
default: undefined;
|
|
208
212
|
};
|
|
@@ -234,6 +238,8 @@ declare const _default: DefineComponent<{
|
|
|
234
238
|
importer: {
|
|
235
239
|
type: string;
|
|
236
240
|
file: string;
|
|
241
|
+
params?: string | undefined;
|
|
242
|
+
steam?: boolean | undefined;
|
|
237
243
|
};
|
|
238
244
|
exporter: {
|
|
239
245
|
jobTypeName: string;
|