@retinalabsllc/zairusjs 16.2.1 → 16.3.0

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
@@ -62,6 +62,7 @@ interface PipleAuthProps {
62
62
  useRecaptcha?: boolean;
63
63
  recaptchaSiteKey?: string;
64
64
  defaultRedirectPath?: string;
65
+ heroImageUrl?: string;
65
66
  onAuthRequest: (payload: {
66
67
  email: string;
67
68
  firstName?: string;
@@ -113,6 +114,39 @@ interface FooterProps {
113
114
  }
114
115
  declare const Footer: React.FC<FooterProps>;
115
116
 
117
+ interface UniversalMember2$2 {
118
+ id: string;
119
+ userId: string;
120
+ fullName: string;
121
+ avatarUrl?: string | null;
122
+ role: string;
123
+ }
124
+ interface UniversalHuddleDetailsProps {
125
+ onBackHref: string;
126
+ huddle: {
127
+ id: string;
128
+ title: string;
129
+ status: string;
130
+ huddleType: 'PUBLIC' | 'PRIVATE';
131
+ startTime: string;
132
+ endTime: string | null;
133
+ timezone: string;
134
+ participantIds: string[];
135
+ };
136
+ canEdit: boolean;
137
+ canDelete: boolean;
138
+ members: UniversalMember2$2[];
139
+ isMembersLoading: boolean;
140
+ membersCurrentPage: number;
141
+ membersTotalPages: number;
142
+ onMembersPageChange: (page: number) => void;
143
+ membersSearchQuery: string;
144
+ onMembersSearchChange: (query: string) => void;
145
+ onUpdateSubmit: (payload: any) => Promise<void>;
146
+ onDeleteSubmit: (action: 'cancel_huddle' | 'delete_huddle') => Promise<void>;
147
+ }
148
+ declare const UniversalHuddleDetails: React.FC<UniversalHuddleDetailsProps>;
149
+
116
150
  interface MobileNavItem {
117
151
  label: string;
118
152
  href: string;
@@ -1075,13 +1109,15 @@ interface UniversalMember2$1 {
1075
1109
  id: string;
1076
1110
  userId: string;
1077
1111
  fullName: string;
1112
+ email?: string;
1078
1113
  avatarUrl?: string | null;
1079
- status: 'ACTIVE' | 'BUSY' | 'AWAY' | 'OFFLINE' | string;
1114
+ status: string;
1080
1115
  role: string;
1116
+ isRootAdmin?: boolean;
1081
1117
  }
1082
1118
  interface UniversalSettingsProps {
1083
1119
  accountType: 'INDIVIDUAL' | 'ORGANIZATION';
1084
- userRole?: 'ADMIN' | 'MANAGER' | 'MEMBER' | 'GUEST' | string;
1120
+ userRole?: string;
1085
1121
  members?: UniversalMember2$1[];
1086
1122
  isMembersLoading?: boolean;
1087
1123
  membersCurrentPage?: number;
@@ -1095,12 +1131,21 @@ interface UniversalSettingsProps {
1095
1131
  onRoleFilterChange?: (role: string) => void;
1096
1132
  onRemoveMember?: (memberId: string) => Promise<void>;
1097
1133
  onInviteMember?: (email: string) => Promise<void>;
1098
- initialDisplayName: string;
1099
- initialSlug: string;
1100
- slugPrefixUrl?: string;
1101
- onSaveAccount?: (payload: {
1102
- displayName?: string;
1103
- slug?: string;
1134
+ onUpdateRole?: (memberId: string, newRole: string) => Promise<void>;
1135
+ initialOrgName?: string;
1136
+ initialOrgSlug?: string;
1137
+ initialFullName?: string;
1138
+ initialEmail?: string;
1139
+ onSaveProfile?: (payload: {
1140
+ firstName: string;
1141
+ lastName: string;
1142
+ }) => Promise<{
1143
+ success: boolean;
1144
+ error?: string;
1145
+ }>;
1146
+ onSaveOrganization?: (payload: {
1147
+ name: string;
1148
+ slug: string;
1104
1149
  }) => Promise<{
1105
1150
  success: boolean;
1106
1151
  error?: string;
@@ -1124,6 +1169,7 @@ interface UniversalMember2 {
1124
1169
  }
1125
1170
  interface UniversalCreateHuddleProps {
1126
1171
  onBackHref: string;
1172
+ userRole?: string;
1127
1173
  members: UniversalMember2[];
1128
1174
  isMembersLoading: boolean;
1129
1175
  membersCurrentPage: number;
@@ -1141,4 +1187,4 @@ interface UniversalCreateHuddleProps {
1141
1187
  }
1142
1188
  declare const UniversalCreateHuddle: React.FC<UniversalCreateHuddleProps>;
1143
1189
 
1144
- export { AppBento2, type AppBento2Props, type BannerProps, type BarIconProps, type BentoFeature, type BoardMember, type CardData, CardInfoDialog, type CardInfoDialogProps, type CompanyDetails, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type CryptoOption, type DocumentSectionData, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, type FiatCurrencyOption, Footer, type FooterColumn, type FooterLink, type FooterProps, FundCardDialog, type FundCardDialogProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, type HomeActionBtn, type HomeActionBtn2, type LeaderboardItem, 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, type NavItem, type NetworkOption, type NotificationItem, type NotificationItem2, NumberInput, type NumberInputProps, PageSpinner, type PageSpinnerProps, PinDialerBottomSheet, type PinDialerBottomSheetProps, PipleAuth, type PipleAuthProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingFeature2, type PricingPlan, type PricingTab, type ProjectItem, type RateCalculationPayload, type ReferralProfile, type RewardItem, type RewardProfile, type ScrollFeature, type SocialContact, type SocialLink, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, type TierOption, UniversalBuyCryptoPage, type UniversalBuyCryptoPageProps, UniversalCardActionPage, type UniversalCardActionPageProps, UniversalCardPage, type UniversalCardPageProps, UniversalCreateHuddle, type UniversalCreateHuddleProps, UniversalErrorView, type UniversalErrorViewProps, UniversalHome2, type UniversalHome2Props, UniversalHomeView, type UniversalHomeViewProps, type UniversalHuddle, UniversalHuddlesPage, type UniversalHuddlesPageProps, type UniversalMember, type UniversalMember2$1 as UniversalMember2, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalProfilePage, type UniversalProfilePageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, type UniversalReferralItem, UniversalReferralPage, type UniversalReferralPageProps, UniversalRewardPage, type UniversalRewardPageProps, UniversalSecurityPage, type UniversalSecurityPageProps, UniversalSettings, type UniversalSettingsProps, UniversalSidebar, type UniversalSidebarProps, type UniversalTransaction, UniversalTransactionPage, type UniversalTransactionPageProps, UniversalVerificationPage, type UniversalVerificationPageProps, type UniversalWallet, UniversalWalletPage, type UniversalWalletPageProps, type VerificationStatus, WaitlistDialog, type WaitlistDialogProps };
1190
+ export { AppBento2, type AppBento2Props, type BannerProps, type BarIconProps, type BentoFeature, type BoardMember, type CardData, CardInfoDialog, type CardInfoDialogProps, type CompanyDetails, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type CryptoOption, type DocumentSectionData, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, type FiatCurrencyOption, Footer, type FooterColumn, type FooterLink, type FooterProps, FundCardDialog, type FundCardDialogProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, type HomeActionBtn, type HomeActionBtn2, type LeaderboardItem, 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, type NavItem, type NetworkOption, type NotificationItem, type NotificationItem2, NumberInput, type NumberInputProps, PageSpinner, type PageSpinnerProps, PinDialerBottomSheet, type PinDialerBottomSheetProps, PipleAuth, type PipleAuthProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingFeature2, type PricingPlan, type PricingTab, type ProjectItem, type RateCalculationPayload, type ReferralProfile, type RewardItem, type RewardProfile, type ScrollFeature, type SocialContact, type SocialLink, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, type TierOption, UniversalBuyCryptoPage, type UniversalBuyCryptoPageProps, UniversalCardActionPage, type UniversalCardActionPageProps, UniversalCardPage, type UniversalCardPageProps, UniversalCreateHuddle, type UniversalCreateHuddleProps, UniversalErrorView, type UniversalErrorViewProps, UniversalHome2, type UniversalHome2Props, UniversalHomeView, type UniversalHomeViewProps, type UniversalHuddle, UniversalHuddleDetails, type UniversalHuddleDetailsProps, UniversalHuddlesPage, type UniversalHuddlesPageProps, type UniversalMember, type UniversalMember2$1 as UniversalMember2, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalProfilePage, type UniversalProfilePageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, type UniversalReferralItem, UniversalReferralPage, type UniversalReferralPageProps, UniversalRewardPage, type UniversalRewardPageProps, UniversalSecurityPage, type UniversalSecurityPageProps, UniversalSettings, type UniversalSettingsProps, UniversalSidebar, type UniversalSidebarProps, type UniversalTransaction, UniversalTransactionPage, type UniversalTransactionPageProps, UniversalVerificationPage, type UniversalVerificationPageProps, type UniversalWallet, UniversalWalletPage, type UniversalWalletPageProps, type VerificationStatus, WaitlistDialog, type WaitlistDialogProps };
package/dist/index.d.ts CHANGED
@@ -62,6 +62,7 @@ interface PipleAuthProps {
62
62
  useRecaptcha?: boolean;
63
63
  recaptchaSiteKey?: string;
64
64
  defaultRedirectPath?: string;
65
+ heroImageUrl?: string;
65
66
  onAuthRequest: (payload: {
66
67
  email: string;
67
68
  firstName?: string;
@@ -113,6 +114,39 @@ interface FooterProps {
113
114
  }
114
115
  declare const Footer: React.FC<FooterProps>;
115
116
 
117
+ interface UniversalMember2$2 {
118
+ id: string;
119
+ userId: string;
120
+ fullName: string;
121
+ avatarUrl?: string | null;
122
+ role: string;
123
+ }
124
+ interface UniversalHuddleDetailsProps {
125
+ onBackHref: string;
126
+ huddle: {
127
+ id: string;
128
+ title: string;
129
+ status: string;
130
+ huddleType: 'PUBLIC' | 'PRIVATE';
131
+ startTime: string;
132
+ endTime: string | null;
133
+ timezone: string;
134
+ participantIds: string[];
135
+ };
136
+ canEdit: boolean;
137
+ canDelete: boolean;
138
+ members: UniversalMember2$2[];
139
+ isMembersLoading: boolean;
140
+ membersCurrentPage: number;
141
+ membersTotalPages: number;
142
+ onMembersPageChange: (page: number) => void;
143
+ membersSearchQuery: string;
144
+ onMembersSearchChange: (query: string) => void;
145
+ onUpdateSubmit: (payload: any) => Promise<void>;
146
+ onDeleteSubmit: (action: 'cancel_huddle' | 'delete_huddle') => Promise<void>;
147
+ }
148
+ declare const UniversalHuddleDetails: React.FC<UniversalHuddleDetailsProps>;
149
+
116
150
  interface MobileNavItem {
117
151
  label: string;
118
152
  href: string;
@@ -1075,13 +1109,15 @@ interface UniversalMember2$1 {
1075
1109
  id: string;
1076
1110
  userId: string;
1077
1111
  fullName: string;
1112
+ email?: string;
1078
1113
  avatarUrl?: string | null;
1079
- status: 'ACTIVE' | 'BUSY' | 'AWAY' | 'OFFLINE' | string;
1114
+ status: string;
1080
1115
  role: string;
1116
+ isRootAdmin?: boolean;
1081
1117
  }
1082
1118
  interface UniversalSettingsProps {
1083
1119
  accountType: 'INDIVIDUAL' | 'ORGANIZATION';
1084
- userRole?: 'ADMIN' | 'MANAGER' | 'MEMBER' | 'GUEST' | string;
1120
+ userRole?: string;
1085
1121
  members?: UniversalMember2$1[];
1086
1122
  isMembersLoading?: boolean;
1087
1123
  membersCurrentPage?: number;
@@ -1095,12 +1131,21 @@ interface UniversalSettingsProps {
1095
1131
  onRoleFilterChange?: (role: string) => void;
1096
1132
  onRemoveMember?: (memberId: string) => Promise<void>;
1097
1133
  onInviteMember?: (email: string) => Promise<void>;
1098
- initialDisplayName: string;
1099
- initialSlug: string;
1100
- slugPrefixUrl?: string;
1101
- onSaveAccount?: (payload: {
1102
- displayName?: string;
1103
- slug?: string;
1134
+ onUpdateRole?: (memberId: string, newRole: string) => Promise<void>;
1135
+ initialOrgName?: string;
1136
+ initialOrgSlug?: string;
1137
+ initialFullName?: string;
1138
+ initialEmail?: string;
1139
+ onSaveProfile?: (payload: {
1140
+ firstName: string;
1141
+ lastName: string;
1142
+ }) => Promise<{
1143
+ success: boolean;
1144
+ error?: string;
1145
+ }>;
1146
+ onSaveOrganization?: (payload: {
1147
+ name: string;
1148
+ slug: string;
1104
1149
  }) => Promise<{
1105
1150
  success: boolean;
1106
1151
  error?: string;
@@ -1124,6 +1169,7 @@ interface UniversalMember2 {
1124
1169
  }
1125
1170
  interface UniversalCreateHuddleProps {
1126
1171
  onBackHref: string;
1172
+ userRole?: string;
1127
1173
  members: UniversalMember2[];
1128
1174
  isMembersLoading: boolean;
1129
1175
  membersCurrentPage: number;
@@ -1141,4 +1187,4 @@ interface UniversalCreateHuddleProps {
1141
1187
  }
1142
1188
  declare const UniversalCreateHuddle: React.FC<UniversalCreateHuddleProps>;
1143
1189
 
1144
- export { AppBento2, type AppBento2Props, type BannerProps, type BarIconProps, type BentoFeature, type BoardMember, type CardData, CardInfoDialog, type CardInfoDialogProps, type CompanyDetails, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type CryptoOption, type DocumentSectionData, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, type FiatCurrencyOption, Footer, type FooterColumn, type FooterLink, type FooterProps, FundCardDialog, type FundCardDialogProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, type HomeActionBtn, type HomeActionBtn2, type LeaderboardItem, 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, type NavItem, type NetworkOption, type NotificationItem, type NotificationItem2, NumberInput, type NumberInputProps, PageSpinner, type PageSpinnerProps, PinDialerBottomSheet, type PinDialerBottomSheetProps, PipleAuth, type PipleAuthProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingFeature2, type PricingPlan, type PricingTab, type ProjectItem, type RateCalculationPayload, type ReferralProfile, type RewardItem, type RewardProfile, type ScrollFeature, type SocialContact, type SocialLink, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, type TierOption, UniversalBuyCryptoPage, type UniversalBuyCryptoPageProps, UniversalCardActionPage, type UniversalCardActionPageProps, UniversalCardPage, type UniversalCardPageProps, UniversalCreateHuddle, type UniversalCreateHuddleProps, UniversalErrorView, type UniversalErrorViewProps, UniversalHome2, type UniversalHome2Props, UniversalHomeView, type UniversalHomeViewProps, type UniversalHuddle, UniversalHuddlesPage, type UniversalHuddlesPageProps, type UniversalMember, type UniversalMember2$1 as UniversalMember2, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalProfilePage, type UniversalProfilePageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, type UniversalReferralItem, UniversalReferralPage, type UniversalReferralPageProps, UniversalRewardPage, type UniversalRewardPageProps, UniversalSecurityPage, type UniversalSecurityPageProps, UniversalSettings, type UniversalSettingsProps, UniversalSidebar, type UniversalSidebarProps, type UniversalTransaction, UniversalTransactionPage, type UniversalTransactionPageProps, UniversalVerificationPage, type UniversalVerificationPageProps, type UniversalWallet, UniversalWalletPage, type UniversalWalletPageProps, type VerificationStatus, WaitlistDialog, type WaitlistDialogProps };
1190
+ export { AppBento2, type AppBento2Props, type BannerProps, type BarIconProps, type BentoFeature, type BoardMember, type CardData, CardInfoDialog, type CardInfoDialogProps, type CompanyDetails, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type CryptoOption, type DocumentSectionData, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, type FiatCurrencyOption, Footer, type FooterColumn, type FooterLink, type FooterProps, FundCardDialog, type FundCardDialogProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, type HomeActionBtn, type HomeActionBtn2, type LeaderboardItem, 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, type NavItem, type NetworkOption, type NotificationItem, type NotificationItem2, NumberInput, type NumberInputProps, PageSpinner, type PageSpinnerProps, PinDialerBottomSheet, type PinDialerBottomSheetProps, PipleAuth, type PipleAuthProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingFeature2, type PricingPlan, type PricingTab, type ProjectItem, type RateCalculationPayload, type ReferralProfile, type RewardItem, type RewardProfile, type ScrollFeature, type SocialContact, type SocialLink, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, type TierOption, UniversalBuyCryptoPage, type UniversalBuyCryptoPageProps, UniversalCardActionPage, type UniversalCardActionPageProps, UniversalCardPage, type UniversalCardPageProps, UniversalCreateHuddle, type UniversalCreateHuddleProps, UniversalErrorView, type UniversalErrorViewProps, UniversalHome2, type UniversalHome2Props, UniversalHomeView, type UniversalHomeViewProps, type UniversalHuddle, UniversalHuddleDetails, type UniversalHuddleDetailsProps, UniversalHuddlesPage, type UniversalHuddlesPageProps, type UniversalMember, type UniversalMember2$1 as UniversalMember2, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalProfilePage, type UniversalProfilePageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, type UniversalReferralItem, UniversalReferralPage, type UniversalReferralPageProps, UniversalRewardPage, type UniversalRewardPageProps, UniversalSecurityPage, type UniversalSecurityPageProps, UniversalSettings, type UniversalSettingsProps, UniversalSidebar, type UniversalSidebarProps, type UniversalTransaction, UniversalTransactionPage, type UniversalTransactionPageProps, UniversalVerificationPage, type UniversalVerificationPageProps, type UniversalWallet, UniversalWalletPage, type UniversalWalletPageProps, type VerificationStatus, WaitlistDialog, type WaitlistDialogProps };