@seliseblocks/genesis-os 4.4.2 → 4.4.4
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-MYTS3R4F.cjs → chunk-2BZ2C4TS.cjs} +206 -112
- package/dist/chunk-2BZ2C4TS.cjs.map +1 -0
- package/dist/{chunk-3EGBCU4W.cjs → chunk-AD2ZGEQ5.cjs} +227 -78
- package/dist/chunk-AD2ZGEQ5.cjs.map +1 -0
- package/dist/{chunk-M3VJ7FLT.js → chunk-EKAGSVC7.js} +200 -55
- package/dist/chunk-EKAGSVC7.js.map +1 -0
- package/dist/{chunk-VAWEXEJZ.cjs → chunk-I2KRZLP4.cjs} +184 -7
- package/dist/chunk-I2KRZLP4.cjs.map +1 -0
- package/dist/{chunk-SG6FH72W.js → chunk-R7WBG4YN.js} +183 -8
- package/dist/chunk-R7WBG4YN.js.map +1 -0
- package/dist/{chunk-QH7AVUL7.js → chunk-VSLB4SJE.js} +115 -21
- package/dist/chunk-VSLB4SJE.js.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 +68 -56
- package/dist/hooks/index.d.cts +30 -2
- package/dist/hooks/index.d.ts +30 -2
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +455 -435
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- 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 +30 -22
- package/dist/lib/index.d.cts +38 -3
- package/dist/lib/index.d.ts +38 -3
- package/dist/lib/index.js +1 -1
- package/dist/observability/index.d.cts +1 -1
- package/dist/observability/index.d.ts +1 -1
- package/dist/pages/index.cjs +8 -8
- package/dist/pages/index.js +3 -3
- package/dist/{types-CxmwyESB.d.cts → types-CQX9_ck-.d.cts} +21 -1
- package/dist/{types-R-boAdbM.d.ts → types-D9odiLzd.d.ts} +21 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-3EGBCU4W.cjs.map +0 -1
- package/dist/chunk-M3VJ7FLT.js.map +0 -1
- package/dist/chunk-MYTS3R4F.cjs.map +0 -1
- package/dist/chunk-QH7AVUL7.js.map +0 -1
- package/dist/chunk-SG6FH72W.js.map +0 -1
- package/dist/chunk-VAWEXEJZ.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, 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
|
-
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-
|
|
8
|
+
export { CookieStorage, CookieStorageOptions, HttpClient, OWNER_PROBE_TIMEOUT_MS, TAB_ID, TenantClaim, announceSignOut, claimTenant, clearTenantClaims, cn, fadeInScale, fadeInUp, fadeTransition, holdTenant, iamClient, isSameClaim, isTenantHeldElsewhere, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToSignOut, subscribeToTenantClaims } from './lib/index.cjs';
|
|
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, S as SessionTenantGuard } from './types-CQX9_ck-.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, PROJECTS_STALE_TIME_MS, 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';
|
|
15
|
+
export { BlocksQueryKey, ColumnFuseFilterConfig, CopyOptions, FuseSearchOptions, FuseSearchResult, LanguageStorage, PROJECTS_STALE_TIME_MS, PathSegment, QueryClientKitFetchOptions, QueryClientKitFilters, QueryClientKitInvalidateFilters, QueryClientKitRefetchFilters, QueryKeyBuilder, QueryKeyFactory, QueryKeyPart, QueryKeyPrimitive, QueryKeyRecord, QueryPatch, QueryPatchUpdater, QueryStatesKitBehavior, QueryStatesKitOptions, QueryStatesKitSchema, QueryUpdateOptions, StopImpersonationOutcome, 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, useSessionTenantGuard, useSignOut, useSignUpAffordance, useSignUpRedirect, useStartImpersonation, useStatusFirstOnTabReturn, 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, 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
|
-
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-
|
|
8
|
+
export { CookieStorage, CookieStorageOptions, HttpClient, OWNER_PROBE_TIMEOUT_MS, TAB_ID, TenantClaim, announceSignOut, claimTenant, clearTenantClaims, cn, fadeInScale, fadeInUp, fadeTransition, holdTenant, iamClient, isSameClaim, isTenantHeldElsewhere, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToSignOut, subscribeToTenantClaims } from './lib/index.js';
|
|
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, S as SessionTenantGuard } from './types-D9odiLzd.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, PROJECTS_STALE_TIME_MS, 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';
|
|
15
|
+
export { BlocksQueryKey, ColumnFuseFilterConfig, CopyOptions, FuseSearchOptions, FuseSearchResult, LanguageStorage, PROJECTS_STALE_TIME_MS, PathSegment, QueryClientKitFetchOptions, QueryClientKitFilters, QueryClientKitInvalidateFilters, QueryClientKitRefetchFilters, QueryKeyBuilder, QueryKeyFactory, QueryKeyPart, QueryKeyPrimitive, QueryKeyRecord, QueryPatch, QueryPatchUpdater, QueryStatesKitBehavior, QueryStatesKitOptions, QueryStatesKitSchema, QueryUpdateOptions, StopImpersonationOutcome, 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, useSessionTenantGuard, useSignOut, useSignUpAffordance, useSignUpRedirect, useStartImpersonation, useStatusFirstOnTabReturn, 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-VSLB4SJE.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 { PROJECTS_STALE_TIME_MS, 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-
|
|
301
|
+
export { PROJECTS_STALE_TIME_MS, 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, useSessionTenantGuard, useSignOut, useSignUpAffordance, useSignUpRedirect, useStartImpersonation, useStatusFirstOnTabReturn, useStopImpersonation, useTheme, useUpdateProject, useUpdateRepositories, useUpdateTenantGroup, useValidateCNameProject } from './chunk-EKAGSVC7.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, 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-
|
|
304
|
+
export { HttpClient, OWNER_PROBE_TIMEOUT_MS, TAB_ID, announceSignOut, claimTenant, clearTenantClaims, fadeInScale, fadeInUp, fadeTransition, holdTenant, iamClient, isSameClaim, isTenantHeldElsewhere, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToSignOut, subscribeToTenantClaims } from './chunk-R7WBG4YN.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 chunk2BZ2C4TS_cjs = require('../chunk-2BZ2C4TS.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-AD2ZGEQ5.cjs');
|
|
304
304
|
require('../chunk-QTSTAWK3.cjs');
|
|
305
305
|
require('../chunk-FQ2QETFA.cjs');
|
|
306
|
-
require('../chunk-
|
|
306
|
+
require('../chunk-I2KRZLP4.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 chunk2BZ2C4TS_cjs.AuthLayout; }
|
|
322
322
|
});
|
|
323
323
|
Object.defineProperty(exports, "ConsoleLayout", {
|
|
324
324
|
enumerable: true,
|
|
325
|
-
get: function () { return
|
|
325
|
+
get: function () { return chunk2BZ2C4TS_cjs.ConsoleLayout; }
|
|
326
326
|
});
|
|
327
327
|
Object.defineProperty(exports, "DashboardLayout", {
|
|
328
328
|
enumerable: true,
|
|
329
|
-
get: function () { return
|
|
329
|
+
get: function () { return chunk2BZ2C4TS_cjs.DashboardLayout; }
|
|
330
330
|
});
|
|
331
331
|
Object.defineProperty(exports, "DashboardRoute", {
|
|
332
332
|
enumerable: true,
|
|
333
|
-
get: function () { return
|
|
333
|
+
get: function () { return chunk2BZ2C4TS_cjs.DashboardRoute; }
|
|
334
334
|
});
|
|
335
335
|
Object.defineProperty(exports, "OidcLayout", {
|
|
336
336
|
enumerable: true,
|
|
337
|
-
get: function () { return
|
|
337
|
+
get: function () { return chunk2BZ2C4TS_cjs.OidcLayout; }
|
|
338
338
|
});
|
|
339
339
|
Object.defineProperty(exports, "PublicLayout", {
|
|
340
340
|
enumerable: true,
|
|
341
|
-
get: function () { return
|
|
341
|
+
get: function () { return chunk2BZ2C4TS_cjs.PublicLayout; }
|
|
342
342
|
});
|
|
343
343
|
Object.defineProperty(exports, "useOidcContext", {
|
|
344
344
|
enumerable: true,
|
|
345
|
-
get: function () { return
|
|
345
|
+
get: function () { return chunk2BZ2C4TS_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-VSLB4SJE.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-EKAGSVC7.js';
|
|
302
302
|
import '../chunk-JSXAKNHQ.js';
|
|
303
303
|
import '../chunk-T3FFMBIJ.js';
|
|
304
|
-
import '../chunk-
|
|
304
|
+
import '../chunk-R7WBG4YN.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 chunkI2KRZLP4_cjs = require('../chunk-I2KRZLP4.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,87 +11,95 @@ require('../chunk-QJOVCH5A.cjs');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "HttpClient", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkI2KRZLP4_cjs.HttpClient; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "OWNER_PROBE_TIMEOUT_MS", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkI2KRZLP4_cjs.OWNER_PROBE_TIMEOUT_MS; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "TAB_ID", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkI2KRZLP4_cjs.TAB_ID; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "announceSignOut", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkI2KRZLP4_cjs.announceSignOut; }
|
|
23
27
|
});
|
|
24
28
|
Object.defineProperty(exports, "claimTenant", {
|
|
25
29
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkI2KRZLP4_cjs.claimTenant; }
|
|
27
31
|
});
|
|
28
32
|
Object.defineProperty(exports, "clearTenantClaims", {
|
|
29
33
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkI2KRZLP4_cjs.clearTenantClaims; }
|
|
31
35
|
});
|
|
32
36
|
Object.defineProperty(exports, "fadeInScale", {
|
|
33
37
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkI2KRZLP4_cjs.fadeInScale; }
|
|
35
39
|
});
|
|
36
40
|
Object.defineProperty(exports, "fadeInUp", {
|
|
37
41
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkI2KRZLP4_cjs.fadeInUp; }
|
|
39
43
|
});
|
|
40
44
|
Object.defineProperty(exports, "fadeTransition", {
|
|
41
45
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkI2KRZLP4_cjs.fadeTransition; }
|
|
43
47
|
});
|
|
44
48
|
Object.defineProperty(exports, "holdTenant", {
|
|
45
49
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkI2KRZLP4_cjs.holdTenant; }
|
|
47
51
|
});
|
|
48
52
|
Object.defineProperty(exports, "iamClient", {
|
|
49
53
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkI2KRZLP4_cjs.iamClient; }
|
|
51
55
|
});
|
|
52
56
|
Object.defineProperty(exports, "isSameClaim", {
|
|
53
57
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkI2KRZLP4_cjs.isSameClaim; }
|
|
55
59
|
});
|
|
56
60
|
Object.defineProperty(exports, "isTenantHeldElsewhere", {
|
|
57
61
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkI2KRZLP4_cjs.isTenantHeldElsewhere; }
|
|
59
63
|
});
|
|
60
64
|
Object.defineProperty(exports, "logicClient", {
|
|
61
65
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkI2KRZLP4_cjs.logicClient; }
|
|
63
67
|
});
|
|
64
68
|
Object.defineProperty(exports, "motionEase", {
|
|
65
69
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkI2KRZLP4_cjs.motionEase; }
|
|
67
71
|
});
|
|
68
72
|
Object.defineProperty(exports, "notificationClient", {
|
|
69
73
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkI2KRZLP4_cjs.notificationClient; }
|
|
71
75
|
});
|
|
72
76
|
Object.defineProperty(exports, "readCurrentOwner", {
|
|
73
77
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkI2KRZLP4_cjs.readCurrentOwner; }
|
|
75
79
|
});
|
|
76
80
|
Object.defineProperty(exports, "resolveBaseUrl", {
|
|
77
81
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkI2KRZLP4_cjs.resolveBaseUrl; }
|
|
79
83
|
});
|
|
80
84
|
Object.defineProperty(exports, "resolveEnv", {
|
|
81
85
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkI2KRZLP4_cjs.resolveEnv; }
|
|
83
87
|
});
|
|
84
88
|
Object.defineProperty(exports, "staggerContainer", {
|
|
85
89
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkI2KRZLP4_cjs.staggerContainer; }
|
|
87
91
|
});
|
|
88
92
|
Object.defineProperty(exports, "staggerItem", {
|
|
89
93
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkI2KRZLP4_cjs.staggerItem; }
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "subscribeToSignOut", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return chunkI2KRZLP4_cjs.subscribeToSignOut; }
|
|
91
99
|
});
|
|
92
100
|
Object.defineProperty(exports, "subscribeToTenantClaims", {
|
|
93
101
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkI2KRZLP4_cjs.subscribeToTenantClaims; }
|
|
95
103
|
});
|
|
96
104
|
Object.defineProperty(exports, "HttpError", {
|
|
97
105
|
enumerable: true,
|
package/dist/lib/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as HttpClientConfig, H as HeadersInitValue, b as HttpClientOptions, R as RequestBody } from '../types-
|
|
2
|
-
export { c as HttpError, d as HttpRequestFailure, e as RequestOptions, f as RequestQueueItem } from '../types-
|
|
1
|
+
import { S as SessionTenantGuard, a as HttpClientConfig, H as HeadersInitValue, b as HttpClientOptions, R as RequestBody } from '../types-CQX9_ck-.cjs';
|
|
2
|
+
export { c as HttpError, d as HttpRequestFailure, e as RequestOptions, f as RequestQueueItem } from '../types-CQX9_ck-.cjs';
|
|
3
3
|
export { R as RuntimeEnvWindow, c as createRuntimeEnvGetter, g as getRuntimeEnv } from '../runtime-env-BDeaC4ay.cjs';
|
|
4
4
|
import { ClassValue } from 'clsx';
|
|
5
5
|
import { Variants, Transition } from 'framer-motion';
|
|
@@ -19,6 +19,16 @@ declare class HttpClient {
|
|
|
19
19
|
private autoRedirectOnAuthFailure;
|
|
20
20
|
private onError?;
|
|
21
21
|
private static readonly refreshPromises;
|
|
22
|
+
private static sessionGuard;
|
|
23
|
+
/**
|
|
24
|
+
* Registers the check run after every refresh (see `SessionTenantGuard`). Returns a function that
|
|
25
|
+
* removes it again, unless another guard has replaced it since.
|
|
26
|
+
*/
|
|
27
|
+
static setSessionGuard(guard: SessionTenantGuard): () => void;
|
|
28
|
+
private static expectedTenant;
|
|
29
|
+
private static confirmSessionTenant;
|
|
30
|
+
/** Whether a request started for `expected` must not be retried in `confirmed`. */
|
|
31
|
+
private static hasSessionMoved;
|
|
22
32
|
constructor(config: HttpClientConfig);
|
|
23
33
|
private getBaseURL;
|
|
24
34
|
private getBlocksKey;
|
|
@@ -26,6 +36,23 @@ declare class HttpClient {
|
|
|
26
36
|
private prepareBody;
|
|
27
37
|
private refreshLockKey;
|
|
28
38
|
private refreshAccessToken;
|
|
39
|
+
/**
|
|
40
|
+
* Runs `fn` while holding the lock that refreshes and impersonation changes share across every
|
|
41
|
+
* tab (see `withSessionLock`). Requests made inside must pass `skipTokenRotation` and use
|
|
42
|
+
* `refreshWithinSessionLock` instead: the client's own refresh would wait for this very lock.
|
|
43
|
+
*/
|
|
44
|
+
withSessionLock<T>(fn: () => Promise<T>): Promise<T>;
|
|
45
|
+
/**
|
|
46
|
+
* Refreshes the access token from inside `withSessionLock`. Failure handling is the same as any
|
|
47
|
+
* refresh: an unrecoverable one signs the user out.
|
|
48
|
+
*/
|
|
49
|
+
refreshWithinSessionLock(): Promise<void>;
|
|
50
|
+
/**
|
|
51
|
+
* True for a refused refresh that only means the cookie's token was replaced by an impersonation
|
|
52
|
+
* change, and the cookie now holds a working access token. Another tab can cause that, or a
|
|
53
|
+
* response this tab never received.
|
|
54
|
+
*/
|
|
55
|
+
private isReplacedSession;
|
|
29
56
|
private performRefresh;
|
|
30
57
|
private handleRefreshFailure;
|
|
31
58
|
private throwIfNotOk;
|
|
@@ -175,6 +202,14 @@ declare const claimTenant: (tenantId: string) => void;
|
|
|
175
202
|
* left by the previous one names a tenant that session has nothing to do with.
|
|
176
203
|
*/
|
|
177
204
|
declare const clearTenantClaims: () => void;
|
|
205
|
+
/**
|
|
206
|
+
* Announce that this tab signed out. The cookie is gone for every tab, but each one keeps showing
|
|
207
|
+
* the previous user's data until its next request fails -- and if someone signs in again first,
|
|
208
|
+
* that request carries the new user's cookie under the old user's page.
|
|
209
|
+
*/
|
|
210
|
+
declare const announceSignOut: () => void;
|
|
211
|
+
/** Subscribe to sign-outs in other tabs. Returns an unsubscribe function. */
|
|
212
|
+
declare const subscribeToSignOut: (onSignOut: () => void) => (() => void);
|
|
178
213
|
/**
|
|
179
214
|
* The last claim made by any tab on this origin, or null if none is recorded.
|
|
180
215
|
*
|
|
@@ -191,4 +226,4 @@ declare const readCurrentOwner: () => TenantClaim | null;
|
|
|
191
226
|
*/
|
|
192
227
|
declare const subscribeToTenantClaims: (onClaim: (claim: TenantClaim) => void) => (() => void);
|
|
193
228
|
|
|
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 };
|
|
229
|
+
export { CookieStorage, type CookieStorageOptions, HeadersInitValue, HttpClient, HttpClientConfig, HttpClientOptions, OWNER_PROBE_TIMEOUT_MS, RequestBody, SessionTenantGuard, TAB_ID, type TenantClaim, announceSignOut, claimTenant, clearTenantClaims, cn, fadeInScale, fadeInUp, fadeTransition, holdTenant, iamClient, isSameClaim, isTenantHeldElsewhere, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToSignOut, subscribeToTenantClaims };
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as HttpClientConfig, H as HeadersInitValue, b as HttpClientOptions, R as RequestBody } from '../types-
|
|
2
|
-
export { c as HttpError, d as HttpRequestFailure, e as RequestOptions, f as RequestQueueItem } from '../types-
|
|
1
|
+
import { S as SessionTenantGuard, a as HttpClientConfig, H as HeadersInitValue, b as HttpClientOptions, R as RequestBody } from '../types-D9odiLzd.js';
|
|
2
|
+
export { c as HttpError, d as HttpRequestFailure, e as RequestOptions, f as RequestQueueItem } from '../types-D9odiLzd.js';
|
|
3
3
|
export { R as RuntimeEnvWindow, c as createRuntimeEnvGetter, g as getRuntimeEnv } from '../runtime-env-S2YD-RGu.js';
|
|
4
4
|
import { ClassValue } from 'clsx';
|
|
5
5
|
import { Variants, Transition } from 'framer-motion';
|
|
@@ -19,6 +19,16 @@ declare class HttpClient {
|
|
|
19
19
|
private autoRedirectOnAuthFailure;
|
|
20
20
|
private onError?;
|
|
21
21
|
private static readonly refreshPromises;
|
|
22
|
+
private static sessionGuard;
|
|
23
|
+
/**
|
|
24
|
+
* Registers the check run after every refresh (see `SessionTenantGuard`). Returns a function that
|
|
25
|
+
* removes it again, unless another guard has replaced it since.
|
|
26
|
+
*/
|
|
27
|
+
static setSessionGuard(guard: SessionTenantGuard): () => void;
|
|
28
|
+
private static expectedTenant;
|
|
29
|
+
private static confirmSessionTenant;
|
|
30
|
+
/** Whether a request started for `expected` must not be retried in `confirmed`. */
|
|
31
|
+
private static hasSessionMoved;
|
|
22
32
|
constructor(config: HttpClientConfig);
|
|
23
33
|
private getBaseURL;
|
|
24
34
|
private getBlocksKey;
|
|
@@ -26,6 +36,23 @@ declare class HttpClient {
|
|
|
26
36
|
private prepareBody;
|
|
27
37
|
private refreshLockKey;
|
|
28
38
|
private refreshAccessToken;
|
|
39
|
+
/**
|
|
40
|
+
* Runs `fn` while holding the lock that refreshes and impersonation changes share across every
|
|
41
|
+
* tab (see `withSessionLock`). Requests made inside must pass `skipTokenRotation` and use
|
|
42
|
+
* `refreshWithinSessionLock` instead: the client's own refresh would wait for this very lock.
|
|
43
|
+
*/
|
|
44
|
+
withSessionLock<T>(fn: () => Promise<T>): Promise<T>;
|
|
45
|
+
/**
|
|
46
|
+
* Refreshes the access token from inside `withSessionLock`. Failure handling is the same as any
|
|
47
|
+
* refresh: an unrecoverable one signs the user out.
|
|
48
|
+
*/
|
|
49
|
+
refreshWithinSessionLock(): Promise<void>;
|
|
50
|
+
/**
|
|
51
|
+
* True for a refused refresh that only means the cookie's token was replaced by an impersonation
|
|
52
|
+
* change, and the cookie now holds a working access token. Another tab can cause that, or a
|
|
53
|
+
* response this tab never received.
|
|
54
|
+
*/
|
|
55
|
+
private isReplacedSession;
|
|
29
56
|
private performRefresh;
|
|
30
57
|
private handleRefreshFailure;
|
|
31
58
|
private throwIfNotOk;
|
|
@@ -175,6 +202,14 @@ declare const claimTenant: (tenantId: string) => void;
|
|
|
175
202
|
* left by the previous one names a tenant that session has nothing to do with.
|
|
176
203
|
*/
|
|
177
204
|
declare const clearTenantClaims: () => void;
|
|
205
|
+
/**
|
|
206
|
+
* Announce that this tab signed out. The cookie is gone for every tab, but each one keeps showing
|
|
207
|
+
* the previous user's data until its next request fails -- and if someone signs in again first,
|
|
208
|
+
* that request carries the new user's cookie under the old user's page.
|
|
209
|
+
*/
|
|
210
|
+
declare const announceSignOut: () => void;
|
|
211
|
+
/** Subscribe to sign-outs in other tabs. Returns an unsubscribe function. */
|
|
212
|
+
declare const subscribeToSignOut: (onSignOut: () => void) => (() => void);
|
|
178
213
|
/**
|
|
179
214
|
* The last claim made by any tab on this origin, or null if none is recorded.
|
|
180
215
|
*
|
|
@@ -191,4 +226,4 @@ declare const readCurrentOwner: () => TenantClaim | null;
|
|
|
191
226
|
*/
|
|
192
227
|
declare const subscribeToTenantClaims: (onClaim: (claim: TenantClaim) => void) => (() => void);
|
|
193
228
|
|
|
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 };
|
|
229
|
+
export { CookieStorage, type CookieStorageOptions, HeadersInitValue, HttpClient, HttpClientConfig, HttpClientOptions, OWNER_PROBE_TIMEOUT_MS, RequestBody, SessionTenantGuard, TAB_ID, type TenantClaim, announceSignOut, claimTenant, clearTenantClaims, cn, fadeInScale, fadeInUp, fadeTransition, holdTenant, iamClient, isSameClaim, isTenantHeldElsewhere, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToSignOut, subscribeToTenantClaims };
|
package/dist/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
1
|
+
export { HttpClient, OWNER_PROBE_TIMEOUT_MS, TAB_ID, announceSignOut, claimTenant, clearTenantClaims, fadeInScale, fadeInUp, fadeTransition, holdTenant, iamClient, isSameClaim, isTenantHeldElsewhere, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToSignOut, subscribeToTenantClaims } from '../chunk-R7WBG4YN.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';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Rollbar from 'rollbar';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ReactNode, ComponentType } from 'react';
|
|
4
|
-
import { d as HttpRequestFailure } from '../types-
|
|
4
|
+
import { d as HttpRequestFailure } from '../types-CQX9_ck-.cjs';
|
|
5
5
|
import { QueryClient } from '@tanstack/react-query';
|
|
6
6
|
import '../auth.model-BHLqtZG5.cjs';
|
|
7
7
|
import '../user.model-D-yeFp-2.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Rollbar from 'rollbar';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ReactNode, ComponentType } from 'react';
|
|
4
|
-
import { d as HttpRequestFailure } from '../types-
|
|
4
|
+
import { d as HttpRequestFailure } from '../types-D9odiLzd.js';
|
|
5
5
|
import { QueryClient } from '@tanstack/react-query';
|
|
6
6
|
import '../auth.model-6We_OkEZ.js';
|
|
7
7
|
import '../user.model-jYC7Cd3G.js';
|
package/dist/pages/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2BZ2C4TS_cjs = require('../chunk-2BZ2C4TS.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-AD2ZGEQ5.cjs');
|
|
304
304
|
require('../chunk-QTSTAWK3.cjs');
|
|
305
305
|
require('../chunk-FQ2QETFA.cjs');
|
|
306
|
-
require('../chunk-
|
|
306
|
+
require('../chunk-I2KRZLP4.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 chunk2BZ2C4TS_cjs.CallbackPage; }
|
|
322
322
|
});
|
|
323
323
|
Object.defineProperty(exports, "ConsolePage", {
|
|
324
324
|
enumerable: true,
|
|
325
|
-
get: function () { return
|
|
325
|
+
get: function () { return chunk2BZ2C4TS_cjs.ConsolePage; }
|
|
326
326
|
});
|
|
327
327
|
Object.defineProperty(exports, "DashboardOverview", {
|
|
328
328
|
enumerable: true,
|
|
329
|
-
get: function () { return
|
|
329
|
+
get: function () { return chunk2BZ2C4TS_cjs.DashboardOverview; }
|
|
330
330
|
});
|
|
331
331
|
Object.defineProperty(exports, "LoginPage", {
|
|
332
332
|
enumerable: true,
|
|
333
|
-
get: function () { return
|
|
333
|
+
get: function () { return chunk2BZ2C4TS_cjs.LoginPage; }
|
|
334
334
|
});
|
|
335
335
|
Object.defineProperty(exports, "ProfilePage", {
|
|
336
336
|
enumerable: true,
|
|
337
|
-
get: function () { return
|
|
337
|
+
get: function () { return chunk2BZ2C4TS_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-VSLB4SJE.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-EKAGSVC7.js';
|
|
302
302
|
import '../chunk-JSXAKNHQ.js';
|
|
303
303
|
import '../chunk-T3FFMBIJ.js';
|
|
304
|
-
import '../chunk-
|
|
304
|
+
import '../chunk-R7WBG4YN.js';
|
|
305
305
|
import '../chunk-JUVLHPQI.js';
|
|
306
306
|
import '../chunk-XRAO7JBH.js';
|
|
307
307
|
import '../chunk-AHCHUUXM.js';
|
|
@@ -18,8 +18,28 @@ interface HttpClientOptions {
|
|
|
18
18
|
withCredentials?: boolean;
|
|
19
19
|
absoluteUrl?: boolean;
|
|
20
20
|
skipTokenRotation?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Retry after a token refresh even when the session is now in a different tenant than the page
|
|
23
|
+
* expects. Only for requests that establish the tenant themselves, such as the impersonation
|
|
24
|
+
* status.
|
|
25
|
+
*/
|
|
26
|
+
skipSessionCheck?: boolean;
|
|
21
27
|
signal?: AbortSignal;
|
|
22
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* Lets the client tell, after a token refresh, whether the shared session is still in the tenant
|
|
31
|
+
* the page is showing. Registered by the impersonation guards; without one the client retries as
|
|
32
|
+
* it always has.
|
|
33
|
+
*/
|
|
34
|
+
interface SessionTenantGuard {
|
|
35
|
+
/** The tenant the page is showing right now, or null while it does not know yet. */
|
|
36
|
+
expectedTenant: () => string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Asks the server which tenant the session cookie is in now. Must not refresh the token: it runs
|
|
39
|
+
* inside the refresh. Resolves null when it cannot tell.
|
|
40
|
+
*/
|
|
41
|
+
confirmTenant: () => Promise<string | null>;
|
|
42
|
+
}
|
|
23
43
|
interface RequestOptions extends HttpClientOptions {
|
|
24
44
|
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
25
45
|
headers?: HeadersInitValue;
|
|
@@ -70,4 +90,4 @@ interface HttpClientConfig {
|
|
|
70
90
|
onError?: (failure: HttpRequestFailure) => void;
|
|
71
91
|
}
|
|
72
92
|
|
|
73
|
-
export { type HeadersInitValue as H, type RequestBody as R, type HttpClientConfig as a, type HttpClientOptions as b, HttpError as c, type HttpRequestFailure as d, type RequestOptions as e, type RequestQueueItem as f };
|
|
93
|
+
export { type HeadersInitValue as H, type RequestBody as R, type SessionTenantGuard as S, type HttpClientConfig as a, type HttpClientOptions as b, HttpError as c, type HttpRequestFailure as d, type RequestOptions as e, type RequestQueueItem as f };
|