@ivandt/importer 1.0.0

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 (289) hide show
  1. package/README.md +30 -0
  2. package/dist/assets/importer.css +1 -0
  3. package/dist/importer.cjs.js +514 -0
  4. package/dist/importer.d.ts +1 -0
  5. package/dist/importer.es.js +91645 -0
  6. package/dist/index-C1bluYVj.js +118 -0
  7. package/dist/index-CI2WmQs5.cjs +1 -0
  8. package/dist/index.cjs.js +1 -0
  9. package/dist/index.d.ts +2 -0
  10. package/dist/index.es.js +8 -0
  11. package/dist/src/importer.d.ts +0 -0
  12. package/dist/src/index.d.ts +7 -0
  13. package/dist/src/lib/IvtImporter.svelte.d.ts +1 -0
  14. package/dist/src/lib/actions/applyToColumn.d.ts +6 -0
  15. package/dist/src/lib/actions/autoIncrementIdsAction.d.ts +3 -0
  16. package/dist/src/lib/actions/backwardFillAction.d.ts +3 -0
  17. package/dist/src/lib/actions/clampRangeAction.d.ts +3 -0
  18. package/dist/src/lib/actions/clearCellRangeAction.d.ts +3 -0
  19. package/dist/src/lib/actions/clearCulmn.d.ts +3 -0
  20. package/dist/src/lib/actions/combineColumnsAction.d.ts +4 -0
  21. package/dist/src/lib/actions/defaultValueAction.d.ts +3 -0
  22. package/dist/src/lib/actions/dispatcher.d.ts +5 -0
  23. package/dist/src/lib/actions/fillWithTimestampAction.d.ts +3 -0
  24. package/dist/src/lib/actions/findAndReplace.d.ts +3 -0
  25. package/dist/src/lib/actions/formatDatesAction.d.ts +9 -0
  26. package/dist/src/lib/actions/formatPhoneNumbersAction.d.ts +0 -0
  27. package/dist/src/lib/actions/forwardFillAction.d.ts +3 -0
  28. package/dist/src/lib/actions/fuzzyFixAction/fastestfuzzyFixAction.d.ts +7 -0
  29. package/dist/src/lib/actions/fuzzyFixAction/fuzzyFixAction.d.ts +3 -0
  30. package/dist/src/lib/actions/fuzzyFixAction/fuzzyFixAction.spec.d.ts +1 -0
  31. package/dist/src/lib/actions/generateUUIDsAction.d.ts +3 -0
  32. package/dist/src/lib/actions/lookupCountryNamesAction.d.ts +18 -0
  33. package/dist/src/lib/actions/mapToEnumAction.d.ts +4 -0
  34. package/dist/src/lib/actions/normalizeUrlsAction.d.ts +30 -0
  35. package/dist/src/lib/actions/normalizeZScoreAction.d.ts +24 -0
  36. package/dist/src/lib/actions/padStringAction.d.ts +3 -0
  37. package/dist/src/lib/actions/parseNumberAction.d.ts +3 -0
  38. package/dist/src/lib/actions/regexReplaceAction.d.ts +3 -0
  39. package/dist/src/lib/actions/removeDuplicatesAction.d.ts +3 -0
  40. package/dist/src/lib/actions/roundNumbersAction.d.ts +3 -0
  41. package/dist/src/lib/actions/scaleNumbersAction.d.ts +3 -0
  42. package/dist/src/lib/actions/specs/autoIncrementIdsAction.spec.d.ts +1 -0
  43. package/dist/src/lib/actions/specs/backwardFillAction.spec.d.ts +1 -0
  44. package/dist/src/lib/actions/specs/clampRangeAction.spec.d.ts +1 -0
  45. package/dist/src/lib/actions/specs/clearCellRangeAction.spec.d.ts +1 -0
  46. package/dist/src/lib/actions/specs/combineColumnsAction.spec.d.ts +1 -0
  47. package/dist/src/lib/actions/specs/fillWithTimestampAction.spec.d.ts +1 -0
  48. package/dist/src/lib/actions/specs/findAndReplace.spec.d.ts +1 -0
  49. package/dist/src/lib/actions/specs/formatDatesAction.spec.d.ts +1 -0
  50. package/dist/src/lib/actions/specs/forwardFillAction.spec.d.ts +1 -0
  51. package/dist/src/lib/actions/specs/generateUUIDsAction.spec.d.ts +1 -0
  52. package/dist/src/lib/actions/specs/lookupCountryNamesAction.spec.d.ts +1 -0
  53. package/dist/src/lib/actions/specs/normalizeUrlsAction.spec.d.ts +1 -0
  54. package/dist/src/lib/actions/specs/normalizeZScoreAction.spec.d.ts +1 -0
  55. package/dist/src/lib/actions/specs/padStringAction.spec.d.ts +1 -0
  56. package/dist/src/lib/actions/specs/parseNumberAction.spec.d.ts +1 -0
  57. package/dist/src/lib/actions/specs/regexReplaceAction.spec.d.ts +1 -0
  58. package/dist/src/lib/actions/specs/removeDuplicatesAction.spec.d.ts +1 -0
  59. package/dist/src/lib/actions/specs/roundNumbersAction.spec.d.ts +1 -0
  60. package/dist/src/lib/actions/specs/scaleNumbersAction.spec.d.ts +1 -0
  61. package/dist/src/lib/actions/specs/stripHtmlTagsAction.spec.d.ts +1 -0
  62. package/dist/src/lib/actions/specs/titleCaseTextAction.spec.d.ts +1 -0
  63. package/dist/src/lib/actions/specs/toLowerCaseAction.spec.d.ts +1 -0
  64. package/dist/src/lib/actions/specs/toUpperCaseAction.spec.d.ts +1 -0
  65. package/dist/src/lib/actions/specs/trimWhitespaceAction.spec.d.ts +1 -0
  66. package/dist/src/lib/actions/specs/truncateTextAction.spec.d.ts +1 -0
  67. package/dist/src/lib/actions/stripHtmlTagsAction.d.ts +3 -0
  68. package/dist/src/lib/actions/titleCaseTextAction.d.ts +3 -0
  69. package/dist/src/lib/actions/toLowerCaseAction.d.ts +3 -0
  70. package/dist/src/lib/actions/toUpperCaseAction.d.ts +3 -0
  71. package/dist/src/lib/actions/trimWhitespace.d.ts +3 -0
  72. package/dist/src/lib/actions/truncateTextAction.d.ts +3 -0
  73. package/dist/src/lib/api/suggestMapHeaders.d.ts +5 -0
  74. package/dist/src/lib/api/validateApiKey.d.ts +2 -0
  75. package/dist/src/lib/components/IvtAnimatedDots.svelte.d.ts +1 -0
  76. package/dist/src/lib/components/IvtAutocomplete.svelte.d.ts +1 -0
  77. package/dist/src/lib/components/IvtCellMenu.svelte.d.ts +1 -0
  78. package/dist/src/lib/components/IvtCellTooltip.svelte.d.ts +1 -0
  79. package/dist/src/lib/components/IvtChooseHeader.svelte.d.ts +1 -0
  80. package/dist/src/lib/components/IvtColDescTooltip.svelte.d.ts +1 -0
  81. package/dist/src/lib/components/IvtCombineDialog.svelte.d.ts +1 -0
  82. package/dist/src/lib/components/IvtConfirmDialog.svelte.d.ts +1 -0
  83. package/dist/src/lib/components/IvtContextMenu/IvtContextMenu.svelte.d.ts +1 -0
  84. package/dist/src/lib/components/IvtContextMenu/contentMenu.util.d.ts +3 -0
  85. package/dist/src/lib/components/IvtContextMenu/contextMenu.store.d.ts +10 -0
  86. package/dist/src/lib/components/IvtDialog.svelte.d.ts +1 -0
  87. package/dist/src/lib/components/IvtDiffTable/DiffTableLogic.d.ts +12 -0
  88. package/dist/src/lib/components/IvtDiffTable/DiffTableLogic.spec.d.ts +1 -0
  89. package/dist/src/lib/components/IvtDiffTable/IngDiffTable.spec.d.ts +1 -0
  90. package/dist/src/lib/components/IvtDiffTable/IvtDiffTable.svelte.d.ts +1 -0
  91. package/dist/src/lib/components/IvtExportExcel.svelte.d.ts +1 -0
  92. package/dist/src/lib/components/IvtFindAndReplaceDialog.svelte.d.ts +1 -0
  93. package/dist/src/lib/components/IvtFullPageTextLoading.svelte.d.ts +1 -0
  94. package/dist/src/lib/components/IvtHot.svelte.d.ts +1 -0
  95. package/dist/src/lib/components/IvtInfoTooltip.svelte.d.ts +1 -0
  96. package/dist/src/lib/components/IvtMapHeaders.svelte.d.ts +1 -0
  97. package/dist/src/lib/components/IvtMappingWarningDialog.svelte.d.ts +1 -0
  98. package/dist/src/lib/components/IvtMention/Caret.d.ts +45 -0
  99. package/dist/src/lib/components/IvtMention/IvtMention.spec.d.ts +1 -0
  100. package/dist/src/lib/components/IvtMention/IvtMention.svelte.d.ts +1 -0
  101. package/dist/src/lib/components/IvtMention/renderTemplate.d.ts +2 -0
  102. package/dist/src/lib/components/IvtMention/renderTemplate.spec.d.ts +1 -0
  103. package/dist/src/lib/components/IvtMention/replaceLabelsWithValues.d.ts +2 -0
  104. package/dist/src/lib/components/IvtPaginator.svelte.d.ts +1 -0
  105. package/dist/src/lib/components/IvtSmartFixButton.svelte.d.ts +1 -0
  106. package/dist/src/lib/components/IvtStepper/IvtStepper.svelte.d.ts +1 -0
  107. package/dist/src/lib/components/IvtStepper/constants.d.ts +14 -0
  108. package/dist/src/lib/components/IvtSubmitDialog.svelte.d.ts +1 -0
  109. package/dist/src/lib/components/IvtTable.svelte.d.ts +1 -0
  110. package/dist/src/lib/components/IvtTableBadges.svelte.d.ts +1 -0
  111. package/dist/src/lib/components/IvtTableWrapper.svelte.d.ts +1 -0
  112. package/dist/src/lib/components/IvtToast.svelte.d.ts +1 -0
  113. package/dist/src/lib/components/IvtToasts.svelte.d.ts +1 -0
  114. package/dist/src/lib/components/IvtTooltip.svelte.d.ts +1 -0
  115. package/dist/src/lib/components/IvtUploadIcons.svelte.d.ts +1 -0
  116. package/dist/src/lib/components/IvtUploader.svelte.d.ts +1 -0
  117. package/dist/src/lib/constants.d.ts +17 -0
  118. package/dist/src/lib/icons/IconCSV.svelte.d.ts +1 -0
  119. package/dist/src/lib/icons/IconCheck.svelte.d.ts +1 -0
  120. package/dist/src/lib/icons/IconClearColumn.svelte.d.ts +1 -0
  121. package/dist/src/lib/icons/IconClose.svelte.d.ts +1 -0
  122. package/dist/src/lib/icons/IconCombined.svelte.d.ts +1 -0
  123. package/dist/src/lib/icons/IconError.svelte.d.ts +1 -0
  124. package/dist/src/lib/icons/IconExcel.svelte.d.ts +1 -0
  125. package/dist/src/lib/icons/IconFindAndReplace.svelte.d.ts +1 -0
  126. package/dist/src/lib/icons/IconIntelligence.svelte.d.ts +1 -0
  127. package/dist/src/lib/icons/IconPDF.svelte.d.ts +1 -0
  128. package/dist/src/lib/icons/IconRemoveColumn.svelte.d.ts +1 -0
  129. package/dist/src/lib/icons/IconReplaceEmptyCells.svelte.d.ts +1 -0
  130. package/dist/src/lib/icons/IconTick.svelte.d.ts +1 -0
  131. package/dist/src/lib/icons/InfoIcon.svelte.d.ts +1 -0
  132. package/dist/src/lib/renderers/date-picker.renderer.d.ts +1 -0
  133. package/dist/src/lib/services/eventHandler.service.d.ts +26 -0
  134. package/dist/src/lib/store/activeBadge.store.d.ts +3 -0
  135. package/dist/src/lib/store/constants.d.ts +2 -0
  136. package/dist/src/lib/store/dataSource.store.d.ts +28 -0
  137. package/dist/src/lib/store/dataSource.store.spec.d.ts +1 -0
  138. package/dist/src/lib/store/dialog.store.d.ts +16 -0
  139. package/dist/src/lib/store/excel-parser.store.d.ts +4 -0
  140. package/dist/src/lib/store/file.store.d.ts +7 -0
  141. package/dist/src/lib/store/fileHeaders.store.d.ts +2 -0
  142. package/dist/src/lib/store/fuzzy.store.d.ts +3 -0
  143. package/dist/src/lib/store/index.d.ts +13 -0
  144. package/dist/src/lib/store/initialiseStores.d.ts +3 -0
  145. package/dist/src/lib/store/mapping.store.d.ts +5 -0
  146. package/dist/src/lib/store/schema.store.d.ts +3 -0
  147. package/dist/src/lib/store/stepper.store.d.ts +9 -0
  148. package/dist/src/lib/store/tableRows.store.d.ts +3 -0
  149. package/dist/src/lib/store/toast.store.d.ts +4 -0
  150. package/dist/src/lib/store/validations.store.d.ts +38 -0
  151. package/dist/src/lib/store/validations.store.spec.d.ts +1 -0
  152. package/dist/src/lib/types/dto.types.d.ts +10 -0
  153. package/dist/src/lib/types/events.d.ts +9 -0
  154. package/dist/src/lib/types/external.types.d.ts +66 -0
  155. package/dist/src/lib/types/index.d.ts +7 -0
  156. package/dist/src/lib/types/internal.types.d.ts +143 -0
  157. package/dist/src/lib/types/parser.types.d.ts +53 -0
  158. package/dist/src/lib/types/schema.types.d.ts +118 -0
  159. package/dist/src/lib/types/table.types.d.ts +4 -0
  160. package/dist/src/lib/types/transformActions.types.d.ts +266 -0
  161. package/dist/src/lib/types/validators.types.d.ts +113 -0
  162. package/dist/src/lib/utils/augmentCellChangesWithTableRows.d.ts +21 -0
  163. package/dist/src/lib/utils/augmentCellChangesWithTableRows.spec.d.ts +1 -0
  164. package/dist/src/lib/utils/augmentChangesForCrossFieldValidation.d.ts +2 -0
  165. package/dist/src/lib/utils/augmentChangesForCrossFieldValidation.spec.d.ts +1 -0
  166. package/dist/src/lib/utils/createField.d.ts +2 -0
  167. package/dist/src/lib/utils/createFileReaderStore.d.ts +3 -0
  168. package/dist/src/lib/utils/debounce.d.ts +5 -0
  169. package/dist/src/lib/utils/downloadTemplate.d.ts +2 -0
  170. package/dist/src/lib/utils/formatFileSize.d.ts +1 -0
  171. package/dist/src/lib/utils/getAllPossibleOptions.d.ts +2 -0
  172. package/dist/src/lib/utils/getCellChangesRowsRange.d.ts +2 -0
  173. package/dist/src/lib/utils/getCellChangesRowsRange.spec.d.ts +1 -0
  174. package/dist/src/lib/utils/getEventCords.d.ts +2 -0
  175. package/dist/src/lib/utils/getFileExtension.d.ts +2 -0
  176. package/dist/src/lib/utils/hasCalculatedField.d.ts +3 -0
  177. package/dist/src/lib/utils/hasFullColumnValidators.d.ts +3 -0
  178. package/dist/src/lib/utils/hot/convertHotDataToIngTableRows.d.ts +2 -0
  179. package/dist/src/lib/utils/hot/convertTableRowsToHotCellChanges.d.ts +2 -0
  180. package/dist/src/lib/utils/hot/convertTableRowsToHotData.d.ts +2 -0
  181. package/dist/src/lib/utils/hot/searchColumn.d.ts +3 -0
  182. package/dist/src/lib/utils/hot/searchColumn.spec.d.ts +1 -0
  183. package/dist/src/lib/utils/hot/valueDropdownCellType.d.ts +17 -0
  184. package/dist/src/lib/utils/isAllMapped.d.ts +3 -0
  185. package/dist/src/lib/utils/isEqualValue.d.ts +2 -0
  186. package/dist/src/lib/utils/isEqualValue.spec.d.ts +1 -0
  187. package/dist/src/lib/utils/isNoOpChanges.d.ts +2 -0
  188. package/dist/src/lib/utils/isOfType.d.ts +8 -0
  189. package/dist/src/lib/utils/isSelectOptions.d.ts +1 -0
  190. package/dist/src/lib/utils/mappers/mapHeaders.d.ts +17 -0
  191. package/dist/src/lib/utils/mappers/mapHeaders.spec.d.ts +1 -0
  192. package/dist/src/lib/utils/mappers/mapIngToHotColumns.d.ts +3 -0
  193. package/dist/src/lib/utils/mustache.d.ts +2 -0
  194. package/dist/src/lib/utils/mustache.spec.d.ts +1 -0
  195. package/dist/src/lib/utils/normaliseSchema.d.ts +9 -0
  196. package/dist/src/lib/utils/normaliseSchema.spec.d.ts +1 -0
  197. package/dist/src/lib/utils/normalizeFieldOrder/normalizeFieldOrder.d.ts +7 -0
  198. package/dist/src/lib/utils/normalizeFieldOrder/normalizeFieldOrder.spec.d.ts +1 -0
  199. package/dist/src/lib/utils/parseNumberOrReturnNull.d.ts +2 -0
  200. package/dist/src/lib/utils/parseNumberOrReturnNull.spec.d.ts +1 -0
  201. package/dist/src/lib/utils/sanitiseFieldMappingsAndExtractFieldsForWorker.d.ts +4 -0
  202. package/dist/src/lib/utils/stripRowDependentClauses.d.ts +5 -0
  203. package/dist/src/lib/utils/stripRowDependentClauses.spec.d.ts +1 -0
  204. package/dist/src/lib/utils/throttle.d.ts +5 -0
  205. package/dist/src/lib/utils/toCleanCamelCase.d.ts +1 -0
  206. package/dist/src/lib/utils/transformers/transoformTableRows.d.ts +1 -0
  207. package/dist/src/lib/utils/validators/createValidator.d.ts +2 -0
  208. package/dist/src/lib/utils/validators/makeResult.d.ts +2 -0
  209. package/dist/src/lib/utils/validators/resolveEnumerate.d.ts +2 -0
  210. package/dist/src/lib/utils/validators/rulepilot.d.ts +0 -0
  211. package/dist/src/lib/utils/validators/sortValidators.d.ts +2 -0
  212. package/dist/src/lib/utils/validators/spec/boolean.spec.d.ts +1 -0
  213. package/dist/src/lib/utils/validators/spec/comparator.spec.d.ts +1 -0
  214. package/dist/src/lib/utils/validators/spec/creditCard.spec.d.ts +1 -0
  215. package/dist/src/lib/utils/validators/spec/date.spec.d.ts +1 -0
  216. package/dist/src/lib/utils/validators/spec/email.spec.d.ts +1 -0
  217. package/dist/src/lib/utils/validators/spec/enum.spec.d.ts +1 -0
  218. package/dist/src/lib/utils/validators/spec/max.spec.d.ts +1 -0
  219. package/dist/src/lib/utils/validators/spec/maxLength.spec.d.ts +1 -0
  220. package/dist/src/lib/utils/validators/spec/min.spec.d.ts +1 -0
  221. package/dist/src/lib/utils/validators/spec/minLength.spec.d.ts +1 -0
  222. package/dist/src/lib/utils/validators/spec/multiple.spec.d.ts +1 -0
  223. package/dist/src/lib/utils/validators/spec/numeric.spec.d.ts +1 -0
  224. package/dist/src/lib/utils/validators/spec/phone.spec.d.ts +1 -0
  225. package/dist/src/lib/utils/validators/spec/range.spec.d.ts +1 -0
  226. package/dist/src/lib/utils/validators/spec/regex.spec.d.ts +1 -0
  227. package/dist/src/lib/utils/validators/spec/required.spec.d.ts +1 -0
  228. package/dist/src/lib/utils/validators/spec/sortValidators.spec.d.ts +1 -0
  229. package/dist/src/lib/utils/validators/spec/spec.utils.d.ts +4 -0
  230. package/dist/src/lib/utils/validators/spec/unique.spec.d.ts +1 -0
  231. package/dist/src/lib/utils/validators/spec/url.spec.d.ts +1 -0
  232. package/dist/src/lib/utils/validators/validateBoolean.d.ts +2 -0
  233. package/dist/src/lib/utils/validators/validateCell.d.ts +2 -0
  234. package/dist/src/lib/utils/validators/validateCell.spec.d.ts +1 -0
  235. package/dist/src/lib/utils/validators/validateCreditCard.d.ts +2 -0
  236. package/dist/src/lib/utils/validators/validateDate.d.ts +2 -0
  237. package/dist/src/lib/utils/validators/validateDate.spec.d.ts +1 -0
  238. package/dist/src/lib/utils/validators/validateEmail.d.ts +2 -0
  239. package/dist/src/lib/utils/validators/validateEnumerate.d.ts +2 -0
  240. package/dist/src/lib/utils/validators/validateInvalidIf.spec.d.ts +1 -0
  241. package/dist/src/lib/utils/validators/validateMax.d.ts +2 -0
  242. package/dist/src/lib/utils/validators/validateMaxLength.d.ts +2 -0
  243. package/dist/src/lib/utils/validators/validateMin.d.ts +2 -0
  244. package/dist/src/lib/utils/validators/validateMinLength.d.ts +2 -0
  245. package/dist/src/lib/utils/validators/validateNumeric.d.ts +2 -0
  246. package/dist/src/lib/utils/validators/validatePhone.d.ts +2 -0
  247. package/dist/src/lib/utils/validators/validateRange.d.ts +2 -0
  248. package/dist/src/lib/utils/validators/validateRegex.d.ts +2 -0
  249. package/dist/src/lib/utils/validators/validateRequired.d.ts +2 -0
  250. package/dist/src/lib/utils/validators/validateRows.d.ts +2 -0
  251. package/dist/src/lib/utils/validators/validateRows.spec.d.ts +1 -0
  252. package/dist/src/lib/utils/validators/validateRules.d.ts +14 -0
  253. package/dist/src/lib/utils/validators/validateRules.spec.d.ts +1 -0
  254. package/dist/src/lib/utils/validators/validateUUID.d.ts +2 -0
  255. package/dist/src/lib/utils/validators/validateUnique.d.ts +2 -0
  256. package/dist/src/lib/utils/validators/validateUrl.d.ts +2 -0
  257. package/dist/src/lib/workers/action.worker.d.ts +1 -0
  258. package/dist/src/lib/workers/excel-parser/createExcelFile.d.ts +6 -0
  259. package/dist/src/lib/workers/excel-parser/excel-parser.worker.d.ts +1 -0
  260. package/dist/src/lib/workers/excel-parser/isSameCalendarDate.d.ts +1 -0
  261. package/dist/src/lib/workers/excel-parser/loadBuffer.d.ts +2 -0
  262. package/dist/src/lib/workers/excel-parser/normaliseCell.d.ts +13 -0
  263. package/dist/src/lib/workers/excel-parser/normaliseCell.spec.d.ts +1 -0
  264. package/dist/src/lib/workers/excel-parser/normaliseRows.d.ts +2 -0
  265. package/dist/src/lib/workers/excel-parser/normaliseRows.spec.d.ts +1 -0
  266. package/dist/src/lib/workers/excel-parser/parseComplete.d.ts +8 -0
  267. package/dist/src/lib/workers/excel-parser/parseComplete.spec.d.ts +1 -0
  268. package/dist/src/lib/workers/excel-parser/parsePreview.d.ts +9 -0
  269. package/dist/src/lib/workers/excel-parser/parsePreview.spec.d.ts +1 -0
  270. package/dist/src/lib/workers/excel-parser/useExcelParseWorker.d.ts +6 -0
  271. package/dist/src/lib/workers/excel-to-table-rows/excel-to-table-rows.worker.d.ts +3 -0
  272. package/dist/src/lib/workers/excel-to-table-rows/sortWorkbookMappings.d.ts +2 -0
  273. package/dist/src/lib/workers/excel-to-table-rows/sortWorkbookMappings.spec.d.ts +1 -0
  274. package/dist/src/lib/workers/excel-to-table-rows/useExcelToTableRowsWorker.d.ts +5 -0
  275. package/dist/src/lib/workers/hooks/actionDispatcher.d.ts +2 -0
  276. package/dist/src/lib/workers/hooks/useActionWorker.d.ts +4 -0
  277. package/dist/src/lib/workers/transform-table-rows/transformTable.worker.d.ts +1 -0
  278. package/dist/src/lib/workers/transform-table-rows/transformTableRows.d.ts +2 -0
  279. package/dist/src/lib/workers/transform-table-rows/transformTableRows.spec.d.ts +1 -0
  280. package/dist/src/lib/workers/transform-table-rows/useTransformTableRows.d.ts +6 -0
  281. package/dist/src/lib/workers/validator/useValidatorWorker.d.ts +6 -0
  282. package/dist/src/lib/workers/validator/validator.worker.d.ts +1 -0
  283. package/dist/src/lib/workers/workerPool.d.ts +11 -0
  284. package/dist/src/mock/mock-field-mappings.d.ts +15 -0
  285. package/dist/src/routes/e2e/mock-mappings/mock-fields-ai-mapping.d.ts +2 -0
  286. package/dist/src/routes/e2e/mock-mappings/mock-fields-all-match.d.ts +2 -0
  287. package/dist/src/routes/shared.d.ts +1 -0
  288. package/dist/vite.config.d.ts +2 -0
  289. package/package.json +101 -0
@@ -0,0 +1,118 @@
1
+ const i = "http://localhost:3001/api", l = "__static_options_", r = "__dynamic_options_", o = "__static_enum_", u = "__dynamic_enum_", d = {
2
+ id: "default-id",
3
+ title: "Default Schema Name",
4
+ apiKey: "",
5
+ initialData: void 0,
6
+ initialFile: void 0,
7
+ environment: "local",
8
+ browserExcelParsing: !0,
9
+ dataSources: {},
10
+ fields: [],
11
+ stepsConfig: {
12
+ uploadFileStep: {
13
+ supportedExtensions: ["xlsx", "xls", "json", "csv", "txt"],
14
+ maxColumns: 10,
15
+ maxRows: 1e5,
16
+ maxFileSize: 20971520,
17
+ //20mb,
18
+ dataEntryMethod: "manual_and_upload"
19
+ },
20
+ mapHeadersStep: {
21
+ passThroughExcessColumns: !1,
22
+ autoMapHeaders: !0,
23
+ unMatchedHeadersBehaviour: "block"
24
+ },
25
+ reviewStep: {
26
+ invalidDataBehaviour: "block_submit",
27
+ includeValidationMetadata: !1,
28
+ includeOriginalData: !1,
29
+ allowCustomColumn: !1,
30
+ storeInServer: !0
31
+ }
32
+ },
33
+ advanced: {
34
+ maxInMemoryValidationRows: 500,
35
+ maxPerWorkerValidationRows: 1e4,
36
+ maxInMemoryTransformationRows: 500,
37
+ maxPerWorkerTransformationRows: 1e4
38
+ },
39
+ eventHandlers: {
40
+ // beforeColumnChange
41
+ // afterColumnChange
42
+ // beforeCellChange
43
+ // afterCellChange
44
+ // beforeRowChange
45
+ // afterRowChange
46
+ // beforeRowsChange
47
+ // afterRowsChange
48
+ // beforeUploadFile
49
+ // afterUploadFile
50
+ // beforeHeaderMapping
51
+ // afterHeaderMapping,
52
+ }
53
+ }, n = {
54
+ id: "default-id",
55
+ title: "Default Schema Name",
56
+ apiKey: "",
57
+ initialData: void 0,
58
+ initialFile: void 0,
59
+ environment: "local",
60
+ browserExcelParsing: !0,
61
+ dataSources: {},
62
+ fields: [],
63
+ stepsConfig: {
64
+ uploadFileStep: {
65
+ supportedExtensions: ["xlsx", "xls", "json", "csv", "txt"],
66
+ maxColumns: 10,
67
+ maxRows: 1e5,
68
+ maxFileSize: 20 * 1024 * 1024,
69
+ //20mb,
70
+ dataEntryMethod: "manual_and_upload"
71
+ },
72
+ mapHeadersStep: {
73
+ passThroughExcessColumns: !1,
74
+ autoMapHeaders: !0,
75
+ unMatchedHeadersBehaviour: "block"
76
+ },
77
+ reviewStep: {
78
+ invalidDataBehaviour: "block_submit",
79
+ includeValidationMetadata: !1,
80
+ includeOriginalData: !1,
81
+ allowCustomColumn: !1,
82
+ storeInServer: !0
83
+ }
84
+ },
85
+ advanced: {
86
+ maxInMemoryValidationRows: 500,
87
+ maxPerWorkerValidationRows: 1e4,
88
+ maxInMemoryTransformationRows: 500,
89
+ maxPerWorkerTransformationRows: 1e4
90
+ },
91
+ eventHandlers: {}
92
+ }, m = {
93
+ No: !1,
94
+ no: !1,
95
+ NO: !1,
96
+ Yes: !0,
97
+ yes: !0,
98
+ YES: !0
99
+ };
100
+ var a = /* @__PURE__ */ ((e) => (e.GenerateUUID = "generateUUID", e.FuzzyFix = "fuzzyFix", e))(a || {}), s = /* @__PURE__ */ ((e) => (e.TrimWhitespace = "trimWhitespace", e.MapToEnum = "mapToEnum", e.DefaultValue = "defaultValue", e.ToUpperCase = "toUpperCase", e.ToLowerCase = "toLowerCase", e.TitleCaseText = "titleCaseText", e.PadString = "padString", e.TruncateText = "truncateText", e.StripHtmlTags = "stripHtmlTags", e.RegexReplace = "regexReplace", e.AutoIncrementIds = "autoIncrementIds", e.FillWithTimestamp = "fillWithTimestamp", e.ParseNumbers = "parseNumbers", e.RoundNumbers = "roundNumbers", e.ScaleNumbers = "scaleNumbers", e.NormalizeZScore = "normalizeZScore", e.FormatDates = "formatDates", e.NormalizeUrls = "normalizeUrls", e.MapCountryNames = "mapCountryNames", e.CombineColumns = "combineColumns", e))(s || {}), t = /* @__PURE__ */ ((e) => (e.ForwardFill = "forwardFill", e.BackwardFill = "backwardFill", e.ClampRange = "clampRange", e.ClearCellRange = "clearCellRange", e.FindAndReplace = "findAndReplace", e.ClearColumn = "clearColumn", e.RemoveColumn = "removeColumn", e.ReplaceEmptyCells = "replaceEmptyCells", e))(t || {});
101
+ const p = /* @__PURE__ */ new Set([
102
+ "combineColumns"
103
+ /* CombineColumns */
104
+ ]);
105
+ export {
106
+ s as I,
107
+ l as a,
108
+ a as b,
109
+ m as c,
110
+ d,
111
+ r as e,
112
+ u as f,
113
+ i as g,
114
+ t as h,
115
+ n as i,
116
+ p as j,
117
+ o as s
118
+ };
@@ -0,0 +1 @@
1
+ "use strict";const i="http://localhost:3001/api",r="__static_options_",l="__dynamic_options_",o="__static_enum_",n="__dynamic_enum_",u={id:"default-id",title:"Default Schema Name",apiKey:"",initialData:void 0,initialFile:void 0,environment:"local",browserExcelParsing:!0,dataSources:{},fields:[],stepsConfig:{uploadFileStep:{supportedExtensions:["xlsx","xls","json","csv","txt"],maxColumns:10,maxRows:1e5,maxFileSize:20971520,dataEntryMethod:"manual_and_upload"},mapHeadersStep:{passThroughExcessColumns:!1,autoMapHeaders:!0,unMatchedHeadersBehaviour:"block"},reviewStep:{invalidDataBehaviour:"block_submit",includeValidationMetadata:!1,includeOriginalData:!1,allowCustomColumn:!1,storeInServer:!0}},advanced:{maxInMemoryValidationRows:500,maxPerWorkerValidationRows:1e4,maxInMemoryTransformationRows:500,maxPerWorkerTransformationRows:1e4},eventHandlers:{}},d={id:"default-id",title:"Default Schema Name",apiKey:"",initialData:void 0,initialFile:void 0,environment:"local",browserExcelParsing:!0,dataSources:{},fields:[],stepsConfig:{uploadFileStep:{supportedExtensions:["xlsx","xls","json","csv","txt"],maxColumns:10,maxRows:1e5,maxFileSize:20*1024*1024,dataEntryMethod:"manual_and_upload"},mapHeadersStep:{passThroughExcessColumns:!1,autoMapHeaders:!0,unMatchedHeadersBehaviour:"block"},reviewStep:{invalidDataBehaviour:"block_submit",includeValidationMetadata:!1,includeOriginalData:!1,allowCustomColumn:!1,storeInServer:!0}},advanced:{maxInMemoryValidationRows:500,maxPerWorkerValidationRows:1e4,maxInMemoryTransformationRows:500,maxPerWorkerTransformationRows:1e4},eventHandlers:{}},m={No:!1,no:!1,NO:!1,Yes:!0,yes:!0,YES:!0};var a=(e=>(e.GenerateUUID="generateUUID",e.FuzzyFix="fuzzyFix",e))(a||{}),s=(e=>(e.TrimWhitespace="trimWhitespace",e.MapToEnum="mapToEnum",e.DefaultValue="defaultValue",e.ToUpperCase="toUpperCase",e.ToLowerCase="toLowerCase",e.TitleCaseText="titleCaseText",e.PadString="padString",e.TruncateText="truncateText",e.StripHtmlTags="stripHtmlTags",e.RegexReplace="regexReplace",e.AutoIncrementIds="autoIncrementIds",e.FillWithTimestamp="fillWithTimestamp",e.ParseNumbers="parseNumbers",e.RoundNumbers="roundNumbers",e.ScaleNumbers="scaleNumbers",e.NormalizeZScore="normalizeZScore",e.FormatDates="formatDates",e.NormalizeUrls="normalizeUrls",e.MapCountryNames="mapCountryNames",e.CombineColumns="combineColumns",e))(s||{}),t=(e=>(e.ForwardFill="forwardFill",e.BackwardFill="backwardFill",e.ClampRange="clampRange",e.ClearCellRange="clearCellRange",e.FindAndReplace="findAndReplace",e.ClearColumn="clearColumn",e.RemoveColumn="removeColumn",e.ReplaceEmptyCells="replaceEmptyCells",e))(t||{});const p=new Set(["combineColumns"]);exports.ICellTransformAction=s;exports.IColumnTransformAction=t;exports.IInvalidCellTransformerAction=a;exports.baseUrl=i;exports.checkboxDefaultMapToEnums=m;exports.crossColumnsTransformers=p;exports.defaultInternalSchema=u;exports.defaultSchema=d;exports.dynamicEnumsResolverDsPrefix=n;exports.dynamicOptionsResolverDsPrefix=l;exports.staticEnumsResolverDsPrefix=o;exports.staticOptionsResolverDsPrefix=r;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-CI2WmQs5.cjs");exports.ICellTransformAction=r.ICellTransformAction;exports.IColumnTransformAction=r.IColumnTransformAction;exports.IInvalidCellTransformerAction=r.IInvalidCellTransformerAction;exports.crossColumnsTransformers=r.crossColumnsTransformers;exports.defaultSchema=r.defaultSchema;
@@ -0,0 +1,2 @@
1
+ export * from './src/index'
2
+ export {}
@@ -0,0 +1,8 @@
1
+ import { I as a, h as o, b as n, j as l, i as m } from "./index-C1bluYVj.js";
2
+ export {
3
+ a as ICellTransformAction,
4
+ o as IColumnTransformAction,
5
+ n as IInvalidCellTransformerAction,
6
+ l as crossColumnsTransformers,
7
+ m as defaultSchema
8
+ };
File without changes
@@ -0,0 +1,7 @@
1
+ import { defaultSchema } from './lib/constants';
2
+ export * from './lib/types/external.types';
3
+ export type { IBaseFieldSchema, IMenuFieldSchema } from './lib/types/external.types';
4
+ export type { IFieldValidatorType, IRequiredFieldValidator, IRulesFieldValidator, IUUIDFieldValidator, INumericFieldValidator, IBooleanFieldValidator, IRegexFieldValidator, IEmailFieldValidator, IMinFieldValidator, IMaxFieldValidator, IRangeFieldValidator, IMinLengthFieldValidator, IMaxLengthFieldValidator, IUrlFieldValidator, IPhoneFieldValidator, IDateFieldValidator, IEnumerateFieldValidator, ICreditCardFieldValidator, ICustomFieldValidator, IErrorSeverity, IBaseFieldValidator } from './lib/types/validators.types';
5
+ export type { IFieldSchemaType, IDropdownFieldOption } from './lib/types/schema.types';
6
+ export * from './lib/types/transformActions.types';
7
+ export { defaultSchema };
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1,6 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ /**
3
+ * Applies `cellFn` to every visible row’s specified column.
4
+ * @returns the same `data` array, mutated in place.
5
+ */
6
+ export declare function applyToColumn(data: IvtCellValue[][], hiddenRows: number[], columnNumber: number, cellFn: (cell: IvtCellValue, row: number, col: number) => IvtCellValue, rowFilter?: (rowIndex: number) => boolean): IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types';
2
+ import { IAutoIncrementIdsTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const autoIncrementIdsAction: (payload: IAutoIncrementIdsTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IBackwardFillTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const backwardFillAction: (payload: IBackwardFillTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IClampRangeTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const clampRangeAction: (payload: IClampRangeTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IClearCellRangeTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const clearCellRangeAction: (payload: IClearCellRangeTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IClearColumnTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const clearColumnAction: (payload: IClearColumnTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,4 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { ICombineColumnsTransformActionPayload } from '../types/transformActions.types';
3
+ export declare function convertCellToString(cell: IvtCellValue): string;
4
+ export declare const combineColumnsAction: (payload: ICombineColumnsTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IDefaultValueTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const defaultValueAction: (payload: IDefaultValueTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,5 @@
1
+ import { default as Handsontable } from 'handsontable';
2
+ import { ICellTransformAction, IColumnTransformAction, ITransformActionPayload } from '../types';
3
+ declare const isDispatching: import('svelte/store').Writable<boolean>;
4
+ declare const dispatch: (action: IColumnTransformAction | ICellTransformAction, payload: ITransformActionPayload, hiddenRows: number[], hot: Handsontable) => Promise<boolean>;
5
+ export { dispatch, isDispatching };
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IFillWithTimestampTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const fillWithTimestampAction: (payload: IFillWithTimestampTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IFindAndReplaceTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const findAndReplaceAction: (payload: IFindAndReplaceTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,9 @@
1
+ import { MomentBuiltinFormat } from 'moment';
2
+ import { IvtCellValue } from '../types/internal.types';
3
+ import { IFormatDatesTransformActionPayload } from '../types/transformActions.types';
4
+ import { LocaleSpecifier } from 'moment/moment';
5
+ export declare function formatDate(cell: IvtCellValue, formatPattern: string, parsePatterns: (string | MomentBuiltinFormat)[], locale: LocaleSpecifier | undefined, strictParsing: boolean): string | number | boolean | Date | null | undefined;
6
+ /**
7
+ * Date‐format transform for table columns.
8
+ */
9
+ export declare const formatDatesAction: (payload: IFormatDatesTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IForwardFillTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const forwardFillAction: (payload: IForwardFillTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,7 @@
1
+ import { DataSources, ICellErrorWithMeta, IFuzzyMatchTransformActionPayload, IvtCellValue } from '../../types';
2
+ /**
3
+ * Factory that builds a high-performance fixer for one column,
4
+ * with per-term caching and minimal cloning.
5
+ */
6
+ export declare function createFuzzyFixer(payload: IFuzzyMatchTransformActionPayload, dataSources: DataSources): (data: IvtCellValue[][], hiddenRows: number[], cellErrors: ICellErrorWithMeta[]) => IvtCellValue[][];
7
+ export declare const fuzzyFixAction: (payload: IFuzzyMatchTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[], dataSources: DataSources, cellErrors: ICellErrorWithMeta[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { ICellErrorWithMeta, IvtCellValue } from '../../types/internal.types';
2
+ import { IFuzzyMatchTransformActionPayload } from '../../types/transformActions.types';
3
+ export declare const fuzzyFixAction: (payload: IFuzzyMatchTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[], indexes: Map<string, string>, cellErrors: ICellErrorWithMeta[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IGenerateUUIDsTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const generateUUIDsAction: (payload: IGenerateUUIDsTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,18 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { ILookupCountryNamesTransformActionPayload } from '../types/transformActions.types';
3
+ /**
4
+ * Converts between country codes and country names in the specified column.
5
+ * Uses the `country-list` package under the hood for lookup.
6
+ * Non-string, empty, or unrecognized values remain unchanged.
7
+ *
8
+ * @example
9
+ * const data = [["US"], ["GB"]];
10
+ * lookupCountryNamesAction({ columnNumber: 0, fieldSchemas: [], direction: 'codeToName' }, data, []);
11
+ * // => [['United States'], ['United Kingdom']]
12
+ *
13
+ * @example
14
+ * const data2 = [["France"], ["Germany"]];
15
+ * lookupCountryNamesAction({ columnNumber: 0, fieldSchemas: [], direction: 'nameToCode' }, data2, []);
16
+ * // => [['FR'], ['DE']]
17
+ */
18
+ export declare const lookupCountryNamesAction: (payload: ILookupCountryNamesTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,4 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IMapToEnumTransformActionPayloadInternal } from '../types/transformActions.types';
3
+ import { DataSources } from '../types';
4
+ export declare const mapToEnumAction: (payload: IMapToEnumTransformActionPayloadInternal, data: IvtCellValue[][], dataSources: DataSources, hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,30 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { INormalizeUrlsTransformActionPayload } from '../types/transformActions.types';
3
+ /**
4
+ * Normalizes URLs in the specified column:
5
+ * - Ensures a protocol (defaults to http:// if missing)
6
+ * - Enforces HTTPS if requested
7
+ * - Removes all query parameters if requested
8
+ * - Otherwise sorts query parameters alphabetically by key
9
+ * - Lowercases the hostname
10
+ * - Leaves unparsable strings and non-strings unchanged
11
+ *
12
+ * @example
13
+ * const data = [['example.com/path?b=2&a=1']];
14
+ * normalizeUrlsAction(
15
+ * { columnNumber: 0, fieldSchemas: [], enforceHttps: false, removeQueryParams: false },
16
+ * data,
17
+ * []
18
+ * );
19
+ * // => [['http://example.com/path?a=1&b=2']]
20
+ *
21
+ * @example
22
+ * const data2 = [['EXAMPLE.COM']];
23
+ * normalizeUrlsAction(
24
+ * { columnNumber: 0, fieldSchemas: [], enforceHttps: true, removeQueryParams: false },
25
+ * data2,
26
+ * []
27
+ * );
28
+ * // => [['https://example.com/']]
29
+ */
30
+ export declare const normalizeUrlsAction: (payload: INormalizeUrlsTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,24 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { INormalizeZScoreTransformActionPayload } from '../types/transformActions.types';
3
+ /**
4
+ * Computes Z‑score normalization on a numeric column across all non-hidden rows.
5
+ * Z‑score = (value - mean) / std where mean and std are computed over the column.
6
+ * If std = 0 or only one non-hidden numeric value, all normalized values are set to 0.
7
+ * Non-numeric and NaN cells remain unchanged.
8
+ *
9
+ * @example
10
+ * const data = [[1], [3]];
11
+ * normalizeZScoreAction({ columnNumber: 0, fieldSchemas: [] }, data, []);
12
+ * // returns [[-1], [1]] // mean=2, std=1
13
+ *
14
+ * @example
15
+ * const data2 = [[5], [5], [5]];
16
+ * normalizeZScoreAction({ columnNumber: 0, fieldSchemas: [] }, data2, []);
17
+ * // returns [[0], [0], [0]] // std=0 => all zeros
18
+ *
19
+ * @param payload.columnNumber Zero-based index of the column to normalize.
20
+ * @param data 2D array of cell values (rows × columns).
21
+ * @param hiddenRows Array of row indices to skip in computation and normalization.
22
+ * @returns The same `data` array with the specified column normalized in place.
23
+ */
24
+ export declare const normalizeZScoreAction: (payload: INormalizeZScoreTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IPadStringTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const padStringAction: (payload: IPadStringTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IParseNumberActionPayload } from '../types';
3
+ export declare const parseNumberAction: (payload: IParseNumberActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IRegexReplaceTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const regexReplaceAction: (payload: IRegexReplaceTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IRemoveDuplicatesTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const removeDuplicatesAction: (payload: IRemoveDuplicatesTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IRoundNumbersTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const roundNumbersAction: (payload: IRoundNumbersTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IScaleNumbersTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const scaleNumbersAction: (payload: IScaleNumbersTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IStripHtmlTagsTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const stripHtmlTagsAction: (payload: IStripHtmlTagsTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { ITitleCaseTextTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const titleCaseTextAction: (payload: ITitleCaseTextTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IToLowerCaseTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const toLowerCaseAction: (payload: IToLowerCaseTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { IToUpperCaseTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const toUpperCaseAction: (payload: IToUpperCaseTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { ITrimWhitespaceTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const trimWhitespaceAction: (payload: ITrimWhitespaceTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,3 @@
1
+ import { IvtCellValue } from '../types/internal.types';
2
+ import { ITruncateTextTransformActionPayload } from '../types/transformActions.types';
3
+ export declare const truncateTextAction: (payload: ITruncateTextTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
@@ -0,0 +1,5 @@
1
+ import { IHeaderMapDto, IHeaderMapResponseDto } from '../types/dto.types';
2
+ export declare const suggestMapHeaders: (apiKey: string, headers: IHeaderMapDto) => Promise<{
3
+ isLoading: boolean;
4
+ suggestions: IHeaderMapResponseDto | null;
5
+ }>;
@@ -0,0 +1,2 @@
1
+ export declare const isValidatingSchema: import('svelte/store').Writable<boolean>;
2
+ export declare const validateApiKey: (apiKey: string | null) => Promise<boolean>;
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1,3 @@
1
+ export declare function appendToBody(node: HTMLElement): {
2
+ destroy(): void;
3
+ };
@@ -0,0 +1,10 @@
1
+ import { Writable } from 'svelte/store';
2
+ export interface ContextMenuStoreValue {
3
+ event: MouseEvent;
4
+ anchor?: HTMLElement;
5
+ }
6
+ export interface ContextMenuStore extends Writable<ContextMenuStoreValue | null> {
7
+ toggle(event: MouseEvent, anchor?: HTMLElement): void;
8
+ close(): void;
9
+ }
10
+ export declare function createContextMenuStore(): ContextMenuStore;
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1,12 @@
1
+ import { ICellErrorWithMeta, ITableRowsInternal } from '../../types';
2
+ export declare function getCellKey(row: number, key: string): string;
3
+ export declare function computeOrigKeys(originalValidations: ICellErrorWithMeta[]): Set<string>;
4
+ export declare function computeAfterKeys(afterTransformErrors: ICellErrorWithMeta[]): Set<string>;
5
+ export declare function computeFixableKeys(origKeys: Set<string>, afterKeys: Set<string>): Set<string>;
6
+ export declare function computeChangedRows(fixableKeys: Set<string>): number[];
7
+ export declare function getPagedRowIndices(changedRows: number[], rowsCount: number, rowsPerPage: number, currentPage: number, hideUnchanged: boolean): number[];
8
+ export interface MergeResult {
9
+ mergedData: ITableRowsInternal;
10
+ mergedValidations: ICellErrorWithMeta[];
11
+ }
12
+ export declare function mergeSelections(originalTableRows: ITableRowsInternal, transformedData: ITableRowsInternal, origMap: Map<string, ICellErrorWithMeta>, afterTransformErrors: ICellErrorWithMeta[], fixableKeys: Set<string>, selectedCells: Set<string>): MergeResult;
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';