@fileflow/sdk 0.1.16 → 0.1.17

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.
@@ -1,4 +1,4 @@
1
- "use strict";const l=require("react/jsx-runtime"),L=require("react"),w=require("./index-CmC4zviB.js");function Qe(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const de=Qe(L);/**
1
+ "use strict";const l=require("react/jsx-runtime"),L=require("react"),w=require("./index-pKcPB1CY.js");function Qe(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const de=Qe(L);/**
2
2
  * @license lucide-react v0.563.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -70,4 +70,4 @@
70
70
  *
71
71
  * @license MIT
72
72
  */function Me(e,o){return e?cn(e)?de.createElement(e,o):e:null}function cn(e){return gn(e)||typeof e=="function"||pn(e)}function gn(e){return typeof e=="function"&&(()=>{const o=Object.getPrototypeOf(e);return o.prototype&&o.prototype.isReactComponent})()}function pn(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function mn(e){const o={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[t]=de.useState(()=>({current:nn(o)})),[n,r]=de.useState(()=>t.current.initialState);return t.current.setOptions(s=>({...s,...e,state:{...n,...e.state},onStateChange:i=>{r(i),e.onStateChange==null||e.onStateChange(i)}})),t.current}const ve=({editable:e=!0,pageSize:o=25,onCellEdit:t})=>{const{rows:n,schema:r,mappings:s,errorsByRow:i,editingCell:a,startEditing:f,stopEditing:d,updateCell:p}=B(),[g,c]=L.useState([]),[u,m]=L.useState(""),[h,v]=L.useState(""),S=L.useMemo(()=>s.filter(R=>R.targetKey!==null).map(R=>{const _=r==null?void 0:r.columns.find($=>$.key===R.targetKey);return{sourceColumn:R.sourceColumn,targetKey:R.targetKey,label:(_==null?void 0:_.label)||R.targetKey,type:(_==null?void 0:_.type)||"string"}}),[s,r]),y=L.useCallback((R,_)=>{const $=i.get(R);return $==null?void 0:$.find(O=>O.columnKey===_)},[i]),j=(R,_,$)=>{v($),f(R,_)},N=()=>{a&&(p(a.rowIndex,a.columnKey,h),t==null||t(a.rowIndex,a.columnKey,h)),d()},V=()=>{v(""),d()},D=vt(),T=L.useMemo(()=>[D.accessor("rowIndex",{header:"#",size:60,cell:R=>l.jsx("span",{className:"ff-font-mono ff-text-xs",style:{color:"var(--ff-text-muted)"},children:R.getValue()+1})}),...S.map(R=>D.accessor(_=>_.data[R.targetKey]||_.data[R.sourceColumn],{id:R.targetKey,header:R.label,cell:_=>{const $=_.row.original.rowIndex,O=String(_.getValue()??""),E=y($,R.targetKey);return(a==null?void 0:a.rowIndex)===$&&(a==null?void 0:a.columnKey)===R.targetKey?l.jsxs("div",{className:"ff-flex ff-items-center ff-gap-1",children:[l.jsx("input",{type:"text",value:h,onChange:q=>v(q.target.value),onKeyDown:q=>{q.key==="Enter"&&N(),q.key==="Escape"&&V()},className:"ff-input ff-py-1 ff-text-sm",autoFocus:!0}),l.jsx("button",{onClick:N,className:"ff-btn ff-btn-primary ff-btn-sm",children:"Save"}),l.jsx("button",{onClick:V,className:"ff-btn ff-btn-secondary ff-btn-sm",children:"Cancel"})]}):l.jsxs("div",{className:w.clsx("ff-group ff-flex ff-items-center ff-gap-2",(E==null?void 0:E.severity)==="error"&&"ff-cell-error",(E==null?void 0:E.severity)==="warning"&&"ff-cell-warning"),children:[l.jsx("span",{className:"ff-flex-1 ff-truncate",children:O||l.jsx("span",{style:{color:"var(--ff-text-muted)"},children:"—"})}),E&&l.jsxs("div",{className:"ff-relative ff-group/tooltip",children:[E.severity==="error"?l.jsx(w.CircleAlert,{className:"ff-w-4 ff-h-4",style:{color:"var(--ff-error)"}}):l.jsx(w.TriangleAlert,{className:"ff-w-4 ff-h-4",style:{color:"var(--ff-warning)"}}),l.jsxs("div",{className:"ff-tooltip ff-bottom-full ff-left-1/2 ff-transform ff--translate-x-1/2 ff-mb-2 ff-w-48 group-hover/tooltip:ff-tooltip-visible",children:[E.message,E.suggestion&&l.jsx("span",{className:"ff-block ff-mt-1",style:{color:"var(--ff-text-muted)"},children:E.suggestion})]})]}),e&&!E&&l.jsx("button",{onClick:()=>j($,R.targetKey,O),className:"ff-opacity-0 group-hover:ff-opacity-100 ff-p-1 ff-rounded ff-transition-opacity ff-edit-btn",children:l.jsx(pt,{className:"ff-w-3 ff-h-3"})})]})}}))],[S,a,h,e,y,D]),M=mn({data:n,columns:T,state:{sorting:g,globalFilter:u},onSortingChange:c,onGlobalFilterChange:m,getCoreRowModel:on(),getPaginationRowModel:fn(),getSortedRowModel:dn(),getFilteredRowModel:un(),initialState:{pagination:{pageSize:o}}});return l.jsxs("div",{className:"ff-space-y-4",children:[l.jsxs("div",{className:"ff-flex ff-items-center ff-justify-between",children:[l.jsx("input",{type:"text",value:u,onChange:R=>m(R.target.value),placeholder:"Search all columns...",className:"ff-input ff-max-w-xs"}),l.jsxs("div",{className:"ff-text-sm",style:{color:"var(--ff-text-muted)"},children:[M.getFilteredRowModel().rows.length," rows"]})]}),l.jsx("div",{className:"ff-table-container ff-max-h-[500px]",children:l.jsxs("table",{className:"ff-table",children:[l.jsx("thead",{children:M.getHeaderGroups().map(R=>l.jsx("tr",{children:R.headers.map(_=>l.jsx("th",{style:{width:_.getSize()},onClick:_.column.getToggleSortingHandler(),className:w.clsx(_.column.getCanSort()&&"ff-cursor-pointer ff-select-none"),children:l.jsxs("div",{className:"ff-flex ff-items-center ff-gap-1",children:[Me(_.column.columnDef.header,_.getContext()),_.column.getIsSorted()&&l.jsx("span",{children:_.column.getIsSorted()==="asc"?"↑":"↓"})]})},_.id))},R.id))}),l.jsx("tbody",{children:M.getRowModel().rows.map(R=>{const _=i.has(R.original.rowIndex);return l.jsx("tr",{className:w.clsx(_&&"ff-row-error"),children:R.getVisibleCells().map($=>l.jsx("td",{children:Me($.column.columnDef.cell,$.getContext())},$.id))},R.id)})})]})}),l.jsxs("div",{className:"ff-flex ff-items-center ff-justify-between ff-px-2",children:[l.jsxs("div",{className:"ff-text-sm",style:{color:"var(--ff-text-muted)"},children:["Page ",M.getState().pagination.pageIndex+1," of ",M.getPageCount()]}),l.jsxs("div",{className:"ff-flex ff-items-center ff-gap-2",children:[l.jsxs("button",{onClick:()=>M.previousPage(),disabled:!M.getCanPreviousPage(),className:"ff-btn ff-btn-secondary ff-btn-sm",children:[l.jsx(nt,{className:"ff-w-4 ff-h-4"}),"Previous"]}),l.jsxs("button",{onClick:()=>M.nextPage(),disabled:!M.getCanNextPage(),className:"ff-btn ff-btn-secondary ff-btn-sm",children:["Next",l.jsx(w.ChevronRight,{className:"ff-w-4 ff-h-4"})]})]})]})]})},we=({showDetails:e=!0})=>{const{validationResults:o}=B();if(!o)return null;const{isValid:t,totalRows:n,validRows:r,errorCount:s,warningCount:i,infoCount:a,summary:f}=o,d=Math.round(r/n*100);return l.jsxs("div",{className:"ff-space-y-4",children:[l.jsxs("div",{className:"ff-flex ff-items-center ff-gap-4 ff-p-4 ff-rounded-lg ff-border",style:{backgroundColor:t?"var(--ff-success-light)":"var(--ff-error-light)",borderColor:t?"var(--ff-success)":"var(--ff-error)"},children:[t?l.jsx(w.CircleCheckBig,{className:"ff-w-8 ff-h-8",style:{color:"var(--ff-success)"}}):l.jsx(w.CircleX,{className:"ff-w-8 ff-h-8",style:{color:"var(--ff-error)"}}),l.jsxs("div",{children:[l.jsx("h3",{className:"ff-text-lg ff-font-semibold",style:{color:t?"var(--ff-success-dark)":"var(--ff-error-dark)"},children:t?"Validation Passed":"Validation Failed"}),l.jsxs("p",{className:"ff-text-sm",style:{color:t?"var(--ff-success)":"var(--ff-error)"},children:[r," of ",n," rows are valid (",d,"%)"]})]})]}),l.jsxs("div",{className:"ff-grid ff-grid-cols-4 ff-gap-4",children:[l.jsxs("div",{className:"ff-border ff-rounded-lg ff-p-4 ff-text-center",style:{backgroundColor:"var(--ff-bg-primary)",borderColor:"var(--ff-border-light)"},children:[l.jsx("p",{className:"ff-text-2xl ff-font-bold",style:{color:"var(--ff-text-primary)"},children:n}),l.jsx("p",{className:"ff-text-sm",style:{color:"var(--ff-text-muted)"},children:"Total Rows"})]}),l.jsxs("div",{className:"ff-border ff-rounded-lg ff-p-4 ff-text-center",style:{backgroundColor:"var(--ff-success-light)",borderColor:"var(--ff-success)"},children:[l.jsx("p",{className:"ff-text-2xl ff-font-bold",style:{color:"var(--ff-success-dark)"},children:r}),l.jsx("p",{className:"ff-text-sm",style:{color:"var(--ff-success)"},children:"Valid Rows"})]}),l.jsxs("div",{className:"ff-border ff-rounded-lg ff-p-4 ff-text-center",style:{backgroundColor:"var(--ff-error-light)",borderColor:"var(--ff-error)"},children:[l.jsx("p",{className:"ff-text-2xl ff-font-bold",style:{color:"var(--ff-error-dark)"},children:s}),l.jsx("p",{className:"ff-text-sm",style:{color:"var(--ff-error)"},children:"Errors"})]}),l.jsxs("div",{className:"ff-border ff-rounded-lg ff-p-4 ff-text-center",style:{backgroundColor:"var(--ff-warning-light)",borderColor:"var(--ff-warning)"},children:[l.jsx("p",{className:"ff-text-2xl ff-font-bold",style:{color:"var(--ff-warning-dark)"},children:i}),l.jsx("p",{className:"ff-text-sm",style:{color:"var(--ff-warning)"},children:"Warnings"})]})]}),e&&f.byColumn&&Object.keys(f.byColumn).length>0&&l.jsxs("div",{className:"ff-border ff-rounded-lg ff-overflow-hidden",style:{backgroundColor:"var(--ff-bg-primary)",borderColor:"var(--ff-border-light)"},children:[l.jsx("div",{className:"ff-px-4 ff-py-3 ff-border-b",style:{backgroundColor:"var(--ff-bg-secondary)",borderColor:"var(--ff-border-light)"},children:l.jsx("h4",{className:"ff-font-medium",style:{color:"var(--ff-text-secondary)"},children:"Issues by Column"})}),l.jsx("div",{className:"ff-divide-y",style:{borderColor:"var(--ff-border-light)"},children:Object.entries(f.byColumn).filter(([,p])=>p.errorCount>0||p.warningCount>0).map(([p,g])=>l.jsxs("div",{className:"ff-flex ff-items-center ff-justify-between ff-px-4 ff-py-3",children:[l.jsxs("div",{children:[l.jsx("p",{className:"ff-font-medium",style:{color:"var(--ff-text-primary)"},children:g.columnKey}),g.mostCommonError&&l.jsx("p",{className:"ff-text-sm",style:{color:"var(--ff-text-muted)"},children:g.mostCommonError})]}),l.jsxs("div",{className:"ff-flex ff-items-center ff-gap-3",children:[g.errorCount>0&&l.jsxs("span",{className:"ff-badge ff-badge-error",children:[l.jsx(w.CircleX,{className:"ff-w-3 ff-h-3 ff-mr-1"}),g.errorCount," errors"]}),g.warningCount>0&&l.jsxs("span",{className:"ff-badge ff-badge-warning",children:[l.jsx(w.TriangleAlert,{className:"ff-w-3 ff-h-3 ff-mr-1"}),g.warningCount," warnings"]})]})]},p))})]}),e&&f.duplicates&&f.duplicates.length>0&&l.jsx("div",{className:"ff-border ff-rounded-lg ff-p-4",style:{backgroundColor:"var(--ff-warning-light)",borderColor:"var(--ff-warning)"},children:l.jsxs("div",{className:"ff-flex ff-items-start ff-gap-3",children:[l.jsx(w.TriangleAlert,{className:"ff-w-5 ff-h-5 ff-flex-shrink-0 ff-mt-0.5",style:{color:"var(--ff-warning)"}}),l.jsxs("div",{children:[l.jsx("h4",{className:"ff-font-medium",style:{color:"var(--ff-warning-dark)"},children:"Duplicate Values Found"}),l.jsxs("ul",{className:"ff-mt-2 ff-space-y-1 ff-text-sm",style:{color:"var(--ff-warning-dark)"},children:[f.duplicates.slice(0,5).map((p,g)=>l.jsxs("li",{children:[l.jsx("span",{className:"ff-font-mono",children:p.columnKey}),': "',String(p.value),'" appears'," ",p.rowIndices.length," times (rows"," ",p.rowIndices.slice(0,3).map(c=>c+1).join(", "),p.rowIndices.length>3?"...":"",")"]},g)),f.duplicates.length>5&&l.jsxs("li",{style:{color:"var(--ff-warning)"},children:["... and ",f.duplicates.length-5," more duplicate groups"]})]})]})]})})]})},fe=["upload","mapping","validation","complete"],hn=[{key:"upload",label:"Upload",icon:w.Upload},{key:"mapping",label:"Map Columns",icon:ct},{key:"validation",label:"Validate",icon:ht},{key:"review",label:"Review",icon:lt},{key:"complete",label:"Complete",icon:w.CircleCheckBig}],vn=({template:e,schema:o,mode:t="modal",theme:n,useShadowDom:r=!1,onComplete:s,onCancel:i,onError:a})=>{const{step:f,sessionId:d,file:p,mappings:g,validationResults:c,isLoading:u,error:m,setSchema:h,setSessionId:v,setParsedData:S,setMappings:y,setUnmapped:j,setValidationResults:N,setStep:V,nextStep:D,previousStep:T,setLoading:M,setError:R,reset:_}=B(),[$,O]=L.useState(null),[E,K]=L.useState(null);L.useEffect(()=>{if(K(null),e)if(w.templateExists(e)){const F=w.getTemplateSchema(e);F?O(F):(K(`Failed to load template "${e}"`),a==null||a(new Error(`Failed to load template "${e}"`)))}else{const F=`Template "${e}" not found. Available templates: ${w.VALID_TEMPLATE_IDS.join(", ")}`;K(F),a==null||a(new Error(F))}else if(o)O(o);else{const F=`No template or schema provided. Please specify a template (${w.VALID_TEMPLATE_IDS.join(", ")}) or provide a custom schema.`;K(F),a==null||a(new Error(F))}},[e,o,a]),L.useEffect(()=>{$&&(h($),q($))},[$]);const q=async F=>{try{M(!0);const z=await w.getClient().createImportSession(F);v(z.sessionId)}catch(I){const z=I;R(z.message),a==null||a(z)}finally{M(!1)}},be=L.useCallback(async F=>{if(d)try{M(!0),R(null);const z=await w.getClient().uploadFile(d,F),Fe=(U,We)=>({rowIndex:U.rowIndex??We,data:U.data??U,rawData:U.rawData??Object.values(U.data??U)});S({headers:z.data.headers,rows:z.data.sampleRows.map(Fe),totalRows:z.data.totalRows,sampleRows:z.data.sampleRows.map(Fe)}),D(),await Oe()}catch(I){R(`Failed to process the uploaded file: ${I.message}`)}finally{M(!1)}},[d]),Oe=async()=>{if(d)try{M(!0);const I=await w.getClient().matchColumns(d);y(I.mappings),j(I.unmappedSource,I.unmappedTarget)}catch(F){R(`Column matching failed: ${F.message}`)}finally{M(!1)}},Be=async()=>{if(d)try{M(!0),R(null);const I=await w.getClient().validateImport(d);N(I.validation),D()}catch(F){R(`Validation failed: ${F.message}`)}finally{M(!1)}},[ye,te]=L.useState(null),Te=async()=>{if(d)try{M(!0),R(null),te(null);const I=await w.getClient().completeImport(d,{skipInvalidRows:!0,acknowledgeWarnings:!0});V("complete"),s==null||s(I)}catch(F){te(F.message),V("complete")}finally{M(!1)}},ne=()=>{_(),i==null||i()},qe=()=>hn.findIndex(F=>F.key===f),Ue=()=>{switch(f){case"upload":return p!==null;case"mapping":return g.length>0&&g.some(F=>F.targetKey!==null);case"validation":return c!==null;case"review":return c!==null&&(c.isValid||c.errorCount===0);default:return!1}},Ke=async()=>{switch(f){case"mapping":await Be();break;case"validation":D();break;case"review":await Te();break;default:D()}};if(E)return l.jsx(w.StyleProvider,{theme:n,useShadowDom:r,children:l.jsx("div",{className:"ff-container ff-bg-white ff-rounded-xl ff-shadow-xl ff-overflow-hidden ff-p-6",children:l.jsxs("div",{className:"ff-flex ff-flex-col ff-items-center ff-justify-center ff-py-8",children:[l.jsx("div",{className:"ff-w-16 ff-h-16 ff-rounded-full ff-flex ff-items-center ff-justify-center ff-mb-4",style:{backgroundColor:"var(--ff-error-light)"},children:l.jsx(w.X,{className:"ff-w-10 ff-h-10",style:{color:"var(--ff-error)"}})}),l.jsx("h3",{className:"ff-text-xl ff-font-semibold ff-mb-2",style:{color:"var(--ff-text-primary)"},children:"Configuration Error"}),l.jsx("p",{className:"ff-text-center ff-max-w-md ff-mb-4",style:{color:"var(--ff-text-muted)"},children:E}),i&&l.jsx("button",{onClick:ne,className:"ff-btn ff-btn-secondary",children:"Close"})]})})});if(!$)return l.jsx(w.StyleProvider,{theme:n,useShadowDom:r,children:l.jsx("div",{className:"ff-container ff-bg-white ff-rounded-xl ff-shadow-xl ff-overflow-hidden ff-p-6",children:l.jsxs("div",{className:"ff-flex ff-flex-col ff-items-center ff-justify-center ff-py-8",children:[l.jsx(w.LoaderCircle,{className:"ff-w-10 ff-h-10 ff-animate-spin ff-mb-4",style:{color:"var(--ff-primary-90)"}}),l.jsx("p",{style:{color:"var(--ff-text-muted)"},children:"Loading template..."})]})})});const X=()=>{const F=f==="review"?"validation":f;return fe.indexOf(F)},Xe=t==="embed"?"ff-container ff-embed":"ff-container ff-modal",_e=l.jsx(l.Fragment,{children:l.jsxs("div",{className:Xe,children:[l.jsxs("div",{className:"ff-modal-header",children:[l.jsxs("div",{className:"ff-modal-header-left",children:[l.jsxs("div",{className:"ff-flex ff-items-center ff-gap-3",children:[l.jsx("div",{className:"ff-modal-icon",children:l.jsx(at,{})}),l.jsx("h2",{className:"ff-modal-title",children:"Import Data"})]}),l.jsx("div",{className:"ff-steps ff-ml-4",children:fe.map((F,I)=>l.jsxs(L.Fragment,{children:[l.jsx("div",{className:w.clsx("ff-step",X()===I&&"ff-step-active",X()>I&&"ff-step-complete",X()<I&&"ff-step-pending"),children:X()>I?"✓":I+1}),I<fe.length-1&&l.jsx("div",{className:w.clsx("ff-step-connector",X()>I&&"ff-step-connector-complete")})]},F))})]}),l.jsx("button",{onClick:ne,className:"ff-modal-close",children:l.jsx(w.X,{className:"ff-w-5 ff-h-5"})})]}),l.jsxs("div",{className:"ff-modal-body",children:[m&&l.jsx("div",{className:"ff-mb-4 ff-p-4 ff-border ff-rounded-lg ff-text-sm",style:{backgroundColor:"var(--ff-error-light)",borderColor:"var(--ff-error)",color:"var(--ff-error)"},children:m}),f==="upload"&&l.jsx("div",{className:"ff-py-4",children:l.jsx("div",{className:"ff-max-w-xl ff-mx-auto",children:l.jsx(Ve,{onFileSelect:be})})}),f==="mapping"&&l.jsx(Pe,{}),f==="validation"&&l.jsxs("div",{className:"ff-space-y-6",children:[l.jsx(we,{}),l.jsx(ve,{editable:!0})]}),f==="review"&&l.jsxs("div",{className:"ff-space-y-6",children:[l.jsx(we,{showDetails:!1}),l.jsx(ve,{editable:!1,pageSize:10})]}),f==="complete"&&l.jsx("div",{className:"ff-flex ff-flex-col ff-items-center ff-justify-center ff-py-12",children:ye?l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"ff-w-16 ff-h-16 ff-rounded-full ff-flex ff-items-center ff-justify-center ff-mb-4",style:{backgroundColor:"var(--ff-error-light)"},children:l.jsx(w.X,{className:"ff-w-10 ff-h-10",style:{color:"var(--ff-error)"}})}),l.jsx("h3",{className:"ff-text-xl ff-font-semibold ff-mb-2",style:{color:"var(--ff-text-primary)"},children:"Import Failed"}),l.jsx("p",{className:"ff-text-center ff-max-w-md ff-mb-4",style:{color:"var(--ff-text-muted)"},children:ye}),l.jsxs("div",{className:"ff-flex ff-gap-3",children:[l.jsx("button",{onClick:()=>{te(null),V("review")},className:"ff-btn ff-btn-secondary",children:"Back to Review"}),i&&l.jsx("button",{onClick:ne,className:"ff-btn ff-btn-secondary",children:"Close"})]})]}):l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"ff-w-16 ff-h-16 ff-rounded-full ff-flex ff-items-center ff-justify-center ff-mb-4",style:{backgroundColor:"var(--ff-success-light)"},children:l.jsx(w.CircleCheckBig,{className:"ff-w-10 ff-h-10",style:{color:"var(--ff-success)"}})}),l.jsx("h3",{className:"ff-text-xl ff-font-semibold ff-mb-2",style:{color:"var(--ff-text-primary)"},children:"Import Complete!"}),l.jsx("p",{style:{color:"var(--ff-text-muted)"},children:"Your data has been successfully imported."})]})})]}),f!=="complete"&&l.jsxs("div",{className:"ff-modal-footer",children:[l.jsx("button",{onClick:T,disabled:qe()===0||u,className:"ff-btn ff-btn-secondary",children:"Back"}),l.jsx("button",{onClick:Ke,disabled:!Ue()||u,className:"ff-btn ff-btn-primary",children:u?l.jsxs(l.Fragment,{children:[l.jsx(w.LoaderCircle,{className:"ff-w-4 ff-h-4 ff-animate-spin"}),"Processing..."]}):f==="review"?"Complete Import":"Continue"})]})]})});return l.jsx(w.StyleProvider,{theme:n,useShadowDom:r,children:t==="modal"?l.jsx("div",{className:"ff-overlay",children:_e}):_e})};exports.ColumnMapper=Pe;exports.DataTable=ve;exports.FileUploader=Ve;exports.ImportWizard=vn;exports.ValidationSummary=we;exports.useImportStore=B;
73
- //# sourceMappingURL=ImportWizard-DWuVE2Tg.js.map
73
+ //# sourceMappingURL=ImportWizard-CrWMalmb.js.map