@ivandt/importer 1.14.2 → 1.15.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.
Files changed (177) hide show
  1. package/dist/{bg.min-CDXlQ2rI.cjs → bg.min-CtaY0OqQ.cjs} +1 -1
  2. package/dist/{bg.min-tLu0IVJq.js → bg.min-Dyyxr7ap.js} +1 -1
  3. package/dist/{cs-CZ.min-1fokdMgq.cjs → cs-CZ.min-BV3QFYXS.cjs} +1 -1
  4. package/dist/{cs-CZ.min-DRRqxMY6.js → cs-CZ.min-DCZqiHYc.js} +1 -1
  5. package/dist/{da-DK.min-CmT0qh5h.cjs → da-DK.min-DOu4dBT1.cjs} +1 -1
  6. package/dist/{da-DK.min-Bv9Oti5B.js → da-DK.min-vWRgpe8l.js} +1 -1
  7. package/dist/{de-AT.min-BS4UhQBd.cjs → de-AT.min-CijGotRY.cjs} +1 -1
  8. package/dist/{de-AT.min-wfblI8aN.js → de-AT.min-JooSvPvm.js} +1 -1
  9. package/dist/{de-CH.min-Bbumk4D-.js → de-CH.min-DKMXnQqJ.js} +1 -1
  10. package/dist/{de-CH.min-B8IGOLcy.cjs → de-CH.min-DKVmzHWt.cjs} +1 -1
  11. package/dist/{de-DE.min-CFlCOrpM.js → de-DE.min-Dj3kMohg.js} +1 -1
  12. package/dist/{de-DE.min-BQbQXfuW.cjs → de-DE.min-Do2AVJWn.cjs} +1 -1
  13. package/dist/{de-LI.min-CGBrjMq0.cjs → de-LI.min-By9Q1ZJM.cjs} +1 -1
  14. package/dist/{de-LI.min-B-bmRlNd.js → de-LI.min-Cs8wchX_.js} +1 -1
  15. package/dist/{el.min-DtPWlV9G.js → el.min-BAnoUi_v.js} +1 -1
  16. package/dist/{el.min-C_9wxd2G.cjs → el.min-BIWw2yWY.cjs} +1 -1
  17. package/dist/{en-AU.min-DJh_D9pa.cjs → en-AU.min-BP8I5b-v.cjs} +1 -1
  18. package/dist/{en-AU.min-Bruqe9vA.js → en-AU.min-D69Vb5pY.js} +1 -1
  19. package/dist/{en-GB.min-Crql-pas.cjs → en-GB.min-BMbHtUDP.cjs} +1 -1
  20. package/dist/{en-GB.min-C3dj_Fuq.js → en-GB.min-BQMyVmXh.js} +1 -1
  21. package/dist/{en-IE.min-u3YMXNsg.cjs → en-IE.min-COaQRl-M.cjs} +1 -1
  22. package/dist/{en-IE.min-CaNWduPx.js → en-IE.min-GFUUTsHA.js} +1 -1
  23. package/dist/{en-NZ.min-B-8M7r4G.cjs → en-NZ.min-BtvPm_1r.cjs} +1 -1
  24. package/dist/{en-NZ.min-DV1AalFb.js → en-NZ.min-TCp2BouP.js} +1 -1
  25. package/dist/{en-ZA.min-CIn9MmL-.js → en-ZA.min-BFRHa-kB.js} +1 -1
  26. package/dist/{en-ZA.min-CTq_Yjv7.cjs → en-ZA.min-CBB-Tl7N.cjs} +1 -1
  27. package/dist/{es-AR.min-Dw3hruUu.js → es-AR.min-DfK6EH4u.js} +1 -1
  28. package/dist/{es-AR.min-Dk5TIqvk.cjs → es-AR.min-DtpoPYdK.cjs} +1 -1
  29. package/dist/{es-CL.min-NYIN7tSz.cjs → es-CL.min-7lXrerY0.cjs} +1 -1
  30. package/dist/{es-CL.min-ChPcSvYt.js → es-CL.min-rtwkNWHQ.js} +1 -1
  31. package/dist/{es-CO.min-1j3kCkJy.cjs → es-CO.min-Ci_nI5a-.cjs} +1 -1
  32. package/dist/{es-CO.min-D22PgRd2.js → es-CO.min-Dyzu79xk.js} +1 -1
  33. package/dist/{es-CR.min-Bm0HDvWq.js → es-CR.min-D7ty3O2G.js} +1 -1
  34. package/dist/{es-CR.min-Bej_jbzZ.cjs → es-CR.min-anijHrqE.cjs} +1 -1
  35. package/dist/{es-ES.min-CpdLKMIG.js → es-ES.min-BA1gk22x.js} +1 -1
  36. package/dist/{es-ES.min-DnSrfVbs.cjs → es-ES.min-DGtWzT14.cjs} +1 -1
  37. package/dist/{es-MX.min-BLDCsMjG.cjs → es-MX.min-B8o6AdyC.cjs} +1 -1
  38. package/dist/{es-MX.min-UgYDIBgx.js → es-MX.min-BPOTKv0b.js} +1 -1
  39. package/dist/{es-NI.min-COLVc4U7.cjs → es-NI.min-DlNhE0Ld.cjs} +1 -1
  40. package/dist/{es-NI.min-acSHsMNz.js → es-NI.min-fTLF1SF7.js} +1 -1
  41. package/dist/{es-PE.min-BijD6F8U.cjs → es-PE.min-BerVV5fc.cjs} +1 -1
  42. package/dist/{es-PE.min-Bj179AU3.js → es-PE.min-CwUjXjKc.js} +1 -1
  43. package/dist/{es-PR.min-DbQMOHG5.cjs → es-PR.min-5tr-t5eA.cjs} +1 -1
  44. package/dist/{es-PR.min-BF9GzrIq.js → es-PR.min-DHlQnWZu.js} +1 -1
  45. package/dist/{es-SV.min-et7CgGfa.cjs → es-SV.min-CKs3HCPT.cjs} +1 -1
  46. package/dist/{es-SV.min-CvNvenKd.js → es-SV.min-CRjZdWYY.js} +1 -1
  47. package/dist/{et-EE.min-Bl-6N9ej.cjs → et-EE.min-CFg5_Yuz.cjs} +1 -1
  48. package/dist/{et-EE.min-BiYU3a0F.js → et-EE.min-DwecYo39.js} +1 -1
  49. package/dist/{fa-IR.min-D_d92q4T.cjs → fa-IR.min-DHrUm8di.cjs} +1 -1
  50. package/dist/{fa-IR.min-BYQDk8r4.js → fa-IR.min-dQzvEyHE.js} +1 -1
  51. package/dist/{fi-FI.min-CGLprpQM.js → fi-FI.min-ClA3rApL.js} +1 -1
  52. package/dist/{fi-FI.min-DkvkYKnQ.cjs → fi-FI.min-DimOpQ3F.cjs} +1 -1
  53. package/dist/{fil-PH.min-XEUCNDh7.js → fil-PH.min-DheliTqV.js} +1 -1
  54. package/dist/{fil-PH.min-Cb9F3ycK.cjs → fil-PH.min-_QH1htWM.cjs} +1 -1
  55. package/dist/{fr-CA.min-D1uUs9-9.js → fr-CA.min-9EmWhNRe.js} +1 -1
  56. package/dist/{fr-CA.min-CoUaCmiB.cjs → fr-CA.min-BLCbiJAp.cjs} +1 -1
  57. package/dist/{fr-CH.min-V-9fFV1u.js → fr-CH.min-DFWimMp3.js} +1 -1
  58. package/dist/{fr-CH.min-BvOewfKL.cjs → fr-CH.min-DQNwoizD.cjs} +1 -1
  59. package/dist/{fr-FR.min-B6oqD3QE.cjs → fr-FR.min-CohvmtP8.cjs} +1 -1
  60. package/dist/{fr-FR.min-BlrRExPW.js → fr-FR.min-Dh1MeMJ3.js} +1 -1
  61. package/dist/{he-IL.min-Bm57r8qe.js → he-IL.min-C0JupWp-.js} +1 -1
  62. package/dist/{he-IL.min-DhYHjtNr.cjs → he-IL.min-CSwbNrd_.cjs} +1 -1
  63. package/dist/{hu-HU.min-BExmkdAi.cjs → hu-HU.min-BfOotxLd.cjs} +1 -1
  64. package/dist/{hu-HU.min-DTrpGsgZ.js → hu-HU.min-vdZVNZMO.js} +1 -1
  65. package/dist/{id.min-Br4a1es-.js → id.min-B-xz635e.js} +1 -1
  66. package/dist/{id.min-DudzRm3d.cjs → id.min-C9hZjf-8.cjs} +1 -1
  67. package/dist/{importer-BF11KWqo.js → importer-RAnI5eXQ.js} +46578 -44868
  68. package/dist/{importer-CTCAUkZh.cjs → importer-d1ZXZqKy.cjs} +203 -199
  69. package/dist/importer.cjs.js +1 -1
  70. package/dist/importer.es.js +1 -1
  71. package/dist/index-CCksJlwR.cjs +1 -0
  72. package/dist/{index-YV5gIT9e.js → index-F8dlW9ZP.js} +202 -89
  73. package/dist/index.cjs.js +1 -1
  74. package/dist/index.es.js +3 -3
  75. package/dist/{it-CH.min-JrfA9XYc.cjs → it-CH.min-BzB1QjID.cjs} +1 -1
  76. package/dist/{it-CH.min-BM14IqD0.js → it-CH.min-_YkXTjgH.js} +1 -1
  77. package/dist/{it-IT.min-DZMDPDNk.js → it-IT.min-CAasc1HQ.js} +1 -1
  78. package/dist/{it-IT.min-DEYNDKH7.cjs → it-IT.min-DxbpuV8M.cjs} +1 -1
  79. package/dist/{ja-JP.min-BGBI6Ihc.cjs → ja-JP.min-CaoNNQ2J.cjs} +1 -1
  80. package/dist/{ja-JP.min-B3Bm34mZ.js → ja-JP.min-pcVqQAL5.js} +1 -1
  81. package/dist/{ko-KR.min-BjZjY9Qs.js → ko-KR.min-9bnEdcmQ.js} +1 -1
  82. package/dist/{ko-KR.min-Dpc0W6PO.cjs → ko-KR.min-BwiVkKE4.cjs} +1 -1
  83. package/dist/{lv-LV.min-I214zosk.cjs → lv-LV.min-DC_fr6iQ.cjs} +1 -1
  84. package/dist/{lv-LV.min--3felgE_.js → lv-LV.min-DDvAVMY-.js} +1 -1
  85. package/dist/{nb-NO.min-BZp5J8MJ.cjs → nb-NO.min-CZmMSxb2.cjs} +1 -1
  86. package/dist/{nb-NO.min-DoK3mjr4.js → nb-NO.min-DYFZGF9N.js} +1 -1
  87. package/dist/{nb.min-ByO7KNWF.cjs → nb.min-D49ZCY7V.cjs} +1 -1
  88. package/dist/{nb.min-z6Jbl-2o.js → nb.min-DdPF3bJZ.js} +1 -1
  89. package/dist/{nl-BE.min-CICUX2vd.js → nl-BE.min-D8GEaiim.js} +1 -1
  90. package/dist/{nl-BE.min-CJQIjdqW.cjs → nl-BE.min-DyTqX7ok.cjs} +1 -1
  91. package/dist/{nl-NL.min-DoXtTcqe.cjs → nl-NL.min-B_wC9Hde.cjs} +1 -1
  92. package/dist/{nl-NL.min-xdK7HxTd.js → nl-NL.min-Bv4hifxf.js} +1 -1
  93. package/dist/{nn.min-DE7u5cPD.cjs → nn.min-Dm61IR3n.cjs} +1 -1
  94. package/dist/{nn.min-BBcdERft.js → nn.min-EWAqQWhj.js} +1 -1
  95. package/dist/{pl-PL.min-7MCw8EGz.js → pl-PL.min-D2mF2nFS.js} +1 -1
  96. package/dist/{pl-PL.min-DV_8oKk2.cjs → pl-PL.min-QuJtFhG1.cjs} +1 -1
  97. package/dist/{pt-BR.min-iZPPXHCU.js → pt-BR.min-D87zerjT.js} +1 -1
  98. package/dist/{pt-BR.min-BvkBm9PI.cjs → pt-BR.min-Dh8CT9bw.cjs} +1 -1
  99. package/dist/{pt-PT.min-Dn0oCHUj.js → pt-PT.min-Dp3kom_R.js} +1 -1
  100. package/dist/{pt-PT.min-BR0gVTr2.cjs → pt-PT.min-Wjg-9Iov.cjs} +1 -1
  101. package/dist/{ro-RO.min-3A6v8Ocp.cjs → ro-RO.min-Dp3ssYgc.cjs} +1 -1
  102. package/dist/{ro-RO.min-OZmBN35z.js → ro-RO.min-Du3_hM0R.js} +1 -1
  103. package/dist/{ro.min-Cuh8rZ9B.cjs → ro.min-CscoD1Ba.cjs} +1 -1
  104. package/dist/{ro.min-OZmBN35z.js → ro.min-Du3_hM0R.js} +1 -1
  105. package/dist/{ru-RU.min-CrI7n6ee.cjs → ru-RU.min-BX4PsxmB.cjs} +1 -1
  106. package/dist/{ru-RU.min-EZwWpOyK.js → ru-RU.min-BewK4TQH.js} +1 -1
  107. package/dist/{ru-UA.min-CEc8yjXp.cjs → ru-UA.min-Bb4eeL4C.cjs} +1 -1
  108. package/dist/{ru-UA.min-Y075qoV9.js → ru-UA.min-C_qnB-Ey.js} +1 -1
  109. package/dist/{sk-SK.min-BJbT5xrn.cjs → sk-SK.min-BnYAkfWi.cjs} +1 -1
  110. package/dist/{sk-SK.min-CodAeBgs.js → sk-SK.min-DgFwJejY.js} +1 -1
  111. package/dist/{sl.min-rvzj1GfT.cjs → sl.min-DGP9JCnr.cjs} +1 -1
  112. package/dist/{sl.min-DIgF_Exz.js → sl.min-DMFpBe5s.js} +1 -1
  113. package/dist/{sr-Cyrl-RS.min-DgyH0Rw-.cjs → sr-Cyrl-RS.min-B8Hic3jX.cjs} +1 -1
  114. package/dist/{sr-Cyrl-RS.min-BjipyqVD.js → sr-Cyrl-RS.min-DoZPjqXn.js} +1 -1
  115. package/dist/src/lib/api/predictFieldTypes.d.ts +2 -0
  116. package/dist/src/lib/components/FieldSettings/CheckboxFieldSettings.svelte.d.ts +1 -0
  117. package/dist/src/lib/components/FieldSettings/DateFieldSettings.svelte.d.ts +1 -0
  118. package/dist/src/lib/components/FieldSettings/DropdownFieldSettings.svelte.d.ts +1 -0
  119. package/dist/src/lib/components/FieldSettings/MonetaryFieldSettings.svelte.d.ts +1 -0
  120. package/dist/src/lib/components/FieldSettings/NumericFieldSettings.svelte.d.ts +1 -0
  121. package/dist/src/lib/components/FieldSettings/PasswordFieldSettings.svelte.d.ts +1 -0
  122. package/dist/src/lib/components/FieldSettings/PhoneFieldSettings.svelte.d.ts +1 -0
  123. package/dist/src/lib/components/FieldSettings/TextFieldSettings.svelte.d.ts +1 -0
  124. package/dist/src/lib/components/FieldSettings/TimeFieldSettings.svelte.d.ts +1 -0
  125. package/dist/src/lib/components/FieldSettings/fieldSchemas.d.ts +667 -0
  126. package/dist/src/lib/components/FieldSettings/fieldSchemas.spec.d.ts +1 -0
  127. package/dist/src/lib/components/IvtExportDialog.svelte.d.ts +1 -0
  128. package/dist/src/lib/components/IvtMapFields.svelte.d.ts +1 -0
  129. package/dist/src/lib/constants.d.ts +14 -10
  130. package/dist/src/lib/icons/IconSettings.svelte.d.ts +1 -0
  131. package/dist/src/lib/types/cellTransformerAction.type.d.ts +7 -1
  132. package/dist/src/lib/types/csvExport.types.d.ts +12 -0
  133. package/dist/src/lib/types/dropdownResolver.types.d.ts +13 -0
  134. package/dist/src/lib/types/dto.types.d.ts +10 -0
  135. package/dist/src/lib/types/events.d.ts +1 -0
  136. package/dist/src/lib/types/excelExport.types.d.ts +19 -0
  137. package/dist/src/lib/types/external.types.d.ts +14 -0
  138. package/dist/src/lib/types/index.d.ts +3 -0
  139. package/dist/src/lib/types/internal.types.d.ts +1 -1
  140. package/dist/src/lib/types/meta.d.ts +1 -1
  141. package/dist/src/lib/types/schema.types.d.ts +11 -1
  142. package/dist/src/lib/types/validators.types.d.ts +2 -1
  143. package/dist/src/lib/utils/buildFieldMappingsFromHeaders.d.ts +7 -0
  144. package/dist/src/lib/utils/createField.d.ts +2 -2
  145. package/dist/src/lib/utils/initialData/generateEmptyRows.d.ts +9 -0
  146. package/dist/src/lib/utils/initialData/processInitialData.d.ts +1 -0
  147. package/dist/src/lib/workers/csv-export/csvExport.worker.d.ts +1 -0
  148. package/dist/src/lib/workers/csv-export/generateCsvForRows.d.ts +9 -0
  149. package/dist/src/lib/workers/csv-export/generateCsvForRows.spec.d.ts +1 -0
  150. package/dist/src/lib/workers/csv-export/useCsvExportWorker.d.ts +6 -0
  151. package/dist/src/lib/workers/csv-exporter/csvExporter.worker.d.ts +0 -0
  152. package/dist/src/lib/workers/dropdown-resolver/dropdownResolver.worker.d.ts +1 -0
  153. package/dist/src/lib/workers/dropdown-resolver/resolveDropdownsForRows.d.ts +6 -0
  154. package/dist/src/lib/workers/dropdown-resolver/useDropdownResolverWorker.d.ts +6 -0
  155. package/dist/src/lib/workers/excel-export/excelExport.worker.d.ts +1 -0
  156. package/dist/src/lib/workers/excel-export/useExcelExportWorker.d.ts +7 -0
  157. package/dist/src/routes/manual-entry/schema.d.ts +2 -0
  158. package/dist/src/routes/manual_and_upload/schema.d.ts +2 -0
  159. package/dist/{sv-SE.min-CYhAfE9I.cjs → sv-SE.min-DMxrZqai.cjs} +1 -1
  160. package/dist/{sv-SE.min-4unUQHU7.js → sv-SE.min-IjlzP1pX.js} +1 -1
  161. package/dist/{th-TH.min-C0ZaXhmM.js → th-TH.min-BOdAGUjY.js} +1 -1
  162. package/dist/{th-TH.min-Va7Uhc_S.cjs → th-TH.min-CSqhDvYx.cjs} +1 -1
  163. package/dist/{tr-TR.min-DmJL5WGv.js → tr-TR.min-BXrRz92A.js} +1 -1
  164. package/dist/{tr-TR.min-BKMDWO8q.cjs → tr-TR.min-CnJVSua5.cjs} +1 -1
  165. package/dist/{uk-UA.min-DZKKhQvD.cjs → uk-UA.min-B1JPHvC7.cjs} +1 -1
  166. package/dist/{uk-UA.min-ZPpFF43m.js → uk-UA.min-D_VOzYoc.js} +1 -1
  167. package/dist/{zh-CN.min-u1wXF7ql.js → zh-CN.min-BfTisNeW.js} +1 -1
  168. package/dist/{zh-CN.min-B67s88nP.cjs → zh-CN.min-DD39D0H2.cjs} +1 -1
  169. package/dist/{zh-MO.min-bpOnKpNA.cjs → zh-MO.min-BgX39x3e.cjs} +1 -1
  170. package/dist/{zh-MO.min-C-ztgECp.js → zh-MO.min-BrXYq3QI.js} +1 -1
  171. package/dist/{zh-SG.min-CBBk9iUI.js → zh-SG.min-BY3PgDsL.js} +1 -1
  172. package/dist/{zh-SG.min-B0liUdI3.cjs → zh-SG.min-DDyRxQgP.cjs} +1 -1
  173. package/dist/{zh-TW.min-CJCnVnFL.js → zh-TW.min-Br6Y8N-L.js} +1 -1
  174. package/dist/{zh-TW.min-BPVXpW9h.cjs → zh-TW.min-CNCmYJ_i.cjs} +1 -1
  175. package/package.json +1 -1
  176. package/dist/index-Dq4Pajr9.cjs +0 -1
  177. package/dist/src/lib/services/resolveDropdownOptions.d.ts +0 -2
@@ -1,5 +1,5 @@
1
- import { IvtSchemaInternal } from './types/schema.types';
2
- import { ILocale, ILocaleLanguage, IvtSchema, PaginationProps } from './types';
1
+ import { IFieldSchemaType, IFormatDateAutoCleanOptions, IMonetaryFieldSchemaInternal, INumericFieldSchemaInternal, IvtSchemaInternal } from './types/schema.types';
2
+ import { FieldSchemaMap, FieldSchemaMapInternal, IBaseFieldSchema, IFormatBooleanOptions, ILocale, ILocaleLanguage, IvtSchema, PaginationProps } from './types';
3
3
  import { IsCurrencyOptions } from 'validator/lib/isCurrency';
4
4
  import { CountryCode } from './utils/locale';
5
5
  export declare const baseUrl: any;
@@ -12,14 +12,7 @@ export declare const defaultPagination: PaginationProps;
12
12
  export declare const defaultMonetaryValidationOptions: IsCurrencyOptions;
13
13
  export declare const defaultInternalSchema: IvtSchemaInternal;
14
14
  export declare const defaultSchema: IvtSchema;
15
- export declare const checkboxDefaultMapToEnums: {
16
- No: boolean;
17
- no: boolean;
18
- NO: boolean;
19
- Yes: boolean;
20
- yes: boolean;
21
- YES: boolean;
22
- };
15
+ export declare const defaultFormatBooleanOptions: IFormatBooleanOptions;
23
16
  export declare const localeNames: ILocale[];
24
17
  export declare const languageToLocaleMap: {
25
18
  [index in ILocaleLanguage]: ILocale;
@@ -68,3 +61,14 @@ export declare const localeDelimiters: Record<ILocale, {
68
61
  thousands: string;
69
62
  decimal: string;
70
63
  }>;
64
+ export declare const defaultMonetaryAutoClean: IMonetaryFieldSchemaInternal['autoClean'];
65
+ export declare const defaultNumericAutoClean: INumericFieldSchemaInternal['autoClean'];
66
+ export declare const defaultMonetaryDisplay: IMonetaryFieldSchemaInternal['display'];
67
+ export declare const defaultDateAutoClean: IFormatDateAutoCleanOptions;
68
+ export declare const fieldTypeOptions: Array<{
69
+ value: IFieldSchemaType;
70
+ label: string;
71
+ }>;
72
+ export declare const defaultBaseFieldSettings: IBaseFieldSchema;
73
+ export declare const defaultInternalFieldSettings: FieldSchemaMapInternal;
74
+ export declare const defaultExternalFieldSettings: FieldSchemaMap;
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -562,7 +562,13 @@ export interface ICombineColumnsTransformActionPayload extends ITransformActionP
562
562
  * }
563
563
  * ```
564
564
  */
565
- export type IFormatBooleansTransformActionPayload = ITransformActionPayloadBase;
565
+ export interface IFormatBooleanOptions {
566
+ truthy: string[];
567
+ falsey: string[];
568
+ }
569
+ export interface IFormatBooleansTransformActionPayload extends ITransformActionPayloadBase {
570
+ options?: IFormatBooleanOptions;
571
+ }
566
572
  export interface IsEmailOptions {
567
573
  /**
568
574
  * If `allow_display_name` is set to `true`, the validator will also match `Display Name <email-address>`.
@@ -0,0 +1,12 @@
1
+ import { IFieldSchemaSanitised, ITableRowInternal } from '.';
2
+ export interface ICsvExportWorkerMessage {
3
+ tableRows: ITableRowInternal[];
4
+ fieldSchemas: IFieldSchemaSanitised[];
5
+ chunkStart: number;
6
+ }
7
+ export interface ICsvExportWorkerResponse {
8
+ csvRows: string[];
9
+ chunkStart: number;
10
+ status: 'done' | 'failed';
11
+ error?: string;
12
+ }
@@ -0,0 +1,13 @@
1
+ import { DataSources, IFieldSchemaSanitised, ITableRowInternal } from '.';
2
+ export interface IDropdownResolverWorkerMessage {
3
+ tableRows: ITableRowInternal[];
4
+ dropdownFields: IFieldSchemaSanitised[];
5
+ dataSources: DataSources;
6
+ chunkStart: number;
7
+ }
8
+ export interface IDropdownResolverWorkerResponse {
9
+ data: ITableRowInternal[];
10
+ chunkStart: number;
11
+ status: 'done' | 'failed';
12
+ error?: string;
13
+ }
@@ -8,3 +8,13 @@ export interface IHeaderMapDto {
8
8
  fileHeaders: Omit<IHeaderDto, 'description'>[];
9
9
  }
10
10
  export type IHeaderMapResponseDto = Record<string, string | null>;
11
+ export type FieldType = 'text' | 'numeric' | 'monetary' | 'date' | 'time' | 'phone' | 'checkbox' | 'password' | 'dropdown';
12
+ export interface IPredictFieldTypesDto {
13
+ headers: Array<{
14
+ label: string;
15
+ key: string;
16
+ }>;
17
+ }
18
+ export interface IPredictFieldTypesResponseDto {
19
+ predictions: Record<string, FieldType>;
20
+ }
@@ -8,6 +8,7 @@ export type IBeforeRowsChangeReturn = {
8
8
  export type IEventHandlersInternal = {
9
9
  onBeforeRowsChange?: (changedTableRows: ITableRows, range: ITableRowRange, fullTableRows: ITableRowsInternal) => Promise<IBeforeRowsChangeReturn>;
10
10
  onSubmit?: (tableRows: ITableRowsInternal, meta: IMeta, cellErrors: ICellErrorWithMeta[], submitMeta: CreateImportResponse | null) => Promise<void>;
11
+ onExport?: (tableRows: ITableRowsInternal, meta: IMeta, cellErrors: ICellErrorWithMeta[]) => Promise<void>;
11
12
  onSubmitError?: (error: any) => void;
12
13
  onSubmitCancel?: () => void;
13
14
  onFileUpload?: (file: File, fileMeta: IFileInfo) => void;
@@ -0,0 +1,19 @@
1
+ import { IFieldSchemaSanitised, ITableRowInternal } from '.';
2
+ export interface IExcelExportWorkerMessage {
3
+ tableRows: ITableRowInternal[];
4
+ fieldSchemas: IFieldSchemaSanitised[];
5
+ chunkStart: number;
6
+ }
7
+ export interface IExcelExportWorkerResponse {
8
+ data: any[][];
9
+ chunkStart: number;
10
+ status: 'done' | 'failed';
11
+ error?: string;
12
+ }
13
+ export interface IExcelExportMetaData {
14
+ title: string;
15
+ subject: string;
16
+ author: string;
17
+ company: string;
18
+ comments: string;
19
+ }
@@ -56,6 +56,18 @@ export type ITableRows<TableRow = DefaultTableRowType> = ITableRow<TableRow>[];
56
56
  export type IBeforeRowsChangeReturn<TableRow = DefaultTableRowType> = {
57
57
  changedRows: ITableRows<TableRow>;
58
58
  };
59
+ export interface FieldSchemaMap {
60
+ dropdown: IDropdownFieldSchema;
61
+ phone: IPhoneFieldSchema;
62
+ monetary: IMonetaryFieldSchema;
63
+ checkbox: ICheckBoxFieldSchema;
64
+ date: IDateFieldSchema;
65
+ numeric: INumericFieldSchema;
66
+ password: IPasswordFieldSchema;
67
+ text: ITextFieldSchema;
68
+ time: ITimeFieldSchema;
69
+ combine: ICombineFiledSchema;
70
+ }
59
71
  export type IvtSchema<TableRow = DefaultTableRowType> = Omit<IvtSchemaInternal, 'dataSources' | 'stepsConfig' | 'advanced' | 'fields' | 'eventHandlers'> & {
60
72
  dataSources?: DataSources;
61
73
  fields: IFieldSchema<TableRow>[];
@@ -64,11 +76,13 @@ export type IvtSchema<TableRow = DefaultTableRowType> = Omit<IvtSchemaInternal,
64
76
  chooseSheetStep?: Partial<IvtSchemaInternal['stepsConfig']['chooseSheetStep']>;
65
77
  mapHeadersStep?: Partial<IvtSchemaInternal['stepsConfig']['mapHeadersStep']>;
66
78
  reviewStep?: Partial<IvtSchemaInternal['stepsConfig']['reviewStep']>;
79
+ mapFieldsStep?: Partial<IvtSchemaInternal['stepsConfig']['mapFieldsStep']>;
67
80
  };
68
81
  advanced?: Partial<IvtSchemaInternal['advanced']>;
69
82
  eventHandlers?: {
70
83
  onBeforeRowsChange?: (changedTableRows: ITableRows<TableRow>, range: ITableRowRange, fullTableRows: ITableRowsInternal<TableRow>) => Promise<IBeforeRowsChangeReturn<TableRow>>;
71
84
  onSubmit?: (tableRows: ITableRowsInternal<TableRow>, meta: IMeta, cellErrors: ICellErrorWithMeta[], submitMeta: CreateImportResponse | null) => Promise<void>;
85
+ onExport?: (tableRows: ITableRowsInternal<TableRow>, meta: IMeta, cellErrors: ICellErrorWithMeta[]) => Promise<void>;
72
86
  onSubmitError?: (error: any) => void;
73
87
  onSubmitCancel?: () => void;
74
88
  onFileUpload?: (file: File, fileMeta: IFileInfo) => void;
@@ -8,3 +8,6 @@ export * from './validators.types';
8
8
  export * from './cellTransformerAction.type';
9
9
  export * from './columnTransformerAction.type';
10
10
  export * from './locale';
11
+ export * from './dropdownResolver.types';
12
+ export * from './csvExport.types';
13
+ export * from './excelExport.types';
@@ -9,7 +9,7 @@ import { ICellTransformAction } from './cellTransformerAction.type';
9
9
  import { IMeta } from './meta';
10
10
  import { IvtSchema } from './external.types';
11
11
  import { DetailedSettings } from 'handsontable/plugins/pagination';
12
- export interface FieldSchemaMap {
12
+ export interface FieldSchemaMapInternal {
13
13
  dropdown: IDropdownFieldSchemaInternal;
14
14
  phone: IPhoneFieldSchemaInternal;
15
15
  monetary: IMonetaryFieldSchemaInternal;
@@ -26,7 +26,7 @@ export interface IFileInfo {
26
26
  readonly lastModified?: string;
27
27
  }
28
28
  export interface ISourceInfo {
29
- readonly kind: 'upload' | 'drag-drop' | 'url' | 'initial-data';
29
+ readonly kind: 'upload' | 'drag-drop' | 'url' | 'initial-data' | 'manual-entry';
30
30
  readonly referer?: string;
31
31
  }
32
32
  export interface IRecordCounts {
@@ -4,7 +4,7 @@ import { DefaultTableRowType, ITableRowsInternal } from './table.types';
4
4
  import { IFileExtension, IvtCellValue } from './internal.types';
5
5
  import { IFieldTransformerMapInternal } from './transformActions.types';
6
6
  import { IEventHandlersInternal } from './events';
7
- import { ICleanNumberOptions, ICombineColumnsTransformActionPayload } from './cellTransformerAction.type';
7
+ import { ICleanNumberOptions, ICombineColumnsTransformActionPayload, IFormatBooleanOptions } from './cellTransformerAction.type';
8
8
  import { ILocale, ILocaleLanguage } from '.';
9
9
  import { CountryCode } from '../utils/locale';
10
10
  export type IFieldSchemaType = 'dropdown' | 'checkbox' | 'date' | 'numeric' | 'monetary' | 'password' | 'text' | 'combine' | 'time' | 'phone';
@@ -27,6 +27,7 @@ export interface IBaseFieldSchemaInternal {
27
27
  export interface ICheckBoxFieldSchemaInternal extends Omit<IBaseFieldSchemaInternal, 'defaultValue'> {
28
28
  type: 'checkbox';
29
29
  defaultValue?: boolean;
30
+ autoClean?: false | IFormatBooleanOptions;
30
31
  }
31
32
  export interface IDateFieldSchemaInternal extends Omit<IBaseFieldSchemaInternal, 'defaultValue'> {
32
33
  type: 'date';
@@ -62,6 +63,7 @@ export interface IMonetaryFieldSchemaInternal<TableRow = DefaultTableRowType> ex
62
63
  }
63
64
  export interface IPasswordFieldSchemaInternal extends IBaseFieldSchemaInternal {
64
65
  type: 'password';
66
+ defaultValue?: string;
65
67
  }
66
68
  export interface IDropdownFieldSchemaInternal extends IBaseFieldSchemaInternal {
67
69
  type: 'dropdown';
@@ -74,10 +76,12 @@ export type IDropdownFieldObjectOption = {
74
76
  };
75
77
  export interface ITextFieldSchemaInternal extends IBaseFieldSchemaInternal {
76
78
  type: 'text';
79
+ defaultValue?: string;
77
80
  }
78
81
  export interface ICombineFiledSchemaInternal extends Omit<IBaseFieldSchemaInternal, 'alternativeMatches'> {
79
82
  type: 'combine';
80
83
  combine: Omit<ICombineColumnsTransformActionPayload, 'fieldSchemas' | 'columnNumber'>;
84
+ defaultValue?: string;
81
85
  }
82
86
  export interface ITimeFieldSchemaInternal extends IBaseFieldSchemaInternal {
83
87
  type: 'time';
@@ -128,6 +132,7 @@ export interface IPhoneFieldSchemaInternal extends IBaseFieldSchemaInternal {
128
132
  * - SmartFix suggestions still available
129
133
  * */
130
134
  autoClean?: false | IFormatPhoneAutoCleanOptions;
135
+ defaultValue?: string;
131
136
  }
132
137
  /**
133
138
  * IFormatPhoneAutoCleanOptions
@@ -190,6 +195,11 @@ export type IvtSchemaInternal = {
190
195
  title: string;
191
196
  subTitle: string;
192
197
  };
198
+ mapFieldsStep: {
199
+ title: string;
200
+ subTitle: string;
201
+ intelligentFieldMapping: boolean;
202
+ };
193
203
  reviewStep: {
194
204
  title: string;
195
205
  subTitle: string;
@@ -2,7 +2,7 @@ import { IsCreditCardOptions } from 'validator';
2
2
  import { DefaultTableRowType, ITableRowInternal } from './table.types';
3
3
  import { IsURLOptions } from 'validator/lib/isURL';
4
4
  import { Rule } from '@ivandt/json-rules';
5
- import { ICleanNumberOptions, IGenerateUUIDsTransformActionPayload, IsEmailOptions } from './cellTransformerAction.type';
5
+ import { ICleanNumberOptions, IFormatBooleanOptions, IGenerateUUIDsTransformActionPayload, IsEmailOptions } from './cellTransformerAction.type';
6
6
  import { CountryCode } from '../utils/locale';
7
7
  import { ILocale } from './locale';
8
8
  import { IFormatDateAutoCleanOptions } from './schema.types';
@@ -215,6 +215,7 @@ export interface IBooleanFieldValidator extends IBaseFieldValidator {
215
215
  * @constant 'boolean'
216
216
  */
217
217
  type: 'boolean';
218
+ autoFixOptions?: IFormatBooleanOptions;
218
219
  }
219
220
  /**
220
221
  * Validates that all values in a field are unique across the dataset.
@@ -0,0 +1,7 @@
1
+ import { IFieldMappings, IFileHeader } from '../types';
2
+ /**
3
+ * Builds initial field mappings from uploaded file headers.
4
+ * Used when schema.fields is empty - creates a text field for each header.
5
+ * User can then change types in the type selection step.
6
+ */
7
+ export declare function buildFieldMappingsFromHeaders(fileHeaders: IFileHeader[]): IFieldMappings;
@@ -1,2 +1,2 @@
1
- import { FieldSchemaMap, IFieldSchemaType } from '../types';
2
- export declare function createField<T extends IFieldSchemaType>(type: T, field: Omit<FieldSchemaMap[T], 'type'>): FieldSchemaMap[T];
1
+ import { FieldSchemaMapInternal, IFieldSchemaType } from '../types';
2
+ export declare function createField<T extends IFieldSchemaType>(type: T, field: Omit<FieldSchemaMapInternal[T], 'type'>): FieldSchemaMapInternal[T];
@@ -0,0 +1,9 @@
1
+ import { IFieldSchemaInternal, ITableRowsInternal } from '../../types';
2
+ /**
3
+ * Generates empty rows for manual data entry
4
+ * Each row contains all field keys with null values
5
+ * @param fields - Schema field definitions
6
+ * @param count - Number of empty rows to generate (default: 100)
7
+ * @returns Array of empty table rows
8
+ */
9
+ export declare function generateEmptyRows(fields: IFieldSchemaInternal[], count?: number): ITableRowsInternal;
@@ -1,6 +1,7 @@
1
1
  import { IvtSchemaInternal } from '../../types';
2
2
  /**
3
3
  * Processes initialData if present in schema and skips directly to Review step
4
+ * Also handles manual data entry mode by generating empty rows
4
5
  * @param schema - The normalized schema
5
6
  * @returns Promise<boolean> - true if initialData was processed, false otherwise
6
7
  */
@@ -0,0 +1,9 @@
1
+ import { ITableRowInternal } from '../../types';
2
+ /**
3
+ * Generates CSV rows for a chunk of table rows.
4
+ * Single loop, direct string building, no intermediate allocations.
5
+ */
6
+ export declare function generateCsvForRows(tableRows: ITableRowInternal[], fieldMappings: Array<{
7
+ key: string;
8
+ label: string;
9
+ }>): string[];
@@ -0,0 +1,6 @@
1
+ import { IFieldSchemaSanitised, ITableRowInternal } from '../../types';
2
+ export declare const isExportingCsv: import('svelte/store').Writable<boolean>;
3
+ export declare const useCsvExportWorker: () => {
4
+ exportCsv: (tableRows: ITableRowInternal[], fieldSchemas: IFieldSchemaSanitised[]) => Promise<string[]>;
5
+ cancelWorkers: () => void;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { DataSources, IFieldSchemaSanitised, ITableRowInternal } from '../../types';
2
+ /**
3
+ * Resolves dropdown options for a chunk of rows in a worker.
4
+ * Handles static arrays, dataSource resolvers, and remote API calls.
5
+ */
6
+ export declare function resolveDropdownsForRows(tableRows: ITableRowInternal[], dropdownFields: IFieldSchemaSanitised[], dataSources: DataSources, chunkStart: number): Promise<ITableRowInternal[]>;
@@ -0,0 +1,6 @@
1
+ import { IFieldSchemaInternal, ITableRowInternal } from '../../types';
2
+ export declare const isResolvingDropdowns: import('svelte/store').Writable<boolean>;
3
+ export declare const useDropdownResolverWorker: () => {
4
+ resolveDropdowns: (tableRows: ITableRowInternal[], fieldSchemas: IFieldSchemaInternal[]) => Promise<ITableRowInternal[]>;
5
+ cancelWorkers: () => void;
6
+ };
@@ -0,0 +1,7 @@
1
+ import { IExcelExportMetaData } from '../../types/excelExport.types';
2
+ import { IFieldSchemaSanitised, ITableRowInternal } from '../../types';
3
+ export declare const isExportingExcel: import('svelte/store').Writable<boolean>;
4
+ export declare const useExcelExportWorker: () => {
5
+ exportExcel: (tableRows: ITableRowInternal[], fieldSchemas: IFieldSchemaSanitised[], columnWidths: number[], metadata: IExcelExportMetaData) => Promise<Uint8Array>;
6
+ cancelExport: () => void;
7
+ };
@@ -0,0 +1,2 @@
1
+ import { IvtSchema } from '../../lib/types';
2
+ export declare const manualEntry: IvtSchema;
@@ -0,0 +1,2 @@
1
+ import { IvtSchema } from '../../lib/types';
2
+ export declare const manual_and_upload: IvtSchema;
@@ -1,4 +1,4 @@
1
- "use strict";const c=require("./importer-CTCAUkZh.cjs");function l(r,n){for(var t=0;t<n.length;t++){const e=n[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in r)){const s=Object.getOwnPropertyDescriptor(e,a);s&&Object.defineProperty(r,a,s.get?s:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},p=o.exports,u;function d(){return u||(u=1,(function(r,n){(function(t,e){r.exports=e()})(p,(function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
1
+ "use strict";const c=require("./importer-d1ZXZqKy.cjs");function l(r,n){for(var t=0;t<n.length;t++){const e=n[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in r)){const s=Object.getOwnPropertyDescriptor(e,a);s&&Object.defineProperty(r,a,s.get?s:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},p=o.exports,u;function d(){return u||(u=1,(function(r,n){(function(t,e){r.exports=e()})(p,(function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
2
2
  * numbro.js language configuration
3
3
  * language : Swedish
4
4
  * locale : Sweden
@@ -1,4 +1,4 @@
1
- import { g as c } from "./importer-BF11KWqo.js";
1
+ import { g as c } from "./importer-RAnI5eXQ.js";
2
2
  function l(r, n) {
3
3
  for (var t = 0; t < n.length; t++) {
4
4
  const e = n[t];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./importer-BF11KWqo.js";
1
+ import { g as c } from "./importer-RAnI5eXQ.js";
2
2
  function l(r, n) {
3
3
  for (var e = 0; e < n.length; e++) {
4
4
  const t = n[e];
@@ -1,4 +1,4 @@
1
- "use strict";const c=require("./importer-CTCAUkZh.cjs");function l(r,o){for(var e=0;e<o.length;e++){const t=o[e];if(typeof t!="string"&&!Array.isArray(t)){for(const a in t)if(a!=="default"&&!(a in r)){const u=Object.getOwnPropertyDescriptor(t,a);u&&Object.defineProperty(r,a,u.get?u:{enumerable:!0,get:()=>t[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n={exports:{}},p=n.exports,i;function d(){return i||(i=1,(function(r,o){(function(e,t){r.exports=t()})(p,(function(){function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*!
1
+ "use strict";const c=require("./importer-d1ZXZqKy.cjs");function l(r,o){for(var e=0;e<o.length;e++){const t=o[e];if(typeof t!="string"&&!Array.isArray(t)){for(const a in t)if(a!=="default"&&!(a in r)){const u=Object.getOwnPropertyDescriptor(t,a);u&&Object.defineProperty(r,a,u.get?u:{enumerable:!0,get:()=>t[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n={exports:{}},p=n.exports,i;function d(){return i||(i=1,(function(r,o){(function(e,t){r.exports=t()})(p,(function(){function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*!
2
2
  * numbro.js language configuration
3
3
  * language : Thai
4
4
  * locale : Thailand
@@ -1,4 +1,4 @@
1
- import { g as s } from "./importer-BF11KWqo.js";
1
+ import { g as s } from "./importer-RAnI5eXQ.js";
2
2
  function l(a, o) {
3
3
  for (var r = 0; r < o.length; r++) {
4
4
  const e = o[r];
@@ -1,4 +1,4 @@
1
- "use strict";const s=require("./importer-CTCAUkZh.cjs");function l(a,o){for(var r=0;r<o.length;r++){const e=o[r];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in a)){const n=Object.getOwnPropertyDescriptor(e,t);n&&Object.defineProperty(a,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var i={exports:{}},p=i.exports,u;function d(){return u||(u=1,(function(a,o){(function(r,e){a.exports=e()})(p,(function(){function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*!
1
+ "use strict";const s=require("./importer-d1ZXZqKy.cjs");function l(a,o){for(var r=0;r<o.length;r++){const e=o[r];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in a)){const n=Object.getOwnPropertyDescriptor(e,t);n&&Object.defineProperty(a,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var i={exports:{}},p=i.exports,u;function d(){return u||(u=1,(function(a,o){(function(r,e){a.exports=e()})(p,(function(){function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*!
2
2
  * numbro.js language configuration
3
3
  * language : Turkish
4
4
  * locale : Turkey
@@ -1,4 +1,4 @@
1
- "use strict";const c=require("./importer-CTCAUkZh.cjs");function l(r,n){for(var t=0;t<n.length;t++){const e=n[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in r)){const u=Object.getOwnPropertyDescriptor(e,a);u&&Object.defineProperty(r,a,u.get?u:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},p=o.exports,i;function d(){return i||(i=1,(function(r,n){(function(t,e){r.exports=e()})(p,(function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
1
+ "use strict";const c=require("./importer-d1ZXZqKy.cjs");function l(r,n){for(var t=0;t<n.length;t++){const e=n[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in r)){const u=Object.getOwnPropertyDescriptor(e,a);u&&Object.defineProperty(r,a,u.get?u:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},p=o.exports,i;function d(){return i||(i=1,(function(r,n){(function(t,e){r.exports=e()})(p,(function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
2
2
  * numbro.js language configuration
3
3
  * language : Ukrainian
4
4
  * locale : Ukraine
@@ -1,4 +1,4 @@
1
- import { g as c } from "./importer-BF11KWqo.js";
1
+ import { g as c } from "./importer-RAnI5eXQ.js";
2
2
  function l(r, n) {
3
3
  for (var t = 0; t < n.length; t++) {
4
4
  const e = n[t];
@@ -1,4 +1,4 @@
1
- import { g as l } from "./importer-BF11KWqo.js";
1
+ import { g as l } from "./importer-RAnI5eXQ.js";
2
2
  function c(r, n) {
3
3
  for (var t = 0; t < n.length; t++) {
4
4
  const e = n[t];
@@ -1,4 +1,4 @@
1
- "use strict";const l=require("./importer-CTCAUkZh.cjs");function c(r,o){for(var t=0;t<o.length;t++){const e=o[t];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in r)){const i=Object.getOwnPropertyDescriptor(e,n);i&&Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}},p=a.exports,u;function f(){return u||(u=1,(function(r,o){(function(t,e){r.exports=e()})(p,(function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
1
+ "use strict";const l=require("./importer-d1ZXZqKy.cjs");function c(r,o){for(var t=0;t<o.length;t++){const e=o[t];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in r)){const i=Object.getOwnPropertyDescriptor(e,n);i&&Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}},p=a.exports,u;function f(){return u||(u=1,(function(r,o){(function(t,e){r.exports=e()})(p,(function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
2
2
  * numbro.js language configuration
3
3
  * language : simplified chinese
4
4
  * locale : China
@@ -1,4 +1,4 @@
1
- "use strict";const c=require("./importer-CTCAUkZh.cjs");function l(t,i){for(var r=0;r<i.length;r++){const e=i[r];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in t)){const u=Object.getOwnPropertyDescriptor(e,n);u&&Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},f=o.exports,s;function p(){return s||(s=1,(function(t,i){(function(r,e){t.exports=e()})(f,(function(){function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
1
+ "use strict";const c=require("./importer-d1ZXZqKy.cjs");function l(t,i){for(var r=0;r<i.length;r++){const e=i[r];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in t)){const u=Object.getOwnPropertyDescriptor(e,n);u&&Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},f=o.exports,s;function p(){return s||(s=1,(function(t,i){(function(r,e){t.exports=e()})(f,(function(){function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
2
2
  * numbro.js language configuration
3
3
  * language : Chinese traditional
4
4
  * locale: Macau
@@ -1,4 +1,4 @@
1
- import { g as l } from "./importer-BF11KWqo.js";
1
+ import { g as l } from "./importer-RAnI5eXQ.js";
2
2
  function c(t, i) {
3
3
  for (var r = 0; r < i.length; r++) {
4
4
  const e = i[r];
@@ -1,4 +1,4 @@
1
- import { g as l } from "./importer-BF11KWqo.js";
1
+ import { g as l } from "./importer-RAnI5eXQ.js";
2
2
  function c(t, i) {
3
3
  for (var r = 0; r < i.length; r++) {
4
4
  const e = i[r];
@@ -1,4 +1,4 @@
1
- "use strict";const c=require("./importer-CTCAUkZh.cjs");function l(t,i){for(var r=0;r<i.length;r++){const e=i[r];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in t)){const u=Object.getOwnPropertyDescriptor(e,n);u&&Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},f=o.exports,s;function p(){return s||(s=1,(function(t,i){(function(r,e){t.exports=e()})(f,(function(){function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
1
+ "use strict";const c=require("./importer-d1ZXZqKy.cjs");function l(t,i){for(var r=0;r<i.length;r++){const e=i[r];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in t)){const u=Object.getOwnPropertyDescriptor(e,n);u&&Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},f=o.exports,s;function p(){return s||(s=1,(function(t,i){(function(r,e){t.exports=e()})(f,(function(){function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
2
2
  * numbro.js language configuration
3
3
  * language : Chinese simplified
4
4
  * locale: Singapore
@@ -1,4 +1,4 @@
1
- import { g as l } from "./importer-BF11KWqo.js";
1
+ import { g as l } from "./importer-RAnI5eXQ.js";
2
2
  function c(t, i) {
3
3
  for (var r = 0; r < i.length; r++) {
4
4
  const e = i[r];
@@ -1,4 +1,4 @@
1
- "use strict";const c=require("./importer-CTCAUkZh.cjs");function l(t,i){for(var r=0;r<i.length;r++){const e=i[r];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in t)){const u=Object.getOwnPropertyDescriptor(e,n);u&&Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},f=o.exports,s;function p(){return s||(s=1,(function(t,i){(function(r,e){t.exports=e()})(f,(function(){function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
1
+ "use strict";const c=require("./importer-d1ZXZqKy.cjs");function l(t,i){for(var r=0;r<i.length;r++){const e=i[r];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in t)){const u=Object.getOwnPropertyDescriptor(e,n);u&&Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},f=o.exports,s;function p(){return s||(s=1,(function(t,i){(function(r,e){t.exports=e()})(f,(function(){function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
2
2
  * numbro.js language configuration
3
3
  * language : Chinese (Taiwan)
4
4
  * author (numbro.js Version): Randy Wilander : https://github.com/rocketedaway
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ivandt/importer",
3
- "version": "1.14.2",
3
+ "version": "1.15.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",