@retinalabsllc/zairusjs 9.0.3 → 9.0.5
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.mts +231 -1
- package/dist/index.d.ts +231 -1
- package/dist/index.js +1621 -268
- package/dist/index.mjs +1649 -264
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -50,6 +50,39 @@ interface HeaderProps {
|
|
|
50
50
|
}
|
|
51
51
|
declare const Header: React.FC<HeaderProps>;
|
|
52
52
|
|
|
53
|
+
type AuthMode = "LOGIN" | "SIGNUP";
|
|
54
|
+
interface PipleAuthProps {
|
|
55
|
+
companyName: string;
|
|
56
|
+
workspaceLabel?: string;
|
|
57
|
+
termsUrl?: string;
|
|
58
|
+
privacyUrl?: string;
|
|
59
|
+
requireNames?: boolean;
|
|
60
|
+
requireOrganization?: boolean;
|
|
61
|
+
useRecaptcha?: boolean;
|
|
62
|
+
recaptchaSiteKey?: string;
|
|
63
|
+
defaultRedirectPath?: string;
|
|
64
|
+
onAuthRequest: (payload: {
|
|
65
|
+
email: string;
|
|
66
|
+
firstName?: string;
|
|
67
|
+
lastName?: string;
|
|
68
|
+
organizationName?: string;
|
|
69
|
+
mode: AuthMode;
|
|
70
|
+
recaptchaToken?: string;
|
|
71
|
+
}) => Promise<{
|
|
72
|
+
success: boolean;
|
|
73
|
+
error?: string;
|
|
74
|
+
}>;
|
|
75
|
+
onVerifyOtp: (payload: {
|
|
76
|
+
email: string;
|
|
77
|
+
code: string;
|
|
78
|
+
}) => Promise<{
|
|
79
|
+
success: boolean;
|
|
80
|
+
error?: string;
|
|
81
|
+
redirect?: string;
|
|
82
|
+
}>;
|
|
83
|
+
}
|
|
84
|
+
declare const PipleAuth: React.FC<PipleAuthProps>;
|
|
85
|
+
|
|
53
86
|
interface FooterLink {
|
|
54
87
|
label: string;
|
|
55
88
|
href: string;
|
|
@@ -73,6 +106,203 @@ interface FooterProps {
|
|
|
73
106
|
}
|
|
74
107
|
declare const Footer: React.FC<FooterProps>;
|
|
75
108
|
|
|
109
|
+
interface MobileNavItem {
|
|
110
|
+
label: string;
|
|
111
|
+
href: string;
|
|
112
|
+
icon: any;
|
|
113
|
+
}
|
|
114
|
+
interface MobileNavProps {
|
|
115
|
+
items: MobileNavItem[];
|
|
116
|
+
}
|
|
117
|
+
declare const MobileNav: React.FC<MobileNavProps>;
|
|
118
|
+
|
|
119
|
+
interface BannerProps {
|
|
120
|
+
/** The heading text of the banner */
|
|
121
|
+
title: string;
|
|
122
|
+
/** The main message content */
|
|
123
|
+
message: string;
|
|
124
|
+
/** The type of banner, determines colors and default icon */
|
|
125
|
+
type: 'success' | 'warning' | 'alert';
|
|
126
|
+
/** Optional custom icon to override the default */
|
|
127
|
+
icon?: any;
|
|
128
|
+
/** Whether the banner can be dismissed by the user */
|
|
129
|
+
isDismissible?: boolean;
|
|
130
|
+
/** Optional callback when the banner is dismissed */
|
|
131
|
+
onDismiss?: () => void;
|
|
132
|
+
/** Optional custom action button */
|
|
133
|
+
action?: React.ReactNode;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
interface UniversalOrganizationPageProps {
|
|
137
|
+
initialOrgName: string;
|
|
138
|
+
initialSlug: string;
|
|
139
|
+
initialUsername?: string;
|
|
140
|
+
orgId: string;
|
|
141
|
+
isReadOnly?: boolean;
|
|
142
|
+
slugPrefixUrl?: string;
|
|
143
|
+
bannerProps?: BannerProps;
|
|
144
|
+
onSaveConfiguration: (payload: {
|
|
145
|
+
organizationId: string;
|
|
146
|
+
organizationName?: string;
|
|
147
|
+
slug?: string;
|
|
148
|
+
username?: string;
|
|
149
|
+
}) => Promise<{
|
|
150
|
+
success: boolean;
|
|
151
|
+
error?: string;
|
|
152
|
+
}>;
|
|
153
|
+
onCheckSlugAvailability: (slug: string) => Promise<{
|
|
154
|
+
available: boolean;
|
|
155
|
+
}>;
|
|
156
|
+
}
|
|
157
|
+
declare const UniversalOrganizationPage: React.FC<UniversalOrganizationPageProps>;
|
|
158
|
+
|
|
159
|
+
interface UniversalProfileSettingsProps {
|
|
160
|
+
initialFirstName: string;
|
|
161
|
+
initialLastName: string;
|
|
162
|
+
email: string;
|
|
163
|
+
accountStatus?: string;
|
|
164
|
+
memberSince?: string | Date | null;
|
|
165
|
+
isReadOnly?: boolean;
|
|
166
|
+
bannerProps?: BannerProps;
|
|
167
|
+
hasPin?: boolean;
|
|
168
|
+
isPinLoading?: boolean;
|
|
169
|
+
onSavePin?: (payload: {
|
|
170
|
+
action: 'create_pin' | 'change_pin';
|
|
171
|
+
oldPin?: string;
|
|
172
|
+
newPin: string;
|
|
173
|
+
}) => Promise<{
|
|
174
|
+
success: boolean;
|
|
175
|
+
error?: string;
|
|
176
|
+
message?: string;
|
|
177
|
+
}>;
|
|
178
|
+
onSaveProfile: (payload: {
|
|
179
|
+
firstName: string;
|
|
180
|
+
lastName: string;
|
|
181
|
+
}) => Promise<{
|
|
182
|
+
success: boolean;
|
|
183
|
+
error?: string;
|
|
184
|
+
}>;
|
|
185
|
+
}
|
|
186
|
+
declare const UniversalProfileSettings: React.FC<UniversalProfileSettingsProps>;
|
|
187
|
+
|
|
188
|
+
interface UniversalErrorViewProps {
|
|
189
|
+
isBooting: boolean;
|
|
190
|
+
isLoading: boolean;
|
|
191
|
+
activeData: any;
|
|
192
|
+
activeError: any;
|
|
193
|
+
/** The dynamic name of the environment failing to load (e.g., "application", "workspace") */
|
|
194
|
+
envName: string;
|
|
195
|
+
/** Function to execute when the user clicks "Refresh" */
|
|
196
|
+
onRetry: () => void;
|
|
197
|
+
/** URL to fallback to on a hard error. Defaults to '/app' */
|
|
198
|
+
returnUrl?: string;
|
|
199
|
+
/** Label for the hard fallback button. Defaults to 'Return to Workspace' */
|
|
200
|
+
returnLabel?: string;
|
|
201
|
+
}
|
|
202
|
+
declare const UniversalErrorView: React.FC<UniversalErrorViewProps>;
|
|
203
|
+
|
|
204
|
+
interface UniversalTransaction {
|
|
205
|
+
id: string;
|
|
206
|
+
cardId?: string | null;
|
|
207
|
+
type: 'CARD_TRANSACTION' | 'WALLET_TRANSACTION';
|
|
208
|
+
direction: 'CREDIT' | 'DEBIT';
|
|
209
|
+
amount: number | string;
|
|
210
|
+
currency: string;
|
|
211
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED' | 'REVERSED';
|
|
212
|
+
reference: string;
|
|
213
|
+
metadata?: any;
|
|
214
|
+
createdAt: string | Date;
|
|
215
|
+
}
|
|
216
|
+
interface UniversalTransactionPageProps {
|
|
217
|
+
headerTitle: string;
|
|
218
|
+
headerDescription: string;
|
|
219
|
+
hideControls?: boolean;
|
|
220
|
+
hideBalanceAmounts?: boolean;
|
|
221
|
+
hidePagination?: boolean;
|
|
222
|
+
transactions: UniversalTransaction[];
|
|
223
|
+
isLoading: boolean;
|
|
224
|
+
currentPage: number;
|
|
225
|
+
totalPages: number;
|
|
226
|
+
onPageChange: (page: number) => void;
|
|
227
|
+
searchQuery: string;
|
|
228
|
+
onSearchChange: (query: string) => void;
|
|
229
|
+
activeDirectionFilter: string;
|
|
230
|
+
onDirectionFilterChange: (direction: string) => void;
|
|
231
|
+
activeTypeFilter: string;
|
|
232
|
+
onTypeFilterChange: (type: string) => void;
|
|
233
|
+
onReportTransaction?: (tx: UniversalTransaction) => void;
|
|
234
|
+
onGenerateReceipt?: (tx: UniversalTransaction) => void | Promise<void>;
|
|
235
|
+
}
|
|
236
|
+
declare const UniversalTransactionPage: React.FC<UniversalTransactionPageProps>;
|
|
237
|
+
|
|
238
|
+
interface HomeActionBtn {
|
|
239
|
+
label: string;
|
|
240
|
+
icon?: any;
|
|
241
|
+
onClick: () => void;
|
|
242
|
+
}
|
|
243
|
+
interface UniversalHomeViewProps {
|
|
244
|
+
balanceLabel?: string;
|
|
245
|
+
balanceAmount: string;
|
|
246
|
+
balanceCurrency?: string;
|
|
247
|
+
primaryAction?: HomeActionBtn;
|
|
248
|
+
secondaryAction?: HomeActionBtn;
|
|
249
|
+
transactionsProps: UniversalTransactionPageProps;
|
|
250
|
+
}
|
|
251
|
+
declare const UniversalHomeView: React.FC<UniversalHomeViewProps>;
|
|
252
|
+
|
|
253
|
+
interface UniversalWallet {
|
|
254
|
+
id: string;
|
|
255
|
+
name: string;
|
|
256
|
+
balance: number | string;
|
|
257
|
+
currency: string;
|
|
258
|
+
network: string;
|
|
259
|
+
address: string;
|
|
260
|
+
logoSrc: string;
|
|
261
|
+
}
|
|
262
|
+
interface UniversalWalletPageProps {
|
|
263
|
+
headerTitle: string;
|
|
264
|
+
headerDescription?: string;
|
|
265
|
+
hideControls?: boolean;
|
|
266
|
+
hideBalanceAmounts?: boolean;
|
|
267
|
+
isGeneratingStatement?: boolean;
|
|
268
|
+
wallets: UniversalWallet[];
|
|
269
|
+
isLoading?: boolean;
|
|
270
|
+
renderQrCode?: (wallet: UniversalWallet) => React.ReactNode;
|
|
271
|
+
onDownloadPayId?: (wallet: UniversalWallet) => void;
|
|
272
|
+
onCopyAddress?: (wallet: UniversalWallet) => void;
|
|
273
|
+
}
|
|
274
|
+
declare const UniversalWalletPage: React.FC<UniversalWalletPageProps>;
|
|
275
|
+
|
|
276
|
+
interface UniversalCardPageProps {
|
|
277
|
+
cardHolderName: string;
|
|
278
|
+
cardNumber: string;
|
|
279
|
+
expiry: string;
|
|
280
|
+
cvv: string;
|
|
281
|
+
cardBgSrc: string;
|
|
282
|
+
companyLogoSrc: string;
|
|
283
|
+
networkLogoSrc: string;
|
|
284
|
+
onReveal?: () => void;
|
|
285
|
+
onFreeze?: () => void;
|
|
286
|
+
onSetLimits?: () => void;
|
|
287
|
+
onDelete?: () => void;
|
|
288
|
+
}
|
|
289
|
+
declare const UniversalCardPage: React.FC<UniversalCardPageProps>;
|
|
290
|
+
|
|
291
|
+
interface UniversalProfilePageProps {
|
|
292
|
+
avatarSrc?: string;
|
|
293
|
+
roleName: string;
|
|
294
|
+
memberSince: string;
|
|
295
|
+
onAccountTap?: () => void;
|
|
296
|
+
onSecurityTap?: () => void;
|
|
297
|
+
onNotificationsTap?: () => void;
|
|
298
|
+
onHelpTap?: () => void;
|
|
299
|
+
onVerificationsTap?: () => void;
|
|
300
|
+
onExportTap?: () => void;
|
|
301
|
+
onLogoutTap?: () => void;
|
|
302
|
+
onDeleteTap?: () => void;
|
|
303
|
+
}
|
|
304
|
+
declare const UniversalProfilePage: React.FC<UniversalProfilePageProps>;
|
|
305
|
+
|
|
76
306
|
interface AppLogo$1 {
|
|
77
307
|
src: string;
|
|
78
308
|
alt: string;
|
|
@@ -469,4 +699,4 @@ interface WaitlistDialogProps {
|
|
|
469
699
|
}
|
|
470
700
|
declare const WaitlistDialog: React.FC<WaitlistDialogProps>;
|
|
471
701
|
|
|
472
|
-
export { AppBento2, type AppBento2Props, type BentoFeature, type BoardMember, type CompanyDetails, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type DocumentSectionData, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, Footer, type FooterColumn, type FooterLink, type FooterProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, ManagedBoardBlock, type ManagedBoardBlockProps, ManagedContactBlock, type ManagedContactBlockProps, ManagedDocument, type ManagedDocumentProps, ManagedNewsletterSplitBlock, type ManagedNewsletterSplitBlockProps, ManagedNotFoundBlock, type ManagedNotFoundBlockProps, ManagedPricingBlock, type ManagedPricingBlockProps, ManagedProjectsBlock, type ManagedProjectsBlockProps, ManagedToaster, MedicalFeatureStatsBlock, NumberInput, type NumberInputProps, PageSpinner, type PageSpinnerProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingPlan, type PricingTab, type ProjectItem, type ScrollFeature, type SocialContact, type SocialLink, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, WaitlistDialog, type WaitlistDialogProps };
|
|
702
|
+
export { AppBento2, type AppBento2Props, type BannerProps, type BentoFeature, type BoardMember, type CompanyDetails, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type DocumentSectionData, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, Footer, type FooterColumn, type FooterLink, type FooterProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, type HomeActionBtn, ManagedBoardBlock, type ManagedBoardBlockProps, ManagedContactBlock, type ManagedContactBlockProps, ManagedDocument, type ManagedDocumentProps, ManagedNewsletterSplitBlock, type ManagedNewsletterSplitBlockProps, ManagedNotFoundBlock, type ManagedNotFoundBlockProps, ManagedPricingBlock, type ManagedPricingBlockProps, ManagedProjectsBlock, type ManagedProjectsBlockProps, ManagedToaster, MedicalFeatureStatsBlock, MobileNav, type MobileNavItem, type MobileNavProps, NumberInput, type NumberInputProps, PageSpinner, type PageSpinnerProps, PipleAuth, type PipleAuthProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingPlan, type PricingTab, type ProjectItem, type ScrollFeature, type SocialContact, type SocialLink, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalCardPage, type UniversalCardPageProps, UniversalErrorView, type UniversalErrorViewProps, UniversalHomeView, type UniversalHomeViewProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalProfilePage, type UniversalProfilePageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, type UniversalTransaction, UniversalTransactionPage, type UniversalTransactionPageProps, type UniversalWallet, UniversalWalletPage, type UniversalWalletPageProps, WaitlistDialog, type WaitlistDialogProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -50,6 +50,39 @@ interface HeaderProps {
|
|
|
50
50
|
}
|
|
51
51
|
declare const Header: React.FC<HeaderProps>;
|
|
52
52
|
|
|
53
|
+
type AuthMode = "LOGIN" | "SIGNUP";
|
|
54
|
+
interface PipleAuthProps {
|
|
55
|
+
companyName: string;
|
|
56
|
+
workspaceLabel?: string;
|
|
57
|
+
termsUrl?: string;
|
|
58
|
+
privacyUrl?: string;
|
|
59
|
+
requireNames?: boolean;
|
|
60
|
+
requireOrganization?: boolean;
|
|
61
|
+
useRecaptcha?: boolean;
|
|
62
|
+
recaptchaSiteKey?: string;
|
|
63
|
+
defaultRedirectPath?: string;
|
|
64
|
+
onAuthRequest: (payload: {
|
|
65
|
+
email: string;
|
|
66
|
+
firstName?: string;
|
|
67
|
+
lastName?: string;
|
|
68
|
+
organizationName?: string;
|
|
69
|
+
mode: AuthMode;
|
|
70
|
+
recaptchaToken?: string;
|
|
71
|
+
}) => Promise<{
|
|
72
|
+
success: boolean;
|
|
73
|
+
error?: string;
|
|
74
|
+
}>;
|
|
75
|
+
onVerifyOtp: (payload: {
|
|
76
|
+
email: string;
|
|
77
|
+
code: string;
|
|
78
|
+
}) => Promise<{
|
|
79
|
+
success: boolean;
|
|
80
|
+
error?: string;
|
|
81
|
+
redirect?: string;
|
|
82
|
+
}>;
|
|
83
|
+
}
|
|
84
|
+
declare const PipleAuth: React.FC<PipleAuthProps>;
|
|
85
|
+
|
|
53
86
|
interface FooterLink {
|
|
54
87
|
label: string;
|
|
55
88
|
href: string;
|
|
@@ -73,6 +106,203 @@ interface FooterProps {
|
|
|
73
106
|
}
|
|
74
107
|
declare const Footer: React.FC<FooterProps>;
|
|
75
108
|
|
|
109
|
+
interface MobileNavItem {
|
|
110
|
+
label: string;
|
|
111
|
+
href: string;
|
|
112
|
+
icon: any;
|
|
113
|
+
}
|
|
114
|
+
interface MobileNavProps {
|
|
115
|
+
items: MobileNavItem[];
|
|
116
|
+
}
|
|
117
|
+
declare const MobileNav: React.FC<MobileNavProps>;
|
|
118
|
+
|
|
119
|
+
interface BannerProps {
|
|
120
|
+
/** The heading text of the banner */
|
|
121
|
+
title: string;
|
|
122
|
+
/** The main message content */
|
|
123
|
+
message: string;
|
|
124
|
+
/** The type of banner, determines colors and default icon */
|
|
125
|
+
type: 'success' | 'warning' | 'alert';
|
|
126
|
+
/** Optional custom icon to override the default */
|
|
127
|
+
icon?: any;
|
|
128
|
+
/** Whether the banner can be dismissed by the user */
|
|
129
|
+
isDismissible?: boolean;
|
|
130
|
+
/** Optional callback when the banner is dismissed */
|
|
131
|
+
onDismiss?: () => void;
|
|
132
|
+
/** Optional custom action button */
|
|
133
|
+
action?: React.ReactNode;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
interface UniversalOrganizationPageProps {
|
|
137
|
+
initialOrgName: string;
|
|
138
|
+
initialSlug: string;
|
|
139
|
+
initialUsername?: string;
|
|
140
|
+
orgId: string;
|
|
141
|
+
isReadOnly?: boolean;
|
|
142
|
+
slugPrefixUrl?: string;
|
|
143
|
+
bannerProps?: BannerProps;
|
|
144
|
+
onSaveConfiguration: (payload: {
|
|
145
|
+
organizationId: string;
|
|
146
|
+
organizationName?: string;
|
|
147
|
+
slug?: string;
|
|
148
|
+
username?: string;
|
|
149
|
+
}) => Promise<{
|
|
150
|
+
success: boolean;
|
|
151
|
+
error?: string;
|
|
152
|
+
}>;
|
|
153
|
+
onCheckSlugAvailability: (slug: string) => Promise<{
|
|
154
|
+
available: boolean;
|
|
155
|
+
}>;
|
|
156
|
+
}
|
|
157
|
+
declare const UniversalOrganizationPage: React.FC<UniversalOrganizationPageProps>;
|
|
158
|
+
|
|
159
|
+
interface UniversalProfileSettingsProps {
|
|
160
|
+
initialFirstName: string;
|
|
161
|
+
initialLastName: string;
|
|
162
|
+
email: string;
|
|
163
|
+
accountStatus?: string;
|
|
164
|
+
memberSince?: string | Date | null;
|
|
165
|
+
isReadOnly?: boolean;
|
|
166
|
+
bannerProps?: BannerProps;
|
|
167
|
+
hasPin?: boolean;
|
|
168
|
+
isPinLoading?: boolean;
|
|
169
|
+
onSavePin?: (payload: {
|
|
170
|
+
action: 'create_pin' | 'change_pin';
|
|
171
|
+
oldPin?: string;
|
|
172
|
+
newPin: string;
|
|
173
|
+
}) => Promise<{
|
|
174
|
+
success: boolean;
|
|
175
|
+
error?: string;
|
|
176
|
+
message?: string;
|
|
177
|
+
}>;
|
|
178
|
+
onSaveProfile: (payload: {
|
|
179
|
+
firstName: string;
|
|
180
|
+
lastName: string;
|
|
181
|
+
}) => Promise<{
|
|
182
|
+
success: boolean;
|
|
183
|
+
error?: string;
|
|
184
|
+
}>;
|
|
185
|
+
}
|
|
186
|
+
declare const UniversalProfileSettings: React.FC<UniversalProfileSettingsProps>;
|
|
187
|
+
|
|
188
|
+
interface UniversalErrorViewProps {
|
|
189
|
+
isBooting: boolean;
|
|
190
|
+
isLoading: boolean;
|
|
191
|
+
activeData: any;
|
|
192
|
+
activeError: any;
|
|
193
|
+
/** The dynamic name of the environment failing to load (e.g., "application", "workspace") */
|
|
194
|
+
envName: string;
|
|
195
|
+
/** Function to execute when the user clicks "Refresh" */
|
|
196
|
+
onRetry: () => void;
|
|
197
|
+
/** URL to fallback to on a hard error. Defaults to '/app' */
|
|
198
|
+
returnUrl?: string;
|
|
199
|
+
/** Label for the hard fallback button. Defaults to 'Return to Workspace' */
|
|
200
|
+
returnLabel?: string;
|
|
201
|
+
}
|
|
202
|
+
declare const UniversalErrorView: React.FC<UniversalErrorViewProps>;
|
|
203
|
+
|
|
204
|
+
interface UniversalTransaction {
|
|
205
|
+
id: string;
|
|
206
|
+
cardId?: string | null;
|
|
207
|
+
type: 'CARD_TRANSACTION' | 'WALLET_TRANSACTION';
|
|
208
|
+
direction: 'CREDIT' | 'DEBIT';
|
|
209
|
+
amount: number | string;
|
|
210
|
+
currency: string;
|
|
211
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED' | 'REVERSED';
|
|
212
|
+
reference: string;
|
|
213
|
+
metadata?: any;
|
|
214
|
+
createdAt: string | Date;
|
|
215
|
+
}
|
|
216
|
+
interface UniversalTransactionPageProps {
|
|
217
|
+
headerTitle: string;
|
|
218
|
+
headerDescription: string;
|
|
219
|
+
hideControls?: boolean;
|
|
220
|
+
hideBalanceAmounts?: boolean;
|
|
221
|
+
hidePagination?: boolean;
|
|
222
|
+
transactions: UniversalTransaction[];
|
|
223
|
+
isLoading: boolean;
|
|
224
|
+
currentPage: number;
|
|
225
|
+
totalPages: number;
|
|
226
|
+
onPageChange: (page: number) => void;
|
|
227
|
+
searchQuery: string;
|
|
228
|
+
onSearchChange: (query: string) => void;
|
|
229
|
+
activeDirectionFilter: string;
|
|
230
|
+
onDirectionFilterChange: (direction: string) => void;
|
|
231
|
+
activeTypeFilter: string;
|
|
232
|
+
onTypeFilterChange: (type: string) => void;
|
|
233
|
+
onReportTransaction?: (tx: UniversalTransaction) => void;
|
|
234
|
+
onGenerateReceipt?: (tx: UniversalTransaction) => void | Promise<void>;
|
|
235
|
+
}
|
|
236
|
+
declare const UniversalTransactionPage: React.FC<UniversalTransactionPageProps>;
|
|
237
|
+
|
|
238
|
+
interface HomeActionBtn {
|
|
239
|
+
label: string;
|
|
240
|
+
icon?: any;
|
|
241
|
+
onClick: () => void;
|
|
242
|
+
}
|
|
243
|
+
interface UniversalHomeViewProps {
|
|
244
|
+
balanceLabel?: string;
|
|
245
|
+
balanceAmount: string;
|
|
246
|
+
balanceCurrency?: string;
|
|
247
|
+
primaryAction?: HomeActionBtn;
|
|
248
|
+
secondaryAction?: HomeActionBtn;
|
|
249
|
+
transactionsProps: UniversalTransactionPageProps;
|
|
250
|
+
}
|
|
251
|
+
declare const UniversalHomeView: React.FC<UniversalHomeViewProps>;
|
|
252
|
+
|
|
253
|
+
interface UniversalWallet {
|
|
254
|
+
id: string;
|
|
255
|
+
name: string;
|
|
256
|
+
balance: number | string;
|
|
257
|
+
currency: string;
|
|
258
|
+
network: string;
|
|
259
|
+
address: string;
|
|
260
|
+
logoSrc: string;
|
|
261
|
+
}
|
|
262
|
+
interface UniversalWalletPageProps {
|
|
263
|
+
headerTitle: string;
|
|
264
|
+
headerDescription?: string;
|
|
265
|
+
hideControls?: boolean;
|
|
266
|
+
hideBalanceAmounts?: boolean;
|
|
267
|
+
isGeneratingStatement?: boolean;
|
|
268
|
+
wallets: UniversalWallet[];
|
|
269
|
+
isLoading?: boolean;
|
|
270
|
+
renderQrCode?: (wallet: UniversalWallet) => React.ReactNode;
|
|
271
|
+
onDownloadPayId?: (wallet: UniversalWallet) => void;
|
|
272
|
+
onCopyAddress?: (wallet: UniversalWallet) => void;
|
|
273
|
+
}
|
|
274
|
+
declare const UniversalWalletPage: React.FC<UniversalWalletPageProps>;
|
|
275
|
+
|
|
276
|
+
interface UniversalCardPageProps {
|
|
277
|
+
cardHolderName: string;
|
|
278
|
+
cardNumber: string;
|
|
279
|
+
expiry: string;
|
|
280
|
+
cvv: string;
|
|
281
|
+
cardBgSrc: string;
|
|
282
|
+
companyLogoSrc: string;
|
|
283
|
+
networkLogoSrc: string;
|
|
284
|
+
onReveal?: () => void;
|
|
285
|
+
onFreeze?: () => void;
|
|
286
|
+
onSetLimits?: () => void;
|
|
287
|
+
onDelete?: () => void;
|
|
288
|
+
}
|
|
289
|
+
declare const UniversalCardPage: React.FC<UniversalCardPageProps>;
|
|
290
|
+
|
|
291
|
+
interface UniversalProfilePageProps {
|
|
292
|
+
avatarSrc?: string;
|
|
293
|
+
roleName: string;
|
|
294
|
+
memberSince: string;
|
|
295
|
+
onAccountTap?: () => void;
|
|
296
|
+
onSecurityTap?: () => void;
|
|
297
|
+
onNotificationsTap?: () => void;
|
|
298
|
+
onHelpTap?: () => void;
|
|
299
|
+
onVerificationsTap?: () => void;
|
|
300
|
+
onExportTap?: () => void;
|
|
301
|
+
onLogoutTap?: () => void;
|
|
302
|
+
onDeleteTap?: () => void;
|
|
303
|
+
}
|
|
304
|
+
declare const UniversalProfilePage: React.FC<UniversalProfilePageProps>;
|
|
305
|
+
|
|
76
306
|
interface AppLogo$1 {
|
|
77
307
|
src: string;
|
|
78
308
|
alt: string;
|
|
@@ -469,4 +699,4 @@ interface WaitlistDialogProps {
|
|
|
469
699
|
}
|
|
470
700
|
declare const WaitlistDialog: React.FC<WaitlistDialogProps>;
|
|
471
701
|
|
|
472
|
-
export { AppBento2, type AppBento2Props, type BentoFeature, type BoardMember, type CompanyDetails, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type DocumentSectionData, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, Footer, type FooterColumn, type FooterLink, type FooterProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, ManagedBoardBlock, type ManagedBoardBlockProps, ManagedContactBlock, type ManagedContactBlockProps, ManagedDocument, type ManagedDocumentProps, ManagedNewsletterSplitBlock, type ManagedNewsletterSplitBlockProps, ManagedNotFoundBlock, type ManagedNotFoundBlockProps, ManagedPricingBlock, type ManagedPricingBlockProps, ManagedProjectsBlock, type ManagedProjectsBlockProps, ManagedToaster, MedicalFeatureStatsBlock, NumberInput, type NumberInputProps, PageSpinner, type PageSpinnerProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingPlan, type PricingTab, type ProjectItem, type ScrollFeature, type SocialContact, type SocialLink, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, WaitlistDialog, type WaitlistDialogProps };
|
|
702
|
+
export { AppBento2, type AppBento2Props, type BannerProps, type BentoFeature, type BoardMember, type CompanyDetails, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type DocumentSectionData, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, Footer, type FooterColumn, type FooterLink, type FooterProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, type HomeActionBtn, ManagedBoardBlock, type ManagedBoardBlockProps, ManagedContactBlock, type ManagedContactBlockProps, ManagedDocument, type ManagedDocumentProps, ManagedNewsletterSplitBlock, type ManagedNewsletterSplitBlockProps, ManagedNotFoundBlock, type ManagedNotFoundBlockProps, ManagedPricingBlock, type ManagedPricingBlockProps, ManagedProjectsBlock, type ManagedProjectsBlockProps, ManagedToaster, MedicalFeatureStatsBlock, MobileNav, type MobileNavItem, type MobileNavProps, NumberInput, type NumberInputProps, PageSpinner, type PageSpinnerProps, PipleAuth, type PipleAuthProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingPlan, type PricingTab, type ProjectItem, type ScrollFeature, type SocialContact, type SocialLink, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalCardPage, type UniversalCardPageProps, UniversalErrorView, type UniversalErrorViewProps, UniversalHomeView, type UniversalHomeViewProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalProfilePage, type UniversalProfilePageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, type UniversalTransaction, UniversalTransactionPage, type UniversalTransactionPageProps, type UniversalWallet, UniversalWalletPage, type UniversalWalletPageProps, WaitlistDialog, type WaitlistDialogProps };
|