@retinalabsllc/zairusjs 5.1.65 → 5.1.80
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 +4 -291
- package/dist/index.d.ts +4 -291
- package/dist/index.js +309 -1986
- package/dist/index.mjs +293 -1990
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -33,72 +33,6 @@ interface ThreeDActionButtonProps {
|
|
|
33
33
|
}
|
|
34
34
|
declare const ThreeDActionButton: React.FC<ThreeDActionButtonProps>;
|
|
35
35
|
|
|
36
|
-
type AuthMode$1 = "LOGIN" | "SIGNUP";
|
|
37
|
-
interface ZairusAuthProps {
|
|
38
|
-
companyName: string;
|
|
39
|
-
workspaceLabel?: string;
|
|
40
|
-
termsUrl?: string;
|
|
41
|
-
privacyUrl?: string;
|
|
42
|
-
requireNames?: boolean;
|
|
43
|
-
requireOrganization?: boolean;
|
|
44
|
-
useRecaptcha?: boolean;
|
|
45
|
-
recaptchaSiteKey?: string;
|
|
46
|
-
defaultRedirectPath?: string;
|
|
47
|
-
onAuthRequest: (payload: {
|
|
48
|
-
email: string;
|
|
49
|
-
firstName?: string;
|
|
50
|
-
lastName?: string;
|
|
51
|
-
organizationName?: string;
|
|
52
|
-
mode: AuthMode$1;
|
|
53
|
-
recaptchaToken?: string;
|
|
54
|
-
}) => Promise<{
|
|
55
|
-
success: boolean;
|
|
56
|
-
error?: string;
|
|
57
|
-
}>;
|
|
58
|
-
onVerifyOtp: (payload: {
|
|
59
|
-
email: string;
|
|
60
|
-
code: string;
|
|
61
|
-
}) => Promise<{
|
|
62
|
-
success: boolean;
|
|
63
|
-
error?: string;
|
|
64
|
-
redirect?: string;
|
|
65
|
-
}>;
|
|
66
|
-
}
|
|
67
|
-
declare const ZairusAuth: React.FC<ZairusAuthProps>;
|
|
68
|
-
|
|
69
|
-
type AuthMode = "LOGIN" | "SIGNUP";
|
|
70
|
-
interface PipleAuthProps {
|
|
71
|
-
companyName: string;
|
|
72
|
-
workspaceLabel?: string;
|
|
73
|
-
termsUrl?: string;
|
|
74
|
-
privacyUrl?: string;
|
|
75
|
-
requireNames?: boolean;
|
|
76
|
-
requireOrganization?: boolean;
|
|
77
|
-
useRecaptcha?: boolean;
|
|
78
|
-
recaptchaSiteKey?: string;
|
|
79
|
-
defaultRedirectPath?: string;
|
|
80
|
-
onAuthRequest: (payload: {
|
|
81
|
-
email: string;
|
|
82
|
-
firstName?: string;
|
|
83
|
-
lastName?: string;
|
|
84
|
-
organizationName?: string;
|
|
85
|
-
mode: AuthMode;
|
|
86
|
-
recaptchaToken?: string;
|
|
87
|
-
}) => Promise<{
|
|
88
|
-
success: boolean;
|
|
89
|
-
error?: string;
|
|
90
|
-
}>;
|
|
91
|
-
onVerifyOtp: (payload: {
|
|
92
|
-
email: string;
|
|
93
|
-
code: string;
|
|
94
|
-
}) => Promise<{
|
|
95
|
-
success: boolean;
|
|
96
|
-
error?: string;
|
|
97
|
-
redirect?: string;
|
|
98
|
-
}>;
|
|
99
|
-
}
|
|
100
|
-
declare const PipleAuth: React.FC<PipleAuthProps>;
|
|
101
|
-
|
|
102
36
|
interface HeaderLink {
|
|
103
37
|
label: string;
|
|
104
38
|
href: string;
|
|
@@ -441,229 +375,6 @@ interface GifFeatureCardProps {
|
|
|
441
375
|
}
|
|
442
376
|
declare const GifFeatureCard: React.FC<GifFeatureCardProps>;
|
|
443
377
|
|
|
444
|
-
interface NavItem {
|
|
445
|
-
name: string;
|
|
446
|
-
path: string;
|
|
447
|
-
icon: any;
|
|
448
|
-
}
|
|
449
|
-
interface UniversalSidebarProps {
|
|
450
|
-
navItems: NavItem[];
|
|
451
|
-
currentPath: string;
|
|
452
|
-
isMobileOpen: boolean;
|
|
453
|
-
closeMobile: () => void;
|
|
454
|
-
openMobile: () => void;
|
|
455
|
-
onNavClick?: (e: React.MouseEvent<HTMLAnchorElement>, path: string) => void;
|
|
456
|
-
userName?: string;
|
|
457
|
-
userTag?: string;
|
|
458
|
-
userInitials?: string;
|
|
459
|
-
web3Address?: string;
|
|
460
|
-
web3Avatar?: string;
|
|
461
|
-
notifications?: Array<{
|
|
462
|
-
id: string;
|
|
463
|
-
title: string;
|
|
464
|
-
message: string;
|
|
465
|
-
isRead?: boolean;
|
|
466
|
-
createdAt: string | Date;
|
|
467
|
-
}>;
|
|
468
|
-
unreadNotificationsCount?: number;
|
|
469
|
-
notificationPage?: number;
|
|
470
|
-
notificationTotalPages?: number;
|
|
471
|
-
onNotificationPageChange?: (page: number) => void;
|
|
472
|
-
onNotificationClick?: (notification: any) => void;
|
|
473
|
-
showBackButton?: boolean;
|
|
474
|
-
backUrl?: string;
|
|
475
|
-
showLogoutAction?: boolean;
|
|
476
|
-
onLogout?: () => Promise<void>;
|
|
477
|
-
showInterceptDialog?: boolean;
|
|
478
|
-
onCancelIntercept?: () => void;
|
|
479
|
-
onConfirmIntercept?: () => void;
|
|
480
|
-
interceptTitle?: string;
|
|
481
|
-
interceptMessage?: string;
|
|
482
|
-
}
|
|
483
|
-
declare const UniversalSidebar: React.FC<UniversalSidebarProps>;
|
|
484
|
-
|
|
485
|
-
interface BannerProps {
|
|
486
|
-
/** The heading text of the banner */
|
|
487
|
-
title: string;
|
|
488
|
-
/** The main message content */
|
|
489
|
-
message: string;
|
|
490
|
-
/** The type of banner, determines colors and default icon */
|
|
491
|
-
type: 'success' | 'warning' | 'alert';
|
|
492
|
-
/** Optional custom icon to override the default */
|
|
493
|
-
icon?: any;
|
|
494
|
-
/** Whether the banner can be dismissed by the user */
|
|
495
|
-
isDismissible?: boolean;
|
|
496
|
-
/** Optional callback when the banner is dismissed */
|
|
497
|
-
onDismiss?: () => void;
|
|
498
|
-
/** Optional custom action button */
|
|
499
|
-
action?: React.ReactNode;
|
|
500
|
-
}
|
|
501
|
-
declare const Banner: React.FC<BannerProps>;
|
|
502
|
-
|
|
503
|
-
interface UniversalOrganizationPageProps {
|
|
504
|
-
initialOrgName: string;
|
|
505
|
-
initialSlug: string;
|
|
506
|
-
initialUsername?: string;
|
|
507
|
-
orgId: string;
|
|
508
|
-
isReadOnly?: boolean;
|
|
509
|
-
slugPrefixUrl?: string;
|
|
510
|
-
bannerProps?: BannerProps;
|
|
511
|
-
onSaveConfiguration: (payload: {
|
|
512
|
-
organizationId: string;
|
|
513
|
-
organizationName?: string;
|
|
514
|
-
slug?: string;
|
|
515
|
-
username?: string;
|
|
516
|
-
}) => Promise<{
|
|
517
|
-
success: boolean;
|
|
518
|
-
error?: string;
|
|
519
|
-
}>;
|
|
520
|
-
onCheckSlugAvailability: (slug: string) => Promise<{
|
|
521
|
-
available: boolean;
|
|
522
|
-
}>;
|
|
523
|
-
}
|
|
524
|
-
declare const UniversalOrganizationPage: React.FC<UniversalOrganizationPageProps>;
|
|
525
|
-
|
|
526
|
-
interface UniversalProfileSettingsProps {
|
|
527
|
-
initialFirstName: string;
|
|
528
|
-
initialLastName: string;
|
|
529
|
-
email: string;
|
|
530
|
-
accountStatus?: string;
|
|
531
|
-
memberSince?: string | Date | null;
|
|
532
|
-
isReadOnly?: boolean;
|
|
533
|
-
bannerProps?: BannerProps;
|
|
534
|
-
hasPin?: boolean;
|
|
535
|
-
isPinLoading?: boolean;
|
|
536
|
-
onSavePin?: (payload: {
|
|
537
|
-
action: 'create_pin' | 'change_pin';
|
|
538
|
-
oldPin?: string;
|
|
539
|
-
newPin: string;
|
|
540
|
-
}) => Promise<{
|
|
541
|
-
success: boolean;
|
|
542
|
-
error?: string;
|
|
543
|
-
message?: string;
|
|
544
|
-
}>;
|
|
545
|
-
onSaveProfile: (payload: {
|
|
546
|
-
firstName: string;
|
|
547
|
-
lastName: string;
|
|
548
|
-
}) => Promise<{
|
|
549
|
-
success: boolean;
|
|
550
|
-
error?: string;
|
|
551
|
-
}>;
|
|
552
|
-
}
|
|
553
|
-
declare const UniversalProfileSettings: React.FC<UniversalProfileSettingsProps>;
|
|
554
|
-
|
|
555
|
-
interface UniversalErrorViewProps {
|
|
556
|
-
isBooting: boolean;
|
|
557
|
-
isLoading: boolean;
|
|
558
|
-
activeData: any;
|
|
559
|
-
activeError: any;
|
|
560
|
-
/** The dynamic name of the environment failing to load (e.g., "application", "workspace") */
|
|
561
|
-
envName: string;
|
|
562
|
-
/** Function to execute when the user clicks "Refresh" */
|
|
563
|
-
onRetry: () => void;
|
|
564
|
-
/** URL to fallback to on a hard error. Defaults to '/app' */
|
|
565
|
-
returnUrl?: string;
|
|
566
|
-
/** Label for the hard fallback button. Defaults to 'Return to Workspace' */
|
|
567
|
-
returnLabel?: string;
|
|
568
|
-
}
|
|
569
|
-
declare const UniversalErrorView: React.FC<UniversalErrorViewProps>;
|
|
570
|
-
|
|
571
|
-
interface UniversalTransaction {
|
|
572
|
-
id: string;
|
|
573
|
-
cardId?: string | null;
|
|
574
|
-
type: 'CARD_TRANSACTION' | 'WALLET_TRANSACTION';
|
|
575
|
-
direction: 'CREDIT' | 'DEBIT';
|
|
576
|
-
amount: number | string;
|
|
577
|
-
currency: string;
|
|
578
|
-
status: 'PENDING' | 'COMPLETED' | 'FAILED' | 'REVERSED';
|
|
579
|
-
reference: string;
|
|
580
|
-
metadata?: any;
|
|
581
|
-
createdAt: string | Date;
|
|
582
|
-
}
|
|
583
|
-
interface UniversalTransactionPageProps {
|
|
584
|
-
headerTitle: string;
|
|
585
|
-
headerDescription: string;
|
|
586
|
-
hideControls?: boolean;
|
|
587
|
-
hideBalanceAmounts?: boolean;
|
|
588
|
-
hidePagination?: boolean;
|
|
589
|
-
transactions: UniversalTransaction[];
|
|
590
|
-
isLoading: boolean;
|
|
591
|
-
currentPage: number;
|
|
592
|
-
totalPages: number;
|
|
593
|
-
onPageChange: (page: number) => void;
|
|
594
|
-
searchQuery: string;
|
|
595
|
-
onSearchChange: (query: string) => void;
|
|
596
|
-
activeDirectionFilter: string;
|
|
597
|
-
onDirectionFilterChange: (direction: string) => void;
|
|
598
|
-
activeTypeFilter: string;
|
|
599
|
-
onTypeFilterChange: (type: string) => void;
|
|
600
|
-
onReportTransaction?: (tx: UniversalTransaction) => void;
|
|
601
|
-
onGenerateReceipt?: (tx: UniversalTransaction) => void | Promise<void>;
|
|
602
|
-
}
|
|
603
|
-
declare const UniversalTransactionPage: React.FC<UniversalTransactionPageProps>;
|
|
604
|
-
|
|
605
|
-
interface QuickActionItem {
|
|
606
|
-
id: string;
|
|
607
|
-
label: string;
|
|
608
|
-
icon: any;
|
|
609
|
-
cardBgClass: string;
|
|
610
|
-
iconBgClass: string;
|
|
611
|
-
iconColorClass?: string;
|
|
612
|
-
onClick: () => void;
|
|
613
|
-
}
|
|
614
|
-
interface HomeActionBtn {
|
|
615
|
-
label: string;
|
|
616
|
-
icon?: any;
|
|
617
|
-
onClick: () => void;
|
|
618
|
-
}
|
|
619
|
-
interface UniversalHomeViewProps {
|
|
620
|
-
balanceLabel?: string;
|
|
621
|
-
balanceAmount: string;
|
|
622
|
-
balanceCurrency?: string;
|
|
623
|
-
primaryAction?: HomeActionBtn;
|
|
624
|
-
secondaryAction?: HomeActionBtn;
|
|
625
|
-
quickActionsTitle?: string;
|
|
626
|
-
quickActions?: QuickActionItem[];
|
|
627
|
-
transactionsProps: UniversalTransactionPageProps;
|
|
628
|
-
}
|
|
629
|
-
declare const UniversalHomeView: React.FC<UniversalHomeViewProps>;
|
|
630
|
-
|
|
631
|
-
interface UniversalWallet {
|
|
632
|
-
id: string;
|
|
633
|
-
name: string;
|
|
634
|
-
balance: number | string;
|
|
635
|
-
currency: string;
|
|
636
|
-
network: string;
|
|
637
|
-
address: string;
|
|
638
|
-
logoSrc: string;
|
|
639
|
-
}
|
|
640
|
-
interface UniversalWalletPageProps {
|
|
641
|
-
headerTitle: string;
|
|
642
|
-
headerDescription?: string;
|
|
643
|
-
hideControls?: boolean;
|
|
644
|
-
hideBalanceAmounts?: boolean;
|
|
645
|
-
isGeneratingStatement?: boolean;
|
|
646
|
-
wallets: UniversalWallet[];
|
|
647
|
-
isLoading?: boolean;
|
|
648
|
-
renderQrCode?: (wallet: UniversalWallet) => React.ReactNode;
|
|
649
|
-
onDownloadPayId?: (wallet: UniversalWallet) => void;
|
|
650
|
-
onCopyAddress?: (wallet: UniversalWallet) => void;
|
|
651
|
-
}
|
|
652
|
-
declare const UniversalWalletPage: React.FC<UniversalWalletPageProps>;
|
|
653
|
-
|
|
654
|
-
type CardNetwork = 'VISA' | 'MASTERCARD' | 'VERVE';
|
|
655
|
-
interface CardLogoProps {
|
|
656
|
-
network: CardNetwork;
|
|
657
|
-
className?: string;
|
|
658
|
-
}
|
|
659
|
-
declare const CardLogo: React.FC<CardLogoProps>;
|
|
660
|
-
|
|
661
|
-
interface StaggerProps {
|
|
662
|
-
steps: string[];
|
|
663
|
-
currentStep: number;
|
|
664
|
-
}
|
|
665
|
-
declare const Stagger: React.FC<StaggerProps>;
|
|
666
|
-
|
|
667
378
|
interface StatItem {
|
|
668
379
|
/** The small text label above the number */
|
|
669
380
|
label: string;
|
|
@@ -688,10 +399,12 @@ interface ConsultantProfile {
|
|
|
688
399
|
id: string | number;
|
|
689
400
|
name: string;
|
|
690
401
|
role: string;
|
|
402
|
+
/** Generic text field to display under the role (replaces static 'Experience' text) */
|
|
691
403
|
description?: string;
|
|
692
404
|
imageSrc: string;
|
|
693
405
|
}
|
|
694
406
|
interface ConsultantShowcaseProps {
|
|
407
|
+
/** Array of profiles to display in the swipeable showcase */
|
|
695
408
|
profiles: ConsultantProfile[];
|
|
696
409
|
}
|
|
697
410
|
declare const ConsultantShowcase: React.FC<ConsultantShowcaseProps>;
|
|
@@ -750,7 +463,7 @@ interface ProjectItem {
|
|
|
750
463
|
link: string;
|
|
751
464
|
/** If true, uses a standard <a> tag with target="_blank" instead of next/link */
|
|
752
465
|
isExternal?: boolean;
|
|
753
|
-
/** Badge text. If "Production", it gets highlighted. */
|
|
466
|
+
/** Badge text. If "Production", it gets highlighted in black. */
|
|
754
467
|
status: string;
|
|
755
468
|
description: string;
|
|
756
469
|
}
|
|
@@ -764,4 +477,4 @@ interface ManagedProjectsBlockProps {
|
|
|
764
477
|
}
|
|
765
478
|
declare const ManagedProjectsBlock: React.FC<ManagedProjectsBlockProps>;
|
|
766
479
|
|
|
767
|
-
export { AppBento2, type AppBento2Props,
|
|
480
|
+
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -33,72 +33,6 @@ interface ThreeDActionButtonProps {
|
|
|
33
33
|
}
|
|
34
34
|
declare const ThreeDActionButton: React.FC<ThreeDActionButtonProps>;
|
|
35
35
|
|
|
36
|
-
type AuthMode$1 = "LOGIN" | "SIGNUP";
|
|
37
|
-
interface ZairusAuthProps {
|
|
38
|
-
companyName: string;
|
|
39
|
-
workspaceLabel?: string;
|
|
40
|
-
termsUrl?: string;
|
|
41
|
-
privacyUrl?: string;
|
|
42
|
-
requireNames?: boolean;
|
|
43
|
-
requireOrganization?: boolean;
|
|
44
|
-
useRecaptcha?: boolean;
|
|
45
|
-
recaptchaSiteKey?: string;
|
|
46
|
-
defaultRedirectPath?: string;
|
|
47
|
-
onAuthRequest: (payload: {
|
|
48
|
-
email: string;
|
|
49
|
-
firstName?: string;
|
|
50
|
-
lastName?: string;
|
|
51
|
-
organizationName?: string;
|
|
52
|
-
mode: AuthMode$1;
|
|
53
|
-
recaptchaToken?: string;
|
|
54
|
-
}) => Promise<{
|
|
55
|
-
success: boolean;
|
|
56
|
-
error?: string;
|
|
57
|
-
}>;
|
|
58
|
-
onVerifyOtp: (payload: {
|
|
59
|
-
email: string;
|
|
60
|
-
code: string;
|
|
61
|
-
}) => Promise<{
|
|
62
|
-
success: boolean;
|
|
63
|
-
error?: string;
|
|
64
|
-
redirect?: string;
|
|
65
|
-
}>;
|
|
66
|
-
}
|
|
67
|
-
declare const ZairusAuth: React.FC<ZairusAuthProps>;
|
|
68
|
-
|
|
69
|
-
type AuthMode = "LOGIN" | "SIGNUP";
|
|
70
|
-
interface PipleAuthProps {
|
|
71
|
-
companyName: string;
|
|
72
|
-
workspaceLabel?: string;
|
|
73
|
-
termsUrl?: string;
|
|
74
|
-
privacyUrl?: string;
|
|
75
|
-
requireNames?: boolean;
|
|
76
|
-
requireOrganization?: boolean;
|
|
77
|
-
useRecaptcha?: boolean;
|
|
78
|
-
recaptchaSiteKey?: string;
|
|
79
|
-
defaultRedirectPath?: string;
|
|
80
|
-
onAuthRequest: (payload: {
|
|
81
|
-
email: string;
|
|
82
|
-
firstName?: string;
|
|
83
|
-
lastName?: string;
|
|
84
|
-
organizationName?: string;
|
|
85
|
-
mode: AuthMode;
|
|
86
|
-
recaptchaToken?: string;
|
|
87
|
-
}) => Promise<{
|
|
88
|
-
success: boolean;
|
|
89
|
-
error?: string;
|
|
90
|
-
}>;
|
|
91
|
-
onVerifyOtp: (payload: {
|
|
92
|
-
email: string;
|
|
93
|
-
code: string;
|
|
94
|
-
}) => Promise<{
|
|
95
|
-
success: boolean;
|
|
96
|
-
error?: string;
|
|
97
|
-
redirect?: string;
|
|
98
|
-
}>;
|
|
99
|
-
}
|
|
100
|
-
declare const PipleAuth: React.FC<PipleAuthProps>;
|
|
101
|
-
|
|
102
36
|
interface HeaderLink {
|
|
103
37
|
label: string;
|
|
104
38
|
href: string;
|
|
@@ -441,229 +375,6 @@ interface GifFeatureCardProps {
|
|
|
441
375
|
}
|
|
442
376
|
declare const GifFeatureCard: React.FC<GifFeatureCardProps>;
|
|
443
377
|
|
|
444
|
-
interface NavItem {
|
|
445
|
-
name: string;
|
|
446
|
-
path: string;
|
|
447
|
-
icon: any;
|
|
448
|
-
}
|
|
449
|
-
interface UniversalSidebarProps {
|
|
450
|
-
navItems: NavItem[];
|
|
451
|
-
currentPath: string;
|
|
452
|
-
isMobileOpen: boolean;
|
|
453
|
-
closeMobile: () => void;
|
|
454
|
-
openMobile: () => void;
|
|
455
|
-
onNavClick?: (e: React.MouseEvent<HTMLAnchorElement>, path: string) => void;
|
|
456
|
-
userName?: string;
|
|
457
|
-
userTag?: string;
|
|
458
|
-
userInitials?: string;
|
|
459
|
-
web3Address?: string;
|
|
460
|
-
web3Avatar?: string;
|
|
461
|
-
notifications?: Array<{
|
|
462
|
-
id: string;
|
|
463
|
-
title: string;
|
|
464
|
-
message: string;
|
|
465
|
-
isRead?: boolean;
|
|
466
|
-
createdAt: string | Date;
|
|
467
|
-
}>;
|
|
468
|
-
unreadNotificationsCount?: number;
|
|
469
|
-
notificationPage?: number;
|
|
470
|
-
notificationTotalPages?: number;
|
|
471
|
-
onNotificationPageChange?: (page: number) => void;
|
|
472
|
-
onNotificationClick?: (notification: any) => void;
|
|
473
|
-
showBackButton?: boolean;
|
|
474
|
-
backUrl?: string;
|
|
475
|
-
showLogoutAction?: boolean;
|
|
476
|
-
onLogout?: () => Promise<void>;
|
|
477
|
-
showInterceptDialog?: boolean;
|
|
478
|
-
onCancelIntercept?: () => void;
|
|
479
|
-
onConfirmIntercept?: () => void;
|
|
480
|
-
interceptTitle?: string;
|
|
481
|
-
interceptMessage?: string;
|
|
482
|
-
}
|
|
483
|
-
declare const UniversalSidebar: React.FC<UniversalSidebarProps>;
|
|
484
|
-
|
|
485
|
-
interface BannerProps {
|
|
486
|
-
/** The heading text of the banner */
|
|
487
|
-
title: string;
|
|
488
|
-
/** The main message content */
|
|
489
|
-
message: string;
|
|
490
|
-
/** The type of banner, determines colors and default icon */
|
|
491
|
-
type: 'success' | 'warning' | 'alert';
|
|
492
|
-
/** Optional custom icon to override the default */
|
|
493
|
-
icon?: any;
|
|
494
|
-
/** Whether the banner can be dismissed by the user */
|
|
495
|
-
isDismissible?: boolean;
|
|
496
|
-
/** Optional callback when the banner is dismissed */
|
|
497
|
-
onDismiss?: () => void;
|
|
498
|
-
/** Optional custom action button */
|
|
499
|
-
action?: React.ReactNode;
|
|
500
|
-
}
|
|
501
|
-
declare const Banner: React.FC<BannerProps>;
|
|
502
|
-
|
|
503
|
-
interface UniversalOrganizationPageProps {
|
|
504
|
-
initialOrgName: string;
|
|
505
|
-
initialSlug: string;
|
|
506
|
-
initialUsername?: string;
|
|
507
|
-
orgId: string;
|
|
508
|
-
isReadOnly?: boolean;
|
|
509
|
-
slugPrefixUrl?: string;
|
|
510
|
-
bannerProps?: BannerProps;
|
|
511
|
-
onSaveConfiguration: (payload: {
|
|
512
|
-
organizationId: string;
|
|
513
|
-
organizationName?: string;
|
|
514
|
-
slug?: string;
|
|
515
|
-
username?: string;
|
|
516
|
-
}) => Promise<{
|
|
517
|
-
success: boolean;
|
|
518
|
-
error?: string;
|
|
519
|
-
}>;
|
|
520
|
-
onCheckSlugAvailability: (slug: string) => Promise<{
|
|
521
|
-
available: boolean;
|
|
522
|
-
}>;
|
|
523
|
-
}
|
|
524
|
-
declare const UniversalOrganizationPage: React.FC<UniversalOrganizationPageProps>;
|
|
525
|
-
|
|
526
|
-
interface UniversalProfileSettingsProps {
|
|
527
|
-
initialFirstName: string;
|
|
528
|
-
initialLastName: string;
|
|
529
|
-
email: string;
|
|
530
|
-
accountStatus?: string;
|
|
531
|
-
memberSince?: string | Date | null;
|
|
532
|
-
isReadOnly?: boolean;
|
|
533
|
-
bannerProps?: BannerProps;
|
|
534
|
-
hasPin?: boolean;
|
|
535
|
-
isPinLoading?: boolean;
|
|
536
|
-
onSavePin?: (payload: {
|
|
537
|
-
action: 'create_pin' | 'change_pin';
|
|
538
|
-
oldPin?: string;
|
|
539
|
-
newPin: string;
|
|
540
|
-
}) => Promise<{
|
|
541
|
-
success: boolean;
|
|
542
|
-
error?: string;
|
|
543
|
-
message?: string;
|
|
544
|
-
}>;
|
|
545
|
-
onSaveProfile: (payload: {
|
|
546
|
-
firstName: string;
|
|
547
|
-
lastName: string;
|
|
548
|
-
}) => Promise<{
|
|
549
|
-
success: boolean;
|
|
550
|
-
error?: string;
|
|
551
|
-
}>;
|
|
552
|
-
}
|
|
553
|
-
declare const UniversalProfileSettings: React.FC<UniversalProfileSettingsProps>;
|
|
554
|
-
|
|
555
|
-
interface UniversalErrorViewProps {
|
|
556
|
-
isBooting: boolean;
|
|
557
|
-
isLoading: boolean;
|
|
558
|
-
activeData: any;
|
|
559
|
-
activeError: any;
|
|
560
|
-
/** The dynamic name of the environment failing to load (e.g., "application", "workspace") */
|
|
561
|
-
envName: string;
|
|
562
|
-
/** Function to execute when the user clicks "Refresh" */
|
|
563
|
-
onRetry: () => void;
|
|
564
|
-
/** URL to fallback to on a hard error. Defaults to '/app' */
|
|
565
|
-
returnUrl?: string;
|
|
566
|
-
/** Label for the hard fallback button. Defaults to 'Return to Workspace' */
|
|
567
|
-
returnLabel?: string;
|
|
568
|
-
}
|
|
569
|
-
declare const UniversalErrorView: React.FC<UniversalErrorViewProps>;
|
|
570
|
-
|
|
571
|
-
interface UniversalTransaction {
|
|
572
|
-
id: string;
|
|
573
|
-
cardId?: string | null;
|
|
574
|
-
type: 'CARD_TRANSACTION' | 'WALLET_TRANSACTION';
|
|
575
|
-
direction: 'CREDIT' | 'DEBIT';
|
|
576
|
-
amount: number | string;
|
|
577
|
-
currency: string;
|
|
578
|
-
status: 'PENDING' | 'COMPLETED' | 'FAILED' | 'REVERSED';
|
|
579
|
-
reference: string;
|
|
580
|
-
metadata?: any;
|
|
581
|
-
createdAt: string | Date;
|
|
582
|
-
}
|
|
583
|
-
interface UniversalTransactionPageProps {
|
|
584
|
-
headerTitle: string;
|
|
585
|
-
headerDescription: string;
|
|
586
|
-
hideControls?: boolean;
|
|
587
|
-
hideBalanceAmounts?: boolean;
|
|
588
|
-
hidePagination?: boolean;
|
|
589
|
-
transactions: UniversalTransaction[];
|
|
590
|
-
isLoading: boolean;
|
|
591
|
-
currentPage: number;
|
|
592
|
-
totalPages: number;
|
|
593
|
-
onPageChange: (page: number) => void;
|
|
594
|
-
searchQuery: string;
|
|
595
|
-
onSearchChange: (query: string) => void;
|
|
596
|
-
activeDirectionFilter: string;
|
|
597
|
-
onDirectionFilterChange: (direction: string) => void;
|
|
598
|
-
activeTypeFilter: string;
|
|
599
|
-
onTypeFilterChange: (type: string) => void;
|
|
600
|
-
onReportTransaction?: (tx: UniversalTransaction) => void;
|
|
601
|
-
onGenerateReceipt?: (tx: UniversalTransaction) => void | Promise<void>;
|
|
602
|
-
}
|
|
603
|
-
declare const UniversalTransactionPage: React.FC<UniversalTransactionPageProps>;
|
|
604
|
-
|
|
605
|
-
interface QuickActionItem {
|
|
606
|
-
id: string;
|
|
607
|
-
label: string;
|
|
608
|
-
icon: any;
|
|
609
|
-
cardBgClass: string;
|
|
610
|
-
iconBgClass: string;
|
|
611
|
-
iconColorClass?: string;
|
|
612
|
-
onClick: () => void;
|
|
613
|
-
}
|
|
614
|
-
interface HomeActionBtn {
|
|
615
|
-
label: string;
|
|
616
|
-
icon?: any;
|
|
617
|
-
onClick: () => void;
|
|
618
|
-
}
|
|
619
|
-
interface UniversalHomeViewProps {
|
|
620
|
-
balanceLabel?: string;
|
|
621
|
-
balanceAmount: string;
|
|
622
|
-
balanceCurrency?: string;
|
|
623
|
-
primaryAction?: HomeActionBtn;
|
|
624
|
-
secondaryAction?: HomeActionBtn;
|
|
625
|
-
quickActionsTitle?: string;
|
|
626
|
-
quickActions?: QuickActionItem[];
|
|
627
|
-
transactionsProps: UniversalTransactionPageProps;
|
|
628
|
-
}
|
|
629
|
-
declare const UniversalHomeView: React.FC<UniversalHomeViewProps>;
|
|
630
|
-
|
|
631
|
-
interface UniversalWallet {
|
|
632
|
-
id: string;
|
|
633
|
-
name: string;
|
|
634
|
-
balance: number | string;
|
|
635
|
-
currency: string;
|
|
636
|
-
network: string;
|
|
637
|
-
address: string;
|
|
638
|
-
logoSrc: string;
|
|
639
|
-
}
|
|
640
|
-
interface UniversalWalletPageProps {
|
|
641
|
-
headerTitle: string;
|
|
642
|
-
headerDescription?: string;
|
|
643
|
-
hideControls?: boolean;
|
|
644
|
-
hideBalanceAmounts?: boolean;
|
|
645
|
-
isGeneratingStatement?: boolean;
|
|
646
|
-
wallets: UniversalWallet[];
|
|
647
|
-
isLoading?: boolean;
|
|
648
|
-
renderQrCode?: (wallet: UniversalWallet) => React.ReactNode;
|
|
649
|
-
onDownloadPayId?: (wallet: UniversalWallet) => void;
|
|
650
|
-
onCopyAddress?: (wallet: UniversalWallet) => void;
|
|
651
|
-
}
|
|
652
|
-
declare const UniversalWalletPage: React.FC<UniversalWalletPageProps>;
|
|
653
|
-
|
|
654
|
-
type CardNetwork = 'VISA' | 'MASTERCARD' | 'VERVE';
|
|
655
|
-
interface CardLogoProps {
|
|
656
|
-
network: CardNetwork;
|
|
657
|
-
className?: string;
|
|
658
|
-
}
|
|
659
|
-
declare const CardLogo: React.FC<CardLogoProps>;
|
|
660
|
-
|
|
661
|
-
interface StaggerProps {
|
|
662
|
-
steps: string[];
|
|
663
|
-
currentStep: number;
|
|
664
|
-
}
|
|
665
|
-
declare const Stagger: React.FC<StaggerProps>;
|
|
666
|
-
|
|
667
378
|
interface StatItem {
|
|
668
379
|
/** The small text label above the number */
|
|
669
380
|
label: string;
|
|
@@ -688,10 +399,12 @@ interface ConsultantProfile {
|
|
|
688
399
|
id: string | number;
|
|
689
400
|
name: string;
|
|
690
401
|
role: string;
|
|
402
|
+
/** Generic text field to display under the role (replaces static 'Experience' text) */
|
|
691
403
|
description?: string;
|
|
692
404
|
imageSrc: string;
|
|
693
405
|
}
|
|
694
406
|
interface ConsultantShowcaseProps {
|
|
407
|
+
/** Array of profiles to display in the swipeable showcase */
|
|
695
408
|
profiles: ConsultantProfile[];
|
|
696
409
|
}
|
|
697
410
|
declare const ConsultantShowcase: React.FC<ConsultantShowcaseProps>;
|
|
@@ -750,7 +463,7 @@ interface ProjectItem {
|
|
|
750
463
|
link: string;
|
|
751
464
|
/** If true, uses a standard <a> tag with target="_blank" instead of next/link */
|
|
752
465
|
isExternal?: boolean;
|
|
753
|
-
/** Badge text. If "Production", it gets highlighted. */
|
|
466
|
+
/** Badge text. If "Production", it gets highlighted in black. */
|
|
754
467
|
status: string;
|
|
755
468
|
description: string;
|
|
756
469
|
}
|
|
@@ -764,4 +477,4 @@ interface ManagedProjectsBlockProps {
|
|
|
764
477
|
}
|
|
765
478
|
declare const ManagedProjectsBlock: React.FC<ManagedProjectsBlockProps>;
|
|
766
479
|
|
|
767
|
-
export { AppBento2, type AppBento2Props,
|
|
480
|
+
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 };
|