braid-ui 1.0.158 → 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/css/braid-ui.css +4 -0
- package/dist/css/braid-ui.min.css +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +46 -7
- package/dist/index.d.ts +46 -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;
|
|
@@ -1821,16 +1844,32 @@ interface ACHReturnViewProps {
|
|
|
1821
1844
|
}
|
|
1822
1845
|
declare function ACHReturnView({ title, returnRateSectionTitle, unauthorizedSectionTitle, returnRateTable, unauthorizedTable, returnRateFilters, onReturnRateFilterChange, onReturnRateResetFilters, onReturnRateApplyFilters, productOptions, methodOptions, returnRateFiltersTitle, }: ACHReturnViewProps): react_jsx_runtime.JSX.Element;
|
|
1823
1846
|
|
|
1847
|
+
interface IncomingWireTransactionValues {
|
|
1848
|
+
originatorBankName: string;
|
|
1849
|
+
originatorAccountNumber: string;
|
|
1850
|
+
originatorRoutingNumber: string;
|
|
1851
|
+
originatorToBeneficiaryInfo: string;
|
|
1852
|
+
beneficiaryAccountNumber: string;
|
|
1853
|
+
amount: string;
|
|
1854
|
+
imad: string;
|
|
1855
|
+
omad: string;
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1824
1858
|
interface WireProcessingViewProps {
|
|
1825
1859
|
title: string;
|
|
1826
1860
|
cardTitle: string;
|
|
1827
1861
|
uploadButtonLabel: string;
|
|
1828
1862
|
table: ReactNode;
|
|
1829
|
-
|
|
1830
|
-
|
|
1863
|
+
uploadDialogOpen: boolean;
|
|
1864
|
+
onUploadDialogOpenChange: (open: boolean) => void;
|
|
1865
|
+
uploadDialogMessage?: string;
|
|
1866
|
+
incomingTransactionOpen: boolean;
|
|
1867
|
+
onIncomingTransactionOpenChange: (open: boolean) => void;
|
|
1868
|
+
isProcessingIncoming: boolean;
|
|
1869
|
+
onProcessIncoming: (values: IncomingWireTransactionValues) => void;
|
|
1831
1870
|
headerActions?: ReactNode;
|
|
1832
1871
|
}
|
|
1833
|
-
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;
|
|
1834
1873
|
|
|
1835
1874
|
interface WireProcessingDetailItem {
|
|
1836
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;
|
|
@@ -1821,16 +1844,32 @@ interface ACHReturnViewProps {
|
|
|
1821
1844
|
}
|
|
1822
1845
|
declare function ACHReturnView({ title, returnRateSectionTitle, unauthorizedSectionTitle, returnRateTable, unauthorizedTable, returnRateFilters, onReturnRateFilterChange, onReturnRateResetFilters, onReturnRateApplyFilters, productOptions, methodOptions, returnRateFiltersTitle, }: ACHReturnViewProps): react_jsx_runtime.JSX.Element;
|
|
1823
1846
|
|
|
1847
|
+
interface IncomingWireTransactionValues {
|
|
1848
|
+
originatorBankName: string;
|
|
1849
|
+
originatorAccountNumber: string;
|
|
1850
|
+
originatorRoutingNumber: string;
|
|
1851
|
+
originatorToBeneficiaryInfo: string;
|
|
1852
|
+
beneficiaryAccountNumber: string;
|
|
1853
|
+
amount: string;
|
|
1854
|
+
imad: string;
|
|
1855
|
+
omad: string;
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1824
1858
|
interface WireProcessingViewProps {
|
|
1825
1859
|
title: string;
|
|
1826
1860
|
cardTitle: string;
|
|
1827
1861
|
uploadButtonLabel: string;
|
|
1828
1862
|
table: ReactNode;
|
|
1829
|
-
|
|
1830
|
-
|
|
1863
|
+
uploadDialogOpen: boolean;
|
|
1864
|
+
onUploadDialogOpenChange: (open: boolean) => void;
|
|
1865
|
+
uploadDialogMessage?: string;
|
|
1866
|
+
incomingTransactionOpen: boolean;
|
|
1867
|
+
onIncomingTransactionOpenChange: (open: boolean) => void;
|
|
1868
|
+
isProcessingIncoming: boolean;
|
|
1869
|
+
onProcessIncoming: (values: IncomingWireTransactionValues) => void;
|
|
1831
1870
|
headerActions?: ReactNode;
|
|
1832
1871
|
}
|
|
1833
|
-
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;
|
|
1834
1873
|
|
|
1835
1874
|
interface WireProcessingDetailItem {
|
|
1836
1875
|
id: number;
|