braid-ui 1.0.159 → 1.0.160
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.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +31 -7
- package/dist/index.d.ts +31 -7
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { ReactNode } from 'react';
|
|
4
|
+
import React__default, { ReactNode, RefObject } from 'react';
|
|
5
5
|
import { UseFormReturn, FieldValues, FieldPath, UseFormProps, Path } from 'react-hook-form';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
7
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -1712,14 +1712,37 @@ interface ReconUploadViewProps {
|
|
|
1712
1712
|
}
|
|
1713
1713
|
declare function ReconUploadView({ table, uploadDialog, onOpenUploadDialog }: ReconUploadViewProps): react_jsx_runtime.JSX.Element;
|
|
1714
1714
|
|
|
1715
|
+
interface FileTypeOption {
|
|
1716
|
+
value: string;
|
|
1717
|
+
label: string;
|
|
1718
|
+
description: string;
|
|
1719
|
+
icon: React.ComponentType<{
|
|
1720
|
+
className?: string;
|
|
1721
|
+
}>;
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1715
1724
|
interface ACHProcessingViewProps {
|
|
1716
1725
|
title: string;
|
|
1717
1726
|
cardTitle: string;
|
|
1718
1727
|
table: ReactNode;
|
|
1719
|
-
|
|
1720
|
-
|
|
1728
|
+
uploadButtonLabel?: string;
|
|
1729
|
+
uploadDialogOpen: boolean;
|
|
1730
|
+
onUploadDialogOpenChange: (open: boolean) => void;
|
|
1731
|
+
fileType: string | null;
|
|
1732
|
+
selectedFile: File | null;
|
|
1733
|
+
isUploading: boolean;
|
|
1734
|
+
fileTypeOptions: FileTypeOption[];
|
|
1735
|
+
acceptedFileTypes: string;
|
|
1736
|
+
acceptedFileTypesLabel: string;
|
|
1737
|
+
fileInputRef: RefObject<HTMLInputElement>;
|
|
1738
|
+
onFileTypeChange: (value: string) => void;
|
|
1739
|
+
onFileChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
1740
|
+
onRemoveFile: () => void;
|
|
1741
|
+
onSelectFileClick: () => void;
|
|
1742
|
+
onUpload: () => void;
|
|
1743
|
+
onCancelUpload: () => void;
|
|
1721
1744
|
}
|
|
1722
|
-
declare function ACHProcessingView({ title, cardTitle, table,
|
|
1745
|
+
declare function ACHProcessingView({ title, cardTitle, table, uploadButtonLabel, uploadDialogOpen, onUploadDialogOpenChange, fileType, selectedFile, isUploading, fileTypeOptions, acceptedFileTypes, acceptedFileTypesLabel, fileInputRef, onFileTypeChange, onFileChange, onRemoveFile, onSelectFileClick, onUpload, onCancelUpload, }: ACHProcessingViewProps): react_jsx_runtime.JSX.Element;
|
|
1723
1746
|
|
|
1724
1747
|
interface ACHProcessingDetailItem {
|
|
1725
1748
|
id: string;
|
|
@@ -1837,15 +1860,16 @@ interface WireProcessingViewProps {
|
|
|
1837
1860
|
cardTitle: string;
|
|
1838
1861
|
uploadButtonLabel: string;
|
|
1839
1862
|
table: ReactNode;
|
|
1840
|
-
|
|
1841
|
-
|
|
1863
|
+
uploadDialogOpen: boolean;
|
|
1864
|
+
onUploadDialogOpenChange: (open: boolean) => void;
|
|
1865
|
+
uploadDialogMessage?: string;
|
|
1842
1866
|
incomingTransactionOpen: boolean;
|
|
1843
1867
|
onIncomingTransactionOpenChange: (open: boolean) => void;
|
|
1844
1868
|
isProcessingIncoming: boolean;
|
|
1845
1869
|
onProcessIncoming: (values: IncomingWireTransactionValues) => void;
|
|
1846
1870
|
headerActions?: ReactNode;
|
|
1847
1871
|
}
|
|
1848
|
-
declare function WireProcessingView({ title, cardTitle, uploadButtonLabel, table,
|
|
1872
|
+
declare function WireProcessingView({ title, cardTitle, uploadButtonLabel, table, uploadDialogOpen, onUploadDialogOpenChange, uploadDialogMessage, incomingTransactionOpen, onIncomingTransactionOpenChange, isProcessingIncoming, onProcessIncoming, headerActions, }: WireProcessingViewProps): react_jsx_runtime.JSX.Element;
|
|
1849
1873
|
|
|
1850
1874
|
interface WireProcessingDetailItem {
|
|
1851
1875
|
id: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { ReactNode } from 'react';
|
|
4
|
+
import React__default, { ReactNode, RefObject } from 'react';
|
|
5
5
|
import { UseFormReturn, FieldValues, FieldPath, UseFormProps, Path } from 'react-hook-form';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
7
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -1712,14 +1712,37 @@ interface ReconUploadViewProps {
|
|
|
1712
1712
|
}
|
|
1713
1713
|
declare function ReconUploadView({ table, uploadDialog, onOpenUploadDialog }: ReconUploadViewProps): react_jsx_runtime.JSX.Element;
|
|
1714
1714
|
|
|
1715
|
+
interface FileTypeOption {
|
|
1716
|
+
value: string;
|
|
1717
|
+
label: string;
|
|
1718
|
+
description: string;
|
|
1719
|
+
icon: React.ComponentType<{
|
|
1720
|
+
className?: string;
|
|
1721
|
+
}>;
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1715
1724
|
interface ACHProcessingViewProps {
|
|
1716
1725
|
title: string;
|
|
1717
1726
|
cardTitle: string;
|
|
1718
1727
|
table: ReactNode;
|
|
1719
|
-
|
|
1720
|
-
|
|
1728
|
+
uploadButtonLabel?: string;
|
|
1729
|
+
uploadDialogOpen: boolean;
|
|
1730
|
+
onUploadDialogOpenChange: (open: boolean) => void;
|
|
1731
|
+
fileType: string | null;
|
|
1732
|
+
selectedFile: File | null;
|
|
1733
|
+
isUploading: boolean;
|
|
1734
|
+
fileTypeOptions: FileTypeOption[];
|
|
1735
|
+
acceptedFileTypes: string;
|
|
1736
|
+
acceptedFileTypesLabel: string;
|
|
1737
|
+
fileInputRef: RefObject<HTMLInputElement>;
|
|
1738
|
+
onFileTypeChange: (value: string) => void;
|
|
1739
|
+
onFileChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
1740
|
+
onRemoveFile: () => void;
|
|
1741
|
+
onSelectFileClick: () => void;
|
|
1742
|
+
onUpload: () => void;
|
|
1743
|
+
onCancelUpload: () => void;
|
|
1721
1744
|
}
|
|
1722
|
-
declare function ACHProcessingView({ title, cardTitle, table,
|
|
1745
|
+
declare function ACHProcessingView({ title, cardTitle, table, uploadButtonLabel, uploadDialogOpen, onUploadDialogOpenChange, fileType, selectedFile, isUploading, fileTypeOptions, acceptedFileTypes, acceptedFileTypesLabel, fileInputRef, onFileTypeChange, onFileChange, onRemoveFile, onSelectFileClick, onUpload, onCancelUpload, }: ACHProcessingViewProps): react_jsx_runtime.JSX.Element;
|
|
1723
1746
|
|
|
1724
1747
|
interface ACHProcessingDetailItem {
|
|
1725
1748
|
id: string;
|
|
@@ -1837,15 +1860,16 @@ interface WireProcessingViewProps {
|
|
|
1837
1860
|
cardTitle: string;
|
|
1838
1861
|
uploadButtonLabel: string;
|
|
1839
1862
|
table: ReactNode;
|
|
1840
|
-
|
|
1841
|
-
|
|
1863
|
+
uploadDialogOpen: boolean;
|
|
1864
|
+
onUploadDialogOpenChange: (open: boolean) => void;
|
|
1865
|
+
uploadDialogMessage?: string;
|
|
1842
1866
|
incomingTransactionOpen: boolean;
|
|
1843
1867
|
onIncomingTransactionOpenChange: (open: boolean) => void;
|
|
1844
1868
|
isProcessingIncoming: boolean;
|
|
1845
1869
|
onProcessIncoming: (values: IncomingWireTransactionValues) => void;
|
|
1846
1870
|
headerActions?: ReactNode;
|
|
1847
1871
|
}
|
|
1848
|
-
declare function WireProcessingView({ title, cardTitle, uploadButtonLabel, table,
|
|
1872
|
+
declare function WireProcessingView({ title, cardTitle, uploadButtonLabel, table, uploadDialogOpen, onUploadDialogOpenChange, uploadDialogMessage, incomingTransactionOpen, onIncomingTransactionOpenChange, isProcessingIncoming, onProcessIncoming, headerActions, }: WireProcessingViewProps): react_jsx_runtime.JSX.Element;
|
|
1849
1873
|
|
|
1850
1874
|
interface WireProcessingDetailItem {
|
|
1851
1875
|
id: number;
|