@retinalabsllc/zairusjs 0.2.4 → 0.2.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 +168 -3
- package/dist/index.d.ts +168 -3
- package/dist/index.js +382 -3
- package/dist/index.mjs +394 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -349,17 +349,18 @@ interface ManagedNewsletterSplitBlockProps {
|
|
|
349
349
|
declare const ManagedNewsletterSplitBlock: React.FC<ManagedNewsletterSplitBlockProps>;
|
|
350
350
|
|
|
351
351
|
interface TextInputProps {
|
|
352
|
-
label
|
|
352
|
+
label?: string;
|
|
353
353
|
value: string;
|
|
354
354
|
onChange: (value: string) => void;
|
|
355
355
|
placeholder?: string;
|
|
356
356
|
maxLength?: number;
|
|
357
357
|
disabled?: boolean;
|
|
358
358
|
readOnly?: boolean;
|
|
359
|
+
type?: 'text' | 'password' | 'email';
|
|
359
360
|
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
360
361
|
}
|
|
361
362
|
interface NumberInputProps {
|
|
362
|
-
label
|
|
363
|
+
label?: string;
|
|
363
364
|
value: string;
|
|
364
365
|
onChange: (value: string) => void;
|
|
365
366
|
placeholder?: string;
|
|
@@ -582,4 +583,168 @@ interface UniversalProfileSettingsProps {
|
|
|
582
583
|
}
|
|
583
584
|
declare const UniversalProfileSettings: React.FC<UniversalProfileSettingsProps>;
|
|
584
585
|
|
|
585
|
-
|
|
586
|
+
interface UniversalInvoice {
|
|
587
|
+
id: string;
|
|
588
|
+
name: string;
|
|
589
|
+
subtext: string;
|
|
590
|
+
amountDue: number;
|
|
591
|
+
status: string;
|
|
592
|
+
createdAt: string | Date;
|
|
593
|
+
}
|
|
594
|
+
interface UniversalBillingPageProps {
|
|
595
|
+
headerTitle: string;
|
|
596
|
+
headerDescription: string;
|
|
597
|
+
isReadOnly?: boolean;
|
|
598
|
+
isModMode?: boolean;
|
|
599
|
+
metricPrimaryLabel?: string;
|
|
600
|
+
metricPrimaryValue?: number;
|
|
601
|
+
metricPrimarySubtext?: string;
|
|
602
|
+
metricSecondaryLabel?: string;
|
|
603
|
+
metricSecondaryValue?: number;
|
|
604
|
+
metricSecondarySubtext?: string;
|
|
605
|
+
showBillingOverview?: boolean;
|
|
606
|
+
billingStatus?: string;
|
|
607
|
+
nextBillingDate?: string | Date | null;
|
|
608
|
+
lastPaidDate?: string | Date | null;
|
|
609
|
+
showUsageMetrics?: boolean;
|
|
610
|
+
usageMetrics?: Array<{
|
|
611
|
+
label: string;
|
|
612
|
+
value: string | number;
|
|
613
|
+
}>;
|
|
614
|
+
showSearchAndFilter?: boolean;
|
|
615
|
+
searchQuery?: string;
|
|
616
|
+
onSearchChange?: (val: string) => void;
|
|
617
|
+
timeframe?: string;
|
|
618
|
+
onTimeframeChange?: (val: string) => void;
|
|
619
|
+
invoices: UniversalInvoice[];
|
|
620
|
+
isLoading: boolean;
|
|
621
|
+
currentPage: number;
|
|
622
|
+
totalPages: number;
|
|
623
|
+
onPageChange: (page: number) => void;
|
|
624
|
+
onPayInvoice?: (invoiceId: string) => Promise<{
|
|
625
|
+
success: boolean;
|
|
626
|
+
error?: string;
|
|
627
|
+
message?: string;
|
|
628
|
+
}>;
|
|
629
|
+
onUpdateInvoiceStatus?: (invoiceId: string, status: string, twoFactorCode: string) => Promise<{
|
|
630
|
+
success: boolean;
|
|
631
|
+
error?: string;
|
|
632
|
+
message?: string;
|
|
633
|
+
}>;
|
|
634
|
+
}
|
|
635
|
+
declare const UniversalBillingPage: React.FC<UniversalBillingPageProps>;
|
|
636
|
+
|
|
637
|
+
interface DashboardStat {
|
|
638
|
+
label: string;
|
|
639
|
+
value: string | number;
|
|
640
|
+
valueClass?: string;
|
|
641
|
+
}
|
|
642
|
+
interface DashboardListItem {
|
|
643
|
+
id: string;
|
|
644
|
+
primaryText: string;
|
|
645
|
+
secondaryText: string;
|
|
646
|
+
rightText?: string;
|
|
647
|
+
rightBadge?: string;
|
|
648
|
+
rightBadgeClass?: string;
|
|
649
|
+
}
|
|
650
|
+
interface DashboardList {
|
|
651
|
+
title: string;
|
|
652
|
+
icon: React.ReactNode;
|
|
653
|
+
emptyMessage: string;
|
|
654
|
+
items: DashboardListItem[];
|
|
655
|
+
}
|
|
656
|
+
interface UniversalDashboardPageProps {
|
|
657
|
+
headerTitle: string;
|
|
658
|
+
headerDescription: string;
|
|
659
|
+
timeframes?: {
|
|
660
|
+
id: string;
|
|
661
|
+
label: string;
|
|
662
|
+
}[];
|
|
663
|
+
activeTimeframe?: string;
|
|
664
|
+
onTimeframeChange?: (id: string) => void;
|
|
665
|
+
stats: DashboardStat[];
|
|
666
|
+
lists: DashboardList[];
|
|
667
|
+
isLoading?: boolean;
|
|
668
|
+
}
|
|
669
|
+
declare const UniversalDashboardPage: React.FC<UniversalDashboardPageProps>;
|
|
670
|
+
|
|
671
|
+
interface AgentStat {
|
|
672
|
+
label: string;
|
|
673
|
+
value: string | number;
|
|
674
|
+
icon: React.ReactNode;
|
|
675
|
+
}
|
|
676
|
+
interface AgentFilePayload {
|
|
677
|
+
imageBase64: string;
|
|
678
|
+
fileName: string;
|
|
679
|
+
fileType: string;
|
|
680
|
+
fileSize: number;
|
|
681
|
+
}
|
|
682
|
+
interface UniversalAgentConsoleProps {
|
|
683
|
+
headerTitle: string;
|
|
684
|
+
headerDescription: string;
|
|
685
|
+
stats: AgentStat[];
|
|
686
|
+
tabs: {
|
|
687
|
+
id: string;
|
|
688
|
+
label: string;
|
|
689
|
+
}[];
|
|
690
|
+
activeTab: string;
|
|
691
|
+
onTabChange: (tab: string) => void;
|
|
692
|
+
listData: any[];
|
|
693
|
+
isLoadingList: boolean;
|
|
694
|
+
currentPage: number;
|
|
695
|
+
totalPages: number;
|
|
696
|
+
onPageChange: (page: number) => void;
|
|
697
|
+
onRowClick: (id: string) => void;
|
|
698
|
+
currentView: 'list' | 'details';
|
|
699
|
+
onBackToList: () => void;
|
|
700
|
+
selectedApp: any | null;
|
|
701
|
+
currentAgentId: string | null;
|
|
702
|
+
onAcceptApplication: (id: string) => Promise<{
|
|
703
|
+
success: boolean;
|
|
704
|
+
}>;
|
|
705
|
+
onUpdateStatus: (id: string, status: string, message: string) => Promise<{
|
|
706
|
+
success: boolean;
|
|
707
|
+
}>;
|
|
708
|
+
onUploadArchives: (id: string, files: AgentFilePayload[]) => Promise<{
|
|
709
|
+
success: boolean;
|
|
710
|
+
}>;
|
|
711
|
+
onDeleteArchive: (appId: string, archiveId: string) => Promise<{
|
|
712
|
+
success: boolean;
|
|
713
|
+
}>;
|
|
714
|
+
}
|
|
715
|
+
declare const UniversalAgentConsole: React.FC<UniversalAgentConsoleProps>;
|
|
716
|
+
|
|
717
|
+
interface OverviewStat {
|
|
718
|
+
label: string;
|
|
719
|
+
value: string | number;
|
|
720
|
+
icon: React.ReactNode;
|
|
721
|
+
}
|
|
722
|
+
interface OverviewAlert {
|
|
723
|
+
title: string;
|
|
724
|
+
items: {
|
|
725
|
+
label: string;
|
|
726
|
+
text: string;
|
|
727
|
+
}[];
|
|
728
|
+
type?: 'error' | 'warning' | 'info';
|
|
729
|
+
}
|
|
730
|
+
interface UniversalOverviewPageProps {
|
|
731
|
+
headerTitle: string;
|
|
732
|
+
headerDescription: string;
|
|
733
|
+
quickStats: OverviewStat[];
|
|
734
|
+
detailsTitle?: string;
|
|
735
|
+
details: {
|
|
736
|
+
label: string;
|
|
737
|
+
value: string;
|
|
738
|
+
}[];
|
|
739
|
+
primaryAction?: {
|
|
740
|
+
label: string;
|
|
741
|
+
onClick?: () => void;
|
|
742
|
+
href?: string;
|
|
743
|
+
icon?: React.ReactNode;
|
|
744
|
+
isLoading?: boolean;
|
|
745
|
+
};
|
|
746
|
+
alerts?: OverviewAlert[];
|
|
747
|
+
}
|
|
748
|
+
declare const UniversalOverviewPage: React.FC<UniversalOverviewPageProps>;
|
|
749
|
+
|
|
750
|
+
export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AppBento2, type AppBento2Props, type BentoFeature, type BoardMember, type CompanyDetails, type DashboardList, type DashboardListItem, type DashboardStat, 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, 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, type NavItem, NumberInput, type NumberInputProps, type OverviewAlert, type OverviewStat, PageSpinner, type PageSpinnerProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type PricingFeature, type PricingPlan, ProductHero, type ProductHeroProps, type ProjectItem, type ScrollFeature, type SocialContact, type SocialLink, TextInput, type TextInputProps, type ThemeColorOption, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalAgentConsole, type UniversalAgentConsoleProps, UniversalBillingPage, type UniversalBillingPageProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalHeader, type UniversalHeaderProps, UniversalIdentityPage, type UniversalIdentityPageProps, type UniversalInvoice, type UniversalMember, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalOverviewPage, type UniversalOverviewPageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, UniversalSidebar, type UniversalSidebarProps, type WorkspaceItem, ZairusAuth, type ZairusAuthProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -349,17 +349,18 @@ interface ManagedNewsletterSplitBlockProps {
|
|
|
349
349
|
declare const ManagedNewsletterSplitBlock: React.FC<ManagedNewsletterSplitBlockProps>;
|
|
350
350
|
|
|
351
351
|
interface TextInputProps {
|
|
352
|
-
label
|
|
352
|
+
label?: string;
|
|
353
353
|
value: string;
|
|
354
354
|
onChange: (value: string) => void;
|
|
355
355
|
placeholder?: string;
|
|
356
356
|
maxLength?: number;
|
|
357
357
|
disabled?: boolean;
|
|
358
358
|
readOnly?: boolean;
|
|
359
|
+
type?: 'text' | 'password' | 'email';
|
|
359
360
|
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
360
361
|
}
|
|
361
362
|
interface NumberInputProps {
|
|
362
|
-
label
|
|
363
|
+
label?: string;
|
|
363
364
|
value: string;
|
|
364
365
|
onChange: (value: string) => void;
|
|
365
366
|
placeholder?: string;
|
|
@@ -582,4 +583,168 @@ interface UniversalProfileSettingsProps {
|
|
|
582
583
|
}
|
|
583
584
|
declare const UniversalProfileSettings: React.FC<UniversalProfileSettingsProps>;
|
|
584
585
|
|
|
585
|
-
|
|
586
|
+
interface UniversalInvoice {
|
|
587
|
+
id: string;
|
|
588
|
+
name: string;
|
|
589
|
+
subtext: string;
|
|
590
|
+
amountDue: number;
|
|
591
|
+
status: string;
|
|
592
|
+
createdAt: string | Date;
|
|
593
|
+
}
|
|
594
|
+
interface UniversalBillingPageProps {
|
|
595
|
+
headerTitle: string;
|
|
596
|
+
headerDescription: string;
|
|
597
|
+
isReadOnly?: boolean;
|
|
598
|
+
isModMode?: boolean;
|
|
599
|
+
metricPrimaryLabel?: string;
|
|
600
|
+
metricPrimaryValue?: number;
|
|
601
|
+
metricPrimarySubtext?: string;
|
|
602
|
+
metricSecondaryLabel?: string;
|
|
603
|
+
metricSecondaryValue?: number;
|
|
604
|
+
metricSecondarySubtext?: string;
|
|
605
|
+
showBillingOverview?: boolean;
|
|
606
|
+
billingStatus?: string;
|
|
607
|
+
nextBillingDate?: string | Date | null;
|
|
608
|
+
lastPaidDate?: string | Date | null;
|
|
609
|
+
showUsageMetrics?: boolean;
|
|
610
|
+
usageMetrics?: Array<{
|
|
611
|
+
label: string;
|
|
612
|
+
value: string | number;
|
|
613
|
+
}>;
|
|
614
|
+
showSearchAndFilter?: boolean;
|
|
615
|
+
searchQuery?: string;
|
|
616
|
+
onSearchChange?: (val: string) => void;
|
|
617
|
+
timeframe?: string;
|
|
618
|
+
onTimeframeChange?: (val: string) => void;
|
|
619
|
+
invoices: UniversalInvoice[];
|
|
620
|
+
isLoading: boolean;
|
|
621
|
+
currentPage: number;
|
|
622
|
+
totalPages: number;
|
|
623
|
+
onPageChange: (page: number) => void;
|
|
624
|
+
onPayInvoice?: (invoiceId: string) => Promise<{
|
|
625
|
+
success: boolean;
|
|
626
|
+
error?: string;
|
|
627
|
+
message?: string;
|
|
628
|
+
}>;
|
|
629
|
+
onUpdateInvoiceStatus?: (invoiceId: string, status: string, twoFactorCode: string) => Promise<{
|
|
630
|
+
success: boolean;
|
|
631
|
+
error?: string;
|
|
632
|
+
message?: string;
|
|
633
|
+
}>;
|
|
634
|
+
}
|
|
635
|
+
declare const UniversalBillingPage: React.FC<UniversalBillingPageProps>;
|
|
636
|
+
|
|
637
|
+
interface DashboardStat {
|
|
638
|
+
label: string;
|
|
639
|
+
value: string | number;
|
|
640
|
+
valueClass?: string;
|
|
641
|
+
}
|
|
642
|
+
interface DashboardListItem {
|
|
643
|
+
id: string;
|
|
644
|
+
primaryText: string;
|
|
645
|
+
secondaryText: string;
|
|
646
|
+
rightText?: string;
|
|
647
|
+
rightBadge?: string;
|
|
648
|
+
rightBadgeClass?: string;
|
|
649
|
+
}
|
|
650
|
+
interface DashboardList {
|
|
651
|
+
title: string;
|
|
652
|
+
icon: React.ReactNode;
|
|
653
|
+
emptyMessage: string;
|
|
654
|
+
items: DashboardListItem[];
|
|
655
|
+
}
|
|
656
|
+
interface UniversalDashboardPageProps {
|
|
657
|
+
headerTitle: string;
|
|
658
|
+
headerDescription: string;
|
|
659
|
+
timeframes?: {
|
|
660
|
+
id: string;
|
|
661
|
+
label: string;
|
|
662
|
+
}[];
|
|
663
|
+
activeTimeframe?: string;
|
|
664
|
+
onTimeframeChange?: (id: string) => void;
|
|
665
|
+
stats: DashboardStat[];
|
|
666
|
+
lists: DashboardList[];
|
|
667
|
+
isLoading?: boolean;
|
|
668
|
+
}
|
|
669
|
+
declare const UniversalDashboardPage: React.FC<UniversalDashboardPageProps>;
|
|
670
|
+
|
|
671
|
+
interface AgentStat {
|
|
672
|
+
label: string;
|
|
673
|
+
value: string | number;
|
|
674
|
+
icon: React.ReactNode;
|
|
675
|
+
}
|
|
676
|
+
interface AgentFilePayload {
|
|
677
|
+
imageBase64: string;
|
|
678
|
+
fileName: string;
|
|
679
|
+
fileType: string;
|
|
680
|
+
fileSize: number;
|
|
681
|
+
}
|
|
682
|
+
interface UniversalAgentConsoleProps {
|
|
683
|
+
headerTitle: string;
|
|
684
|
+
headerDescription: string;
|
|
685
|
+
stats: AgentStat[];
|
|
686
|
+
tabs: {
|
|
687
|
+
id: string;
|
|
688
|
+
label: string;
|
|
689
|
+
}[];
|
|
690
|
+
activeTab: string;
|
|
691
|
+
onTabChange: (tab: string) => void;
|
|
692
|
+
listData: any[];
|
|
693
|
+
isLoadingList: boolean;
|
|
694
|
+
currentPage: number;
|
|
695
|
+
totalPages: number;
|
|
696
|
+
onPageChange: (page: number) => void;
|
|
697
|
+
onRowClick: (id: string) => void;
|
|
698
|
+
currentView: 'list' | 'details';
|
|
699
|
+
onBackToList: () => void;
|
|
700
|
+
selectedApp: any | null;
|
|
701
|
+
currentAgentId: string | null;
|
|
702
|
+
onAcceptApplication: (id: string) => Promise<{
|
|
703
|
+
success: boolean;
|
|
704
|
+
}>;
|
|
705
|
+
onUpdateStatus: (id: string, status: string, message: string) => Promise<{
|
|
706
|
+
success: boolean;
|
|
707
|
+
}>;
|
|
708
|
+
onUploadArchives: (id: string, files: AgentFilePayload[]) => Promise<{
|
|
709
|
+
success: boolean;
|
|
710
|
+
}>;
|
|
711
|
+
onDeleteArchive: (appId: string, archiveId: string) => Promise<{
|
|
712
|
+
success: boolean;
|
|
713
|
+
}>;
|
|
714
|
+
}
|
|
715
|
+
declare const UniversalAgentConsole: React.FC<UniversalAgentConsoleProps>;
|
|
716
|
+
|
|
717
|
+
interface OverviewStat {
|
|
718
|
+
label: string;
|
|
719
|
+
value: string | number;
|
|
720
|
+
icon: React.ReactNode;
|
|
721
|
+
}
|
|
722
|
+
interface OverviewAlert {
|
|
723
|
+
title: string;
|
|
724
|
+
items: {
|
|
725
|
+
label: string;
|
|
726
|
+
text: string;
|
|
727
|
+
}[];
|
|
728
|
+
type?: 'error' | 'warning' | 'info';
|
|
729
|
+
}
|
|
730
|
+
interface UniversalOverviewPageProps {
|
|
731
|
+
headerTitle: string;
|
|
732
|
+
headerDescription: string;
|
|
733
|
+
quickStats: OverviewStat[];
|
|
734
|
+
detailsTitle?: string;
|
|
735
|
+
details: {
|
|
736
|
+
label: string;
|
|
737
|
+
value: string;
|
|
738
|
+
}[];
|
|
739
|
+
primaryAction?: {
|
|
740
|
+
label: string;
|
|
741
|
+
onClick?: () => void;
|
|
742
|
+
href?: string;
|
|
743
|
+
icon?: React.ReactNode;
|
|
744
|
+
isLoading?: boolean;
|
|
745
|
+
};
|
|
746
|
+
alerts?: OverviewAlert[];
|
|
747
|
+
}
|
|
748
|
+
declare const UniversalOverviewPage: React.FC<UniversalOverviewPageProps>;
|
|
749
|
+
|
|
750
|
+
export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AppBento2, type AppBento2Props, type BentoFeature, type BoardMember, type CompanyDetails, type DashboardList, type DashboardListItem, type DashboardStat, 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, 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, type NavItem, NumberInput, type NumberInputProps, type OverviewAlert, type OverviewStat, PageSpinner, type PageSpinnerProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type PricingFeature, type PricingPlan, ProductHero, type ProductHeroProps, type ProjectItem, type ScrollFeature, type SocialContact, type SocialLink, TextInput, type TextInputProps, type ThemeColorOption, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalAgentConsole, type UniversalAgentConsoleProps, UniversalBillingPage, type UniversalBillingPageProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalHeader, type UniversalHeaderProps, UniversalIdentityPage, type UniversalIdentityPageProps, type UniversalInvoice, type UniversalMember, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalOverviewPage, type UniversalOverviewPageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, UniversalSidebar, type UniversalSidebarProps, type WorkspaceItem, ZairusAuth, type ZairusAuthProps };
|