cd-form 1.0.29 → 1.0.31

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.
@@ -59,13 +59,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
59
59
  tabs?: any[];
60
60
  organizations?: any[];
61
61
  };
62
- importConfig?: {
63
- fieldMapping?: Record<string, string>;
64
- requiredFields?: string[];
65
- validators?: Record<string, (value: any) => boolean | string>;
66
- enableTemplate?: boolean;
67
- templateData?: any[];
68
- };
69
62
  }>, {
70
63
  deviceType: string;
71
64
  data: () => never[];
@@ -199,11 +192,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
199
192
  releaseId: string;
200
193
  pagination: any;
201
194
  }) => void;
202
- import: (data: {
203
- data: any[];
204
- mode: "add" | "update";
205
- file: File;
206
- }) => void;
195
+ import: (file: File) => void;
207
196
  export: () => void;
208
197
  "download-template": () => void;
209
198
  }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -234,13 +223,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
234
223
  tabs?: any[];
235
224
  organizations?: any[];
236
225
  };
237
- importConfig?: {
238
- fieldMapping?: Record<string, string>;
239
- requiredFields?: string[];
240
- validators?: Record<string, (value: any) => boolean | string>;
241
- enableTemplate?: boolean;
242
- templateData?: any[];
243
- };
244
226
  }>, {
245
227
  deviceType: string;
246
228
  data: () => never[];
@@ -359,11 +341,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
359
341
  releaseId: string;
360
342
  pagination: any;
361
343
  }) => any) | undefined;
362
- onImport?: ((data: {
363
- data: any[];
364
- mode: "add" | "update";
365
- file: File;
366
- }) => any) | undefined;
344
+ onImport?: ((file: File) => any) | undefined;
367
345
  onExport?: (() => any) | undefined;
368
346
  "onDownload-template"?: (() => any) | undefined;
369
347
  }>, {