@seliseblocks/genesis-os 4.3.5 → 4.3.7
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-WBSWAHS6.js → chunk-46ZGVJEX.js} +98 -17
- package/dist/chunk-46ZGVJEX.js.map +1 -0
- package/dist/{chunk-FKFBYT22.cjs → chunk-4QKE3WAW.cjs} +103 -18
- package/dist/chunk-4QKE3WAW.cjs.map +1 -0
- package/dist/{chunk-3VNGGYRG.cjs → chunk-4QN4CYSC.cjs} +26 -7
- package/dist/chunk-4QN4CYSC.cjs.map +1 -0
- package/dist/{chunk-ENK42YC4.js → chunk-4UHGGHI6.js} +17 -3
- package/dist/chunk-4UHGGHI6.js.map +1 -0
- package/dist/{chunk-VAKGHXK6.cjs → chunk-6GCU5LM7.cjs} +17 -3
- package/dist/chunk-6GCU5LM7.cjs.map +1 -0
- package/dist/{chunk-NF54AHIF.js → chunk-AHCHUUXM.js} +2 -2
- package/dist/{chunk-NF54AHIF.js.map → chunk-AHCHUUXM.js.map} +1 -1
- package/dist/{chunk-Q7Y32IBM.cjs → chunk-BPJM3L7O.cjs} +2 -2
- package/dist/{chunk-Q7Y32IBM.cjs.map → chunk-BPJM3L7O.cjs.map} +1 -1
- package/dist/{chunk-H47HQ5UX.js → chunk-CBQL2T6H.js} +209 -6
- package/dist/chunk-CBQL2T6H.js.map +1 -0
- package/dist/{chunk-ZVGCCTNK.cjs → chunk-IJMKS4XG.cjs} +12 -12
- package/dist/{chunk-ZVGCCTNK.cjs.map → chunk-IJMKS4XG.cjs.map} +1 -1
- package/dist/{chunk-6WBFAHAO.js → chunk-JITR3QYC.js} +24 -5
- package/dist/chunk-JITR3QYC.js.map +1 -0
- package/dist/{chunk-TE3SKUL4.js → chunk-JSXAKNHQ.js} +3 -3
- package/dist/{chunk-TE3SKUL4.js.map → chunk-JSXAKNHQ.js.map} +1 -1
- package/dist/{chunk-VTOD5ZQU.cjs → chunk-QTSTAWK3.cjs} +3 -3
- package/dist/{chunk-VTOD5ZQU.cjs.map → chunk-QTSTAWK3.cjs.map} +1 -1
- package/dist/{chunk-XALNVJQU.cjs → chunk-SXEXXJHL.cjs} +236 -21
- package/dist/{chunk-H47HQ5UX.js.map → chunk-SXEXXJHL.cjs.map} +1 -1
- package/dist/{chunk-IWWGJQGJ.js → chunk-X7X4QYK4.js} +458 -13
- package/dist/chunk-X7X4QYK4.js.map +1 -0
- package/dist/{chunk-WIY77276.js → chunk-XRAO7JBH.js} +5 -5
- package/dist/{chunk-WIY77276.js.map → chunk-XRAO7JBH.js.map} +1 -1
- package/dist/{chunk-6DQTH7RD.cjs → chunk-YFTRLNLF.cjs} +611 -159
- package/dist/chunk-YFTRLNLF.cjs.map +1 -0
- package/dist/components/index.cjs +359 -361
- package/dist/components/index.js +9 -11
- package/dist/guards/index.cjs +315 -11
- package/dist/guards/index.d.cts +3 -1
- package/dist/guards/index.d.ts +3 -1
- package/dist/guards/index.js +309 -5
- package/dist/hooks/index.cjs +92 -93
- package/dist/hooks/index.js +6 -7
- package/dist/index.cjs +625 -611
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9 -11
- package/dist/layouts/index.cjs +16 -18
- package/dist/layouts/index.js +9 -11
- package/dist/lib/index.cjs +33 -17
- package/dist/lib/index.d.cts +57 -2
- package/dist/lib/index.d.ts +57 -2
- package/dist/lib/index.js +2 -2
- package/dist/pages/index.cjs +14 -16
- package/dist/pages/index.js +9 -11
- package/dist/providers/index.cjs +8 -8
- package/dist/providers/index.js +4 -4
- package/dist/store/index.cjs +10 -10
- package/dist/store/index.d.cts +31 -3
- package/dist/store/index.d.ts +31 -3
- package/dist/store/index.js +2 -2
- package/dist/utils/index.cjs +72 -72
- package/dist/utils/index.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-25L7I5C7.js +0 -265
- package/dist/chunk-25L7I5C7.js.map +0 -1
- package/dist/chunk-3VNGGYRG.cjs.map +0 -1
- package/dist/chunk-6DQTH7RD.cjs.map +0 -1
- package/dist/chunk-6WBFAHAO.js.map +0 -1
- package/dist/chunk-ENK42YC4.js.map +0 -1
- package/dist/chunk-FKFBYT22.cjs.map +0 -1
- package/dist/chunk-HS6F65WY.cjs +0 -273
- package/dist/chunk-HS6F65WY.cjs.map +0 -1
- package/dist/chunk-IICIA5RV.js +0 -212
- package/dist/chunk-IICIA5RV.js.map +0 -1
- package/dist/chunk-IWWGJQGJ.js.map +0 -1
- package/dist/chunk-UVMFL4UV.cjs +0 -225
- package/dist/chunk-UVMFL4UV.cjs.map +0 -1
- package/dist/chunk-VAKGHXK6.cjs.map +0 -1
- package/dist/chunk-WBSWAHS6.js.map +0 -1
- package/dist/chunk-XALNVJQU.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,10 +2,10 @@ export { AuthResolver, ImpersonationChecker, ImpersonationSynchronizer, Imperson
|
|
|
2
2
|
export { AuthLayout, ConsoleLayout, ConsoleLayoutProps, DashboardLayout, DashboardLayoutProps, DashboardRoute, DashboardRouteProps, LayoutProps, OidcContextValue, OidcLayout, PublicLayout, useOidcContext } from './layouts/index.cjs';
|
|
3
3
|
export { DashboardLayoutProvider, QueryProvider, ThemeProvider, getQueryClient } from './providers/index.cjs';
|
|
4
4
|
export { B as BlocksAppLayout } from './blocks-app-layout.provider-CIxfHM6W.cjs';
|
|
5
|
-
export { AppSettings, ProjectStoreState, useAppSettingsStore, useAuthStore, useImpersonateStore, useLanguageViewStore, useLayoutSettingsStore, useProjectStore, useUserStore } from './store/index.cjs';
|
|
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, cn, fadeInScale, fadeInUp, fadeTransition, iamClient, logicClient, motionEase, notificationClient, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem } from './lib/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';
|
|
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';
|
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ export { AuthResolver, ImpersonationChecker, ImpersonationSynchronizer, Imperson
|
|
|
2
2
|
export { AuthLayout, ConsoleLayout, ConsoleLayoutProps, DashboardLayout, DashboardLayoutProps, DashboardRoute, DashboardRouteProps, LayoutProps, OidcContextValue, OidcLayout, PublicLayout, useOidcContext } from './layouts/index.js';
|
|
3
3
|
export { DashboardLayoutProvider, QueryProvider, ThemeProvider, getQueryClient } from './providers/index.js';
|
|
4
4
|
export { B as BlocksAppLayout } from './blocks-app-layout.provider-CaAVR6ae.js';
|
|
5
|
-
export { AppSettings, ProjectStoreState, useAppSettingsStore, useAuthStore, useImpersonateStore, useLanguageViewStore, useLayoutSettingsStore, useProjectStore, useUserStore } from './store/index.js';
|
|
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, cn, fadeInScale, fadeInUp, fadeTransition, iamClient, logicClient, motionEase, notificationClient, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem } from './lib/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';
|
|
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';
|
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, AppSwitcher, ArchiveProject, AspectRatio, AuthLayout, 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, 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, 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-X7X4QYK4.js';
|
|
2
2
|
import './chunk-WL6LTNZN.js';
|
|
3
3
|
import './chunk-3PTLRYMI.js';
|
|
4
4
|
import './chunk-RYYFLMEK.js';
|
|
@@ -298,20 +298,18 @@ 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, useFuseIndex, useFuseSearch, useGetAllServices, useGetBlocksNotificationConfig, useGetMyOrganizations, useGetNotifications, useIcon, useInitiateRedirect, useKeyboardShortcut, useLanguage, useLanguageSwitcher, useLogin, useLogo, useLogout, useMarkAllAsRead, useMarkAsRead, useMediaQuery, usePathSegments, usePopoverWidth, usePrefetchRedirect, useQueryClientKit, useQueryStatesKit, useScopedPath, useSignUpAffordance, useSignUpRedirect, useTheme } from './chunk-
|
|
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-
|
|
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-CBQL2T6H.js';
|
|
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 {
|
|
305
|
-
export { useFilteredMenus, useIsActiveMenu, useIsMobile } from './chunk-NF54AHIF.js';
|
|
306
|
-
export { reducer, toast, useToast } from './chunk-XUQVWFG5.js';
|
|
307
|
-
export { AppLoadingSpinner, AuthResolver, ImpersonationChecker, ImpersonationSynchronizer, ImpersonationTerminator, ProtectedGuard, PublicGuard } from './chunk-25L7I5C7.js';
|
|
308
|
-
export { useDisableProject, useGetEnvRepositories, useGetProject, useGetProjects, useImpersonationStatusChecker, useStartImpersonation, useStopImpersonation, useUpdateProject, useUpdateRepositories, useUpdateTenantGroup, useValidateCNameProject } from './chunk-IICIA5RV.js';
|
|
309
|
-
export { HttpClient, fadeInScale, fadeInUp, fadeTransition, iamClient, logicClient, motionEase, notificationClient, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem } from './chunk-WBSWAHS6.js';
|
|
304
|
+
export { HttpClient, TAB_ID, claimTenant, fadeInScale, fadeInUp, fadeTransition, iamClient, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToTenantClaims } from './chunk-46ZGVJEX.js';
|
|
310
305
|
export { HttpError, createRuntimeEnvGetter, getRuntimeEnv } from './chunk-JUVLHPQI.js';
|
|
306
|
+
export { BlocksAppLayout, DashboardLayoutProvider, QueryProvider, ThemeProvider, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster } from './chunk-XRAO7JBH.js';
|
|
307
|
+
export { useFilteredMenus, useIsActiveMenu, useIsMobile } from './chunk-AHCHUUXM.js';
|
|
308
|
+
export { reducer, toast, useToast } from './chunk-XUQVWFG5.js';
|
|
311
309
|
export { cn } from './chunk-3MLPBMH2.js';
|
|
312
310
|
export { getQueryClient } from './chunk-BRHE44FE.js';
|
|
313
|
-
export { CreateAppConfigStore, useAppSettingsStore, useImpersonateStore, useLanguageViewStore, useLayoutSettingsStore, useUserStore } from './chunk-
|
|
314
|
-
export { CookieStorage, applyTheme, getSystemTheme, useAuthStore, useProjectStore } from './chunk-
|
|
311
|
+
export { CreateAppConfigStore, useAppSettingsStore, useImpersonateStore, useLanguageViewStore, useLayoutSettingsStore, useUserStore } from './chunk-JITR3QYC.js';
|
|
312
|
+
export { CookieStorage, applyTheme, getSystemTheme, useAuthStore, useProjectStore } from './chunk-4UHGGHI6.js';
|
|
315
313
|
import './chunk-PL4HS6R6.js';
|
|
316
314
|
//# sourceMappingURL=index.js.map
|
|
317
315
|
//# sourceMappingURL=index.js.map
|
package/dist/layouts/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYFTRLNLF_cjs = require('../chunk-YFTRLNLF.cjs');
|
|
4
4
|
require('../chunk-JQ4U53QV.cjs');
|
|
5
5
|
require('../chunk-APGPL56X.cjs');
|
|
6
6
|
require('../chunk-JQZAKF5A.cjs');
|
|
@@ -300,51 +300,49 @@ 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-
|
|
304
|
-
require('../chunk-
|
|
303
|
+
require('../chunk-SXEXXJHL.cjs');
|
|
304
|
+
require('../chunk-QTSTAWK3.cjs');
|
|
305
305
|
require('../chunk-FQ2QETFA.cjs');
|
|
306
|
-
require('../chunk-
|
|
307
|
-
require('../chunk-Q7Y32IBM.cjs');
|
|
308
|
-
require('../chunk-ZK3WUWET.cjs');
|
|
309
|
-
require('../chunk-HS6F65WY.cjs');
|
|
310
|
-
require('../chunk-UVMFL4UV.cjs');
|
|
311
|
-
require('../chunk-FKFBYT22.cjs');
|
|
306
|
+
require('../chunk-4QKE3WAW.cjs');
|
|
312
307
|
require('../chunk-X4YCRWXO.cjs');
|
|
308
|
+
require('../chunk-IJMKS4XG.cjs');
|
|
309
|
+
require('../chunk-BPJM3L7O.cjs');
|
|
310
|
+
require('../chunk-ZK3WUWET.cjs');
|
|
313
311
|
require('../chunk-YAF2X7W5.cjs');
|
|
314
312
|
require('../chunk-F2LXD7RI.cjs');
|
|
315
|
-
require('../chunk-
|
|
316
|
-
require('../chunk-
|
|
313
|
+
require('../chunk-4QN4CYSC.cjs');
|
|
314
|
+
require('../chunk-6GCU5LM7.cjs');
|
|
317
315
|
require('../chunk-QJOVCH5A.cjs');
|
|
318
316
|
|
|
319
317
|
|
|
320
318
|
|
|
321
319
|
Object.defineProperty(exports, "AuthLayout", {
|
|
322
320
|
enumerable: true,
|
|
323
|
-
get: function () { return
|
|
321
|
+
get: function () { return chunkYFTRLNLF_cjs.AuthLayout; }
|
|
324
322
|
});
|
|
325
323
|
Object.defineProperty(exports, "ConsoleLayout", {
|
|
326
324
|
enumerable: true,
|
|
327
|
-
get: function () { return
|
|
325
|
+
get: function () { return chunkYFTRLNLF_cjs.ConsoleLayout; }
|
|
328
326
|
});
|
|
329
327
|
Object.defineProperty(exports, "DashboardLayout", {
|
|
330
328
|
enumerable: true,
|
|
331
|
-
get: function () { return
|
|
329
|
+
get: function () { return chunkYFTRLNLF_cjs.DashboardLayout; }
|
|
332
330
|
});
|
|
333
331
|
Object.defineProperty(exports, "DashboardRoute", {
|
|
334
332
|
enumerable: true,
|
|
335
|
-
get: function () { return
|
|
333
|
+
get: function () { return chunkYFTRLNLF_cjs.DashboardRoute; }
|
|
336
334
|
});
|
|
337
335
|
Object.defineProperty(exports, "OidcLayout", {
|
|
338
336
|
enumerable: true,
|
|
339
|
-
get: function () { return
|
|
337
|
+
get: function () { return chunkYFTRLNLF_cjs.OidcLayout; }
|
|
340
338
|
});
|
|
341
339
|
Object.defineProperty(exports, "PublicLayout", {
|
|
342
340
|
enumerable: true,
|
|
343
|
-
get: function () { return
|
|
341
|
+
get: function () { return chunkYFTRLNLF_cjs.PublicLayout; }
|
|
344
342
|
});
|
|
345
343
|
Object.defineProperty(exports, "useOidcContext", {
|
|
346
344
|
enumerable: true,
|
|
347
|
-
get: function () { return
|
|
345
|
+
get: function () { return chunkYFTRLNLF_cjs.useOidcContext; }
|
|
348
346
|
});
|
|
349
347
|
//# sourceMappingURL=index.cjs.map
|
|
350
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-X7X4QYK4.js';
|
|
2
2
|
import '../chunk-WL6LTNZN.js';
|
|
3
3
|
import '../chunk-3PTLRYMI.js';
|
|
4
4
|
import '../chunk-RYYFLMEK.js';
|
|
@@ -298,20 +298,18 @@ 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-
|
|
302
|
-
import '../chunk-
|
|
301
|
+
import '../chunk-CBQL2T6H.js';
|
|
302
|
+
import '../chunk-JSXAKNHQ.js';
|
|
303
303
|
import '../chunk-T3FFMBIJ.js';
|
|
304
|
-
import '../chunk-
|
|
305
|
-
import '../chunk-NF54AHIF.js';
|
|
306
|
-
import '../chunk-XUQVWFG5.js';
|
|
307
|
-
import '../chunk-25L7I5C7.js';
|
|
308
|
-
import '../chunk-IICIA5RV.js';
|
|
309
|
-
import '../chunk-WBSWAHS6.js';
|
|
304
|
+
import '../chunk-46ZGVJEX.js';
|
|
310
305
|
import '../chunk-JUVLHPQI.js';
|
|
306
|
+
import '../chunk-XRAO7JBH.js';
|
|
307
|
+
import '../chunk-AHCHUUXM.js';
|
|
308
|
+
import '../chunk-XUQVWFG5.js';
|
|
311
309
|
import '../chunk-3MLPBMH2.js';
|
|
312
310
|
import '../chunk-BRHE44FE.js';
|
|
313
|
-
import '../chunk-
|
|
314
|
-
import '../chunk-
|
|
311
|
+
import '../chunk-JITR3QYC.js';
|
|
312
|
+
import '../chunk-4UHGGHI6.js';
|
|
315
313
|
import '../chunk-PL4HS6R6.js';
|
|
316
314
|
//# sourceMappingURL=index.js.map
|
|
317
315
|
//# sourceMappingURL=index.js.map
|
package/dist/lib/index.cjs
CHANGED
|
@@ -1,61 +1,77 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4QKE3WAW_cjs = require('../chunk-4QKE3WAW.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');
|
|
7
|
-
var
|
|
7
|
+
var chunk6GCU5LM7_cjs = require('../chunk-6GCU5LM7.cjs');
|
|
8
8
|
require('../chunk-QJOVCH5A.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "HttpClient", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk4QKE3WAW_cjs.HttpClient; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "TAB_ID", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunk4QKE3WAW_cjs.TAB_ID; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "claimTenant", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunk4QKE3WAW_cjs.claimTenant; }
|
|
15
23
|
});
|
|
16
24
|
Object.defineProperty(exports, "fadeInScale", {
|
|
17
25
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk4QKE3WAW_cjs.fadeInScale; }
|
|
19
27
|
});
|
|
20
28
|
Object.defineProperty(exports, "fadeInUp", {
|
|
21
29
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk4QKE3WAW_cjs.fadeInUp; }
|
|
23
31
|
});
|
|
24
32
|
Object.defineProperty(exports, "fadeTransition", {
|
|
25
33
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk4QKE3WAW_cjs.fadeTransition; }
|
|
27
35
|
});
|
|
28
36
|
Object.defineProperty(exports, "iamClient", {
|
|
29
37
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunk4QKE3WAW_cjs.iamClient; }
|
|
31
39
|
});
|
|
32
40
|
Object.defineProperty(exports, "logicClient", {
|
|
33
41
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunk4QKE3WAW_cjs.logicClient; }
|
|
35
43
|
});
|
|
36
44
|
Object.defineProperty(exports, "motionEase", {
|
|
37
45
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunk4QKE3WAW_cjs.motionEase; }
|
|
39
47
|
});
|
|
40
48
|
Object.defineProperty(exports, "notificationClient", {
|
|
41
49
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunk4QKE3WAW_cjs.notificationClient; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "readCurrentOwner", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunk4QKE3WAW_cjs.readCurrentOwner; }
|
|
43
55
|
});
|
|
44
56
|
Object.defineProperty(exports, "resolveBaseUrl", {
|
|
45
57
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunk4QKE3WAW_cjs.resolveBaseUrl; }
|
|
47
59
|
});
|
|
48
60
|
Object.defineProperty(exports, "resolveEnv", {
|
|
49
61
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunk4QKE3WAW_cjs.resolveEnv; }
|
|
51
63
|
});
|
|
52
64
|
Object.defineProperty(exports, "staggerContainer", {
|
|
53
65
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunk4QKE3WAW_cjs.staggerContainer; }
|
|
55
67
|
});
|
|
56
68
|
Object.defineProperty(exports, "staggerItem", {
|
|
57
69
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunk4QKE3WAW_cjs.staggerItem; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "subscribeToTenantClaims", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunk4QKE3WAW_cjs.subscribeToTenantClaims; }
|
|
59
75
|
});
|
|
60
76
|
Object.defineProperty(exports, "HttpError", {
|
|
61
77
|
enumerable: true,
|
|
@@ -75,15 +91,15 @@ Object.defineProperty(exports, "cn", {
|
|
|
75
91
|
});
|
|
76
92
|
Object.defineProperty(exports, "CookieStorage", {
|
|
77
93
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunk6GCU5LM7_cjs.CookieStorage; }
|
|
79
95
|
});
|
|
80
96
|
Object.defineProperty(exports, "applyTheme", {
|
|
81
97
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunk6GCU5LM7_cjs.applyTheme; }
|
|
83
99
|
});
|
|
84
100
|
Object.defineProperty(exports, "getSystemTheme", {
|
|
85
101
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunk6GCU5LM7_cjs.getSystemTheme; }
|
|
87
103
|
});
|
|
88
104
|
//# sourceMappingURL=index.cjs.map
|
|
89
105
|
//# sourceMappingURL=index.cjs.map
|
package/dist/lib/index.d.cts
CHANGED
|
@@ -18,12 +18,13 @@ declare class HttpClient {
|
|
|
18
18
|
private loginRedirectPath;
|
|
19
19
|
private autoRedirectOnAuthFailure;
|
|
20
20
|
private onError?;
|
|
21
|
-
private
|
|
21
|
+
private static readonly refreshPromises;
|
|
22
22
|
constructor(config: HttpClientConfig);
|
|
23
23
|
private getBaseURL;
|
|
24
24
|
private getBlocksKey;
|
|
25
25
|
private normalizeHeaders;
|
|
26
26
|
private prepareBody;
|
|
27
|
+
private refreshLockKey;
|
|
27
28
|
private refreshAccessToken;
|
|
28
29
|
private performRefresh;
|
|
29
30
|
private handleRefreshFailure;
|
|
@@ -95,4 +96,58 @@ declare const fadeInScale: Variants;
|
|
|
95
96
|
declare const staggerContainer: Variants;
|
|
96
97
|
declare const staggerItem: Variants;
|
|
97
98
|
|
|
98
|
-
|
|
99
|
+
/**
|
|
100
|
+
* Cross-tab ownership of the impersonation cookie.
|
|
101
|
+
*
|
|
102
|
+
* The access token lives in a cookie named after the application domain alone -- no tenant, no
|
|
103
|
+
* project, no per-tab discriminator -- so every tab on the origin shares exactly one token. The tab
|
|
104
|
+
* that impersonated most recently owns it; every other tab is pointed somewhere it does not know
|
|
105
|
+
* about.
|
|
106
|
+
*
|
|
107
|
+
* Nothing in the browser can detect that from inside a tab. The cookie is `HttpOnly`, so neither
|
|
108
|
+
* `document.cookie` nor CookieStore change events can see it, and the only server-side signal --
|
|
109
|
+
* the impersonation status endpoint -- is refetched on window focus. A tab that is *visible but not
|
|
110
|
+
* focused* (a second monitor) therefore keeps polling happily under another project's token, with
|
|
111
|
+
* its own store and its own route agreeing with each other and both being stale.
|
|
112
|
+
*
|
|
113
|
+
* Comparing two client-side values cannot catch that: the staleness is in both of them. The signal
|
|
114
|
+
* has to come from outside the tab. This module is that signal.
|
|
115
|
+
*
|
|
116
|
+
* `BroadcastChannel` is scoped to the origin, which is precisely the set of tabs that share the
|
|
117
|
+
* cookie -- coordination reach and conflict reach are the same set, so nothing is over- or
|
|
118
|
+
* under-notified. Where it is unavailable we fall back to a `localStorage` write, whose `storage`
|
|
119
|
+
* event fires in every *other* tab of the origin and gives the same reach.
|
|
120
|
+
*/
|
|
121
|
+
interface TenantClaim {
|
|
122
|
+
/** The tenant the claiming tab impersonated. */
|
|
123
|
+
tenantId: string;
|
|
124
|
+
/** Identifies the claiming tab so it can ignore its own message. */
|
|
125
|
+
tabId: string;
|
|
126
|
+
ts: number;
|
|
127
|
+
}
|
|
128
|
+
/** Stable for the lifetime of this document, which is exactly the lifetime of the cookie's owner. */
|
|
129
|
+
declare const TAB_ID: string;
|
|
130
|
+
/**
|
|
131
|
+
* Announce that this tab has taken the cookie for `tenantId`.
|
|
132
|
+
*
|
|
133
|
+
* Called after a *successful* impersonation only. Announcing an attempt would detach other tabs on
|
|
134
|
+
* the strength of a call that may still fail, leaving every tab detached and none of them owning
|
|
135
|
+
* anything.
|
|
136
|
+
*/
|
|
137
|
+
declare const claimTenant: (tenantId: string) => void;
|
|
138
|
+
/**
|
|
139
|
+
* The last claim made by any tab on this origin, or null if none is recorded.
|
|
140
|
+
*
|
|
141
|
+
* 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.
|
|
143
|
+
*/
|
|
144
|
+
declare const readCurrentOwner: () => TenantClaim | null;
|
|
145
|
+
/**
|
|
146
|
+
* Subscribe to claims made by other tabs. Returns an unsubscribe function.
|
|
147
|
+
*
|
|
148
|
+
* This tab's own claims are filtered out, so a handler only ever sees a tenant change it did not
|
|
149
|
+
* cause.
|
|
150
|
+
*/
|
|
151
|
+
declare const subscribeToTenantClaims: (onClaim: (claim: TenantClaim) => void) => (() => void);
|
|
152
|
+
|
|
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 };
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -18,12 +18,13 @@ declare class HttpClient {
|
|
|
18
18
|
private loginRedirectPath;
|
|
19
19
|
private autoRedirectOnAuthFailure;
|
|
20
20
|
private onError?;
|
|
21
|
-
private
|
|
21
|
+
private static readonly refreshPromises;
|
|
22
22
|
constructor(config: HttpClientConfig);
|
|
23
23
|
private getBaseURL;
|
|
24
24
|
private getBlocksKey;
|
|
25
25
|
private normalizeHeaders;
|
|
26
26
|
private prepareBody;
|
|
27
|
+
private refreshLockKey;
|
|
27
28
|
private refreshAccessToken;
|
|
28
29
|
private performRefresh;
|
|
29
30
|
private handleRefreshFailure;
|
|
@@ -95,4 +96,58 @@ declare const fadeInScale: Variants;
|
|
|
95
96
|
declare const staggerContainer: Variants;
|
|
96
97
|
declare const staggerItem: Variants;
|
|
97
98
|
|
|
98
|
-
|
|
99
|
+
/**
|
|
100
|
+
* Cross-tab ownership of the impersonation cookie.
|
|
101
|
+
*
|
|
102
|
+
* The access token lives in a cookie named after the application domain alone -- no tenant, no
|
|
103
|
+
* project, no per-tab discriminator -- so every tab on the origin shares exactly one token. The tab
|
|
104
|
+
* that impersonated most recently owns it; every other tab is pointed somewhere it does not know
|
|
105
|
+
* about.
|
|
106
|
+
*
|
|
107
|
+
* Nothing in the browser can detect that from inside a tab. The cookie is `HttpOnly`, so neither
|
|
108
|
+
* `document.cookie` nor CookieStore change events can see it, and the only server-side signal --
|
|
109
|
+
* the impersonation status endpoint -- is refetched on window focus. A tab that is *visible but not
|
|
110
|
+
* focused* (a second monitor) therefore keeps polling happily under another project's token, with
|
|
111
|
+
* its own store and its own route agreeing with each other and both being stale.
|
|
112
|
+
*
|
|
113
|
+
* Comparing two client-side values cannot catch that: the staleness is in both of them. The signal
|
|
114
|
+
* has to come from outside the tab. This module is that signal.
|
|
115
|
+
*
|
|
116
|
+
* `BroadcastChannel` is scoped to the origin, which is precisely the set of tabs that share the
|
|
117
|
+
* cookie -- coordination reach and conflict reach are the same set, so nothing is over- or
|
|
118
|
+
* under-notified. Where it is unavailable we fall back to a `localStorage` write, whose `storage`
|
|
119
|
+
* event fires in every *other* tab of the origin and gives the same reach.
|
|
120
|
+
*/
|
|
121
|
+
interface TenantClaim {
|
|
122
|
+
/** The tenant the claiming tab impersonated. */
|
|
123
|
+
tenantId: string;
|
|
124
|
+
/** Identifies the claiming tab so it can ignore its own message. */
|
|
125
|
+
tabId: string;
|
|
126
|
+
ts: number;
|
|
127
|
+
}
|
|
128
|
+
/** Stable for the lifetime of this document, which is exactly the lifetime of the cookie's owner. */
|
|
129
|
+
declare const TAB_ID: string;
|
|
130
|
+
/**
|
|
131
|
+
* Announce that this tab has taken the cookie for `tenantId`.
|
|
132
|
+
*
|
|
133
|
+
* Called after a *successful* impersonation only. Announcing an attempt would detach other tabs on
|
|
134
|
+
* the strength of a call that may still fail, leaving every tab detached and none of them owning
|
|
135
|
+
* anything.
|
|
136
|
+
*/
|
|
137
|
+
declare const claimTenant: (tenantId: string) => void;
|
|
138
|
+
/**
|
|
139
|
+
* The last claim made by any tab on this origin, or null if none is recorded.
|
|
140
|
+
*
|
|
141
|
+
* 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.
|
|
143
|
+
*/
|
|
144
|
+
declare const readCurrentOwner: () => TenantClaim | null;
|
|
145
|
+
/**
|
|
146
|
+
* Subscribe to claims made by other tabs. Returns an unsubscribe function.
|
|
147
|
+
*
|
|
148
|
+
* This tab's own claims are filtered out, so a handler only ever sees a tenant change it did not
|
|
149
|
+
* cause.
|
|
150
|
+
*/
|
|
151
|
+
declare const subscribeToTenantClaims: (onClaim: (claim: TenantClaim) => void) => (() => void);
|
|
152
|
+
|
|
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 };
|
package/dist/lib/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { HttpClient, fadeInScale, fadeInUp, fadeTransition, iamClient, logicClient, motionEase, notificationClient, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem } from '../chunk-
|
|
1
|
+
export { HttpClient, TAB_ID, claimTenant, fadeInScale, fadeInUp, fadeTransition, iamClient, logicClient, motionEase, notificationClient, readCurrentOwner, resolveBaseUrl, resolveEnv, staggerContainer, staggerItem, subscribeToTenantClaims } from '../chunk-46ZGVJEX.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';
|
|
5
|
-
export { CookieStorage, applyTheme, getSystemTheme } from '../chunk-
|
|
5
|
+
export { CookieStorage, applyTheme, getSystemTheme } from '../chunk-4UHGGHI6.js';
|
|
6
6
|
import '../chunk-PL4HS6R6.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
package/dist/pages/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYFTRLNLF_cjs = require('../chunk-YFTRLNLF.cjs');
|
|
4
4
|
require('../chunk-JQ4U53QV.cjs');
|
|
5
5
|
require('../chunk-APGPL56X.cjs');
|
|
6
6
|
require('../chunk-JQZAKF5A.cjs');
|
|
@@ -300,43 +300,41 @@ 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-
|
|
304
|
-
require('../chunk-
|
|
303
|
+
require('../chunk-SXEXXJHL.cjs');
|
|
304
|
+
require('../chunk-QTSTAWK3.cjs');
|
|
305
305
|
require('../chunk-FQ2QETFA.cjs');
|
|
306
|
-
require('../chunk-
|
|
307
|
-
require('../chunk-Q7Y32IBM.cjs');
|
|
308
|
-
require('../chunk-ZK3WUWET.cjs');
|
|
309
|
-
require('../chunk-HS6F65WY.cjs');
|
|
310
|
-
require('../chunk-UVMFL4UV.cjs');
|
|
311
|
-
require('../chunk-FKFBYT22.cjs');
|
|
306
|
+
require('../chunk-4QKE3WAW.cjs');
|
|
312
307
|
require('../chunk-X4YCRWXO.cjs');
|
|
308
|
+
require('../chunk-IJMKS4XG.cjs');
|
|
309
|
+
require('../chunk-BPJM3L7O.cjs');
|
|
310
|
+
require('../chunk-ZK3WUWET.cjs');
|
|
313
311
|
require('../chunk-YAF2X7W5.cjs');
|
|
314
312
|
require('../chunk-F2LXD7RI.cjs');
|
|
315
|
-
require('../chunk-
|
|
316
|
-
require('../chunk-
|
|
313
|
+
require('../chunk-4QN4CYSC.cjs');
|
|
314
|
+
require('../chunk-6GCU5LM7.cjs');
|
|
317
315
|
require('../chunk-QJOVCH5A.cjs');
|
|
318
316
|
|
|
319
317
|
|
|
320
318
|
|
|
321
319
|
Object.defineProperty(exports, "CallbackPage", {
|
|
322
320
|
enumerable: true,
|
|
323
|
-
get: function () { return
|
|
321
|
+
get: function () { return chunkYFTRLNLF_cjs.CallbackPage; }
|
|
324
322
|
});
|
|
325
323
|
Object.defineProperty(exports, "ConsolePage", {
|
|
326
324
|
enumerable: true,
|
|
327
|
-
get: function () { return
|
|
325
|
+
get: function () { return chunkYFTRLNLF_cjs.ConsolePage; }
|
|
328
326
|
});
|
|
329
327
|
Object.defineProperty(exports, "DashboardOverview", {
|
|
330
328
|
enumerable: true,
|
|
331
|
-
get: function () { return
|
|
329
|
+
get: function () { return chunkYFTRLNLF_cjs.DashboardOverview; }
|
|
332
330
|
});
|
|
333
331
|
Object.defineProperty(exports, "LoginPage", {
|
|
334
332
|
enumerable: true,
|
|
335
|
-
get: function () { return
|
|
333
|
+
get: function () { return chunkYFTRLNLF_cjs.LoginPage; }
|
|
336
334
|
});
|
|
337
335
|
Object.defineProperty(exports, "ProfilePage", {
|
|
338
336
|
enumerable: true,
|
|
339
|
-
get: function () { return
|
|
337
|
+
get: function () { return chunkYFTRLNLF_cjs.ProfilePage; }
|
|
340
338
|
});
|
|
341
339
|
//# sourceMappingURL=index.cjs.map
|
|
342
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-X7X4QYK4.js';
|
|
2
2
|
import '../chunk-WL6LTNZN.js';
|
|
3
3
|
import '../chunk-3PTLRYMI.js';
|
|
4
4
|
import '../chunk-RYYFLMEK.js';
|
|
@@ -298,20 +298,18 @@ 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-
|
|
302
|
-
import '../chunk-
|
|
301
|
+
import '../chunk-CBQL2T6H.js';
|
|
302
|
+
import '../chunk-JSXAKNHQ.js';
|
|
303
303
|
import '../chunk-T3FFMBIJ.js';
|
|
304
|
-
import '../chunk-
|
|
305
|
-
import '../chunk-NF54AHIF.js';
|
|
306
|
-
import '../chunk-XUQVWFG5.js';
|
|
307
|
-
import '../chunk-25L7I5C7.js';
|
|
308
|
-
import '../chunk-IICIA5RV.js';
|
|
309
|
-
import '../chunk-WBSWAHS6.js';
|
|
304
|
+
import '../chunk-46ZGVJEX.js';
|
|
310
305
|
import '../chunk-JUVLHPQI.js';
|
|
306
|
+
import '../chunk-XRAO7JBH.js';
|
|
307
|
+
import '../chunk-AHCHUUXM.js';
|
|
308
|
+
import '../chunk-XUQVWFG5.js';
|
|
311
309
|
import '../chunk-3MLPBMH2.js';
|
|
312
310
|
import '../chunk-BRHE44FE.js';
|
|
313
|
-
import '../chunk-
|
|
314
|
-
import '../chunk-
|
|
311
|
+
import '../chunk-JITR3QYC.js';
|
|
312
|
+
import '../chunk-4UHGGHI6.js';
|
|
315
313
|
import '../chunk-PL4HS6R6.js';
|
|
316
314
|
//# sourceMappingURL=index.js.map
|
|
317
315
|
//# sourceMappingURL=index.js.map
|
package/dist/providers/index.cjs
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkIJMKS4XG_cjs = require('../chunk-IJMKS4XG.cjs');
|
|
4
|
+
require('../chunk-BPJM3L7O.cjs');
|
|
5
5
|
require('../chunk-ZK3WUWET.cjs');
|
|
6
6
|
require('../chunk-YAF2X7W5.cjs');
|
|
7
7
|
var chunkF2LXD7RI_cjs = require('../chunk-F2LXD7RI.cjs');
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-4QN4CYSC.cjs');
|
|
9
|
+
require('../chunk-6GCU5LM7.cjs');
|
|
10
10
|
require('../chunk-QJOVCH5A.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "BlocksAppLayout", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkIJMKS4XG_cjs.BlocksAppLayout; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "DashboardLayoutProvider", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkIJMKS4XG_cjs.DashboardLayoutProvider; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "QueryProvider", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkIJMKS4XG_cjs.QueryProvider; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "ThemeProvider", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkIJMKS4XG_cjs.ThemeProvider; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "getQueryClient", {
|
|
31
31
|
enumerable: true,
|
package/dist/providers/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { BlocksAppLayout, DashboardLayoutProvider, QueryProvider, ThemeProvider } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { BlocksAppLayout, DashboardLayoutProvider, QueryProvider, ThemeProvider } from '../chunk-XRAO7JBH.js';
|
|
2
|
+
import '../chunk-AHCHUUXM.js';
|
|
3
3
|
import '../chunk-XUQVWFG5.js';
|
|
4
4
|
import '../chunk-3MLPBMH2.js';
|
|
5
5
|
export { getQueryClient } from '../chunk-BRHE44FE.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-JITR3QYC.js';
|
|
7
|
+
import '../chunk-4UHGGHI6.js';
|
|
8
8
|
import '../chunk-PL4HS6R6.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
10
10
|
//# sourceMappingURL=index.js.map
|