@retinalabsllc/zairusjs 1.0.8 → 1.0.9
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 +43 -1
- package/dist/index.d.ts +43 -1
- package/dist/index.js +370 -117
- package/dist/index.mjs +369 -99
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -853,6 +853,48 @@ interface UniversalDirectoryPageProps {
|
|
|
853
853
|
}
|
|
854
854
|
declare const UniversalDirectoryPage: React.FC<UniversalDirectoryPageProps>;
|
|
855
855
|
|
|
856
|
+
type DriveItemType = 'FOLDER' | 'FILE' | 'DOC' | 'SHEET' | 'IMAGE' | 'VIDEO' | 'AUDIO' | 'PDF' | 'TXT' | 'CODE' | 'ARCHIVE';
|
|
857
|
+
interface FileIconMapperProps {
|
|
858
|
+
type: DriveItemType | string;
|
|
859
|
+
mimeType?: string;
|
|
860
|
+
}
|
|
861
|
+
declare const FileIconMapper: React.FC<FileIconMapperProps>;
|
|
862
|
+
|
|
863
|
+
interface DriveItem {
|
|
864
|
+
id: string;
|
|
865
|
+
name: string;
|
|
866
|
+
type: DriveItemType | string;
|
|
867
|
+
mimeType?: string;
|
|
868
|
+
size: number | bigint;
|
|
869
|
+
parentId: string | null;
|
|
870
|
+
isTrashed: boolean;
|
|
871
|
+
updatedAt: string | Date;
|
|
872
|
+
}
|
|
873
|
+
interface UploadQueueJob {
|
|
874
|
+
id: string;
|
|
875
|
+
name: string;
|
|
876
|
+
progress: number;
|
|
877
|
+
status: 'PENDING' | 'UPLOADING' | 'COMPLETED' | 'FAILED';
|
|
878
|
+
}
|
|
879
|
+
interface UniversalDriveViewProps {
|
|
880
|
+
currentFolderId: string | null;
|
|
881
|
+
folderBreadcrumbs: Array<{
|
|
882
|
+
id: string | null;
|
|
883
|
+
name: string;
|
|
884
|
+
}>;
|
|
885
|
+
items: DriveItem[];
|
|
886
|
+
uploadQueue: UploadQueueJob[];
|
|
887
|
+
isLoading: boolean;
|
|
888
|
+
searchQuery: string;
|
|
889
|
+
onSearchChange: (val: string) => void;
|
|
890
|
+
onNavigateFolder: (folderId: string | null) => void;
|
|
891
|
+
onCreateFolder: (name: string) => Promise<void>;
|
|
892
|
+
onUploadFiles: (files: FileList) => Promise<void>;
|
|
893
|
+
onMoveToTrash: (ids: string[]) => Promise<void>;
|
|
894
|
+
onClearUploadQueue?: () => void;
|
|
895
|
+
}
|
|
896
|
+
declare const UniversalDriveView: React.FC<UniversalDriveViewProps>;
|
|
897
|
+
|
|
856
898
|
interface AiApproveDeclineProps {
|
|
857
899
|
suggestionTitle: string;
|
|
858
900
|
suggestionValue: React.ReactNode;
|
|
@@ -1028,4 +1070,4 @@ interface ContentGridBlockProps {
|
|
|
1028
1070
|
}
|
|
1029
1071
|
declare const ContentGridBlock: React.FC<ContentGridBlockProps>;
|
|
1030
1072
|
|
|
1031
|
-
export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type AppTypeKey, 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 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, type NavItem, NumberInput, type NumberInputProps, type OverviewAlert, type OverviewStat, PageSpinner, type PageSpinnerProps, 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, UniversalBillingPage, type UniversalBillingPageProps, UniversalCheckoutView, type UniversalCheckoutViewProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalDeveloperSettings, type UniversalDeveloperSettingsProps, 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 };
|
|
1073
|
+
export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type AppTypeKey, 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, type DriveItemType, 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, 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, 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 UploadQueueJob, type WorkspaceItem, ZairusAuth, type ZairusAuthProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -853,6 +853,48 @@ interface UniversalDirectoryPageProps {
|
|
|
853
853
|
}
|
|
854
854
|
declare const UniversalDirectoryPage: React.FC<UniversalDirectoryPageProps>;
|
|
855
855
|
|
|
856
|
+
type DriveItemType = 'FOLDER' | 'FILE' | 'DOC' | 'SHEET' | 'IMAGE' | 'VIDEO' | 'AUDIO' | 'PDF' | 'TXT' | 'CODE' | 'ARCHIVE';
|
|
857
|
+
interface FileIconMapperProps {
|
|
858
|
+
type: DriveItemType | string;
|
|
859
|
+
mimeType?: string;
|
|
860
|
+
}
|
|
861
|
+
declare const FileIconMapper: React.FC<FileIconMapperProps>;
|
|
862
|
+
|
|
863
|
+
interface DriveItem {
|
|
864
|
+
id: string;
|
|
865
|
+
name: string;
|
|
866
|
+
type: DriveItemType | string;
|
|
867
|
+
mimeType?: string;
|
|
868
|
+
size: number | bigint;
|
|
869
|
+
parentId: string | null;
|
|
870
|
+
isTrashed: boolean;
|
|
871
|
+
updatedAt: string | Date;
|
|
872
|
+
}
|
|
873
|
+
interface UploadQueueJob {
|
|
874
|
+
id: string;
|
|
875
|
+
name: string;
|
|
876
|
+
progress: number;
|
|
877
|
+
status: 'PENDING' | 'UPLOADING' | 'COMPLETED' | 'FAILED';
|
|
878
|
+
}
|
|
879
|
+
interface UniversalDriveViewProps {
|
|
880
|
+
currentFolderId: string | null;
|
|
881
|
+
folderBreadcrumbs: Array<{
|
|
882
|
+
id: string | null;
|
|
883
|
+
name: string;
|
|
884
|
+
}>;
|
|
885
|
+
items: DriveItem[];
|
|
886
|
+
uploadQueue: UploadQueueJob[];
|
|
887
|
+
isLoading: boolean;
|
|
888
|
+
searchQuery: string;
|
|
889
|
+
onSearchChange: (val: string) => void;
|
|
890
|
+
onNavigateFolder: (folderId: string | null) => void;
|
|
891
|
+
onCreateFolder: (name: string) => Promise<void>;
|
|
892
|
+
onUploadFiles: (files: FileList) => Promise<void>;
|
|
893
|
+
onMoveToTrash: (ids: string[]) => Promise<void>;
|
|
894
|
+
onClearUploadQueue?: () => void;
|
|
895
|
+
}
|
|
896
|
+
declare const UniversalDriveView: React.FC<UniversalDriveViewProps>;
|
|
897
|
+
|
|
856
898
|
interface AiApproveDeclineProps {
|
|
857
899
|
suggestionTitle: string;
|
|
858
900
|
suggestionValue: React.ReactNode;
|
|
@@ -1028,4 +1070,4 @@ interface ContentGridBlockProps {
|
|
|
1028
1070
|
}
|
|
1029
1071
|
declare const ContentGridBlock: React.FC<ContentGridBlockProps>;
|
|
1030
1072
|
|
|
1031
|
-
export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type AppTypeKey, 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 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, type NavItem, NumberInput, type NumberInputProps, type OverviewAlert, type OverviewStat, PageSpinner, type PageSpinnerProps, 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, UniversalBillingPage, type UniversalBillingPageProps, UniversalCheckoutView, type UniversalCheckoutViewProps, UniversalDashboardPage, type UniversalDashboardPageProps, UniversalDeveloperSettings, type UniversalDeveloperSettingsProps, 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 };
|
|
1073
|
+
export { AITranscriptionFeature, type AITranscriptionFeatureProps, type AgentFilePayload, type AgentStat, AiApproveDecline, type AiApproveDeclineProps, AiStageCheck, type AiStageCheckProps, type AiTask, type AiTaskStatus, AppBento2, type AppBento2Props, type AppTypeKey, 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, type DriveItemType, 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, 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, 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 UploadQueueJob, type WorkspaceItem, ZairusAuth, type ZairusAuthProps };
|