cd-form 2.0.26 → 2.0.28
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/CdForm.vue.d.ts +20 -4
- package/dist/cd-form.js +31083 -6673
- package/dist/cd-form.umd.cjs +126 -23
- package/dist/index.d.ts +2 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/CdForm.vue.d.ts
CHANGED
|
@@ -59,6 +59,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
59
59
|
tabs?: any[];
|
|
60
60
|
organizations?: any[];
|
|
61
61
|
};
|
|
62
|
+
modelId?: string;
|
|
63
|
+
apiBaseUrl?: string;
|
|
62
64
|
}>, {
|
|
63
65
|
deviceType: string;
|
|
64
66
|
data: () => never[];
|
|
@@ -93,6 +95,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
93
95
|
tabs: never[];
|
|
94
96
|
organizations: never[];
|
|
95
97
|
};
|
|
98
|
+
modelId: string;
|
|
99
|
+
apiBaseUrl: string;
|
|
96
100
|
}>>, {
|
|
97
101
|
tableRef: Ref<any, any>;
|
|
98
102
|
formRenderRef: Ref<any, any>;
|
|
@@ -192,8 +196,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
192
196
|
releaseId: string;
|
|
193
197
|
pagination: any;
|
|
194
198
|
}) => void;
|
|
195
|
-
import: (file: File
|
|
196
|
-
|
|
199
|
+
import: (file: File, options?: {
|
|
200
|
+
mode?: string;
|
|
201
|
+
mappings?: any[];
|
|
202
|
+
} | undefined) => void;
|
|
203
|
+
export: (mode?: "all" | "page" | "selected" | undefined) => void;
|
|
197
204
|
"download-template": () => void;
|
|
198
205
|
"batch-delete": (ids: string[]) => void;
|
|
199
206
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -224,6 +231,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
224
231
|
tabs?: any[];
|
|
225
232
|
organizations?: any[];
|
|
226
233
|
};
|
|
234
|
+
modelId?: string;
|
|
235
|
+
apiBaseUrl?: string;
|
|
227
236
|
}>, {
|
|
228
237
|
deviceType: string;
|
|
229
238
|
data: () => never[];
|
|
@@ -258,6 +267,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
258
267
|
tabs: never[];
|
|
259
268
|
organizations: never[];
|
|
260
269
|
};
|
|
270
|
+
modelId: string;
|
|
271
|
+
apiBaseUrl: string;
|
|
261
272
|
}>>> & Readonly<{
|
|
262
273
|
onAdd?: ((data: any) => any) | undefined;
|
|
263
274
|
onEdit?: ((data: any) => any) | undefined;
|
|
@@ -342,8 +353,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
342
353
|
releaseId: string;
|
|
343
354
|
pagination: any;
|
|
344
355
|
}) => any) | undefined;
|
|
345
|
-
onImport?: ((file: File
|
|
346
|
-
|
|
356
|
+
onImport?: ((file: File, options?: {
|
|
357
|
+
mode?: string;
|
|
358
|
+
mappings?: any[];
|
|
359
|
+
} | undefined) => any) | undefined;
|
|
360
|
+
onExport?: ((mode?: "all" | "page" | "selected" | undefined) => any) | undefined;
|
|
347
361
|
"onDownload-template"?: (() => any) | undefined;
|
|
348
362
|
"onBatch-delete"?: ((ids: string[]) => any) | undefined;
|
|
349
363
|
}>, {
|
|
@@ -370,6 +384,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
370
384
|
tabs?: any[];
|
|
371
385
|
organizations?: any[];
|
|
372
386
|
};
|
|
387
|
+
modelId: string;
|
|
388
|
+
apiBaseUrl: string;
|
|
373
389
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
374
390
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
375
391
|
export default _default;
|