@ingestro/importer-react 4.8.5 → 4.9.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/chunk-XTL7TWAP.js DELETED
@@ -1 +0,0 @@
1
- import{d as F,i as y,j as c,r as w}from"./chunk-RHL57REG.js";import{B as J,C as P,d as O,k as A,m as T}from"./chunk-TS3BDFZ6.js";import{b as p}from"./chunk-REPANPD5.js";import{isEmpty as Q,uniq as X}from"lodash";var H=0,I=class{constructor({sheet:e,columnKey:t,rows:s,id:o,label:r,refJoinSheetColum:a}){this.removed=!1;this.label="";this.rawRowsBeforeDateParse=null;this.dateRowsByInputFormat=new Map;this.getColumnKey=()=>this.columnKey;this.getId=()=>this.id;this.getSheet=()=>this.sheet;this.getRows=()=>this.rows;this.getUniqueRows=()=>(this.uniques===void 0&&(this.uniques=X(this.getRows())),this.uniques);this.remove=()=>{this.removed=!0};this.unRemove=()=>{this.removed=!1};this.isRemoved=()=>this.removed;this.getType=()=>0;this.getFileName=()=>this.sheet.getSheetFileName();this.toJSON=()=>({columnKey:this.columnKey,id:this.id,rows:this.rows,type:this.getType()});this.equal=e=>this.getId()===e.getId();this.keyEqual=e=>this.columnKey===e.columnKey;this.setIndex=e=>{this.index=e};this.getIndex=()=>this.index;this.normalizeInputFormatKey=e=>{let t=typeof e=="string"?e.trim():"";return t!==""?t:null};this.dateInputFormatCacheKey=e=>this.normalizeInputFormatKey(e)??"\0auto";this.needsDateFormatParse=e=>!this.dateRowsByInputFormat.has(this.dateInputFormatCacheKey(e));this.hasParsedDateForInputFormat=e=>!this.needsDateFormatParse(e);this.getParsedRowsForInputFormat=e=>this.dateRowsByInputFormat.get(this.dateInputFormatCacheKey(e));this.getRowsForDateInputFormatParse=()=>this.rawRowsBeforeDateParse??this.rows;this.applyDateInputFormatParse=(e,t)=>{let s=this.getRowsForDateInputFormatParse();if(e.length!==s.length)throw new Error(`SheetColumn.applyDateInputFormatParse: parsed row count (${e.length}) must match source row count (${s.length}) for column "${this.columnKey}".`);this.dateRowsByInputFormat.set(this.dateInputFormatCacheKey(t),e)};this.getRefJoinSheetColum=()=>this.refJoinSheetColum;this.columnKey=t.trim(),this.sheet=e,Object.defineProperty(this,"sheet",{value:e,enumerable:!1,writable:!0,configurable:!0}),this.rows=Q(s)?[""]:s,this.rawRowsBeforeDateParse=[...this.rows],typeof o>"u"?(H++,this.id=`${t}-${H}`):this.id=o,r&&(this.label=r),Object.defineProperty(this,"refJoinSheetColum",{value:a,enumerable:!1,writable:!0,configurable:!0})}setRows(e){this.rows=e,this.uniques=void 0}},f=I;var b=class extends f{constructor({sheet:t,sheetColumns:s,rows:o,id:r,columnKey:a}){super({columnKey:a,rows:o,sheet:t,id:r});this.getType=()=>1;this.getJoinedSheetColumns=()=>this.sheetColumns;this.toJSON=()=>({columnKey:this.columnKey,id:this.id,rows:this.rows,sheetColumns:this.sheetColumns.map(t=>t.toJSON()),type:this.getType()});this.sheetColumns=s}},B=b;var _=["?",",","@"];import{isNaN as ee,minBy as te,isString as se,isEqual as oe,isEmpty as L,isNil as re}from"lodash";var x=class{constructor({sheets:e,filename:t,type:s,fileSize:o}){this.globalNumberFormat="eu";this.columnsNumberFormat=[];this.addSheet=e=>{this.sheets.push(e)};this.isSelected=()=>{for(let e=0;e<this.sheets.length;e++)if(this.sheets[e].isSelected())return!0;return!1};this.getSheets=()=>this.sheets;this.getSelectedSheets=()=>this.sheets.filter(e=>e.isSelected());this.getFilename=()=>this.filename;this.selectAllSheet=e=>this.sheets.forEach(t=>{t.setSelected(e)});this.getType=()=>this.type;this.getFileSize=()=>{let e=this.fileSize/1e6;return Number(parseFloat(`${e}`).toFixed(4))};this.sheets=e,this.filename=t,this.type=s,this.fileSize=o??0,this.sheets.forEach(r=>{r.setSpreadSheet(this)})}setNumberFormat(e){this.globalNumberFormat=e.global,this.columnsNumberFormat=e.columns}getNumberFormat(){return{global:this.globalNumberFormat,columns:this.columnsNumberFormat}}},z=x;var $=0,R=class{constructor({data:e,name:t,isNotSetColumn:s,id:o}){this.selected=!1;this.isManualSelectHeader=!1;this.columns=[];this.columnsInitialized=!1;this.headerRowIndex=0;this.transposed=!1;this.headerRowIndexes=[];this.addedColumns=[];this.usedSourceCells=new Set;this.mergedHeadersActive=!1;this.mergedRowsBackup=null;this.availableRows=null;this.spreadSheet=new z({filename:"",sheets:[],type:"xlsx",fileSize:0});this.getId=()=>this.id;this.setSpreadSheet=e=>{this.spreadSheet=e};this.getSpreadSheet=()=>this.spreadSheet;this.setSelected=e=>{this.selected=e};this.isSelected=()=>this.selected;this.setHeaderRowIndex=e=>{this.headerRowIndex=e,this.columnsInitialized=!1,this.mergedHeadersActive||(this.headerRowIndexes=[e])};this.setTransposed=e=>{this.transposed=e};this.getTransposed=()=>this.transposed;this.setHeaderRowIndexes=e=>{this.headerRowIndexes=[...e]};this.getHeaderRowIndexes=()=>this.headerRowIndexes.length>0?this.headerRowIndexes:[this.headerRowIndex];this.addAddedColumn=e=>{if(this.addedColumns.push(e),e.sourceCell){let o=`${e.sourceCell.row},${e.sourceCell.col}`;this.usedSourceCells.add(o)}let t=this.data[this.headerRowIndex],s=this.data.length>0?Math.max(...this.data.map(o=>o.length)):0;t&&t.push(e.columnName);for(let o=0;o<this.data.length;o++)if(o!==this.headerRowIndex){for(;this.data[o].length<s;)this.data[o].push("");o<this.headerRowIndex?this.data[o].push(""):this.data[o].push(e.value)}this.setColumns()};this.removeAddedColumn=e=>{let s=(this.data[this.headerRowIndex]?.length||0)-this.addedColumns.length,o=e-s;if(o<0||o>=this.addedColumns.length)return;let r=this.addedColumns[o];if(r?.sourceCell){let a=`${r.sourceCell.row},${r.sourceCell.col}`;this.usedSourceCells.delete(a)}for(let a=0;a<this.data.length;a++)this.data[a].splice(e,1);this.addedColumns.splice(o,1),this.setColumns()};this.removeColumnFromData=e=>{if(!(e<0))for(let t=0;t<this.data.length;t++)this.data[t].length>e&&this.data[t].splice(e,1)};this.clearAddedColumns=()=>{if(this.addedColumns.length>0){let t=(this.data[this.headerRowIndex]?.length||0)-this.addedColumns.length;for(let s=this.addedColumns.length-1;s>=0;s--){let o=t+s;for(let r=0;r<this.data.length;r++)this.data[r].length>o&&this.data[r].splice(o,1)}}this.addedColumns=[],this.usedSourceCells.clear(),this.setColumns()};this.isSourceCellUsed=(e,t)=>{let s=`${e},${t}`;return this.usedSourceCells.has(s)};this.getAddedColumnBySourceCell=(e,t)=>this.addedColumns.find(s=>s.sourceCell&&s.sourceCell.row===e&&s.sourceCell.col===t);this.getAddedColumns=()=>this.addedColumns;this.setMergedHeadersActive=e=>{this.mergedHeadersActive=e};this.isMergedHeadersActive=()=>this.mergedHeadersActive;this.setMergedRowsBackup=e=>{this.mergedRowsBackup=e};this.getMergedRowsBackup=()=>this.mergedRowsBackup;this.setAvailableRows=e=>{this.availableRows=e};this.getAvailableRows=()=>this.availableRows;this.isLoneWhitelistCharacter=e=>{let t=e.toString()?.trim()??"";return _.some(s=>t===s)};this.isSignificantCell=e=>!L(e)&&!this.isLoneWhitelistCharacter(e);this.collapseAdjacentDuplicates=e=>e.filter((t,s)=>s===0||`${t}`!=`${e[s-1]}`);this.getSignificantCells=e=>{let t=(e??[]).filter(this.isSignificantCell);return this.collapseAdjacentDuplicates(t)};this.getDataTransform=()=>this.data.map((e,t)=>({data:e,index:t,length:this.getSignificantCells(e).length}));this.getMaxLengthColumns=()=>this.getDataTransform().reduce((t,s)=>Math.max(t,s.length),0);this.isHeaderLikeCell=e=>!F.includes(se(e)?e.toLowerCase():e)&&ee(Number(e));this.countHeaderLikeCells=e=>this.getSignificantCells(e).filter(this.isHeaderLikeCell).length;this.setHeaderByAutoDetection=()=>{let t=this.getMaxLengthColumns(),s=this.getDataTransform().slice(0,50).filter(r=>r.length===t&&this.countHeaderLikeCells(r.data)===t),o=s.length===1?s[0].index:te(s,r=>r.length)?.index??0;this.setHeaderRowIndex(o)};this.getHeaderRowIndex=()=>this.headerRowIndex;this.getHeaderRow=()=>this.data[this.headerRowIndex]?.filter(e=>!!e);this.getColumns=()=>(this.ensureColumnsBuilt(),this.columns.filter(e=>!e.isRemoved()));this.getSortedColumns=()=>[...this.getColumns()].sort((e,t)=>p(e.getColumnKey())<p(t.getColumnKey())?-1:p(e.getColumnKey())>p(t.getColumnKey())?1:0);this.getColumnsWithRemoved=()=>(this.ensureColumnsBuilt(),this.columns.filter(e=>e.getType()!==1));this.getColumn=(e,t)=>(this.ensureColumnsBuilt(),this.columns.find(s=>t?p(s.getColumnKey())===p(`${e}`):s.getColumnKey()===e));this.getColumnsByKey=(e,t)=>(this.ensureColumnsBuilt(),this.columns.filter(s=>t?p(s.getColumnKey())===p(`${e}`):s.getColumnKey()===e));this.getValues=()=>{let e=this.data.filter((s,o)=>o>this.headerRowIndex);if(L(e))return[[]];let t=[];for(let s=0;s<e.length;s++){let o=[];for(let r=0;r<this.data[this.headerRowIndex].length;r++)re(this.data[this.headerRowIndex][r])||o.push(this.parseValue(e[s][r]));t.push(o)}return t};this.getData=()=>this.data;this.getName=()=>this.name;this.getDisplayName=({t:e})=>{if(this.getName()?.length>0)return this.getName();switch(this.spreadSheet.getType()){case"json":return`${e("txt_default_sheet_prefix_name")} 1`;case"csv":return`${e("txt_default_sheet_prefix_name")} 1`;default:return""}};this.getSheetFileName=()=>`${this.spreadSheet.getFilename()}`;this.getIsManualSelectHeader=()=>this.isManualSelectHeader;this.setIsManualSelectHeader=()=>{this.isManualSelectHeader=!0};this.clearIsManualSelectHeader=()=>{this.isManualSelectHeader=!1};this.addColumn=e=>{this.ensureColumnsBuilt(),this.columns.push(new f({columnKey:`${e}`,sheet:this,rows:this.getRowsByColumnIndex(this.getColumnIndex(e))}))};this.removeColumn=e=>{this.ensureColumnsBuilt(),this.columns.find(t=>t.getColumnKey()===e)?.remove()};this.removeColumnByIndex=e=>{this.ensureColumnsBuilt(),this.columns.find((t,s)=>s===e)?.remove()};this.setData=e=>{this.data=e};this.toJSON=()=>({name:this.name,id:this.id,type:this.getType(),values:this.getValues(),headerRow:this.getHeaderRow()});this.equal=e=>this.id===e.getId();this.getType=()=>0;this.getRowsByColumnIndex=e=>{if(e===-1)return[];let t=[];for(let s=0;s<this.data.length;s++){let o=this.data[s];if(s>this.headerRowIndex){let r=o[e]??"";t.push(this.parseValue(r))}}return t};this.ensureColumnsBuilt=()=>{this.columnsInitialized||this.setColumns()};this.setColumns=()=>{let e=this.data[this.headerRowIndex];if(e){let t=[];for(let s=0;s<e.length;++s){let o=e[s];o&&t.push(new f({columnKey:`${o}`,sheet:this,rows:this.getRowsByColumnIndex(s)}))}this.columns=t}else this.columns=[];this.columnsInitialized=!0};this.getColumnIndex=e=>this.data[this.headerRowIndex].findIndex(o=>oe(`${o}`,`${e}`));this.parseValue=e=>typeof e=="string"?e.trim():e;this.data=e,this.name=t,typeof o>"u"?($++,this.id=`${t}-${$}`):this.id=o,this.columnsInitialized=!!s}},E=R;var V=class extends E{constructor({joinedData:t,sheets:s,mappings:o,mappingIndexes:r}){super({data:t.data,name:"join-sheet",isNotSetColumn:!0});this.sheets=[];this.joinHistory=[];this.findRefJoinSheetColumn=t=>{let s=this.sheets.length===2?this.sheets[0]:this,o=this.sheets[this.sheets.length-1];if(t<s.getColumns().length)return s.getColumns()[t];let r=t-s.getColumns().length;return o.getColumns().filter((a,l)=>this.joinHistory[this.joinHistory.length-1].mappingIndexes.every(i=>i.target!==l))[r]};this.setJoinColumns=(t,s)=>{let o=this.data[this.headerRowIndex];if(!o){this.columns=[];return}let r=[];for(let a=0;a<o.length;++a){let l=o[a],i=s.findIndex(u=>u.source===a),h=this.columns[a]&&this.columns[a].getType()===1;if(i>=0||h){let u=t[i],d;h&&i>=0?d=[...this.columns[a].getJoinedSheetColumns(),u.target]:h?d=this.columns[a].getJoinedSheetColumns():d=[u.source.getRefJoinSheetColum()??u.source,u.target],r.push(new B({columnKey:`${l}`,sheetColumns:d,sheet:this,rows:this.getRowsByColumnIndex(a)}))}else{let u=this.columns[a]?this.columns[a].getRefJoinSheetColum()??this.columns[a]:this.findRefJoinSheetColumn(a);r.push(new f({columnKey:`${l}`,sheet:u.getSheet(),rows:this.getRowsByColumnIndex(a),refJoinSheetColum:u}))}}this.columns=r};this.getJoinedSheets=()=>this.sheets;this.getType=()=>1;this.joinSheet=(t,s,o,r)=>{this.setData(t.data),this.sheets.push(s),this.joinHistory.push({mappingIndexes:r,type:t.type,row:t.data.length,col:this.data[this.headerRowIndex]?.length??0}),this.setJoinColumns(o,r)};this.getJoinColumns=()=>this.columns.filter(t=>t.getType()===1);this.getJoinHistory=()=>this.joinHistory;this.headerRowIndex=0,this.joinHistory.push({mappingIndexes:r,type:t.type,row:t.data.length,col:this.data[this.headerRowIndex]?.length??0}),this.sheets=s,this.setJoinColumns(o,r)}},Je=V;var j=({rowA:n,rowB:e},t)=>t.every(s=>{let o=`${n[s.source]??""}`,r=`${e[s.target]??""}`;return o===r&&o!==""&&r!==""}),ae=(n,e,t)=>{let s=[],o=n.headerRow,r=e.headerRow;for(let a=0;a<o.length;++a)s.push(o[a]);for(let a=0;a<r.length;++a)t.every(l=>l.target!==a)&&s.push(r[a]);return s},Ke=async(n,e)=>{let t=n.values,s=e.values,o=n.headerRow,r=e.headerRow,a=[...o,...r],l=[];l.push(a);for(let i=0;i<t.length;++i)l.push([...t[i],...s[0]]);return{data:l,type:"ADD_TO_ALL_ROWS"}},ze=async(n,e)=>{let t=n.values,s=e.values,o=n.headerRow,r=e.headerRow,a=[...o,...r],l=[];l.push(a);for(let i=0;i<t.length;++i)l.push([...t[i],...r.map(()=>"")]);for(let i=0;i<s.length;++i)l.push([...o.map(()=>""),...s[i]]);return{data:l,type:"JOIN_WITHOUT_COLUMNS"}},Le=async(n,e,t)=>{let s=n.values,o=e.values,r=[],a=[],l={},i=ae(n,e,t);r.push(i);for(let h=0;h<s.length;++h){let u=!1,d=s[h];for(let m=0;m<o.length;++m){let g=o[m];j({rowA:d,rowB:g},t)&&(l[m]=!0,u=!0,r.push([...d,...g.filter((M,Y)=>t.every(G=>G.target!==Y))]))}u||a.push([...d,...e.headerRow.filter((m,g)=>t.every(M=>M.target!==g)).map(()=>"")])}for(let h=0;h<o.length;++h){if(l[h])continue;let u=o[h],d=n.headerRow.map(()=>"");t.forEach(m=>{d[m.source]=u[m.target]}),a.push([...d,...u.filter((m,g)=>t.every(M=>M.target!==g))])}return a.forEach(h=>{r.push(h)}),{data:r,type:"JOIN_ON_COLUMNS"}},$e=async(n,e,t)=>{let s=e.headerRow.filter((l,i)=>t.every(h=>h.target!==i)),r=[[...n.headerRow,...s]];for(let l=0;l<n.values.length;++l){let i=[...n.values[l],...s.map(()=>"")];r.push(i)}let a=e.values;for(let l=0;l<a.length;++l){let i=n.headerRow.map(()=>""),h=[];for(let u=0;u<e.headerRow.length;++u){let d=t.find(m=>m.target===u);d?i[d.source]=a[l][u]:h.push(a[l][u])}r.push([...i,...h])}return{data:r,type:"APPEND_TO_COLUMNS"}},Ee=async(n,e,t)=>{let s=n.values,o=e.values,r=s.length+o.length,a=0,l={};for(let i=0;i<s.length;i++){let h=s[i],u=null,d=0;for(let m=0;m<o.length;m++){let g=o[m];if(j({rowA:h,rowB:g},t)&&(u=m,d++,d===2))break}d===1&&u!==null&&(a+=1,l[u]=!0)}for(let i=0;i<o.length;i++)l[i]&&(a+=1);return{count:a,total:r}};import{isNil as ie}from"lodash";var k=(n,e)=>{if(e.getType()!=="date")return c.parse(n,{dataModel:e});if(A(n))return null;let t=`${n}`,s=e.getInputFormat();return T(s)?O(t)?c.parse(t,{dataModel:e}):J(t,s)?c.parse(P([t],s)[0],{dataModel:e}):t:c.parse(t,{dataModel:e})};var N=class{constructor({sheetColumn:e,matchedDataModel:t,detectedNumberFormats:s}){this.parseSheetValue=(e,t)=>t.dataModel.getType()==="date"?k(e,t.dataModel):c.parse(e,t);this.getOptionValue=(e,t)=>{if(!t)if(this.matchedDataModel.dataModel){let s=this.sheetColumn.columnKey,r=this.detectedNumberFormats.columns.find(a=>a.column===s)?.numberFormat||this.detectedNumberFormats.global;return this.parseSheetValue(e,{dataModel:this.matchedDataModel.dataModel,isParseFromSheet:!0,numberFormat:r})}else return e;for(let s=0;s<t.length;s++)if(`${t[s]?.sheetOption}`==`${e}`){let o=!ie(t[s]?.dataModelOptions)&&(t[s]?.dataModelOptions?.length??0)>0;if(t[s]?.autoPreserved===!0&&t[s]?.dataModelOption==null&&!o){if(this.matchedDataModel.dataModel instanceof w){let r=`${e}`,a=this.matchedDataModel.dataModel.getOptions().find(l=>l.label===r||l.value===r);if(a)return c.parse(a.value,{dataModel:this.matchedDataModel.dataModel,isParseFromSheet:!0})}return e}return this.matchedDataModel.dataModel&&this.matchedDataModel.dataModel.getIsMultiSelection()?c.parse(t[s]?.dataModelOptions,{dataModel:this.matchedDataModel.dataModel,isParseFromSheet:!0}):this.matchedDataModel.dataModel?c.parse(t[s]?.dataModelOption,{dataModel:this.matchedDataModel.dataModel,isParseFromSheet:!0}):t[s]?.dataModelOption}};this.getValues=()=>{let e=this.sheetColumn.rows,t=[];for(let s=0;s<e.length;s++){let o=e[s],r=this.getOptionValue(o,this.matchedOptions);t.push(r)}return t};if(this.sheetColumn=e,this.matchedDataModel=t,this.matchedOptions=void 0,this.detectedNumberFormats=s||{global:"eu",columns:[]},this.matchedDataModel.matchedOptions){this.matchedOptions=[];for(let o=0;o<(this.matchedDataModel.matchedOptions?.length??0);o++){let r=this.matchedDataModel.matchedOptions[o];this.matchedDataModel.dataModel?.getIsMultiSelection()?r.dataModelOptions&&this.matchedOptions.push(r):r.dataModelOption!==void 0&&r.dataModelOption!==null?this.matchedOptions.push(r):r.autoPreserved===!0&&!r.userCleared&&this.matchedOptions.push(r)}}}},U=N;var v=class{constructor(e){this.matchedColumns=[];this.parseValues=()=>{let e=[];this.matchedColumns.forEach(t=>{let s=t.matchedDataModel,r=new U({sheetColumn:t.sheetColumn,matchedDataModel:s,detectedNumberFormats:this.detectedNumberFormats}).getValues(),a=s.dataModel.getKey();r.forEach((l,i)=>{e[i]?e[i][a]=l:e[i]={[a]:l}})});for(let t=0;t<e.length;++t)for(let s=0;s<this.columns.length;++s){let r=this.columns[s].key;e[t][r]===void 0&&(e[t][r]=null)}return e};this.getValues=()=>(this.matchedColumns=[],this.matching.filter(t=>t.matchedDataModel?.dataModel).forEach(t=>{this.matchedColumns.push({sheetColumn:t.sheetColumn,matchedDataModel:t.matchedDataModel})}),this.parseValues());let{matching:t,detectedNumberFormats:s}=e;this.matching=t,this.detectedNumberFormats=s||{global:"eu",columns:[]},this.columns=e.columns??[]}},W=v;var pt=({matching:n,detectedNumberFormats:e,columns:t})=>new W({matching:n,detectedNumberFormats:e,columns:t}).getValues();import*as q from"comlink";var C=class{static{this.serialize=e=>e.serialize()}static{this.deSerialize=e=>y.isTypeCategory(e.type)?new w({description:e.description,example:e.example,key:e.key,label:e.label,type:e.type,options:e.options,validators:[],alternativeMatches:e.alternativeMatches,columnSize:e.columnSize,isMultiSelection:e.isMultiSelection??!1,allowCustomOptions:e.allowCustomOptions,allowedCustomOptionTypes:e.allowedCustomOptionTypes,hidden:e.hidden,disabled:e.disabled,optionMappingConfiguration:e.optionMappingConfiguration}):new y({description:e.description,example:e.example,key:e.key,label:e.label,type:e.type,validators:[],alternativeMatches:e.alternativeMatches,columnSize:e.columnSize,outputFormat:e.outputFormat,inputFormat:e.inputFormat,numberFormat:e.numberFormat,hidden:e.hidden,disabled:e.disabled,optionMappingConfiguration:e.optionMappingConfiguration})}};var S=class{static{this.serialize=e=>{let t={matching:[],detectedNumberFormats:e.detectedNumberFormats,columns:e.columns};return t.matching=e.matching.map(s=>({sheetColumn:s.sheetColumn,matchedDataModel:s.matchedDataModel?{dataModel:s.matchedDataModel.dataModel?C.serialize(s.matchedDataModel.dataModel):s.matchedDataModel.dataModel,matchedOptions:s.matchedDataModel.matchedOptions}:s.matchedDataModel})),[t,[]]}}static{this.deserialize=e=>({matching:e.matching.map(t=>({sheetColumn:t.sheetColumn,matchedDataModel:t.matchedDataModel?{dataModel:t.matchedDataModel.dataModel?C.deSerialize(t.matchedDataModel.dataModel):t.matchedDataModel.dataModel,matchedOptions:t.matchedDataModel.matchedOptions}:t.matchedDataModel})),detectedNumberFormats:e.detectedNumberFormats,columns:e.columns})}};q.transferHandlers.set("Matching",{canHandle:n=>!!(n!==null&&typeof n=="object"&&n.matching),serialize:n=>S.serialize(n),deserialize:n=>S.deserialize(n)});export{f as a,z as b,E as c,Je as d,Ke as e,ze as f,Le as g,$e as h,Ee as i,pt as j,C as k};