@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/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-CmC4zviB.js"),t=require("./ImportWizard-DWuVE2Tg.js"),l=require("./KYCWizard-B1PHk85F.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;
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-D7j5dhUO.mjs";
2
- import { C as g, D as A, F as y, I as P, V as c, u as M } from "./ImportWizard-B7BsndHa.mjs";
3
- import { a as _, D as f, K as x, u as N } from "./KYCWizard-Awl-EaVn.mjs";
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-B1PHk85F.js");exports.DocumentStatus=e.DocumentStatus;exports.DocumentUploader=e.DocumentUploader;exports.KYCWizard=e.KYCWizard;exports.useKYCStore=e.useKYCStore;
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
@@ -1,4 +1,4 @@
1
- import { a as o, D as s, K as t, u as r } from "./KYCWizard-Awl-EaVn.mjs";
1
+ import { a as o, D as s, K as t, u as r } from "./KYCWizard-BZW0dZ2x.mjs";
2
2
  export {
3
3
  o as DocumentStatus,
4
4
  s as DocumentUploader,