@partex/one-core 2.0.19 → 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/one-core.cjs +1 -1
- package/lib/one-core.js +1185 -1142
- 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[];
|