@importcsv/react 0.2.0 → 0.2.3

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 (352) hide show
  1. package/README.md +100 -427
  2. package/build/bundled/bundled-styles.d.ts +1 -0
  3. package/build/bundled/components/CSVImporter/index.d.ts +5 -0
  4. package/build/{importer → bundled/importer}/components/Box/types/index.d.ts +1 -2
  5. package/build/{importer → bundled/importer}/components/Checkbox/types/index.d.ts +1 -1
  6. package/build/{importer → bundled/importer}/components/Input/types/index.d.ts +1 -1
  7. package/build/bundled/importer/components/Root/index.d.ts +10 -0
  8. package/build/bundled/importer/components/StepLayout/index.d.ts +18 -0
  9. package/build/{importer → bundled/importer}/components/Table/index.d.ts +2 -2
  10. package/build/bundled/importer/components/Tooltip/types/index.d.ts +11 -0
  11. package/build/bundled/importer/components/UploaderWrapper/NativeDropzone.d.ts +11 -0
  12. package/build/bundled/importer/components/VirtualTable/index.d.ts +17 -0
  13. package/build/bundled/importer/components/ui/alert.d.ts +10 -0
  14. package/build/{importer → bundled/importer}/components/ui/button.d.ts +4 -4
  15. package/build/bundled/importer/components/ui/card.d.ts +19 -0
  16. package/build/bundled/importer/components/ui/checkbox.d.ts +7 -0
  17. package/build/bundled/importer/components/ui/dialog.d.ts +38 -0
  18. package/build/bundled/importer/components/ui/flex.d.ts +23 -0
  19. package/build/bundled/importer/components/ui/input.d.ts +6 -0
  20. package/build/bundled/importer/components/ui/select.d.ts +13 -0
  21. package/build/bundled/importer/components/ui/switch.d.ts +7 -0
  22. package/build/bundled/importer/components/ui/toast.d.ts +22 -0
  23. package/build/bundled/importer/components/ui/tooltip.d.ts +20 -0
  24. package/build/{importer → bundled/importer}/components/ui/use-toast.d.ts +5 -3
  25. package/build/{importer → bundled/importer}/features/uploader/types/index.d.ts +1 -1
  26. package/build/bundled/importer/features/validation/components/TransformPanel.d.ts +18 -0
  27. package/build/{importer → bundled/importer}/hooks/useEventListener.d.ts +1 -1
  28. package/build/{importer → bundled/importer}/hooks/useIsomorphicLayoutEffect.d.ts +1 -1
  29. package/build/bundled/importer/providers/Theme.d.ts +10 -0
  30. package/build/bundled/importer/providers/index.d.ts +5 -0
  31. package/build/bundled/importer/providers/types/index.d.ts +10 -0
  32. package/build/bundled/importer/theme/index.d.ts +8 -0
  33. package/build/bundled/importer/theme/presets.d.ts +314 -0
  34. package/build/bundled/importer/theme/runtime.d.ts +62 -0
  35. package/build/bundled/importer/theme/styles.d.ts +120 -0
  36. package/build/bundled/importer/utils/errorAnalysis.d.ts +25 -0
  37. package/build/bundled/importer/utils/getStringLengthOfChildren.d.ts +2 -0
  38. package/build/bundled/importer/utils/themeUtils.d.ts +21 -0
  39. package/build/{index.d.ts → bundled/index.d.ts} +1 -1
  40. package/build/bundled/index.esm.js +8367 -0
  41. package/build/bundled/index.esm.js.map +1 -0
  42. package/build/bundled/index.js +112 -0
  43. package/build/bundled/index.js.map +1 -0
  44. package/build/bundled/index.umd.js +112 -0
  45. package/build/bundled/index.umd.js.map +1 -0
  46. package/build/bundled/js.d.ts +12 -0
  47. package/build/{types → bundled/types}/index.d.ts +27 -0
  48. package/build/bundled/types/theme.d.ts +153 -0
  49. package/build/bundled/validation/transformationStages.d.ts +26 -0
  50. package/build/bundled/validation/transformer.d.ts +17 -0
  51. package/build/preact/bundled-styles.d.ts +1 -0
  52. package/build/preact/components/CSVImporter/index.d.ts +5 -0
  53. package/build/preact/i18n/de.d.ts +32 -0
  54. package/build/preact/i18n/es.d.ts +32 -0
  55. package/build/preact/i18n/fr.d.ts +32 -0
  56. package/build/preact/i18n/i18n.d.ts +6 -0
  57. package/build/preact/i18n/it.d.ts +32 -0
  58. package/build/preact/i18n/useTranslation.d.ts +9 -0
  59. package/build/preact/importer/components/Box/index.d.ts +2 -0
  60. package/build/preact/importer/components/Box/types/index.d.ts +5 -0
  61. package/build/preact/importer/components/Checkbox/index.d.ts +2 -0
  62. package/build/preact/importer/components/Checkbox/types/index.d.ts +4 -0
  63. package/build/preact/importer/components/Errors/index.d.ts +4 -0
  64. package/build/preact/importer/components/Input/index.d.ts +2 -0
  65. package/build/preact/importer/components/Input/types/index.d.ts +18 -0
  66. package/build/preact/importer/components/Root/index.d.ts +10 -0
  67. package/build/preact/importer/components/StepLayout/index.d.ts +18 -0
  68. package/build/preact/importer/components/Stepper/hooks/useStepper.d.ts +2 -0
  69. package/build/preact/importer/components/Stepper/index.d.ts +2 -0
  70. package/build/preact/importer/components/Stepper/types/index.d.ts +14 -0
  71. package/build/preact/importer/components/Table/index.d.ts +9 -0
  72. package/build/preact/importer/components/ToggleFilter/index.d.ts +3 -0
  73. package/build/preact/importer/components/ToggleFilter/types/index.d.ts +11 -0
  74. package/build/preact/importer/components/Tooltip/index.d.ts +2 -0
  75. package/build/preact/importer/components/Tooltip/types/index.d.ts +11 -0
  76. package/build/preact/importer/components/UploaderWrapper/NativeDropzone.d.ts +11 -0
  77. package/build/preact/importer/components/UploaderWrapper/UploaderWrapper.d.ts +2 -0
  78. package/build/preact/importer/components/UploaderWrapper/types/index.d.ts +2 -0
  79. package/build/preact/importer/components/VirtualTable/index.d.ts +17 -0
  80. package/build/preact/importer/components/ui/alert.d.ts +10 -0
  81. package/build/preact/importer/components/ui/button.d.ts +12 -0
  82. package/build/preact/importer/components/ui/card.d.ts +19 -0
  83. package/build/preact/importer/components/ui/checkbox.d.ts +7 -0
  84. package/build/preact/importer/components/ui/dialog.d.ts +38 -0
  85. package/build/preact/importer/components/ui/flex.d.ts +23 -0
  86. package/build/preact/importer/components/ui/input.d.ts +6 -0
  87. package/build/preact/importer/components/ui/select.d.ts +13 -0
  88. package/build/preact/importer/components/ui/switch.d.ts +7 -0
  89. package/build/preact/importer/components/ui/toast.d.ts +22 -0
  90. package/build/preact/importer/components/ui/toaster.d.ts +1 -0
  91. package/build/preact/importer/components/ui/tooltip.d.ts +20 -0
  92. package/build/preact/importer/components/ui/use-toast.d.ts +46 -0
  93. package/build/preact/importer/features/complete/index.d.ts +2 -0
  94. package/build/preact/importer/features/complete/types/index.d.ts +5 -0
  95. package/build/preact/importer/features/configure-import/index.d.ts +13 -0
  96. package/build/preact/importer/features/configure-import/types/index.d.ts +13 -0
  97. package/build/preact/importer/features/main/hooks/useMutableLocalStorage.d.ts +1 -0
  98. package/build/preact/importer/features/main/hooks/useStepNavigation.d.ts +17 -0
  99. package/build/preact/importer/features/main/index.d.ts +2 -0
  100. package/build/preact/importer/features/main/types/index.d.ts +16 -0
  101. package/build/preact/importer/features/map-columns/components/DropDownFields.d.ts +21 -0
  102. package/build/preact/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +16 -0
  103. package/build/preact/importer/features/map-columns/index.d.ts +2 -0
  104. package/build/preact/importer/features/map-columns/types/index.d.ts +16 -0
  105. package/build/preact/importer/features/row-selection/index.d.ts +2 -0
  106. package/build/preact/importer/features/row-selection/types/index.d.ts +8 -0
  107. package/build/preact/importer/features/uploader/hooks/useTemplateTable.d.ts +10 -0
  108. package/build/preact/importer/features/uploader/index.d.ts +2 -0
  109. package/build/preact/importer/features/uploader/types/index.d.ts +9 -0
  110. package/build/preact/importer/features/validation/Validation.d.ts +2 -0
  111. package/build/preact/importer/features/validation/components/TransformModal.d.ts +18 -0
  112. package/build/preact/importer/features/validation/components/TransformPanel.d.ts +18 -0
  113. package/build/preact/importer/features/validation/index.d.ts +1 -0
  114. package/build/preact/importer/features/validation/types.d.ts +32 -0
  115. package/build/preact/importer/hooks/useClickOutside.d.ts +1 -0
  116. package/build/preact/importer/hooks/useCustomStyles.d.ts +1 -0
  117. package/build/preact/importer/hooks/useEventListener.d.ts +4 -0
  118. package/build/preact/importer/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
  119. package/build/preact/importer/hooks/useRect.d.ts +12 -0
  120. package/build/preact/importer/hooks/useWindowSize.d.ts +1 -0
  121. package/build/preact/importer/providers/Theme.d.ts +10 -0
  122. package/build/preact/importer/providers/index.d.ts +5 -0
  123. package/build/preact/importer/providers/types/index.d.ts +10 -0
  124. package/build/preact/importer/services/api.d.ts +1 -0
  125. package/build/preact/importer/services/mapping.d.ts +31 -0
  126. package/build/preact/importer/services/transformation.d.ts +70 -0
  127. package/build/preact/importer/settings/theme/colors.d.ts +4 -0
  128. package/build/preact/importer/settings/theme/index.d.ts +2 -0
  129. package/build/preact/importer/settings/theme/sizes.d.ts +7 -0
  130. package/build/preact/importer/stores/theme.d.ts +17 -0
  131. package/build/preact/importer/theme/index.d.ts +8 -0
  132. package/build/preact/importer/theme/presets.d.ts +314 -0
  133. package/build/preact/importer/theme/runtime.d.ts +62 -0
  134. package/build/preact/importer/theme/styles.d.ts +120 -0
  135. package/build/preact/importer/types/index.d.ts +9 -0
  136. package/build/preact/importer/utils/colorUtils.d.ts +48 -0
  137. package/build/preact/importer/utils/errorAnalysis.d.ts +25 -0
  138. package/build/preact/importer/utils/getStringLengthOfChildren.d.ts +2 -0
  139. package/build/preact/importer/utils/stringSimilarity.d.ts +1 -0
  140. package/build/preact/importer/utils/template.d.ts +2 -0
  141. package/build/preact/importer/utils/themeUtils.d.ts +21 -0
  142. package/build/preact/importer/utils/utils.d.ts +19 -0
  143. package/build/preact/index.d.ts +4 -0
  144. package/build/preact/index.esm.js +7548 -0
  145. package/build/preact/index.esm.js.map +1 -0
  146. package/build/preact/index.js +112 -0
  147. package/build/preact/index.js.map +1 -0
  148. package/build/preact/js.d.ts +12 -0
  149. package/build/preact/settings/defaults.d.ts +3 -0
  150. package/build/preact/styles.d.ts +1 -0
  151. package/build/preact/types/index.d.ts +132 -0
  152. package/build/preact/types/theme.d.ts +153 -0
  153. package/build/preact/utils/cn.d.ts +6 -0
  154. package/build/preact/validation/transformationStages.d.ts +26 -0
  155. package/build/preact/validation/transformer.d.ts +17 -0
  156. package/build/preact/validation/validator.d.ts +23 -0
  157. package/build/react/bundled-styles.d.ts +1 -0
  158. package/build/react/components/CSVImporter/index.d.ts +5 -0
  159. package/build/react/i18n/de.d.ts +32 -0
  160. package/build/react/i18n/es.d.ts +32 -0
  161. package/build/react/i18n/fr.d.ts +32 -0
  162. package/build/react/i18n/i18n.d.ts +6 -0
  163. package/build/react/i18n/it.d.ts +32 -0
  164. package/build/react/i18n/useTranslation.d.ts +9 -0
  165. package/build/react/importer/components/Box/index.d.ts +2 -0
  166. package/build/react/importer/components/Box/types/index.d.ts +5 -0
  167. package/build/react/importer/components/Checkbox/index.d.ts +2 -0
  168. package/build/react/importer/components/Checkbox/types/index.d.ts +4 -0
  169. package/build/react/importer/components/Errors/index.d.ts +4 -0
  170. package/build/react/importer/components/Input/index.d.ts +2 -0
  171. package/build/react/importer/components/Input/types/index.d.ts +18 -0
  172. package/build/react/importer/components/Root/index.d.ts +10 -0
  173. package/build/react/importer/components/StepLayout/index.d.ts +18 -0
  174. package/build/react/importer/components/Stepper/hooks/useStepper.d.ts +2 -0
  175. package/build/react/importer/components/Stepper/index.d.ts +2 -0
  176. package/build/react/importer/components/Stepper/types/index.d.ts +14 -0
  177. package/build/react/importer/components/Table/index.d.ts +9 -0
  178. package/build/react/importer/components/ToggleFilter/index.d.ts +3 -0
  179. package/build/react/importer/components/ToggleFilter/types/index.d.ts +11 -0
  180. package/build/react/importer/components/Tooltip/index.d.ts +2 -0
  181. package/build/react/importer/components/Tooltip/types/index.d.ts +11 -0
  182. package/build/react/importer/components/UploaderWrapper/NativeDropzone.d.ts +11 -0
  183. package/build/react/importer/components/UploaderWrapper/UploaderWrapper.d.ts +2 -0
  184. package/build/react/importer/components/UploaderWrapper/types/index.d.ts +2 -0
  185. package/build/react/importer/components/VirtualTable/index.d.ts +17 -0
  186. package/build/react/importer/components/ui/alert.d.ts +10 -0
  187. package/build/react/importer/components/ui/button.d.ts +12 -0
  188. package/build/react/importer/components/ui/card.d.ts +19 -0
  189. package/build/react/importer/components/ui/checkbox.d.ts +7 -0
  190. package/build/react/importer/components/ui/dialog.d.ts +38 -0
  191. package/build/react/importer/components/ui/flex.d.ts +23 -0
  192. package/build/react/importer/components/ui/input.d.ts +6 -0
  193. package/build/react/importer/components/ui/select.d.ts +13 -0
  194. package/build/react/importer/components/ui/switch.d.ts +7 -0
  195. package/build/react/importer/components/ui/toast.d.ts +22 -0
  196. package/build/react/importer/components/ui/toaster.d.ts +1 -0
  197. package/build/react/importer/components/ui/tooltip.d.ts +20 -0
  198. package/build/react/importer/components/ui/use-toast.d.ts +46 -0
  199. package/build/react/importer/features/complete/index.d.ts +2 -0
  200. package/build/react/importer/features/complete/types/index.d.ts +5 -0
  201. package/build/react/importer/features/configure-import/index.d.ts +13 -0
  202. package/build/react/importer/features/configure-import/types/index.d.ts +13 -0
  203. package/build/react/importer/features/main/hooks/useMutableLocalStorage.d.ts +1 -0
  204. package/build/react/importer/features/main/hooks/useStepNavigation.d.ts +17 -0
  205. package/build/react/importer/features/main/index.d.ts +2 -0
  206. package/build/react/importer/features/main/types/index.d.ts +16 -0
  207. package/build/react/importer/features/map-columns/components/DropDownFields.d.ts +21 -0
  208. package/build/react/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +16 -0
  209. package/build/react/importer/features/map-columns/index.d.ts +2 -0
  210. package/build/react/importer/features/map-columns/types/index.d.ts +16 -0
  211. package/build/react/importer/features/row-selection/index.d.ts +2 -0
  212. package/build/react/importer/features/row-selection/types/index.d.ts +8 -0
  213. package/build/react/importer/features/uploader/hooks/useTemplateTable.d.ts +10 -0
  214. package/build/react/importer/features/uploader/index.d.ts +2 -0
  215. package/build/react/importer/features/uploader/types/index.d.ts +9 -0
  216. package/build/react/importer/features/validation/Validation.d.ts +2 -0
  217. package/build/react/importer/features/validation/components/TransformModal.d.ts +18 -0
  218. package/build/react/importer/features/validation/components/TransformPanel.d.ts +18 -0
  219. package/build/react/importer/features/validation/index.d.ts +1 -0
  220. package/build/react/importer/features/validation/types.d.ts +32 -0
  221. package/build/react/importer/hooks/useClickOutside.d.ts +1 -0
  222. package/build/react/importer/hooks/useCustomStyles.d.ts +1 -0
  223. package/build/react/importer/hooks/useEventListener.d.ts +4 -0
  224. package/build/react/importer/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
  225. package/build/react/importer/hooks/useRect.d.ts +12 -0
  226. package/build/react/importer/hooks/useWindowSize.d.ts +1 -0
  227. package/build/react/importer/providers/Theme.d.ts +10 -0
  228. package/build/react/importer/providers/index.d.ts +5 -0
  229. package/build/react/importer/providers/types/index.d.ts +10 -0
  230. package/build/react/importer/services/api.d.ts +1 -0
  231. package/build/react/importer/services/mapping.d.ts +31 -0
  232. package/build/react/importer/services/transformation.d.ts +70 -0
  233. package/build/react/importer/settings/theme/colors.d.ts +4 -0
  234. package/build/react/importer/settings/theme/index.d.ts +2 -0
  235. package/build/react/importer/settings/theme/sizes.d.ts +7 -0
  236. package/build/react/importer/stores/theme.d.ts +17 -0
  237. package/build/react/importer/theme/index.d.ts +8 -0
  238. package/build/react/importer/theme/presets.d.ts +314 -0
  239. package/build/react/importer/theme/runtime.d.ts +62 -0
  240. package/build/react/importer/theme/styles.d.ts +120 -0
  241. package/build/react/importer/types/index.d.ts +9 -0
  242. package/build/react/importer/utils/colorUtils.d.ts +48 -0
  243. package/build/react/importer/utils/errorAnalysis.d.ts +25 -0
  244. package/build/react/importer/utils/getStringLengthOfChildren.d.ts +2 -0
  245. package/build/react/importer/utils/stringSimilarity.d.ts +1 -0
  246. package/build/react/importer/utils/template.d.ts +2 -0
  247. package/build/react/importer/utils/themeUtils.d.ts +21 -0
  248. package/build/react/importer/utils/utils.d.ts +19 -0
  249. package/build/react/index.d.ts +4 -0
  250. package/build/react/index.esm.js +7351 -0
  251. package/build/react/index.esm.js.map +1 -0
  252. package/build/react/index.js +112 -0
  253. package/build/react/index.js.map +1 -0
  254. package/build/react/js.d.ts +12 -0
  255. package/build/react/settings/defaults.d.ts +3 -0
  256. package/build/react/styles.d.ts +1 -0
  257. package/build/react/types/index.d.ts +132 -0
  258. package/build/react/types/theme.d.ts +153 -0
  259. package/build/react/utils/cn.d.ts +6 -0
  260. package/build/react/validation/transformationStages.d.ts +26 -0
  261. package/build/react/validation/transformer.d.ts +17 -0
  262. package/build/react/validation/validator.d.ts +23 -0
  263. package/package.json +63 -31
  264. package/build/bundle.css +0 -1
  265. package/build/bundled-styles.d.ts +0 -1
  266. package/build/components/CSVImporter/index.d.ts +0 -32
  267. package/build/importer/components/IframeWrapper/index.d.ts +0 -25
  268. package/build/importer/components/ImporterLayout.d.ts +0 -15
  269. package/build/importer/components/Table/types/index.d.ts +0 -42
  270. package/build/importer/components/Tooltip/types/index.d.ts +0 -11
  271. package/build/importer/components/ui/alert.d.ts +0 -8
  272. package/build/importer/components/ui/card.d.ts +0 -8
  273. package/build/importer/components/ui/checkbox.d.ts +0 -4
  274. package/build/importer/components/ui/dialog.d.ts +0 -19
  275. package/build/importer/components/ui/flex.d.ts +0 -14
  276. package/build/importer/components/ui/input.d.ts +0 -5
  277. package/build/importer/components/ui/select.d.ts +0 -13
  278. package/build/importer/components/ui/switch.d.ts +0 -4
  279. package/build/importer/components/ui/toast.d.ts +0 -15
  280. package/build/importer/components/ui/tooltip.d.ts +0 -13
  281. package/build/importer/hooks/useDemoData.d.ts +0 -16
  282. package/build/importer/hooks/useImporterSchema.d.ts +0 -21
  283. package/build/importer/providers/Theme.d.ts +0 -5
  284. package/build/importer/providers/index.d.ts +0 -5
  285. package/build/importer/providers/types/index.d.ts +0 -4
  286. package/build/importer/services/dataProcessor.d.ts +0 -38
  287. package/build/importer/utils/getStringLengthOfChildren.d.ts +0 -2
  288. package/build/index.esm.js +0 -14394
  289. package/build/index.esm.js.map +0 -1
  290. package/build/index.js +0 -327
  291. package/build/index.js.map +0 -1
  292. package/build/js.d.ts +0 -39
  293. package/build/validation/transformer.d.ts +0 -33
  294. /package/build/{i18n → bundled/i18n}/de.d.ts +0 -0
  295. /package/build/{i18n → bundled/i18n}/es.d.ts +0 -0
  296. /package/build/{i18n → bundled/i18n}/fr.d.ts +0 -0
  297. /package/build/{i18n → bundled/i18n}/i18n.d.ts +0 -0
  298. /package/build/{i18n → bundled/i18n}/it.d.ts +0 -0
  299. /package/build/{i18n → bundled/i18n}/useTranslation.d.ts +0 -0
  300. /package/build/{importer → bundled/importer}/components/Box/index.d.ts +0 -0
  301. /package/build/{importer → bundled/importer}/components/Checkbox/index.d.ts +0 -0
  302. /package/build/{importer → bundled/importer}/components/Errors/index.d.ts +0 -0
  303. /package/build/{importer → bundled/importer}/components/Input/index.d.ts +0 -0
  304. /package/build/{importer → bundled/importer}/components/Stepper/hooks/useStepper.d.ts +0 -0
  305. /package/build/{importer → bundled/importer}/components/Stepper/index.d.ts +0 -0
  306. /package/build/{importer → bundled/importer}/components/Stepper/types/index.d.ts +0 -0
  307. /package/build/{importer → bundled/importer}/components/ToggleFilter/index.d.ts +0 -0
  308. /package/build/{importer → bundled/importer}/components/ToggleFilter/types/index.d.ts +0 -0
  309. /package/build/{importer → bundled/importer}/components/Tooltip/index.d.ts +0 -0
  310. /package/build/{importer → bundled/importer}/components/UploaderWrapper/UploaderWrapper.d.ts +0 -0
  311. /package/build/{importer → bundled/importer}/components/UploaderWrapper/types/index.d.ts +0 -0
  312. /package/build/{importer → bundled/importer}/components/ui/toaster.d.ts +0 -0
  313. /package/build/{importer → bundled/importer}/features/complete/index.d.ts +0 -0
  314. /package/build/{importer → bundled/importer}/features/complete/types/index.d.ts +0 -0
  315. /package/build/{importer → bundled/importer}/features/configure-import/index.d.ts +0 -0
  316. /package/build/{importer → bundled/importer}/features/configure-import/types/index.d.ts +0 -0
  317. /package/build/{importer → bundled/importer}/features/main/hooks/useMutableLocalStorage.d.ts +0 -0
  318. /package/build/{importer → bundled/importer}/features/main/hooks/useStepNavigation.d.ts +0 -0
  319. /package/build/{importer → bundled/importer}/features/main/index.d.ts +0 -0
  320. /package/build/{importer → bundled/importer}/features/main/types/index.d.ts +0 -0
  321. /package/build/{importer → bundled/importer}/features/map-columns/components/DropDownFields.d.ts +0 -0
  322. /package/build/{importer → bundled/importer}/features/map-columns/hooks/useMapColumnsTable.d.ts +0 -0
  323. /package/build/{importer → bundled/importer}/features/map-columns/index.d.ts +0 -0
  324. /package/build/{importer → bundled/importer}/features/map-columns/types/index.d.ts +0 -0
  325. /package/build/{importer → bundled/importer}/features/row-selection/index.d.ts +0 -0
  326. /package/build/{importer → bundled/importer}/features/row-selection/types/index.d.ts +0 -0
  327. /package/build/{importer → bundled/importer}/features/uploader/hooks/useTemplateTable.d.ts +0 -0
  328. /package/build/{importer → bundled/importer}/features/uploader/index.d.ts +0 -0
  329. /package/build/{importer → bundled/importer}/features/validation/Validation.d.ts +0 -0
  330. /package/build/{importer → bundled/importer}/features/validation/components/TransformModal.d.ts +0 -0
  331. /package/build/{importer → bundled/importer}/features/validation/index.d.ts +0 -0
  332. /package/build/{importer → bundled/importer}/features/validation/types.d.ts +0 -0
  333. /package/build/{importer → bundled/importer}/hooks/useClickOutside.d.ts +0 -0
  334. /package/build/{importer → bundled/importer}/hooks/useCustomStyles.d.ts +0 -0
  335. /package/build/{importer → bundled/importer}/hooks/useRect.d.ts +0 -0
  336. /package/build/{importer → bundled/importer}/hooks/useWindowSize.d.ts +0 -0
  337. /package/build/{importer → bundled/importer}/services/api.d.ts +0 -0
  338. /package/build/{importer → bundled/importer}/services/mapping.d.ts +0 -0
  339. /package/build/{importer → bundled/importer}/services/transformation.d.ts +0 -0
  340. /package/build/{importer → bundled/importer}/settings/theme/colors.d.ts +0 -0
  341. /package/build/{importer → bundled/importer}/settings/theme/index.d.ts +0 -0
  342. /package/build/{importer → bundled/importer}/settings/theme/sizes.d.ts +0 -0
  343. /package/build/{importer → bundled/importer}/stores/theme.d.ts +0 -0
  344. /package/build/{importer → bundled/importer}/types/index.d.ts +0 -0
  345. /package/build/{importer → bundled/importer}/utils/colorUtils.d.ts +0 -0
  346. /package/build/{importer → bundled/importer}/utils/stringSimilarity.d.ts +0 -0
  347. /package/build/{importer → bundled/importer}/utils/template.d.ts +0 -0
  348. /package/build/{importer → bundled/importer}/utils/utils.d.ts +0 -0
  349. /package/build/{settings → bundled/settings}/defaults.d.ts +0 -0
  350. /package/build/{styles.d.ts → bundled/styles.d.ts} +0 -0
  351. /package/build/{utils → bundled/utils}/cn.d.ts +0 -0
  352. /package/build/{validation → bundled/validation}/validator.d.ts +0 -0
package/build/js.d.ts DELETED
@@ -1,39 +0,0 @@
1
- import { CSVImporterProps } from './types';
2
- type CreateImporterProps = CSVImporterProps & {
3
- domElement?: Element;
4
- };
5
- export declare function createCSVImporter(props: CreateImporterProps): {
6
- instance: (import('react').ForwardRefExoticComponent<{
7
- columns?: import('./types').Column[] | undefined;
8
- importerKey?: string | undefined;
9
- onComplete?: ((data: any) => void) | undefined;
10
- backendUrl?: string | undefined;
11
- user?: Record<string, any> | undefined;
12
- metadata?: Record<string, any> | undefined;
13
- darkMode?: boolean | undefined;
14
- primaryColor?: string | undefined;
15
- className?: string | undefined;
16
- customStyles?: string | Record<string, string> | undefined;
17
- showDownloadTemplateButton?: boolean | undefined;
18
- skipHeaderRowSelection?: boolean | undefined;
19
- waitOnComplete?: boolean | undefined;
20
- language?: string | undefined;
21
- customTranslations?: {
22
- [language: string]: {
23
- [key: string]: string;
24
- };
25
- } | undefined;
26
- demoData?: {
27
- fileName: string;
28
- csvContent: string;
29
- } | undefined;
30
- } & {
31
- isModal?: boolean | undefined;
32
- modalIsOpen?: boolean | undefined;
33
- modalOnCloseTriggered?: (() => void) | undefined;
34
- modalCloseOnOutsideClick?: boolean | undefined;
35
- } & import('react').RefAttributes<unknown>> & HTMLDialogElement) | null;
36
- showModal: () => void;
37
- closeModal: () => void;
38
- };
39
- export {};
@@ -1,33 +0,0 @@
1
- export type Transformer = {
2
- type: 'trim';
3
- } | {
4
- type: 'uppercase';
5
- } | {
6
- type: 'lowercase';
7
- } | {
8
- type: 'capitalize';
9
- } | {
10
- type: 'remove_special_chars';
11
- } | {
12
- type: 'normalize_phone';
13
- } | {
14
- type: 'normalize_date';
15
- format?: string;
16
- } | {
17
- type: 'default';
18
- value: string;
19
- } | {
20
- type: 'replace';
21
- find: string;
22
- replace: string;
23
- } | {
24
- type: 'custom';
25
- fn: (value: any) => any;
26
- };
27
- /**
28
- * Apply transformations to a value
29
- * @param value The value to transform
30
- * @param transformations Array of transformations to apply
31
- * @returns Transformed value
32
- */
33
- export declare function applyTransformations(value: any, transformations?: Transformer[]): any;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes