@retinalabsllc/zairusjs 0.5.9 → 0.6.1
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 +15 -21
- package/dist/index.d.ts +15 -21
- package/dist/index.js +370 -362
- package/dist/index.mjs +348 -338
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -430,6 +430,11 @@ interface NavItem {
|
|
|
430
430
|
path: string;
|
|
431
431
|
icon: any;
|
|
432
432
|
}
|
|
433
|
+
interface WorkspaceItem {
|
|
434
|
+
id: string;
|
|
435
|
+
name: string;
|
|
436
|
+
role: string;
|
|
437
|
+
}
|
|
433
438
|
interface UniversalSidebarProps {
|
|
434
439
|
/** Navigation items to render */
|
|
435
440
|
navItems: NavItem[];
|
|
@@ -439,29 +444,13 @@ interface UniversalSidebarProps {
|
|
|
439
444
|
isMobileOpen: boolean;
|
|
440
445
|
/** Function to close the mobile drawer */
|
|
441
446
|
closeMobile: () => void;
|
|
447
|
+
/** Function to open the mobile drawer (used by the floating mobile button) */
|
|
448
|
+
openMobile: () => void;
|
|
442
449
|
/** Optional click interceptor (useful for unsaved changes warnings) */
|
|
443
450
|
onNavClick?: (e: React.MouseEvent<HTMLAnchorElement>, path: string) => void;
|
|
444
|
-
|
|
445
|
-
onCancelIntercept?: () => void;
|
|
446
|
-
onConfirmIntercept?: () => void;
|
|
447
|
-
interceptTitle?: string;
|
|
448
|
-
interceptMessage?: string;
|
|
449
|
-
}
|
|
450
|
-
declare const UniversalSidebar: React.FC<UniversalSidebarProps>;
|
|
451
|
-
|
|
452
|
-
interface WorkspaceItem {
|
|
453
|
-
id: string;
|
|
454
|
-
name: string;
|
|
455
|
-
role: string;
|
|
456
|
-
}
|
|
457
|
-
interface UniversalHeaderProps {
|
|
458
|
-
/** Mobile drawer trigger */
|
|
459
|
-
onOpenMobile: () => void;
|
|
460
|
-
/** Top left typography */
|
|
461
|
-
title: string;
|
|
451
|
+
title?: string;
|
|
462
452
|
subtitle?: string;
|
|
463
453
|
homeUrl?: string;
|
|
464
|
-
/** Configuration Booleans */
|
|
465
454
|
showBackButton?: boolean;
|
|
466
455
|
backUrl?: string;
|
|
467
456
|
showWorkspaceSwitcher?: boolean;
|
|
@@ -470,8 +459,13 @@ interface UniversalHeaderProps {
|
|
|
470
459
|
onSwitchWorkspace?: (orgId: string) => void;
|
|
471
460
|
showLogoutAction?: boolean;
|
|
472
461
|
onLogout?: () => Promise<void>;
|
|
462
|
+
showInterceptDialog?: boolean;
|
|
463
|
+
onCancelIntercept?: () => void;
|
|
464
|
+
onConfirmIntercept?: () => void;
|
|
465
|
+
interceptTitle?: string;
|
|
466
|
+
interceptMessage?: string;
|
|
473
467
|
}
|
|
474
|
-
declare const
|
|
468
|
+
declare const UniversalSidebar: React.FC<UniversalSidebarProps>;
|
|
475
469
|
|
|
476
470
|
interface UniversalOrganizationPageProps {
|
|
477
471
|
initialOrgName: string;
|
|
@@ -858,4 +852,4 @@ interface UniversalRegistrationFlowProps {
|
|
|
858
852
|
}
|
|
859
853
|
declare const UniversalRegistrationFlow: React.FC<UniversalRegistrationFlowProps>;
|
|
860
854
|
|
|
861
|
-
export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type BentoFeature, type BoardMember, type CompanyDetails, type CompanyMember, 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 SearchTypeOption, type SocialContact, type SocialLink, Stagger, type StaggerProps, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalAgentConsole, type UniversalAgentConsoleProps, UniversalBillingPage, type UniversalBillingPageProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalDirectoryPage, type UniversalDirectoryPageProps, UniversalErrorView, type UniversalErrorViewProps,
|
|
855
|
+
export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type BentoFeature, type BoardMember, type CompanyDetails, type CompanyMember, 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 SearchTypeOption, type SocialContact, type SocialLink, Stagger, type StaggerProps, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalAgentConsole, type UniversalAgentConsoleProps, UniversalBillingPage, type UniversalBillingPageProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalDirectoryPage, type UniversalDirectoryPageProps, 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 WorkspaceItem, ZairusAuth, type ZairusAuthProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -430,6 +430,11 @@ interface NavItem {
|
|
|
430
430
|
path: string;
|
|
431
431
|
icon: any;
|
|
432
432
|
}
|
|
433
|
+
interface WorkspaceItem {
|
|
434
|
+
id: string;
|
|
435
|
+
name: string;
|
|
436
|
+
role: string;
|
|
437
|
+
}
|
|
433
438
|
interface UniversalSidebarProps {
|
|
434
439
|
/** Navigation items to render */
|
|
435
440
|
navItems: NavItem[];
|
|
@@ -439,29 +444,13 @@ interface UniversalSidebarProps {
|
|
|
439
444
|
isMobileOpen: boolean;
|
|
440
445
|
/** Function to close the mobile drawer */
|
|
441
446
|
closeMobile: () => void;
|
|
447
|
+
/** Function to open the mobile drawer (used by the floating mobile button) */
|
|
448
|
+
openMobile: () => void;
|
|
442
449
|
/** Optional click interceptor (useful for unsaved changes warnings) */
|
|
443
450
|
onNavClick?: (e: React.MouseEvent<HTMLAnchorElement>, path: string) => void;
|
|
444
|
-
|
|
445
|
-
onCancelIntercept?: () => void;
|
|
446
|
-
onConfirmIntercept?: () => void;
|
|
447
|
-
interceptTitle?: string;
|
|
448
|
-
interceptMessage?: string;
|
|
449
|
-
}
|
|
450
|
-
declare const UniversalSidebar: React.FC<UniversalSidebarProps>;
|
|
451
|
-
|
|
452
|
-
interface WorkspaceItem {
|
|
453
|
-
id: string;
|
|
454
|
-
name: string;
|
|
455
|
-
role: string;
|
|
456
|
-
}
|
|
457
|
-
interface UniversalHeaderProps {
|
|
458
|
-
/** Mobile drawer trigger */
|
|
459
|
-
onOpenMobile: () => void;
|
|
460
|
-
/** Top left typography */
|
|
461
|
-
title: string;
|
|
451
|
+
title?: string;
|
|
462
452
|
subtitle?: string;
|
|
463
453
|
homeUrl?: string;
|
|
464
|
-
/** Configuration Booleans */
|
|
465
454
|
showBackButton?: boolean;
|
|
466
455
|
backUrl?: string;
|
|
467
456
|
showWorkspaceSwitcher?: boolean;
|
|
@@ -470,8 +459,13 @@ interface UniversalHeaderProps {
|
|
|
470
459
|
onSwitchWorkspace?: (orgId: string) => void;
|
|
471
460
|
showLogoutAction?: boolean;
|
|
472
461
|
onLogout?: () => Promise<void>;
|
|
462
|
+
showInterceptDialog?: boolean;
|
|
463
|
+
onCancelIntercept?: () => void;
|
|
464
|
+
onConfirmIntercept?: () => void;
|
|
465
|
+
interceptTitle?: string;
|
|
466
|
+
interceptMessage?: string;
|
|
473
467
|
}
|
|
474
|
-
declare const
|
|
468
|
+
declare const UniversalSidebar: React.FC<UniversalSidebarProps>;
|
|
475
469
|
|
|
476
470
|
interface UniversalOrganizationPageProps {
|
|
477
471
|
initialOrgName: string;
|
|
@@ -858,4 +852,4 @@ interface UniversalRegistrationFlowProps {
|
|
|
858
852
|
}
|
|
859
853
|
declare const UniversalRegistrationFlow: React.FC<UniversalRegistrationFlowProps>;
|
|
860
854
|
|
|
861
|
-
export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type BentoFeature, type BoardMember, type CompanyDetails, type CompanyMember, 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 SearchTypeOption, type SocialContact, type SocialLink, Stagger, type StaggerProps, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalAgentConsole, type UniversalAgentConsoleProps, UniversalBillingPage, type UniversalBillingPageProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalDirectoryPage, type UniversalDirectoryPageProps, UniversalErrorView, type UniversalErrorViewProps,
|
|
855
|
+
export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type BentoFeature, type BoardMember, type CompanyDetails, type CompanyMember, 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 SearchTypeOption, type SocialContact, type SocialLink, Stagger, type StaggerProps, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, UniversalAgentConsole, type UniversalAgentConsoleProps, UniversalBillingPage, type UniversalBillingPageProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalDirectoryPage, type UniversalDirectoryPageProps, 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 WorkspaceItem, ZairusAuth, type ZairusAuthProps };
|