@seliseblocks/genesis-os 4.2.4 → 4.2.5
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-JXEOZY4V.js → chunk-PRSVTYXS.js} +24 -21
- package/dist/chunk-PRSVTYXS.js.map +1 -0
- package/dist/{chunk-WOKUPQ7C.cjs → chunk-T2NGZE5W.cjs} +23 -20
- package/dist/chunk-T2NGZE5W.cjs.map +1 -0
- package/dist/components/index.cjs +338 -338
- package/dist/components/index.js +1 -1
- package/dist/index.cjs +350 -350
- package/dist/index.js +1 -1
- package/dist/layouts/index.cjs +8 -8
- package/dist/layouts/index.js +1 -1
- package/dist/pages/index.cjs +6 -6
- package/dist/pages/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-JXEOZY4V.js.map +0 -1
- package/dist/chunk-WOKUPQ7C.cjs.map +0 -1
|
@@ -17,7 +17,7 @@ import { motion, AnimatePresence } from 'framer-motion';
|
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
import { Slot } from '@radix-ui/react-slot';
|
|
19
19
|
import { cva } from 'class-variance-authority';
|
|
20
|
-
import { X, PanelLeft, MessageSquare, Dot, Calendar as Calendar$1, ChevronDown, ChevronRight, Check, Circle, Search, Loader2, ArrowLeft, ArrowRight, EyeOff, Eye, Trash2, ChevronUp, ChevronsLeft, ChevronLeft, ChevronsRight, MoreHorizontal, Copy, GripVertical, TriangleAlert, Paperclip, ArrowDownToLine, Monitor, Sun, Moon, UserRound, Building2, LogOut, MenuIcon, HourglassIcon, ChevronRightIcon, Globe, Loader, FolderOpen, Edit, Menu, AlertCircle, Archive, LoaderCircle, CircleHelp, CalendarIcon, ArrowDown, ArrowUp, Filter, EllipsisVertical, RotateCcw, CloudUpload, Grip, Bell, Layers, BookOpenText, Plus,
|
|
20
|
+
import { X, PanelLeft, MessageSquare, Dot, Calendar as Calendar$1, ChevronDown, ChevronRight, Check, Circle, Search, Loader2, ArrowLeft, ArrowRight, EyeOff, Eye, Trash2, ChevronUp, ChevronsLeft, ChevronLeft, ChevronsRight, MoreHorizontal, Copy, GripVertical, TriangleAlert, Paperclip, ArrowDownToLine, Monitor, Sun, Moon, UserRound, Building2, LogOut, MenuIcon, HourglassIcon, ChevronRightIcon, Globe, Loader, FolderOpen, Edit, Menu, AlertCircle, Archive, LoaderCircle, CircleHelp, CalendarIcon, ArrowDown, ArrowUp, Filter, EllipsisVertical, RotateCcw, CloudUpload, Grip, Bell, Layers, BookOpenText, Plus, Settings2, UsersRound, ArrowUpRight, Pencil, Terminal } from 'lucide-react';
|
|
21
21
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
22
22
|
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
23
23
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
@@ -9141,10 +9141,13 @@ function useProjectOverviewRedirect({
|
|
|
9141
9141
|
};
|
|
9142
9142
|
}
|
|
9143
9143
|
var INLINE_LIMIT = 3;
|
|
9144
|
-
var ProjectCard = ({
|
|
9144
|
+
var ProjectCard = ({
|
|
9145
|
+
project,
|
|
9146
|
+
projects,
|
|
9147
|
+
isShared
|
|
9148
|
+
}) => {
|
|
9145
9149
|
const navigate = useNavigate();
|
|
9146
9150
|
const { setTenantGroup, setSelectedProject } = useProjectStore();
|
|
9147
|
-
const { user } = useAuthStore();
|
|
9148
9151
|
const { handleClick, isDisabled, isFetching } = useProjectOverviewRedirect({
|
|
9149
9152
|
tenantGroupId: project.tenantGroupId
|
|
9150
9153
|
});
|
|
@@ -9182,15 +9185,25 @@ var ProjectCard = ({ project, projects }) => {
|
|
|
9182
9185
|
const hasOverflow = projects.length > INLINE_LIMIT;
|
|
9183
9186
|
const visibleProjects = hasOverflow ? projects.slice(0, INLINE_LIMIT) : projects;
|
|
9184
9187
|
const overflowCount = projects.length - INLINE_LIMIT;
|
|
9185
|
-
const isOwner = user?.sub === project?.createdBy;
|
|
9186
9188
|
return /* @__PURE__ */ jsxs(Card, { className: "border-border/60 bg-card hover:border-primary/30 group flex h-40 flex-col overflow-hidden rounded-xl border p-4 shadow-sm transition-all duration-200 hover:shadow-md", children: [
|
|
9187
9189
|
/* @__PURE__ */ jsxs("div", { className: "relative flex items-start justify-between gap-2", children: [
|
|
9188
9190
|
/* @__PURE__ */ jsx("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: /* @__PURE__ */ jsx(CardTitle, { className: "line-clamp-3 break-all text-base font-semibold leading-snug", children: project.name }) }),
|
|
9189
9191
|
/* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx(
|
|
9190
9192
|
RenderAlternatively,
|
|
9191
9193
|
{
|
|
9192
|
-
condition:
|
|
9193
|
-
whenTrue: /* @__PURE__ */ jsxs(
|
|
9194
|
+
condition: isShared,
|
|
9195
|
+
whenTrue: /* @__PURE__ */ jsxs(
|
|
9196
|
+
Badge,
|
|
9197
|
+
{
|
|
9198
|
+
variant: "outline",
|
|
9199
|
+
className: "flex items-center gap-1 shrink-0",
|
|
9200
|
+
children: [
|
|
9201
|
+
/* @__PURE__ */ jsx(UsersRound, { size: 16 }),
|
|
9202
|
+
"Shared"
|
|
9203
|
+
]
|
|
9204
|
+
}
|
|
9205
|
+
),
|
|
9206
|
+
whenFalse: /* @__PURE__ */ jsxs(Tooltip, { children: [
|
|
9194
9207
|
/* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
9195
9208
|
Button,
|
|
9196
9209
|
{
|
|
@@ -9204,18 +9217,7 @@ var ProjectCard = ({ project, projects }) => {
|
|
|
9204
9217
|
}
|
|
9205
9218
|
) }),
|
|
9206
9219
|
/* @__PURE__ */ jsx(TooltipContent, { children: "Configure Project" })
|
|
9207
|
-
] })
|
|
9208
|
-
whenFalse: /* @__PURE__ */ jsxs(
|
|
9209
|
-
Badge,
|
|
9210
|
-
{
|
|
9211
|
-
variant: "outline",
|
|
9212
|
-
className: "flex items-center gap-1 shrink-0",
|
|
9213
|
-
children: [
|
|
9214
|
-
/* @__PURE__ */ jsx(UsersRound, { size: 16 }),
|
|
9215
|
-
"Shared"
|
|
9216
|
-
]
|
|
9217
|
-
}
|
|
9218
|
-
)
|
|
9220
|
+
] })
|
|
9219
9221
|
}
|
|
9220
9222
|
) })
|
|
9221
9223
|
] }),
|
|
@@ -9320,7 +9322,8 @@ var SelfProject = ({ canCreateProject = false }) => {
|
|
|
9320
9322
|
ProjectCard,
|
|
9321
9323
|
{
|
|
9322
9324
|
project: project.projects[0],
|
|
9323
|
-
projects: project.projects
|
|
9325
|
+
projects: project.projects,
|
|
9326
|
+
isShared: project.isShared
|
|
9324
9327
|
}
|
|
9325
9328
|
)
|
|
9326
9329
|
},
|
|
@@ -12315,5 +12318,5 @@ var TablePagination2 = React8.forwardRef(
|
|
|
12315
12318
|
TablePagination2.displayName = "TablePagination";
|
|
12316
12319
|
|
|
12317
12320
|
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, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as 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, ProjectOverview, ProjectRepoList, PublicLayout, RadioGroup4 as 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, TablePagination2 as 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 };
|
|
12318
|
-
//# sourceMappingURL=chunk-
|
|
12319
|
-
//# sourceMappingURL=chunk-
|
|
12321
|
+
//# sourceMappingURL=chunk-PRSVTYXS.js.map
|
|
12322
|
+
//# sourceMappingURL=chunk-PRSVTYXS.js.map
|