@importcsv/react 0.2.8 → 0.2.9

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 (346) hide show
  1. package/build/react/components/CSVImporter/index.d.ts +1 -1
  2. package/build/react/importer/components/Root/index.d.ts +1 -1
  3. package/build/react/importer/components/ui/alert.d.ts +3 -3
  4. package/build/react/importer/components/ui/button.d.ts +1 -1
  5. package/build/react/importer/components/ui/card.d.ts +6 -6
  6. package/build/react/importer/components/ui/checkbox.d.ts +1 -1
  7. package/build/react/importer/components/ui/dialog.d.ts +5 -5
  8. package/build/react/importer/components/ui/flex.d.ts +5 -5
  9. package/build/react/importer/components/ui/input.d.ts +1 -1
  10. package/build/react/importer/components/ui/select.d.ts +1 -1
  11. package/build/react/importer/components/ui/switch.d.ts +1 -1
  12. package/build/react/importer/components/ui/toast.d.ts +5 -5
  13. package/build/react/importer/components/ui/tooltip.d.ts +2 -2
  14. package/build/react/index.esm.js +386 -384
  15. package/build/react/index.esm.js.map +1 -1
  16. package/build/react/index.js +22 -22
  17. package/build/react/index.js.map +1 -1
  18. package/build/react/js.d.ts +1 -1
  19. package/package.json +4 -2
  20. package/build/App.d.ts +0 -2
  21. package/build/bundled/bundled-styles.d.ts +0 -1
  22. package/build/bundled/components/CSVImporter/index.d.ts +0 -5
  23. package/build/bundled/i18n/de.d.ts +0 -32
  24. package/build/bundled/i18n/es.d.ts +0 -32
  25. package/build/bundled/i18n/fr.d.ts +0 -32
  26. package/build/bundled/i18n/i18n.d.ts +0 -6
  27. package/build/bundled/i18n/it.d.ts +0 -32
  28. package/build/bundled/i18n/useTranslation.d.ts +0 -9
  29. package/build/bundled/importer/components/Box/index.d.ts +0 -2
  30. package/build/bundled/importer/components/Box/types/index.d.ts +0 -5
  31. package/build/bundled/importer/components/Checkbox/index.d.ts +0 -2
  32. package/build/bundled/importer/components/Checkbox/types/index.d.ts +0 -4
  33. package/build/bundled/importer/components/Errors/index.d.ts +0 -4
  34. package/build/bundled/importer/components/Input/index.d.ts +0 -2
  35. package/build/bundled/importer/components/Input/types/index.d.ts +0 -18
  36. package/build/bundled/importer/components/Root/index.d.ts +0 -10
  37. package/build/bundled/importer/components/StepLayout/index.d.ts +0 -18
  38. package/build/bundled/importer/components/Stepper/hooks/useStepper.d.ts +0 -2
  39. package/build/bundled/importer/components/Stepper/index.d.ts +0 -2
  40. package/build/bundled/importer/components/Stepper/types/index.d.ts +0 -14
  41. package/build/bundled/importer/components/Table/index.d.ts +0 -9
  42. package/build/bundled/importer/components/ToggleFilter/index.d.ts +0 -3
  43. package/build/bundled/importer/components/ToggleFilter/types/index.d.ts +0 -11
  44. package/build/bundled/importer/components/Tooltip/index.d.ts +0 -2
  45. package/build/bundled/importer/components/Tooltip/types/index.d.ts +0 -11
  46. package/build/bundled/importer/components/UploaderWrapper/NativeDropzone.d.ts +0 -11
  47. package/build/bundled/importer/components/UploaderWrapper/UploaderWrapper.d.ts +0 -2
  48. package/build/bundled/importer/components/UploaderWrapper/types/index.d.ts +0 -2
  49. package/build/bundled/importer/components/VirtualTable/index.d.ts +0 -17
  50. package/build/bundled/importer/components/ui/alert.d.ts +0 -10
  51. package/build/bundled/importer/components/ui/button.d.ts +0 -12
  52. package/build/bundled/importer/components/ui/card.d.ts +0 -19
  53. package/build/bundled/importer/components/ui/checkbox.d.ts +0 -7
  54. package/build/bundled/importer/components/ui/dialog.d.ts +0 -38
  55. package/build/bundled/importer/components/ui/flex.d.ts +0 -23
  56. package/build/bundled/importer/components/ui/input.d.ts +0 -6
  57. package/build/bundled/importer/components/ui/select.d.ts +0 -13
  58. package/build/bundled/importer/components/ui/switch.d.ts +0 -7
  59. package/build/bundled/importer/components/ui/toast.d.ts +0 -22
  60. package/build/bundled/importer/components/ui/toaster.d.ts +0 -1
  61. package/build/bundled/importer/components/ui/tooltip.d.ts +0 -20
  62. package/build/bundled/importer/components/ui/use-toast.d.ts +0 -46
  63. package/build/bundled/importer/features/complete/index.d.ts +0 -2
  64. package/build/bundled/importer/features/complete/types/index.d.ts +0 -5
  65. package/build/bundled/importer/features/configure-import/index.d.ts +0 -13
  66. package/build/bundled/importer/features/configure-import/types/index.d.ts +0 -13
  67. package/build/bundled/importer/features/main/hooks/useMutableLocalStorage.d.ts +0 -1
  68. package/build/bundled/importer/features/main/hooks/useStepNavigation.d.ts +0 -17
  69. package/build/bundled/importer/features/main/index.d.ts +0 -2
  70. package/build/bundled/importer/features/main/types/index.d.ts +0 -16
  71. package/build/bundled/importer/features/map-columns/components/DropDownFields.d.ts +0 -21
  72. package/build/bundled/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +0 -16
  73. package/build/bundled/importer/features/map-columns/index.d.ts +0 -2
  74. package/build/bundled/importer/features/map-columns/types/index.d.ts +0 -16
  75. package/build/bundled/importer/features/row-selection/index.d.ts +0 -2
  76. package/build/bundled/importer/features/row-selection/types/index.d.ts +0 -8
  77. package/build/bundled/importer/features/uploader/hooks/useTemplateTable.d.ts +0 -10
  78. package/build/bundled/importer/features/uploader/index.d.ts +0 -2
  79. package/build/bundled/importer/features/uploader/types/index.d.ts +0 -9
  80. package/build/bundled/importer/features/validation/Validation.d.ts +0 -2
  81. package/build/bundled/importer/features/validation/components/TransformModal.d.ts +0 -18
  82. package/build/bundled/importer/features/validation/components/TransformPanel.d.ts +0 -18
  83. package/build/bundled/importer/features/validation/index.d.ts +0 -1
  84. package/build/bundled/importer/features/validation/types.d.ts +0 -32
  85. package/build/bundled/importer/hooks/useClickOutside.d.ts +0 -1
  86. package/build/bundled/importer/hooks/useCustomStyles.d.ts +0 -1
  87. package/build/bundled/importer/hooks/useEventListener.d.ts +0 -4
  88. package/build/bundled/importer/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  89. package/build/bundled/importer/hooks/useRect.d.ts +0 -12
  90. package/build/bundled/importer/hooks/useWindowSize.d.ts +0 -1
  91. package/build/bundled/importer/providers/Theme.d.ts +0 -10
  92. package/build/bundled/importer/providers/index.d.ts +0 -5
  93. package/build/bundled/importer/providers/types/index.d.ts +0 -10
  94. package/build/bundled/importer/services/api.d.ts +0 -1
  95. package/build/bundled/importer/services/mapping.d.ts +0 -31
  96. package/build/bundled/importer/services/transformation.d.ts +0 -70
  97. package/build/bundled/importer/settings/theme/colors.d.ts +0 -4
  98. package/build/bundled/importer/settings/theme/index.d.ts +0 -2
  99. package/build/bundled/importer/settings/theme/sizes.d.ts +0 -7
  100. package/build/bundled/importer/stores/theme.d.ts +0 -17
  101. package/build/bundled/importer/theme/index.d.ts +0 -8
  102. package/build/bundled/importer/theme/presets.d.ts +0 -314
  103. package/build/bundled/importer/theme/runtime.d.ts +0 -62
  104. package/build/bundled/importer/theme/styles.d.ts +0 -120
  105. package/build/bundled/importer/types/index.d.ts +0 -9
  106. package/build/bundled/importer/utils/colorUtils.d.ts +0 -48
  107. package/build/bundled/importer/utils/errorAnalysis.d.ts +0 -25
  108. package/build/bundled/importer/utils/getStringLengthOfChildren.d.ts +0 -2
  109. package/build/bundled/importer/utils/stringSimilarity.d.ts +0 -1
  110. package/build/bundled/importer/utils/template.d.ts +0 -2
  111. package/build/bundled/importer/utils/themeUtils.d.ts +0 -21
  112. package/build/bundled/importer/utils/utils.d.ts +0 -19
  113. package/build/bundled/index.d.ts +0 -4
  114. package/build/bundled/index.esm.js +0 -8189
  115. package/build/bundled/index.esm.js.map +0 -1
  116. package/build/bundled/index.js +0 -112
  117. package/build/bundled/index.js.map +0 -1
  118. package/build/bundled/index.umd.js +0 -112
  119. package/build/bundled/index.umd.js.map +0 -1
  120. package/build/bundled/js.d.ts +0 -12
  121. package/build/bundled/settings/defaults.d.ts +0 -3
  122. package/build/bundled/styles.d.ts +0 -1
  123. package/build/bundled/types/index.d.ts +0 -132
  124. package/build/bundled/types/theme.d.ts +0 -153
  125. package/build/bundled/utils/cn.d.ts +0 -6
  126. package/build/bundled/utils/injectStyles.d.ts +0 -14
  127. package/build/bundled/validation/transformationStages.d.ts +0 -26
  128. package/build/bundled/validation/transformer.d.ts +0 -17
  129. package/build/bundled/validation/validator.d.ts +0 -23
  130. package/build/bundled-styles.d.ts +0 -1
  131. package/build/components/CSVImporter/index.d.ts +0 -9
  132. package/build/components/Modal/index.d.ts +0 -12
  133. package/build/config/index.d.ts +0 -5
  134. package/build/i18n/de.d.ts +0 -32
  135. package/build/i18n/es.d.ts +0 -32
  136. package/build/i18n/fr.d.ts +0 -32
  137. package/build/i18n/i18n.d.ts +0 -6
  138. package/build/i18n/it.d.ts +0 -32
  139. package/build/i18n/useTranslation.d.ts +0 -9
  140. package/build/importer/components/Box/index.d.ts +0 -2
  141. package/build/importer/components/Box/types/index.d.ts +0 -5
  142. package/build/importer/components/Checkbox/index.d.ts +0 -2
  143. package/build/importer/components/Checkbox/types/index.d.ts +0 -4
  144. package/build/importer/components/Errors/index.d.ts +0 -4
  145. package/build/importer/components/Input/index.d.ts +0 -2
  146. package/build/importer/components/Input/types/index.d.ts +0 -18
  147. package/build/importer/components/Root/index.d.ts +0 -10
  148. package/build/importer/components/StepLayout/index.d.ts +0 -18
  149. package/build/importer/components/Stepper/hooks/useStepper.d.ts +0 -2
  150. package/build/importer/components/Stepper/index.d.ts +0 -2
  151. package/build/importer/components/Stepper/types/index.d.ts +0 -14
  152. package/build/importer/components/Table/index.d.ts +0 -9
  153. package/build/importer/components/ToggleFilter/index.d.ts +0 -3
  154. package/build/importer/components/ToggleFilter/types/index.d.ts +0 -11
  155. package/build/importer/components/Tooltip/index.d.ts +0 -2
  156. package/build/importer/components/Tooltip/types/index.d.ts +0 -11
  157. package/build/importer/components/UploaderWrapper/NativeDropzone.d.ts +0 -11
  158. package/build/importer/components/UploaderWrapper/UploaderWrapper.d.ts +0 -2
  159. package/build/importer/components/UploaderWrapper/types/index.d.ts +0 -2
  160. package/build/importer/components/VirtualTable/index.d.ts +0 -17
  161. package/build/importer/components/ui/alert.d.ts +0 -10
  162. package/build/importer/components/ui/button.d.ts +0 -12
  163. package/build/importer/components/ui/card.d.ts +0 -19
  164. package/build/importer/components/ui/checkbox.d.ts +0 -7
  165. package/build/importer/components/ui/dialog.d.ts +0 -39
  166. package/build/importer/components/ui/flex.d.ts +0 -23
  167. package/build/importer/components/ui/input.d.ts +0 -6
  168. package/build/importer/components/ui/select.d.ts +0 -13
  169. package/build/importer/components/ui/switch.d.ts +0 -7
  170. package/build/importer/components/ui/toast.d.ts +0 -23
  171. package/build/importer/components/ui/toaster.d.ts +0 -1
  172. package/build/importer/components/ui/tooltip.d.ts +0 -20
  173. package/build/importer/components/ui/use-toast.d.ts +0 -46
  174. package/build/importer/features/complete/index.d.ts +0 -2
  175. package/build/importer/features/complete/types/index.d.ts +0 -5
  176. package/build/importer/features/configure-import/index.d.ts +0 -13
  177. package/build/importer/features/configure-import/types/index.d.ts +0 -13
  178. package/build/importer/features/main/hooks/useMutableLocalStorage.d.ts +0 -1
  179. package/build/importer/features/main/hooks/useStepNavigation.d.ts +0 -17
  180. package/build/importer/features/main/index.d.ts +0 -2
  181. package/build/importer/features/main/types/index.d.ts +0 -16
  182. package/build/importer/features/map-columns/components/DropDownFields.d.ts +0 -21
  183. package/build/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +0 -16
  184. package/build/importer/features/map-columns/index.d.ts +0 -2
  185. package/build/importer/features/map-columns/types/index.d.ts +0 -16
  186. package/build/importer/features/row-selection/index.d.ts +0 -2
  187. package/build/importer/features/row-selection/types/index.d.ts +0 -8
  188. package/build/importer/features/uploader/hooks/useTemplateTable.d.ts +0 -10
  189. package/build/importer/features/uploader/index.d.ts +0 -2
  190. package/build/importer/features/uploader/types/index.d.ts +0 -9
  191. package/build/importer/features/validation/Validation.d.ts +0 -2
  192. package/build/importer/features/validation/components/TransformModal.d.ts +0 -18
  193. package/build/importer/features/validation/components/TransformPanel.d.ts +0 -18
  194. package/build/importer/features/validation/index.d.ts +0 -1
  195. package/build/importer/features/validation/types.d.ts +0 -32
  196. package/build/importer/hooks/useClickOutside.d.ts +0 -1
  197. package/build/importer/hooks/useCustomStyles.d.ts +0 -1
  198. package/build/importer/hooks/useEventListener.d.ts +0 -4
  199. package/build/importer/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  200. package/build/importer/hooks/useRect.d.ts +0 -12
  201. package/build/importer/hooks/useWindowSize.d.ts +0 -1
  202. package/build/importer/providers/Theme.d.ts +0 -10
  203. package/build/importer/providers/index.d.ts +0 -5
  204. package/build/importer/providers/types/index.d.ts +0 -10
  205. package/build/importer/services/api.d.ts +0 -1
  206. package/build/importer/services/mapping.d.ts +0 -31
  207. package/build/importer/services/transformation.d.ts +0 -70
  208. package/build/importer/settings/theme/colors.d.ts +0 -4
  209. package/build/importer/settings/theme/index.d.ts +0 -2
  210. package/build/importer/settings/theme/sizes.d.ts +0 -7
  211. package/build/importer/stores/theme.d.ts +0 -17
  212. package/build/importer/theme/index.d.ts +0 -8
  213. package/build/importer/theme/presets.d.ts +0 -314
  214. package/build/importer/theme/runtime.d.ts +0 -66
  215. package/build/importer/theme/styles.d.ts +0 -120
  216. package/build/importer/types/index.d.ts +0 -9
  217. package/build/importer/utils/colorUtils.d.ts +0 -48
  218. package/build/importer/utils/errorAnalysis.d.ts +0 -25
  219. package/build/importer/utils/getStringLengthOfChildren.d.ts +0 -2
  220. package/build/importer/utils/stringSimilarity.d.ts +0 -1
  221. package/build/importer/utils/template.d.ts +0 -2
  222. package/build/importer/utils/themeUtils.d.ts +0 -24
  223. package/build/importer/utils/utils.d.ts +0 -19
  224. package/build/index.d.ts +0 -6
  225. package/build/index.dev.d.ts +0 -1
  226. package/build/js.d.ts +0 -12
  227. package/build/preact/bundled-styles.d.ts +0 -1
  228. package/build/preact/components/CSVImporter/index.d.ts +0 -5
  229. package/build/preact/components/Modal/index.d.ts +0 -12
  230. package/build/preact/i18n/de.d.ts +0 -32
  231. package/build/preact/i18n/es.d.ts +0 -32
  232. package/build/preact/i18n/fr.d.ts +0 -32
  233. package/build/preact/i18n/i18n.d.ts +0 -6
  234. package/build/preact/i18n/it.d.ts +0 -32
  235. package/build/preact/i18n/useTranslation.d.ts +0 -9
  236. package/build/preact/importer/components/Box/index.d.ts +0 -2
  237. package/build/preact/importer/components/Box/types/index.d.ts +0 -5
  238. package/build/preact/importer/components/Checkbox/index.d.ts +0 -2
  239. package/build/preact/importer/components/Checkbox/types/index.d.ts +0 -4
  240. package/build/preact/importer/components/Errors/index.d.ts +0 -4
  241. package/build/preact/importer/components/Input/index.d.ts +0 -2
  242. package/build/preact/importer/components/Input/types/index.d.ts +0 -18
  243. package/build/preact/importer/components/Root/index.d.ts +0 -10
  244. package/build/preact/importer/components/StepLayout/index.d.ts +0 -18
  245. package/build/preact/importer/components/Stepper/hooks/useStepper.d.ts +0 -2
  246. package/build/preact/importer/components/Stepper/index.d.ts +0 -2
  247. package/build/preact/importer/components/Stepper/types/index.d.ts +0 -14
  248. package/build/preact/importer/components/Table/index.d.ts +0 -9
  249. package/build/preact/importer/components/Table/types/index.d.ts +0 -42
  250. package/build/preact/importer/components/ToggleFilter/index.d.ts +0 -3
  251. package/build/preact/importer/components/ToggleFilter/types/index.d.ts +0 -11
  252. package/build/preact/importer/components/Tooltip/index.d.ts +0 -2
  253. package/build/preact/importer/components/Tooltip/types/index.d.ts +0 -11
  254. package/build/preact/importer/components/UploaderWrapper/NativeDropzone.d.ts +0 -11
  255. package/build/preact/importer/components/UploaderWrapper/UploaderWrapper.d.ts +0 -2
  256. package/build/preact/importer/components/UploaderWrapper/types/index.d.ts +0 -2
  257. package/build/preact/importer/components/VirtualTable/index.d.ts +0 -17
  258. package/build/preact/importer/components/ui/alert.d.ts +0 -13
  259. package/build/preact/importer/components/ui/button.d.ts +0 -12
  260. package/build/preact/importer/components/ui/card.d.ts +0 -19
  261. package/build/preact/importer/components/ui/checkbox.d.ts +0 -7
  262. package/build/preact/importer/components/ui/dialog.d.ts +0 -38
  263. package/build/preact/importer/components/ui/flex.d.ts +0 -23
  264. package/build/preact/importer/components/ui/input.d.ts +0 -6
  265. package/build/preact/importer/components/ui/select.d.ts +0 -13
  266. package/build/preact/importer/components/ui/switch.d.ts +0 -7
  267. package/build/preact/importer/components/ui/toast.d.ts +0 -22
  268. package/build/preact/importer/components/ui/toaster.d.ts +0 -1
  269. package/build/preact/importer/components/ui/tooltip.d.ts +0 -24
  270. package/build/preact/importer/components/ui/use-toast.d.ts +0 -46
  271. package/build/preact/importer/features/complete/index.d.ts +0 -2
  272. package/build/preact/importer/features/complete/types/index.d.ts +0 -5
  273. package/build/preact/importer/features/configure-import/index.d.ts +0 -13
  274. package/build/preact/importer/features/configure-import/types/index.d.ts +0 -13
  275. package/build/preact/importer/features/main/hooks/useMutableLocalStorage.d.ts +0 -1
  276. package/build/preact/importer/features/main/hooks/useStepNavigation.d.ts +0 -17
  277. package/build/preact/importer/features/main/index.d.ts +0 -2
  278. package/build/preact/importer/features/main/types/index.d.ts +0 -16
  279. package/build/preact/importer/features/map-columns/components/DropDownFields.d.ts +0 -21
  280. package/build/preact/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +0 -16
  281. package/build/preact/importer/features/map-columns/index.d.ts +0 -2
  282. package/build/preact/importer/features/map-columns/types/index.d.ts +0 -16
  283. package/build/preact/importer/features/row-selection/index.d.ts +0 -2
  284. package/build/preact/importer/features/row-selection/types/index.d.ts +0 -8
  285. package/build/preact/importer/features/uploader/hooks/useTemplateTable.d.ts +0 -10
  286. package/build/preact/importer/features/uploader/index.d.ts +0 -2
  287. package/build/preact/importer/features/uploader/types/index.d.ts +0 -9
  288. package/build/preact/importer/features/validation/Validation.d.ts +0 -2
  289. package/build/preact/importer/features/validation/components/TransformModal.d.ts +0 -18
  290. package/build/preact/importer/features/validation/components/TransformPanel.d.ts +0 -18
  291. package/build/preact/importer/features/validation/index.d.ts +0 -1
  292. package/build/preact/importer/features/validation/types.d.ts +0 -32
  293. package/build/preact/importer/hooks/useClickOutside.d.ts +0 -1
  294. package/build/preact/importer/hooks/useCustomStyles.d.ts +0 -1
  295. package/build/preact/importer/hooks/useEventListener.d.ts +0 -4
  296. package/build/preact/importer/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  297. package/build/preact/importer/hooks/useRect.d.ts +0 -12
  298. package/build/preact/importer/hooks/useWindowSize.d.ts +0 -1
  299. package/build/preact/importer/providers/Theme.d.ts +0 -10
  300. package/build/preact/importer/providers/index.d.ts +0 -5
  301. package/build/preact/importer/providers/types/index.d.ts +0 -10
  302. package/build/preact/importer/services/api.d.ts +0 -1
  303. package/build/preact/importer/services/mapping.d.ts +0 -31
  304. package/build/preact/importer/services/transformation.d.ts +0 -70
  305. package/build/preact/importer/settings/theme/colors.d.ts +0 -4
  306. package/build/preact/importer/settings/theme/index.d.ts +0 -2
  307. package/build/preact/importer/settings/theme/sizes.d.ts +0 -7
  308. package/build/preact/importer/stores/theme.d.ts +0 -17
  309. package/build/preact/importer/theme/index.d.ts +0 -8
  310. package/build/preact/importer/theme/presets.d.ts +0 -314
  311. package/build/preact/importer/theme/runtime.d.ts +0 -62
  312. package/build/preact/importer/theme/styles.d.ts +0 -120
  313. package/build/preact/importer/types/index.d.ts +0 -9
  314. package/build/preact/importer/utils/colorUtils.d.ts +0 -48
  315. package/build/preact/importer/utils/errorAnalysis.d.ts +0 -25
  316. package/build/preact/importer/utils/getStringLengthOfChildren.d.ts +0 -2
  317. package/build/preact/importer/utils/stringSimilarity.d.ts +0 -1
  318. package/build/preact/importer/utils/template.d.ts +0 -2
  319. package/build/preact/importer/utils/themeUtils.d.ts +0 -21
  320. package/build/preact/importer/utils/utils.d.ts +0 -19
  321. package/build/preact/index.d.ts +0 -5
  322. package/build/preact/index.esm.js +0 -7541
  323. package/build/preact/index.esm.js.map +0 -1
  324. package/build/preact/index.js +0 -112
  325. package/build/preact/index.js.map +0 -1
  326. package/build/preact/js.d.ts +0 -12
  327. package/build/preact/settings/defaults.d.ts +0 -3
  328. package/build/preact/styles.d.ts +0 -1
  329. package/build/preact/types/index.d.ts +0 -132
  330. package/build/preact/types/theme.d.ts +0 -153
  331. package/build/preact/utils/cn.d.ts +0 -6
  332. package/build/preact/validation/transformationStages.d.ts +0 -26
  333. package/build/preact/validation/transformer.d.ts +0 -17
  334. package/build/preact/validation/validator.d.ts +0 -23
  335. package/build/services/api.d.ts +0 -50
  336. package/build/services/apiClient.d.ts +0 -55
  337. package/build/settings/defaults.d.ts +0 -3
  338. package/build/shims/react-compat-shim.d.ts +0 -2
  339. package/build/shims/react-hooks-shim.d.ts +0 -2
  340. package/build/styles.d.ts +0 -1
  341. package/build/types/index.d.ts +0 -132
  342. package/build/types/theme.d.ts +0 -153
  343. package/build/utils/cn.d.ts +0 -6
  344. package/build/validation/transformationStages.d.ts +0 -26
  345. package/build/validation/transformer.d.ts +0 -17
  346. package/build/validation/validator.d.ts +0 -23
@@ -1,2 +0,0 @@
1
- import { BoxProps } from './types';
2
- export default function Box({ className, variants, ...props }: BoxProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- export type BoxVariant = "fluid" | "mid" | "wide" | "space-l" | "space-mid" | "space-none" | "bg-shade";
2
- export type BoxProps = JSX.HTMLAttributes<HTMLDivElement> & {
3
- variants?: BoxVariant[];
4
- };
5
- export declare const boxVariants: BoxVariant[];
@@ -1,2 +0,0 @@
1
- import { CheckboxProps } from './types';
2
- export default function Checkbox({ label, className, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
1
- import { InputHTMLAttributes, ReactElement } from 'preact/hooks';
2
- export type CheckboxProps = InputHTMLAttributes<HTMLInputElement> & {
3
- label?: string | ReactElement;
4
- };
@@ -1,4 +0,0 @@
1
- export default function Errors({ error, centered }: {
2
- error?: unknown;
3
- centered?: boolean;
4
- }): import("react/jsx-runtime").JSX.Element | null;
@@ -1,2 +0,0 @@
1
- import { InputProps } from './types';
2
- export default function Input({ as, label, icon, iconAfter, error, options, className, variants, children, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,18 +0,0 @@
1
- import { ButtonHTMLAttributes, InputHTMLAttributes, ReactElement } from 'preact/hooks';
2
- export type inputTypes = "date" | "datetime-local" | "email" | "file" | "month" | "number" | "password" | "search" | "tel" | "text" | "time" | "url" | "week";
3
- export type InputVariants = "fluid" | "small";
4
- export type InputOption = ButtonHTMLAttributes<HTMLButtonElement> & {
5
- required?: boolean;
6
- };
7
- export type InputProps = InputHTMLAttributes<HTMLInputElement> & InputHTMLAttributes<HTMLSelectElement> & InputHTMLAttributes<HTMLTextAreaElement> & {
8
- as?: "input" | "textarea";
9
- label?: string | ReactElement;
10
- icon?: ReactElement;
11
- iconAfter?: ReactElement;
12
- error?: string;
13
- options?: {
14
- [key: string]: InputOption;
15
- };
16
- variants?: InputVariants[];
17
- type?: inputTypes;
18
- };
@@ -1,10 +0,0 @@
1
- import { ComponentChildren } from 'preact';
2
- interface RootProps {
3
- children?: ComponentChildren;
4
- className?: string;
5
- primaryColor?: string;
6
- }
7
- declare const _default: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<RootProps> & {
8
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
9
- }>;
10
- export default _default;
@@ -1,18 +0,0 @@
1
- import { ComponentChildren } from 'preact';
2
- interface StepLayoutProps {
3
- title?: string;
4
- subtitle?: string;
5
- children: ComponentChildren;
6
- headerContent?: ComponentChildren;
7
- footerContent?: ComponentChildren;
8
- showHeader?: boolean;
9
- showFooter?: boolean;
10
- className?: string;
11
- contentClassName?: string;
12
- }
13
- /**
14
- * Consistent layout wrapper for all importer steps
15
- * Ensures uniform spacing, typography, and structure
16
- */
17
- export default function StepLayout({ title, subtitle, children, headerContent, footerContent, showHeader, showFooter, className, contentClassName, }: StepLayoutProps): import("react/jsx-runtime").JSX.Element;
18
- export {};
@@ -1,2 +0,0 @@
1
- import { Step, StepperProps } from '../types';
2
- export default function useStepper(steps: Step[], initialStep: number | undefined, skipHeader: boolean): StepperProps;
@@ -1,2 +0,0 @@
1
- import { StepperProps } from './types';
2
- export default function Stepper({ steps, current, hide, skipHeader }: StepperProps): import("react/jsx-runtime").JSX.Element | null;
@@ -1,14 +0,0 @@
1
- export type Step = {
2
- label: string;
3
- id?: string | number;
4
- disabled?: boolean;
5
- };
6
- export type StepperProps = {
7
- steps: Step[];
8
- current: number;
9
- setCurrent: (step: number) => void;
10
- step: Step;
11
- clickable?: boolean;
12
- skipHeader: boolean;
13
- hide?: boolean;
14
- };
@@ -1,9 +0,0 @@
1
- import { JSX } from 'preact';
2
- import { TableProps } from './types';
3
- export default function Table({ data, // An array of objects with the data to be displayed
4
- keyAsId, // Has to be a unique property in the data array to be used as key
5
- theme, // A CSS module object to style the table
6
- mergeThemes, // Should 'theme' be the only style applied (false) or be merged with the default style (true)
7
- highlightColumns, // Columns that should use the highlighted style
8
- hideColumns, // Array of columns to be hidden in the display
9
- emptyState, heading, background, columnWidths, columnAlignments, fixHeader, onRowClick, }: TableProps): JSX.Element;
@@ -1,42 +0,0 @@
1
- import { JSX } from 'preact';
2
- type Style = {
3
- readonly [key: string]: string;
4
- };
5
- type Primitive = string | number | boolean | null | undefined;
6
- export type TableComposite = {
7
- raw: Primitive;
8
- content: Primitive | JSX.Element;
9
- tooltip?: string;
10
- captionInfo?: string;
11
- };
12
- export type TableValue = Primitive | TableComposite;
13
- export type TableDatum = {
14
- [key: string]: TableValue;
15
- };
16
- export type TableData = TableDatum[];
17
- export type TableProps = {
18
- data: TableData;
19
- keyAsId?: string;
20
- theme?: Style;
21
- mergeThemes?: boolean;
22
- highlightColumns?: string[];
23
- hideColumns?: string[];
24
- emptyState?: ReactElement;
25
- heading?: ReactElement;
26
- background?: "zebra" | "dark" | "light" | "transparent";
27
- columnWidths?: string[];
28
- columnAlignments?: ("left" | "center" | "right" | "")[];
29
- fixHeader?: boolean;
30
- onRowClick?: (row: TableDatum) => void;
31
- };
32
- export type RowProps = {
33
- datum: TableDatum;
34
- isHeading?: boolean;
35
- onClick?: (row: TableDatum) => void;
36
- };
37
- export type CellProps = PropsWithChildren<{
38
- cellClass?: string;
39
- cellStyle: Style;
40
- tooltip?: string;
41
- }>;
42
- export {};
@@ -1,3 +0,0 @@
1
- import { ToggleFilterProps } from './types';
2
- declare function ToggleFilter({ options, onChange, className }: ToggleFilterProps): import("react/jsx-runtime").JSX.Element;
3
- export default ToggleFilter;
@@ -1,11 +0,0 @@
1
- export interface Option {
2
- label: string;
3
- filterValue: string;
4
- selected: boolean;
5
- color?: string;
6
- }
7
- export interface ToggleFilterProps {
8
- options: Option[];
9
- className?: string;
10
- onChange: (option: string) => void;
11
- }
@@ -1,2 +0,0 @@
1
- import { AsMap, TooltipProps } from './types';
2
- export default function Tooltip<T extends keyof AsMap>({ as, className, title, children, icon, ...props }: TooltipProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -1,11 +0,0 @@
1
- import { ReactNode } from 'preact/hooks';
2
- export type AsMap = {
3
- div: JSX.HTMLAttributes<HTMLDivElement>;
4
- span: JSX.HTMLAttributes<HTMLSpanElement>;
5
- p: JSX.HTMLAttributes<HTMLParagraphElement>;
6
- };
7
- export type TooltipProps<T extends keyof AsMap = "span"> = {
8
- as?: T;
9
- title?: string | ReactNode;
10
- icon?: ReactNode;
11
- } & AsMap[T];
@@ -1,11 +0,0 @@
1
- import { ComponentChildren } from 'preact';
2
- interface NativeDropzoneProps {
3
- onFileSelect: (file: File) => void;
4
- accept?: Record<string, string[]>;
5
- disabled?: boolean;
6
- loading?: boolean;
7
- className?: string;
8
- children?: ComponentChildren;
9
- }
10
- export default function NativeDropzone({ onFileSelect, accept, disabled, loading, className, children }: NativeDropzoneProps): import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1,2 +0,0 @@
1
- import { UploaderWrapperProps } from './types';
2
- export default function UploaderWrapper({ onSuccess, setDataError, ...props }: UploaderWrapperProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { UploaderProps } from '../../../features/uploader/types';
2
- export type UploaderWrapperProps = Omit<UploaderProps, "template"> & {};
@@ -1,17 +0,0 @@
1
- import { JSX } from 'preact';
2
- import { FileRow } from '../../features/main/types';
3
- interface VirtualTableProps {
4
- headers: string[];
5
- rows: FileRow[];
6
- renderCell: (row: FileRow, colIdx: number, actualRowIdx: number) => JSX.Element;
7
- onCellEdit?: (rowIdx: number, colIdx: number, value: string) => void;
8
- rowHeight?: number;
9
- overscan?: number;
10
- stickyHeader?: boolean;
11
- stickyFirstColumn?: boolean;
12
- getRowClassName?: (row: FileRow, actualRowIdx: number) => string;
13
- headerRowIndex?: number;
14
- includedColumns: number[];
15
- }
16
- export default function VirtualTable({ headers, rows, renderCell, rowHeight, overscan, stickyHeader, stickyFirstColumn, getRowClassName, headerRowIndex, includedColumns, }: VirtualTableProps): import("react/jsx-runtime").JSX.Element;
17
- export {};
@@ -1,13 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- declare const Alert: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
3
- variant?: "default" | "destructive" | null | undefined;
4
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string>> & {
5
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
6
- }>;
7
- declare const AlertTitle: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<JSX.HTMLAttributes<HTMLHeadingElement>> & {
8
- ref?: import('preact').Ref<HTMLParagraphElement> | undefined;
9
- }>;
10
- declare const AlertDescription: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<JSX.HTMLAttributes<HTMLParagraphElement>> & {
11
- ref?: import('preact').Ref<HTMLParagraphElement> | undefined;
12
- }>;
13
- export { Alert, AlertTitle, AlertDescription };
@@ -1,12 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- declare const buttonVariants: (props?: ({
3
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
4
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
5
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
6
- export interface ButtonProps extends JSX.HTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
7
- isLoading?: boolean;
8
- }
9
- declare const Button: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<ButtonProps> & {
10
- ref?: import('preact').Ref<HTMLButtonElement> | undefined;
11
- }>;
12
- export { Button, buttonVariants };
@@ -1,19 +0,0 @@
1
- declare const Card: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement>> & {
2
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
3
- }>;
4
- declare const CardHeader: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement>> & {
5
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
6
- }>;
7
- declare const CardTitle: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<JSX.HTMLAttributes<HTMLHeadingElement>> & {
8
- ref?: import('preact').Ref<HTMLParagraphElement> | undefined;
9
- }>;
10
- declare const CardDescription: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<JSX.HTMLAttributes<HTMLParagraphElement>> & {
11
- ref?: import('preact').Ref<HTMLParagraphElement> | undefined;
12
- }>;
13
- declare const CardContent: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement>> & {
14
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
15
- }>;
16
- declare const CardFooter: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement>> & {
17
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
18
- }>;
19
- export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
@@ -1,7 +0,0 @@
1
- export interface CheckboxProps extends JSX.HTMLAttributes<HTMLInputElement> {
2
- onCheckedChange?: (checked: boolean) => void;
3
- }
4
- declare const Checkbox: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<CheckboxProps> & {
5
- ref?: import('preact').Ref<HTMLInputElement> | undefined;
6
- }>;
7
- export { Checkbox };
@@ -1,38 +0,0 @@
1
- import { h, ComponentChildren, JSX } from 'preact';
2
- interface DialogProps {
3
- open?: boolean;
4
- onOpenChange?: (open: boolean) => void;
5
- children: ComponentChildren;
6
- }
7
- declare const Dialog: ({ open, onOpenChange, children }: DialogProps) => import("react/jsx-runtime").JSX.Element;
8
- declare const DialogTrigger: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLButtonElement>> & {
9
- ref?: import('preact').Ref<HTMLButtonElement> | undefined;
10
- }>;
11
- interface DialogContentProps extends JSX.HTMLAttributes<HTMLDialogElement> {
12
- onClose?: () => void;
13
- }
14
- declare const DialogContent: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<DialogContentProps> & {
15
- ref?: import('preact').Ref<HTMLDialogElement> | undefined;
16
- }>;
17
- declare const DialogHeader: {
18
- ({ className, ...props }: JSX.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
19
- displayName: string;
20
- };
21
- declare const DialogFooter: {
22
- ({ className, ...props }: JSX.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
23
- displayName: string;
24
- };
25
- declare const DialogTitle: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLHeadingElement>> & {
26
- ref?: import('preact').Ref<HTMLHeadingElement> | undefined;
27
- }>;
28
- declare const DialogDescription: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLParagraphElement>> & {
29
- ref?: import('preact').Ref<HTMLParagraphElement> | undefined;
30
- }>;
31
- declare const DialogPortal: ({ children }: {
32
- children: ComponentChildren;
33
- }) => ComponentChildren;
34
- declare const DialogOverlay: () => null;
35
- declare const DialogClose: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLButtonElement>> & {
36
- ref?: import('preact').Ref<HTMLButtonElement> | undefined;
37
- }>;
38
- export { Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
@@ -1,23 +0,0 @@
1
- interface FlexProps extends JSX.HTMLAttributes<HTMLDivElement> {
2
- direction?: "row" | "column" | "row-reverse" | "column-reverse";
3
- align?: "start" | "center" | "end" | "stretch" | "baseline";
4
- justify?: "start" | "center" | "end" | "between" | "around" | "evenly";
5
- wrap?: boolean;
6
- gap?: number | string;
7
- }
8
- declare const Flex: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<FlexProps> & {
9
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
10
- }>;
11
- declare const Box: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement>> & {
12
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
13
- }>;
14
- declare const HStack: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<Omit<FlexProps, "direction">> & {
15
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
16
- }>;
17
- declare const VStack: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<Omit<FlexProps, "direction">> & {
18
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
19
- }>;
20
- declare const Text: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement>> & {
21
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
22
- }>;
23
- export { Flex, Box, HStack, VStack, Text };
@@ -1,6 +0,0 @@
1
- export interface InputProps extends JSX.HTMLAttributes<HTMLInputElement> {
2
- }
3
- declare const Input: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<InputProps> & {
4
- ref?: import('preact').Ref<HTMLInputElement> | undefined;
5
- }>;
6
- export { Input };
@@ -1,13 +0,0 @@
1
- interface SelectProps extends JSX.SelectHTMLAttributes<HTMLSelectElement> {
2
- placeholder?: string;
3
- options?: Array<{
4
- value: string;
5
- label: string;
6
- disabled?: boolean;
7
- }>;
8
- onValueChange?: (value: string) => void;
9
- }
10
- declare const Select: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<SelectProps> & {
11
- ref?: import('preact').Ref<HTMLSelectElement> | undefined;
12
- }>;
13
- export { Select };
@@ -1,7 +0,0 @@
1
- export interface SwitchProps extends Omit<JSX.HTMLAttributes<HTMLInputElement>, 'type'> {
2
- onCheckedChange?: (checked: boolean) => void;
3
- }
4
- declare const Switch: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<SwitchProps> & {
5
- ref?: import('preact').Ref<HTMLInputElement> | undefined;
6
- }>;
7
- export { Switch };
@@ -1,22 +0,0 @@
1
- import { h, JSX } from 'preact';
2
- export interface ToastProps extends JSX.HTMLAttributes<HTMLDivElement> {
3
- variant?: 'default' | 'destructive';
4
- onClose?: () => void;
5
- }
6
- declare const Toast: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<ToastProps> & {
7
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
8
- }>;
9
- declare const ToastAction: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLButtonElement>> & {
10
- ref?: import('preact').Ref<HTMLButtonElement> | undefined;
11
- }>;
12
- declare const ToastClose: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLButtonElement>> & {
13
- ref?: import('preact').Ref<HTMLButtonElement> | undefined;
14
- }>;
15
- declare const ToastTitle: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLDivElement>> & {
16
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
17
- }>;
18
- declare const ToastDescription: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLDivElement>> & {
19
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
20
- }>;
21
- type ToastActionElement = JSX.Element<typeof ToastAction>;
22
- export { Toast, ToastAction, ToastClose, ToastTitle, ToastDescription, type ToastActionElement, };
@@ -1 +0,0 @@
1
- export declare function Toaster(): import("react/jsx-runtime").JSX.Element;
@@ -1,24 +0,0 @@
1
- import { ComponentChildren } from 'preact';
2
- interface TooltipProps {
3
- content: ComponentChildren;
4
- children: ComponentChildren;
5
- delayDuration?: number;
6
- side?: 'top' | 'bottom' | 'left' | 'right';
7
- className?: string;
8
- }
9
- declare const Tooltip: ({ content, children, delayDuration, side, className }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
10
- declare const TooltipProvider: ({ children }: {
11
- children: ComponentChildren;
12
- }) => import("react/jsx-runtime").JSX.Element;
13
- declare const TooltipRoot: ({ content, children, delayDuration, side, className }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
14
- declare const TooltipTrigger: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement> & {
15
- asChild?: boolean | undefined;
16
- }> & {
17
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
18
- }>;
19
- declare const TooltipContent: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<JSX.HTMLAttributes<HTMLDivElement> & {
20
- sideOffset?: number | undefined;
21
- }> & {
22
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
23
- }>;
24
- export { Tooltip, TooltipRoot, TooltipTrigger, TooltipContent, TooltipProvider };
@@ -1,46 +0,0 @@
1
- import { ComponentChildren } from 'preact';
2
- import { ToastActionElement, ToastProps } from './toast';
3
- type ToasterToast = ToastProps & {
4
- id: string;
5
- title?: ComponentChildren;
6
- description?: ComponentChildren;
7
- action?: ToastActionElement;
8
- open?: boolean;
9
- onOpenChange?: (open: boolean) => void;
10
- };
11
- declare const actionTypes: {
12
- readonly ADD_TOAST: "ADD_TOAST";
13
- readonly UPDATE_TOAST: "UPDATE_TOAST";
14
- readonly DISMISS_TOAST: "DISMISS_TOAST";
15
- readonly REMOVE_TOAST: "REMOVE_TOAST";
16
- };
17
- type ActionType = typeof actionTypes;
18
- type Action = {
19
- type: ActionType["ADD_TOAST"];
20
- toast: ToasterToast;
21
- } | {
22
- type: ActionType["UPDATE_TOAST"];
23
- toast: Partial<ToasterToast>;
24
- } | {
25
- type: ActionType["DISMISS_TOAST"];
26
- toastId?: ToasterToast["id"];
27
- } | {
28
- type: ActionType["REMOVE_TOAST"];
29
- toastId?: ToasterToast["id"];
30
- };
31
- interface State {
32
- toasts: ToasterToast[];
33
- }
34
- export declare const reducer: (state: State, action: Action) => State;
35
- type Toast = Omit<ToasterToast, "id">;
36
- declare function toast({ ...props }: Toast): {
37
- id: string;
38
- dismiss: () => void;
39
- update: () => void;
40
- };
41
- declare function useToast(): {
42
- toast: typeof toast;
43
- dismiss: (toastId?: string) => void;
44
- toasts: ToasterToast[];
45
- };
46
- export { useToast, toast };
@@ -1,2 +0,0 @@
1
- import { CompleteProps } from './types';
2
- export default function Complete({ reload, close, isModal }: CompleteProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- export type CompleteProps = {
2
- reload: () => void;
3
- close: () => void;
4
- isModal: boolean;
5
- };
@@ -1,13 +0,0 @@
1
- import { Column, ColumnMappingDictionary } from '../../../types';
2
- interface ConfigureImportProps {
3
- columns?: Column[];
4
- data: any;
5
- onSuccess: (mapping: ColumnMappingDictionary, headerRow: number) => void;
6
- onCancel?: () => void;
7
- isSubmitting?: boolean;
8
- importerKey?: string;
9
- backendUrl?: string;
10
- isDemoMode?: boolean;
11
- }
12
- export default function ConfigureImport({ columns, data, onSuccess, onCancel, isSubmitting, importerKey, backendUrl, isDemoMode, }: ConfigureImportProps): import("react/jsx-runtime").JSX.Element;
13
- export {};
@@ -1,13 +0,0 @@
1
- import { Template } from '../../../types';
2
- import { ColumnMapping, ColumnMappingDictionary } from '../../../../types';
3
- export interface ConfigureImportProps {
4
- template: Template;
5
- data: any;
6
- onSuccess: (mapping: ColumnMappingDictionary, headerRow: number) => void;
7
- onCancel?: () => void;
8
- isSubmitting?: boolean;
9
- importerKey?: string;
10
- backendUrl?: string;
11
- isDemoMode?: boolean;
12
- }
13
- export type { ColumnMapping, ColumnMappingDictionary };
@@ -1 +0,0 @@
1
- export default function useMutableLocalStorage(key: string, initialValue: any): any[];
@@ -1,17 +0,0 @@
1
- export declare const StepEnum: {
2
- Upload: number;
3
- RowSelection: number;
4
- MapColumns: number;
5
- Validation: number;
6
- Complete: number;
7
- };
8
- declare function useStepNavigation(initialStep: number, skipHeader: boolean, isDemoMode?: boolean): {
9
- currentStep: any;
10
- setStep: (newStep: number) => void;
11
- goBack: (backStep?: number) => void;
12
- goNext: (nextStep?: number) => void;
13
- stepper: import('../../../components/Stepper/types').StepperProps;
14
- stepId: string | number | undefined;
15
- setStorageStep: any;
16
- };
17
- export default useStepNavigation;
@@ -1,2 +0,0 @@
1
- import { CSVImporterProps } from '../../../types';
2
- export default function Main(props: CSVImporterProps): import("react/jsx-runtime").JSX.Element;
@@ -1,16 +0,0 @@
1
- export declare enum Steps {
2
- Upload = "upload",
3
- RowSelection = "row-selection",
4
- MapColumns = "map-columns",
5
- Validation = "validation"
6
- }
7
- export type FileRow = {
8
- index: number;
9
- values: string[];
10
- };
11
- export type FileData = {
12
- fileName: string;
13
- rows: FileRow[];
14
- sheetList: string[];
15
- errors: string[];
16
- };
@@ -1,21 +0,0 @@
1
- import { InputOption } from '../../../components/Input/types';
2
- type DropdownFieldsProps = {
3
- options: {
4
- [key: string]: InputOption;
5
- };
6
- value: string;
7
- placeholder: string;
8
- onChange: (value: string) => void;
9
- selectedValues: {
10
- id?: string;
11
- key?: string;
12
- selected: boolean | undefined;
13
- }[];
14
- updateSelectedValues: (updatedValues: {
15
- id?: string;
16
- key?: string;
17
- selected: boolean | undefined;
18
- }[]) => void;
19
- };
20
- export default function DropdownFields({ options, value, placeholder, onChange, selectedValues, updateSelectedValues }: DropdownFieldsProps): import("react/jsx-runtime").JSX.Element;
21
- export {};
@@ -1,16 +0,0 @@
1
- import { UploadColumn } from '../../../types';
2
- import { Column } from '../../../../types';
3
- import { TemplateColumnMapping } from '../types';
4
- export default function useMapColumnsTable(uploadColumns: UploadColumn[], templateColumns: Column[] | undefined, columnsValues: {
5
- [uploadColumnIndex: number]: TemplateColumnMapping;
6
- }, isLoading?: boolean, importerKey?: string, backendUrl?: string): {
7
- rows: {
8
- [x: string]: {
9
- raw: string | boolean;
10
- content: string | import("react/jsx-runtime").JSX.Element;
11
- };
12
- }[];
13
- formValues: {
14
- [key: number]: import('../types').ColumnMapping;
15
- };
16
- };
@@ -1,2 +0,0 @@
1
- import { MapColumnsProps } from './types';
2
- export default function MapColumns({ columns, data, columnMapping, selectedHeaderRow, skipHeaderRowSelection, onSuccess, onCancel, isSubmitting, importerKey, backendUrl, }: MapColumnsProps): import("react/jsx-runtime").JSX.Element | null;