@ivandt/importer 1.3.6 → 1.4.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.
- package/dist/{bg.min-BNn8SLvE.cjs → bg.min-B4BRk88R.cjs} +1 -1
- package/dist/{bg.min-aHnLPt03.js → bg.min-Dd7APOWf.js} +1 -1
- package/dist/{cs-CZ.min-B1fydfQa.js → cs-CZ.min-CvZnLXph.js} +1 -1
- package/dist/{cs-CZ.min-KegifoDI.cjs → cs-CZ.min-DNr4YU8G.cjs} +1 -1
- package/dist/{da-DK.min-TD_63M7w.cjs → da-DK.min-C1isc5bx.cjs} +1 -1
- package/dist/{da-DK.min-BhcfeBq5.js → da-DK.min-U4H6vNVg.js} +1 -1
- package/dist/{de-AT.min-DSrDAep6.cjs → de-AT.min-BhuLY_lJ.cjs} +1 -1
- package/dist/{de-AT.min-DYrZ-e6U.js → de-AT.min-Wc0sU4ha.js} +1 -1
- package/dist/{de-CH.min-BufIhdeY.js → de-CH.min-Ce7Km3qx.js} +1 -1
- package/dist/{de-CH.min-DrVWg93Z.cjs → de-CH.min-DjvgA8An.cjs} +1 -1
- package/dist/{de-DE.min-BpfHjRKM.js → de-DE.min-BPIYVKmi.js} +1 -1
- package/dist/{de-DE.min-Bq5DwTcq.cjs → de-DE.min-BrVUq92t.cjs} +1 -1
- package/dist/{de-LI.min-D39vEVJv.cjs → de-LI.min-C6t8xPQ-.cjs} +1 -1
- package/dist/{de-LI.min-CODTCNdO.js → de-LI.min-DlELqLYt.js} +1 -1
- package/dist/{el.min-CDIubxH9.cjs → el.min-BSqx0DGk.cjs} +1 -1
- package/dist/{el.min-BhKU1EMz.js → el.min-CUAbFoWX.js} +1 -1
- package/dist/{en-AU.min-D3MIlA5n.js → en-AU.min-CO4J2T8Z.js} +1 -1
- package/dist/{en-AU.min-CxDYf2nc.cjs → en-AU.min-PN0o0QYF.cjs} +1 -1
- package/dist/{en-GB.min-DZueSU4G.cjs → en-GB.min-BZCEE2f3.cjs} +1 -1
- package/dist/{en-GB.min-DKYAbj7M.js → en-GB.min-BrccD0sK.js} +1 -1
- package/dist/{en-IE.min-CgcW9hLw.js → en-IE.min-s_S1YBqF.js} +1 -1
- package/dist/{en-IE.min-Da6B8XJy.cjs → en-IE.min-zXGQ3iCr.cjs} +1 -1
- package/dist/{en-NZ.min-tmjsYIZG.js → en-NZ.min-CO_HvXab.js} +1 -1
- package/dist/{en-NZ.min-C_-KktOX.cjs → en-NZ.min-Dx_tHXSe.cjs} +1 -1
- package/dist/{en-ZA.min-Cmx-WDQ1.js → en-ZA.min-Bh3V4VhB.js} +1 -1
- package/dist/{en-ZA.min-Cip8wP5h.cjs → en-ZA.min-OBnN09pf.cjs} +1 -1
- package/dist/{es-AR.min-CgnADxmt.cjs → es-AR.min-CcC24csp.cjs} +1 -1
- package/dist/{es-AR.min-Dj-6J5he.js → es-AR.min-DRjQQdvT.js} +1 -1
- package/dist/{es-CL.min-CD7ppe6l.js → es-CL.min-BzbpybsY.js} +1 -1
- package/dist/{es-CL.min-DBFRz65r.cjs → es-CL.min-DBjxWIxX.cjs} +1 -1
- package/dist/{es-CO.min-BaRBmTrx.cjs → es-CO.min-C6pgpBZp.cjs} +1 -1
- package/dist/{es-CO.min-CaDA_smb.js → es-CO.min-p0gprNyY.js} +1 -1
- package/dist/{es-CR.min-CO6BGES1.js → es-CR.min-Bv7zVvzr.js} +1 -1
- package/dist/{es-CR.min-CyPwkcDC.cjs → es-CR.min-CO5OPb-W.cjs} +1 -1
- package/dist/{es-ES.min-S1YZe8_Z.cjs → es-ES.min-C-b6Ptwh.cjs} +1 -1
- package/dist/{es-ES.min-Bh4EFRKW.js → es-ES.min-CC3rJcHr.js} +1 -1
- package/dist/{es-MX.min-BpjLXpaT.js → es-MX.min-BQN9LffR.js} +1 -1
- package/dist/{es-MX.min-BUPJ87Qy.cjs → es-MX.min-Bh_45_k9.cjs} +1 -1
- package/dist/{es-NI.min-DzDYB-gA.js → es-NI.min-CDgBbXku.js} +1 -1
- package/dist/{es-NI.min-BfdMDwvR.cjs → es-NI.min-DQ_psvIx.cjs} +1 -1
- package/dist/{es-PE.min-CYbZv5GM.cjs → es-PE.min-B733lDs5.cjs} +1 -1
- package/dist/{es-PE.min-Cq93wT94.js → es-PE.min-CTkgmrUf.js} +1 -1
- package/dist/{es-PR.min-DstPxe7Y.js → es-PR.min-BlTQZpjk.js} +1 -1
- package/dist/{es-PR.min-ytseZ8uF.cjs → es-PR.min-dn6T-fN7.cjs} +1 -1
- package/dist/{es-SV.min-Bmy2FW33.js → es-SV.min-C3gFVvBP.js} +1 -1
- package/dist/{es-SV.min-DVJYFIBv.cjs → es-SV.min-D4H0g6ZN.cjs} +1 -1
- package/dist/{et-EE.min-C0LN9FYL.cjs → et-EE.min-CAJiUosX.cjs} +1 -1
- package/dist/{et-EE.min-BobwtaWK.js → et-EE.min-wnm-ZKoW.js} +1 -1
- package/dist/{fa-IR.min-n557Ue_G.cjs → fa-IR.min-CGnB6kU6.cjs} +1 -1
- package/dist/{fa-IR.min-CXmLdxUF.js → fa-IR.min-DRzE4v4G.js} +1 -1
- package/dist/{fi-FI.min-C3-esdv_.js → fi-FI.min-BkvVCmNM.js} +1 -1
- package/dist/{fi-FI.min-CPTRwYvW.cjs → fi-FI.min-CLxrNbgN.cjs} +1 -1
- package/dist/{fil-PH.min-CBBMoaGU.js → fil-PH.min-BW8W3-ce.js} +1 -1
- package/dist/{fil-PH.min--G8fSPGS.cjs → fil-PH.min-CeUSw1yt.cjs} +1 -1
- package/dist/{fr-CA.min-C8SxGHQz.cjs → fr-CA.min-B3TbDjGo.cjs} +1 -1
- package/dist/{fr-CA.min-M0W3bHQH.js → fr-CA.min-B5en1B40.js} +1 -1
- package/dist/{fr-CH.min-DvXnOzOi.js → fr-CH.min-CC-bK7wH.js} +1 -1
- package/dist/{fr-CH.min-CJQVLjLG.cjs → fr-CH.min-CiOsq2lv.cjs} +1 -1
- package/dist/{fr-FR.min-Diihpq6w.js → fr-FR.min-Csw_J0Ao.js} +1 -1
- package/dist/{fr-FR.min-8K9gmfkl.cjs → fr-FR.min-T0tqe5n3.cjs} +1 -1
- package/dist/{he-IL.min-Cpw8QQCd.cjs → he-IL.min-C4aE6yLf.cjs} +1 -1
- package/dist/{he-IL.min-D_efQhmD.js → he-IL.min-CFjr89HQ.js} +1 -1
- package/dist/{hu-HU.min-BjSkzLEt.js → hu-HU.min-8ySd9e0Y.js} +1 -1
- package/dist/{hu-HU.min-DxKxw84M.cjs → hu-HU.min-QdGN9M-W.cjs} +1 -1
- package/dist/{id.min-C5DPT_Qh.cjs → id.min-BdaKNCmX.cjs} +1 -1
- package/dist/{id.min-B0pEQoJa.js → id.min-oLeiunhh.js} +1 -1
- package/dist/{importer-CL388OXd.js → importer-BhNYEPdF.js} +30880 -22214
- package/dist/{importer-Cs_2Fwe9.cjs → importer-BljMZB1t.cjs} +226 -379
- package/dist/importer.cjs.js +1 -1
- package/dist/importer.es.js +1 -1
- package/dist/index-CbN1LdZO.js +256 -0
- package/dist/index-jG5xwyGa.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +4 -3
- package/dist/{it-CH.min-CIQyKXmn.cjs → it-CH.min-A9MT1DIP.cjs} +1 -1
- package/dist/{it-CH.min-DS8hjsh3.js → it-CH.min-XW3Y4dUv.js} +1 -1
- package/dist/{it-IT.min-Ygbgczex.js → it-IT.min-BuiOHxUd.js} +1 -1
- package/dist/{it-IT.min-BSPyGSPL.cjs → it-IT.min-DMZKPL3j.cjs} +1 -1
- package/dist/{ja-JP.min-l3bUsGhj.js → ja-JP.min-B1yAcoha.js} +1 -1
- package/dist/{ja-JP.min-BTg6j7BF.cjs → ja-JP.min-CPUEZrCW.cjs} +1 -1
- package/dist/{ko-KR.min-CGQZD3Dk.js → ko-KR.min-CTOB6g2M.js} +1 -1
- package/dist/{ko-KR.min-BguH99Io.cjs → ko-KR.min-OauhD0hj.cjs} +1 -1
- package/dist/{lv-LV.min-CWtoyUXC.js → lv-LV.min-Bq4SEKVF.js} +1 -1
- package/dist/{lv-LV.min-Ddv-OfCb.cjs → lv-LV.min-C78v3I5a.cjs} +1 -1
- package/dist/{nb-NO.min-DGuGIf6Z.js → nb-NO.min-CHaNlU37.js} +1 -1
- package/dist/{nb-NO.min-Byxe_TP4.cjs → nb-NO.min-lOWMEKIL.cjs} +1 -1
- package/dist/{nb.min-BFQiNONy.js → nb.min-CCDc-CBW.js} +1 -1
- package/dist/{nb.min-B8Q1tQGO.cjs → nb.min-DU-S1hsd.cjs} +1 -1
- package/dist/{nl-BE.min-CoexapUM.js → nl-BE.min--BZxpK5j.js} +1 -1
- package/dist/{nl-BE.min-B-wm_6qe.cjs → nl-BE.min-g7jcpN93.cjs} +1 -1
- package/dist/{nl-NL.min-DScdrIfy.cjs → nl-NL.min-CUgtxVKi.cjs} +1 -1
- package/dist/{nl-NL.min-DrclCix0.js → nl-NL.min-DTD4DfaL.js} +1 -1
- package/dist/{nn.min-CDT2ulQ9.cjs → nn.min-CSefnrM7.cjs} +1 -1
- package/dist/{nn.min-B8s_XKWm.js → nn.min-DK8Jdqpm.js} +1 -1
- package/dist/{pl-PL.min-BknAfAJ0.cjs → pl-PL.min-BKUV2Thn.cjs} +1 -1
- package/dist/{pl-PL.min-DItG3N2g.js → pl-PL.min-C1QZMB9O.js} +1 -1
- package/dist/{pt-BR.min-55hjntgw.cjs → pt-BR.min-CpV_D789.cjs} +1 -1
- package/dist/{pt-BR.min-CWIx6_Wg.js → pt-BR.min-QwrPpzT0.js} +1 -1
- package/dist/{pt-PT.min-BZLflHZH.cjs → pt-PT.min-CkDrPT0Z.cjs} +1 -1
- package/dist/{pt-PT.min-DzWmtU8C.js → pt-PT.min-DxV9ahN7.js} +1 -1
- package/dist/{ro-RO.min-B2xgQbS7.js → ro-RO.min-B_3XlLFN.js} +1 -1
- package/dist/{ro-RO.min-rg6-wXka.cjs → ro-RO.min-DC7mtZq_.cjs} +1 -1
- package/dist/{ro.min-B2xgQbS7.js → ro.min-B_3XlLFN.js} +1 -1
- package/dist/{ro.min-DBjz529U.cjs → ro.min-DtCrYTKz.cjs} +1 -1
- package/dist/{ru-RU.min-DhA22laX.js → ru-RU.min-B-7v6Y6y.js} +1 -1
- package/dist/{ru-RU.min-y6sIgNof.cjs → ru-RU.min-BS0BVLqR.cjs} +1 -1
- package/dist/{ru-UA.min-DPgTSrF3.js → ru-UA.min-CMsEnDVJ.js} +1 -1
- package/dist/{ru-UA.min-DVwzEWzG.cjs → ru-UA.min-CNddSeUb.cjs} +1 -1
- package/dist/{sk-SK.min-BWl1c1bO.js → sk-SK.min-DOwbYkeJ.js} +1 -1
- package/dist/{sk-SK.min-DBHB00xq.cjs → sk-SK.min-kuMAWfpe.cjs} +1 -1
- package/dist/{sl.min-DBj7OYUM.js → sl.min-DItkPVln.js} +1 -1
- package/dist/{sl.min-CdjBQ5De.cjs → sl.min-DkW7X7Hu.cjs} +1 -1
- package/dist/{sr-Cyrl-RS.min-A6Flp2OW.cjs → sr-Cyrl-RS.min-CbKJmouX.cjs} +1 -1
- package/dist/{sr-Cyrl-RS.min-DIxOIeRn.js → sr-Cyrl-RS.min-D5QaL9gw.js} +1 -1
- package/dist/src/index.d.ts +3 -3
- package/dist/src/lib/actions/applyToField.d.ts +7 -0
- package/dist/src/lib/actions/autoIncrementIdsAction.d.ts +2 -2
- package/dist/src/lib/actions/backwardFillAction.d.ts +10 -3
- package/dist/src/lib/actions/clampRangeAction.d.ts +2 -3
- package/dist/src/lib/actions/cleanNumberAction.d.ts +2 -3
- package/dist/src/lib/actions/clearCellRangeAction.d.ts +2 -3
- package/dist/src/lib/actions/clearCulmn.d.ts +2 -3
- package/dist/src/lib/actions/combineColumnsAction.d.ts +2 -2
- package/dist/src/lib/actions/defaultValueAction.d.ts +2 -3
- package/dist/src/lib/actions/fillWithTimestampAction.d.ts +2 -3
- package/dist/src/lib/actions/findAndReplace.d.ts +2 -3
- package/dist/src/lib/actions/formatBooleansAction.d.ts +2 -3
- package/dist/src/lib/actions/formatDatesAction.d.ts +2 -2
- package/dist/src/lib/actions/formatEmailsAction.d.ts +2 -3
- package/dist/src/lib/actions/formatPhoneNumbersAction.d.ts +2 -3
- package/dist/src/lib/actions/forwardFillAction.d.ts +2 -3
- package/dist/src/lib/actions/fuzzyFixAction/fuzzyFixAction.d.ts +3 -3
- package/dist/src/lib/actions/generateUUIDsAction.d.ts +2 -3
- package/dist/src/lib/actions/mapCountryNamesAction.d.ts +2 -3
- package/dist/src/lib/actions/mapToEnumAction.d.ts +2 -3
- package/dist/src/lib/actions/normalizeUrlsAction.d.ts +2 -3
- package/dist/src/lib/actions/normalizeZScoreAction.d.ts +2 -3
- package/dist/src/lib/actions/padStringAction.d.ts +2 -3
- package/dist/src/lib/actions/regexReplaceAction.d.ts +2 -3
- package/dist/src/lib/actions/roundNumbersAction.d.ts +2 -3
- package/dist/src/lib/actions/scaleNumbersAction.d.ts +2 -3
- package/dist/src/lib/actions/specs/_helpers.d.ts +5 -0
- package/dist/src/lib/actions/stripHtmlTagsAction.d.ts +2 -3
- package/dist/src/lib/actions/titleCaseTextAction.d.ts +2 -3
- package/dist/src/lib/actions/toLowerCaseAction.d.ts +2 -3
- package/dist/src/lib/actions/toUpperCaseAction.d.ts +2 -3
- package/dist/src/lib/actions/trimWhitespace.d.ts +2 -3
- package/dist/src/lib/actions/truncateTextAction.d.ts +2 -3
- package/dist/src/lib/components/FormFields/IvtCheckBox/IvtCheckBox.svelte.d.ts +1 -0
- package/dist/src/lib/components/FormFields/IvtNumber/IvtNumber.svelte.d.ts +1 -0
- package/dist/src/lib/components/FormFields/IvtRadioButtons/IvtRadioButtons.svelte.d.ts +1 -0
- package/dist/src/lib/components/FormFields/IvtSelect/IvtSelect.svelte.d.ts +1 -0
- package/dist/src/lib/components/FormFields/IvtSelect/type.d.ts +8 -0
- package/dist/src/lib/components/FormFields/IvtText/IvtText.svelte.d.ts +1 -0
- package/dist/src/lib/components/FormFields/IvtTimeStamp/IvtTimeStamp.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtFieldSelector.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtPaginator.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/IvtTransform.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/actionNameMap.d.ts +4 -0
- package/dist/src/lib/components/IvtTransform/constants.d.ts +15 -0
- package/dist/src/lib/components/IvtTransform/internal/IvtAddTransformerDialog.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/internal/IvtConnector.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/internal/IvtTransformDiffTable.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/internal/IvtTransformPipeline.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/mergeDiffRows.d.ts +2 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/AutoIncrementIdsFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/ClampRangeFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/CleanNumbersFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/CombineColumnsFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/DefaultTextValueFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/FieldError.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/FillWithTimestampFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/FormatBooleanFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/FormatDatesFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/FormatPhoneNumbersFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/GenerateUUIDFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/MapCountryNamesFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/NormalizeUrlsFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/NormalizeZScoreFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/PadStringFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/RegexReplaceFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/RoundNumbersFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/ScaleNumbersFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/StripHtmlTagsFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/TitleCaseTextFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/ToLowerCaseFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/ToUpperCaseFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/TrimWhitespaceFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/payload-fields/TruncateTextFields.svelte.d.ts +1 -0
- package/dist/src/lib/components/IvtTransform/transformerSchemas.d.ts +597 -0
- package/dist/src/lib/components/IvtTransform/type.d.ts +9 -0
- package/dist/src/lib/constants.d.ts +9 -1
- package/dist/src/lib/icons/IconPlus.svelte.d.ts +1 -0
- package/dist/src/lib/types/cellTransformerAction.type.d.ts +7 -12
- package/dist/src/lib/types/index.d.ts +1 -0
- package/dist/src/lib/types/internal.types.d.ts +1 -1
- package/dist/src/lib/{utils/mappers/numbroLanguages.d.ts → types/locale.d.ts} +1 -7
- package/dist/src/lib/types/schema.types.d.ts +1 -1
- package/dist/src/lib/types/validators.types.d.ts +3 -3
- package/dist/src/lib/utils/getFieldKeyByOrder.d.ts +2 -0
- package/dist/src/lib/utils/getVisibleFieldSchemas.d.ts +2 -0
- package/dist/src/lib/utils/mappers/numbroLanguagesLoader.d.ts +4 -0
- package/dist/src/lib/workers/hooks/actionDispatcher.d.ts +2 -2
- package/dist/{sv-SE.min-qwRFRjQF.cjs → sv-SE.min-Cx6iqt9H.cjs} +1 -1
- package/dist/{sv-SE.min-UTjLm_Ki.js → sv-SE.min-jV0t8gnL.js} +1 -1
- package/dist/{th-TH.min-XM7JcGEB.js → th-TH.min-B3O9Y6fF.js} +1 -1
- package/dist/{th-TH.min-CCS4fv-T.cjs → th-TH.min-QtfmQ0So.cjs} +1 -1
- package/dist/{tr-TR.min-DFf3jsBv.js → tr-TR.min-BEefKDdp.js} +1 -1
- package/dist/{tr-TR.min-BQONcT-P.cjs → tr-TR.min-DdcrTyPk.cjs} +1 -1
- package/dist/{uk-UA.min-C2IhzRLX.cjs → uk-UA.min-CuMOuolm.cjs} +1 -1
- package/dist/{uk-UA.min-CQAeBZpb.js → uk-UA.min-DpIZrbap.js} +1 -1
- package/dist/{zh-CN.min-CT0YJpZ-.cjs → zh-CN.min-BVsz-f2r.cjs} +1 -1
- package/dist/{zh-CN.min-C8Rz0UaJ.js → zh-CN.min-qFSZTkhi.js} +1 -1
- package/dist/{zh-MO.min-CXLy9Ko2.js → zh-MO.min-CH-ZfWrO.js} +1 -1
- package/dist/{zh-MO.min-BH1yL03J.cjs → zh-MO.min-DrjavnEP.cjs} +1 -1
- package/dist/{zh-SG.min-BSfY67dU.cjs → zh-SG.min-BwSWoNZK.cjs} +1 -1
- package/dist/{zh-SG.min-Dxt68xAZ.js → zh-SG.min-DydIr9Ep.js} +1 -1
- package/dist/{zh-TW.min-CPJIMTzR.js → zh-TW.min-D4GqD8hj.js} +1 -1
- package/dist/{zh-TW.min-BxOlhEDL.cjs → zh-TW.min-waGlX_sY.cjs} +1 -1
- package/package.json +2 -1
- package/dist/index-BoIinG00.js +0 -149
- package/dist/index-CaghcyIb.cjs +0 -1
- package/dist/src/lib/actions/fuzzyFixAction/fastestfuzzyFixAction.d.ts +0 -7
- package/dist/src/lib/actions/parseNumberAction.d.ts +0 -3
- package/dist/src/lib/components/IvtDiffTable/DiffTableLogic.d.ts +0 -12
- package/dist/src/lib/components/IvtDiffTable/DiffTableLogic.spec.d.ts +0 -1
- package/dist/src/lib/components/IvtDiffTable/IngDiffTable.spec.d.ts +0 -1
- /package/dist/src/lib/{actions/fuzzyFixAction/fuzzyFixAction.spec.d.ts → components/IvtTransform/mergeDiffRows.spec.d.ts} +0 -0
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { ITransformActionPayloadBase } from './transformActions.types';
|
|
2
|
-
import { LocaleSpecifier, MomentBuiltinFormat } from 'moment';
|
|
3
2
|
import { IvtCellValue } from './internal.types';
|
|
4
3
|
import { IDataSourceResolver } from './schema.types';
|
|
5
|
-
import { UUIDVersion } from 'validator';
|
|
6
4
|
import { IsEmailOptions } from 'validator/lib/isEmail';
|
|
7
5
|
import { IClampRangeTransformActionPayload } from './columnTransformerAction.type';
|
|
8
6
|
import { CountryCode } from '../utils/locale';
|
|
7
|
+
import { MomentBuiltinFormat } from 'moment';
|
|
9
8
|
export interface IFuzzyMatchTransformActionPayload extends ITransformActionPayloadBase {
|
|
10
9
|
isCaseSensitive?: boolean;
|
|
11
10
|
threshold?: number;
|
|
12
11
|
}
|
|
13
12
|
export interface IGenerateUUIDsTransformActionPayload extends ITransformActionPayloadBase {
|
|
14
|
-
version:
|
|
13
|
+
version: '1' | '3' | '4' | '5' | '6' | '7';
|
|
15
14
|
/** Required for v3/v5 */
|
|
16
15
|
namespace?: string;
|
|
17
16
|
/** Required for v3/v5 */
|
|
@@ -46,15 +45,13 @@ export interface ICleanNumberActionPayload extends ITransformActionPayloadBase {
|
|
|
46
45
|
dropNonNumbers?: boolean;
|
|
47
46
|
options?: ICleanNumberOptions;
|
|
48
47
|
}
|
|
49
|
-
export interface IParseNumberActionPayload extends ITransformActionPayloadBase {
|
|
50
|
-
withDecimal?: boolean;
|
|
51
|
-
}
|
|
52
48
|
export interface IMapCountriesTransformActionPayload extends ITransformActionPayloadBase {
|
|
53
49
|
direction: 'codeToName' | 'nameToCode';
|
|
54
50
|
}
|
|
55
51
|
export interface IPadStringTransformActionPayload extends ITransformActionPayloadBase {
|
|
56
52
|
length: number;
|
|
57
|
-
char
|
|
53
|
+
char: string;
|
|
54
|
+
position: 'start' | 'end';
|
|
58
55
|
}
|
|
59
56
|
export interface IMapToEnumTransformActionPayloadInternal extends ITransformActionPayloadBase {
|
|
60
57
|
resolver: IDataSourceResolver;
|
|
@@ -82,11 +79,11 @@ export interface IScaleNumbersTransformActionPayload extends ITransformActionPay
|
|
|
82
79
|
export type INormalizeZScoreTransformActionPayload = ITransformActionPayloadBase;
|
|
83
80
|
export interface IFormatDatesTransformActionPayload extends ITransformActionPayloadBase {
|
|
84
81
|
strictParsing?: boolean;
|
|
85
|
-
parsePatterns?:
|
|
82
|
+
parsePatterns?: string[] | [MomentBuiltinFormat];
|
|
86
83
|
/** momentJs format string */
|
|
87
84
|
formatPattern: string;
|
|
88
85
|
/** optional locale from 'momentJs/locale' */
|
|
89
|
-
locale?:
|
|
86
|
+
locale?: string[];
|
|
90
87
|
}
|
|
91
88
|
export interface INormalizeUrlsTransformActionPayload extends ITransformActionPayloadBase {
|
|
92
89
|
enforceHttps?: boolean;
|
|
@@ -117,7 +114,6 @@ export declare enum ICellTransformAction {
|
|
|
117
114
|
AutoIncrementIds = "autoIncrementIds",
|
|
118
115
|
FillWithTimestamp = "fillWithTimestamp",
|
|
119
116
|
CleanNumbers = "cleanNumbers",
|
|
120
|
-
ParseNumbers = "parseNumbers",
|
|
121
117
|
RoundNumbers = "roundNumbers",
|
|
122
118
|
ScaleNumbers = "scaleNumbers",
|
|
123
119
|
ClampRange = "clampRange",
|
|
@@ -151,7 +147,6 @@ export type CellActionPayloadMap = {
|
|
|
151
147
|
[ICellTransformAction.FormatDates]: IFormatDatesTransformActionPayload;
|
|
152
148
|
[ICellTransformAction.NormalizeUrls]: INormalizeUrlsTransformActionPayload;
|
|
153
149
|
[ICellTransformAction.CleanNumbers]: ICleanNumberActionPayload;
|
|
154
|
-
[ICellTransformAction.ParseNumbers]: IParseNumberActionPayload;
|
|
155
150
|
[ICellTransformAction.MapCountryNames]: IMapCountriesTransformActionPayload;
|
|
156
151
|
[ICellTransformAction.CombineColumns]: ICombineColumnsTransformActionPayload;
|
|
157
152
|
[ICellTransformAction.FormatBooleans]: IFormatBooleansTransformActionPayload;
|
|
@@ -161,4 +156,4 @@ export type CellActionPayloadMap = {
|
|
|
161
156
|
[ICellTransformAction.FuzzyFix]: IFuzzyMatchTransformActionPayload;
|
|
162
157
|
[ICellTransformAction.ClampRange]: IClampRangeTransformActionPayload;
|
|
163
158
|
};
|
|
164
|
-
export type ICellTransformActionPayload = ICleanNumberActionPayload |
|
|
159
|
+
export type ICellTransformActionPayload = ICleanNumberActionPayload | ITrimWhitespaceTransformActionPayload | IToUpperCaseTransformActionPayload | IToLowerCaseTransformActionPayload | ITitleCaseTextTransformActionPayload | IPadStringTransformActionPayload | ITruncateTextTransformActionPayload | IStripHtmlTagsTransformActionPayload | IRegexReplaceTransformActionPayload | IAutoIncrementIdsTransformActionPayload | IGenerateUUIDsTransformActionPayload | IFillWithTimestampTransformActionPayload | IRoundNumbersTransformActionPayload | IScaleNumbersTransformActionPayload | INormalizeZScoreTransformActionPayload | IFormatDatesTransformActionPayload | INormalizeUrlsTransformActionPayload | IFormatBooleansTransformActionPayload | IFormatEmailsTransformActionPayload | IFormatPhoneNumbersTransformActionPayload | IFuzzyMatchTransformActionPayload;
|
|
@@ -101,7 +101,7 @@ export interface IValidateCellChangesData {
|
|
|
101
101
|
fieldSchemas: IFieldSchemaSanitised[];
|
|
102
102
|
}
|
|
103
103
|
export interface IActionWorkerMessage {
|
|
104
|
-
|
|
104
|
+
tableRows: ITableRowsInternal;
|
|
105
105
|
hiddenRows: number[];
|
|
106
106
|
cellErrors: ICellErrorWithMeta[];
|
|
107
107
|
action: IColumnTransformAction | ICellTransformAction;
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type ILocale = 'bg' | 'cs-CZ' | 'da-DK' | 'de-AT' | 'de-CH' | 'de-DE' | 'de-LI' | 'el' | 'en-AU' | 'en-GB' | 'en-IE' | 'en-NZ' | 'en-ZA' | 'es-AR' | 'es-CL' | 'es-CO' | 'es-CR' | 'es-ES' | 'es-MX' | 'es-NI' | 'es-PE' | 'es-PR' | 'es-SV' | 'et-EE' | 'fa-IR' | 'fi-FI' | 'fil-PH' | 'fr-CA' | 'fr-CH' | 'fr-FR' | 'he-IL' | 'hu-HU' | 'id' | 'it-CH' | 'it-IT' | 'ja-JP' | 'ko-KR' | 'lv-LV' | 'nb-NO' | 'nb' | 'nl-BE' | 'nl-NL' | 'nn' | 'pl-PL' | 'pt-BR' | 'pt-PT' | 'ro-RO' | 'ro' | 'ru-RU' | 'ru-UA' | 'sk-SK' | 'sl' | 'sr-Cyrl-RS' | 'sv-SE' | 'th-TH' | 'tr-TR' | 'uk-UA' | 'zh-CN' | 'zh-MO' | 'zh-SG' | 'zh-TW';
|
|
2
2
|
export type ILocaleLanguage = 'Bulgarian' | 'Czech (Czech Republic)' | 'Danish (Denmark)' | 'German (Austria)' | 'German (Switzerland)' | 'German (Germany)' | 'German (Liechtenstein)' | 'Greek' | 'English (Australia)' | 'English (United Kingdom)' | 'English (Ireland)' | 'English (New Zealand)' | 'English (South Africa)' | 'Spanish (Argentina)' | 'Spanish (Chile)' | 'Spanish (Colombia)' | 'Spanish (Costa Rica)' | 'Spanish (Spain)' | 'Spanish (Mexico)' | 'Spanish (Nicaragua)' | 'Spanish (Peru)' | 'Spanish (Puerto Rico)' | 'Spanish (El Salvador)' | 'Estonian (Estonia)' | 'Persian (Iran)' | 'Finnish (Finland)' | 'Filipino (Philippines)' | 'French (Canada)' | 'French (Switzerland)' | 'French (France)' | 'Hebrew (Israel)' | 'Hungarian (Hungary)' | 'Indonesian' | 'Italian (Switzerland)' | 'Italian (Italy)' | 'Japanese (Japan)' | 'Korean (South Korea)' | 'Latvian (Latvia)' | 'Norwegian (Norway)' | 'Norwegian' | 'Dutch (Belgium)' | 'Dutch (Netherlands)' | 'Norwegian Nynorsk' | 'Polish (Poland)' | 'Portuguese (Brazil)' | 'Portuguese (Portugal)' | 'Romanian (Romania)' | 'Romanian' | 'Russian (Russia)' | 'Russian (Ukraine)' | 'Slovak (Slovakia)' | 'Slovene' | 'Serbian (Cyrillic, Serbia)' | 'Swedish (Sweden)' | 'Thai (Thailand)' | 'Turkish (Turkey)' | 'Ukrainian (Ukraine)' | 'Chinese (Simplified, China)' | 'Chinese (Traditional, Macao)' | 'Chinese (Simplified, Singapore)' | 'Chinese (Traditional, Taiwan)';
|
|
3
|
-
export declare const toNumbroLocale: {
|
|
4
|
-
[index in ILocaleLanguage]: Locale;
|
|
5
|
-
};
|
|
6
|
-
export declare const numbroLanguagesLoader: {
|
|
7
|
-
[index in Locale]: () => any;
|
|
8
|
-
};
|
|
@@ -4,7 +4,7 @@ import { IFileExtension, IvtCellValue } from './internal.types';
|
|
|
4
4
|
import { IFieldTransformerMapInternal } from './transformActions.types';
|
|
5
5
|
import { IEventHandlersInternal } from './events';
|
|
6
6
|
import { ICombineColumnsTransformActionPayload } from './cellTransformerAction.type';
|
|
7
|
-
import { ILocaleLanguage } from '
|
|
7
|
+
import { ILocaleLanguage } from '.';
|
|
8
8
|
import { default as numbro } from 'numbro';
|
|
9
9
|
export type IFieldSchemaType = 'autocomplete' | 'dropdown' | 'checkbox' | 'date' | 'numeric' | 'monetary' | 'password' | 'select' | 'text' | 'combine' | 'time';
|
|
10
10
|
export interface IBaseFieldSchemaInternal {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IsCreditCardOptions
|
|
1
|
+
import { IsCreditCardOptions } from 'validator';
|
|
2
2
|
import { IDateFieldSchemaInternal } from './schema.types';
|
|
3
3
|
import { DefaultTableRowType, ITableRowInternal } from './table.types';
|
|
4
4
|
import { IsURLOptions } from 'validator/lib/isURL';
|
|
5
5
|
import { Rule } from '@ivandt/json-rules';
|
|
6
6
|
import { IsEmailOptions } from 'validator/lib/isEmail';
|
|
7
|
-
import { ICleanNumberOptions } from './cellTransformerAction.type';
|
|
7
|
+
import { ICleanNumberOptions, IGenerateUUIDsTransformActionPayload } from './cellTransformerAction.type';
|
|
8
8
|
import { CountryCode } from '../utils/locale';
|
|
9
9
|
export type IFieldValidatorType = 'required' | 'rules' | 'uuid' | 'numeric' | 'boolean' | 'unique' | 'regex' | 'email' | 'min' | 'max' | 'range' | 'minLength' | 'maxLength' | 'url' | 'phone' | 'date' | 'enumerate' | 'creditcard' | 'custom';
|
|
10
10
|
export type IErrorSeverity = 'w' | 'e';
|
|
@@ -29,7 +29,7 @@ export interface IRulesFieldValidator<TableRow = DefaultTableRowType> extends IB
|
|
|
29
29
|
}
|
|
30
30
|
export interface IUUIDFieldValidator extends IBaseFieldValidator {
|
|
31
31
|
type: 'uuid';
|
|
32
|
-
version:
|
|
32
|
+
version: IGenerateUUIDsTransformActionPayload['version'];
|
|
33
33
|
}
|
|
34
34
|
export interface INumericFieldValidator extends IBaseFieldValidator {
|
|
35
35
|
type: 'numeric';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DataSources, ICellErrorWithMeta, ICellTransformAction, IColumnTransformAction, ITransformActionPayload
|
|
2
|
-
export declare const actionDispatcher: (action: ICellTransformAction | IColumnTransformAction, payload: ITransformActionPayload,
|
|
1
|
+
import { ITableRowsInternal, DataSources, ICellErrorWithMeta, ICellTransformAction, IColumnTransformAction, ITransformActionPayload } from '../../types';
|
|
2
|
+
export declare const actionDispatcher: (action: ICellTransformAction | IColumnTransformAction, payload: ITransformActionPayload, rows: ITableRowsInternal, hiddenRows: number[], dataSources: DataSources, cellErrors: ICellErrorWithMeta[]) => ITableRowsInternal;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-BljMZB1t.cjs");function l(r,n){for(var t=0;t<n.length;t++){const e=n[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in r)){const s=Object.getOwnPropertyDescriptor(e,a);s&&Object.defineProperty(r,a,s.get?s:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},p=o.exports,u;function d(){return u||(u=1,function(r,n){(function(t,e){r.exports=e()})(p,function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Swedish
|
|
4
4
|
* locale : Sweden
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-BljMZB1t.cjs");function l(r,o){for(var e=0;e<o.length;e++){const t=o[e];if(typeof t!="string"&&!Array.isArray(t)){for(const a in t)if(a!=="default"&&!(a in r)){const u=Object.getOwnPropertyDescriptor(t,a);u&&Object.defineProperty(r,a,u.get?u:{enumerable:!0,get:()=>t[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n={exports:{}},p=n.exports,i;function d(){return i||(i=1,function(r,o){(function(e,t){r.exports=t()})(p,function(){function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Thai
|
|
4
4
|
* locale : Thailand
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("./importer-
|
|
1
|
+
"use strict";const s=require("./importer-BljMZB1t.cjs");function l(a,o){for(var r=0;r<o.length;r++){const e=o[r];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in a)){const n=Object.getOwnPropertyDescriptor(e,t);n&&Object.defineProperty(a,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var i={exports:{}},p=i.exports,u;function d(){return u||(u=1,function(a,o){(function(r,e){a.exports=e()})(p,function(){function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Turkish
|
|
4
4
|
* locale : Turkey
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-BljMZB1t.cjs");function l(r,n){for(var t=0;t<n.length;t++){const e=n[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in r)){const u=Object.getOwnPropertyDescriptor(e,a);u&&Object.defineProperty(r,a,u.get?u:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},p=o.exports,i;function d(){return i||(i=1,function(r,n){(function(t,e){r.exports=e()})(p,function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Ukrainian
|
|
4
4
|
* locale : Ukraine
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const l=require("./importer-
|
|
1
|
+
"use strict";const l=require("./importer-BljMZB1t.cjs");function c(r,o){for(var t=0;t<o.length;t++){const e=o[t];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in r)){const i=Object.getOwnPropertyDescriptor(e,n);i&&Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}},p=a.exports,u;function f(){return u||(u=1,function(r,o){(function(t,e){r.exports=e()})(p,function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : simplified chinese
|
|
4
4
|
* locale : China
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-BljMZB1t.cjs");function l(t,i){for(var r=0;r<i.length;r++){const e=i[r];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in t)){const u=Object.getOwnPropertyDescriptor(e,n);u&&Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},f=o.exports,s;function p(){return s||(s=1,function(t,i){(function(r,e){t.exports=e()})(f,function(){function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Chinese traditional
|
|
4
4
|
* locale: Macau
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-BljMZB1t.cjs");function l(t,i){for(var r=0;r<i.length;r++){const e=i[r];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in t)){const u=Object.getOwnPropertyDescriptor(e,n);u&&Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},f=o.exports,s;function p(){return s||(s=1,function(t,i){(function(r,e){t.exports=e()})(f,function(){function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Chinese simplified
|
|
4
4
|
* locale: Singapore
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-BljMZB1t.cjs");function l(t,i){for(var r=0;r<i.length;r++){const e=i[r];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in t)){const u=Object.getOwnPropertyDescriptor(e,n);u&&Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},f=o.exports,s;function p(){return s||(s=1,function(t,i){(function(r,e){t.exports=e()})(f,function(){function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Chinese (Taiwan)
|
|
4
4
|
* author (numbro.js Version): Randy Wilander : https://github.com/rocketedaway
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ivandt/importer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
"minisearch": "7.1.2",
|
|
98
98
|
"moment": "2.30.1",
|
|
99
99
|
"numbro": "^2.5.0",
|
|
100
|
+
"svelte-select": "^5.8.3",
|
|
100
101
|
"validator": "^13.15.0",
|
|
101
102
|
"zod": "^3.24.3"
|
|
102
103
|
}
|
package/dist/index-BoIinG00.js
DELETED
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
const t = [];
|
|
2
|
-
for (let e = 0; e < 256; ++e)
|
|
3
|
-
t.push((e + 256).toString(16).slice(1));
|
|
4
|
-
function d(e, a = 0) {
|
|
5
|
-
return (t[e[a + 0]] + t[e[a + 1]] + t[e[a + 2]] + t[e[a + 3]] + "-" + t[e[a + 4]] + t[e[a + 5]] + "-" + t[e[a + 6]] + t[e[a + 7]] + "-" + t[e[a + 8]] + t[e[a + 9]] + "-" + t[e[a + 10]] + t[e[a + 11]] + t[e[a + 12]] + t[e[a + 13]] + t[e[a + 14]] + t[e[a + 15]]).toLowerCase();
|
|
6
|
-
}
|
|
7
|
-
let s;
|
|
8
|
-
const c = new Uint8Array(16);
|
|
9
|
-
function m() {
|
|
10
|
-
if (!s) {
|
|
11
|
-
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
12
|
-
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
13
|
-
s = crypto.getRandomValues.bind(crypto);
|
|
14
|
-
}
|
|
15
|
-
return s(c);
|
|
16
|
-
}
|
|
17
|
-
const p = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), i = { randomUUID: p };
|
|
18
|
-
function l(e, a, r) {
|
|
19
|
-
var o;
|
|
20
|
-
if (i.randomUUID && !e)
|
|
21
|
-
return i.randomUUID();
|
|
22
|
-
e = e || {};
|
|
23
|
-
const n = e.random ?? ((o = e.rng) == null ? void 0 : o.call(e)) ?? m();
|
|
24
|
-
if (n.length < 16)
|
|
25
|
-
throw new Error("Random bytes length must be >= 16");
|
|
26
|
-
return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, d(n);
|
|
27
|
-
}
|
|
28
|
-
const x = "https://api.ivandt.com/api", v = "__static_options_", h = "__dynamic_options_", y = "__static_enum_", g = "__dynamic_enum_", w = {
|
|
29
|
-
id: l(),
|
|
30
|
-
title: "Default Schema Name",
|
|
31
|
-
apiKey: "",
|
|
32
|
-
locale: "English (Australia)",
|
|
33
|
-
initialData: void 0,
|
|
34
|
-
initialFile: void 0,
|
|
35
|
-
environment: "local",
|
|
36
|
-
browserExcelParsing: !0,
|
|
37
|
-
dataSources: {},
|
|
38
|
-
fields: [],
|
|
39
|
-
stepsConfig: {
|
|
40
|
-
uploadFileStep: {
|
|
41
|
-
supportedExtensions: ["xlsx", "xls", "json", "csv", "txt"],
|
|
42
|
-
maxColumns: 10,
|
|
43
|
-
maxRows: 1e5,
|
|
44
|
-
maxFileSize: 20 * 1024 * 1024,
|
|
45
|
-
//20mb,
|
|
46
|
-
dataEntryMethod: "manual_and_upload"
|
|
47
|
-
},
|
|
48
|
-
mapHeadersStep: {
|
|
49
|
-
passThroughExcessColumns: !1,
|
|
50
|
-
autoMapHeaders: !0,
|
|
51
|
-
unMatchedHeadersBehaviour: "block",
|
|
52
|
-
intelligentImport: !0
|
|
53
|
-
},
|
|
54
|
-
reviewStep: {
|
|
55
|
-
invalidDataBehaviour: "block_submit",
|
|
56
|
-
includeValidationMetadata: !1,
|
|
57
|
-
includeOriginalData: !1,
|
|
58
|
-
allowSubmitCancel: !1,
|
|
59
|
-
allowCustomColumn: !1,
|
|
60
|
-
storeInServer: !0
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
advanced: {
|
|
64
|
-
maxInMemoryValidationRows: 500,
|
|
65
|
-
maxPerWorkerValidationRows: 1e4,
|
|
66
|
-
maxInMemoryTransformationRows: 500,
|
|
67
|
-
maxPerWorkerTransformationRows: 1e4
|
|
68
|
-
},
|
|
69
|
-
eventHandlers: {
|
|
70
|
-
// beforeColumnChange
|
|
71
|
-
// afterColumnChange
|
|
72
|
-
// beforeCellChange
|
|
73
|
-
// afterCellChange
|
|
74
|
-
// beforeRowChange
|
|
75
|
-
// afterRowChange
|
|
76
|
-
// beforeRowsChange
|
|
77
|
-
// afterRowsChange
|
|
78
|
-
// beforeUploadFile
|
|
79
|
-
// afterUploadFile
|
|
80
|
-
// beforeHeaderMapping
|
|
81
|
-
// afterHeaderMapping,
|
|
82
|
-
}
|
|
83
|
-
}, f = {
|
|
84
|
-
id: l(),
|
|
85
|
-
title: "Default Schema Name",
|
|
86
|
-
locale: "English (Australia)",
|
|
87
|
-
apiKey: "",
|
|
88
|
-
initialData: void 0,
|
|
89
|
-
initialFile: void 0,
|
|
90
|
-
environment: "local",
|
|
91
|
-
browserExcelParsing: !0,
|
|
92
|
-
dataSources: {},
|
|
93
|
-
fields: [],
|
|
94
|
-
stepsConfig: {
|
|
95
|
-
uploadFileStep: {
|
|
96
|
-
supportedExtensions: ["xlsx", "xls", "json", "csv", "txt"],
|
|
97
|
-
maxColumns: 10,
|
|
98
|
-
maxRows: 1e5,
|
|
99
|
-
maxFileSize: 20 * 1024 * 1024,
|
|
100
|
-
//20mb,
|
|
101
|
-
dataEntryMethod: "manual_and_upload"
|
|
102
|
-
},
|
|
103
|
-
mapHeadersStep: {
|
|
104
|
-
passThroughExcessColumns: !1,
|
|
105
|
-
autoMapHeaders: !0,
|
|
106
|
-
unMatchedHeadersBehaviour: "block",
|
|
107
|
-
intelligentImport: !0
|
|
108
|
-
},
|
|
109
|
-
reviewStep: {
|
|
110
|
-
invalidDataBehaviour: "block_submit",
|
|
111
|
-
includeValidationMetadata: !1,
|
|
112
|
-
includeOriginalData: !1,
|
|
113
|
-
allowCustomColumn: !1,
|
|
114
|
-
allowSubmitCancel: !1,
|
|
115
|
-
storeInServer: !0
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
advanced: {
|
|
119
|
-
maxInMemoryValidationRows: 500,
|
|
120
|
-
maxPerWorkerValidationRows: 1e4,
|
|
121
|
-
maxInMemoryTransformationRows: 500,
|
|
122
|
-
maxPerWorkerTransformationRows: 1e4
|
|
123
|
-
},
|
|
124
|
-
eventHandlers: {}
|
|
125
|
-
}, S = {
|
|
126
|
-
No: !1,
|
|
127
|
-
no: !1,
|
|
128
|
-
NO: !1,
|
|
129
|
-
Yes: !0,
|
|
130
|
-
yes: !0,
|
|
131
|
-
YES: !0
|
|
132
|
-
};
|
|
133
|
-
function _(e) {
|
|
134
|
-
return e ? e.normalize("NFKD").replace(/[\u0300-\u036f]/g, "").replace(/([a-z0-9])([A-Z])/g, "$1 $2").split(/[^A-Za-z0-9]+/g).filter(Boolean).map((o, u) => u === 0 ? o.toLowerCase() : o[0].toUpperCase() + o.slice(1).toLowerCase()).join("") : "";
|
|
135
|
-
}
|
|
136
|
-
export {
|
|
137
|
-
v as a,
|
|
138
|
-
h as b,
|
|
139
|
-
S as c,
|
|
140
|
-
w as d,
|
|
141
|
-
g as e,
|
|
142
|
-
x as f,
|
|
143
|
-
_ as g,
|
|
144
|
-
f as h,
|
|
145
|
-
m as r,
|
|
146
|
-
y as s,
|
|
147
|
-
d as u,
|
|
148
|
-
l as v
|
|
149
|
-
};
|
package/dist/index-CaghcyIb.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=[];for(let e=0;e<256;++e)t.push((e+256).toString(16).slice(1));function l(e,a=0){return(t[e[a+0]]+t[e[a+1]]+t[e[a+2]]+t[e[a+3]]+"-"+t[e[a+4]]+t[e[a+5]]+"-"+t[e[a+6]]+t[e[a+7]]+"-"+t[e[a+8]]+t[e[a+9]]+"-"+t[e[a+10]]+t[e[a+11]]+t[e[a+12]]+t[e[a+13]]+t[e[a+14]]+t[e[a+15]]).toLowerCase()}let i;const m=new Uint8Array(16);function u(){if(!i){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");i=crypto.getRandomValues.bind(crypto)}return i(m)}const p=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),r={randomUUID:p};function s(e,a,d){var o;if(r.randomUUID&&!e)return r.randomUUID();e=e||{};const n=e.random??((o=e.rng)==null?void 0:o.call(e))??u();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,l(n)}const x="https://api.ivandt.com/api",v="__static_options_",y="__dynamic_options_",f="__static_enum_",h="__dynamic_enum_",g={id:s(),title:"Default Schema Name",apiKey:"",locale:"English (Australia)",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",intelligentImport:!0},reviewStep:{invalidDataBehaviour:"block_submit",includeValidationMetadata:!1,includeOriginalData:!1,allowSubmitCancel:!1,allowCustomColumn:!1,storeInServer:!0}},advanced:{maxInMemoryValidationRows:500,maxPerWorkerValidationRows:1e4,maxInMemoryTransformationRows:500,maxPerWorkerTransformationRows:1e4},eventHandlers:{}},w={id:s(),title:"Default Schema Name",locale:"English (Australia)",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",intelligentImport:!0},reviewStep:{invalidDataBehaviour:"block_submit",includeValidationMetadata:!1,includeOriginalData:!1,allowCustomColumn:!1,allowSubmitCancel:!1,storeInServer:!0}},advanced:{maxInMemoryValidationRows:500,maxPerWorkerValidationRows:1e4,maxInMemoryTransformationRows:500,maxPerWorkerTransformationRows:1e4},eventHandlers:{}},S={No:!1,no:!1,NO:!1,Yes:!0,yes:!0,YES:!0};function D(e){return e?e.normalize("NFKD").replace(/[\u0300-\u036f]/g,"").replace(/([a-z0-9])([A-Z])/g,"$1 $2").split(/[^A-Za-z0-9]+/g).filter(Boolean).map((o,c)=>c===0?o.toLowerCase():o[0].toUpperCase()+o.slice(1).toLowerCase()).join(""):""}exports.baseUrl=x;exports.checkboxDefaultMapToEnums=S;exports.createFieldKey=D;exports.defaultInternalSchema=g;exports.defaultSchema=w;exports.dynamicEnumsResolverDsPrefix=h;exports.dynamicOptionsResolverDsPrefix=y;exports.rng=u;exports.staticEnumsResolverDsPrefix=f;exports.staticOptionsResolverDsPrefix=v;exports.unsafeStringify=l;exports.v4=s;
|
|
@@ -1,7 +0,0 @@
|
|
|
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[][];
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|