@seliseblocks/genesis-os 4.3.9 → 4.4.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/{chunk-BQLKADRZ.js → chunk-5WYC4OLV.js} +241 -63
- package/dist/chunk-5WYC4OLV.js.map +1 -0
- package/dist/{chunk-GACXFCNQ.cjs → chunk-GFGUKRBD.cjs} +324 -146
- package/dist/chunk-GFGUKRBD.cjs.map +1 -0
- package/dist/{chunk-QN6HLQ67.cjs → chunk-HBVSAOTQ.cjs} +53 -38
- package/dist/chunk-HBVSAOTQ.cjs.map +1 -0
- package/dist/{chunk-LNQUCEQU.js → chunk-SAY5K2GJ.js} +25 -11
- package/dist/chunk-SAY5K2GJ.js.map +1 -0
- package/dist/{chunk-46ZGVJEX.js → chunk-SG6FH72W.js} +69 -5
- package/dist/chunk-SG6FH72W.js.map +1 -0
- package/dist/{chunk-4QKE3WAW.cjs → chunk-VAWEXEJZ.cjs} +73 -4
- package/dist/chunk-VAWEXEJZ.cjs.map +1 -0
- package/dist/components/index.cjs +342 -342
- package/dist/components/index.js +3 -3
- package/dist/guards/index.cjs +9 -9
- package/dist/guards/index.js +3 -3
- package/dist/hooks/index.cjs +58 -54
- package/dist/hooks/index.d.cts +12 -1
- package/dist/hooks/index.d.ts +12 -1
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +452 -428
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/layouts/index.cjs +10 -10
- package/dist/layouts/index.js +3 -3
- package/dist/lib/index.cjs +37 -17
- package/dist/lib/index.d.cts +44 -3
- package/dist/lib/index.d.ts +44 -3
- package/dist/lib/index.js +1 -1
- package/dist/pages/index.cjs +8 -8
- package/dist/pages/index.js +3 -3
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-46ZGVJEX.js.map +0 -1
- package/dist/chunk-4QKE3WAW.cjs.map +0 -1
- package/dist/chunk-BQLKADRZ.js.map +0 -1
- package/dist/chunk-GACXFCNQ.cjs.map +0 -1
- package/dist/chunk-LNQUCEQU.js.map +0 -1
- package/dist/chunk-QN6HLQ67.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -5,14 +5,14 @@ export { B as BlocksAppLayout } from './blocks-app-layout.provider-CIxfHM6W.cjs'
|
|
|
5
5
|
export { AppSettings, DetachedReason, ProjectStoreState, useAppSettingsStore, useAuthStore, useImpersonateStore, useLanguageViewStore, useLayoutSettingsStore, useProjectStore, useUserStore } from './store/index.cjs';
|
|
6
6
|
export { A as AppConfig, a as AppConfigStoreState, C as CreateAppConfigStore, S as ServiceName } from './app-config.store-PZM7lSZN.cjs';
|
|
7
7
|
export { CallbackPage, ConsolePage, ConsolePageProps, DashboardOverview, LoginPage, ProfilePage } from './pages/index.cjs';
|
|
8
|
-
export { CookieStorage, CookieStorageOptions, HttpClient, TAB_ID, TenantClaim, claimTenant, cn, fadeInScale, fadeInUp, fadeTransition, iamClient, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToTenantClaims } from './lib/index.cjs';
|
|
8
|
+
export { CookieStorage, CookieStorageOptions, HttpClient, OWNER_PROBE_TIMEOUT_MS, TAB_ID, TenantClaim, claimTenant, clearTenantClaims, cn, fadeInScale, fadeInUp, fadeTransition, holdTenant, iamClient, isSameClaim, isTenantHeldElsewhere, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToTenantClaims } from './lib/index.cjs';
|
|
9
9
|
export { H as HeadersInitValue, a as HttpClientConfig, b as HttpClientOptions, c as HttpError, d as HttpRequestFailure, R as RequestBody, e as RequestOptions, f as RequestQueueItem } from './types-CxmwyESB.cjs';
|
|
10
10
|
export { R as RuntimeEnvWindow, c as createRuntimeEnvGetter, g as getRuntimeEnv } from './runtime-env-BDeaC4ay.cjs';
|
|
11
11
|
export { T as Theme, a as applyTheme, g as getSystemTheme } from './theme-DzB2eLPh.cjs';
|
|
12
12
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppLoadingSpinner, AppSwitcher, ArchiveProject, AspectRatio, Avatar, AvatarFallback, AvatarImage, BackToConsoleNavigator, Badge, BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonProps, Calendar, CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmationModal, ConsoleHeader, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyToClipboardButton, CopyToClipboardButtonProps, CopyableSnippet, DEFAULT_KANBAN_COLUMNS, DashboardHeader, DashboardSectionCard, DashboardSectionCardProps, DataTable, DataTableHeaderCell, DateRangePicker, DateRangePickerProps, DesktopMenuItem, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditProject, EditProjectDialog, EditProjectForm, EditProjectFormSchema, EnvironmentCard, EnvironmentList, ErrorBoundary, ErrorDisplay, ErrorDisplayWithCard, FileInput, FileUploader, FileUploaderContent, FileUploaderItem, FilterChangeHandler, FilterControls, FilterToolBarMobileView, FilterToolbar, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, ImportFileModalContent, ImportFileModalContentProps, ImportFileModalDropzoneOptions, InfiniteScroll, InfiniteScroller, InfiniteScrollerProps, InfoTooltip, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, KanbanBoard, KanbanBoardColumn, KanbanBoardContainer, KanbanColumn, KanbanColumnDragData, KanbanColumnId, KanbanTask, KanbanTaskCard, KanbanTaskDragData, Label, LanguageSelector, LoadingButton, Logo, MaskedText, MaskedTextProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MobileMenuItem, MultiSelect, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Notification, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationValue, PasswordInput, PasswordInputProps, Popover, PopoverContent, PopoverTrigger, Progress, ProjectActions, ProjectCardLoadingSkeleton, ProjectDetail, ProjectList, ProjectListRowLoadingSkeleton, ProjectOverview, ProjectRepoList, RadioGroup, RadioGroupItem, RenderAlternatively, RenderConditionally, ResizableHandle, ResizablePanel, ResizablePanelGroup, RightSidePanel, RightSidePanelBody, RightSidePanelClose, RightSidePanelDescription, RightSidePanelFooter, RightSidePanelHeader, RightSidePanelProps, RightSidePanelProvider, RightSidePanelProviderProps, RightSidePanelTitle, RightSidePanelTrigger, RightSidePanelTriggerPosition, RightSidePanelTriggerProps, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectedEnvironment, SelectedProject, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarCollapsedTooltip, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuDesktop, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarMobileView, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, SpinnerProps, StepStatus, Stepper, StepperProps, StepperStep, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableLoadingSkeleton, TablePagination, TablePaginationProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeSwitcher, ThemeSwitcherProps, Timeline, TimelineEventBase, TimelineProps, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserDropdownMenu, WizardHorizontalTrackBar, WizardStepContent, WizardStepContentProps, WizardStepIndicator, WizardStepViewport, WizardStepViewportProps, WizardStepperContextType, WizardStepperProvider, WizardStepperProviderProps, WizardSteps, WizardVerticalTrackBar, badgeVariants, buttonVariants, editProjectFormDefaultValues, editProjectFormSchema, filteredAppSwitcherData, hasDraggableData, kanbanKeyboardCoordinateGetter, navigationMenuTriggerStyle, paginationQueryParsers, sidebarCollapsedTooltipClass, sortQueryParsers, spinnerVariants, toggleVariants, useFileUpload, useFormField, useNotificationSocket, usePaginationQueryParams, useRightSidePanel, useSortQueryParams, useWizardStepper } from './components/index.cjs';
|
|
13
13
|
export { R as RedirectPaths, S as SideBarMenuProps } from './types-CHB8UQaS.cjs';
|
|
14
14
|
export { D as DataTableProps, a as DataTableSortProps, P as PaginationConfig, S as SortValue } from './data-table.types-Cli8j-6m.cjs';
|
|
15
|
-
export { BlocksQueryKey, ColumnFuseFilterConfig, CopyOptions, FuseSearchOptions, FuseSearchResult, LanguageStorage, PathSegment, QueryClientKitFetchOptions, QueryClientKitFilters, QueryClientKitInvalidateFilters, QueryClientKitRefetchFilters, QueryKeyBuilder, QueryKeyFactory, QueryKeyPart, QueryKeyPrimitive, QueryKeyRecord, QueryPatch, QueryPatchUpdater, QueryStatesKitBehavior, QueryStatesKitOptions, QueryStatesKitSchema, QueryUpdateOptions, UseCountdownOptions, UseLanguageOptions, UseLoginResult, UseMediaQueryOptions, UsePathSegmentsOptions, UseQueryClientKitReturn, UseQueryStatesKitReturn, UseSignUpAffordanceResult, UseSignUpRedirectResult, applyColumnFuseFilters, createFuseSearcher, createQueryKeyFactory, defaultFuseSearchOptions, defaultPathSegmentFormatter, fuseFilter, fuseSearch, fuseSearchWithIndex, getPathSegments, reducer, toast, useBlocksAppConfigStore, useBoolean, useCopyToClipboard, useCountDown, useDebounce, useDebouncedFuseFilter, useDisableProject, useFilteredMenus, useFuseIndex, useFuseSearch, useGetAllServices, useGetBlocksNotificationConfig, useGetEnvRepositories, useGetMyOrganizations, useGetNotifications, useGetProject, useGetProjects, useIcon, useImpersonationStatusChecker, useInitiateRedirect, useIsActiveMenu, useIsMobile, useLanguage, useLanguageSwitcher, useLogin, useLogo, useLogout, useMarkAllAsRead, useMarkAsRead, useMediaQuery, usePathSegments, usePopoverWidth, usePrefetchRedirect, useQueryClientKit, useQueryStatesKit, useScopedPath, useSignUpAffordance, useSignUpRedirect, useStartImpersonation, useStopImpersonation, useTheme, useToast, useUpdateProject, useUpdateRepositories, useUpdateTenantGroup, useValidateCNameProject } from './hooks/index.cjs';
|
|
15
|
+
export { BlocksQueryKey, ColumnFuseFilterConfig, CopyOptions, FuseSearchOptions, FuseSearchResult, LanguageStorage, PathSegment, QueryClientKitFetchOptions, QueryClientKitFilters, QueryClientKitInvalidateFilters, QueryClientKitRefetchFilters, QueryKeyBuilder, QueryKeyFactory, QueryKeyPart, QueryKeyPrimitive, QueryKeyRecord, QueryPatch, QueryPatchUpdater, QueryStatesKitBehavior, QueryStatesKitOptions, QueryStatesKitSchema, QueryUpdateOptions, UseCountdownOptions, UseLanguageOptions, UseLoginResult, UseMediaQueryOptions, UsePathSegmentsOptions, UseQueryClientKitReturn, UseQueryStatesKitReturn, UseSignUpAffordanceResult, UseSignUpRedirectResult, applyColumnFuseFilters, createFuseSearcher, createQueryKeyFactory, defaultFuseSearchOptions, defaultPathSegmentFormatter, fuseFilter, fuseSearch, fuseSearchWithIndex, getPathSegments, reducer, toast, useBlocksAppConfigStore, useBoolean, useCopyToClipboard, useCountDown, useDebounce, useDebouncedFuseFilter, useDisableProject, useFilteredMenus, useFuseIndex, useFuseSearch, useGetAllServices, useGetBlocksNotificationConfig, useGetEnvRepositories, useGetMyOrganizations, useGetNotifications, useGetProject, useGetProjects, useIcon, useImpersonationStatusChecker, useInitiateRedirect, useIsActiveMenu, useIsMobile, useLanguage, useLanguageSwitcher, useLogin, useLogo, useLogout, useMarkAllAsRead, useMarkAsRead, useMediaQuery, usePathSegments, usePopoverWidth, usePrefetchRedirect, useQueryClientKit, useQueryStatesKit, useRecordClaimedTenant, useScopedPath, useSignUpAffordance, useSignUpRedirect, useStartImpersonation, useStopImpersonation, useTheme, useToast, useUpdateProject, useUpdateRepositories, useUpdateTenantGroup, useValidateCNameProject } from './hooks/index.cjs';
|
|
16
16
|
export { K as KeyboardShortcutCombo, u as useKeyboardShortcut } from './use-keyboard-shortcut-C491xr01.cjs';
|
|
17
17
|
export { CookieSameSite, CookieStore, CookieStoreOptions, ErrorTransformer, FileSizeUnit, PartialOnly, SERVICE_BASE_URL_KEY, boolean, clearQueryString, compareDates, createCookieStore, createEventEmitter, createSchema, createStorage, debounce, deepClone, deepEqual, deepMerge, domainRegex, formatBytes, formatCurrency, formatDate, formatDuration, formatFileSize, formatFullDate, formatNumber, formatSeconds, generateId, getDomain, getErrorMessage, getForwardedToPath, getProjectBlocksApiUrl, getServiceBaseUrl, getServiceSwaggerUrl, getSubdomain, getUniqueID, groupBy, handleErrorMessages, hasErrorCode, isBoolean, isCreditCard, isEmail, isErrorWithErrors, isNullish, isNumber, isObject, isPhone, isPlainObject, isPostalCode, isPromise, isString, isUrl, isUuid, isValidDate, isValidDomain, isValidSubdomain, memoize, number, omit, parseDateString, parseMongoDBString, parseQueryString, pick, resetQueryString, showErrorToast, showInfoToast, showSuccessToast, sleep, string, stringifyQueryString, subdomainRegex, throttle, uniqueBy } from './utils/index.cjs';
|
|
18
18
|
export { I as IDisableProjectPayload, a as IDisableProjectResponse, b as IDomain, c as IEnvRepository, d as IGetProjectResponse, e as IProject, f as IProjectGroup, g as IUpdateProjectPayload, h as IUpdateProjectResponse, i as IUpdateTenantGroupPayload, j as IValidateCnameProjectPayload, k as IValidateCnameProjectResponse } from './project.model-t81qyojM.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -5,14 +5,14 @@ export { B as BlocksAppLayout } from './blocks-app-layout.provider-CaAVR6ae.js';
|
|
|
5
5
|
export { AppSettings, DetachedReason, ProjectStoreState, useAppSettingsStore, useAuthStore, useImpersonateStore, useLanguageViewStore, useLayoutSettingsStore, useProjectStore, useUserStore } from './store/index.js';
|
|
6
6
|
export { A as AppConfig, a as AppConfigStoreState, C as CreateAppConfigStore, S as ServiceName } from './app-config.store-PZM7lSZN.js';
|
|
7
7
|
export { CallbackPage, ConsolePage, ConsolePageProps, DashboardOverview, LoginPage, ProfilePage } from './pages/index.js';
|
|
8
|
-
export { CookieStorage, CookieStorageOptions, HttpClient, TAB_ID, TenantClaim, claimTenant, cn, fadeInScale, fadeInUp, fadeTransition, iamClient, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToTenantClaims } from './lib/index.js';
|
|
8
|
+
export { CookieStorage, CookieStorageOptions, HttpClient, OWNER_PROBE_TIMEOUT_MS, TAB_ID, TenantClaim, claimTenant, clearTenantClaims, cn, fadeInScale, fadeInUp, fadeTransition, holdTenant, iamClient, isSameClaim, isTenantHeldElsewhere, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToTenantClaims } from './lib/index.js';
|
|
9
9
|
export { H as HeadersInitValue, a as HttpClientConfig, b as HttpClientOptions, c as HttpError, d as HttpRequestFailure, R as RequestBody, e as RequestOptions, f as RequestQueueItem } from './types-R-boAdbM.js';
|
|
10
10
|
export { R as RuntimeEnvWindow, c as createRuntimeEnvGetter, g as getRuntimeEnv } from './runtime-env-S2YD-RGu.js';
|
|
11
11
|
export { T as Theme, a as applyTheme, g as getSystemTheme } from './theme-DzB2eLPh.js';
|
|
12
12
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppLoadingSpinner, AppSwitcher, ArchiveProject, AspectRatio, Avatar, AvatarFallback, AvatarImage, BackToConsoleNavigator, Badge, BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonProps, Calendar, CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmationModal, ConsoleHeader, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyToClipboardButton, CopyToClipboardButtonProps, CopyableSnippet, DEFAULT_KANBAN_COLUMNS, DashboardHeader, DashboardSectionCard, DashboardSectionCardProps, DataTable, DataTableHeaderCell, DateRangePicker, DateRangePickerProps, DesktopMenuItem, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditProject, EditProjectDialog, EditProjectForm, EditProjectFormSchema, EnvironmentCard, EnvironmentList, ErrorBoundary, ErrorDisplay, ErrorDisplayWithCard, FileInput, FileUploader, FileUploaderContent, FileUploaderItem, FilterChangeHandler, FilterControls, FilterToolBarMobileView, FilterToolbar, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, ImportFileModalContent, ImportFileModalContentProps, ImportFileModalDropzoneOptions, InfiniteScroll, InfiniteScroller, InfiniteScrollerProps, InfoTooltip, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, KanbanBoard, KanbanBoardColumn, KanbanBoardContainer, KanbanColumn, KanbanColumnDragData, KanbanColumnId, KanbanTask, KanbanTaskCard, KanbanTaskDragData, Label, LanguageSelector, LoadingButton, Logo, MaskedText, MaskedTextProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MobileMenuItem, MultiSelect, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Notification, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationValue, PasswordInput, PasswordInputProps, Popover, PopoverContent, PopoverTrigger, Progress, ProjectActions, ProjectCardLoadingSkeleton, ProjectDetail, ProjectList, ProjectListRowLoadingSkeleton, ProjectOverview, ProjectRepoList, RadioGroup, RadioGroupItem, RenderAlternatively, RenderConditionally, ResizableHandle, ResizablePanel, ResizablePanelGroup, RightSidePanel, RightSidePanelBody, RightSidePanelClose, RightSidePanelDescription, RightSidePanelFooter, RightSidePanelHeader, RightSidePanelProps, RightSidePanelProvider, RightSidePanelProviderProps, RightSidePanelTitle, RightSidePanelTrigger, RightSidePanelTriggerPosition, RightSidePanelTriggerProps, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectedEnvironment, SelectedProject, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarCollapsedTooltip, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuDesktop, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarMobileView, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, SpinnerProps, StepStatus, Stepper, StepperProps, StepperStep, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableLoadingSkeleton, TablePagination, TablePaginationProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeSwitcher, ThemeSwitcherProps, Timeline, TimelineEventBase, TimelineProps, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserDropdownMenu, WizardHorizontalTrackBar, WizardStepContent, WizardStepContentProps, WizardStepIndicator, WizardStepViewport, WizardStepViewportProps, WizardStepperContextType, WizardStepperProvider, WizardStepperProviderProps, WizardSteps, WizardVerticalTrackBar, badgeVariants, buttonVariants, editProjectFormDefaultValues, editProjectFormSchema, filteredAppSwitcherData, hasDraggableData, kanbanKeyboardCoordinateGetter, navigationMenuTriggerStyle, paginationQueryParsers, sidebarCollapsedTooltipClass, sortQueryParsers, spinnerVariants, toggleVariants, useFileUpload, useFormField, useNotificationSocket, usePaginationQueryParams, useRightSidePanel, useSortQueryParams, useWizardStepper } from './components/index.js';
|
|
13
13
|
export { R as RedirectPaths, S as SideBarMenuProps } from './types-CEYlvk68.js';
|
|
14
14
|
export { D as DataTableProps, a as DataTableSortProps, P as PaginationConfig, S as SortValue } from './data-table.types-Cli8j-6m.js';
|
|
15
|
-
export { BlocksQueryKey, ColumnFuseFilterConfig, CopyOptions, FuseSearchOptions, FuseSearchResult, LanguageStorage, PathSegment, QueryClientKitFetchOptions, QueryClientKitFilters, QueryClientKitInvalidateFilters, QueryClientKitRefetchFilters, QueryKeyBuilder, QueryKeyFactory, QueryKeyPart, QueryKeyPrimitive, QueryKeyRecord, QueryPatch, QueryPatchUpdater, QueryStatesKitBehavior, QueryStatesKitOptions, QueryStatesKitSchema, QueryUpdateOptions, UseCountdownOptions, UseLanguageOptions, UseLoginResult, UseMediaQueryOptions, UsePathSegmentsOptions, UseQueryClientKitReturn, UseQueryStatesKitReturn, UseSignUpAffordanceResult, UseSignUpRedirectResult, applyColumnFuseFilters, createFuseSearcher, createQueryKeyFactory, defaultFuseSearchOptions, defaultPathSegmentFormatter, fuseFilter, fuseSearch, fuseSearchWithIndex, getPathSegments, reducer, toast, useBlocksAppConfigStore, useBoolean, useCopyToClipboard, useCountDown, useDebounce, useDebouncedFuseFilter, useDisableProject, useFilteredMenus, useFuseIndex, useFuseSearch, useGetAllServices, useGetBlocksNotificationConfig, useGetEnvRepositories, useGetMyOrganizations, useGetNotifications, useGetProject, useGetProjects, useIcon, useImpersonationStatusChecker, useInitiateRedirect, useIsActiveMenu, useIsMobile, useLanguage, useLanguageSwitcher, useLogin, useLogo, useLogout, useMarkAllAsRead, useMarkAsRead, useMediaQuery, usePathSegments, usePopoverWidth, usePrefetchRedirect, useQueryClientKit, useQueryStatesKit, useScopedPath, useSignUpAffordance, useSignUpRedirect, useStartImpersonation, useStopImpersonation, useTheme, useToast, useUpdateProject, useUpdateRepositories, useUpdateTenantGroup, useValidateCNameProject } from './hooks/index.js';
|
|
15
|
+
export { BlocksQueryKey, ColumnFuseFilterConfig, CopyOptions, FuseSearchOptions, FuseSearchResult, LanguageStorage, PathSegment, QueryClientKitFetchOptions, QueryClientKitFilters, QueryClientKitInvalidateFilters, QueryClientKitRefetchFilters, QueryKeyBuilder, QueryKeyFactory, QueryKeyPart, QueryKeyPrimitive, QueryKeyRecord, QueryPatch, QueryPatchUpdater, QueryStatesKitBehavior, QueryStatesKitOptions, QueryStatesKitSchema, QueryUpdateOptions, UseCountdownOptions, UseLanguageOptions, UseLoginResult, UseMediaQueryOptions, UsePathSegmentsOptions, UseQueryClientKitReturn, UseQueryStatesKitReturn, UseSignUpAffordanceResult, UseSignUpRedirectResult, applyColumnFuseFilters, createFuseSearcher, createQueryKeyFactory, defaultFuseSearchOptions, defaultPathSegmentFormatter, fuseFilter, fuseSearch, fuseSearchWithIndex, getPathSegments, reducer, toast, useBlocksAppConfigStore, useBoolean, useCopyToClipboard, useCountDown, useDebounce, useDebouncedFuseFilter, useDisableProject, useFilteredMenus, useFuseIndex, useFuseSearch, useGetAllServices, useGetBlocksNotificationConfig, useGetEnvRepositories, useGetMyOrganizations, useGetNotifications, useGetProject, useGetProjects, useIcon, useImpersonationStatusChecker, useInitiateRedirect, useIsActiveMenu, useIsMobile, useLanguage, useLanguageSwitcher, useLogin, useLogo, useLogout, useMarkAllAsRead, useMarkAsRead, useMediaQuery, usePathSegments, usePopoverWidth, usePrefetchRedirect, useQueryClientKit, useQueryStatesKit, useRecordClaimedTenant, useScopedPath, useSignUpAffordance, useSignUpRedirect, useStartImpersonation, useStopImpersonation, useTheme, useToast, useUpdateProject, useUpdateRepositories, useUpdateTenantGroup, useValidateCNameProject } from './hooks/index.js';
|
|
16
16
|
export { K as KeyboardShortcutCombo, u as useKeyboardShortcut } from './use-keyboard-shortcut-C491xr01.js';
|
|
17
17
|
export { CookieSameSite, CookieStore, CookieStoreOptions, ErrorTransformer, FileSizeUnit, PartialOnly, SERVICE_BASE_URL_KEY, boolean, clearQueryString, compareDates, createCookieStore, createEventEmitter, createSchema, createStorage, debounce, deepClone, deepEqual, deepMerge, domainRegex, formatBytes, formatCurrency, formatDate, formatDuration, formatFileSize, formatFullDate, formatNumber, formatSeconds, generateId, getDomain, getErrorMessage, getForwardedToPath, getProjectBlocksApiUrl, getServiceBaseUrl, getServiceSwaggerUrl, getSubdomain, getUniqueID, groupBy, handleErrorMessages, hasErrorCode, isBoolean, isCreditCard, isEmail, isErrorWithErrors, isNullish, isNumber, isObject, isPhone, isPlainObject, isPostalCode, isPromise, isString, isUrl, isUuid, isValidDate, isValidDomain, isValidSubdomain, memoize, number, omit, parseDateString, parseMongoDBString, parseQueryString, pick, resetQueryString, showErrorToast, showInfoToast, showSuccessToast, sleep, string, stringifyQueryString, subdomainRegex, throttle, uniqueBy } from './utils/index.js';
|
|
18
18
|
export { I as IDisableProjectPayload, a as IDisableProjectResponse, b as IDomain, c as IEnvRepository, d as IGetProjectResponse, e as IProject, f as IProjectGroup, g as IUpdateProjectPayload, h as IUpdateProjectResponse, i as IUpdateTenantGroupPayload, j as IValidateCnameProjectPayload, k as IValidateCnameProjectResponse } from './project.model-t81qyojM.js';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppLoadingSpinner, AppSwitcher, ArchiveProject, AspectRatio, AuthLayout, AuthResolver, Avatar, AvatarFallback, AvatarImage, BackToConsoleNavigator, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CallbackPage, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmationModal, ConsoleHeader, ConsoleLayout, ConsolePage, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyToClipboardButton, CopyableSnippet, DEFAULT_KANBAN_COLUMNS, DashboardHeader, DashboardLayout, DashboardOverview, DashboardRoute, DashboardSectionCard, DataTable, DataTableHeaderCell, DateRangePicker, DesktopMenuItem, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditProject, EditProjectDialog, EditProjectForm, EnvironmentCard, EnvironmentList, ErrorBoundary, ErrorDisplay, ErrorDisplayWithCard, FileInput, FileUploader, FileUploaderContent, FileUploaderItem, FilterControls, FilterToolBarMobileView, FilterToolbar, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, ImpersonationChecker, ImpersonationSynchronizer, ImpersonationTerminator, ImportFileModalContent, InfiniteScroll, InfiniteScroller, InfoTooltip, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, KanbanBoard, KanbanBoardColumn, KanbanBoardContainer, KanbanTaskCard, Label, LanguageSelector, LoadingButton, LoginPage, Logo, MaskedText, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MobileMenuItem, MultiSelect, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Notification, OidcLayout, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, Popover, PopoverContent, PopoverTrigger, ProfilePage, Progress, ProjectActions, ProjectCardLoadingSkeleton, ProjectDetail, ProjectList, ProjectListRowLoadingSkeleton, ProjectOverview, ProjectRepoList, ProtectedGuard, PublicGuard, PublicLayout, RadioGroup, RadioGroupItem, RenderAlternatively, RenderConditionally, ResizableHandle, ResizablePanel, ResizablePanelGroup, RightSidePanel, RightSidePanelBody, RightSidePanelClose, RightSidePanelDescription, RightSidePanelFooter, RightSidePanelHeader, RightSidePanelProvider, RightSidePanelTitle, RightSidePanelTrigger, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectedEnvironment, SelectedProject, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarCollapsedTooltip, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuDesktop, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarMobileView, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Stepper, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableLoadingSkeleton, TablePagination, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeSwitcher, Timeline, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserDropdownMenu, WizardHorizontalTrackBar, WizardStepContent, WizardStepIndicator, WizardStepViewport, WizardStepperProvider, WizardVerticalTrackBar, badgeVariants, buttonVariants, editProjectFormDefaultValues, editProjectFormSchema, filteredAppSwitcherData, hasDraggableData, kanbanKeyboardCoordinateGetter, navigationMenuTriggerStyle, paginationQueryParsers, sidebarCollapsedTooltipClass, sortQueryParsers, spinnerVariants, toggleVariants, useFileUpload, useFormField, useNotificationSocket, useOidcContext, usePaginationQueryParams, useRightSidePanel, useSortQueryParams, useWizardStepper } from './chunk-
|
|
1
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppLoadingSpinner, AppSwitcher, ArchiveProject, AspectRatio, AuthLayout, AuthResolver, Avatar, AvatarFallback, AvatarImage, BackToConsoleNavigator, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CallbackPage, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmationModal, ConsoleHeader, ConsoleLayout, ConsolePage, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyToClipboardButton, CopyableSnippet, DEFAULT_KANBAN_COLUMNS, DashboardHeader, DashboardLayout, DashboardOverview, DashboardRoute, DashboardSectionCard, DataTable, DataTableHeaderCell, DateRangePicker, DesktopMenuItem, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditProject, EditProjectDialog, EditProjectForm, EnvironmentCard, EnvironmentList, ErrorBoundary, ErrorDisplay, ErrorDisplayWithCard, FileInput, FileUploader, FileUploaderContent, FileUploaderItem, FilterControls, FilterToolBarMobileView, FilterToolbar, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, ImpersonationChecker, ImpersonationSynchronizer, ImpersonationTerminator, ImportFileModalContent, InfiniteScroll, InfiniteScroller, InfoTooltip, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, KanbanBoard, KanbanBoardColumn, KanbanBoardContainer, KanbanTaskCard, Label, LanguageSelector, LoadingButton, LoginPage, Logo, MaskedText, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MobileMenuItem, MultiSelect, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Notification, OidcLayout, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, Popover, PopoverContent, PopoverTrigger, ProfilePage, Progress, ProjectActions, ProjectCardLoadingSkeleton, ProjectDetail, ProjectList, ProjectListRowLoadingSkeleton, ProjectOverview, ProjectRepoList, ProtectedGuard, PublicGuard, PublicLayout, RadioGroup, RadioGroupItem, RenderAlternatively, RenderConditionally, ResizableHandle, ResizablePanel, ResizablePanelGroup, RightSidePanel, RightSidePanelBody, RightSidePanelClose, RightSidePanelDescription, RightSidePanelFooter, RightSidePanelHeader, RightSidePanelProvider, RightSidePanelTitle, RightSidePanelTrigger, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectedEnvironment, SelectedProject, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarCollapsedTooltip, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuDesktop, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarMobileView, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Stepper, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableLoadingSkeleton, TablePagination, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeSwitcher, Timeline, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserDropdownMenu, WizardHorizontalTrackBar, WizardStepContent, WizardStepIndicator, WizardStepViewport, WizardStepperProvider, WizardVerticalTrackBar, badgeVariants, buttonVariants, editProjectFormDefaultValues, editProjectFormSchema, filteredAppSwitcherData, hasDraggableData, kanbanKeyboardCoordinateGetter, navigationMenuTriggerStyle, paginationQueryParsers, sidebarCollapsedTooltipClass, sortQueryParsers, spinnerVariants, toggleVariants, useFileUpload, useFormField, useNotificationSocket, useOidcContext, usePaginationQueryParams, useRightSidePanel, useSortQueryParams, useWizardStepper } from './chunk-5WYC4OLV.js';
|
|
2
2
|
import './chunk-WL6LTNZN.js';
|
|
3
3
|
import './chunk-3PTLRYMI.js';
|
|
4
4
|
import './chunk-RYYFLMEK.js';
|
|
@@ -298,10 +298,10 @@ import './chunk-BUHTHPNT.js';
|
|
|
298
298
|
import './chunk-B3EJZXGM.js';
|
|
299
299
|
import './chunk-AWP77TL7.js';
|
|
300
300
|
import './chunk-A4HVLCC2.js';
|
|
301
|
-
export { applyColumnFuseFilters, createFuseSearcher, createQueryKeyFactory, defaultFuseSearchOptions, defaultPathSegmentFormatter, fuseFilter, fuseSearch, fuseSearchWithIndex, getPathSegments, useBlocksAppConfigStore, useBoolean, useCopyToClipboard, useCountDown, useDebounce, useDebouncedFuseFilter, useDisableProject, useFuseIndex, useFuseSearch, useGetAllServices, useGetBlocksNotificationConfig, useGetEnvRepositories, useGetMyOrganizations, useGetNotifications, useGetProject, useGetProjects, useIcon, useImpersonationStatusChecker, useInitiateRedirect, useKeyboardShortcut, useLanguage, useLanguageSwitcher, useLogin, useLogo, useLogout, useMarkAllAsRead, useMarkAsRead, useMediaQuery, usePathSegments, usePopoverWidth, usePrefetchRedirect, useQueryClientKit, useQueryStatesKit, useScopedPath, useSignUpAffordance, useSignUpRedirect, useStartImpersonation, useStopImpersonation, useTheme, useUpdateProject, useUpdateRepositories, useUpdateTenantGroup, useValidateCNameProject } from './chunk-
|
|
301
|
+
export { applyColumnFuseFilters, createFuseSearcher, createQueryKeyFactory, defaultFuseSearchOptions, defaultPathSegmentFormatter, fuseFilter, fuseSearch, fuseSearchWithIndex, getPathSegments, useBlocksAppConfigStore, useBoolean, useCopyToClipboard, useCountDown, useDebounce, useDebouncedFuseFilter, useDisableProject, useFuseIndex, useFuseSearch, useGetAllServices, useGetBlocksNotificationConfig, useGetEnvRepositories, useGetMyOrganizations, useGetNotifications, useGetProject, useGetProjects, useIcon, useImpersonationStatusChecker, useInitiateRedirect, useKeyboardShortcut, useLanguage, useLanguageSwitcher, useLogin, useLogo, useLogout, useMarkAllAsRead, useMarkAsRead, useMediaQuery, usePathSegments, usePopoverWidth, usePrefetchRedirect, useQueryClientKit, useQueryStatesKit, useRecordClaimedTenant, useScopedPath, useSignUpAffordance, useSignUpRedirect, useStartImpersonation, useStopImpersonation, useTheme, useUpdateProject, useUpdateRepositories, useUpdateTenantGroup, useValidateCNameProject } from './chunk-SAY5K2GJ.js';
|
|
302
302
|
export { ErrorTransformer, SERVICE_BASE_URL_KEY, boolean, clearQueryString, compareDates, createCookieStore, createEventEmitter, createSchema, createStorage, debounce, deepClone, deepEqual, deepMerge, domainRegex, formatBytes, formatCurrency, formatDate, formatDuration, formatFileSize, formatFullDate, formatNumber, formatSeconds, generateId, getDomain, getErrorMessage, getForwardedToPath, getProjectBlocksApiUrl, getServiceBaseUrl, getServiceSwaggerUrl, getSubdomain, getUniqueID, groupBy, handleErrorMessages, hasErrorCode, isBoolean, isCreditCard, isEmail, isErrorWithErrors, isNullish, isNumber, isObject, isPhone, isPlainObject, isPostalCode, isPromise, isString, isUrl, isUuid, isValidDate, isValidDomain, isValidSubdomain, memoize, number, omit, parseDateString, parseMongoDBString, parseQueryString, pick, resetQueryString, showErrorToast, showInfoToast, showSuccessToast, sleep, string, stringifyQueryString, subdomainRegex, throttle, uniqueBy } from './chunk-JSXAKNHQ.js';
|
|
303
303
|
import './chunk-T3FFMBIJ.js';
|
|
304
|
-
export { HttpClient, TAB_ID, claimTenant, fadeInScale, fadeInUp, fadeTransition, iamClient, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToTenantClaims } from './chunk-
|
|
304
|
+
export { HttpClient, OWNER_PROBE_TIMEOUT_MS, TAB_ID, claimTenant, clearTenantClaims, fadeInScale, fadeInUp, fadeTransition, holdTenant, iamClient, isSameClaim, isTenantHeldElsewhere, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToTenantClaims } from './chunk-SG6FH72W.js';
|
|
305
305
|
export { HttpError, createRuntimeEnvGetter, getRuntimeEnv } from './chunk-JUVLHPQI.js';
|
|
306
306
|
export { BlocksAppLayout, DashboardLayoutProvider, QueryProvider, ThemeProvider, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster } from './chunk-XRAO7JBH.js';
|
|
307
307
|
export { useFilteredMenus, useIsActiveMenu, useIsMobile } from './chunk-AHCHUUXM.js';
|
package/dist/layouts/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGFGUKRBD_cjs = require('../chunk-GFGUKRBD.cjs');
|
|
4
4
|
require('../chunk-JQ4U53QV.cjs');
|
|
5
5
|
require('../chunk-APGPL56X.cjs');
|
|
6
6
|
require('../chunk-JQZAKF5A.cjs');
|
|
@@ -300,10 +300,10 @@ require('../chunk-3K44N64A.cjs');
|
|
|
300
300
|
require('../chunk-LABBAWQE.cjs');
|
|
301
301
|
require('../chunk-C736JVLC.cjs');
|
|
302
302
|
require('../chunk-BR6HN47Z.cjs');
|
|
303
|
-
require('../chunk-
|
|
303
|
+
require('../chunk-HBVSAOTQ.cjs');
|
|
304
304
|
require('../chunk-QTSTAWK3.cjs');
|
|
305
305
|
require('../chunk-FQ2QETFA.cjs');
|
|
306
|
-
require('../chunk-
|
|
306
|
+
require('../chunk-VAWEXEJZ.cjs');
|
|
307
307
|
require('../chunk-X4YCRWXO.cjs');
|
|
308
308
|
require('../chunk-IJMKS4XG.cjs');
|
|
309
309
|
require('../chunk-BPJM3L7O.cjs');
|
|
@@ -318,31 +318,31 @@ require('../chunk-QJOVCH5A.cjs');
|
|
|
318
318
|
|
|
319
319
|
Object.defineProperty(exports, "AuthLayout", {
|
|
320
320
|
enumerable: true,
|
|
321
|
-
get: function () { return
|
|
321
|
+
get: function () { return chunkGFGUKRBD_cjs.AuthLayout; }
|
|
322
322
|
});
|
|
323
323
|
Object.defineProperty(exports, "ConsoleLayout", {
|
|
324
324
|
enumerable: true,
|
|
325
|
-
get: function () { return
|
|
325
|
+
get: function () { return chunkGFGUKRBD_cjs.ConsoleLayout; }
|
|
326
326
|
});
|
|
327
327
|
Object.defineProperty(exports, "DashboardLayout", {
|
|
328
328
|
enumerable: true,
|
|
329
|
-
get: function () { return
|
|
329
|
+
get: function () { return chunkGFGUKRBD_cjs.DashboardLayout; }
|
|
330
330
|
});
|
|
331
331
|
Object.defineProperty(exports, "DashboardRoute", {
|
|
332
332
|
enumerable: true,
|
|
333
|
-
get: function () { return
|
|
333
|
+
get: function () { return chunkGFGUKRBD_cjs.DashboardRoute; }
|
|
334
334
|
});
|
|
335
335
|
Object.defineProperty(exports, "OidcLayout", {
|
|
336
336
|
enumerable: true,
|
|
337
|
-
get: function () { return
|
|
337
|
+
get: function () { return chunkGFGUKRBD_cjs.OidcLayout; }
|
|
338
338
|
});
|
|
339
339
|
Object.defineProperty(exports, "PublicLayout", {
|
|
340
340
|
enumerable: true,
|
|
341
|
-
get: function () { return
|
|
341
|
+
get: function () { return chunkGFGUKRBD_cjs.PublicLayout; }
|
|
342
342
|
});
|
|
343
343
|
Object.defineProperty(exports, "useOidcContext", {
|
|
344
344
|
enumerable: true,
|
|
345
|
-
get: function () { return
|
|
345
|
+
get: function () { return chunkGFGUKRBD_cjs.useOidcContext; }
|
|
346
346
|
});
|
|
347
347
|
//# sourceMappingURL=index.cjs.map
|
|
348
348
|
//# sourceMappingURL=index.cjs.map
|
package/dist/layouts/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AuthLayout, ConsoleLayout, DashboardLayout, DashboardRoute, OidcLayout, PublicLayout, useOidcContext } from '../chunk-
|
|
1
|
+
export { AuthLayout, ConsoleLayout, DashboardLayout, DashboardRoute, OidcLayout, PublicLayout, useOidcContext } from '../chunk-5WYC4OLV.js';
|
|
2
2
|
import '../chunk-WL6LTNZN.js';
|
|
3
3
|
import '../chunk-3PTLRYMI.js';
|
|
4
4
|
import '../chunk-RYYFLMEK.js';
|
|
@@ -298,10 +298,10 @@ import '../chunk-BUHTHPNT.js';
|
|
|
298
298
|
import '../chunk-B3EJZXGM.js';
|
|
299
299
|
import '../chunk-AWP77TL7.js';
|
|
300
300
|
import '../chunk-A4HVLCC2.js';
|
|
301
|
-
import '../chunk-
|
|
301
|
+
import '../chunk-SAY5K2GJ.js';
|
|
302
302
|
import '../chunk-JSXAKNHQ.js';
|
|
303
303
|
import '../chunk-T3FFMBIJ.js';
|
|
304
|
-
import '../chunk-
|
|
304
|
+
import '../chunk-SG6FH72W.js';
|
|
305
305
|
import '../chunk-JUVLHPQI.js';
|
|
306
306
|
import '../chunk-XRAO7JBH.js';
|
|
307
307
|
import '../chunk-AHCHUUXM.js';
|
package/dist/lib/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVAWEXEJZ_cjs = require('../chunk-VAWEXEJZ.cjs');
|
|
4
4
|
var chunkX4YCRWXO_cjs = require('../chunk-X4YCRWXO.cjs');
|
|
5
5
|
var chunkYAF2X7W5_cjs = require('../chunk-YAF2X7W5.cjs');
|
|
6
6
|
require('../chunk-F2LXD7RI.cjs');
|
|
@@ -11,67 +11,87 @@ require('../chunk-QJOVCH5A.cjs');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "HttpClient", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkVAWEXEJZ_cjs.HttpClient; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "OWNER_PROBE_TIMEOUT_MS", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkVAWEXEJZ_cjs.OWNER_PROBE_TIMEOUT_MS; }
|
|
15
19
|
});
|
|
16
20
|
Object.defineProperty(exports, "TAB_ID", {
|
|
17
21
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkVAWEXEJZ_cjs.TAB_ID; }
|
|
19
23
|
});
|
|
20
24
|
Object.defineProperty(exports, "claimTenant", {
|
|
21
25
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkVAWEXEJZ_cjs.claimTenant; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "clearTenantClaims", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkVAWEXEJZ_cjs.clearTenantClaims; }
|
|
23
31
|
});
|
|
24
32
|
Object.defineProperty(exports, "fadeInScale", {
|
|
25
33
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkVAWEXEJZ_cjs.fadeInScale; }
|
|
27
35
|
});
|
|
28
36
|
Object.defineProperty(exports, "fadeInUp", {
|
|
29
37
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkVAWEXEJZ_cjs.fadeInUp; }
|
|
31
39
|
});
|
|
32
40
|
Object.defineProperty(exports, "fadeTransition", {
|
|
33
41
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkVAWEXEJZ_cjs.fadeTransition; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "holdTenant", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkVAWEXEJZ_cjs.holdTenant; }
|
|
35
47
|
});
|
|
36
48
|
Object.defineProperty(exports, "iamClient", {
|
|
37
49
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkVAWEXEJZ_cjs.iamClient; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "isSameClaim", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkVAWEXEJZ_cjs.isSameClaim; }
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "isTenantHeldElsewhere", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return chunkVAWEXEJZ_cjs.isTenantHeldElsewhere; }
|
|
39
59
|
});
|
|
40
60
|
Object.defineProperty(exports, "logicClient", {
|
|
41
61
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkVAWEXEJZ_cjs.logicClient; }
|
|
43
63
|
});
|
|
44
64
|
Object.defineProperty(exports, "motionEase", {
|
|
45
65
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkVAWEXEJZ_cjs.motionEase; }
|
|
47
67
|
});
|
|
48
68
|
Object.defineProperty(exports, "notificationClient", {
|
|
49
69
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkVAWEXEJZ_cjs.notificationClient; }
|
|
51
71
|
});
|
|
52
72
|
Object.defineProperty(exports, "readCurrentOwner", {
|
|
53
73
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkVAWEXEJZ_cjs.readCurrentOwner; }
|
|
55
75
|
});
|
|
56
76
|
Object.defineProperty(exports, "resolveBaseUrl", {
|
|
57
77
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkVAWEXEJZ_cjs.resolveBaseUrl; }
|
|
59
79
|
});
|
|
60
80
|
Object.defineProperty(exports, "resolveEnv", {
|
|
61
81
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkVAWEXEJZ_cjs.resolveEnv; }
|
|
63
83
|
});
|
|
64
84
|
Object.defineProperty(exports, "staggerContainer", {
|
|
65
85
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkVAWEXEJZ_cjs.staggerContainer; }
|
|
67
87
|
});
|
|
68
88
|
Object.defineProperty(exports, "staggerItem", {
|
|
69
89
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkVAWEXEJZ_cjs.staggerItem; }
|
|
71
91
|
});
|
|
72
92
|
Object.defineProperty(exports, "subscribeToTenantClaims", {
|
|
73
93
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkVAWEXEJZ_cjs.subscribeToTenantClaims; }
|
|
75
95
|
});
|
|
76
96
|
Object.defineProperty(exports, "HttpError", {
|
|
77
97
|
enumerable: true,
|
package/dist/lib/index.d.cts
CHANGED
|
@@ -125,8 +125,43 @@ interface TenantClaim {
|
|
|
125
125
|
tabId: string;
|
|
126
126
|
ts: number;
|
|
127
127
|
}
|
|
128
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* How long a probe waits for a live holder to answer before the claim is judged abandoned. A live
|
|
130
|
+
* tab answers in milliseconds -- BroadcastChannel messages are not subject to background-timer
|
|
131
|
+
* throttling -- so this bounds only the wait for a holder that is not there.
|
|
132
|
+
*/
|
|
133
|
+
declare const OWNER_PROBE_TIMEOUT_MS = 300;
|
|
134
|
+
/**
|
|
135
|
+
* Stable for the lifetime of this document -- and only that. A reload is a new document with a new
|
|
136
|
+
* id, while the stored claim survives it; that is why a stored claim from another id is never
|
|
137
|
+
* trusted on its own (see `isTenantHeldElsewhere`).
|
|
138
|
+
*/
|
|
129
139
|
declare const TAB_ID: string;
|
|
140
|
+
/**
|
|
141
|
+
* Declare that this tab is working inside `tenantId`, so it answers probes for it. Returns a
|
|
142
|
+
* release function.
|
|
143
|
+
*
|
|
144
|
+
* Held only by a window actually rendering a project's data, never by the console: a console tab
|
|
145
|
+
* has nothing a newly opened project would break, so it must not make that project start detached.
|
|
146
|
+
* The release only clears a hold it still owns, so a later hold is never undone by an earlier one's
|
|
147
|
+
* cleanup.
|
|
148
|
+
*/
|
|
149
|
+
declare const holdTenant: (tenantId: string) => (() => void);
|
|
150
|
+
/**
|
|
151
|
+
* Whether some *other* live tab is working inside `tenantId` right now.
|
|
152
|
+
*
|
|
153
|
+
* The stored claim cannot answer this by itself. It outlives the tab that wrote it -- a reload
|
|
154
|
+
* gives the same tab a new `TAB_ID`, and a closed tab never withdraws its claim -- so read alone it
|
|
155
|
+
* made a window detach on a notice its own earlier page load had left, or one from a window that no
|
|
156
|
+
* longer existed. Only a live holder answers, and `BroadcastChannel` never delivers a message back
|
|
157
|
+
* to the object that posted it, so this tab cannot answer its own probe.
|
|
158
|
+
*
|
|
159
|
+
* Without `BroadcastChannel` there is no one to ask, and an unknown owner is treated as no owner:
|
|
160
|
+
* the claim subscription still detaches the tab the moment a live window actually takes the cookie.
|
|
161
|
+
*/
|
|
162
|
+
declare const isTenantHeldElsewhere: (tenantId: string, timeoutMs?: number) => Promise<boolean>;
|
|
163
|
+
/** Whether two reads of the stored claim describe the same claim, rather than one replacing it. */
|
|
164
|
+
declare const isSameClaim: (a: TenantClaim | null, b: TenantClaim | null) => boolean;
|
|
130
165
|
/**
|
|
131
166
|
* Announce that this tab has taken the cookie for `tenantId`.
|
|
132
167
|
*
|
|
@@ -135,11 +170,17 @@ declare const TAB_ID: string;
|
|
|
135
170
|
* anything.
|
|
136
171
|
*/
|
|
137
172
|
declare const claimTenant: (tenantId: string) => void;
|
|
173
|
+
/**
|
|
174
|
+
* Forget every claim, for a logout. The next user signs in to a root-scoped cookie, and a claim
|
|
175
|
+
* left by the previous one names a tenant that session has nothing to do with.
|
|
176
|
+
*/
|
|
177
|
+
declare const clearTenantClaims: () => void;
|
|
138
178
|
/**
|
|
139
179
|
* The last claim made by any tab on this origin, or null if none is recorded.
|
|
140
180
|
*
|
|
141
181
|
* Used on mount so a tab opened while another already owns the cookie starts in the correct state
|
|
142
|
-
* rather than waiting for the next claim that may never come.
|
|
182
|
+
* rather than waiting for the next claim that may never come. A claim from another `tabId` is only
|
|
183
|
+
* a lead: confirm it with `isTenantHeldElsewhere` before acting on it.
|
|
143
184
|
*/
|
|
144
185
|
declare const readCurrentOwner: () => TenantClaim | null;
|
|
145
186
|
/**
|
|
@@ -150,4 +191,4 @@ declare const readCurrentOwner: () => TenantClaim | null;
|
|
|
150
191
|
*/
|
|
151
192
|
declare const subscribeToTenantClaims: (onClaim: (claim: TenantClaim) => void) => (() => void);
|
|
152
193
|
|
|
153
|
-
export { CookieStorage, type CookieStorageOptions, HeadersInitValue, HttpClient, HttpClientConfig, HttpClientOptions, RequestBody, TAB_ID, type TenantClaim, claimTenant, cn, fadeInScale, fadeInUp, fadeTransition, iamClient, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToTenantClaims };
|
|
194
|
+
export { CookieStorage, type CookieStorageOptions, HeadersInitValue, HttpClient, HttpClientConfig, HttpClientOptions, OWNER_PROBE_TIMEOUT_MS, RequestBody, TAB_ID, type TenantClaim, claimTenant, clearTenantClaims, cn, fadeInScale, fadeInUp, fadeTransition, holdTenant, iamClient, isSameClaim, isTenantHeldElsewhere, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToTenantClaims };
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -125,8 +125,43 @@ interface TenantClaim {
|
|
|
125
125
|
tabId: string;
|
|
126
126
|
ts: number;
|
|
127
127
|
}
|
|
128
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* How long a probe waits for a live holder to answer before the claim is judged abandoned. A live
|
|
130
|
+
* tab answers in milliseconds -- BroadcastChannel messages are not subject to background-timer
|
|
131
|
+
* throttling -- so this bounds only the wait for a holder that is not there.
|
|
132
|
+
*/
|
|
133
|
+
declare const OWNER_PROBE_TIMEOUT_MS = 300;
|
|
134
|
+
/**
|
|
135
|
+
* Stable for the lifetime of this document -- and only that. A reload is a new document with a new
|
|
136
|
+
* id, while the stored claim survives it; that is why a stored claim from another id is never
|
|
137
|
+
* trusted on its own (see `isTenantHeldElsewhere`).
|
|
138
|
+
*/
|
|
129
139
|
declare const TAB_ID: string;
|
|
140
|
+
/**
|
|
141
|
+
* Declare that this tab is working inside `tenantId`, so it answers probes for it. Returns a
|
|
142
|
+
* release function.
|
|
143
|
+
*
|
|
144
|
+
* Held only by a window actually rendering a project's data, never by the console: a console tab
|
|
145
|
+
* has nothing a newly opened project would break, so it must not make that project start detached.
|
|
146
|
+
* The release only clears a hold it still owns, so a later hold is never undone by an earlier one's
|
|
147
|
+
* cleanup.
|
|
148
|
+
*/
|
|
149
|
+
declare const holdTenant: (tenantId: string) => (() => void);
|
|
150
|
+
/**
|
|
151
|
+
* Whether some *other* live tab is working inside `tenantId` right now.
|
|
152
|
+
*
|
|
153
|
+
* The stored claim cannot answer this by itself. It outlives the tab that wrote it -- a reload
|
|
154
|
+
* gives the same tab a new `TAB_ID`, and a closed tab never withdraws its claim -- so read alone it
|
|
155
|
+
* made a window detach on a notice its own earlier page load had left, or one from a window that no
|
|
156
|
+
* longer existed. Only a live holder answers, and `BroadcastChannel` never delivers a message back
|
|
157
|
+
* to the object that posted it, so this tab cannot answer its own probe.
|
|
158
|
+
*
|
|
159
|
+
* Without `BroadcastChannel` there is no one to ask, and an unknown owner is treated as no owner:
|
|
160
|
+
* the claim subscription still detaches the tab the moment a live window actually takes the cookie.
|
|
161
|
+
*/
|
|
162
|
+
declare const isTenantHeldElsewhere: (tenantId: string, timeoutMs?: number) => Promise<boolean>;
|
|
163
|
+
/** Whether two reads of the stored claim describe the same claim, rather than one replacing it. */
|
|
164
|
+
declare const isSameClaim: (a: TenantClaim | null, b: TenantClaim | null) => boolean;
|
|
130
165
|
/**
|
|
131
166
|
* Announce that this tab has taken the cookie for `tenantId`.
|
|
132
167
|
*
|
|
@@ -135,11 +170,17 @@ declare const TAB_ID: string;
|
|
|
135
170
|
* anything.
|
|
136
171
|
*/
|
|
137
172
|
declare const claimTenant: (tenantId: string) => void;
|
|
173
|
+
/**
|
|
174
|
+
* Forget every claim, for a logout. The next user signs in to a root-scoped cookie, and a claim
|
|
175
|
+
* left by the previous one names a tenant that session has nothing to do with.
|
|
176
|
+
*/
|
|
177
|
+
declare const clearTenantClaims: () => void;
|
|
138
178
|
/**
|
|
139
179
|
* The last claim made by any tab on this origin, or null if none is recorded.
|
|
140
180
|
*
|
|
141
181
|
* Used on mount so a tab opened while another already owns the cookie starts in the correct state
|
|
142
|
-
* rather than waiting for the next claim that may never come.
|
|
182
|
+
* rather than waiting for the next claim that may never come. A claim from another `tabId` is only
|
|
183
|
+
* a lead: confirm it with `isTenantHeldElsewhere` before acting on it.
|
|
143
184
|
*/
|
|
144
185
|
declare const readCurrentOwner: () => TenantClaim | null;
|
|
145
186
|
/**
|
|
@@ -150,4 +191,4 @@ declare const readCurrentOwner: () => TenantClaim | null;
|
|
|
150
191
|
*/
|
|
151
192
|
declare const subscribeToTenantClaims: (onClaim: (claim: TenantClaim) => void) => (() => void);
|
|
152
193
|
|
|
153
|
-
export { CookieStorage, type CookieStorageOptions, HeadersInitValue, HttpClient, HttpClientConfig, HttpClientOptions, RequestBody, TAB_ID, type TenantClaim, claimTenant, cn, fadeInScale, fadeInUp, fadeTransition, iamClient, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToTenantClaims };
|
|
194
|
+
export { CookieStorage, type CookieStorageOptions, HeadersInitValue, HttpClient, HttpClientConfig, HttpClientOptions, OWNER_PROBE_TIMEOUT_MS, RequestBody, TAB_ID, type TenantClaim, claimTenant, clearTenantClaims, cn, fadeInScale, fadeInUp, fadeTransition, holdTenant, iamClient, isSameClaim, isTenantHeldElsewhere, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToTenantClaims };
|
package/dist/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { HttpClient, TAB_ID, claimTenant, fadeInScale, fadeInUp, fadeTransition, iamClient, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToTenantClaims } from '../chunk-
|
|
1
|
+
export { HttpClient, OWNER_PROBE_TIMEOUT_MS, TAB_ID, claimTenant, clearTenantClaims, fadeInScale, fadeInUp, fadeTransition, holdTenant, iamClient, isSameClaim, isTenantHeldElsewhere, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToTenantClaims } from '../chunk-SG6FH72W.js';
|
|
2
2
|
export { HttpError, createRuntimeEnvGetter, getRuntimeEnv } from '../chunk-JUVLHPQI.js';
|
|
3
3
|
export { cn } from '../chunk-3MLPBMH2.js';
|
|
4
4
|
import '../chunk-BRHE44FE.js';
|
package/dist/pages/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGFGUKRBD_cjs = require('../chunk-GFGUKRBD.cjs');
|
|
4
4
|
require('../chunk-JQ4U53QV.cjs');
|
|
5
5
|
require('../chunk-APGPL56X.cjs');
|
|
6
6
|
require('../chunk-JQZAKF5A.cjs');
|
|
@@ -300,10 +300,10 @@ require('../chunk-3K44N64A.cjs');
|
|
|
300
300
|
require('../chunk-LABBAWQE.cjs');
|
|
301
301
|
require('../chunk-C736JVLC.cjs');
|
|
302
302
|
require('../chunk-BR6HN47Z.cjs');
|
|
303
|
-
require('../chunk-
|
|
303
|
+
require('../chunk-HBVSAOTQ.cjs');
|
|
304
304
|
require('../chunk-QTSTAWK3.cjs');
|
|
305
305
|
require('../chunk-FQ2QETFA.cjs');
|
|
306
|
-
require('../chunk-
|
|
306
|
+
require('../chunk-VAWEXEJZ.cjs');
|
|
307
307
|
require('../chunk-X4YCRWXO.cjs');
|
|
308
308
|
require('../chunk-IJMKS4XG.cjs');
|
|
309
309
|
require('../chunk-BPJM3L7O.cjs');
|
|
@@ -318,23 +318,23 @@ require('../chunk-QJOVCH5A.cjs');
|
|
|
318
318
|
|
|
319
319
|
Object.defineProperty(exports, "CallbackPage", {
|
|
320
320
|
enumerable: true,
|
|
321
|
-
get: function () { return
|
|
321
|
+
get: function () { return chunkGFGUKRBD_cjs.CallbackPage; }
|
|
322
322
|
});
|
|
323
323
|
Object.defineProperty(exports, "ConsolePage", {
|
|
324
324
|
enumerable: true,
|
|
325
|
-
get: function () { return
|
|
325
|
+
get: function () { return chunkGFGUKRBD_cjs.ConsolePage; }
|
|
326
326
|
});
|
|
327
327
|
Object.defineProperty(exports, "DashboardOverview", {
|
|
328
328
|
enumerable: true,
|
|
329
|
-
get: function () { return
|
|
329
|
+
get: function () { return chunkGFGUKRBD_cjs.DashboardOverview; }
|
|
330
330
|
});
|
|
331
331
|
Object.defineProperty(exports, "LoginPage", {
|
|
332
332
|
enumerable: true,
|
|
333
|
-
get: function () { return
|
|
333
|
+
get: function () { return chunkGFGUKRBD_cjs.LoginPage; }
|
|
334
334
|
});
|
|
335
335
|
Object.defineProperty(exports, "ProfilePage", {
|
|
336
336
|
enumerable: true,
|
|
337
|
-
get: function () { return
|
|
337
|
+
get: function () { return chunkGFGUKRBD_cjs.ProfilePage; }
|
|
338
338
|
});
|
|
339
339
|
//# sourceMappingURL=index.cjs.map
|
|
340
340
|
//# sourceMappingURL=index.cjs.map
|
package/dist/pages/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CallbackPage, ConsolePage, DashboardOverview, LoginPage, ProfilePage } from '../chunk-
|
|
1
|
+
export { CallbackPage, ConsolePage, DashboardOverview, LoginPage, ProfilePage } from '../chunk-5WYC4OLV.js';
|
|
2
2
|
import '../chunk-WL6LTNZN.js';
|
|
3
3
|
import '../chunk-3PTLRYMI.js';
|
|
4
4
|
import '../chunk-RYYFLMEK.js';
|
|
@@ -298,10 +298,10 @@ import '../chunk-BUHTHPNT.js';
|
|
|
298
298
|
import '../chunk-B3EJZXGM.js';
|
|
299
299
|
import '../chunk-AWP77TL7.js';
|
|
300
300
|
import '../chunk-A4HVLCC2.js';
|
|
301
|
-
import '../chunk-
|
|
301
|
+
import '../chunk-SAY5K2GJ.js';
|
|
302
302
|
import '../chunk-JSXAKNHQ.js';
|
|
303
303
|
import '../chunk-T3FFMBIJ.js';
|
|
304
|
-
import '../chunk-
|
|
304
|
+
import '../chunk-SG6FH72W.js';
|
|
305
305
|
import '../chunk-JUVLHPQI.js';
|
|
306
306
|
import '../chunk-XRAO7JBH.js';
|
|
307
307
|
import '../chunk-AHCHUUXM.js';
|
package/dist/utils/index.cjs
CHANGED
package/dist/utils/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ErrorTransformer, SERVICE_BASE_URL_KEY, boolean, clearQueryString, compareDates, createCookieStore, createEventEmitter, createSchema, createStorage, debounce, deepClone, deepEqual, deepMerge, domainRegex, formatBytes, formatCurrency, formatDate, formatDuration, formatFileSize, formatFullDate, formatNumber, formatSeconds, generateId, getDomain, getErrorMessage, getForwardedToPath, getProjectBlocksApiUrl, getServiceBaseUrl, getServiceSwaggerUrl, getSubdomain, getUniqueID, groupBy, handleErrorMessages, hasErrorCode, isBoolean, isCreditCard, isEmail, isErrorWithErrors, isNullish, isNumber, isObject, isPhone, isPlainObject, isPostalCode, isPromise, isString, isUrl, isUuid, isValidDate, isValidDomain, isValidSubdomain, memoize, number, omit, parseDateString, parseMongoDBString, parseQueryString, pick, resetQueryString, showErrorToast, showInfoToast, showSuccessToast, sleep, string, stringifyQueryString, subdomainRegex, throttle, uniqueBy } from '../chunk-JSXAKNHQ.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-SG6FH72W.js';
|
|
3
3
|
import '../chunk-JUVLHPQI.js';
|
|
4
4
|
import '../chunk-XUQVWFG5.js';
|
|
5
5
|
import '../chunk-3MLPBMH2.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seliseblocks/genesis-os",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.1",
|
|
4
4
|
"description": "React app-shell composition package for SELISE Genesis OS",
|
|
5
5
|
"author": "SELISE Blocks",
|
|
6
6
|
"license": "MIT",
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
"@types/react-dom": "catalog:",
|
|
180
180
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
181
181
|
"@vitejs/plugin-react": "^6.0.4",
|
|
182
|
-
"@vitest/coverage-v8": "^4.1.
|
|
182
|
+
"@vitest/coverage-v8": "^4.1.12",
|
|
183
183
|
"eslint": "catalog:",
|
|
184
184
|
"jsdom": "^29.1.1",
|
|
185
185
|
"msw": "^2.15.0",
|
|
@@ -188,9 +188,9 @@
|
|
|
188
188
|
"react-syntax-highlighter": "^16.1.1",
|
|
189
189
|
"tsup": "catalog:",
|
|
190
190
|
"typescript": "catalog:",
|
|
191
|
-
"vite": "^8.1.
|
|
191
|
+
"vite": "^8.1.6",
|
|
192
192
|
"vite-tsconfig-paths": "^6.1.1",
|
|
193
|
-
"vitest": "^4.1.
|
|
193
|
+
"vitest": "^4.1.12"
|
|
194
194
|
},
|
|
195
195
|
"publishConfig": {
|
|
196
196
|
"access": "public"
|