braid-ui 1.0.61 → 1.0.63
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 +43 -0
- package/dist/css/braid-ui.min.css +1 -1
- package/dist/index.cjs +6288 -6040
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +117 -2
- package/dist/index.d.ts +117 -2
- package/dist/index.js +6285 -6042
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1069,6 +1069,121 @@ interface NewTransactionViewProps {
|
|
|
1069
1069
|
}
|
|
1070
1070
|
declare const NewTransactionView: ({ form, accountLookedUp, accountData, counterpartyLookedUp, counterpartyData, confirmationOpen, submissionStatus, errorMessage, transactionId, isAccountLoading, isCounterpartyLoading, isSubmitting, counterpartySearchResults, isCounterpartySearching, showCounterpartyDropdown, onAccountLookup, onEditAccount, onEditCounterparty, onTransactionTypeChange, onSubmit, onConfirmationClose, onConfirmationOpenChange, onNewTransaction, onCounterpartySearchChange, onCounterpartySelect, onCounterpartyDropdownClose, counterpartyHasMore, counterpartyTotalResults, isLoadingMoreCounterparties, onLoadMoreCounterparties, receiverAccountLookedUp, receiverAccountData, isReceiverAccountLoading, onReceiverAccountLookup, onEditReceiverAccount, isReviewReady, adjustmentTypeOptions, transactionTypeOptions, showSuccessInfoBox, successInfoMessage, }: NewTransactionViewProps) => react_jsx_runtime.JSX.Element;
|
|
1071
1071
|
|
|
1072
|
+
interface TransactionHistoryFilters {
|
|
1073
|
+
originalFileName?: string;
|
|
1074
|
+
requesterIpAddress?: string;
|
|
1075
|
+
requesterUsername?: string;
|
|
1076
|
+
showAchNoc?: boolean;
|
|
1077
|
+
excludeWire?: boolean;
|
|
1078
|
+
excludeAch?: boolean;
|
|
1079
|
+
wireFileHandle?: string;
|
|
1080
|
+
direction?: string;
|
|
1081
|
+
counterpartyId?: string;
|
|
1082
|
+
customerId?: string;
|
|
1083
|
+
settlementFileName?: string;
|
|
1084
|
+
isInbound?: boolean;
|
|
1085
|
+
accountNumber?: string;
|
|
1086
|
+
processingStatus?: string[];
|
|
1087
|
+
beginDate?: string;
|
|
1088
|
+
endDate?: string;
|
|
1089
|
+
postDateStart?: string;
|
|
1090
|
+
postDateEnd?: string;
|
|
1091
|
+
maxAmount?: string;
|
|
1092
|
+
minAmount?: string;
|
|
1093
|
+
productId?: string;
|
|
1094
|
+
paymentId?: string;
|
|
1095
|
+
transactionStatus?: string[];
|
|
1096
|
+
transactionType?: string[];
|
|
1097
|
+
}
|
|
1098
|
+
type FilterValue$1 = string | string[] | boolean | undefined;
|
|
1099
|
+
interface TransactionHistoryFiltersSheetProps {
|
|
1100
|
+
filters: TransactionHistoryFilters;
|
|
1101
|
+
onFilterChange: (field: keyof TransactionHistoryFilters, value: FilterValue$1) => void;
|
|
1102
|
+
onResetFilters: () => void;
|
|
1103
|
+
onApplyFilters: () => void;
|
|
1104
|
+
}
|
|
1105
|
+
declare const TransactionHistoryFiltersSheet: ({ filters, onFilterChange, onResetFilters, onApplyFilters }: TransactionHistoryFiltersSheetProps) => react_jsx_runtime.JSX.Element;
|
|
1106
|
+
|
|
1107
|
+
type FilterValue = string | string[] | boolean | undefined;
|
|
1108
|
+
interface TransactionHistoryViewProps {
|
|
1109
|
+
table: React.ReactNode;
|
|
1110
|
+
filters: TransactionHistoryFilters;
|
|
1111
|
+
onFilterChange: (field: keyof TransactionHistoryFilters, value: FilterValue) => void;
|
|
1112
|
+
onResetFilters: () => void;
|
|
1113
|
+
onApplyFilters: () => void;
|
|
1114
|
+
}
|
|
1115
|
+
declare const TransactionHistoryView: ({ table, filters, onFilterChange, onResetFilters, onApplyFilters }: TransactionHistoryViewProps) => react_jsx_runtime.JSX.Element;
|
|
1116
|
+
|
|
1117
|
+
interface TransactionData {
|
|
1118
|
+
id: string;
|
|
1119
|
+
amount: number;
|
|
1120
|
+
transactionType: string;
|
|
1121
|
+
isInbound: boolean;
|
|
1122
|
+
status: string;
|
|
1123
|
+
processingStatus: string;
|
|
1124
|
+
accountNumber: string;
|
|
1125
|
+
customer: string;
|
|
1126
|
+
description: string;
|
|
1127
|
+
counterparty: string;
|
|
1128
|
+
created: string;
|
|
1129
|
+
achDetails?: any;
|
|
1130
|
+
wireDetails?: any;
|
|
1131
|
+
}
|
|
1132
|
+
interface TransactionDetailViewProps {
|
|
1133
|
+
transaction: TransactionData;
|
|
1134
|
+
timelineEvents: TimelineEvent[];
|
|
1135
|
+
isWireTransfer: boolean;
|
|
1136
|
+
isACHTransfer: boolean;
|
|
1137
|
+
showCancelButton: boolean;
|
|
1138
|
+
showReturnButton: boolean;
|
|
1139
|
+
onReturnClick: () => void;
|
|
1140
|
+
onCancelClick: () => void;
|
|
1141
|
+
onAccountClick: (accountNumber: string) => void;
|
|
1142
|
+
onCustomerClick: (customer: string) => void;
|
|
1143
|
+
onCounterpartyClick: (counterparty: string) => void;
|
|
1144
|
+
onOFACClick: (ofacId: string) => void;
|
|
1145
|
+
onProductClick: (productId: string) => void;
|
|
1146
|
+
}
|
|
1147
|
+
declare const TransactionDetailView: ({ transaction, timelineEvents, isWireTransfer, isACHTransfer, showCancelButton, showReturnButton, onReturnClick, onCancelClick, onAccountClick, onCustomerClick, onCounterpartyClick, onOFACClick, onProductClick, }: TransactionDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
1148
|
+
|
|
1149
|
+
declare const cancelTransactionSchema: z.ZodObject<{
|
|
1150
|
+
reason: z.ZodString;
|
|
1151
|
+
}, "strip", z.ZodTypeAny, {
|
|
1152
|
+
reason?: string;
|
|
1153
|
+
}, {
|
|
1154
|
+
reason?: string;
|
|
1155
|
+
}>;
|
|
1156
|
+
type CancelTransactionFormData = z.infer<typeof cancelTransactionSchema>;
|
|
1157
|
+
declare const returnTransactionSchema: z.ZodObject<{
|
|
1158
|
+
reasonCode: z.ZodString;
|
|
1159
|
+
}, "strip", z.ZodTypeAny, {
|
|
1160
|
+
reasonCode?: string;
|
|
1161
|
+
}, {
|
|
1162
|
+
reasonCode?: string;
|
|
1163
|
+
}>;
|
|
1164
|
+
type ReturnTransactionFormData = z.infer<typeof returnTransactionSchema>;
|
|
1165
|
+
interface ReturnReasonCode {
|
|
1166
|
+
value: string;
|
|
1167
|
+
label: string;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
interface CancelTransactionDialogProps {
|
|
1171
|
+
transactionId: string;
|
|
1172
|
+
open: boolean;
|
|
1173
|
+
onOpenChange: (open: boolean) => void;
|
|
1174
|
+
onCancel: (data: CancelTransactionFormData) => Promise<void>;
|
|
1175
|
+
}
|
|
1176
|
+
declare const CancelTransactionDialog: ({ transactionId, open, onOpenChange, onCancel, }: CancelTransactionDialogProps) => react_jsx_runtime.JSX.Element;
|
|
1177
|
+
|
|
1178
|
+
interface ReturnTransactionDialogProps {
|
|
1179
|
+
transactionId: string;
|
|
1180
|
+
open: boolean;
|
|
1181
|
+
onOpenChange: (open: boolean) => void;
|
|
1182
|
+
onReturn: (data: ReturnTransactionFormData) => Promise<void>;
|
|
1183
|
+
reasonCodes: ReturnReasonCode[];
|
|
1184
|
+
}
|
|
1185
|
+
declare function ReturnTransactionDialog({ transactionId, open, onOpenChange, onReturn, reasonCodes, }: ReturnTransactionDialogProps): react_jsx_runtime.JSX.Element;
|
|
1186
|
+
|
|
1072
1187
|
interface AccountCardProps {
|
|
1073
1188
|
account: {
|
|
1074
1189
|
id: string;
|
|
@@ -1088,7 +1203,7 @@ interface AccountCardProps {
|
|
|
1088
1203
|
declare const AccountCard: React$1.ForwardRefExoticComponent<AccountCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1089
1204
|
|
|
1090
1205
|
declare const badgeVariants: (props?: {
|
|
1091
|
-
variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "inbound" | "outbound" | "business" | "individual" | "government" | "nonprofit" | "corporation" | "llc" | "partnership" | "sole_proprietorship" | "active" | "inactive" | "pending" | "suspended" | "cip-active" | "cip-inactive" | "cip-pending" | "cip-secondary" | "alert-ofac" | "alert-dual" | "alert-monitoring" | "alert-error";
|
|
1206
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "inbound" | "outbound" | "business" | "individual" | "government" | "nonprofit" | "corporation" | "llc" | "partnership" | "sole_proprietorship" | "active" | "inactive" | "pending" | "suspended" | "cip-active" | "cip-inactive" | "cip-pending" | "cip-secondary" | "alert-ofac" | "alert-dual" | "alert-monitoring" | "alert-error" | "checking" | "savings" | "zero-balance" | "funding";
|
|
1092
1207
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1093
1208
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
1094
1209
|
}
|
|
@@ -1916,4 +2031,4 @@ declare function generateStatementCSV(header: StatementHeader, transactions: Sta
|
|
|
1916
2031
|
*/
|
|
1917
2032
|
declare function downloadCSV(content: string, filename: string): void;
|
|
1918
2033
|
|
|
1919
|
-
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, ADJUSTMENT_DIRECTION_OPTIONS, AccountCard, type AccountData, AccountDetail, Accounts, AddressForm, type AdjustmentTypeOption, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, BusinessDetail, BusinessDetailView, BusinessFiltersSheet, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartiesView, CounterpartyBasicInfo, type CounterpartyData, CounterpartyDetail, CounterpartyDetailView, CounterpartyProfileCard, CounterpartyRecordsCard, type CounterpartySearchResult, CounterpartyTypeBadge, type CounterpartyWithEntity, CreateBusiness, CreateBusinessView, CreateCounterparty, CreateCounterpartyView, CreateIndividual, CreateVelocityLimit, Dashboard, DashboardDemo, DataGrid, type DataGridItem, type DataGridSection, DataTable, type DataTableColumn, type DataTableProps, DetailPageLayout, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EditableFormCard, EditableInfoField, EnhancedInput, EnhancedSelect, EnhancedTextarea, EntityCard, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, Individuals, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, type NewTransactionFormValues, NewTransactionView, NotFound, OFACAlertView, type OFACAlertViewProps, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ReconExceptions, ReconUpload, ResolveAlertDialog, ResponsiveGrid, ScrollArea, ScrollBar, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Stack, Statement, type StatementHeader, type StatementTransaction, StatementView, StatusBadge, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransactionDetail, TransactionHistory, TransactionTypeBadge, type TransactionTypeOption, UIKit, UIKitShowcase, type UseAlertDetailReturn, VelocityLimitDetail, VelocityLimits, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, newTransactionSchema, reducer, textareaVariants, toast, useAlertDetail, useCounterpartyEntity, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
|
|
2034
|
+
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, ADJUSTMENT_DIRECTION_OPTIONS, AccountCard, type AccountData, AccountDetail, Accounts, AddressForm, type AdjustmentTypeOption, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, BusinessDetail, BusinessDetailView, BusinessFiltersSheet, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, CancelTransactionDialog, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartiesView, CounterpartyBasicInfo, type CounterpartyData, CounterpartyDetail, CounterpartyDetailView, CounterpartyProfileCard, CounterpartyRecordsCard, type CounterpartySearchResult, CounterpartyTypeBadge, type CounterpartyWithEntity, CreateBusiness, CreateBusinessView, CreateCounterparty, CreateCounterpartyView, CreateIndividual, CreateVelocityLimit, Dashboard, DashboardDemo, DataGrid, type DataGridItem, type DataGridSection, DataTable, type DataTableColumn, type DataTableProps, DetailPageLayout, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EditableFormCard, EditableInfoField, EnhancedInput, EnhancedSelect, EnhancedTextarea, EntityCard, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, Individuals, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, type NewTransactionFormValues, NewTransactionView, NotFound, OFACAlertView, type OFACAlertViewProps, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ReconExceptions, ReconUpload, ResolveAlertDialog, ResponsiveGrid, ReturnTransactionDialog, ScrollArea, ScrollBar, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Stack, Statement, type StatementHeader, type StatementTransaction, StatementView, StatusBadge, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransactionDetail, TransactionDetailView, type TransactionDetailViewProps, TransactionHistory, type TransactionHistoryFilters, TransactionHistoryFiltersSheet, TransactionHistoryView, TransactionTypeBadge, type TransactionTypeOption, UIKit, UIKitShowcase, type UseAlertDetailReturn, VelocityLimitDetail, VelocityLimits, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, newTransactionSchema, reducer, textareaVariants, toast, useAlertDetail, useCounterpartyEntity, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -1069,6 +1069,121 @@ interface NewTransactionViewProps {
|
|
|
1069
1069
|
}
|
|
1070
1070
|
declare const NewTransactionView: ({ form, accountLookedUp, accountData, counterpartyLookedUp, counterpartyData, confirmationOpen, submissionStatus, errorMessage, transactionId, isAccountLoading, isCounterpartyLoading, isSubmitting, counterpartySearchResults, isCounterpartySearching, showCounterpartyDropdown, onAccountLookup, onEditAccount, onEditCounterparty, onTransactionTypeChange, onSubmit, onConfirmationClose, onConfirmationOpenChange, onNewTransaction, onCounterpartySearchChange, onCounterpartySelect, onCounterpartyDropdownClose, counterpartyHasMore, counterpartyTotalResults, isLoadingMoreCounterparties, onLoadMoreCounterparties, receiverAccountLookedUp, receiverAccountData, isReceiverAccountLoading, onReceiverAccountLookup, onEditReceiverAccount, isReviewReady, adjustmentTypeOptions, transactionTypeOptions, showSuccessInfoBox, successInfoMessage, }: NewTransactionViewProps) => react_jsx_runtime.JSX.Element;
|
|
1071
1071
|
|
|
1072
|
+
interface TransactionHistoryFilters {
|
|
1073
|
+
originalFileName?: string;
|
|
1074
|
+
requesterIpAddress?: string;
|
|
1075
|
+
requesterUsername?: string;
|
|
1076
|
+
showAchNoc?: boolean;
|
|
1077
|
+
excludeWire?: boolean;
|
|
1078
|
+
excludeAch?: boolean;
|
|
1079
|
+
wireFileHandle?: string;
|
|
1080
|
+
direction?: string;
|
|
1081
|
+
counterpartyId?: string;
|
|
1082
|
+
customerId?: string;
|
|
1083
|
+
settlementFileName?: string;
|
|
1084
|
+
isInbound?: boolean;
|
|
1085
|
+
accountNumber?: string;
|
|
1086
|
+
processingStatus?: string[];
|
|
1087
|
+
beginDate?: string;
|
|
1088
|
+
endDate?: string;
|
|
1089
|
+
postDateStart?: string;
|
|
1090
|
+
postDateEnd?: string;
|
|
1091
|
+
maxAmount?: string;
|
|
1092
|
+
minAmount?: string;
|
|
1093
|
+
productId?: string;
|
|
1094
|
+
paymentId?: string;
|
|
1095
|
+
transactionStatus?: string[];
|
|
1096
|
+
transactionType?: string[];
|
|
1097
|
+
}
|
|
1098
|
+
type FilterValue$1 = string | string[] | boolean | undefined;
|
|
1099
|
+
interface TransactionHistoryFiltersSheetProps {
|
|
1100
|
+
filters: TransactionHistoryFilters;
|
|
1101
|
+
onFilterChange: (field: keyof TransactionHistoryFilters, value: FilterValue$1) => void;
|
|
1102
|
+
onResetFilters: () => void;
|
|
1103
|
+
onApplyFilters: () => void;
|
|
1104
|
+
}
|
|
1105
|
+
declare const TransactionHistoryFiltersSheet: ({ filters, onFilterChange, onResetFilters, onApplyFilters }: TransactionHistoryFiltersSheetProps) => react_jsx_runtime.JSX.Element;
|
|
1106
|
+
|
|
1107
|
+
type FilterValue = string | string[] | boolean | undefined;
|
|
1108
|
+
interface TransactionHistoryViewProps {
|
|
1109
|
+
table: React.ReactNode;
|
|
1110
|
+
filters: TransactionHistoryFilters;
|
|
1111
|
+
onFilterChange: (field: keyof TransactionHistoryFilters, value: FilterValue) => void;
|
|
1112
|
+
onResetFilters: () => void;
|
|
1113
|
+
onApplyFilters: () => void;
|
|
1114
|
+
}
|
|
1115
|
+
declare const TransactionHistoryView: ({ table, filters, onFilterChange, onResetFilters, onApplyFilters }: TransactionHistoryViewProps) => react_jsx_runtime.JSX.Element;
|
|
1116
|
+
|
|
1117
|
+
interface TransactionData {
|
|
1118
|
+
id: string;
|
|
1119
|
+
amount: number;
|
|
1120
|
+
transactionType: string;
|
|
1121
|
+
isInbound: boolean;
|
|
1122
|
+
status: string;
|
|
1123
|
+
processingStatus: string;
|
|
1124
|
+
accountNumber: string;
|
|
1125
|
+
customer: string;
|
|
1126
|
+
description: string;
|
|
1127
|
+
counterparty: string;
|
|
1128
|
+
created: string;
|
|
1129
|
+
achDetails?: any;
|
|
1130
|
+
wireDetails?: any;
|
|
1131
|
+
}
|
|
1132
|
+
interface TransactionDetailViewProps {
|
|
1133
|
+
transaction: TransactionData;
|
|
1134
|
+
timelineEvents: TimelineEvent[];
|
|
1135
|
+
isWireTransfer: boolean;
|
|
1136
|
+
isACHTransfer: boolean;
|
|
1137
|
+
showCancelButton: boolean;
|
|
1138
|
+
showReturnButton: boolean;
|
|
1139
|
+
onReturnClick: () => void;
|
|
1140
|
+
onCancelClick: () => void;
|
|
1141
|
+
onAccountClick: (accountNumber: string) => void;
|
|
1142
|
+
onCustomerClick: (customer: string) => void;
|
|
1143
|
+
onCounterpartyClick: (counterparty: string) => void;
|
|
1144
|
+
onOFACClick: (ofacId: string) => void;
|
|
1145
|
+
onProductClick: (productId: string) => void;
|
|
1146
|
+
}
|
|
1147
|
+
declare const TransactionDetailView: ({ transaction, timelineEvents, isWireTransfer, isACHTransfer, showCancelButton, showReturnButton, onReturnClick, onCancelClick, onAccountClick, onCustomerClick, onCounterpartyClick, onOFACClick, onProductClick, }: TransactionDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
1148
|
+
|
|
1149
|
+
declare const cancelTransactionSchema: z.ZodObject<{
|
|
1150
|
+
reason: z.ZodString;
|
|
1151
|
+
}, "strip", z.ZodTypeAny, {
|
|
1152
|
+
reason?: string;
|
|
1153
|
+
}, {
|
|
1154
|
+
reason?: string;
|
|
1155
|
+
}>;
|
|
1156
|
+
type CancelTransactionFormData = z.infer<typeof cancelTransactionSchema>;
|
|
1157
|
+
declare const returnTransactionSchema: z.ZodObject<{
|
|
1158
|
+
reasonCode: z.ZodString;
|
|
1159
|
+
}, "strip", z.ZodTypeAny, {
|
|
1160
|
+
reasonCode?: string;
|
|
1161
|
+
}, {
|
|
1162
|
+
reasonCode?: string;
|
|
1163
|
+
}>;
|
|
1164
|
+
type ReturnTransactionFormData = z.infer<typeof returnTransactionSchema>;
|
|
1165
|
+
interface ReturnReasonCode {
|
|
1166
|
+
value: string;
|
|
1167
|
+
label: string;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
interface CancelTransactionDialogProps {
|
|
1171
|
+
transactionId: string;
|
|
1172
|
+
open: boolean;
|
|
1173
|
+
onOpenChange: (open: boolean) => void;
|
|
1174
|
+
onCancel: (data: CancelTransactionFormData) => Promise<void>;
|
|
1175
|
+
}
|
|
1176
|
+
declare const CancelTransactionDialog: ({ transactionId, open, onOpenChange, onCancel, }: CancelTransactionDialogProps) => react_jsx_runtime.JSX.Element;
|
|
1177
|
+
|
|
1178
|
+
interface ReturnTransactionDialogProps {
|
|
1179
|
+
transactionId: string;
|
|
1180
|
+
open: boolean;
|
|
1181
|
+
onOpenChange: (open: boolean) => void;
|
|
1182
|
+
onReturn: (data: ReturnTransactionFormData) => Promise<void>;
|
|
1183
|
+
reasonCodes: ReturnReasonCode[];
|
|
1184
|
+
}
|
|
1185
|
+
declare function ReturnTransactionDialog({ transactionId, open, onOpenChange, onReturn, reasonCodes, }: ReturnTransactionDialogProps): react_jsx_runtime.JSX.Element;
|
|
1186
|
+
|
|
1072
1187
|
interface AccountCardProps {
|
|
1073
1188
|
account: {
|
|
1074
1189
|
id: string;
|
|
@@ -1088,7 +1203,7 @@ interface AccountCardProps {
|
|
|
1088
1203
|
declare const AccountCard: React$1.ForwardRefExoticComponent<AccountCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1089
1204
|
|
|
1090
1205
|
declare const badgeVariants: (props?: {
|
|
1091
|
-
variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "inbound" | "outbound" | "business" | "individual" | "government" | "nonprofit" | "corporation" | "llc" | "partnership" | "sole_proprietorship" | "active" | "inactive" | "pending" | "suspended" | "cip-active" | "cip-inactive" | "cip-pending" | "cip-secondary" | "alert-ofac" | "alert-dual" | "alert-monitoring" | "alert-error";
|
|
1206
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "inbound" | "outbound" | "business" | "individual" | "government" | "nonprofit" | "corporation" | "llc" | "partnership" | "sole_proprietorship" | "active" | "inactive" | "pending" | "suspended" | "cip-active" | "cip-inactive" | "cip-pending" | "cip-secondary" | "alert-ofac" | "alert-dual" | "alert-monitoring" | "alert-error" | "checking" | "savings" | "zero-balance" | "funding";
|
|
1092
1207
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1093
1208
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
1094
1209
|
}
|
|
@@ -1916,4 +2031,4 @@ declare function generateStatementCSV(header: StatementHeader, transactions: Sta
|
|
|
1916
2031
|
*/
|
|
1917
2032
|
declare function downloadCSV(content: string, filename: string): void;
|
|
1918
2033
|
|
|
1919
|
-
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, ADJUSTMENT_DIRECTION_OPTIONS, AccountCard, type AccountData, AccountDetail, Accounts, AddressForm, type AdjustmentTypeOption, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, BusinessDetail, BusinessDetailView, BusinessFiltersSheet, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartiesView, CounterpartyBasicInfo, type CounterpartyData, CounterpartyDetail, CounterpartyDetailView, CounterpartyProfileCard, CounterpartyRecordsCard, type CounterpartySearchResult, CounterpartyTypeBadge, type CounterpartyWithEntity, CreateBusiness, CreateBusinessView, CreateCounterparty, CreateCounterpartyView, CreateIndividual, CreateVelocityLimit, Dashboard, DashboardDemo, DataGrid, type DataGridItem, type DataGridSection, DataTable, type DataTableColumn, type DataTableProps, DetailPageLayout, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EditableFormCard, EditableInfoField, EnhancedInput, EnhancedSelect, EnhancedTextarea, EntityCard, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, Individuals, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, type NewTransactionFormValues, NewTransactionView, NotFound, OFACAlertView, type OFACAlertViewProps, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ReconExceptions, ReconUpload, ResolveAlertDialog, ResponsiveGrid, ScrollArea, ScrollBar, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Stack, Statement, type StatementHeader, type StatementTransaction, StatementView, StatusBadge, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransactionDetail, TransactionHistory, TransactionTypeBadge, type TransactionTypeOption, UIKit, UIKitShowcase, type UseAlertDetailReturn, VelocityLimitDetail, VelocityLimits, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, newTransactionSchema, reducer, textareaVariants, toast, useAlertDetail, useCounterpartyEntity, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
|
|
2034
|
+
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, ADJUSTMENT_DIRECTION_OPTIONS, AccountCard, type AccountData, AccountDetail, Accounts, AddressForm, type AdjustmentTypeOption, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, BusinessDetail, BusinessDetailView, BusinessFiltersSheet, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, CancelTransactionDialog, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartiesView, CounterpartyBasicInfo, type CounterpartyData, CounterpartyDetail, CounterpartyDetailView, CounterpartyProfileCard, CounterpartyRecordsCard, type CounterpartySearchResult, CounterpartyTypeBadge, type CounterpartyWithEntity, CreateBusiness, CreateBusinessView, CreateCounterparty, CreateCounterpartyView, CreateIndividual, CreateVelocityLimit, Dashboard, DashboardDemo, DataGrid, type DataGridItem, type DataGridSection, DataTable, type DataTableColumn, type DataTableProps, DetailPageLayout, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EditableFormCard, EditableInfoField, EnhancedInput, EnhancedSelect, EnhancedTextarea, EntityCard, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, Individuals, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, type NewTransactionFormValues, NewTransactionView, NotFound, OFACAlertView, type OFACAlertViewProps, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ReconExceptions, ReconUpload, ResolveAlertDialog, ResponsiveGrid, ReturnTransactionDialog, ScrollArea, ScrollBar, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Stack, Statement, type StatementHeader, type StatementTransaction, StatementView, StatusBadge, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransactionDetail, TransactionDetailView, type TransactionDetailViewProps, TransactionHistory, type TransactionHistoryFilters, TransactionHistoryFiltersSheet, TransactionHistoryView, TransactionTypeBadge, type TransactionTypeOption, UIKit, UIKitShowcase, type UseAlertDetailReturn, VelocityLimitDetail, VelocityLimits, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, newTransactionSchema, reducer, textareaVariants, toast, useAlertDetail, useCounterpartyEntity, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
|