braid-ui 1.0.146 → 1.0.148

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -169,34 +169,47 @@ interface OFACDetailViewProps {
169
169
  }
170
170
  declare function OFACDetailView({ ofacCheck, entityUrl, results, onBack, onAlertClick }: OFACDetailViewProps): react_jsx_runtime.JSX.Element;
171
171
 
172
- interface FileUpload314A {
173
- id: string;
174
- fileUploadedAt: string;
175
- filename: string;
176
- uploadBy: string;
177
- recordUploaded: number;
178
- businessChecked: number;
179
- individualChecked: number;
180
- alertsCreated: number;
181
- }
182
-
183
172
  interface A314AFiltersState {
184
173
  fromDate: Date | undefined;
185
174
  toDate: Date | undefined;
186
175
  }
187
176
  interface A314AViewProps {
188
- uploads: FileUpload314A[];
189
- sortField: keyof FileUpload314A;
190
- sortDirection: "asc" | "desc";
191
- onSort: (field: keyof FileUpload314A) => void;
177
+ table: React.ReactNode;
192
178
  filters: A314AFiltersState;
193
179
  onFilterChange: (field: keyof A314AFiltersState, value: Date | undefined) => void;
194
180
  onResetFilters: () => void;
195
181
  onApplyFilters: () => void;
196
182
  uploadDialogOpen: boolean;
197
183
  onUploadDialogOpenChange: (open: boolean) => void;
184
+ uploadSelectedFile: File | null;
185
+ onUploadFileChange: (file: File | null) => void;
186
+ isUploading: boolean;
187
+ onUpload: () => void;
188
+ }
189
+ declare function A314AView({ table, filters, onFilterChange, onResetFilters, onApplyFilters, uploadDialogOpen, onUploadDialogOpenChange, uploadSelectedFile, onUploadFileChange, isUploading, onUpload, }: A314AViewProps): react_jsx_runtime.JSX.Element;
190
+
191
+ interface VelocityLimitFilters {
192
+ accountNumber: string;
193
+ counterpartyId: string;
194
+ productId: string;
195
+ programId: string;
196
+ limitName: string;
197
+ limitType: string;
198
+ status: string;
199
+ aggregationLevel: string;
200
+ action: string;
201
+ transactionType: string;
202
+ transactionGroup: string;
203
+ }
204
+ interface VelocityLimitsViewProps {
205
+ table: React.ReactNode;
206
+ filters: VelocityLimitFilters;
207
+ onFilterChange: (field: keyof VelocityLimitFilters, value: string | Date | undefined) => void;
208
+ onResetFilters: () => void;
209
+ onApplyFilters: () => void;
210
+ onCreate: () => void;
198
211
  }
199
- declare function A314AView({ uploads, sortField, sortDirection, onSort, filters, onFilterChange, onResetFilters, onApplyFilters, uploadDialogOpen, onUploadDialogOpenChange, }: A314AViewProps): react_jsx_runtime.JSX.Element;
212
+ declare function VelocityLimitsView({ table, filters, onFilterChange, onResetFilters, onApplyFilters, onCreate, }: VelocityLimitsViewProps): react_jsx_runtime.JSX.Element;
200
213
 
201
214
  interface VelocityLimit {
202
215
  id: string;
@@ -222,34 +235,6 @@ interface VelocityLimit {
222
235
  prohibitedEntities?: string;
223
236
  }
224
237
 
225
- interface VelocityLimitFilters {
226
- accountNumber: string;
227
- counterpartyId: string;
228
- productId: string;
229
- programId: string;
230
- limitName: string;
231
- limitType: string;
232
- status: string;
233
- aggregationLevel: string;
234
- action: string;
235
- transactionType: string;
236
- transactionGroup: string;
237
- }
238
- interface VelocityLimitsViewProps {
239
- limits: VelocityLimit[];
240
- sortField: keyof VelocityLimit;
241
- sortDirection: "asc" | "desc";
242
- onSort: (field: keyof VelocityLimit) => void;
243
- filters: VelocityLimitFilters;
244
- onFilterChange: (field: keyof VelocityLimitFilters, value: string | Date | undefined) => void;
245
- onResetFilters: () => void;
246
- onCreate: () => void;
247
- onRowClick: (limit: VelocityLimit) => void;
248
- getStatusVariant: (status: VelocityLimit["status"]) => "success" | "warning" | "destructive" | "secondary";
249
- getActionVariant: (action: VelocityLimit["action"]) => "secondary";
250
- }
251
- declare function VelocityLimitsView({ limits, sortField, sortDirection, onSort, filters, onFilterChange, onResetFilters, onCreate, onRowClick, getStatusVariant, getActionVariant, }: VelocityLimitsViewProps): react_jsx_runtime.JSX.Element;
252
-
253
238
  interface VelocityLimitDetailViewProps {
254
239
  limit: VelocityLimit | undefined;
255
240
  onBack: () => void;
package/dist/index.d.ts CHANGED
@@ -169,34 +169,47 @@ interface OFACDetailViewProps {
169
169
  }
170
170
  declare function OFACDetailView({ ofacCheck, entityUrl, results, onBack, onAlertClick }: OFACDetailViewProps): react_jsx_runtime.JSX.Element;
171
171
 
172
- interface FileUpload314A {
173
- id: string;
174
- fileUploadedAt: string;
175
- filename: string;
176
- uploadBy: string;
177
- recordUploaded: number;
178
- businessChecked: number;
179
- individualChecked: number;
180
- alertsCreated: number;
181
- }
182
-
183
172
  interface A314AFiltersState {
184
173
  fromDate: Date | undefined;
185
174
  toDate: Date | undefined;
186
175
  }
187
176
  interface A314AViewProps {
188
- uploads: FileUpload314A[];
189
- sortField: keyof FileUpload314A;
190
- sortDirection: "asc" | "desc";
191
- onSort: (field: keyof FileUpload314A) => void;
177
+ table: React.ReactNode;
192
178
  filters: A314AFiltersState;
193
179
  onFilterChange: (field: keyof A314AFiltersState, value: Date | undefined) => void;
194
180
  onResetFilters: () => void;
195
181
  onApplyFilters: () => void;
196
182
  uploadDialogOpen: boolean;
197
183
  onUploadDialogOpenChange: (open: boolean) => void;
184
+ uploadSelectedFile: File | null;
185
+ onUploadFileChange: (file: File | null) => void;
186
+ isUploading: boolean;
187
+ onUpload: () => void;
188
+ }
189
+ declare function A314AView({ table, filters, onFilterChange, onResetFilters, onApplyFilters, uploadDialogOpen, onUploadDialogOpenChange, uploadSelectedFile, onUploadFileChange, isUploading, onUpload, }: A314AViewProps): react_jsx_runtime.JSX.Element;
190
+
191
+ interface VelocityLimitFilters {
192
+ accountNumber: string;
193
+ counterpartyId: string;
194
+ productId: string;
195
+ programId: string;
196
+ limitName: string;
197
+ limitType: string;
198
+ status: string;
199
+ aggregationLevel: string;
200
+ action: string;
201
+ transactionType: string;
202
+ transactionGroup: string;
203
+ }
204
+ interface VelocityLimitsViewProps {
205
+ table: React.ReactNode;
206
+ filters: VelocityLimitFilters;
207
+ onFilterChange: (field: keyof VelocityLimitFilters, value: string | Date | undefined) => void;
208
+ onResetFilters: () => void;
209
+ onApplyFilters: () => void;
210
+ onCreate: () => void;
198
211
  }
199
- declare function A314AView({ uploads, sortField, sortDirection, onSort, filters, onFilterChange, onResetFilters, onApplyFilters, uploadDialogOpen, onUploadDialogOpenChange, }: A314AViewProps): react_jsx_runtime.JSX.Element;
212
+ declare function VelocityLimitsView({ table, filters, onFilterChange, onResetFilters, onApplyFilters, onCreate, }: VelocityLimitsViewProps): react_jsx_runtime.JSX.Element;
200
213
 
201
214
  interface VelocityLimit {
202
215
  id: string;
@@ -222,34 +235,6 @@ interface VelocityLimit {
222
235
  prohibitedEntities?: string;
223
236
  }
224
237
 
225
- interface VelocityLimitFilters {
226
- accountNumber: string;
227
- counterpartyId: string;
228
- productId: string;
229
- programId: string;
230
- limitName: string;
231
- limitType: string;
232
- status: string;
233
- aggregationLevel: string;
234
- action: string;
235
- transactionType: string;
236
- transactionGroup: string;
237
- }
238
- interface VelocityLimitsViewProps {
239
- limits: VelocityLimit[];
240
- sortField: keyof VelocityLimit;
241
- sortDirection: "asc" | "desc";
242
- onSort: (field: keyof VelocityLimit) => void;
243
- filters: VelocityLimitFilters;
244
- onFilterChange: (field: keyof VelocityLimitFilters, value: string | Date | undefined) => void;
245
- onResetFilters: () => void;
246
- onCreate: () => void;
247
- onRowClick: (limit: VelocityLimit) => void;
248
- getStatusVariant: (status: VelocityLimit["status"]) => "success" | "warning" | "destructive" | "secondary";
249
- getActionVariant: (action: VelocityLimit["action"]) => "secondary";
250
- }
251
- declare function VelocityLimitsView({ limits, sortField, sortDirection, onSort, filters, onFilterChange, onResetFilters, onCreate, onRowClick, getStatusVariant, getActionVariant, }: VelocityLimitsViewProps): react_jsx_runtime.JSX.Element;
252
-
253
238
  interface VelocityLimitDetailViewProps {
254
239
  limit: VelocityLimit | undefined;
255
240
  onBack: () => void;