@retinalabsllc/zairusjs 4.0.2 → 4.0.3
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 +32 -8
- package/dist/index.d.ts +32 -8
- package/dist/index.js +191 -126
- package/dist/index.mjs +185 -114
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -860,7 +860,7 @@ interface FileIconMapperProps {
|
|
|
860
860
|
}
|
|
861
861
|
declare const FileIconMapper: React.FC<FileIconMapperProps>;
|
|
862
862
|
|
|
863
|
-
interface DriveItem {
|
|
863
|
+
interface DriveItem$1 {
|
|
864
864
|
id: string;
|
|
865
865
|
name: string;
|
|
866
866
|
type: DriveItemType | string;
|
|
@@ -881,7 +881,7 @@ interface UniversalDriveViewProps {
|
|
|
881
881
|
id: string | null;
|
|
882
882
|
name: string;
|
|
883
883
|
}>;
|
|
884
|
-
items: DriveItem[];
|
|
884
|
+
items: DriveItem$1[];
|
|
885
885
|
uploadQueue: UploadQueueJob[];
|
|
886
886
|
isLoading: boolean;
|
|
887
887
|
searchQuery: string;
|
|
@@ -898,23 +898,47 @@ interface UniversalDriveViewProps {
|
|
|
898
898
|
onPageChange: (page: number) => void;
|
|
899
899
|
onRefresh: () => void;
|
|
900
900
|
onFetchFoldersForExplorer: (folderId: string | null) => Promise<{
|
|
901
|
-
folders: DriveItem[];
|
|
901
|
+
folders: DriveItem$1[];
|
|
902
902
|
breadcrumbs: any[];
|
|
903
903
|
}>;
|
|
904
904
|
onExecuteMoveCopy: (action: 'copy' | 'move', targetFolderId: string | null, itemIds: string[]) => Promise<void>;
|
|
905
|
-
onOpenFile: (item: DriveItem) => void;
|
|
906
|
-
onShareItems: (items: DriveItem[]) => void;
|
|
905
|
+
onOpenFile: (item: DriveItem$1) => void;
|
|
906
|
+
onShareItems: (items: DriveItem$1[]) => void;
|
|
907
907
|
}
|
|
908
908
|
declare const UniversalDriveView: React.FC<UniversalDriveViewProps>;
|
|
909
909
|
|
|
910
|
+
interface DriveItem {
|
|
911
|
+
id: string;
|
|
912
|
+
name: string;
|
|
913
|
+
type: DriveItemType | string;
|
|
914
|
+
mimeType?: string;
|
|
915
|
+
size: number | bigint;
|
|
916
|
+
parentId: string | null;
|
|
917
|
+
updatedAt: string | Date;
|
|
918
|
+
}
|
|
919
|
+
interface UniversalTrashViewProps {
|
|
920
|
+
items: DriveItem[];
|
|
921
|
+
isLoading: boolean;
|
|
922
|
+
searchQuery: string;
|
|
923
|
+
currentPage: number;
|
|
924
|
+
totalPages: number;
|
|
925
|
+
onSearchChange: (val: string) => void;
|
|
926
|
+
onRestoreItems: (ids: string[]) => Promise<void>;
|
|
927
|
+
onDeletePermanently: (ids: string[]) => Promise<void>;
|
|
928
|
+
onEmptyTrash: () => Promise<void>;
|
|
929
|
+
onPageChange: (page: number) => void;
|
|
930
|
+
onRefresh: () => void;
|
|
931
|
+
}
|
|
932
|
+
declare const UniversalTrashView: React.FC<UniversalTrashViewProps>;
|
|
933
|
+
|
|
910
934
|
interface DriveItemOpenerProps {
|
|
911
|
-
item: DriveItem | null;
|
|
935
|
+
item: DriveItem$1 | null;
|
|
912
936
|
onClose: () => void;
|
|
913
937
|
}
|
|
914
938
|
declare const DriveItemOpener: React.FC<DriveItemOpenerProps>;
|
|
915
939
|
|
|
916
940
|
interface DriveShareModalProps {
|
|
917
|
-
items: DriveItem[] | null;
|
|
941
|
+
items: DriveItem$1[] | null;
|
|
918
942
|
onClose: () => void;
|
|
919
943
|
}
|
|
920
944
|
declare const DriveShareModal: React.FC<DriveShareModalProps>;
|
|
@@ -1094,4 +1118,4 @@ interface ContentGridBlockProps {
|
|
|
1094
1118
|
}
|
|
1095
1119
|
declare const ContentGridBlock: React.FC<ContentGridBlockProps>;
|
|
1096
1120
|
|
|
1097
|
-
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, 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, 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 };
|
|
1121
|
+
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$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, 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, UniversalTrashView, type UniversalTrashViewProps, type UploadQueueJob, type WorkspaceItem, ZairusAuth, type ZairusAuthProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -860,7 +860,7 @@ interface FileIconMapperProps {
|
|
|
860
860
|
}
|
|
861
861
|
declare const FileIconMapper: React.FC<FileIconMapperProps>;
|
|
862
862
|
|
|
863
|
-
interface DriveItem {
|
|
863
|
+
interface DriveItem$1 {
|
|
864
864
|
id: string;
|
|
865
865
|
name: string;
|
|
866
866
|
type: DriveItemType | string;
|
|
@@ -881,7 +881,7 @@ interface UniversalDriveViewProps {
|
|
|
881
881
|
id: string | null;
|
|
882
882
|
name: string;
|
|
883
883
|
}>;
|
|
884
|
-
items: DriveItem[];
|
|
884
|
+
items: DriveItem$1[];
|
|
885
885
|
uploadQueue: UploadQueueJob[];
|
|
886
886
|
isLoading: boolean;
|
|
887
887
|
searchQuery: string;
|
|
@@ -898,23 +898,47 @@ interface UniversalDriveViewProps {
|
|
|
898
898
|
onPageChange: (page: number) => void;
|
|
899
899
|
onRefresh: () => void;
|
|
900
900
|
onFetchFoldersForExplorer: (folderId: string | null) => Promise<{
|
|
901
|
-
folders: DriveItem[];
|
|
901
|
+
folders: DriveItem$1[];
|
|
902
902
|
breadcrumbs: any[];
|
|
903
903
|
}>;
|
|
904
904
|
onExecuteMoveCopy: (action: 'copy' | 'move', targetFolderId: string | null, itemIds: string[]) => Promise<void>;
|
|
905
|
-
onOpenFile: (item: DriveItem) => void;
|
|
906
|
-
onShareItems: (items: DriveItem[]) => void;
|
|
905
|
+
onOpenFile: (item: DriveItem$1) => void;
|
|
906
|
+
onShareItems: (items: DriveItem$1[]) => void;
|
|
907
907
|
}
|
|
908
908
|
declare const UniversalDriveView: React.FC<UniversalDriveViewProps>;
|
|
909
909
|
|
|
910
|
+
interface DriveItem {
|
|
911
|
+
id: string;
|
|
912
|
+
name: string;
|
|
913
|
+
type: DriveItemType | string;
|
|
914
|
+
mimeType?: string;
|
|
915
|
+
size: number | bigint;
|
|
916
|
+
parentId: string | null;
|
|
917
|
+
updatedAt: string | Date;
|
|
918
|
+
}
|
|
919
|
+
interface UniversalTrashViewProps {
|
|
920
|
+
items: DriveItem[];
|
|
921
|
+
isLoading: boolean;
|
|
922
|
+
searchQuery: string;
|
|
923
|
+
currentPage: number;
|
|
924
|
+
totalPages: number;
|
|
925
|
+
onSearchChange: (val: string) => void;
|
|
926
|
+
onRestoreItems: (ids: string[]) => Promise<void>;
|
|
927
|
+
onDeletePermanently: (ids: string[]) => Promise<void>;
|
|
928
|
+
onEmptyTrash: () => Promise<void>;
|
|
929
|
+
onPageChange: (page: number) => void;
|
|
930
|
+
onRefresh: () => void;
|
|
931
|
+
}
|
|
932
|
+
declare const UniversalTrashView: React.FC<UniversalTrashViewProps>;
|
|
933
|
+
|
|
910
934
|
interface DriveItemOpenerProps {
|
|
911
|
-
item: DriveItem | null;
|
|
935
|
+
item: DriveItem$1 | null;
|
|
912
936
|
onClose: () => void;
|
|
913
937
|
}
|
|
914
938
|
declare const DriveItemOpener: React.FC<DriveItemOpenerProps>;
|
|
915
939
|
|
|
916
940
|
interface DriveShareModalProps {
|
|
917
|
-
items: DriveItem[] | null;
|
|
941
|
+
items: DriveItem$1[] | null;
|
|
918
942
|
onClose: () => void;
|
|
919
943
|
}
|
|
920
944
|
declare const DriveShareModal: React.FC<DriveShareModalProps>;
|
|
@@ -1094,4 +1118,4 @@ interface ContentGridBlockProps {
|
|
|
1094
1118
|
}
|
|
1095
1119
|
declare const ContentGridBlock: React.FC<ContentGridBlockProps>;
|
|
1096
1120
|
|
|
1097
|
-
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, 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, 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 };
|
|
1121
|
+
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$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, 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, UniversalTrashView, type UniversalTrashViewProps, type UploadQueueJob, type WorkspaceItem, ZairusAuth, type ZairusAuthProps };
|