@retinalabsllc/zairusjs 5.1.2 → 5.1.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 CHANGED
@@ -1020,6 +1020,9 @@ interface UniversalTransaction {
1020
1020
  interface UniversalTransactionPageProps {
1021
1021
  headerTitle: string;
1022
1022
  headerDescription: string;
1023
+ hideControls?: boolean;
1024
+ hideBalanceAmounts?: boolean;
1025
+ hidePagination?: boolean;
1023
1026
  transactions: UniversalTransaction[];
1024
1027
  isLoading: boolean;
1025
1028
  currentPage: number;
@@ -1031,9 +1034,66 @@ interface UniversalTransactionPageProps {
1031
1034
  onDirectionFilterChange: (direction: string) => void;
1032
1035
  activeTypeFilter: string;
1033
1036
  onTypeFilterChange: (type: string) => void;
1037
+ onReportTransaction?: (tx: UniversalTransaction) => void;
1038
+ onGenerateReceipt?: (tx: UniversalTransaction) => void;
1034
1039
  }
1035
1040
  declare const UniversalTransactionPage: React.FC<UniversalTransactionPageProps>;
1036
1041
 
1042
+ interface QuickActionItem {
1043
+ id: string;
1044
+ label: string;
1045
+ icon: any;
1046
+ cardBgClass: string;
1047
+ iconBgClass: string;
1048
+ iconColorClass?: string;
1049
+ onClick: () => void;
1050
+ }
1051
+ interface HomeActionBtn {
1052
+ label: string;
1053
+ icon?: any;
1054
+ onClick: () => void;
1055
+ }
1056
+ interface UniversalHomeViewProps {
1057
+ balanceLabel?: string;
1058
+ balanceAmount: string;
1059
+ balanceCurrency?: string;
1060
+ primaryAction?: HomeActionBtn;
1061
+ secondaryAction?: HomeActionBtn;
1062
+ quickActionsTitle?: string;
1063
+ quickActions?: QuickActionItem[];
1064
+ transactionsProps: UniversalTransactionPageProps;
1065
+ }
1066
+ declare const UniversalHomeView: React.FC<UniversalHomeViewProps>;
1067
+
1068
+ interface UniversalWallet {
1069
+ id: string;
1070
+ name: string;
1071
+ balance: number | string;
1072
+ currency: string;
1073
+ network: string;
1074
+ address: string;
1075
+ logoSrc: string;
1076
+ }
1077
+ interface UniversalWalletPageProps {
1078
+ headerTitle: string;
1079
+ headerDescription?: string;
1080
+ hideControls?: boolean;
1081
+ hideBalanceAmounts?: boolean;
1082
+ wallets: UniversalWallet[];
1083
+ isLoading?: boolean;
1084
+ renderQrCode?: (wallet: UniversalWallet) => React.ReactNode;
1085
+ onDownloadPayId?: (wallet: UniversalWallet) => void;
1086
+ onCopyAddress?: (wallet: UniversalWallet) => void;
1087
+ }
1088
+ declare const UniversalWalletPage: React.FC<UniversalWalletPageProps>;
1089
+
1090
+ type CardNetwork = 'VISA' | 'MASTERCARD' | 'VERVE';
1091
+ interface CardLogoProps {
1092
+ network: CardNetwork;
1093
+ className?: string;
1094
+ }
1095
+ declare const CardLogo: React.FC<CardLogoProps>;
1096
+
1037
1097
  interface DriveItemOpenerProps {
1038
1098
  item: DriveItem$1 | null;
1039
1099
  onClose: () => void;
@@ -1274,4 +1334,4 @@ interface UniversalAppCategoryGridProps {
1274
1334
  }
1275
1335
  declare const UniversalAppCategoryGrid: React.FC<UniversalAppCategoryGridProps>;
1276
1336
 
1277
- export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type AppDetailsData, type AppLibraryCategory, type AppLibraryItem$1 as AppLibraryItem, Banner, type BannerProps, type BentoFeature, type BoardMember, type CheckoutInvoiceData, type CompanyDetails, type CompanyMember, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type DashboardList, type DashboardListItem, type DashboardStat, type DocumentSectionData, type DriveItem$1 as DriveItem, DriveItemOpener, type DriveItemOpenerProps, type DriveItemType, DriveShareModal, type DriveShareModalProps, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, FileIconMapper, type FileIconMapperProps, 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, type NavItem, NumberInput, type NumberInputProps, type OverviewAlert, type OverviewStat, PageSpinner, type PageSpinnerProps, PipleAuth, type PipleAuthProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingPlan, type PricingTab, ProductHero, type ProductHeroProps, type ProjectItem, type ScrollFeature, type SearchTypeOption, type SocialContact, type SocialLink, Stagger, type StaggerProps, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalAgentConsole, type UniversalAgentConsoleProps, UniversalAppCategoryGrid, type UniversalAppCategoryGridProps, UniversalAppDetails, type UniversalAppDetailsProps, UniversalAppLibrary, type UniversalAppLibraryProps, UniversalBillingPage, type UniversalBillingPageProps, UniversalCheckoutView, type UniversalCheckoutViewProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalDeveloperSettings, type UniversalDeveloperSettingsProps, UniversalDirectoryPage, type UniversalDirectoryPageProps, UniversalDriveView, type UniversalDriveViewProps, UniversalErrorView, type UniversalErrorViewProps, UniversalIdentityPage, type UniversalIdentityPageProps, type UniversalInvoice, UniversalLookupPage, type UniversalLookupPageProps, type UniversalMember, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalOverviewPage, type UniversalOverviewPageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, UniversalRegistrationFlow, type UniversalRegistrationFlowProps, UniversalSidebar, type UniversalSidebarProps, type UniversalTransaction, UniversalTransactionPage, type UniversalTransactionPageProps, UniversalTrashView, type UniversalTrashViewProps, type UploadQueueJob, ZairusAuth, type ZairusAuthProps, ZairusShareCard, type ZairusShareProps };
1337
+ export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type AppDetailsData, type AppLibraryCategory, type AppLibraryItem$1 as AppLibraryItem, Banner, type BannerProps, type BentoFeature, type BoardMember, CardLogo, type CardLogoProps, type CardNetwork, type CheckoutInvoiceData, type CompanyDetails, type CompanyMember, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type DashboardList, type DashboardListItem, type DashboardStat, type DocumentSectionData, type DriveItem$1 as DriveItem, DriveItemOpener, type DriveItemOpenerProps, type DriveItemType, DriveShareModal, type DriveShareModalProps, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, FileIconMapper, type FileIconMapperProps, 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, type NavItem, NumberInput, type NumberInputProps, type OverviewAlert, type OverviewStat, PageSpinner, type PageSpinnerProps, PipleAuth, type PipleAuthProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingPlan, type PricingTab, ProductHero, type ProductHeroProps, type ProjectItem, type QuickActionItem, type ScrollFeature, type SearchTypeOption, type SocialContact, type SocialLink, Stagger, type StaggerProps, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalAgentConsole, type UniversalAgentConsoleProps, UniversalAppCategoryGrid, type UniversalAppCategoryGridProps, UniversalAppDetails, type UniversalAppDetailsProps, UniversalAppLibrary, type UniversalAppLibraryProps, UniversalBillingPage, type UniversalBillingPageProps, UniversalCheckoutView, type UniversalCheckoutViewProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalDeveloperSettings, type UniversalDeveloperSettingsProps, UniversalDirectoryPage, type UniversalDirectoryPageProps, UniversalDriveView, type UniversalDriveViewProps, UniversalErrorView, type UniversalErrorViewProps, UniversalHomeView, type UniversalHomeViewProps, UniversalIdentityPage, type UniversalIdentityPageProps, type UniversalInvoice, UniversalLookupPage, type UniversalLookupPageProps, type UniversalMember, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalOverviewPage, type UniversalOverviewPageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, UniversalRegistrationFlow, type UniversalRegistrationFlowProps, UniversalSidebar, type UniversalSidebarProps, type UniversalTransaction, UniversalTransactionPage, type UniversalTransactionPageProps, UniversalTrashView, type UniversalTrashViewProps, type UniversalWallet, UniversalWalletPage, type UniversalWalletPageProps, type UploadQueueJob, ZairusAuth, type ZairusAuthProps, ZairusShareCard, type ZairusShareProps };
package/dist/index.d.ts CHANGED
@@ -1020,6 +1020,9 @@ interface UniversalTransaction {
1020
1020
  interface UniversalTransactionPageProps {
1021
1021
  headerTitle: string;
1022
1022
  headerDescription: string;
1023
+ hideControls?: boolean;
1024
+ hideBalanceAmounts?: boolean;
1025
+ hidePagination?: boolean;
1023
1026
  transactions: UniversalTransaction[];
1024
1027
  isLoading: boolean;
1025
1028
  currentPage: number;
@@ -1031,9 +1034,66 @@ interface UniversalTransactionPageProps {
1031
1034
  onDirectionFilterChange: (direction: string) => void;
1032
1035
  activeTypeFilter: string;
1033
1036
  onTypeFilterChange: (type: string) => void;
1037
+ onReportTransaction?: (tx: UniversalTransaction) => void;
1038
+ onGenerateReceipt?: (tx: UniversalTransaction) => void;
1034
1039
  }
1035
1040
  declare const UniversalTransactionPage: React.FC<UniversalTransactionPageProps>;
1036
1041
 
1042
+ interface QuickActionItem {
1043
+ id: string;
1044
+ label: string;
1045
+ icon: any;
1046
+ cardBgClass: string;
1047
+ iconBgClass: string;
1048
+ iconColorClass?: string;
1049
+ onClick: () => void;
1050
+ }
1051
+ interface HomeActionBtn {
1052
+ label: string;
1053
+ icon?: any;
1054
+ onClick: () => void;
1055
+ }
1056
+ interface UniversalHomeViewProps {
1057
+ balanceLabel?: string;
1058
+ balanceAmount: string;
1059
+ balanceCurrency?: string;
1060
+ primaryAction?: HomeActionBtn;
1061
+ secondaryAction?: HomeActionBtn;
1062
+ quickActionsTitle?: string;
1063
+ quickActions?: QuickActionItem[];
1064
+ transactionsProps: UniversalTransactionPageProps;
1065
+ }
1066
+ declare const UniversalHomeView: React.FC<UniversalHomeViewProps>;
1067
+
1068
+ interface UniversalWallet {
1069
+ id: string;
1070
+ name: string;
1071
+ balance: number | string;
1072
+ currency: string;
1073
+ network: string;
1074
+ address: string;
1075
+ logoSrc: string;
1076
+ }
1077
+ interface UniversalWalletPageProps {
1078
+ headerTitle: string;
1079
+ headerDescription?: string;
1080
+ hideControls?: boolean;
1081
+ hideBalanceAmounts?: boolean;
1082
+ wallets: UniversalWallet[];
1083
+ isLoading?: boolean;
1084
+ renderQrCode?: (wallet: UniversalWallet) => React.ReactNode;
1085
+ onDownloadPayId?: (wallet: UniversalWallet) => void;
1086
+ onCopyAddress?: (wallet: UniversalWallet) => void;
1087
+ }
1088
+ declare const UniversalWalletPage: React.FC<UniversalWalletPageProps>;
1089
+
1090
+ type CardNetwork = 'VISA' | 'MASTERCARD' | 'VERVE';
1091
+ interface CardLogoProps {
1092
+ network: CardNetwork;
1093
+ className?: string;
1094
+ }
1095
+ declare const CardLogo: React.FC<CardLogoProps>;
1096
+
1037
1097
  interface DriveItemOpenerProps {
1038
1098
  item: DriveItem$1 | null;
1039
1099
  onClose: () => void;
@@ -1274,4 +1334,4 @@ interface UniversalAppCategoryGridProps {
1274
1334
  }
1275
1335
  declare const UniversalAppCategoryGrid: React.FC<UniversalAppCategoryGridProps>;
1276
1336
 
1277
- export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type AppDetailsData, type AppLibraryCategory, type AppLibraryItem$1 as AppLibraryItem, Banner, type BannerProps, type BentoFeature, type BoardMember, type CheckoutInvoiceData, type CompanyDetails, type CompanyMember, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type DashboardList, type DashboardListItem, type DashboardStat, type DocumentSectionData, type DriveItem$1 as DriveItem, DriveItemOpener, type DriveItemOpenerProps, type DriveItemType, DriveShareModal, type DriveShareModalProps, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, FileIconMapper, type FileIconMapperProps, 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, type NavItem, NumberInput, type NumberInputProps, type OverviewAlert, type OverviewStat, PageSpinner, type PageSpinnerProps, PipleAuth, type PipleAuthProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingPlan, type PricingTab, ProductHero, type ProductHeroProps, type ProjectItem, type ScrollFeature, type SearchTypeOption, type SocialContact, type SocialLink, Stagger, type StaggerProps, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalAgentConsole, type UniversalAgentConsoleProps, UniversalAppCategoryGrid, type UniversalAppCategoryGridProps, UniversalAppDetails, type UniversalAppDetailsProps, UniversalAppLibrary, type UniversalAppLibraryProps, UniversalBillingPage, type UniversalBillingPageProps, UniversalCheckoutView, type UniversalCheckoutViewProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalDeveloperSettings, type UniversalDeveloperSettingsProps, UniversalDirectoryPage, type UniversalDirectoryPageProps, UniversalDriveView, type UniversalDriveViewProps, UniversalErrorView, type UniversalErrorViewProps, UniversalIdentityPage, type UniversalIdentityPageProps, type UniversalInvoice, UniversalLookupPage, type UniversalLookupPageProps, type UniversalMember, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalOverviewPage, type UniversalOverviewPageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, UniversalRegistrationFlow, type UniversalRegistrationFlowProps, UniversalSidebar, type UniversalSidebarProps, type UniversalTransaction, UniversalTransactionPage, type UniversalTransactionPageProps, UniversalTrashView, type UniversalTrashViewProps, type UploadQueueJob, ZairusAuth, type ZairusAuthProps, ZairusShareCard, type ZairusShareProps };
1337
+ export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type AppDetailsData, type AppLibraryCategory, type AppLibraryItem$1 as AppLibraryItem, Banner, type BannerProps, type BentoFeature, type BoardMember, CardLogo, type CardLogoProps, type CardNetwork, type CheckoutInvoiceData, type CompanyDetails, type CompanyMember, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type DashboardList, type DashboardListItem, type DashboardStat, type DocumentSectionData, type DriveItem$1 as DriveItem, DriveItemOpener, type DriveItemOpenerProps, type DriveItemType, DriveShareModal, type DriveShareModalProps, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, FileIconMapper, type FileIconMapperProps, 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, type NavItem, NumberInput, type NumberInputProps, type OverviewAlert, type OverviewStat, PageSpinner, type PageSpinnerProps, PipleAuth, type PipleAuthProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingPlan, type PricingTab, ProductHero, type ProductHeroProps, type ProjectItem, type QuickActionItem, type ScrollFeature, type SearchTypeOption, type SocialContact, type SocialLink, Stagger, type StaggerProps, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalAgentConsole, type UniversalAgentConsoleProps, UniversalAppCategoryGrid, type UniversalAppCategoryGridProps, UniversalAppDetails, type UniversalAppDetailsProps, UniversalAppLibrary, type UniversalAppLibraryProps, UniversalBillingPage, type UniversalBillingPageProps, UniversalCheckoutView, type UniversalCheckoutViewProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalDeveloperSettings, type UniversalDeveloperSettingsProps, UniversalDirectoryPage, type UniversalDirectoryPageProps, UniversalDriveView, type UniversalDriveViewProps, UniversalErrorView, type UniversalErrorViewProps, UniversalHomeView, type UniversalHomeViewProps, UniversalIdentityPage, type UniversalIdentityPageProps, type UniversalInvoice, UniversalLookupPage, type UniversalLookupPageProps, type UniversalMember, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalOverviewPage, type UniversalOverviewPageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, UniversalRegistrationFlow, type UniversalRegistrationFlowProps, UniversalSidebar, type UniversalSidebarProps, type UniversalTransaction, UniversalTransactionPage, type UniversalTransactionPageProps, UniversalTrashView, type UniversalTrashViewProps, type UniversalWallet, UniversalWalletPage, type UniversalWalletPageProps, type UploadQueueJob, ZairusAuth, type ZairusAuthProps, ZairusShareCard, type ZairusShareProps };