braid-ui 1.0.163 → 1.0.164
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 +5 -18
- package/dist/index.d.ts +5 -18
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -304,8 +304,9 @@ interface VelocityLimitDetailViewProps {
|
|
|
304
304
|
onDeactivate: () => void;
|
|
305
305
|
getStatusVariant: (status: VelocityLimit["status"]) => "success" | "warning" | "destructive" | "secondary";
|
|
306
306
|
getActionVariant: (action: VelocityLimit["action"]) => "secondary";
|
|
307
|
+
onAssociatedEntityClick?: (entityType: string, entityId: string) => void;
|
|
307
308
|
}
|
|
308
|
-
declare function VelocityLimitDetailView({ limit, onBack, onDeactivate, getStatusVariant, getActionVariant, }: VelocityLimitDetailViewProps): react_jsx_runtime.JSX.Element;
|
|
309
|
+
declare function VelocityLimitDetailView({ limit, onBack, onDeactivate, getStatusVariant, getActionVariant, onAssociatedEntityClick, }: VelocityLimitDetailViewProps): react_jsx_runtime.JSX.Element;
|
|
309
310
|
|
|
310
311
|
type LimitType = "" | "receiver_name_mismatch" | "round_number" | "transaction" | "prohibited_entity";
|
|
311
312
|
interface SelectOption$7 {
|
|
@@ -1907,17 +1908,6 @@ interface ACHNOCViewProps {
|
|
|
1907
1908
|
}
|
|
1908
1909
|
declare function ACHNOCView({ title, table, jsonOpen, onJsonOpenChange, jsonData, changeOpen, onChangeOpenChange, changeData, changeFields, isChanging, onChangeSubmit, }: ACHNOCViewProps): react_jsx_runtime.JSX.Element;
|
|
1909
1910
|
|
|
1910
|
-
interface IncomingWireTransactionValues {
|
|
1911
|
-
originatorBankName: string;
|
|
1912
|
-
originatorAccountNumber: string;
|
|
1913
|
-
originatorRoutingNumber: string;
|
|
1914
|
-
originatorToBeneficiaryInfo: string;
|
|
1915
|
-
beneficiaryAccountNumber: string;
|
|
1916
|
-
amount: string;
|
|
1917
|
-
imad: string;
|
|
1918
|
-
omad: string;
|
|
1919
|
-
}
|
|
1920
|
-
|
|
1921
1911
|
interface WireFileTypeOption {
|
|
1922
1912
|
value: string;
|
|
1923
1913
|
label: string;
|
|
@@ -1935,10 +1925,6 @@ interface WireProcessingViewProps {
|
|
|
1935
1925
|
table: ReactNode;
|
|
1936
1926
|
uploadDialogOpen: boolean;
|
|
1937
1927
|
onUploadDialogOpenChange: (open: boolean) => void;
|
|
1938
|
-
incomingTransactionOpen: boolean;
|
|
1939
|
-
onIncomingTransactionOpenChange: (open: boolean) => void;
|
|
1940
|
-
isProcessingIncoming: boolean;
|
|
1941
|
-
onProcessIncoming: (values: IncomingWireTransactionValues) => void;
|
|
1942
1928
|
fileType: string | null;
|
|
1943
1929
|
selectedFile: File | null;
|
|
1944
1930
|
isUploading: boolean;
|
|
@@ -1953,7 +1939,7 @@ interface WireProcessingViewProps {
|
|
|
1953
1939
|
onUpload: () => void;
|
|
1954
1940
|
onCancelUpload: () => void;
|
|
1955
1941
|
}
|
|
1956
|
-
declare function WireProcessingView({ title, cardTitle, uploadButtonLabel, table, uploadDialogOpen, onUploadDialogOpenChange,
|
|
1942
|
+
declare function WireProcessingView({ title, cardTitle, uploadButtonLabel, table, uploadDialogOpen, onUploadDialogOpenChange, fileType, selectedFile, isUploading, fileTypeOptions, acceptedFileTypes, acceptedFileTypesLabel, fileInputRef, onFileTypeChange, onFileChange, onRemoveFile, onSelectFileClick, onUpload, onCancelUpload, }: WireProcessingViewProps): react_jsx_runtime.JSX.Element;
|
|
1957
1943
|
|
|
1958
1944
|
interface WireProcessingDetailItem {
|
|
1959
1945
|
id: number;
|
|
@@ -2173,8 +2159,9 @@ interface DetailPageLayoutProps {
|
|
|
2173
2159
|
actions?: DetailPageAction[];
|
|
2174
2160
|
initialEditingState?: Record<string, boolean>;
|
|
2175
2161
|
headerContent?: ReactNode;
|
|
2162
|
+
maxWidth?: "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
|
2176
2163
|
}
|
|
2177
|
-
declare const DetailPageLayout: ({ title, description, cards, actions, initialEditingState, headerContent }: DetailPageLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
2164
|
+
declare const DetailPageLayout: ({ title, description, cards, actions, initialEditingState, headerContent, maxWidth, }: DetailPageLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
2178
2165
|
|
|
2179
2166
|
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
2180
2167
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -304,8 +304,9 @@ interface VelocityLimitDetailViewProps {
|
|
|
304
304
|
onDeactivate: () => void;
|
|
305
305
|
getStatusVariant: (status: VelocityLimit["status"]) => "success" | "warning" | "destructive" | "secondary";
|
|
306
306
|
getActionVariant: (action: VelocityLimit["action"]) => "secondary";
|
|
307
|
+
onAssociatedEntityClick?: (entityType: string, entityId: string) => void;
|
|
307
308
|
}
|
|
308
|
-
declare function VelocityLimitDetailView({ limit, onBack, onDeactivate, getStatusVariant, getActionVariant, }: VelocityLimitDetailViewProps): react_jsx_runtime.JSX.Element;
|
|
309
|
+
declare function VelocityLimitDetailView({ limit, onBack, onDeactivate, getStatusVariant, getActionVariant, onAssociatedEntityClick, }: VelocityLimitDetailViewProps): react_jsx_runtime.JSX.Element;
|
|
309
310
|
|
|
310
311
|
type LimitType = "" | "receiver_name_mismatch" | "round_number" | "transaction" | "prohibited_entity";
|
|
311
312
|
interface SelectOption$7 {
|
|
@@ -1907,17 +1908,6 @@ interface ACHNOCViewProps {
|
|
|
1907
1908
|
}
|
|
1908
1909
|
declare function ACHNOCView({ title, table, jsonOpen, onJsonOpenChange, jsonData, changeOpen, onChangeOpenChange, changeData, changeFields, isChanging, onChangeSubmit, }: ACHNOCViewProps): react_jsx_runtime.JSX.Element;
|
|
1909
1910
|
|
|
1910
|
-
interface IncomingWireTransactionValues {
|
|
1911
|
-
originatorBankName: string;
|
|
1912
|
-
originatorAccountNumber: string;
|
|
1913
|
-
originatorRoutingNumber: string;
|
|
1914
|
-
originatorToBeneficiaryInfo: string;
|
|
1915
|
-
beneficiaryAccountNumber: string;
|
|
1916
|
-
amount: string;
|
|
1917
|
-
imad: string;
|
|
1918
|
-
omad: string;
|
|
1919
|
-
}
|
|
1920
|
-
|
|
1921
1911
|
interface WireFileTypeOption {
|
|
1922
1912
|
value: string;
|
|
1923
1913
|
label: string;
|
|
@@ -1935,10 +1925,6 @@ interface WireProcessingViewProps {
|
|
|
1935
1925
|
table: ReactNode;
|
|
1936
1926
|
uploadDialogOpen: boolean;
|
|
1937
1927
|
onUploadDialogOpenChange: (open: boolean) => void;
|
|
1938
|
-
incomingTransactionOpen: boolean;
|
|
1939
|
-
onIncomingTransactionOpenChange: (open: boolean) => void;
|
|
1940
|
-
isProcessingIncoming: boolean;
|
|
1941
|
-
onProcessIncoming: (values: IncomingWireTransactionValues) => void;
|
|
1942
1928
|
fileType: string | null;
|
|
1943
1929
|
selectedFile: File | null;
|
|
1944
1930
|
isUploading: boolean;
|
|
@@ -1953,7 +1939,7 @@ interface WireProcessingViewProps {
|
|
|
1953
1939
|
onUpload: () => void;
|
|
1954
1940
|
onCancelUpload: () => void;
|
|
1955
1941
|
}
|
|
1956
|
-
declare function WireProcessingView({ title, cardTitle, uploadButtonLabel, table, uploadDialogOpen, onUploadDialogOpenChange,
|
|
1942
|
+
declare function WireProcessingView({ title, cardTitle, uploadButtonLabel, table, uploadDialogOpen, onUploadDialogOpenChange, fileType, selectedFile, isUploading, fileTypeOptions, acceptedFileTypes, acceptedFileTypesLabel, fileInputRef, onFileTypeChange, onFileChange, onRemoveFile, onSelectFileClick, onUpload, onCancelUpload, }: WireProcessingViewProps): react_jsx_runtime.JSX.Element;
|
|
1957
1943
|
|
|
1958
1944
|
interface WireProcessingDetailItem {
|
|
1959
1945
|
id: number;
|
|
@@ -2173,8 +2159,9 @@ interface DetailPageLayoutProps {
|
|
|
2173
2159
|
actions?: DetailPageAction[];
|
|
2174
2160
|
initialEditingState?: Record<string, boolean>;
|
|
2175
2161
|
headerContent?: ReactNode;
|
|
2162
|
+
maxWidth?: "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
|
2176
2163
|
}
|
|
2177
|
-
declare const DetailPageLayout: ({ title, description, cards, actions, initialEditingState, headerContent }: DetailPageLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
2164
|
+
declare const DetailPageLayout: ({ title, description, cards, actions, initialEditingState, headerContent, maxWidth, }: DetailPageLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
2178
2165
|
|
|
2179
2166
|
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
2180
2167
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|