@fileflow/sdk 0.1.16 → 0.1.18
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/{ImportWizard-B7BsndHa.mjs → ImportWizard-D4GlHhyY.mjs} +754 -684
- package/dist/ImportWizard-D4GlHhyY.mjs.map +1 -0
- package/dist/ImportWizard-Dakb05xc.js +78 -0
- package/dist/ImportWizard-Dakb05xc.js.map +1 -0
- package/dist/{KYCWizard-Awl-EaVn.mjs → KYCWizard-BZW0dZ2x.mjs} +2 -2
- package/dist/{KYCWizard-Awl-EaVn.mjs.map → KYCWizard-BZW0dZ2x.mjs.map} +1 -1
- package/dist/{KYCWizard-B1PHk85F.js → KYCWizard-Bk9-GvOh.js} +2 -2
- package/dist/{KYCWizard-B1PHk85F.js.map → KYCWizard-Bk9-GvOh.js.map} +1 -1
- package/dist/import.d.ts +3 -0
- package/dist/import.js +1 -1
- package/dist/import.mjs +1 -1
- package/dist/{index-CmC4zviB.js → index-CLgI0mua.js} +32 -32
- package/dist/{index-CmC4zviB.js.map → index-CLgI0mua.js.map} +1 -1
- package/dist/{index-D7j5dhUO.mjs → index-DnkwOjwi.mjs} +639 -639
- package/dist/{index-D7j5dhUO.mjs.map → index-DnkwOjwi.mjs.map} +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +3 -3
- package/dist/kyc.js +1 -1
- package/dist/kyc.mjs +1 -1
- package/dist/styles.css +288 -277
- package/package.json +1 -1
- package/dist/ImportWizard-B7BsndHa.mjs.map +0 -1
- package/dist/ImportWizard-DWuVE2Tg.js +0 -73
- package/dist/ImportWizard-DWuVE2Tg.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -50,8 +50,10 @@ export declare const DataTable: default_2.FC<DataTableProps>;
|
|
|
50
50
|
|
|
51
51
|
declare interface DataTableProps {
|
|
52
52
|
editable?: boolean;
|
|
53
|
+
deletable?: boolean;
|
|
53
54
|
pageSize?: number;
|
|
54
55
|
onCellEdit?: (rowIndex: number, columnKey: string, value: string) => void;
|
|
56
|
+
onRowDelete?: (rowIndex: number) => void;
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
export { DOCUMENT_TYPES }
|
|
@@ -246,6 +248,7 @@ declare interface ImportActions {
|
|
|
246
248
|
startEditing: (rowIndex: number, columnKey: string) => void;
|
|
247
249
|
stopEditing: () => void;
|
|
248
250
|
updateCell: (rowIndex: number, columnKey: string, value: unknown) => void;
|
|
251
|
+
deleteRow: (rowIndex: number) => void;
|
|
249
252
|
setStatus: (status: string) => void;
|
|
250
253
|
setLoading: (loading: boolean) => void;
|
|
251
254
|
setError: (error: string | null) => void;
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CLgI0mua.js"),t=require("./ImportWizard-Dakb05xc.js"),l=require("./KYCWizard-Bk9-GvOh.js");exports.CANADIAN_PROVINCES=e.CANADIAN_PROVINCES;exports.DOCUMENT_TYPES=e.DOCUMENT_TYPES;exports.FileFlowClient=e.FileFlowClient;exports.FileFlowError=e.FileFlowError;exports.IMPORT_TEMPLATES=e.IMPORT_TEMPLATES;exports.StyleProvider=e.StyleProvider;exports.VALID_TEMPLATE_IDS=e.VALID_TEMPLATE_IDS;exports.getAvailableTemplates=e.getAvailableTemplates;exports.getClient=e.getClient;exports.getTemplate=e.getTemplate;exports.getTemplateSchema=e.getTemplateSchema;exports.getTemplatesByCategory=e.getTemplatesByCategory;exports.initializeClient=e.initializeClient;exports.injectStyles=e.injectStyles;exports.listTemplates=e.listTemplates;exports.templateExists=e.templateExists;exports.useFileFlowStyles=e.useFileFlowStyles;exports.ColumnMapper=t.ColumnMapper;exports.DataTable=t.DataTable;exports.FileUploader=t.FileUploader;exports.ImportWizard=t.ImportWizard;exports.ValidationSummary=t.ValidationSummary;exports.useImportStore=t.useImportStore;exports.DocumentStatus=l.DocumentStatus;exports.DocumentUploader=l.DocumentUploader;exports.KYCWizard=l.KYCWizard;exports.useKYCStore=l.useKYCStore;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as s, D as t, F as l, b as o, I as r, S as i, V as m, e as p, g as S, c as T, d as C, f as u, a as D, i as n, l as E, t as F, u as I } from "./index-
|
|
2
|
-
import { C as g, D as A, F as y, I as P, V as c, u as M } from "./ImportWizard-
|
|
3
|
-
import { a as _, D as f, K as x, u as N } from "./KYCWizard-
|
|
1
|
+
import { C as s, D as t, F as l, b as o, I as r, S as i, V as m, e as p, g as S, c as T, d as C, f as u, a as D, i as n, l as E, t as F, u as I } from "./index-DnkwOjwi.mjs";
|
|
2
|
+
import { C as g, D as A, F as y, I as P, V as c, u as M } from "./ImportWizard-D4GlHhyY.mjs";
|
|
3
|
+
import { a as _, D as f, K as x, u as N } from "./KYCWizard-BZW0dZ2x.mjs";
|
|
4
4
|
export {
|
|
5
5
|
s as CANADIAN_PROVINCES,
|
|
6
6
|
g as ColumnMapper,
|
package/dist/kyc.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./KYCWizard-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./KYCWizard-Bk9-GvOh.js");exports.DocumentStatus=e.DocumentStatus;exports.DocumentUploader=e.DocumentUploader;exports.KYCWizard=e.KYCWizard;exports.useKYCStore=e.useKYCStore;
|
|
2
2
|
//# sourceMappingURL=kyc.js.map
|
package/dist/kyc.mjs
CHANGED