@ingestro/importer-react 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +169 -0
- package/chunk-EK7ODJWE.js +1 -0
- package/chunk-GEB7CZLW.js +1 -0
- package/chunk-INNZ66AJ.js +1 -0
- package/chunk-J5WOZVPO.js +1 -0
- package/chunk-J6EQVURF.js +151 -0
- package/chunk-JEZAW3BC.js +1 -0
- package/chunk-MXQF4G2Q.js +1 -0
- package/chunk-QNASKSN5.js +1 -0
- package/chunk-YBKWOGX7.js +1 -0
- package/chunk-YJM4L5IQ.js +1 -0
- package/index.d.ts +1787 -0
- package/index.js +2578 -0
- package/package.json +66 -0
- package/workers/hooks/index.js +1 -0
- package/workers/javascript/index.js +1 -0
- package/workers/mapping/index.js +1 -0
- package/workers/matchValues/index.js +1 -0
- package/workers/parseData/index.js +1 -0
- package/workers/searchAndReplace/index.js +1 -0
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ingestro/importer-react",
|
|
3
|
+
"version": "4.0.1",
|
|
4
|
+
"homepage": "https://docs.ingestro.com",
|
|
5
|
+
"peerDependencies": {
|
|
6
|
+
"react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
7
|
+
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@emotion/css": "^11.11.2",
|
|
11
|
+
"@floating-ui/react": "0.27.8",
|
|
12
|
+
"@handsontable/react-wrapper": "16.2.0",
|
|
13
|
+
"@hookform/resolvers": "^3.3.4",
|
|
14
|
+
"@monaco-editor/react": "^4.7.0",
|
|
15
|
+
"@nyariv/sandboxjs": "^0.8.22",
|
|
16
|
+
"axios": "1.12.0",
|
|
17
|
+
"chroma-js": "^2.1.2",
|
|
18
|
+
"comlink": "^4.3.1",
|
|
19
|
+
"date-fns": "^2.28.0",
|
|
20
|
+
"detect-file-encoding-and-language": "2.4.0",
|
|
21
|
+
"downshift": "^6.1.7",
|
|
22
|
+
"file-saver": "^2.0.5",
|
|
23
|
+
"gtin": "^1.0.2",
|
|
24
|
+
"handsontable": "16.2.0",
|
|
25
|
+
"i18next": "^23.5.1",
|
|
26
|
+
"is-promise": "^4.0.0",
|
|
27
|
+
"lodash": "^4.17.21",
|
|
28
|
+
"lucide-react": "0.479.0",
|
|
29
|
+
"match-sorter": "^6.3.1",
|
|
30
|
+
"moment": "^2.29.4",
|
|
31
|
+
"monaco-editor": "0.52.2",
|
|
32
|
+
"nanoevents": "^7.0.1",
|
|
33
|
+
"numbro": "2.4.0",
|
|
34
|
+
"nuvo-exceljs": "4.5.18",
|
|
35
|
+
"object-hash": "^3.0.0",
|
|
36
|
+
"react-device-detect": "^2.2.3",
|
|
37
|
+
"react-draggable": "^4.5.0",
|
|
38
|
+
"react-dropzone": "^14.2.3",
|
|
39
|
+
"react-hook-form": "7.54.2",
|
|
40
|
+
"react-i18next": "^13.2.2",
|
|
41
|
+
"react-modal": "3.16.3",
|
|
42
|
+
"react-responsive": "^9.0.2",
|
|
43
|
+
"react-router-dom": "^6.14.2",
|
|
44
|
+
"react-use": "^17.6.0",
|
|
45
|
+
"react-virtualized-auto-sizer": "1.0.25",
|
|
46
|
+
"react-window": "^1.8.9",
|
|
47
|
+
"rxjs": "7.8.1",
|
|
48
|
+
"simplebar": "5.3.9",
|
|
49
|
+
"simplebar-react": "3.3.0",
|
|
50
|
+
"url-join": "^5.0.0",
|
|
51
|
+
"yup": "^0.32.11"
|
|
52
|
+
},
|
|
53
|
+
"exports": {
|
|
54
|
+
".": {
|
|
55
|
+
"import": "./index.js",
|
|
56
|
+
"require": "./index.js"
|
|
57
|
+
},
|
|
58
|
+
"./index": {
|
|
59
|
+
"import": "./index.js",
|
|
60
|
+
"require": "./index.js"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"module": "./index.js",
|
|
64
|
+
"main": "./index.js",
|
|
65
|
+
"types": "./index.d.ts"
|
|
66
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as s,b as m}from"../../chunk-GEB7CZLW.js";import{g as a,h as g}from"../../chunk-JEZAW3BC.js";import"../../chunk-J5WOZVPO.js";import"../../chunk-EK7ODJWE.js";import{isEmpty as p,isNil as v,isUndefined as R}from"lodash";import{expose as h}from"comlink";var I=(n,t,o,f,r)=>{p(n)||Object.keys(n).forEach(e=>{let l=a(r,e);R(n[e].value)||(f[t][e]=n[e].value);let d=g(e,r.filter(i=>!i.isHidden()));v(n[e].info)||d<0||n[e].info?.forEach(i=>{if(!l?.isDisabled()&&i.level===m)return;let c={rowIndex:t,colIndex:d,popover:{message:i.message,level:i.level||s}};(o[t]?.length??0)===0?o[t]=[c]:o[t].push(c)})})},E=async({initResults:n,dataInfos:t,initialValues:o},f)=>{for(let r=0;r<n.length;r++)I(n[r][0],n[r][1],t,o,f);return{dataInfos:t,initialValues:o}},b=async({initialValues:n,key:t,result:o,colIndex:f})=>{let r={};for(let e=0;e<o.length;e++)if(R(o[e][0].value)||n[o[e][1]]&&(n[o[e][1]][t]=o[e][0].value),o?.[e]?.[0]?.info&&f>=0){let l=o?.[e]?.[0]?.info??[],d={message:o?.[e]?.[0]?.info?.[0]?.message??"",level:o?.[e]?.[0]?.info?.[0]?.level??s};for(let c=0;c<l?.length;c++)if(l[c].level!==m){d={message:o?.[e]?.[0]?.info?.[c]?.message??"",level:o?.[e]?.[0]?.info?.[c]?.level??s};break}let i={rowIndex:o[e][1],colIndex:f,popover:d};i.popover.level!==m&&n[o[e][1]]&&((r[o[e][1]]?.length??0)===0?r[o[e][1]]=[i]:r[o[e][1]].push(i))}return{dataInfos:r,initialValues:n}},x=async({dataInfos:n,columnDataInfos:t})=>{let o=Object.keys(t);for(let f=0;f<o.length;f++){let r=o[f];t?.[r]?.length>0&&(n[r]||(n[r]=[]),n[r].push(...t[r]))}return{dataInfos:n}},D=()=>!0;h({check:D,handleOnEntryInit:E,handleColumnHooks:b,integrateColumnHooksData:x});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as r}from"../../chunk-QNASKSN5.js";import"../../chunk-J5WOZVPO.js";import"../../chunk-EK7ODJWE.js";import{expose as m}from"comlink";m(r);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o,b as p}from"../../chunk-MXQF4G2Q.js";import"../../chunk-EK7ODJWE.js";import{expose as t}from"comlink";var e=()=>!0;t({check:e,getOptionMappings:o,getColumnMappings:p});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as o,f as t,g as m,h as n,i,j as r}from"../../chunk-YBKWOGX7.js";import"../../chunk-INNZ66AJ.js";import"../../chunk-JEZAW3BC.js";import"../../chunk-J5WOZVPO.js";import"../../chunk-EK7ODJWE.js";import{expose as e}from"comlink";var p=()=>!0;e({check:p,getValues:r,addToAllRows:o,joinWithoutColumns:t,joinOnColumns:m,appendToColumns:n,countMatching:i});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e,c as t,d as o,e as r,f as c,g as n,h as s,j as h}from"../../chunk-J6EQVURF.js";import"../../chunk-EK7ODJWE.js";import{expose as m}from"comlink";var v=()=>!0;m({convertCsv2Sheet:e,convertExcel2Sheet:s,convertJson2Sheet:o,convertXLS2Sheet:r,convertXML2Sheet:c,jsonParser:t,parseDateFormat:h,convertPdf2Sheets:n,check:v});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as o}from"../../chunk-YJM4L5IQ.js";import"../../chunk-INNZ66AJ.js";import"../../chunk-JEZAW3BC.js";import"../../chunk-J5WOZVPO.js";import"../../chunk-EK7ODJWE.js";import*as e from"comlink";var m=()=>!0;e.expose({check:m,getCountBySearchValue:o});
|