braid-ui 1.0.48 → 1.0.50
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 +10 -2
- package/dist/css/braid-ui.min.css +1 -1
- package/dist/index.cjs +756 -447
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +179 -1
- package/dist/index.d.ts +179 -1
- package/dist/index.js +754 -450
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5,6 +5,7 @@ import React__default, { ReactNode } from 'react';
|
|
|
5
5
|
import { UseFormReturn, FieldValues, FieldPath, UseFormProps, Path } from 'react-hook-form';
|
|
6
6
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
7
7
|
import { VariantProps } from 'class-variance-authority';
|
|
8
|
+
import * as lucide_react from 'lucide-react';
|
|
8
9
|
import { DayPicker } from 'react-day-picker';
|
|
9
10
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
10
11
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
@@ -971,6 +972,92 @@ interface WireDetailsSectionProps {
|
|
|
971
972
|
}
|
|
972
973
|
declare const WireDetailsSection: ({ data }: WireDetailsSectionProps) => react_jsx_runtime.JSX.Element;
|
|
973
974
|
|
|
975
|
+
interface AccountData {
|
|
976
|
+
accountNumber: string;
|
|
977
|
+
accountName: string;
|
|
978
|
+
accountType: string;
|
|
979
|
+
balance: string;
|
|
980
|
+
customerName: string;
|
|
981
|
+
customerId: string;
|
|
982
|
+
customerType: string;
|
|
983
|
+
}
|
|
984
|
+
interface CounterpartyData {
|
|
985
|
+
counterpartyName: string;
|
|
986
|
+
counterpartyId: string;
|
|
987
|
+
counterpartyType: string;
|
|
988
|
+
status: string;
|
|
989
|
+
taxId: string;
|
|
990
|
+
primaryContact: string;
|
|
991
|
+
contactEmail: string;
|
|
992
|
+
contactPhone: string;
|
|
993
|
+
address: string;
|
|
994
|
+
paymentInstrumentType: string;
|
|
995
|
+
}
|
|
996
|
+
interface CounterpartySearchResult {
|
|
997
|
+
id: string;
|
|
998
|
+
name: string;
|
|
999
|
+
type: string;
|
|
1000
|
+
paymentInstrumentType: string;
|
|
1001
|
+
}
|
|
1002
|
+
interface NewTransactionFormValues {
|
|
1003
|
+
transactionType: string;
|
|
1004
|
+
accountNumber: string;
|
|
1005
|
+
counterpartyName?: string;
|
|
1006
|
+
amount: string;
|
|
1007
|
+
description?: string;
|
|
1008
|
+
certifyInformation: boolean;
|
|
1009
|
+
adjustmentDirection?: string;
|
|
1010
|
+
adjustmentType?: string;
|
|
1011
|
+
receiverAccountNumber?: string;
|
|
1012
|
+
}
|
|
1013
|
+
declare const TRANSACTION_TYPES: {
|
|
1014
|
+
value: string;
|
|
1015
|
+
label: string;
|
|
1016
|
+
icon: React$1.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React$1.RefAttributes<SVGSVGElement>>;
|
|
1017
|
+
}[];
|
|
1018
|
+
declare const ADJUSTMENT_DIRECTION_OPTIONS: {
|
|
1019
|
+
value: string;
|
|
1020
|
+
label: string;
|
|
1021
|
+
}[];
|
|
1022
|
+
declare const ADJUSTMENT_TYPE_OPTIONS: {
|
|
1023
|
+
value: string;
|
|
1024
|
+
label: string;
|
|
1025
|
+
}[];
|
|
1026
|
+
interface NewTransactionViewProps {
|
|
1027
|
+
form: UseFormReturn<NewTransactionFormValues>;
|
|
1028
|
+
accountLookedUp: boolean;
|
|
1029
|
+
accountData: AccountData | null;
|
|
1030
|
+
counterpartyLookedUp: boolean;
|
|
1031
|
+
counterpartyData: CounterpartyData | null;
|
|
1032
|
+
confirmationOpen: boolean;
|
|
1033
|
+
submissionStatus: "success" | "error" | null;
|
|
1034
|
+
errorMessage: string;
|
|
1035
|
+
transactionId: string;
|
|
1036
|
+
isAccountLoading: boolean;
|
|
1037
|
+
isCounterpartyLoading: boolean;
|
|
1038
|
+
isSubmitting: boolean;
|
|
1039
|
+
counterpartySearchResults: CounterpartySearchResult[];
|
|
1040
|
+
isCounterpartySearching: boolean;
|
|
1041
|
+
showCounterpartyDropdown: boolean;
|
|
1042
|
+
onAccountLookup: () => void;
|
|
1043
|
+
onEditAccount: () => void;
|
|
1044
|
+
onEditCounterparty: () => void;
|
|
1045
|
+
onTransactionTypeChange: (type: string) => void;
|
|
1046
|
+
onSubmit: () => void;
|
|
1047
|
+
onCancel: () => void;
|
|
1048
|
+
onConfirmationClose: () => void;
|
|
1049
|
+
onConfirmationOpenChange: (open: boolean) => void;
|
|
1050
|
+
onCounterpartySearchChange: (value: string) => void;
|
|
1051
|
+
onCounterpartySelect: (result: CounterpartySearchResult) => void;
|
|
1052
|
+
onCounterpartyDropdownClose: () => void;
|
|
1053
|
+
receiverAccountLookedUp: boolean;
|
|
1054
|
+
receiverAccountData: AccountData | null;
|
|
1055
|
+
isReceiverAccountLoading: boolean;
|
|
1056
|
+
onReceiverAccountLookup: () => void;
|
|
1057
|
+
onEditReceiverAccount: () => void;
|
|
1058
|
+
}
|
|
1059
|
+
declare const NewTransactionView: ({ form, accountLookedUp, accountData, counterpartyLookedUp, counterpartyData, confirmationOpen, submissionStatus, errorMessage, transactionId, isAccountLoading, isCounterpartyLoading, isSubmitting, counterpartySearchResults, isCounterpartySearching, showCounterpartyDropdown, onAccountLookup, onEditAccount, onEditCounterparty, onTransactionTypeChange, onSubmit, onCancel, onConfirmationClose, onConfirmationOpenChange, onCounterpartySearchChange, onCounterpartySelect, onCounterpartyDropdownClose, receiverAccountLookedUp, receiverAccountData, isReceiverAccountLoading, onReceiverAccountLookup, onEditReceiverAccount, }: NewTransactionViewProps) => react_jsx_runtime.JSX.Element;
|
|
1060
|
+
|
|
974
1061
|
interface AccountCardProps {
|
|
975
1062
|
account: {
|
|
976
1063
|
id: string;
|
|
@@ -1699,6 +1786,97 @@ declare function Statement(): react_jsx_runtime.JSX.Element;
|
|
|
1699
1786
|
|
|
1700
1787
|
declare const TransactionHistory: () => react_jsx_runtime.JSX.Element;
|
|
1701
1788
|
|
|
1789
|
+
declare const newTransactionSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1790
|
+
transactionType: z.ZodString;
|
|
1791
|
+
accountNumber: z.ZodString;
|
|
1792
|
+
counterpartyName: z.ZodOptional<z.ZodString>;
|
|
1793
|
+
amount: z.ZodString;
|
|
1794
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1795
|
+
certifyInformation: z.ZodEffects<z.ZodBoolean, boolean, boolean>;
|
|
1796
|
+
adjustmentDirection: z.ZodOptional<z.ZodString>;
|
|
1797
|
+
adjustmentType: z.ZodOptional<z.ZodString>;
|
|
1798
|
+
receiverAccountNumber: z.ZodOptional<z.ZodString>;
|
|
1799
|
+
}, "strip", z.ZodTypeAny, {
|
|
1800
|
+
description?: string;
|
|
1801
|
+
counterpartyName?: string;
|
|
1802
|
+
accountNumber?: string;
|
|
1803
|
+
transactionType?: string;
|
|
1804
|
+
amount?: string;
|
|
1805
|
+
certifyInformation?: boolean;
|
|
1806
|
+
adjustmentDirection?: string;
|
|
1807
|
+
adjustmentType?: string;
|
|
1808
|
+
receiverAccountNumber?: string;
|
|
1809
|
+
}, {
|
|
1810
|
+
description?: string;
|
|
1811
|
+
counterpartyName?: string;
|
|
1812
|
+
accountNumber?: string;
|
|
1813
|
+
transactionType?: string;
|
|
1814
|
+
amount?: string;
|
|
1815
|
+
certifyInformation?: boolean;
|
|
1816
|
+
adjustmentDirection?: string;
|
|
1817
|
+
adjustmentType?: string;
|
|
1818
|
+
receiverAccountNumber?: string;
|
|
1819
|
+
}>, {
|
|
1820
|
+
description?: string;
|
|
1821
|
+
counterpartyName?: string;
|
|
1822
|
+
accountNumber?: string;
|
|
1823
|
+
transactionType?: string;
|
|
1824
|
+
amount?: string;
|
|
1825
|
+
certifyInformation?: boolean;
|
|
1826
|
+
adjustmentDirection?: string;
|
|
1827
|
+
adjustmentType?: string;
|
|
1828
|
+
receiverAccountNumber?: string;
|
|
1829
|
+
}, {
|
|
1830
|
+
description?: string;
|
|
1831
|
+
counterpartyName?: string;
|
|
1832
|
+
accountNumber?: string;
|
|
1833
|
+
transactionType?: string;
|
|
1834
|
+
amount?: string;
|
|
1835
|
+
certifyInformation?: boolean;
|
|
1836
|
+
adjustmentDirection?: string;
|
|
1837
|
+
adjustmentType?: string;
|
|
1838
|
+
receiverAccountNumber?: string;
|
|
1839
|
+
}>, {
|
|
1840
|
+
description?: string;
|
|
1841
|
+
counterpartyName?: string;
|
|
1842
|
+
accountNumber?: string;
|
|
1843
|
+
transactionType?: string;
|
|
1844
|
+
amount?: string;
|
|
1845
|
+
certifyInformation?: boolean;
|
|
1846
|
+
adjustmentDirection?: string;
|
|
1847
|
+
adjustmentType?: string;
|
|
1848
|
+
receiverAccountNumber?: string;
|
|
1849
|
+
}, {
|
|
1850
|
+
description?: string;
|
|
1851
|
+
counterpartyName?: string;
|
|
1852
|
+
accountNumber?: string;
|
|
1853
|
+
transactionType?: string;
|
|
1854
|
+
amount?: string;
|
|
1855
|
+
certifyInformation?: boolean;
|
|
1856
|
+
adjustmentDirection?: string;
|
|
1857
|
+
adjustmentType?: string;
|
|
1858
|
+
receiverAccountNumber?: string;
|
|
1859
|
+
}>, {
|
|
1860
|
+
description?: string;
|
|
1861
|
+
counterpartyName?: string;
|
|
1862
|
+
accountNumber?: string;
|
|
1863
|
+
transactionType?: string;
|
|
1864
|
+
amount?: string;
|
|
1865
|
+
certifyInformation?: boolean;
|
|
1866
|
+
adjustmentDirection?: string;
|
|
1867
|
+
adjustmentType?: string;
|
|
1868
|
+
receiverAccountNumber?: string;
|
|
1869
|
+
}, {
|
|
1870
|
+
description?: string;
|
|
1871
|
+
counterpartyName?: string;
|
|
1872
|
+
accountNumber?: string;
|
|
1873
|
+
transactionType?: string;
|
|
1874
|
+
amount?: string;
|
|
1875
|
+
certifyInformation?: boolean;
|
|
1876
|
+
adjustmentDirection?: string;
|
|
1877
|
+
adjustmentType?: string;
|
|
1878
|
+
receiverAccountNumber?: string;
|
|
1879
|
+
}>;
|
|
1702
1880
|
declare function NewTransaction(): react_jsx_runtime.JSX.Element;
|
|
1703
1881
|
|
|
1704
1882
|
declare const TransactionDetail: () => react_jsx_runtime.JSX.Element;
|
|
@@ -1724,4 +1902,4 @@ declare function generateStatementCSV(header: StatementHeader, transactions: Sta
|
|
|
1724
1902
|
*/
|
|
1725
1903
|
declare function downloadCSV(content: string, filename: string): void;
|
|
1726
1904
|
|
|
1727
|
-
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, AccountCard, AccountDetail, Accounts, AddressForm, 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, CounterpartyDetail, CounterpartyDetailView, CounterpartyProfileCard, CounterpartyRecordsCard, 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, 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, UIKit, UIKitShowcase, type UseAlertDetailReturn, VelocityLimitDetail, VelocityLimits, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, reducer, textareaVariants, toast, useAlertDetail, useCounterpartyEntity, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
|
|
1905
|
+
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, ADJUSTMENT_DIRECTION_OPTIONS, ADJUSTMENT_TYPE_OPTIONS, AccountCard, type AccountData, AccountDetail, Accounts, AddressForm, 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, TRANSACTION_TYPES, 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, 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
|
@@ -5,6 +5,7 @@ import React__default, { ReactNode } from 'react';
|
|
|
5
5
|
import { UseFormReturn, FieldValues, FieldPath, UseFormProps, Path } from 'react-hook-form';
|
|
6
6
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
7
7
|
import { VariantProps } from 'class-variance-authority';
|
|
8
|
+
import * as lucide_react from 'lucide-react';
|
|
8
9
|
import { DayPicker } from 'react-day-picker';
|
|
9
10
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
10
11
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
@@ -971,6 +972,92 @@ interface WireDetailsSectionProps {
|
|
|
971
972
|
}
|
|
972
973
|
declare const WireDetailsSection: ({ data }: WireDetailsSectionProps) => react_jsx_runtime.JSX.Element;
|
|
973
974
|
|
|
975
|
+
interface AccountData {
|
|
976
|
+
accountNumber: string;
|
|
977
|
+
accountName: string;
|
|
978
|
+
accountType: string;
|
|
979
|
+
balance: string;
|
|
980
|
+
customerName: string;
|
|
981
|
+
customerId: string;
|
|
982
|
+
customerType: string;
|
|
983
|
+
}
|
|
984
|
+
interface CounterpartyData {
|
|
985
|
+
counterpartyName: string;
|
|
986
|
+
counterpartyId: string;
|
|
987
|
+
counterpartyType: string;
|
|
988
|
+
status: string;
|
|
989
|
+
taxId: string;
|
|
990
|
+
primaryContact: string;
|
|
991
|
+
contactEmail: string;
|
|
992
|
+
contactPhone: string;
|
|
993
|
+
address: string;
|
|
994
|
+
paymentInstrumentType: string;
|
|
995
|
+
}
|
|
996
|
+
interface CounterpartySearchResult {
|
|
997
|
+
id: string;
|
|
998
|
+
name: string;
|
|
999
|
+
type: string;
|
|
1000
|
+
paymentInstrumentType: string;
|
|
1001
|
+
}
|
|
1002
|
+
interface NewTransactionFormValues {
|
|
1003
|
+
transactionType: string;
|
|
1004
|
+
accountNumber: string;
|
|
1005
|
+
counterpartyName?: string;
|
|
1006
|
+
amount: string;
|
|
1007
|
+
description?: string;
|
|
1008
|
+
certifyInformation: boolean;
|
|
1009
|
+
adjustmentDirection?: string;
|
|
1010
|
+
adjustmentType?: string;
|
|
1011
|
+
receiverAccountNumber?: string;
|
|
1012
|
+
}
|
|
1013
|
+
declare const TRANSACTION_TYPES: {
|
|
1014
|
+
value: string;
|
|
1015
|
+
label: string;
|
|
1016
|
+
icon: React$1.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React$1.RefAttributes<SVGSVGElement>>;
|
|
1017
|
+
}[];
|
|
1018
|
+
declare const ADJUSTMENT_DIRECTION_OPTIONS: {
|
|
1019
|
+
value: string;
|
|
1020
|
+
label: string;
|
|
1021
|
+
}[];
|
|
1022
|
+
declare const ADJUSTMENT_TYPE_OPTIONS: {
|
|
1023
|
+
value: string;
|
|
1024
|
+
label: string;
|
|
1025
|
+
}[];
|
|
1026
|
+
interface NewTransactionViewProps {
|
|
1027
|
+
form: UseFormReturn<NewTransactionFormValues>;
|
|
1028
|
+
accountLookedUp: boolean;
|
|
1029
|
+
accountData: AccountData | null;
|
|
1030
|
+
counterpartyLookedUp: boolean;
|
|
1031
|
+
counterpartyData: CounterpartyData | null;
|
|
1032
|
+
confirmationOpen: boolean;
|
|
1033
|
+
submissionStatus: "success" | "error" | null;
|
|
1034
|
+
errorMessage: string;
|
|
1035
|
+
transactionId: string;
|
|
1036
|
+
isAccountLoading: boolean;
|
|
1037
|
+
isCounterpartyLoading: boolean;
|
|
1038
|
+
isSubmitting: boolean;
|
|
1039
|
+
counterpartySearchResults: CounterpartySearchResult[];
|
|
1040
|
+
isCounterpartySearching: boolean;
|
|
1041
|
+
showCounterpartyDropdown: boolean;
|
|
1042
|
+
onAccountLookup: () => void;
|
|
1043
|
+
onEditAccount: () => void;
|
|
1044
|
+
onEditCounterparty: () => void;
|
|
1045
|
+
onTransactionTypeChange: (type: string) => void;
|
|
1046
|
+
onSubmit: () => void;
|
|
1047
|
+
onCancel: () => void;
|
|
1048
|
+
onConfirmationClose: () => void;
|
|
1049
|
+
onConfirmationOpenChange: (open: boolean) => void;
|
|
1050
|
+
onCounterpartySearchChange: (value: string) => void;
|
|
1051
|
+
onCounterpartySelect: (result: CounterpartySearchResult) => void;
|
|
1052
|
+
onCounterpartyDropdownClose: () => void;
|
|
1053
|
+
receiverAccountLookedUp: boolean;
|
|
1054
|
+
receiverAccountData: AccountData | null;
|
|
1055
|
+
isReceiverAccountLoading: boolean;
|
|
1056
|
+
onReceiverAccountLookup: () => void;
|
|
1057
|
+
onEditReceiverAccount: () => void;
|
|
1058
|
+
}
|
|
1059
|
+
declare const NewTransactionView: ({ form, accountLookedUp, accountData, counterpartyLookedUp, counterpartyData, confirmationOpen, submissionStatus, errorMessage, transactionId, isAccountLoading, isCounterpartyLoading, isSubmitting, counterpartySearchResults, isCounterpartySearching, showCounterpartyDropdown, onAccountLookup, onEditAccount, onEditCounterparty, onTransactionTypeChange, onSubmit, onCancel, onConfirmationClose, onConfirmationOpenChange, onCounterpartySearchChange, onCounterpartySelect, onCounterpartyDropdownClose, receiverAccountLookedUp, receiverAccountData, isReceiverAccountLoading, onReceiverAccountLookup, onEditReceiverAccount, }: NewTransactionViewProps) => react_jsx_runtime.JSX.Element;
|
|
1060
|
+
|
|
974
1061
|
interface AccountCardProps {
|
|
975
1062
|
account: {
|
|
976
1063
|
id: string;
|
|
@@ -1699,6 +1786,97 @@ declare function Statement(): react_jsx_runtime.JSX.Element;
|
|
|
1699
1786
|
|
|
1700
1787
|
declare const TransactionHistory: () => react_jsx_runtime.JSX.Element;
|
|
1701
1788
|
|
|
1789
|
+
declare const newTransactionSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1790
|
+
transactionType: z.ZodString;
|
|
1791
|
+
accountNumber: z.ZodString;
|
|
1792
|
+
counterpartyName: z.ZodOptional<z.ZodString>;
|
|
1793
|
+
amount: z.ZodString;
|
|
1794
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1795
|
+
certifyInformation: z.ZodEffects<z.ZodBoolean, boolean, boolean>;
|
|
1796
|
+
adjustmentDirection: z.ZodOptional<z.ZodString>;
|
|
1797
|
+
adjustmentType: z.ZodOptional<z.ZodString>;
|
|
1798
|
+
receiverAccountNumber: z.ZodOptional<z.ZodString>;
|
|
1799
|
+
}, "strip", z.ZodTypeAny, {
|
|
1800
|
+
description?: string;
|
|
1801
|
+
counterpartyName?: string;
|
|
1802
|
+
accountNumber?: string;
|
|
1803
|
+
transactionType?: string;
|
|
1804
|
+
amount?: string;
|
|
1805
|
+
certifyInformation?: boolean;
|
|
1806
|
+
adjustmentDirection?: string;
|
|
1807
|
+
adjustmentType?: string;
|
|
1808
|
+
receiverAccountNumber?: string;
|
|
1809
|
+
}, {
|
|
1810
|
+
description?: string;
|
|
1811
|
+
counterpartyName?: string;
|
|
1812
|
+
accountNumber?: string;
|
|
1813
|
+
transactionType?: string;
|
|
1814
|
+
amount?: string;
|
|
1815
|
+
certifyInformation?: boolean;
|
|
1816
|
+
adjustmentDirection?: string;
|
|
1817
|
+
adjustmentType?: string;
|
|
1818
|
+
receiverAccountNumber?: string;
|
|
1819
|
+
}>, {
|
|
1820
|
+
description?: string;
|
|
1821
|
+
counterpartyName?: string;
|
|
1822
|
+
accountNumber?: string;
|
|
1823
|
+
transactionType?: string;
|
|
1824
|
+
amount?: string;
|
|
1825
|
+
certifyInformation?: boolean;
|
|
1826
|
+
adjustmentDirection?: string;
|
|
1827
|
+
adjustmentType?: string;
|
|
1828
|
+
receiverAccountNumber?: string;
|
|
1829
|
+
}, {
|
|
1830
|
+
description?: string;
|
|
1831
|
+
counterpartyName?: string;
|
|
1832
|
+
accountNumber?: string;
|
|
1833
|
+
transactionType?: string;
|
|
1834
|
+
amount?: string;
|
|
1835
|
+
certifyInformation?: boolean;
|
|
1836
|
+
adjustmentDirection?: string;
|
|
1837
|
+
adjustmentType?: string;
|
|
1838
|
+
receiverAccountNumber?: string;
|
|
1839
|
+
}>, {
|
|
1840
|
+
description?: string;
|
|
1841
|
+
counterpartyName?: string;
|
|
1842
|
+
accountNumber?: string;
|
|
1843
|
+
transactionType?: string;
|
|
1844
|
+
amount?: string;
|
|
1845
|
+
certifyInformation?: boolean;
|
|
1846
|
+
adjustmentDirection?: string;
|
|
1847
|
+
adjustmentType?: string;
|
|
1848
|
+
receiverAccountNumber?: string;
|
|
1849
|
+
}, {
|
|
1850
|
+
description?: string;
|
|
1851
|
+
counterpartyName?: string;
|
|
1852
|
+
accountNumber?: string;
|
|
1853
|
+
transactionType?: string;
|
|
1854
|
+
amount?: string;
|
|
1855
|
+
certifyInformation?: boolean;
|
|
1856
|
+
adjustmentDirection?: string;
|
|
1857
|
+
adjustmentType?: string;
|
|
1858
|
+
receiverAccountNumber?: string;
|
|
1859
|
+
}>, {
|
|
1860
|
+
description?: string;
|
|
1861
|
+
counterpartyName?: string;
|
|
1862
|
+
accountNumber?: string;
|
|
1863
|
+
transactionType?: string;
|
|
1864
|
+
amount?: string;
|
|
1865
|
+
certifyInformation?: boolean;
|
|
1866
|
+
adjustmentDirection?: string;
|
|
1867
|
+
adjustmentType?: string;
|
|
1868
|
+
receiverAccountNumber?: string;
|
|
1869
|
+
}, {
|
|
1870
|
+
description?: string;
|
|
1871
|
+
counterpartyName?: string;
|
|
1872
|
+
accountNumber?: string;
|
|
1873
|
+
transactionType?: string;
|
|
1874
|
+
amount?: string;
|
|
1875
|
+
certifyInformation?: boolean;
|
|
1876
|
+
adjustmentDirection?: string;
|
|
1877
|
+
adjustmentType?: string;
|
|
1878
|
+
receiverAccountNumber?: string;
|
|
1879
|
+
}>;
|
|
1702
1880
|
declare function NewTransaction(): react_jsx_runtime.JSX.Element;
|
|
1703
1881
|
|
|
1704
1882
|
declare const TransactionDetail: () => react_jsx_runtime.JSX.Element;
|
|
@@ -1724,4 +1902,4 @@ declare function generateStatementCSV(header: StatementHeader, transactions: Sta
|
|
|
1724
1902
|
*/
|
|
1725
1903
|
declare function downloadCSV(content: string, filename: string): void;
|
|
1726
1904
|
|
|
1727
|
-
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, AccountCard, AccountDetail, Accounts, AddressForm, 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, CounterpartyDetail, CounterpartyDetailView, CounterpartyProfileCard, CounterpartyRecordsCard, 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, 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, UIKit, UIKitShowcase, type UseAlertDetailReturn, VelocityLimitDetail, VelocityLimits, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, reducer, textareaVariants, toast, useAlertDetail, useCounterpartyEntity, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
|
|
1905
|
+
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, ADJUSTMENT_DIRECTION_OPTIONS, ADJUSTMENT_TYPE_OPTIONS, AccountCard, type AccountData, AccountDetail, Accounts, AddressForm, 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, TRANSACTION_TYPES, 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, 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 };
|