braid-ui 1.0.143 → 1.0.145
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/braid-ui.css +0 -4
- package/dist/css/braid-ui.min.css +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -20
- package/dist/index.d.ts +15 -20
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -124,18 +124,6 @@ interface MainLayoutProps {
|
|
|
124
124
|
}
|
|
125
125
|
declare const MainLayout: ({ children }: MainLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
126
126
|
|
|
127
|
-
interface OFACCheck {
|
|
128
|
-
id: string;
|
|
129
|
-
created: string;
|
|
130
|
-
entityId: string;
|
|
131
|
-
entityName: string;
|
|
132
|
-
entityType: "Individual" | "Business" | "Counterparty";
|
|
133
|
-
alertId: string | null;
|
|
134
|
-
status: "NO MATCH" | "REVIEW" | "CLEARED" | "CONFIRMED";
|
|
135
|
-
updatedBy: string;
|
|
136
|
-
note: string | null;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
127
|
interface OFACFilters {
|
|
140
128
|
status: string;
|
|
141
129
|
entityType: string;
|
|
@@ -147,20 +135,27 @@ interface OFACOption {
|
|
|
147
135
|
label: string;
|
|
148
136
|
}
|
|
149
137
|
interface OFACViewProps {
|
|
150
|
-
|
|
151
|
-
sortField: keyof OFACCheck;
|
|
152
|
-
sortDirection: "asc" | "desc";
|
|
138
|
+
table: React.ReactNode;
|
|
153
139
|
filters: OFACFilters;
|
|
154
140
|
statusOptions: OFACOption[];
|
|
155
141
|
entityTypeOptions: OFACOption[];
|
|
156
|
-
onSort: (field: keyof OFACCheck) => void;
|
|
157
142
|
onFilterChange: (field: keyof OFACFilters, value: string | Date | undefined) => void;
|
|
158
143
|
onResetFilters: () => void;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
144
|
+
onApplyFilters: () => void;
|
|
145
|
+
}
|
|
146
|
+
declare function OFACView({ table, filters, statusOptions, entityTypeOptions, onFilterChange, onResetFilters, onApplyFilters, }: OFACViewProps): react_jsx_runtime.JSX.Element;
|
|
147
|
+
|
|
148
|
+
interface OFACCheck {
|
|
149
|
+
id: string;
|
|
150
|
+
created: string;
|
|
151
|
+
entityId: string;
|
|
152
|
+
entityName: string;
|
|
153
|
+
entityType: "Individual" | "Business" | "Counterparty";
|
|
154
|
+
alertId: string | null;
|
|
155
|
+
status: "NO MATCH" | "REVIEW" | "CLEARED" | "CONFIRMED";
|
|
156
|
+
updatedBy: string;
|
|
157
|
+
note: string | null;
|
|
162
158
|
}
|
|
163
|
-
declare function OFACView({ checks, sortField, sortDirection, filters, statusOptions, entityTypeOptions, onSort, onFilterChange, onResetFilters, onRowClick, onEntityClick, onAlertClick, }: OFACViewProps): react_jsx_runtime.JSX.Element;
|
|
164
159
|
|
|
165
160
|
interface OFACDetailViewProps {
|
|
166
161
|
ofacCheck: OFACCheck | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -124,18 +124,6 @@ interface MainLayoutProps {
|
|
|
124
124
|
}
|
|
125
125
|
declare const MainLayout: ({ children }: MainLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
126
126
|
|
|
127
|
-
interface OFACCheck {
|
|
128
|
-
id: string;
|
|
129
|
-
created: string;
|
|
130
|
-
entityId: string;
|
|
131
|
-
entityName: string;
|
|
132
|
-
entityType: "Individual" | "Business" | "Counterparty";
|
|
133
|
-
alertId: string | null;
|
|
134
|
-
status: "NO MATCH" | "REVIEW" | "CLEARED" | "CONFIRMED";
|
|
135
|
-
updatedBy: string;
|
|
136
|
-
note: string | null;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
127
|
interface OFACFilters {
|
|
140
128
|
status: string;
|
|
141
129
|
entityType: string;
|
|
@@ -147,20 +135,27 @@ interface OFACOption {
|
|
|
147
135
|
label: string;
|
|
148
136
|
}
|
|
149
137
|
interface OFACViewProps {
|
|
150
|
-
|
|
151
|
-
sortField: keyof OFACCheck;
|
|
152
|
-
sortDirection: "asc" | "desc";
|
|
138
|
+
table: React.ReactNode;
|
|
153
139
|
filters: OFACFilters;
|
|
154
140
|
statusOptions: OFACOption[];
|
|
155
141
|
entityTypeOptions: OFACOption[];
|
|
156
|
-
onSort: (field: keyof OFACCheck) => void;
|
|
157
142
|
onFilterChange: (field: keyof OFACFilters, value: string | Date | undefined) => void;
|
|
158
143
|
onResetFilters: () => void;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
144
|
+
onApplyFilters: () => void;
|
|
145
|
+
}
|
|
146
|
+
declare function OFACView({ table, filters, statusOptions, entityTypeOptions, onFilterChange, onResetFilters, onApplyFilters, }: OFACViewProps): react_jsx_runtime.JSX.Element;
|
|
147
|
+
|
|
148
|
+
interface OFACCheck {
|
|
149
|
+
id: string;
|
|
150
|
+
created: string;
|
|
151
|
+
entityId: string;
|
|
152
|
+
entityName: string;
|
|
153
|
+
entityType: "Individual" | "Business" | "Counterparty";
|
|
154
|
+
alertId: string | null;
|
|
155
|
+
status: "NO MATCH" | "REVIEW" | "CLEARED" | "CONFIRMED";
|
|
156
|
+
updatedBy: string;
|
|
157
|
+
note: string | null;
|
|
162
158
|
}
|
|
163
|
-
declare function OFACView({ checks, sortField, sortDirection, filters, statusOptions, entityTypeOptions, onSort, onFilterChange, onResetFilters, onRowClick, onEntityClick, onAlertClick, }: OFACViewProps): react_jsx_runtime.JSX.Element;
|
|
164
159
|
|
|
165
160
|
interface OFACDetailViewProps {
|
|
166
161
|
ofacCheck: OFACCheck | undefined;
|