@ingestro/importer-react 4.6.1 → 4.7.1
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/{chunk-DTAX554T.js → chunk-5QL3SKPX.js} +34 -34
- package/{chunk-G6K4577L.js → chunk-6PSIXCPC.js} +1 -1
- package/chunk-DILA2NVE.js +1 -0
- package/chunk-EOOYBY4D.js +1 -0
- package/{chunk-UUTDHNU4.js → chunk-WBRCEI6U.js} +1 -1
- package/index.d.ts +31 -2
- package/index.js +375 -375
- package/package.json +1 -1
- package/workers/hooks/index.js +1 -1
- package/workers/matchValues/index.js +1 -1
- package/workers/parseData/index.js +1 -1
- package/workers/searchAndReplace/index.js +1 -1
- package/chunk-LXX3YWEI.js +0 -1
- package/chunk-ZD4M7W75.js +0 -1
package/index.d.ts
CHANGED
|
@@ -206,19 +206,23 @@ export type ISheetData = {
|
|
|
206
206
|
|
|
207
207
|
type IUploadStepUpdateDataFn = (data: SheetLikeData[]) => void;
|
|
208
208
|
|
|
209
|
-
export type IAlertFn = (params
|
|
209
|
+
export type IAlertFn = (params?: {
|
|
210
210
|
title: string;
|
|
211
211
|
description: string;
|
|
212
212
|
cancelButton: string;
|
|
213
213
|
proceedButton: string;
|
|
214
214
|
}) => void;
|
|
215
215
|
|
|
216
|
-
export type IBlockFn = (params
|
|
216
|
+
export type IBlockFn = (params?: {
|
|
217
217
|
title: string;
|
|
218
218
|
description: string;
|
|
219
219
|
closeButton: string;
|
|
220
220
|
}) => void;
|
|
221
221
|
|
|
222
|
+
export type IProceedFn = (options?: { rerunHandler?: boolean }) => void;
|
|
223
|
+
|
|
224
|
+
export type IStayFn = (options?: { rerunHandler?: boolean }) => void;
|
|
225
|
+
|
|
222
226
|
export type AddedColumnSource =
|
|
223
227
|
| 'metadata_cell'
|
|
224
228
|
| 'custom_value'
|
|
@@ -276,6 +280,8 @@ export type IMappingStepHandler = (params: {
|
|
|
276
280
|
alert: IAlertFn;
|
|
277
281
|
block: IBlockFn;
|
|
278
282
|
logs: ImportLogs;
|
|
283
|
+
proceed: IProceedFn;
|
|
284
|
+
stay: IStayFn;
|
|
279
285
|
}) => Promise<void> | void;
|
|
280
286
|
|
|
281
287
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -286,6 +292,8 @@ export type IHeaderStepHandler = (params: {
|
|
|
286
292
|
updateData: IHeaderStepUpdateDataFn;
|
|
287
293
|
alert: IAlertFn;
|
|
288
294
|
block: IBlockFn;
|
|
295
|
+
proceed: IProceedFn;
|
|
296
|
+
stay: IStayFn;
|
|
289
297
|
}) => Promise<void> | void;
|
|
290
298
|
|
|
291
299
|
export type IReviewData = Record<
|
|
@@ -303,6 +311,8 @@ export type IReviewStepHandler = (params: {
|
|
|
303
311
|
updateData: IReviewStepUpdateDataFn;
|
|
304
312
|
block: IBlockFn;
|
|
305
313
|
logs: ImportLogs;
|
|
314
|
+
proceed: IProceedFn;
|
|
315
|
+
stay: IStayFn;
|
|
306
316
|
}) => Promise<void> | void;
|
|
307
317
|
|
|
308
318
|
export type IStepHandler = {
|
|
@@ -529,6 +539,7 @@ export type ColumnAPI = {
|
|
|
529
539
|
hidden?: boolean;
|
|
530
540
|
disabled?: boolean;
|
|
531
541
|
optionMappingConfiguration?: IMappingConfiguration;
|
|
542
|
+
excludeFromAutoMatching?: boolean;
|
|
532
543
|
};
|
|
533
544
|
|
|
534
545
|
export type I18nOverrides =
|
|
@@ -630,7 +641,9 @@ export type SettingsAPI = {
|
|
|
630
641
|
transpose?: boolean;
|
|
631
642
|
mergeHeaders?: boolean;
|
|
632
643
|
metadataSelection?: boolean;
|
|
644
|
+
collapseMatchedColumns?: boolean;
|
|
633
645
|
skipConfiguration?: SkipConfiguration;
|
|
646
|
+
disableColumnRemapping?: boolean;
|
|
634
647
|
};
|
|
635
648
|
|
|
636
649
|
export type FieldValue =
|
|
@@ -1221,6 +1234,9 @@ type ColumnMatchThemeAPI = {
|
|
|
1221
1234
|
hasMatchIcon?: CSSInterpolation;
|
|
1222
1235
|
notMatchIcon?: CSSInterpolation;
|
|
1223
1236
|
notMatchErrorIcon?: CSSInterpolation;
|
|
1237
|
+
hasMatchIconUrl?: string;
|
|
1238
|
+
notMatchIconUrl?: string;
|
|
1239
|
+
notMatchErrorIconUrl?: string;
|
|
1224
1240
|
showMore?: {
|
|
1225
1241
|
root?: CSSInterpolation;
|
|
1226
1242
|
text?: CSSInterpolation;
|
|
@@ -1236,6 +1252,19 @@ type ColumnMatchThemeAPI = {
|
|
|
1236
1252
|
columnPopover?: CSSInterpolation;
|
|
1237
1253
|
additionalInfo?: IAdditionalInfoTheme;
|
|
1238
1254
|
infoBox?: InfoBoxThemeAPI;
|
|
1255
|
+
unmappedValuesBanner?: {
|
|
1256
|
+
wrapper?: CSSInterpolation;
|
|
1257
|
+
root?: CSSInterpolation;
|
|
1258
|
+
icon?: CSSInterpolation;
|
|
1259
|
+
text?: CSSInterpolation;
|
|
1260
|
+
toggle?: {
|
|
1261
|
+
root?: CSSInterpolation;
|
|
1262
|
+
rootOn?: CSSInterpolation;
|
|
1263
|
+
rootOff?: CSSInterpolation;
|
|
1264
|
+
thumb?: CSSInterpolation;
|
|
1265
|
+
label?: CSSInterpolation;
|
|
1266
|
+
};
|
|
1267
|
+
};
|
|
1239
1268
|
};
|
|
1240
1269
|
|
|
1241
1270
|
type FilterConditionDropdown = {
|