braid-ui 1.0.109 → 1.0.110
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 +0 -4
- 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 +33 -21
- package/dist/index.d.ts +33 -21
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -18,7 +18,7 @@ import { Toaster as Toaster$1 } from 'sonner';
|
|
|
18
18
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
19
19
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
20
20
|
|
|
21
|
-
interface TimelineEvent {
|
|
21
|
+
interface TimelineEvent$1 {
|
|
22
22
|
id: string;
|
|
23
23
|
timestamp: string;
|
|
24
24
|
user: string;
|
|
@@ -53,7 +53,7 @@ interface Alert {
|
|
|
53
53
|
description: string;
|
|
54
54
|
contextId?: string;
|
|
55
55
|
assignee?: string;
|
|
56
|
-
timeline?: TimelineEvent[];
|
|
56
|
+
timeline?: TimelineEvent$1[];
|
|
57
57
|
notes?: AlertNote[];
|
|
58
58
|
documents?: AlertDocument[];
|
|
59
59
|
contextData?: any;
|
|
@@ -87,7 +87,7 @@ interface AlertNotesProps {
|
|
|
87
87
|
declare const AlertNotes: ({ alertId, notes }: AlertNotesProps) => react_jsx_runtime.JSX.Element;
|
|
88
88
|
|
|
89
89
|
interface AlertTimelineProps {
|
|
90
|
-
events: TimelineEvent[];
|
|
90
|
+
events: TimelineEvent$1[];
|
|
91
91
|
}
|
|
92
92
|
declare const AlertTimeline: ({ events }: AlertTimelineProps) => react_jsx_runtime.JSX.Element;
|
|
93
93
|
|
|
@@ -124,6 +124,17 @@ interface MainLayoutProps {
|
|
|
124
124
|
}
|
|
125
125
|
declare const MainLayout: ({ children }: MainLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
126
126
|
|
|
127
|
+
interface TimelineEvent {
|
|
128
|
+
id: string;
|
|
129
|
+
action: string;
|
|
130
|
+
timestamp: string;
|
|
131
|
+
}
|
|
132
|
+
interface BusinessTimelineCardProps {
|
|
133
|
+
timeline: TimelineEvent[];
|
|
134
|
+
className?: string;
|
|
135
|
+
}
|
|
136
|
+
declare const BusinessTimelineCard: ({ timeline, className }: BusinessTimelineCardProps) => react_jsx_runtime.JSX.Element;
|
|
137
|
+
|
|
127
138
|
interface UBO {
|
|
128
139
|
id: string;
|
|
129
140
|
name: string;
|
|
@@ -216,9 +227,9 @@ declare const uboSchema: z.ZodObject<{
|
|
|
216
227
|
type UBOFormData = z.infer<typeof uboSchema>;
|
|
217
228
|
|
|
218
229
|
declare const accountSchema: z.ZodObject<{
|
|
219
|
-
|
|
220
|
-
accountNumber: z.ZodOptional<z.ZodString>;
|
|
230
|
+
accountName: z.ZodOptional<z.ZodString>;
|
|
221
231
|
accountType: z.ZodOptional<z.ZodString>;
|
|
232
|
+
fundingAccountNumber: z.ZodOptional<z.ZodString>;
|
|
222
233
|
}, z.core.$strip>;
|
|
223
234
|
type AccountFormData = z.infer<typeof accountSchema>;
|
|
224
235
|
|
|
@@ -248,6 +259,7 @@ interface BusinessDetailViewProps {
|
|
|
248
259
|
latestOFAC?: OFACCheck;
|
|
249
260
|
onNavigateToOFAC?: (ofacCheckId?: string) => void;
|
|
250
261
|
showTimeline?: boolean;
|
|
262
|
+
timeline?: TimelineEvent[];
|
|
251
263
|
businessUBOs: UBO[];
|
|
252
264
|
businessDocuments: BusinessDocument[];
|
|
253
265
|
businessAccounts: BusinessAccount$1[];
|
|
@@ -281,7 +293,7 @@ interface BusinessDetailViewProps {
|
|
|
281
293
|
revealedIdNumber?: string | null;
|
|
282
294
|
onProductIdClick?: (productId: number) => void;
|
|
283
295
|
}
|
|
284
|
-
declare const BusinessDetailView: ({ business, businessProfile, identityVerification, latestOFAC, onNavigateToOFAC, showTimeline, businessUBOs, businessDocuments, businessAccounts, currentStatus, isEditingProfile, statusOptions, businessEntityTypeOptions, onStatusChange, onProfileDataChange, onToggleProfileEdit, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, onAddAccount, onDeleteAccount, onUBOClick, onAddUBO, onRemoveUBO, onDocumentUpload, onDocumentDelete, renderDocumentViewer, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, onProductIdClick, }: BusinessDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
296
|
+
declare const BusinessDetailView: ({ business, businessProfile, identityVerification, latestOFAC, onNavigateToOFAC, showTimeline, timeline, businessUBOs, businessDocuments, businessAccounts, currentStatus, isEditingProfile, statusOptions, businessEntityTypeOptions, onStatusChange, onProfileDataChange, onToggleProfileEdit, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, onAddAccount, onDeleteAccount, onUBOClick, onAddUBO, onRemoveUBO, onDocumentUpload, onDocumentDelete, renderDocumentViewer, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, onProductIdClick, }: BusinessDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
285
297
|
|
|
286
298
|
interface BusinessFilters {
|
|
287
299
|
businessId: string;
|
|
@@ -543,13 +555,14 @@ interface IndividualsViewProps {
|
|
|
543
555
|
value: string;
|
|
544
556
|
label: string;
|
|
545
557
|
}[];
|
|
558
|
+
isLoading?: boolean;
|
|
546
559
|
onFilterChange: (field: keyof IndividualsFilters, value: string | Date | undefined) => void;
|
|
547
560
|
onResetFilters: () => void;
|
|
548
561
|
onApplyFilters: () => void;
|
|
549
562
|
onCreateIndividual: () => void;
|
|
550
563
|
table: React.ReactNode;
|
|
551
564
|
}
|
|
552
|
-
declare const IndividualsView: ({ title, filters, statusOptions, onFilterChange, onResetFilters, onApplyFilters, onCreateIndividual, table, }: IndividualsViewProps) => react_jsx_runtime.JSX.Element;
|
|
565
|
+
declare const IndividualsView: ({ title, filters, statusOptions, isLoading, onFilterChange, onResetFilters, onApplyFilters, onCreateIndividual, table, }: IndividualsViewProps) => react_jsx_runtime.JSX.Element;
|
|
553
566
|
|
|
554
567
|
declare const individualProfileEditSchema: z.ZodObject<{
|
|
555
568
|
firstName: z.ZodOptional<z.ZodString>;
|
|
@@ -571,11 +584,16 @@ declare const individualProfileEditSchema: z.ZodObject<{
|
|
|
571
584
|
}, z.core.$strip>;
|
|
572
585
|
type IndividualProfileEdit = z.infer<typeof individualProfileEditSchema>;
|
|
573
586
|
|
|
587
|
+
interface IndividualTimelineEvent {
|
|
588
|
+
id: string;
|
|
589
|
+
action: string;
|
|
590
|
+
timestamp: string;
|
|
591
|
+
}
|
|
592
|
+
|
|
574
593
|
declare const externalAccountSchema: z.ZodObject<{
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
bankAccountType: z.ZodOptional<z.ZodString>;
|
|
594
|
+
accountName: z.ZodOptional<z.ZodString>;
|
|
595
|
+
accountType: z.ZodOptional<z.ZodString>;
|
|
596
|
+
fundingAccountNumber: z.ZodOptional<z.ZodString>;
|
|
579
597
|
}, z.core.$strip>;
|
|
580
598
|
type ExternalAccountFormData = z.infer<typeof externalAccountSchema>;
|
|
581
599
|
|
|
@@ -603,6 +621,7 @@ interface IndividualDetailViewProps {
|
|
|
603
621
|
onCreateCounterparty: () => void;
|
|
604
622
|
onNavigateToTransactions: () => void;
|
|
605
623
|
showTimeline?: boolean;
|
|
624
|
+
timeline?: IndividualTimelineEvent[];
|
|
606
625
|
profileIsEditing: boolean;
|
|
607
626
|
onToggleProfileEdit: () => void;
|
|
608
627
|
onProductIdClick?: (productId: string) => void;
|
|
@@ -624,7 +643,7 @@ interface IndividualDetailViewProps {
|
|
|
624
643
|
onDocumentDelete?: (documentId: string) => Promise<void | boolean> | void | boolean;
|
|
625
644
|
renderDocumentViewer?: (document: BusinessDocument) => React.ReactNode;
|
|
626
645
|
}
|
|
627
|
-
declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, showTimeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
646
|
+
declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, showTimeline, timeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
628
647
|
|
|
629
648
|
type CreateIndividualViewForm = {
|
|
630
649
|
handleSubmit: (onValid: any) => (e?: any) => void;
|
|
@@ -771,13 +790,6 @@ interface BusinessProfileCardProps {
|
|
|
771
790
|
}
|
|
772
791
|
declare const BusinessProfileCard: ({ data, businessId, identityVerification, onDataChange, isEditing, onToggleEdit, className, hideActions, onProductIdClick, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, businessEntityTypeOptions }: BusinessProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
773
792
|
|
|
774
|
-
interface BusinessStatusCardProps {
|
|
775
|
-
isEditing?: boolean;
|
|
776
|
-
onToggleEdit?: () => void;
|
|
777
|
-
className?: string;
|
|
778
|
-
}
|
|
779
|
-
declare const BusinessStatusCard: ({ isEditing, onToggleEdit, className }: BusinessStatusCardProps) => react_jsx_runtime.JSX.Element;
|
|
780
|
-
|
|
781
793
|
interface ContactInfoCardProps {
|
|
782
794
|
isEditing?: boolean;
|
|
783
795
|
onToggleEdit?: () => void;
|
|
@@ -1285,7 +1297,7 @@ interface TransactionData {
|
|
|
1285
1297
|
}
|
|
1286
1298
|
interface TransactionDetailViewProps {
|
|
1287
1299
|
transaction?: TransactionData | null;
|
|
1288
|
-
timelineEvents: TimelineEvent[];
|
|
1300
|
+
timelineEvents: TimelineEvent$1[];
|
|
1289
1301
|
isWireTransfer: boolean;
|
|
1290
1302
|
isACHTransfer: boolean;
|
|
1291
1303
|
showCancelButton: boolean;
|
|
@@ -2124,4 +2136,4 @@ declare function generateStatementCSV(header: StatementHeader, transactions: Sta
|
|
|
2124
2136
|
*/
|
|
2125
2137
|
declare function downloadCSV(content: string, filename: string): void;
|
|
2126
2138
|
|
|
2127
|
-
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, ADJUSTMENT_DIRECTION_OPTIONS, AccountCard, type AccountData, AccountDetail, AccountDetailView, type AccountFormValues, AccountTypeBadge, Accounts, AccountsView, 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,
|
|
2139
|
+
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, ADJUSTMENT_DIRECTION_OPTIONS, AccountCard, type AccountData, AccountDetail, AccountDetailView, type AccountFormValues, AccountTypeBadge, Accounts, AccountsView, 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, BusinessTimelineCard, 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, CreateFeeView, type CreateFeeViewProps, CreateIndividual, CreateIndividualView, 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, FeeDetailView, Fees, FeesView, type FilterOptions, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, IndividualDetailView, Individuals, IndividualsView, 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, type SelectOption, 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, type TimelineEvent, 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
|
@@ -18,7 +18,7 @@ import { Toaster as Toaster$1 } from 'sonner';
|
|
|
18
18
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
19
19
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
20
20
|
|
|
21
|
-
interface TimelineEvent {
|
|
21
|
+
interface TimelineEvent$1 {
|
|
22
22
|
id: string;
|
|
23
23
|
timestamp: string;
|
|
24
24
|
user: string;
|
|
@@ -53,7 +53,7 @@ interface Alert {
|
|
|
53
53
|
description: string;
|
|
54
54
|
contextId?: string;
|
|
55
55
|
assignee?: string;
|
|
56
|
-
timeline?: TimelineEvent[];
|
|
56
|
+
timeline?: TimelineEvent$1[];
|
|
57
57
|
notes?: AlertNote[];
|
|
58
58
|
documents?: AlertDocument[];
|
|
59
59
|
contextData?: any;
|
|
@@ -87,7 +87,7 @@ interface AlertNotesProps {
|
|
|
87
87
|
declare const AlertNotes: ({ alertId, notes }: AlertNotesProps) => react_jsx_runtime.JSX.Element;
|
|
88
88
|
|
|
89
89
|
interface AlertTimelineProps {
|
|
90
|
-
events: TimelineEvent[];
|
|
90
|
+
events: TimelineEvent$1[];
|
|
91
91
|
}
|
|
92
92
|
declare const AlertTimeline: ({ events }: AlertTimelineProps) => react_jsx_runtime.JSX.Element;
|
|
93
93
|
|
|
@@ -124,6 +124,17 @@ interface MainLayoutProps {
|
|
|
124
124
|
}
|
|
125
125
|
declare const MainLayout: ({ children }: MainLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
126
126
|
|
|
127
|
+
interface TimelineEvent {
|
|
128
|
+
id: string;
|
|
129
|
+
action: string;
|
|
130
|
+
timestamp: string;
|
|
131
|
+
}
|
|
132
|
+
interface BusinessTimelineCardProps {
|
|
133
|
+
timeline: TimelineEvent[];
|
|
134
|
+
className?: string;
|
|
135
|
+
}
|
|
136
|
+
declare const BusinessTimelineCard: ({ timeline, className }: BusinessTimelineCardProps) => react_jsx_runtime.JSX.Element;
|
|
137
|
+
|
|
127
138
|
interface UBO {
|
|
128
139
|
id: string;
|
|
129
140
|
name: string;
|
|
@@ -216,9 +227,9 @@ declare const uboSchema: z.ZodObject<{
|
|
|
216
227
|
type UBOFormData = z.infer<typeof uboSchema>;
|
|
217
228
|
|
|
218
229
|
declare const accountSchema: z.ZodObject<{
|
|
219
|
-
|
|
220
|
-
accountNumber: z.ZodOptional<z.ZodString>;
|
|
230
|
+
accountName: z.ZodOptional<z.ZodString>;
|
|
221
231
|
accountType: z.ZodOptional<z.ZodString>;
|
|
232
|
+
fundingAccountNumber: z.ZodOptional<z.ZodString>;
|
|
222
233
|
}, z.core.$strip>;
|
|
223
234
|
type AccountFormData = z.infer<typeof accountSchema>;
|
|
224
235
|
|
|
@@ -248,6 +259,7 @@ interface BusinessDetailViewProps {
|
|
|
248
259
|
latestOFAC?: OFACCheck;
|
|
249
260
|
onNavigateToOFAC?: (ofacCheckId?: string) => void;
|
|
250
261
|
showTimeline?: boolean;
|
|
262
|
+
timeline?: TimelineEvent[];
|
|
251
263
|
businessUBOs: UBO[];
|
|
252
264
|
businessDocuments: BusinessDocument[];
|
|
253
265
|
businessAccounts: BusinessAccount$1[];
|
|
@@ -281,7 +293,7 @@ interface BusinessDetailViewProps {
|
|
|
281
293
|
revealedIdNumber?: string | null;
|
|
282
294
|
onProductIdClick?: (productId: number) => void;
|
|
283
295
|
}
|
|
284
|
-
declare const BusinessDetailView: ({ business, businessProfile, identityVerification, latestOFAC, onNavigateToOFAC, showTimeline, businessUBOs, businessDocuments, businessAccounts, currentStatus, isEditingProfile, statusOptions, businessEntityTypeOptions, onStatusChange, onProfileDataChange, onToggleProfileEdit, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, onAddAccount, onDeleteAccount, onUBOClick, onAddUBO, onRemoveUBO, onDocumentUpload, onDocumentDelete, renderDocumentViewer, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, onProductIdClick, }: BusinessDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
296
|
+
declare const BusinessDetailView: ({ business, businessProfile, identityVerification, latestOFAC, onNavigateToOFAC, showTimeline, timeline, businessUBOs, businessDocuments, businessAccounts, currentStatus, isEditingProfile, statusOptions, businessEntityTypeOptions, onStatusChange, onProfileDataChange, onToggleProfileEdit, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, onAddAccount, onDeleteAccount, onUBOClick, onAddUBO, onRemoveUBO, onDocumentUpload, onDocumentDelete, renderDocumentViewer, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, onProductIdClick, }: BusinessDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
285
297
|
|
|
286
298
|
interface BusinessFilters {
|
|
287
299
|
businessId: string;
|
|
@@ -543,13 +555,14 @@ interface IndividualsViewProps {
|
|
|
543
555
|
value: string;
|
|
544
556
|
label: string;
|
|
545
557
|
}[];
|
|
558
|
+
isLoading?: boolean;
|
|
546
559
|
onFilterChange: (field: keyof IndividualsFilters, value: string | Date | undefined) => void;
|
|
547
560
|
onResetFilters: () => void;
|
|
548
561
|
onApplyFilters: () => void;
|
|
549
562
|
onCreateIndividual: () => void;
|
|
550
563
|
table: React.ReactNode;
|
|
551
564
|
}
|
|
552
|
-
declare const IndividualsView: ({ title, filters, statusOptions, onFilterChange, onResetFilters, onApplyFilters, onCreateIndividual, table, }: IndividualsViewProps) => react_jsx_runtime.JSX.Element;
|
|
565
|
+
declare const IndividualsView: ({ title, filters, statusOptions, isLoading, onFilterChange, onResetFilters, onApplyFilters, onCreateIndividual, table, }: IndividualsViewProps) => react_jsx_runtime.JSX.Element;
|
|
553
566
|
|
|
554
567
|
declare const individualProfileEditSchema: z.ZodObject<{
|
|
555
568
|
firstName: z.ZodOptional<z.ZodString>;
|
|
@@ -571,11 +584,16 @@ declare const individualProfileEditSchema: z.ZodObject<{
|
|
|
571
584
|
}, z.core.$strip>;
|
|
572
585
|
type IndividualProfileEdit = z.infer<typeof individualProfileEditSchema>;
|
|
573
586
|
|
|
587
|
+
interface IndividualTimelineEvent {
|
|
588
|
+
id: string;
|
|
589
|
+
action: string;
|
|
590
|
+
timestamp: string;
|
|
591
|
+
}
|
|
592
|
+
|
|
574
593
|
declare const externalAccountSchema: z.ZodObject<{
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
bankAccountType: z.ZodOptional<z.ZodString>;
|
|
594
|
+
accountName: z.ZodOptional<z.ZodString>;
|
|
595
|
+
accountType: z.ZodOptional<z.ZodString>;
|
|
596
|
+
fundingAccountNumber: z.ZodOptional<z.ZodString>;
|
|
579
597
|
}, z.core.$strip>;
|
|
580
598
|
type ExternalAccountFormData = z.infer<typeof externalAccountSchema>;
|
|
581
599
|
|
|
@@ -603,6 +621,7 @@ interface IndividualDetailViewProps {
|
|
|
603
621
|
onCreateCounterparty: () => void;
|
|
604
622
|
onNavigateToTransactions: () => void;
|
|
605
623
|
showTimeline?: boolean;
|
|
624
|
+
timeline?: IndividualTimelineEvent[];
|
|
606
625
|
profileIsEditing: boolean;
|
|
607
626
|
onToggleProfileEdit: () => void;
|
|
608
627
|
onProductIdClick?: (productId: string) => void;
|
|
@@ -624,7 +643,7 @@ interface IndividualDetailViewProps {
|
|
|
624
643
|
onDocumentDelete?: (documentId: string) => Promise<void | boolean> | void | boolean;
|
|
625
644
|
renderDocumentViewer?: (document: BusinessDocument) => React.ReactNode;
|
|
626
645
|
}
|
|
627
|
-
declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, showTimeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
646
|
+
declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, showTimeline, timeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
628
647
|
|
|
629
648
|
type CreateIndividualViewForm = {
|
|
630
649
|
handleSubmit: (onValid: any) => (e?: any) => void;
|
|
@@ -771,13 +790,6 @@ interface BusinessProfileCardProps {
|
|
|
771
790
|
}
|
|
772
791
|
declare const BusinessProfileCard: ({ data, businessId, identityVerification, onDataChange, isEditing, onToggleEdit, className, hideActions, onProductIdClick, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, businessEntityTypeOptions }: BusinessProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
773
792
|
|
|
774
|
-
interface BusinessStatusCardProps {
|
|
775
|
-
isEditing?: boolean;
|
|
776
|
-
onToggleEdit?: () => void;
|
|
777
|
-
className?: string;
|
|
778
|
-
}
|
|
779
|
-
declare const BusinessStatusCard: ({ isEditing, onToggleEdit, className }: BusinessStatusCardProps) => react_jsx_runtime.JSX.Element;
|
|
780
|
-
|
|
781
793
|
interface ContactInfoCardProps {
|
|
782
794
|
isEditing?: boolean;
|
|
783
795
|
onToggleEdit?: () => void;
|
|
@@ -1285,7 +1297,7 @@ interface TransactionData {
|
|
|
1285
1297
|
}
|
|
1286
1298
|
interface TransactionDetailViewProps {
|
|
1287
1299
|
transaction?: TransactionData | null;
|
|
1288
|
-
timelineEvents: TimelineEvent[];
|
|
1300
|
+
timelineEvents: TimelineEvent$1[];
|
|
1289
1301
|
isWireTransfer: boolean;
|
|
1290
1302
|
isACHTransfer: boolean;
|
|
1291
1303
|
showCancelButton: boolean;
|
|
@@ -2124,4 +2136,4 @@ declare function generateStatementCSV(header: StatementHeader, transactions: Sta
|
|
|
2124
2136
|
*/
|
|
2125
2137
|
declare function downloadCSV(content: string, filename: string): void;
|
|
2126
2138
|
|
|
2127
|
-
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, ADJUSTMENT_DIRECTION_OPTIONS, AccountCard, type AccountData, AccountDetail, AccountDetailView, type AccountFormValues, AccountTypeBadge, Accounts, AccountsView, 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,
|
|
2139
|
+
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, ADJUSTMENT_DIRECTION_OPTIONS, AccountCard, type AccountData, AccountDetail, AccountDetailView, type AccountFormValues, AccountTypeBadge, Accounts, AccountsView, 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, BusinessTimelineCard, 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, CreateFeeView, type CreateFeeViewProps, CreateIndividual, CreateIndividualView, 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, FeeDetailView, Fees, FeesView, type FilterOptions, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, IndividualDetailView, Individuals, IndividualsView, 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, type SelectOption, 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, type TimelineEvent, 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 };
|