Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Template management in dashboard

Mish Ushakov1ee0bf36d3c7
diff --git a/apps/web/package.json b/apps/web/package.json
index 074d2bd73..f3bfb5314 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -27,6 +27,7 @@
"@radix-ui/react-popover": "^1.0.6",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-toast": "^1.1.5",
+ "@radix-ui/react-tooltip": "^1.1.4",
"@sentry/nextjs": "^8.18.0",
"@sindresorhus/slugify": "^2.1.1",
"@supabase/auth-helpers-nextjs": "^0.7.4",
diff --git a/apps/web/src/components/Dashboard/Templates.tsx b/apps/web/src/components/Dashboard/Templates.tsx
index 87d157a18..7a7d75106 100644
--- a/apps/web/src/components/Dashboard/Templates.tsx
+++ b/apps/web/src/components/Dashboard/Templates.tsx
@@ -10,6 +10,31 @@ import {
import { useState } from 'react'
import { useEffect } from 'react'
import { E2BUser } from '@/utils/useUser'
+import { Lock, LockOpen, MoreVertical, Trash } from 'lucide-react'
+import {
+ DropdownMenu,
+ DropdownMenuItem,
+ DropdownMenuContent,
+ DropdownMenuTrigger,
+} from '@/components/ui/dropdown-menu'
+import {
+ AlertDialog,
+ AlertDialogCancel,
+ AlertDialogContent,
+ AlertDialogDescription,
+ AlertDialogFooter,
+ AlertDialogHeader,
+ AlertDialogTitle,
+ AlertDialogAction,
+} from '../ui/alert-dialog'
+import { toast } from '../ui/use-toast'
+import { Button } from '../ui/button'
+import {
+ Tooltip,
+ TooltipContent,
+ TooltipProvider,
+ TooltipTrigger,
+} from '../ui/tooltip'
interface Template {
aliases: string[]
@@ -18,6 +43,12 @@ interface Template {
memoryMB: number
public: boolean
templateID: string
+ createdAt: string
+ updatedAt: string
+ createdBy: {
+ email: string
+ id: string
+ } | null
}
export function TemplatesContent({
@@ -28,43 +59,128 @@ export function TemplatesContent({
teamId: string
}) {
const [templates, setTemplates] = useState<Template[]>([])
+ const [currentTemplate, setCurrentTemplate] = useState<Template | null>(null)
+ const [isPublishTemplateDialogOpen, setIsPublishTemplateDialogOpen] =
+ useState(false)
+ const [isDeleteTemplateDialogOpen, setIsDeleteTemplateDialogOpen] =
+ useState(false)
useEffect(() => {
- function f() {
- const accessToken = user.accessToken
- if (accessToken) {
- fetchTemplates(accessToken, teamId).then((newTemplates) => {
- if (newTemplates) {
- setTemplates(newTemplates)
- }
+ async function fetchTemplates() {
+ const res = await fetch(
+ `http://localhost:3000/templates?teamID=${teamId}`,
+ {
+ method: 'GET',
+ headers: {
+ Authorization: `Bearer ${user.accessToken}`,
+ },
+ }
+ )
+
+ const data: Template[] = await res.json()
+ if (!res.ok) {
+ toast({
+ title: 'An error occurred',
+ description: 'We were unable to fetch the team members',
})
+ console.log(res.statusText)
+ return
}
- }
- const interval = setInterval(() => {
- f()
- }, 5000)
+ // Display the most recently updated templates first
+ const orderedData = data.sort((a, b) => {
+ return new Date(b.updatedAt).getTime() - new Date(a.updatedAt).getTime()
+ })
+ setTemplates(orderedData)
+ }
- f()
- // Cleanup interval on component unmount
- return () => clearInterval(interval)
+ fetchTemplates()
}, [user, teamId])
+ async function deleteTemplate() {
+ const res = await fetch(
+ `http://localhost:3000/templates/${currentTemplate?.templateID}`,
+ {
+ method: 'DELETE',
+ headers: {
+ Authorization: `Bearer ${user.accessToken}`,
+ },
+ }
+ )
+
+ if (!res.ok) {
+ return toast({
+ title: 'An error occurred',
+ description: 'We were unable to delete the template',
+ })
+ }
+
+ setTemplates(
+ templates.filter(
+ (template) => template.templateID !== currentTemplate?.templateID
+ )
+ )
+ setCurrentTemplate(null)
+ setIsDeleteTemplateDialogOpen(false)
+ }
+
+ async function publishTemplate() {
+ const res = await fetch(
+ `http://localhost:3000/templates/${currentTemplate?.templateID}`,
+ {
+ method: 'PATCH',
+ headers: {
+ Authorization: `Bearer ${user.accessToken}`,
+ 'Content-Type': 'application/json',
+ },
+ body: JSON.stringify({
+ public: !currentTemplate?.public,
+ }),
+ }
+ )
+
+ if (!res.ok) {
+ return toast({
+ title: 'An error occurred',
+ description: 'We were unable to update the template',
+ })
+ }
+
+ toast({
+ title: 'Template updated',
+ description: 'The template has been updated successfully',
+ })
+
+ setTemplates(
+ templates.map((template) =>
+ template.templateID === currentTemplate?.templateID
+ ? { ...template, public: !template.public }
+ : template
+ )
+ )
+ setCurrentTemplate(null)
+ setIsPublishTemplateDialogOpen(false)
+ }
+
return (
<div className="flex flex-col justify-center">
<Table>
<TableHeader>
- <TableRow className="hover:bg-orange-500/10 dark:hover:bg-orange-500/10 border-b border-white/5 ">
+ <TableRow className="hover:bg-orange-500/10 dark:hover:bg-orange-500/10 border-b border-white/5">
+ <TableHead>Visibility</TableHead>
<TableHead>Template ID</TableHead>
- <TableHead>Template Name</TableHead>
+ <TableHead>Aliases</TableHead>
<TableHead>vCPUs</TableHead>
<TableHead>RAM MiB</TableHead>
+ <TableHead>Created by</TableHead>
+ <TableHead>Created at</TableHead>
+ <TableHead></TableHead>
</TableRow>
</TableHeader>
<TableBody>
{templates.length === 0 ? (
<TableRow>
- <TableCell colSpan={4} className="text-center">
+ <TableCell colSpan={8} className="text-center">
No templates
</TableCell>
</TableRow>
@@ -74,34 +190,145 @@ export function TemplatesContent({
className="hover:bg-orange-300/10 dark:hover:bg-orange-300/10 border-b border-white/5"
key={template.templateID}
>
+ <TableCell>
+ <TooltipProvider>
+ <Tooltip>
+ <TooltipTrigger asChild>
+ <Button
+ variant="ghost"
+ size="icon"
+ onClick={() => {
+ setCurrentTemplate(template)
+ setIsPublishTemplateDialogOpen(true)
+ }}
+ >
+ {template.public ? (
+ <LockOpen className="w-4 h-4" />
+ ) : (
+ <Lock className="w-4 h-4" />
+ )}
+ </Button>
+ </TooltipTrigger>
+ <TooltipContent>Change visibility</TooltipContent>
+ </Tooltip>
+ </TooltipProvider>
+ </TableCell>
<TableCell>{template.templateID}</TableCell>
- <TableCell>{template.aliases[0]}</TableCell>
+ <TableCell className="font-mono">
+ {template.aliases.join(', ')}
+ </TableCell>
<TableCell>{template.cpuCount}</TableCell>
<TableCell>{template.memoryMB}</TableCell>
+ <TableCell>{template.createdBy?.email}</TableCell>
+ <TableCell>
+ {new Date(template.createdAt).toLocaleString()}
+ </TableCell>
+ <TableCell>
+ <DropdownMenu>
+ <DropdownMenuTrigger>
+ <MoreVertical className="w-4 h-4" />
+ </DropdownMenuTrigger>
+ <DropdownMenuContent>
+ <DropdownMenuItem
+ onClick={() => {
+ setCurrentTemplate(template)
+ setIsPublishTemplateDialogOpen(true)
+ }}
+ >
+ {template.public ? (
+ <Lock className="w-4 h-4 mr-2" />
+ ) : (
+ <LockOpen className="w-4 h-4 mr-2" />
+ )}
+ {template.public ? 'Make private' : 'Make public'}
+ </DropdownMenuItem>
+ <DropdownMenuItem
+ className="text-red-500"
+ onClick={() => {
+ setCurrentTemplate(template)
+ setIsDeleteTemplateDialogOpen(true)
+ }}
+ >
+ <Trash className="w-4 h-4 mr-2" />
+ Delete
+ </DropdownMenuItem>
+ </DropdownMenuContent>
+ </DropdownMenu>
+ </TableCell>
</TableRow>
))
)}
</TableBody>
</Table>
+
+ <AlertDialog
+ open={isPublishTemplateDialogOpen}
+ onOpenChange={setIsPublishTemplateDialogOpen}
+ >
+ <AlertDialogContent className="bg-inherit text-white border-black">
+ <AlertDialogHeader>
+ <AlertDialogTitle>
+ You are about to{' '}
+ {currentTemplate?.public ? 'unpublish' : 'publish'} a template
+ </AlertDialogTitle>
+ <AlertDialogDescription className="text-white/90">
+ This will make the template{' '}
+ {currentTemplate?.public
+ ? 'private to your team'
+ : 'public to everyone outside your team'}{' '}
+ with immediate effect.
+ </AlertDialogDescription>
+ </AlertDialogHeader>
+ <AlertDialogFooter>
+ <AlertDialogCancel
+ className="border-white/10"
+ onClick={() => {
+ setIsPublishTemplateDialogOpen(false)
+ setCurrentTemplate(null)
+ }}
+ >
+ Cancel
+ </AlertDialogCancel>
+ <AlertDialogAction onClick={publishTemplate}>
+ {currentTemplate?.public ? 'Unpublish' : 'Publish'}
+ </AlertDialogAction>
+ </AlertDialogFooter>
+ </AlertDialogContent>
+ </AlertDialog>
+
+ <AlertDialog
+ open={isDeleteTemplateDialogOpen}
+ onOpenChange={setIsDeleteTemplateDialogOpen}
+ >
+ <AlertDialogContent className="bg-inherit text-white border-black">
+ <AlertDialogHeader>
+ <AlertDialogTitle>
+ You are about to delete a template
+ </AlertDialogTitle>
+ <AlertDialogDescription className="text-white/90">
+ This action cannot be undone. This will permanently delete the
+ template with immediate effect.
+ </AlertDialogDescription>
+ </AlertDialogHeader>
+ <AlertDialogFooter>
+ <AlertDialogCancel
+ className="border-white/10"
+ onClick={() => {
+ setIsDeleteTemplateDialogOpen(false)
+ setCurrentTemplate(null)
+ }}
+ >
+ Cancel
+ </AlertDialogCancel>
+ <AlertDialogAction
+ className="bg-red-500 text-white hover:bg-red-600"
+ onClick={deleteTemplate}
+ >
+ Delete
+ </AlertDialogAction>
+ </AlertDialogFooter>
+ </AlertDialogContent>
+ </AlertDialog>
</div>
)
}
-
-async function fetchTemplates(
- accessToken: string,
- teamId: string
-): Promise<Template[]> {
- const res = await fetch(`https://api.e2b.dev/templates?teamID=${teamId}`, {
- method: 'GET',
- headers: {
- Authorization: `Bearer ${accessToken}`,
- },
- })
- try {
- const data: Template[] = await res.json()
- return data
- } catch (e) {
- // TODO: add sentry event here
- return []
- }
-}
diff --git a/apps/web/src/components/ui/tooltip.tsx b/apps/web/src/components/ui/tooltip.tsx
new file mode 100644
index 000000000..30fc44d90
--- /dev/null
+++ b/apps/web/src/components/ui/tooltip.tsx
@@ -0,0 +1,30 @@
+"use client"
+
+import * as React from "react"
+import * as TooltipPrimitive from "@radix-ui/react-tooltip"
+
+import { cn } from "@/lib/utils"
+
+const TooltipProvider = TooltipPrimitive.Provider
+
+const Tooltip = TooltipPrimitive.Root
+
+const TooltipTrigger = TooltipPrimitive.Trigger
+
+const TooltipContent = React.forwardRef<
+ React.ElementRef<typeof TooltipPrimitive.Content>,
+ React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>
+>(({ className, sideOffset = 4, ...props }, ref) => (
+ <TooltipPrimitive.Content
+ ref={ref}
+ sideOffset={sideOffset}
+ className={cn(
+ "z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
+ className
+ )}
+ {...props}
+ />
+))
+TooltipContent.displayName = TooltipPrimitive.Content.displayName
+
+export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3bf18285b..d7af2d130 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -75,6 +75,9 @@ importers:
'@radix-ui/react-toast':
specifier: ^1.1.5
+ '@radix-ui/react-tooltip':
+ specifier: ^1.1.4
'@sentry/nextjs':
specifier: ^8.18.0
@@ -1800,6 +1803,9 @@ packages:
'@radix-ui/[email protected]':
resolution: {integrity: sha512-yQ8oGX2GVsEYMWGxcovu1uGWPCxV5BFfeeYxqPmuAzUyLT9qmaMXSAhXpb0WrspIeqYzdJpkh2vHModJPgRIaw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA==}
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-OrVIOcZL0tl6xibeuGt5/+UxoT2N27KCFOPjFyfXMnchxSHZ/OW7cCX2nGlIYJrbHK/fczPcFzAwvNBB6XBNMA==}
peerDependencies:
@@ -1826,6 +1832,19 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-FmlW1rCg7hBpEBwFbjHwCW6AmWLQM6g/v0Sn8XbP9NvmSZ2San1FpQeyPtufzOMSIx7Y4dzjlHoifhp+7NkZhw==}
+ peerDependencies:
+ '@types/react': '*'
+ '@types/react-dom': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-3SzW+0PW7yBBoQlT8wNcGtaxaD0XSu0uLUFgrtHY08Acx05TaHaOmVLR73c0j/cqpDy53KBMO7s0dx2wmOIDIA==}
peerDependencies:
@@ -1848,6 +1867,15 @@ packages:
'@types/react':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-ebbrdFoYTcuZ0v4wG5tedGnp9tzcV8awzsxYph7gXUyvnNLuTIcCk1q17JEbnVhXAKG9oX3KtchwiMIAYp9NLg==}
peerDependencies:
@@ -1857,6 +1885,24 @@ packages:
'@types/react':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-OKrckBy+sMEgYM/sMmqmErVn0kZqrHPJze+Ql3DzYsDDp0hl0L62nx/2122/Bvps1qz645jlcu2tD9lrRSdf8A==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-GjWJX/AUpB703eEBanuBnIWdIXg6NvJFCXcNlSZk4xdszCdhrJgBoUd1cGk67vFO+WdA2pfI/plOpqz/5GUP6Q==}
peerDependencies:
@@ -1905,6 +1951,19 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-QSxg29lfr/xcev6kSz7MAlmDnzbP1eI/Dwn3Tp1ip0KT5CUELsxkekFEMVBEoykI3oV39hKT4TKZzBNMbcTZYQ==}
+ peerDependencies:
+ '@types/react': '*'
+ '@types/react-dom': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-i6TuFOoWmLWq+M/eCLGd/bQ2HfAX1RJgvrBQ6AQLmzfvsLdefxbWu8G9zczcPFfcSPehz9GcpF6K9QYreFV8hA==}
peerDependencies:
@@ -1962,6 +2021,15 @@ packages:
'@types/react':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-BVkFLS+bUC8HcImkRKPSiVumA1VPOOEC5WBMiT+QAVsPzW1FJzI9KnqgGxVDPBcql5xXrHkD3JOVoXWEXD8SYA==}
peerDependencies:
@@ -2014,6 +2082,19 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-ZnRMshKF43aBxVWPWvbj21+7TQCvhuULWJ4gNIKYpRlQt5xGRhLx66tMp8pya2UkGHTSlhpXwmjqltDYHhw7Vg==}
+ peerDependencies:
+ '@types/react': '*'
+ '@types/react-dom': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-xLYZeHrWoPmA5mEKEfZZevoVRK/Q43GfzRXkWV6qawIWWK8t6ifIiLQdd7rmQ4Vk1bmI21XhqF9BN3jWf+phpA==}
peerDependencies:
@@ -2040,6 +2121,19 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-WeDYLGPxJb/5EGBoedyJbT0MpoULmwnIPMJMSldkuiMsBAv7N1cRdsTWZWht9vpPOiN3qyiGAtbK2is47/uMFg==}
+ peerDependencies:
+ '@types/react': '*'
+ '@types/react-dom': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-UXLW4UAbIY5ZjcvzjfRFo5gxva8QirC9hF7wRE4U5gz+TP0DbRk+//qyuAQ1McDxBt1xNMBTaciFGvEmJvAZCg==}
peerDependencies:
@@ -2053,6 +2147,19 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-IeFXVi4YS1K0wVZzXNrbaaUvIJ3qdY+/Ih4eHFhWA9SwGR9UDX7Ck8abvL57C4cv3wwMvUE0OG69Qc3NCcTe/A==}
+ peerDependencies:
+ '@types/react': '*'
+ '@types/react-dom': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-yi58uVyoAcK/Nq1inRY56ZSjKypBNKTa/1mcL8qdl6oJeEaDbOldlzrGn7P6Q3Id5d+SYNGc5AJgc4vGhjs5+g==}
peerDependencies:
@@ -2066,6 +2173,19 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==}
+ peerDependencies:
+ '@types/react': '*'
+ '@types/react-dom': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-2mUg5Mgcu001VkGy+FfzZyzbmuUWzgWkj3rvv4yu+mLw03+mTzbxZHvfcGyFp2b8EkQeMkpRQ5FiA2Vr2O6TeQ==}
peerDependencies:
@@ -2088,6 +2208,15 @@ packages:
'@types/react':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-fRLn227WHIBRSzuRzGJ8W+5YALxofH23y0MlPLddaIpLpCDqdE0NZlS2NRQDRiptfxDeeCjgFIpexB1/zkxDlw==}
peerDependencies:
@@ -2101,6 +2230,19 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-QpObUH/ZlpaO4YgHSaYzrLO2VuO+ZBFFgGzjMUPwtiYnAzzNNDPJeEGRrT7qNOrWm/Jr08M1vlp+vTHtnSQ0Uw==}
+ peerDependencies:
+ '@types/react': '*'
+ '@types/react-dom': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-D94LjX4Sp0xJFVaoQOd3OO9k7tpBYNOXdVhkltUbGv2Qb9OXdrg/CpsjlZv7ia14Sylv398LswWBVVu5nqKzAQ==}
peerDependencies:
@@ -2110,6 +2252,15 @@ packages:
'@types/react':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-Svl5GY5FQeN758fWKrjM6Qb7asvXeiZltlT4U2gVfl8Gx5UAv2sMR0LWo8yhsIZh2oQ0eFdZ59aoOOMV7b47VA==}
peerDependencies:
@@ -2119,6 +2270,15 @@ packages:
'@types/react':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==}
peerDependencies:
@@ -2128,6 +2288,15 @@ packages:
'@types/react':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-L7vwWlR1kTTQ3oh7g1O0CBF3YCyyTj8NmhLR+phShpyA50HCfBFKVJTpshm9PzLiKmehsrQzTYTpX9HvmC9rhw==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-v/5RegiJWYdoCvMnITBkNNx6bCj20fiaJnWtRkU18yITptraXjffz5Qbn05uOiQnOvi+dbkznkoaMltz1GnszQ==}
peerDependencies:
@@ -2137,6 +2306,15 @@ packages:
'@types/react':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==}
peerDependencies:
@@ -2146,6 +2324,15 @@ packages:
'@types/react':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-0Fmkebhr6PiseyZlYAOtLS+nb7jLmpqTrJyv61Pe68MKYW6OWdRE2kI70TaYY27u7H0lajqM3hSMMLFq18Z7nQ==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-ibay+VqrgcaI6veAojjofPATwledXiSmX+C0KrBk/xgpX9rBzPV3OsfwlhQdUOFbh+LKQorLYT+xTXW9V8yd0g==}
peerDependencies:
@@ -2155,6 +2342,15 @@ packages:
'@types/react':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-XW3/vWuIXHa+2Uwcc2ABSfcCledmXhhQPlGbfcRXbiUQI5Icjcg19BGCZVKKInYbvUCut/ufbbLLPFC5cbb1hw==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-D4w41yN5YRKtu464TLnByKzMDG/JlMPHtfZgQAu9v6mNakUqGUI9vUrfQKz8NK41VMm/xbZbh76NUTVtIYqOMA==}
peerDependencies:
@@ -2168,9 +2364,25 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-N8MDZqtgCgG5S3aV60INAB475osJousYpZ4cTJ2cFbMpdHS5Y6loLTH8LPtkj2QN0x93J30HT/M3qJXM0+lyeQ==}
+ peerDependencies:
+ '@types/react': '*'
+ '@types/react-dom': '*'
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-A9+lCBZoaMJlVKcRBz2YByCG+Cp2t6nAnMnNba+XiWxnj6r4JUFqfsgwocMBZU9LPtdxC6wB56ySYpc7LQIoJg==}
+
'@react-spring/[email protected]':
resolution: {integrity: sha512-5CWeNJt9pNgyvuSzQH+uy2pvTg8Y4/OisoscZIR8/ZNLIOI+CatFBhGZpDGTF/OzdNFsAoGk3wiUYTwoJ0YIvw==}
peerDependencies:
@@ -9624,6 +9836,8 @@ snapshots:
dependencies:
'@babel/runtime': 7.22.15
+ '@radix-ui/[email protected]': {}
+
dependencies:
'@babel/runtime': 7.22.15
@@ -9649,6 +9863,15 @@ snapshots:
'@types/react': 18.3.11
'@types/react-dom': 18.3.1
+ dependencies:
+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+ optionalDependencies:
+ '@types/react': 18.3.11
+ '@types/react-dom': 18.3.1
+
dependencies:
'@babel/runtime': 7.22.15
@@ -9669,6 +9892,12 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.11
+ dependencies:
+ react: 18.2.0
+ optionalDependencies:
+ '@types/react': 18.3.11
+
dependencies:
'@babel/runtime': 7.22.15
@@ -9676,6 +9905,18 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.11
+ dependencies:
+ react: 18.2.0
+ optionalDependencies:
+ '@types/react': 18.3.11
+
+ dependencies:
+ react: 18.2.0
+ optionalDependencies:
+ '@types/react': 18.3.11
+
dependencies:
'@babel/runtime': 7.22.15
@@ -9734,6 +9975,19 @@ snapshots:
'@types/react': 18.3.11
'@types/react-dom': 18.3.1
+ dependencies:
+ '@radix-ui/primitive': 1.1.0
+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-use-escape-keydown': 1.1.0(@types/[email protected])([email protected])
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+ optionalDependencies:
+ '@types/react': 18.3.11
+ '@types/react-dom': 18.3.1
+
dependencies:
'@babel/runtime': 7.22.15
@@ -9789,6 +10043,13 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.11
+ dependencies:
+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
+ react: 18.2.0
+ optionalDependencies:
+ '@types/react': 18.3.11
+
dependencies:
'@babel/runtime': 7.22.15
@@ -9878,6 +10139,24 @@ snapshots:
'@types/react': 18.3.11
'@types/react-dom': 18.3.1
+ dependencies:
+ '@floating-ui/react-dom': 2.0.2([email protected]([email protected]))([email protected])
+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-use-rect': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/rect': 1.1.0
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+ optionalDependencies:
+ '@types/react': 18.3.11
+ '@types/react-dom': 18.3.1
+
dependencies:
'@babel/runtime': 7.22.15
@@ -9898,6 +10177,16 @@ snapshots:
'@types/react': 18.3.11
'@types/react-dom': 18.3.1
+ dependencies:
+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+ optionalDependencies:
+ '@types/react': 18.3.11
+ '@types/react-dom': 18.3.1
+
dependencies:
'@babel/runtime': 7.22.15
@@ -9909,6 +10198,16 @@ snapshots:
'@types/react': 18.3.11
'@types/react-dom': 18.3.1
+ dependencies:
+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+ optionalDependencies:
+ '@types/react': 18.3.11
+ '@types/react-dom': 18.3.1
+
dependencies:
'@babel/runtime': 7.22.15
@@ -9919,6 +10218,15 @@ snapshots:
'@types/react': 18.3.11
'@types/react-dom': 18.3.1
+ dependencies:
+ '@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+ optionalDependencies:
+ '@types/react': 18.3.11
+ '@types/react-dom': 18.3.1
+
dependencies:
'@babel/runtime': 7.22.15
@@ -9945,6 +10253,13 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.11
+ dependencies:
+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
+ react: 18.2.0
+ optionalDependencies:
+ '@types/react': 18.3.11
+
dependencies:
'@babel/runtime': 7.22.15
@@ -9966,6 +10281,26 @@ snapshots:
'@types/react': 18.3.11
'@types/react-dom': 18.3.1
+ dependencies:
+ '@radix-ui/primitive': 1.1.0
+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.1(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-visually-hidden': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+ optionalDependencies:
+ '@types/react': 18.3.11
+ '@types/react-dom': 18.3.1
+
dependencies:
'@babel/runtime': 7.22.15
@@ -9973,6 +10308,12 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.11
+ dependencies:
+ react: 18.2.0
+ optionalDependencies:
+ '@types/react': 18.3.11
+
dependencies:
'@babel/runtime': 7.22.15
@@ -9981,6 +10322,13 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.11
+ dependencies:
+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
+ react: 18.2.0
+ optionalDependencies:
+ '@types/react': 18.3.11
+
dependencies:
'@babel/runtime': 7.22.15
@@ -9989,6 +10337,13 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.11
+ dependencies:
+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
+ react: 18.2.0
+ optionalDependencies:
+ '@types/react': 18.3.11
+
dependencies:
'@babel/runtime': 7.22.15
@@ -9996,6 +10351,12 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.11
+ dependencies:
+ react: 18.2.0
+ optionalDependencies:
+ '@types/react': 18.3.11
+
dependencies:
'@babel/runtime': 7.22.15
@@ -10004,6 +10365,13 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.11
+ dependencies:
+ '@radix-ui/rect': 1.1.0
+ react: 18.2.0
+ optionalDependencies:
+ '@types/react': 18.3.11
+
dependencies:
'@babel/runtime': 7.22.15
@@ -10012,6 +10380,13 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.11
+ dependencies:
+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
+ react: 18.2.0
+ optionalDependencies:
+ '@types/react': 18.3.11
+
dependencies:
'@babel/runtime': 7.22.15
@@ -10022,10 +10397,21 @@ snapshots:
'@types/react': 18.3.11
'@types/react-dom': 18.3.1
+ dependencies:
+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+ optionalDependencies:
+ '@types/react': 18.3.11
+ '@types/react-dom': 18.3.1
+
'@radix-ui/[email protected]':
dependencies:
'@babel/runtime': 7.22.15
+ '@radix-ui/[email protected]': {}
+
dependencies:
'@react-spring/shared': 9.7.3([email protected])