braid-ui 1.0.0
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/README.md +134 -0
- package/dist/braid-logo-343BOQZ2.png +0 -0
- package/dist/index.cjs +6271 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1221 -0
- package/dist/index.d.ts +1221 -0
- package/dist/index.js +6086 -0
- package/dist/index.js.map +1 -0
- package/package.json +133 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,1221 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React$1 from 'react';
|
|
3
|
+
import React__default, { ReactNode } from 'react';
|
|
4
|
+
import { z } from 'zod';
|
|
5
|
+
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
6
|
+
import { VariantProps } from 'class-variance-authority';
|
|
7
|
+
import { DayPicker } from 'react-day-picker';
|
|
8
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
9
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
10
|
+
import { FieldValues, FieldPath, UseFormReturn, UseFormProps, Path } from 'react-hook-form';
|
|
11
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
12
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
13
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
14
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
15
|
+
import { Toaster as Toaster$1 } from 'sonner';
|
|
16
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
17
|
+
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
18
|
+
|
|
19
|
+
interface TimelineEvent {
|
|
20
|
+
id: string;
|
|
21
|
+
timestamp: string;
|
|
22
|
+
user: string;
|
|
23
|
+
action: string;
|
|
24
|
+
details?: string;
|
|
25
|
+
status?: string;
|
|
26
|
+
}
|
|
27
|
+
interface AlertNote {
|
|
28
|
+
id: string;
|
|
29
|
+
timestamp: string;
|
|
30
|
+
user: string;
|
|
31
|
+
content: string;
|
|
32
|
+
type: "RFI Note" | "Internal Note";
|
|
33
|
+
}
|
|
34
|
+
interface AlertDocument {
|
|
35
|
+
id: string;
|
|
36
|
+
name: string;
|
|
37
|
+
type: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
size: string;
|
|
40
|
+
uploadedBy: string;
|
|
41
|
+
uploadedAt: string;
|
|
42
|
+
url?: string;
|
|
43
|
+
}
|
|
44
|
+
interface Alert {
|
|
45
|
+
id: string;
|
|
46
|
+
createdAt: string;
|
|
47
|
+
type: string;
|
|
48
|
+
status: "Unassigned" | "Closed" | "In Progress";
|
|
49
|
+
contextType: string;
|
|
50
|
+
rfiStatus?: "Completed" | "Provided" | "Pending";
|
|
51
|
+
description: string;
|
|
52
|
+
contextId?: string;
|
|
53
|
+
assignee?: string;
|
|
54
|
+
timeline?: TimelineEvent[];
|
|
55
|
+
notes?: AlertNote[];
|
|
56
|
+
documents?: AlertDocument[];
|
|
57
|
+
contextData?: any;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
interface AlertDocumentsProps {
|
|
61
|
+
alertId: string;
|
|
62
|
+
documents: AlertDocument[];
|
|
63
|
+
}
|
|
64
|
+
declare const AlertDocuments: ({ alertId, documents }: AlertDocumentsProps) => react_jsx_runtime.JSX.Element;
|
|
65
|
+
|
|
66
|
+
interface AlertNotesProps {
|
|
67
|
+
alertId: string;
|
|
68
|
+
notes: AlertNote[];
|
|
69
|
+
}
|
|
70
|
+
declare const AlertNotes: ({ alertId, notes }: AlertNotesProps) => react_jsx_runtime.JSX.Element;
|
|
71
|
+
|
|
72
|
+
interface AlertTimelineProps {
|
|
73
|
+
events: TimelineEvent[];
|
|
74
|
+
}
|
|
75
|
+
declare const AlertTimeline: ({ events }: AlertTimelineProps) => react_jsx_runtime.JSX.Element;
|
|
76
|
+
|
|
77
|
+
interface ContextSectionProps {
|
|
78
|
+
alert: Alert;
|
|
79
|
+
}
|
|
80
|
+
declare const ContextSection: ({ alert }: ContextSectionProps) => react_jsx_runtime.JSX.Element;
|
|
81
|
+
|
|
82
|
+
declare function AppSidebar(): react_jsx_runtime.JSX.Element;
|
|
83
|
+
|
|
84
|
+
interface MainLayoutProps {
|
|
85
|
+
children: ReactNode;
|
|
86
|
+
}
|
|
87
|
+
declare const MainLayout: ({ children }: MainLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
88
|
+
|
|
89
|
+
declare const achTransferSchema: z.ZodObject<{
|
|
90
|
+
basicInfo: z.ZodObject<{
|
|
91
|
+
counterpartyName: z.ZodString;
|
|
92
|
+
shortName: z.ZodString;
|
|
93
|
+
type: z.ZodString;
|
|
94
|
+
description: z.ZodOptional<z.ZodString>;
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
type?: string;
|
|
97
|
+
description?: string;
|
|
98
|
+
counterpartyName?: string;
|
|
99
|
+
shortName?: string;
|
|
100
|
+
}, {
|
|
101
|
+
type?: string;
|
|
102
|
+
description?: string;
|
|
103
|
+
counterpartyName?: string;
|
|
104
|
+
shortName?: string;
|
|
105
|
+
}>;
|
|
106
|
+
bankDetails: z.ZodObject<{
|
|
107
|
+
gatewayRoutingNumber: z.ZodString;
|
|
108
|
+
rdfiNumberQualifier: z.ZodString;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
gatewayRoutingNumber?: string;
|
|
111
|
+
rdfiNumberQualifier?: string;
|
|
112
|
+
}, {
|
|
113
|
+
gatewayRoutingNumber?: string;
|
|
114
|
+
rdfiNumberQualifier?: string;
|
|
115
|
+
}>;
|
|
116
|
+
}, "strip", z.ZodTypeAny, {
|
|
117
|
+
basicInfo?: {
|
|
118
|
+
type?: string;
|
|
119
|
+
description?: string;
|
|
120
|
+
counterpartyName?: string;
|
|
121
|
+
shortName?: string;
|
|
122
|
+
};
|
|
123
|
+
bankDetails?: {
|
|
124
|
+
gatewayRoutingNumber?: string;
|
|
125
|
+
rdfiNumberQualifier?: string;
|
|
126
|
+
};
|
|
127
|
+
}, {
|
|
128
|
+
basicInfo?: {
|
|
129
|
+
type?: string;
|
|
130
|
+
description?: string;
|
|
131
|
+
counterpartyName?: string;
|
|
132
|
+
shortName?: string;
|
|
133
|
+
};
|
|
134
|
+
bankDetails?: {
|
|
135
|
+
gatewayRoutingNumber?: string;
|
|
136
|
+
rdfiNumberQualifier?: string;
|
|
137
|
+
};
|
|
138
|
+
}>;
|
|
139
|
+
type ACHTransfer = z.infer<typeof achTransferSchema>;
|
|
140
|
+
|
|
141
|
+
interface ACHBankCardProps {
|
|
142
|
+
data?: Partial<ACHTransfer>;
|
|
143
|
+
onDataChange?: (data: ACHTransfer) => void;
|
|
144
|
+
isEditing?: boolean;
|
|
145
|
+
onToggleEdit?: () => void;
|
|
146
|
+
className?: string;
|
|
147
|
+
hideActions?: boolean;
|
|
148
|
+
}
|
|
149
|
+
declare const ACHBankCard: ({ data, onDataChange, isEditing, onToggleEdit, className, hideActions }: ACHBankCardProps) => react_jsx_runtime.JSX.Element;
|
|
150
|
+
|
|
151
|
+
interface ACHBasicInfoCardProps {
|
|
152
|
+
data?: Partial<ACHTransfer>;
|
|
153
|
+
onDataChange?: (data: ACHTransfer) => void;
|
|
154
|
+
isEditing?: boolean;
|
|
155
|
+
onToggleEdit?: () => void;
|
|
156
|
+
className?: string;
|
|
157
|
+
hideActions?: boolean;
|
|
158
|
+
}
|
|
159
|
+
declare const ACHBasicInfoCard: ({ data, onDataChange, isEditing, onToggleEdit, className, hideActions }: ACHBasicInfoCardProps) => react_jsx_runtime.JSX.Element;
|
|
160
|
+
|
|
161
|
+
interface ACHTransferSectionProps {
|
|
162
|
+
isEditing?: boolean;
|
|
163
|
+
onToggleEdit?: () => void;
|
|
164
|
+
className?: string;
|
|
165
|
+
hideActions?: boolean;
|
|
166
|
+
}
|
|
167
|
+
declare const ACHTransferSection: ({ isEditing, onToggleEdit, className, hideActions }: ACHTransferSectionProps) => react_jsx_runtime.JSX.Element;
|
|
168
|
+
|
|
169
|
+
declare const inputVariants: (props?: {
|
|
170
|
+
variant?: "default" | "disabled" | "error" | "success" | "readonly";
|
|
171
|
+
size?: "default" | "sm" | "lg";
|
|
172
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
173
|
+
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof inputVariants> {
|
|
174
|
+
label?: string;
|
|
175
|
+
hint?: string;
|
|
176
|
+
error?: string;
|
|
177
|
+
success?: string;
|
|
178
|
+
isLoading?: boolean;
|
|
179
|
+
}
|
|
180
|
+
declare const EnhancedInput: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
181
|
+
|
|
182
|
+
interface AddressFormProps {
|
|
183
|
+
title: string;
|
|
184
|
+
description: string;
|
|
185
|
+
fieldPrefix?: string;
|
|
186
|
+
showAddressType?: boolean;
|
|
187
|
+
addressTypeOptions?: Array<{
|
|
188
|
+
value: string;
|
|
189
|
+
label: string;
|
|
190
|
+
}>;
|
|
191
|
+
fieldOverrides?: {
|
|
192
|
+
state?: Partial<React.ComponentProps<typeof EnhancedInput>>;
|
|
193
|
+
city?: Partial<React.ComponentProps<typeof EnhancedInput>>;
|
|
194
|
+
streetAddress?: Partial<React.ComponentProps<typeof EnhancedInput>>;
|
|
195
|
+
postalCode?: Partial<React.ComponentProps<typeof EnhancedInput>>;
|
|
196
|
+
apartment?: Partial<React.ComponentProps<typeof EnhancedInput>>;
|
|
197
|
+
};
|
|
198
|
+
showApartment?: boolean;
|
|
199
|
+
}
|
|
200
|
+
declare const AddressForm: ({ title, description, fieldPrefix, showAddressType, addressTypeOptions, fieldOverrides, showApartment }: AddressFormProps) => react_jsx_runtime.JSX.Element;
|
|
201
|
+
|
|
202
|
+
declare const counterpartyBasicInfoSchema: z.ZodObject<{
|
|
203
|
+
name: z.ZodString;
|
|
204
|
+
type: z.ZodString;
|
|
205
|
+
status: z.ZodString;
|
|
206
|
+
description: z.ZodOptional<z.ZodString>;
|
|
207
|
+
}, "strip", z.ZodTypeAny, {
|
|
208
|
+
name?: string;
|
|
209
|
+
type?: string;
|
|
210
|
+
status?: string;
|
|
211
|
+
description?: string;
|
|
212
|
+
}, {
|
|
213
|
+
name?: string;
|
|
214
|
+
type?: string;
|
|
215
|
+
status?: string;
|
|
216
|
+
description?: string;
|
|
217
|
+
}>;
|
|
218
|
+
declare const addressSchema: z.ZodObject<{
|
|
219
|
+
streetAddress: z.ZodString;
|
|
220
|
+
apartment: z.ZodOptional<z.ZodString>;
|
|
221
|
+
city: z.ZodString;
|
|
222
|
+
state: z.ZodString;
|
|
223
|
+
postalCode: z.ZodString;
|
|
224
|
+
country: z.ZodString;
|
|
225
|
+
addressType: z.ZodOptional<z.ZodString>;
|
|
226
|
+
}, "strip", z.ZodTypeAny, {
|
|
227
|
+
postalCode?: string;
|
|
228
|
+
state?: string;
|
|
229
|
+
country?: string;
|
|
230
|
+
streetAddress?: string;
|
|
231
|
+
apartment?: string;
|
|
232
|
+
city?: string;
|
|
233
|
+
addressType?: string;
|
|
234
|
+
}, {
|
|
235
|
+
postalCode?: string;
|
|
236
|
+
state?: string;
|
|
237
|
+
country?: string;
|
|
238
|
+
streetAddress?: string;
|
|
239
|
+
apartment?: string;
|
|
240
|
+
city?: string;
|
|
241
|
+
addressType?: string;
|
|
242
|
+
}>;
|
|
243
|
+
type CounterpartyBasicInfo$1 = z.infer<typeof counterpartyBasicInfoSchema>;
|
|
244
|
+
type Address = z.infer<typeof addressSchema>;
|
|
245
|
+
|
|
246
|
+
declare const intermediaryFISchema: z.ZodObject<{
|
|
247
|
+
accountNumber: z.ZodOptional<z.ZodString>;
|
|
248
|
+
name: z.ZodOptional<z.ZodString>;
|
|
249
|
+
idType: z.ZodOptional<z.ZodString>;
|
|
250
|
+
idNumber: z.ZodOptional<z.ZodString>;
|
|
251
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
252
|
+
streetAddress: z.ZodString;
|
|
253
|
+
apartment: z.ZodOptional<z.ZodString>;
|
|
254
|
+
city: z.ZodString;
|
|
255
|
+
state: z.ZodString;
|
|
256
|
+
postalCode: z.ZodString;
|
|
257
|
+
country: z.ZodString;
|
|
258
|
+
addressType: z.ZodOptional<z.ZodString>;
|
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
|
260
|
+
postalCode?: string;
|
|
261
|
+
state?: string;
|
|
262
|
+
country?: string;
|
|
263
|
+
streetAddress?: string;
|
|
264
|
+
apartment?: string;
|
|
265
|
+
city?: string;
|
|
266
|
+
addressType?: string;
|
|
267
|
+
}, {
|
|
268
|
+
postalCode?: string;
|
|
269
|
+
state?: string;
|
|
270
|
+
country?: string;
|
|
271
|
+
streetAddress?: string;
|
|
272
|
+
apartment?: string;
|
|
273
|
+
city?: string;
|
|
274
|
+
addressType?: string;
|
|
275
|
+
}>>;
|
|
276
|
+
}, "strip", z.ZodTypeAny, {
|
|
277
|
+
name?: string;
|
|
278
|
+
address?: {
|
|
279
|
+
postalCode?: string;
|
|
280
|
+
state?: string;
|
|
281
|
+
country?: string;
|
|
282
|
+
streetAddress?: string;
|
|
283
|
+
apartment?: string;
|
|
284
|
+
city?: string;
|
|
285
|
+
addressType?: string;
|
|
286
|
+
};
|
|
287
|
+
accountNumber?: string;
|
|
288
|
+
idType?: string;
|
|
289
|
+
idNumber?: string;
|
|
290
|
+
}, {
|
|
291
|
+
name?: string;
|
|
292
|
+
address?: {
|
|
293
|
+
postalCode?: string;
|
|
294
|
+
state?: string;
|
|
295
|
+
country?: string;
|
|
296
|
+
streetAddress?: string;
|
|
297
|
+
apartment?: string;
|
|
298
|
+
city?: string;
|
|
299
|
+
addressType?: string;
|
|
300
|
+
};
|
|
301
|
+
accountNumber?: string;
|
|
302
|
+
idType?: string;
|
|
303
|
+
idNumber?: string;
|
|
304
|
+
}>;
|
|
305
|
+
type IntermediaryFI$1 = z.infer<typeof intermediaryFISchema>;
|
|
306
|
+
|
|
307
|
+
declare const businessProfileSchema: z.ZodObject<{
|
|
308
|
+
legalName: z.ZodString;
|
|
309
|
+
dbaName: z.ZodOptional<z.ZodString>;
|
|
310
|
+
businessType: z.ZodString;
|
|
311
|
+
taxId: z.ZodString;
|
|
312
|
+
businessPhone: z.ZodString;
|
|
313
|
+
businessEmail: z.ZodString;
|
|
314
|
+
website: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
315
|
+
address: z.ZodObject<{
|
|
316
|
+
streetAddress: z.ZodString;
|
|
317
|
+
apartment: z.ZodOptional<z.ZodString>;
|
|
318
|
+
city: z.ZodString;
|
|
319
|
+
state: z.ZodString;
|
|
320
|
+
postalCode: z.ZodString;
|
|
321
|
+
country: z.ZodString;
|
|
322
|
+
addressType: z.ZodOptional<z.ZodString>;
|
|
323
|
+
}, "strip", z.ZodTypeAny, {
|
|
324
|
+
postalCode?: string;
|
|
325
|
+
state?: string;
|
|
326
|
+
country?: string;
|
|
327
|
+
streetAddress?: string;
|
|
328
|
+
apartment?: string;
|
|
329
|
+
city?: string;
|
|
330
|
+
addressType?: string;
|
|
331
|
+
}, {
|
|
332
|
+
postalCode?: string;
|
|
333
|
+
state?: string;
|
|
334
|
+
country?: string;
|
|
335
|
+
streetAddress?: string;
|
|
336
|
+
apartment?: string;
|
|
337
|
+
city?: string;
|
|
338
|
+
addressType?: string;
|
|
339
|
+
}>;
|
|
340
|
+
}, "strip", z.ZodTypeAny, {
|
|
341
|
+
address?: {
|
|
342
|
+
postalCode?: string;
|
|
343
|
+
state?: string;
|
|
344
|
+
country?: string;
|
|
345
|
+
streetAddress?: string;
|
|
346
|
+
apartment?: string;
|
|
347
|
+
city?: string;
|
|
348
|
+
addressType?: string;
|
|
349
|
+
};
|
|
350
|
+
legalName?: string;
|
|
351
|
+
dbaName?: string;
|
|
352
|
+
businessType?: string;
|
|
353
|
+
taxId?: string;
|
|
354
|
+
businessPhone?: string;
|
|
355
|
+
businessEmail?: string;
|
|
356
|
+
website?: string;
|
|
357
|
+
}, {
|
|
358
|
+
address?: {
|
|
359
|
+
postalCode?: string;
|
|
360
|
+
state?: string;
|
|
361
|
+
country?: string;
|
|
362
|
+
streetAddress?: string;
|
|
363
|
+
apartment?: string;
|
|
364
|
+
city?: string;
|
|
365
|
+
addressType?: string;
|
|
366
|
+
};
|
|
367
|
+
legalName?: string;
|
|
368
|
+
dbaName?: string;
|
|
369
|
+
businessType?: string;
|
|
370
|
+
taxId?: string;
|
|
371
|
+
businessPhone?: string;
|
|
372
|
+
businessEmail?: string;
|
|
373
|
+
website?: string;
|
|
374
|
+
}>;
|
|
375
|
+
type BusinessProfile = z.infer<typeof businessProfileSchema>;
|
|
376
|
+
|
|
377
|
+
interface BankAddressCardProps {
|
|
378
|
+
data?: Partial<Address>;
|
|
379
|
+
onDataChange?: (data: Address) => void;
|
|
380
|
+
isEditing?: boolean;
|
|
381
|
+
onToggleEdit?: () => void;
|
|
382
|
+
className?: string;
|
|
383
|
+
hideActions?: boolean;
|
|
384
|
+
}
|
|
385
|
+
declare const BankAddressCard: ({ data, onDataChange, isEditing, onToggleEdit, className, hideActions }: BankAddressCardProps) => react_jsx_runtime.JSX.Element;
|
|
386
|
+
|
|
387
|
+
interface BankingDetailsCardProps {
|
|
388
|
+
isEditing?: boolean;
|
|
389
|
+
onToggleEdit?: () => void;
|
|
390
|
+
className?: string;
|
|
391
|
+
}
|
|
392
|
+
declare const BankingDetailsCard: ({ isEditing, onToggleEdit, className }: BankingDetailsCardProps) => react_jsx_runtime.JSX.Element;
|
|
393
|
+
|
|
394
|
+
interface BasicInfoCardProps {
|
|
395
|
+
isEditing?: boolean;
|
|
396
|
+
onToggleEdit?: () => void;
|
|
397
|
+
className?: string;
|
|
398
|
+
hideActions?: boolean;
|
|
399
|
+
}
|
|
400
|
+
declare const BasicInfoCard: ({ isEditing, onToggleEdit, className, hideActions }: BasicInfoCardProps) => react_jsx_runtime.JSX.Element;
|
|
401
|
+
|
|
402
|
+
interface BasicInfoSectionProps {
|
|
403
|
+
isEditing?: boolean;
|
|
404
|
+
onToggleEdit?: () => void;
|
|
405
|
+
className?: string;
|
|
406
|
+
hideActions?: boolean;
|
|
407
|
+
}
|
|
408
|
+
declare const BasicInfoSection: ({ isEditing, onToggleEdit, className, hideActions }: BasicInfoSectionProps) => react_jsx_runtime.JSX.Element;
|
|
409
|
+
|
|
410
|
+
declare const BeneficiaryAddress: () => react_jsx_runtime.JSX.Element;
|
|
411
|
+
|
|
412
|
+
interface BeneficiaryCardProps {
|
|
413
|
+
isEditing?: boolean;
|
|
414
|
+
onToggleEdit?: () => void;
|
|
415
|
+
className?: string;
|
|
416
|
+
hideActions?: boolean;
|
|
417
|
+
}
|
|
418
|
+
declare const BeneficiaryCard: ({ isEditing, onToggleEdit, className, hideActions }: BeneficiaryCardProps) => react_jsx_runtime.JSX.Element;
|
|
419
|
+
|
|
420
|
+
declare const BeneficiaryDomesticWire: () => react_jsx_runtime.JSX.Element;
|
|
421
|
+
|
|
422
|
+
interface BusinessProfileCardProps {
|
|
423
|
+
data?: Partial<BusinessProfile>;
|
|
424
|
+
onDataChange?: (data: BusinessProfile) => void;
|
|
425
|
+
isEditing?: boolean;
|
|
426
|
+
onToggleEdit?: () => void;
|
|
427
|
+
className?: string;
|
|
428
|
+
hideActions?: boolean;
|
|
429
|
+
}
|
|
430
|
+
declare const BusinessProfileCard: ({ data, onDataChange, isEditing, onToggleEdit, className, hideActions }: BusinessProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
431
|
+
|
|
432
|
+
interface BusinessStatusCardProps {
|
|
433
|
+
isEditing?: boolean;
|
|
434
|
+
onToggleEdit?: () => void;
|
|
435
|
+
className?: string;
|
|
436
|
+
}
|
|
437
|
+
declare const BusinessStatusCard: ({ isEditing, onToggleEdit, className }: BusinessStatusCardProps) => react_jsx_runtime.JSX.Element;
|
|
438
|
+
|
|
439
|
+
interface ContactInfoCardProps {
|
|
440
|
+
isEditing?: boolean;
|
|
441
|
+
onToggleEdit?: () => void;
|
|
442
|
+
className?: string;
|
|
443
|
+
}
|
|
444
|
+
declare const ContactInfoCard: ({ isEditing, onToggleEdit, className }: ContactInfoCardProps) => react_jsx_runtime.JSX.Element;
|
|
445
|
+
|
|
446
|
+
interface CounterpartyBasicInfoProps {
|
|
447
|
+
onDataChange?: (data: any) => void;
|
|
448
|
+
}
|
|
449
|
+
declare const CounterpartyBasicInfo: ({ onDataChange }: CounterpartyBasicInfoProps) => react_jsx_runtime.JSX.Element;
|
|
450
|
+
|
|
451
|
+
interface CounterpartyProfileCardProps {
|
|
452
|
+
data?: Partial<CounterpartyBasicInfo$1>;
|
|
453
|
+
onDataChange?: (data: CounterpartyBasicInfo$1) => void;
|
|
454
|
+
isEditing?: boolean;
|
|
455
|
+
onToggleEdit?: () => void;
|
|
456
|
+
hideActions?: boolean;
|
|
457
|
+
className?: string;
|
|
458
|
+
}
|
|
459
|
+
declare const CounterpartyProfileCard: ({ data, onDataChange, isEditing, onToggleEdit, hideActions, className }: CounterpartyProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
460
|
+
|
|
461
|
+
interface CounterpartyRecordsCardProps {
|
|
462
|
+
isEditing?: boolean;
|
|
463
|
+
hideActions?: boolean;
|
|
464
|
+
className?: string;
|
|
465
|
+
}
|
|
466
|
+
declare const CounterpartyRecordsCard: ({ isEditing, hideActions, className }: CounterpartyRecordsCardProps) => react_jsx_runtime.JSX.Element;
|
|
467
|
+
|
|
468
|
+
interface IntermediaryCardProps {
|
|
469
|
+
data?: Partial<IntermediaryFI$1>;
|
|
470
|
+
onDataChange?: (data: IntermediaryFI$1) => void;
|
|
471
|
+
isEditing?: boolean;
|
|
472
|
+
onToggleEdit?: () => void;
|
|
473
|
+
className?: string;
|
|
474
|
+
hideActions?: boolean;
|
|
475
|
+
}
|
|
476
|
+
declare const IntermediaryCard: ({ data, onDataChange, isEditing, onToggleEdit, className, hideActions }: IntermediaryCardProps) => react_jsx_runtime.JSX.Element;
|
|
477
|
+
|
|
478
|
+
declare const IntermediaryFI: () => react_jsx_runtime.JSX.Element;
|
|
479
|
+
|
|
480
|
+
declare const IntermediaryFIAddress: () => react_jsx_runtime.JSX.Element;
|
|
481
|
+
|
|
482
|
+
interface OriginatorCardProps {
|
|
483
|
+
isEditing?: boolean;
|
|
484
|
+
onToggleEdit?: () => void;
|
|
485
|
+
className?: string;
|
|
486
|
+
hideActions?: boolean;
|
|
487
|
+
}
|
|
488
|
+
declare const OriginatorCard: ({ isEditing, onToggleEdit, className, hideActions }: OriginatorCardProps) => react_jsx_runtime.JSX.Element;
|
|
489
|
+
|
|
490
|
+
declare const OriginatorFI: () => react_jsx_runtime.JSX.Element;
|
|
491
|
+
|
|
492
|
+
declare const OriginatorFIAddress: () => react_jsx_runtime.JSX.Element;
|
|
493
|
+
|
|
494
|
+
declare const PaymentInformationSection: () => react_jsx_runtime.JSX.Element;
|
|
495
|
+
|
|
496
|
+
declare const receiverSchema: z.ZodObject<{
|
|
497
|
+
routingNumber: z.ZodString;
|
|
498
|
+
bankShortName: z.ZodString;
|
|
499
|
+
}, "strip", z.ZodTypeAny, {
|
|
500
|
+
routingNumber?: string;
|
|
501
|
+
bankShortName?: string;
|
|
502
|
+
}, {
|
|
503
|
+
routingNumber?: string;
|
|
504
|
+
bankShortName?: string;
|
|
505
|
+
}>;
|
|
506
|
+
type ReceiverInfo = z.infer<typeof receiverSchema>;
|
|
507
|
+
interface ReceiverCardProps {
|
|
508
|
+
data?: Partial<ReceiverInfo>;
|
|
509
|
+
onDataChange?: (data: ReceiverInfo) => void;
|
|
510
|
+
isEditing?: boolean;
|
|
511
|
+
onToggleEdit?: () => void;
|
|
512
|
+
className?: string;
|
|
513
|
+
hideActions?: boolean;
|
|
514
|
+
}
|
|
515
|
+
declare const ReceiverCard: ({ data, onDataChange, isEditing, onToggleEdit, className, hideActions }: ReceiverCardProps) => react_jsx_runtime.JSX.Element;
|
|
516
|
+
|
|
517
|
+
interface WireTransferSectionProps {
|
|
518
|
+
isEditing?: boolean;
|
|
519
|
+
onToggleEdit?: () => void;
|
|
520
|
+
className?: string;
|
|
521
|
+
hideActions?: boolean;
|
|
522
|
+
}
|
|
523
|
+
declare const WireTransferSection: ({ isEditing, onToggleEdit, className, hideActions }: WireTransferSectionProps) => react_jsx_runtime.JSX.Element;
|
|
524
|
+
|
|
525
|
+
interface BreadcrumbItem {
|
|
526
|
+
label: string;
|
|
527
|
+
href?: string;
|
|
528
|
+
icon?: React$1.ReactNode;
|
|
529
|
+
}
|
|
530
|
+
interface BreadcrumbProps {
|
|
531
|
+
items: BreadcrumbItem[];
|
|
532
|
+
showHome?: boolean;
|
|
533
|
+
separator?: React$1.ReactNode;
|
|
534
|
+
className?: string;
|
|
535
|
+
}
|
|
536
|
+
declare const Breadcrumb: React$1.ForwardRefExoticComponent<BreadcrumbProps & React$1.RefAttributes<HTMLElement>>;
|
|
537
|
+
|
|
538
|
+
interface PageAction$1 {
|
|
539
|
+
label: string;
|
|
540
|
+
onClick: () => void;
|
|
541
|
+
variant?: "default" | "outline" | "secondary";
|
|
542
|
+
icon?: React$1.ReactNode;
|
|
543
|
+
}
|
|
544
|
+
interface ListPageProps {
|
|
545
|
+
title: string;
|
|
546
|
+
description?: string;
|
|
547
|
+
breadcrumbs?: BreadcrumbItem[];
|
|
548
|
+
actions?: PageAction$1[];
|
|
549
|
+
children: React$1.ReactNode;
|
|
550
|
+
maxWidth?: "sm" | "md" | "lg" | "xl" | "full";
|
|
551
|
+
loading?: boolean;
|
|
552
|
+
emptyState?: React$1.ReactNode;
|
|
553
|
+
className?: string;
|
|
554
|
+
}
|
|
555
|
+
declare const ListPage: React$1.ForwardRefExoticComponent<ListPageProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
556
|
+
|
|
557
|
+
interface ACHDetails {
|
|
558
|
+
type: string;
|
|
559
|
+
originatorName: string;
|
|
560
|
+
originatorAccountNumber: string;
|
|
561
|
+
receiverName: string;
|
|
562
|
+
receiverAccountNumber: string;
|
|
563
|
+
receiverRoutingNumber: string;
|
|
564
|
+
amount: number;
|
|
565
|
+
secCode: string;
|
|
566
|
+
companyEntryDescription: string;
|
|
567
|
+
companyDiscretionaryData?: string;
|
|
568
|
+
individualIdNumber?: string;
|
|
569
|
+
individualName?: string;
|
|
570
|
+
traceNumber: string;
|
|
571
|
+
raw?: any;
|
|
572
|
+
}
|
|
573
|
+
interface ACHDetailsSectionProps {
|
|
574
|
+
data: ACHDetails;
|
|
575
|
+
}
|
|
576
|
+
declare const ACHDetailsSection: ({ data }: ACHDetailsSectionProps) => react_jsx_runtime.JSX.Element;
|
|
577
|
+
|
|
578
|
+
interface WireDetails {
|
|
579
|
+
type: string;
|
|
580
|
+
originatorName: string;
|
|
581
|
+
originatorAccountNumber: string;
|
|
582
|
+
originatorAddress: string;
|
|
583
|
+
beneficiaryName: string;
|
|
584
|
+
beneficiaryAccountNumber: string;
|
|
585
|
+
beneficiaryAddress: string;
|
|
586
|
+
beneficiaryFIName: string;
|
|
587
|
+
beneficiaryFIRoutingNumber: string;
|
|
588
|
+
beneficiaryFIAddress: string;
|
|
589
|
+
originatorFIName: string;
|
|
590
|
+
originatorFIRoutingNumber: string;
|
|
591
|
+
originatorFIAddress: string;
|
|
592
|
+
intermediaryFIName?: string;
|
|
593
|
+
intermediaryFIRoutingNumber?: string;
|
|
594
|
+
intermediaryFIAddress?: string;
|
|
595
|
+
raw?: any;
|
|
596
|
+
}
|
|
597
|
+
interface WireDetailsSectionProps {
|
|
598
|
+
data: WireDetails;
|
|
599
|
+
}
|
|
600
|
+
declare const WireDetailsSection: ({ data }: WireDetailsSectionProps) => react_jsx_runtime.JSX.Element;
|
|
601
|
+
|
|
602
|
+
interface AccountCardProps {
|
|
603
|
+
account: {
|
|
604
|
+
id: string;
|
|
605
|
+
name: string;
|
|
606
|
+
number: string;
|
|
607
|
+
type: "checking" | "savings" | "credit" | "investment";
|
|
608
|
+
status: "active" | "inactive" | "pending" | "suspended";
|
|
609
|
+
balance?: string;
|
|
610
|
+
currency?: string;
|
|
611
|
+
institution?: string;
|
|
612
|
+
routingNumber?: string;
|
|
613
|
+
country?: string;
|
|
614
|
+
};
|
|
615
|
+
showBalance?: boolean;
|
|
616
|
+
className?: string;
|
|
617
|
+
}
|
|
618
|
+
declare const AccountCard: React$1.ForwardRefExoticComponent<AccountCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
619
|
+
|
|
620
|
+
declare const badgeVariants: (props?: {
|
|
621
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "success" | "warning" | "business" | "individual" | "government" | "nonprofit" | "corporation" | "llc" | "partnership" | "sole_proprietorship" | "active" | "inactive" | "pending" | "suspended" | "alert-ofac" | "alert-dual" | "alert-monitoring" | "alert-error";
|
|
622
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
623
|
+
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
624
|
+
}
|
|
625
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
626
|
+
|
|
627
|
+
interface BusinessTypeBadgeProps {
|
|
628
|
+
type: "corporation" | "llc" | "partnership" | "sole_proprietorship";
|
|
629
|
+
className?: string;
|
|
630
|
+
}
|
|
631
|
+
declare const BusinessTypeBadge: ({ type, className }: BusinessTypeBadgeProps) => react_jsx_runtime.JSX.Element;
|
|
632
|
+
|
|
633
|
+
declare const buttonVariants: (props?: {
|
|
634
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
|
|
635
|
+
size?: "default" | "sm" | "lg" | "icon";
|
|
636
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
637
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
638
|
+
asChild?: boolean;
|
|
639
|
+
}
|
|
640
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
641
|
+
|
|
642
|
+
type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
|
|
643
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
644
|
+
declare namespace Calendar {
|
|
645
|
+
var displayName: string;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
declare const cardVariants: (props?: {
|
|
649
|
+
variant?: "default" | "ghost" | "elevated" | "outlined" | "subtle";
|
|
650
|
+
size?: "sm" | "lg" | "none" | "md";
|
|
651
|
+
fullHeight?: boolean;
|
|
652
|
+
interactive?: boolean;
|
|
653
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
654
|
+
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
655
|
+
}
|
|
656
|
+
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
657
|
+
declare const cardHeaderVariants: (props?: {
|
|
658
|
+
size?: "sm" | "lg" | "md";
|
|
659
|
+
align?: "center" | "start" | "end";
|
|
660
|
+
direction?: "row" | "column";
|
|
661
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
662
|
+
interface CardHeaderProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardHeaderVariants> {
|
|
663
|
+
}
|
|
664
|
+
declare const CardHeader: React$1.ForwardRefExoticComponent<CardHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
665
|
+
declare const cardTitleVariants: (props?: {
|
|
666
|
+
size?: "sm" | "lg" | "md";
|
|
667
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
668
|
+
interface CardTitleProps extends React$1.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof cardTitleVariants> {
|
|
669
|
+
}
|
|
670
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<CardTitleProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
671
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
672
|
+
declare const cardContentVariants: (props?: {
|
|
673
|
+
size?: "sm" | "lg" | "md";
|
|
674
|
+
fullHeight?: boolean;
|
|
675
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
676
|
+
interface CardContentProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardContentVariants> {
|
|
677
|
+
}
|
|
678
|
+
declare const CardContent: React$1.ForwardRefExoticComponent<CardContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
679
|
+
declare const cardFooterVariants: (props?: {
|
|
680
|
+
size?: "sm" | "lg" | "md";
|
|
681
|
+
justify?: "center" | "start" | "end" | "between";
|
|
682
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
683
|
+
interface CardFooterProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardFooterVariants> {
|
|
684
|
+
}
|
|
685
|
+
declare const CardFooter: React$1.ForwardRefExoticComponent<CardFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
686
|
+
|
|
687
|
+
interface ContainerProps {
|
|
688
|
+
children: React$1.ReactNode;
|
|
689
|
+
size?: "sm" | "md" | "lg" | "xl" | "full";
|
|
690
|
+
padding?: "none" | "sm" | "md" | "lg";
|
|
691
|
+
center?: boolean;
|
|
692
|
+
className?: string;
|
|
693
|
+
}
|
|
694
|
+
declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
695
|
+
|
|
696
|
+
interface CounterpartyTypeBadgeProps {
|
|
697
|
+
type: "BUSINESS" | "INDIVIDUAL" | "GOVERNMENT" | "NONPROFIT";
|
|
698
|
+
className?: string;
|
|
699
|
+
}
|
|
700
|
+
declare const CounterpartyTypeBadge: ({ type, className }: CounterpartyTypeBadgeProps) => react_jsx_runtime.JSX.Element;
|
|
701
|
+
|
|
702
|
+
interface DataGridItem {
|
|
703
|
+
label?: string;
|
|
704
|
+
value: string;
|
|
705
|
+
layout?: "vertical" | "horizontal";
|
|
706
|
+
}
|
|
707
|
+
interface DataGridSection {
|
|
708
|
+
title?: string;
|
|
709
|
+
items: DataGridItem[];
|
|
710
|
+
className?: string;
|
|
711
|
+
}
|
|
712
|
+
interface DataGridProps {
|
|
713
|
+
data: DataGridItem[] | DataGridSection[];
|
|
714
|
+
columns?: 1 | 2 | 3 | 4;
|
|
715
|
+
gap?: "sm" | "md" | "lg";
|
|
716
|
+
className?: string;
|
|
717
|
+
}
|
|
718
|
+
declare const DataGrid: React$1.ForwardRefExoticComponent<DataGridProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
719
|
+
|
|
720
|
+
interface DataTableColumn<T = any> {
|
|
721
|
+
key: string;
|
|
722
|
+
title: string;
|
|
723
|
+
sortable?: boolean;
|
|
724
|
+
render?: (value: any, row: T) => React$1.ReactNode;
|
|
725
|
+
width?: string;
|
|
726
|
+
align?: "left" | "center" | "right";
|
|
727
|
+
}
|
|
728
|
+
interface DataTableProps<T = any> {
|
|
729
|
+
columns: DataTableColumn<T>[];
|
|
730
|
+
data: T[];
|
|
731
|
+
sortBy?: string;
|
|
732
|
+
sortDirection?: "asc" | "desc";
|
|
733
|
+
onSort?: (key: string) => void;
|
|
734
|
+
loading?: boolean;
|
|
735
|
+
emptyMessage?: string;
|
|
736
|
+
className?: string;
|
|
737
|
+
}
|
|
738
|
+
declare function DataTable<T extends Record<string, any>>({ columns, data, sortBy, sortDirection, onSort, loading, emptyMessage, className }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
739
|
+
|
|
740
|
+
interface DetailPageCard {
|
|
741
|
+
key: string;
|
|
742
|
+
component: (props: {
|
|
743
|
+
isEditing: boolean;
|
|
744
|
+
onToggleEdit: () => void;
|
|
745
|
+
className?: string;
|
|
746
|
+
}) => ReactNode;
|
|
747
|
+
expandOnEdit?: boolean;
|
|
748
|
+
}
|
|
749
|
+
interface DetailPageAction {
|
|
750
|
+
label: string;
|
|
751
|
+
variant?: "default" | "outline" | "destructive" | "secondary" | "ghost";
|
|
752
|
+
onClick?: () => void;
|
|
753
|
+
className?: string;
|
|
754
|
+
}
|
|
755
|
+
interface DetailPageLayoutProps {
|
|
756
|
+
title: string;
|
|
757
|
+
description: string;
|
|
758
|
+
cards: DetailPageCard[];
|
|
759
|
+
actions?: DetailPageAction[];
|
|
760
|
+
initialEditingState?: Record<string, boolean>;
|
|
761
|
+
}
|
|
762
|
+
declare const DetailPageLayout: ({ title, description, cards, actions, initialEditingState }: DetailPageLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
763
|
+
|
|
764
|
+
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
765
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
766
|
+
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
767
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
768
|
+
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
769
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
770
|
+
declare const DialogHeader: {
|
|
771
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
772
|
+
displayName: string;
|
|
773
|
+
};
|
|
774
|
+
declare const DialogFooter: {
|
|
775
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
776
|
+
displayName: string;
|
|
777
|
+
};
|
|
778
|
+
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
779
|
+
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
780
|
+
|
|
781
|
+
declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
782
|
+
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
783
|
+
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
784
|
+
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
785
|
+
inset?: boolean;
|
|
786
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
787
|
+
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
788
|
+
inset?: boolean;
|
|
789
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
790
|
+
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
791
|
+
|
|
792
|
+
interface FormCardProps extends Omit<CardProps, 'children'> {
|
|
793
|
+
title: string;
|
|
794
|
+
description?: string;
|
|
795
|
+
children: React$1.ReactNode;
|
|
796
|
+
headerActions?: React$1.ReactNode;
|
|
797
|
+
}
|
|
798
|
+
declare const FormCard: React$1.ForwardRefExoticComponent<FormCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
799
|
+
|
|
800
|
+
interface EditableFormCardProps extends Omit<FormCardProps, 'headerActions' | 'children'> {
|
|
801
|
+
title: string;
|
|
802
|
+
description?: string;
|
|
803
|
+
children?: React$1.ReactNode;
|
|
804
|
+
editContent: React$1.ReactNode;
|
|
805
|
+
viewContent: React$1.ReactNode;
|
|
806
|
+
isEditing?: boolean;
|
|
807
|
+
onToggleEdit?: () => void;
|
|
808
|
+
hideActions?: boolean;
|
|
809
|
+
onSave?: () => void | Promise<void>;
|
|
810
|
+
onCancel?: () => void;
|
|
811
|
+
className?: string;
|
|
812
|
+
isFormValid?: boolean;
|
|
813
|
+
isDirty?: boolean;
|
|
814
|
+
isSubmitting?: boolean;
|
|
815
|
+
}
|
|
816
|
+
declare const EditableFormCard: React$1.ForwardRefExoticComponent<EditableFormCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
817
|
+
|
|
818
|
+
interface EditableInfoFieldProps {
|
|
819
|
+
label: string;
|
|
820
|
+
value: string | null | undefined;
|
|
821
|
+
options: {
|
|
822
|
+
value: string;
|
|
823
|
+
label: string;
|
|
824
|
+
}[];
|
|
825
|
+
onChange: (value: string) => void;
|
|
826
|
+
placeholder?: string;
|
|
827
|
+
renderValue?: (value: string) => React.ReactNode;
|
|
828
|
+
className?: string;
|
|
829
|
+
}
|
|
830
|
+
declare const EditableInfoField: ({ label, value, options, onChange, placeholder, renderValue, className }: EditableInfoFieldProps) => react_jsx_runtime.JSX.Element;
|
|
831
|
+
|
|
832
|
+
declare const selectVariants: (props?: {
|
|
833
|
+
variant?: "default" | "disabled" | "error" | "success";
|
|
834
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
835
|
+
interface EnhancedSelectProps extends VariantProps<typeof selectVariants> {
|
|
836
|
+
label?: string;
|
|
837
|
+
hint?: string;
|
|
838
|
+
error?: string;
|
|
839
|
+
success?: string;
|
|
840
|
+
placeholder?: string;
|
|
841
|
+
options: {
|
|
842
|
+
value: string;
|
|
843
|
+
label: string;
|
|
844
|
+
disabled?: boolean;
|
|
845
|
+
}[];
|
|
846
|
+
value?: string;
|
|
847
|
+
onValueChange?: (value: string) => void;
|
|
848
|
+
disabled?: boolean;
|
|
849
|
+
}
|
|
850
|
+
declare const EnhancedSelect: React$1.ForwardRefExoticComponent<EnhancedSelectProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
851
|
+
|
|
852
|
+
declare const textareaVariants: (props?: {
|
|
853
|
+
variant?: "default" | "disabled" | "error" | "success" | "readonly";
|
|
854
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
855
|
+
interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textareaVariants> {
|
|
856
|
+
label?: string;
|
|
857
|
+
hint?: string;
|
|
858
|
+
error?: string;
|
|
859
|
+
success?: string;
|
|
860
|
+
}
|
|
861
|
+
declare const EnhancedTextarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
862
|
+
|
|
863
|
+
interface EntityAction {
|
|
864
|
+
label: string;
|
|
865
|
+
icon: React$1.ReactNode;
|
|
866
|
+
onClick: () => void;
|
|
867
|
+
variant?: "default" | "destructive";
|
|
868
|
+
}
|
|
869
|
+
interface EntityCardProps {
|
|
870
|
+
entity: {
|
|
871
|
+
id: string;
|
|
872
|
+
name: string;
|
|
873
|
+
type: string;
|
|
874
|
+
status: string;
|
|
875
|
+
description?: string;
|
|
876
|
+
metadata?: Record<string, any>;
|
|
877
|
+
};
|
|
878
|
+
actions?: EntityAction[];
|
|
879
|
+
showDefaultActions?: boolean;
|
|
880
|
+
onView?: (id: string) => void;
|
|
881
|
+
onEdit?: (id: string) => void;
|
|
882
|
+
onDelete?: (id: string) => void;
|
|
883
|
+
className?: string;
|
|
884
|
+
children?: React$1.ReactNode;
|
|
885
|
+
}
|
|
886
|
+
declare const EntityCard: React$1.ForwardRefExoticComponent<EntityCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
887
|
+
|
|
888
|
+
interface FormFieldProps {
|
|
889
|
+
label?: string;
|
|
890
|
+
description?: string;
|
|
891
|
+
error?: string;
|
|
892
|
+
required?: boolean;
|
|
893
|
+
children: React$1.ReactNode;
|
|
894
|
+
className?: string;
|
|
895
|
+
layout?: "vertical" | "horizontal";
|
|
896
|
+
}
|
|
897
|
+
declare const FormField: React$1.ForwardRefExoticComponent<FormFieldProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
898
|
+
|
|
899
|
+
interface FormInputProps<T extends FieldValues = FieldValues> extends Omit<InputProps, 'error' | 'name'> {
|
|
900
|
+
name: FieldPath<T>;
|
|
901
|
+
}
|
|
902
|
+
declare const FormInput: <T extends FieldValues = FieldValues>({ name, ...props }: FormInputProps<T>) => react_jsx_runtime.JSX.Element;
|
|
903
|
+
|
|
904
|
+
interface FormProviderProps<T extends FieldValues> {
|
|
905
|
+
form: UseFormReturn<T>;
|
|
906
|
+
children: React$1.ReactNode;
|
|
907
|
+
}
|
|
908
|
+
declare const FormProvider: <T extends FieldValues>({ form, children }: FormProviderProps<T>) => react_jsx_runtime.JSX.Element;
|
|
909
|
+
|
|
910
|
+
interface FormSectionProps {
|
|
911
|
+
title?: string;
|
|
912
|
+
description?: string;
|
|
913
|
+
children: React$1.ReactNode;
|
|
914
|
+
className?: string;
|
|
915
|
+
spacing?: "sm" | "md" | "lg";
|
|
916
|
+
layout?: "vertical" | "grid";
|
|
917
|
+
columns?: 1 | 2 | 3 | 4;
|
|
918
|
+
}
|
|
919
|
+
declare const FormSection: React$1.ForwardRefExoticComponent<FormSectionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
920
|
+
|
|
921
|
+
interface FormSelectProps<T extends FieldValues = FieldValues> {
|
|
922
|
+
name: FieldPath<T>;
|
|
923
|
+
label?: string;
|
|
924
|
+
hint?: string;
|
|
925
|
+
placeholder?: string;
|
|
926
|
+
options: {
|
|
927
|
+
value: string;
|
|
928
|
+
label: string;
|
|
929
|
+
disabled?: boolean;
|
|
930
|
+
}[];
|
|
931
|
+
disabled?: boolean;
|
|
932
|
+
}
|
|
933
|
+
declare const FormSelect: <T extends FieldValues = FieldValues>({ name, ...props }: FormSelectProps<T>) => react_jsx_runtime.JSX.Element;
|
|
934
|
+
|
|
935
|
+
interface InfoFieldProps {
|
|
936
|
+
label?: string;
|
|
937
|
+
value: string | React__default.ReactNode;
|
|
938
|
+
layout?: 'vertical' | 'horizontal' | 'compact';
|
|
939
|
+
className?: string;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
declare const InfoField: ({ label, value, layout, className }: InfoFieldProps) => react_jsx_runtime.JSX.Element;
|
|
943
|
+
|
|
944
|
+
interface JsonViewerProps {
|
|
945
|
+
data: any;
|
|
946
|
+
className?: string;
|
|
947
|
+
compact?: boolean;
|
|
948
|
+
maxHeight?: string;
|
|
949
|
+
}
|
|
950
|
+
declare const JsonViewer: ({ data, className, compact, maxHeight }: JsonViewerProps) => react_jsx_runtime.JSX.Element;
|
|
951
|
+
|
|
952
|
+
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_dist_types.ClassProp) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
953
|
+
|
|
954
|
+
interface MetricCardProps {
|
|
955
|
+
title: string;
|
|
956
|
+
value: string | number;
|
|
957
|
+
description?: string;
|
|
958
|
+
trend?: {
|
|
959
|
+
value: number;
|
|
960
|
+
label: string;
|
|
961
|
+
direction: "up" | "down" | "neutral";
|
|
962
|
+
};
|
|
963
|
+
icon?: React$1.ReactNode;
|
|
964
|
+
variant?: "default" | "success" | "warning" | "destructive";
|
|
965
|
+
className?: string;
|
|
966
|
+
}
|
|
967
|
+
declare const MetricCard: React$1.ForwardRefExoticComponent<MetricCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
968
|
+
|
|
969
|
+
interface PageAction {
|
|
970
|
+
label: string;
|
|
971
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "ghost";
|
|
972
|
+
onClick: () => void;
|
|
973
|
+
icon?: React$1.ComponentType<{
|
|
974
|
+
className?: string;
|
|
975
|
+
}>;
|
|
976
|
+
}
|
|
977
|
+
interface PageCard {
|
|
978
|
+
component: React$1.ComponentType<any>;
|
|
979
|
+
key: string;
|
|
980
|
+
expandOnEdit?: boolean;
|
|
981
|
+
props?: Record<string, any>;
|
|
982
|
+
}
|
|
983
|
+
interface PageLayoutProps {
|
|
984
|
+
title: string;
|
|
985
|
+
description?: string;
|
|
986
|
+
children?: React$1.ReactNode;
|
|
987
|
+
actions?: PageAction[];
|
|
988
|
+
cards?: PageCard[];
|
|
989
|
+
mode?: "simple" | "detail" | "cards";
|
|
990
|
+
maxWidth?: "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
|
991
|
+
gridCols?: 1 | 2 | 3 | 4;
|
|
992
|
+
responsive?: boolean;
|
|
993
|
+
className?: string;
|
|
994
|
+
}
|
|
995
|
+
declare const PageLayout: React$1.ForwardRefExoticComponent<PageLayoutProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
996
|
+
|
|
997
|
+
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
998
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
999
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1000
|
+
|
|
1001
|
+
interface ResponsiveGridProps {
|
|
1002
|
+
children: React$1.ReactNode;
|
|
1003
|
+
type?: "cards" | "forms" | "data" | "custom";
|
|
1004
|
+
gap?: "sm" | "md" | "lg" | "xl";
|
|
1005
|
+
editMode?: boolean;
|
|
1006
|
+
className?: string;
|
|
1007
|
+
}
|
|
1008
|
+
declare const ResponsiveGrid: React$1.ForwardRefExoticComponent<ResponsiveGridProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1009
|
+
|
|
1010
|
+
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1011
|
+
|
|
1012
|
+
declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
|
|
1013
|
+
declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1014
|
+
declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1015
|
+
declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
1016
|
+
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1017
|
+
declare const sheetVariants: (props?: {
|
|
1018
|
+
side?: "top" | "bottom" | "left" | "right";
|
|
1019
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1020
|
+
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
1021
|
+
}
|
|
1022
|
+
declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1023
|
+
declare const SheetHeader: {
|
|
1024
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1025
|
+
displayName: string;
|
|
1026
|
+
};
|
|
1027
|
+
declare const SheetFooter: {
|
|
1028
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1029
|
+
displayName: string;
|
|
1030
|
+
};
|
|
1031
|
+
declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1032
|
+
declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1033
|
+
|
|
1034
|
+
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1035
|
+
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
1036
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1037
|
+
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1038
|
+
|
|
1039
|
+
type SidebarContext = {
|
|
1040
|
+
state: "expanded" | "collapsed";
|
|
1041
|
+
open: boolean;
|
|
1042
|
+
setOpen: (open: boolean) => void;
|
|
1043
|
+
openMobile: boolean;
|
|
1044
|
+
setOpenMobile: (open: boolean) => void;
|
|
1045
|
+
isMobile: boolean;
|
|
1046
|
+
toggleSidebar: () => void;
|
|
1047
|
+
};
|
|
1048
|
+
declare const SidebarContext: React$1.Context<SidebarContext>;
|
|
1049
|
+
declare function useSidebar(): SidebarContext;
|
|
1050
|
+
declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1051
|
+
defaultOpen?: boolean;
|
|
1052
|
+
open?: boolean;
|
|
1053
|
+
onOpenChange?: (open: boolean) => void;
|
|
1054
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1055
|
+
declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1056
|
+
side?: "left" | "right";
|
|
1057
|
+
variant?: "sidebar" | "floating" | "inset";
|
|
1058
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
1059
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1060
|
+
declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1061
|
+
declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1062
|
+
declare const SidebarInset: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1063
|
+
declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
1064
|
+
declare const SidebarHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1065
|
+
declare const SidebarFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1066
|
+
declare const SidebarSeparator: React$1.ForwardRefExoticComponent<Omit<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1067
|
+
declare const SidebarContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1068
|
+
declare const SidebarGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1069
|
+
declare const SidebarGroupLabel: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1070
|
+
asChild?: boolean;
|
|
1071
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1072
|
+
declare const SidebarGroupAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1073
|
+
asChild?: boolean;
|
|
1074
|
+
}, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1075
|
+
declare const SidebarGroupContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1076
|
+
declare const SidebarMenu: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
1077
|
+
declare const SidebarMenuItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
1078
|
+
declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1079
|
+
asChild?: boolean;
|
|
1080
|
+
isActive?: boolean;
|
|
1081
|
+
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
1082
|
+
} & VariantProps<(props?: {
|
|
1083
|
+
variant?: "default" | "outline";
|
|
1084
|
+
size?: "default" | "sm" | "lg";
|
|
1085
|
+
} & class_variance_authority_dist_types.ClassProp) => string>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1086
|
+
declare const SidebarMenuAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1087
|
+
asChild?: boolean;
|
|
1088
|
+
showOnHover?: boolean;
|
|
1089
|
+
}, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1090
|
+
declare const SidebarMenuBadge: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1091
|
+
declare const SidebarMenuSkeleton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1092
|
+
showIcon?: boolean;
|
|
1093
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1094
|
+
declare const SidebarMenuSub: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
1095
|
+
declare const SidebarMenuSubItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
1096
|
+
declare const SidebarMenuSubButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLAnchorElement> & React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
1097
|
+
asChild?: boolean;
|
|
1098
|
+
size?: "sm" | "md";
|
|
1099
|
+
isActive?: boolean;
|
|
1100
|
+
}, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1101
|
+
|
|
1102
|
+
type ToasterProps = React.ComponentProps<typeof Toaster$1>;
|
|
1103
|
+
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
1104
|
+
|
|
1105
|
+
interface StackProps {
|
|
1106
|
+
children: React$1.ReactNode;
|
|
1107
|
+
direction?: "vertical" | "horizontal";
|
|
1108
|
+
spacing?: "none" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
1109
|
+
align?: "start" | "center" | "end" | "stretch";
|
|
1110
|
+
justify?: "start" | "center" | "end" | "between" | "around";
|
|
1111
|
+
className?: string;
|
|
1112
|
+
}
|
|
1113
|
+
declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1114
|
+
|
|
1115
|
+
interface StatusBadgeProps {
|
|
1116
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING" | "SUSPENDED" | "POSTED" | "FAILED" | "CANCELLED";
|
|
1117
|
+
className?: string;
|
|
1118
|
+
}
|
|
1119
|
+
declare const StatusBadge: ({ status, className }: StatusBadgeProps) => react_jsx_runtime.JSX.Element;
|
|
1120
|
+
|
|
1121
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1122
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1123
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1124
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1125
|
+
|
|
1126
|
+
declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
|
|
1127
|
+
declare const ToastViewport: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React$1.RefAttributes<HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
1128
|
+
declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: {
|
|
1129
|
+
variant?: "default" | "destructive";
|
|
1130
|
+
} & class_variance_authority_dist_types.ClassProp) => string> & React$1.RefAttributes<HTMLLIElement>>;
|
|
1131
|
+
declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1132
|
+
declare const ToastClose: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1133
|
+
declare const ToastTitle: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1134
|
+
declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1135
|
+
type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
|
|
1136
|
+
type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
|
|
1137
|
+
|
|
1138
|
+
declare function DashboardDemo(): react_jsx_runtime.JSX.Element;
|
|
1139
|
+
|
|
1140
|
+
declare function PatternLibrary(): react_jsx_runtime.JSX.Element;
|
|
1141
|
+
|
|
1142
|
+
declare function UIKitShowcase(): react_jsx_runtime.JSX.Element;
|
|
1143
|
+
|
|
1144
|
+
declare function useIsMobile(): boolean;
|
|
1145
|
+
|
|
1146
|
+
type ToasterToast = ToastProps & {
|
|
1147
|
+
id: string;
|
|
1148
|
+
title?: React$1.ReactNode;
|
|
1149
|
+
description?: React$1.ReactNode;
|
|
1150
|
+
action?: ToastActionElement;
|
|
1151
|
+
};
|
|
1152
|
+
declare const actionTypes: {
|
|
1153
|
+
readonly ADD_TOAST: "ADD_TOAST";
|
|
1154
|
+
readonly UPDATE_TOAST: "UPDATE_TOAST";
|
|
1155
|
+
readonly DISMISS_TOAST: "DISMISS_TOAST";
|
|
1156
|
+
readonly REMOVE_TOAST: "REMOVE_TOAST";
|
|
1157
|
+
};
|
|
1158
|
+
type ActionType = typeof actionTypes;
|
|
1159
|
+
type Action = {
|
|
1160
|
+
type: ActionType["ADD_TOAST"];
|
|
1161
|
+
toast: ToasterToast;
|
|
1162
|
+
} | {
|
|
1163
|
+
type: ActionType["UPDATE_TOAST"];
|
|
1164
|
+
toast: Partial<ToasterToast>;
|
|
1165
|
+
} | {
|
|
1166
|
+
type: ActionType["DISMISS_TOAST"];
|
|
1167
|
+
toastId?: ToasterToast["id"];
|
|
1168
|
+
} | {
|
|
1169
|
+
type: ActionType["REMOVE_TOAST"];
|
|
1170
|
+
toastId?: ToasterToast["id"];
|
|
1171
|
+
};
|
|
1172
|
+
interface State {
|
|
1173
|
+
toasts: ToasterToast[];
|
|
1174
|
+
}
|
|
1175
|
+
declare const reducer: (state: State, action: Action) => State;
|
|
1176
|
+
type Toast = Omit<ToasterToast, "id">;
|
|
1177
|
+
declare function toast({ ...props }: Toast): {
|
|
1178
|
+
id: string;
|
|
1179
|
+
dismiss: () => void;
|
|
1180
|
+
update: (props: ToasterToast) => void;
|
|
1181
|
+
};
|
|
1182
|
+
declare function useToast(): {
|
|
1183
|
+
toast: typeof toast;
|
|
1184
|
+
dismiss: (toastId?: string) => void;
|
|
1185
|
+
toasts: ToasterToast[];
|
|
1186
|
+
};
|
|
1187
|
+
|
|
1188
|
+
interface UseEditStateProps {
|
|
1189
|
+
initialEditing?: boolean;
|
|
1190
|
+
onToggleEdit?: () => void;
|
|
1191
|
+
onSave?: () => void | Promise<void>;
|
|
1192
|
+
onCancel?: () => void;
|
|
1193
|
+
}
|
|
1194
|
+
declare const useEditState: ({ initialEditing, onToggleEdit, onSave, onCancel }: UseEditStateProps) => {
|
|
1195
|
+
isEditing: boolean;
|
|
1196
|
+
isLoading: boolean;
|
|
1197
|
+
handleToggleEdit: () => void;
|
|
1198
|
+
handleSave: () => Promise<void>;
|
|
1199
|
+
handleCancel: () => void;
|
|
1200
|
+
};
|
|
1201
|
+
|
|
1202
|
+
interface UseFormWithEditStateProps<T extends FieldValues> extends UseFormProps<T> {
|
|
1203
|
+
schema?: z.ZodSchema<T>;
|
|
1204
|
+
initialEditing?: boolean;
|
|
1205
|
+
onToggleEdit?: () => void;
|
|
1206
|
+
onSave?: (data: T) => void | Promise<void>;
|
|
1207
|
+
onCancel?: () => void;
|
|
1208
|
+
}
|
|
1209
|
+
interface UseFormWithEditStateReturn<T extends FieldValues> extends UseFormReturn<T> {
|
|
1210
|
+
isEditing: boolean;
|
|
1211
|
+
isLoading: boolean;
|
|
1212
|
+
handleToggleEdit: () => void;
|
|
1213
|
+
handleSave: () => Promise<void>;
|
|
1214
|
+
handleCancel: () => void;
|
|
1215
|
+
isFormValid: boolean;
|
|
1216
|
+
isDirty: boolean;
|
|
1217
|
+
setFieldError: (field: Path<T>, error: string) => void;
|
|
1218
|
+
}
|
|
1219
|
+
declare const useFormWithEditState: <T extends FieldValues>({ schema, initialEditing, onToggleEdit, onSave, onCancel, ...formProps }: UseFormWithEditStateProps<T>) => UseFormWithEditStateReturn<T>;
|
|
1220
|
+
|
|
1221
|
+
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, AccountCard, AddressForm, AlertDocuments, AlertNotes, AlertTimeline, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, ContactInfoCard, Container, ContextSection, CounterpartyBasicInfo, CounterpartyProfileCard, CounterpartyRecordsCard, CounterpartyTypeBadge, 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, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ResponsiveGrid, 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, StatusBadge, 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, UIKitShowcase, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, inputVariants, reducer, textareaVariants, toast, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
|