@lincros-ui/components 0.2.18 → 0.2.20
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/index.cjs +41 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +42 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -42,7 +42,7 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
|
42
42
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
43
43
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
44
44
|
import { Link, useLocation, Navigate, useNavigate } from 'react-router-dom';
|
|
45
|
-
import {
|
|
45
|
+
import { canAccessMenu } from '@/lib/menu-permissions';
|
|
46
46
|
import { useEditor, EditorContent } from '@tiptap/react';
|
|
47
47
|
import StarterKit from '@tiptap/starter-kit';
|
|
48
48
|
import Image2 from '@tiptap/extension-image';
|
|
@@ -4763,6 +4763,15 @@ var SSOLoadingOverlay = memo(({
|
|
|
4763
4763
|
});
|
|
4764
4764
|
var SSOLoadingOverlay_default = SSOLoadingOverlay;
|
|
4765
4765
|
SSOLoadingOverlay.displayName = "SSOLoadingOverlay";
|
|
4766
|
+
|
|
4767
|
+
// src/menu-permissions.ts
|
|
4768
|
+
var MenuPermissionLevel = /* @__PURE__ */ ((MenuPermissionLevel2) => {
|
|
4769
|
+
MenuPermissionLevel2["ALL"] = "ALL";
|
|
4770
|
+
MenuPermissionLevel2["ADMIN_ONLY"] = "ADMIN_ONLY";
|
|
4771
|
+
MenuPermissionLevel2["MANAGER_OR_ADMIN"] = "MANAGER_OR_ADMIN";
|
|
4772
|
+
MenuPermissionLevel2["MASTER_TENANT_ONLY"] = "MASTER_TENANT_ONLY";
|
|
4773
|
+
return MenuPermissionLevel2;
|
|
4774
|
+
})(MenuPermissionLevel || {});
|
|
4766
4775
|
var STORAGE_KEY = "sidebar-expanded-menus";
|
|
4767
4776
|
function useSidebarState(routePaths) {
|
|
4768
4777
|
const location = useLocation();
|
|
@@ -5095,7 +5104,8 @@ function ControlSidebar({
|
|
|
5095
5104
|
logoUrl = "/lovable-uploads/632ebc32-3ae3-4944-8e70-0e9c2539494a.png",
|
|
5096
5105
|
faviconUrl,
|
|
5097
5106
|
appName = "App",
|
|
5098
|
-
appSubtitle = "Sistema"
|
|
5107
|
+
appSubtitle = "Sistema",
|
|
5108
|
+
menuItems: menuItemsProp
|
|
5099
5109
|
}) {
|
|
5100
5110
|
const {
|
|
5101
5111
|
toggleSubmenu,
|
|
@@ -5118,64 +5128,64 @@ function ControlSidebar({
|
|
|
5118
5128
|
}
|
|
5119
5129
|
}
|
|
5120
5130
|
};
|
|
5121
|
-
const
|
|
5131
|
+
const defaultMenuItems = [
|
|
5122
5132
|
{
|
|
5123
5133
|
title: "Dashboard",
|
|
5124
5134
|
url: routePaths.DASHBOARD,
|
|
5125
5135
|
icon: Monitor,
|
|
5126
|
-
permission:
|
|
5136
|
+
permission: "ALL" /* ALL */
|
|
5127
5137
|
},
|
|
5128
5138
|
{
|
|
5129
5139
|
title: "Monitoramento de Rotas",
|
|
5130
5140
|
url: routePaths.ROUTE_MONITORING,
|
|
5131
5141
|
icon: Navigation,
|
|
5132
|
-
permission:
|
|
5142
|
+
permission: "ADMIN_ONLY" /* ADMIN_ONLY */
|
|
5133
5143
|
},
|
|
5134
5144
|
{
|
|
5135
5145
|
title: "Alertas",
|
|
5136
5146
|
url: routePaths.ALERTS,
|
|
5137
5147
|
icon: Bell,
|
|
5138
|
-
permission:
|
|
5148
|
+
permission: "ALL" /* ALL */
|
|
5139
5149
|
},
|
|
5140
5150
|
{
|
|
5141
5151
|
title: "Relat\xF3rios",
|
|
5142
5152
|
url: routePaths.REPORTS,
|
|
5143
5153
|
icon: BarChart3,
|
|
5144
|
-
permission:
|
|
5154
|
+
permission: "ALL" /* ALL */
|
|
5145
5155
|
},
|
|
5146
5156
|
{
|
|
5147
5157
|
title: "Configura\xE7\xF5es",
|
|
5148
5158
|
icon: Settings,
|
|
5149
|
-
permission:
|
|
5159
|
+
permission: "ADMIN_ONLY" /* ADMIN_ONLY */,
|
|
5150
5160
|
subItems: [
|
|
5151
5161
|
{
|
|
5152
5162
|
title: "Configura\xE7\xF5es Gerais",
|
|
5153
5163
|
url: routePaths.SETTINGS,
|
|
5154
5164
|
icon: Settings,
|
|
5155
|
-
permission:
|
|
5165
|
+
permission: "ALL" /* ALL */
|
|
5156
5166
|
},
|
|
5157
5167
|
{
|
|
5158
5168
|
title: "Usu\xE1rios",
|
|
5159
5169
|
icon: Users,
|
|
5160
|
-
permission:
|
|
5170
|
+
permission: "MANAGER_OR_ADMIN" /* MANAGER_OR_ADMIN */,
|
|
5161
5171
|
subItems: [
|
|
5162
5172
|
{
|
|
5163
5173
|
title: "Gest\xE3o de Usu\xE1rios",
|
|
5164
5174
|
url: routePaths.USER_MANAGEMENT,
|
|
5165
5175
|
icon: UserCheck,
|
|
5166
|
-
permission:
|
|
5176
|
+
permission: "MANAGER_OR_ADMIN" /* MANAGER_OR_ADMIN */
|
|
5167
5177
|
},
|
|
5168
5178
|
{
|
|
5169
5179
|
title: "Perfis de Usu\xE1rio",
|
|
5170
5180
|
url: routePaths.USER_PROFILES,
|
|
5171
5181
|
icon: UserCog,
|
|
5172
|
-
permission:
|
|
5182
|
+
permission: "MANAGER_OR_ADMIN" /* MANAGER_OR_ADMIN */
|
|
5173
5183
|
},
|
|
5174
5184
|
{
|
|
5175
5185
|
title: "Permiss\xF5es",
|
|
5176
5186
|
url: routePaths.PERMISSIONS_MANAGEMENT,
|
|
5177
5187
|
icon: Shield,
|
|
5178
|
-
permission:
|
|
5188
|
+
permission: "ADMIN_ONLY" /* ADMIN_ONLY */
|
|
5179
5189
|
}
|
|
5180
5190
|
]
|
|
5181
5191
|
},
|
|
@@ -5183,30 +5193,30 @@ function ControlSidebar({
|
|
|
5183
5193
|
title: "Motoristas",
|
|
5184
5194
|
url: routePaths.MOTORISTAS,
|
|
5185
5195
|
icon: Car,
|
|
5186
|
-
permission:
|
|
5196
|
+
permission: "MANAGER_OR_ADMIN" /* MANAGER_OR_ADMIN */
|
|
5187
5197
|
},
|
|
5188
5198
|
{
|
|
5189
5199
|
title: "WhatsApp",
|
|
5190
5200
|
icon: MessageCircle,
|
|
5191
|
-
permission:
|
|
5201
|
+
permission: "MANAGER_OR_ADMIN" /* MANAGER_OR_ADMIN */,
|
|
5192
5202
|
subItems: [
|
|
5193
5203
|
{
|
|
5194
5204
|
title: "Configura\xE7\xF5es",
|
|
5195
5205
|
url: routePaths.WHATSAPP_CONFIG,
|
|
5196
5206
|
icon: Settings,
|
|
5197
|
-
permission:
|
|
5207
|
+
permission: "MANAGER_OR_ADMIN" /* MANAGER_OR_ADMIN */
|
|
5198
5208
|
},
|
|
5199
5209
|
{
|
|
5200
5210
|
title: "Triggers de Fluxo",
|
|
5201
5211
|
url: routePaths.WHATSAPP_TRIGGERS,
|
|
5202
5212
|
icon: Workflow,
|
|
5203
|
-
permission:
|
|
5213
|
+
permission: "MANAGER_OR_ADMIN" /* MANAGER_OR_ADMIN */
|
|
5204
5214
|
},
|
|
5205
5215
|
{
|
|
5206
5216
|
title: "Monitoramento",
|
|
5207
5217
|
url: routePaths.WHATSAPP_MONITORING,
|
|
5208
5218
|
icon: Monitor,
|
|
5209
|
-
permission:
|
|
5219
|
+
permission: "MANAGER_OR_ADMIN" /* MANAGER_OR_ADMIN */
|
|
5210
5220
|
}
|
|
5211
5221
|
]
|
|
5212
5222
|
},
|
|
@@ -5215,7 +5225,7 @@ function ControlSidebar({
|
|
|
5215
5225
|
title: "Unidades de Neg\xF3cio",
|
|
5216
5226
|
url: routePaths.UNIDADES_NEGOCIO,
|
|
5217
5227
|
icon: Building2,
|
|
5218
|
-
permission:
|
|
5228
|
+
permission: "MANAGER_OR_ADMIN" /* MANAGER_OR_ADMIN */
|
|
5219
5229
|
}
|
|
5220
5230
|
],
|
|
5221
5231
|
...isMasterTenant ? [
|
|
@@ -5223,7 +5233,7 @@ function ControlSidebar({
|
|
|
5223
5233
|
title: "Tenants",
|
|
5224
5234
|
url: routePaths.TENANT_MANAGEMENT,
|
|
5225
5235
|
icon: Database,
|
|
5226
|
-
permission:
|
|
5236
|
+
permission: "ADMIN_ONLY" /* ADMIN_ONLY */
|
|
5227
5237
|
}
|
|
5228
5238
|
] : []
|
|
5229
5239
|
]
|
|
@@ -5231,19 +5241,19 @@ function ControlSidebar({
|
|
|
5231
5241
|
{
|
|
5232
5242
|
title: "Automa\xE7\xE3o",
|
|
5233
5243
|
icon: Bot,
|
|
5234
|
-
permission:
|
|
5244
|
+
permission: "MANAGER_OR_ADMIN" /* MANAGER_OR_ADMIN */,
|
|
5235
5245
|
subItems: [
|
|
5236
5246
|
{
|
|
5237
5247
|
title: "Fluxos de Automa\xE7\xE3o",
|
|
5238
5248
|
url: routePaths.FLOWS,
|
|
5239
5249
|
icon: Workflow,
|
|
5240
|
-
permission:
|
|
5250
|
+
permission: "MANAGER_OR_ADMIN" /* MANAGER_OR_ADMIN */
|
|
5241
5251
|
},
|
|
5242
5252
|
{
|
|
5243
5253
|
title: "Credenciais",
|
|
5244
5254
|
url: routePaths.CREDENTIALS,
|
|
5245
5255
|
icon: Key,
|
|
5246
|
-
permission:
|
|
5256
|
+
permission: "MANAGER_OR_ADMIN" /* MANAGER_OR_ADMIN */
|
|
5247
5257
|
}
|
|
5248
5258
|
]
|
|
5249
5259
|
}
|
|
@@ -5256,8 +5266,9 @@ function ControlSidebar({
|
|
|
5256
5266
|
return () => clearInterval(timer);
|
|
5257
5267
|
}
|
|
5258
5268
|
}, [currentTime]);
|
|
5269
|
+
const resolvedMenuItems = menuItemsProp ?? defaultMenuItems;
|
|
5259
5270
|
const displayTime = currentTime || internalTime;
|
|
5260
|
-
const filteredMenuItems = filterMenuItems(
|
|
5271
|
+
const filteredMenuItems = filterMenuItems(resolvedMenuItems, user);
|
|
5261
5272
|
return /* @__PURE__ */ jsxs(Sidebar, { className: "border-r border-gray-200", collapsible: "icon", children: [
|
|
5262
5273
|
/* @__PURE__ */ jsxs(SidebarHeader, { className: "border-b border-gray-200", children: [
|
|
5263
5274
|
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-between px-2 py-2", children: /* @__PURE__ */ jsx(SidebarTrigger, { className: "ml-auto" }) }),
|
|
@@ -5443,7 +5454,8 @@ function MainLayout({
|
|
|
5443
5454
|
appSubtitle,
|
|
5444
5455
|
logoUrl,
|
|
5445
5456
|
faviconUrl,
|
|
5446
|
-
sidebarDefaultOpen
|
|
5457
|
+
sidebarDefaultOpen,
|
|
5458
|
+
menuItems
|
|
5447
5459
|
}) {
|
|
5448
5460
|
return /* @__PURE__ */ jsx(SidebarProvider, { defaultOpen: sidebarDefaultOpen, children: /* @__PURE__ */ jsxs("div", { className: "h-screen w-full flex", children: [
|
|
5449
5461
|
/* @__PURE__ */ jsx(
|
|
@@ -5460,13 +5472,14 @@ function MainLayout({
|
|
|
5460
5472
|
appName,
|
|
5461
5473
|
appSubtitle,
|
|
5462
5474
|
logoUrl,
|
|
5463
|
-
faviconUrl
|
|
5475
|
+
faviconUrl,
|
|
5476
|
+
menuItems
|
|
5464
5477
|
}
|
|
5465
5478
|
),
|
|
5466
5479
|
/* @__PURE__ */ jsx("main", { className: "flex-1 overflow-hidden", children: /* @__PURE__ */ jsx("div", { className: "h-full overflow-y-auto", children }) })
|
|
5467
5480
|
] }) });
|
|
5468
5481
|
}
|
|
5469
|
-
function ProtectedRoute({ children, useAuthContext, tenantId, useSSO, routePaths, useTenant, tenantService, onResetPassword, resetPasswordLoading, resetPasswordError, appName, appSubtitle, logoUrl, faviconUrl, sidebarDefaultOpen }) {
|
|
5482
|
+
function ProtectedRoute({ children, useAuthContext, tenantId, useSSO, routePaths, useTenant, tenantService, onResetPassword, resetPasswordLoading, resetPasswordError, appName, appSubtitle, logoUrl, faviconUrl, sidebarDefaultOpen, menuItems }) {
|
|
5470
5483
|
const { isAuthenticated, isLoading, logout, user, getCurrentTenantId } = useAuthContext();
|
|
5471
5484
|
const location = useLocation();
|
|
5472
5485
|
const sso = useSSO(tenantId || void 0);
|
|
@@ -5515,6 +5528,7 @@ function ProtectedRoute({ children, useAuthContext, tenantId, useSSO, routePaths
|
|
|
5515
5528
|
logoUrl,
|
|
5516
5529
|
faviconUrl,
|
|
5517
5530
|
sidebarDefaultOpen,
|
|
5531
|
+
menuItems,
|
|
5518
5532
|
children: /* @__PURE__ */ jsx(EnsureTenant, { useTenant, tenantService, children })
|
|
5519
5533
|
}
|
|
5520
5534
|
);
|
|
@@ -11786,6 +11800,6 @@ function Toaster() {
|
|
|
11786
11800
|
] });
|
|
11787
11801
|
}
|
|
11788
11802
|
|
|
11789
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, BadgeGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CardWithIcon, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, ChatContainer, ChatHeader, ChatInput, ChatLayout, ChatMessages, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ControlSidebar, CountBadge, CustomSidebarMenuSub, CustomSidebarMenuSubButton, CustomSidebarMenuSubItem, DEFAULT_WEBHOOK_CONFIG, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogMaximizableContent, 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, EventInspector, FilterBar_default as FilterBar, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GenericFilterBar, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputWithLabel, Label3 as Label, Loading, MCPCategoryToNodeType, MCPSubtypeToIcon, MainLayout, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MessageBubble, MessageHistory, MessageInput, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotificationBadge, PageHeader, Pagination, PaginationContent, PaginationControls, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordResetModal, Popover, PopoverContent, PopoverTrigger, Progress, ProtectedRoute, QRCodeModal, RadioGroup4 as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, RichTextEditor, RichTextRenderer, SSOError_default as SSOError, SSOLoadingOverlay_default as SSOLoadingOverlay, SSOLoginButton_default as SSOLoginButton, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SendMessageModal, Separator5 as Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, StandardPageLayout, StatusBadge, StatusIndicator_default as StatusIndicator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip2 as Tooltip, TooltipButton, TooltipContent, TooltipProvider, TooltipTrigger, TypingIndicator, ViewToggle_default as ViewToggle, WEBHOOK_TEST_EVENTS, WebhookConfigModal, WebhookEventCard, WebhookEventMapper, WebhookFlowLink, WebhookLogsViewer, WebhookMetricsChart, WebhookMetricsMapper, WebhookSubscriptionMapper, WebhookTestModal, WebhookTimeline, WhatsAppHealthMonitor, badgeVariants, beautifyString, buttonVariants, calculateProcessingTime, capitalizeFirst, cn, formatDate, formatDateTime, formatEventType, formatLocalDate, formatLocalDateTime, formatLocalTime, formatStatus, formatTime, getEventTypeVariant, getMetricColor, getNodeBorderStyles, getNodeIconColor, getNodeIconTextColor, getStatusVariant, getTimelineColor, isValidWebhookPayload, sizeConfig as loadingSizes, navigationMenuTriggerStyle, sanitizeWebhookUrl, toCamelCase, toSnakeCase, toast, toggleVariants, useFormField, useIsMobile, useSidebar, useToast, validateUrl };
|
|
11803
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, BadgeGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CardWithIcon, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, ChatContainer, ChatHeader, ChatInput, ChatLayout, ChatMessages, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ControlSidebar, CountBadge, CustomSidebarMenuSub, CustomSidebarMenuSubButton, CustomSidebarMenuSubItem, DEFAULT_WEBHOOK_CONFIG, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogMaximizableContent, 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, EventInspector, FilterBar_default as FilterBar, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GenericFilterBar, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputWithLabel, Label3 as Label, Loading, MCPCategoryToNodeType, MCPSubtypeToIcon, MainLayout, MenuPermissionLevel, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MessageBubble, MessageHistory, MessageInput, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotificationBadge, PageHeader, Pagination, PaginationContent, PaginationControls, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordResetModal, Popover, PopoverContent, PopoverTrigger, Progress, ProtectedRoute, QRCodeModal, RadioGroup4 as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, RichTextEditor, RichTextRenderer, SSOError_default as SSOError, SSOLoadingOverlay_default as SSOLoadingOverlay, SSOLoginButton_default as SSOLoginButton, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SendMessageModal, Separator5 as Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, StandardPageLayout, StatusBadge, StatusIndicator_default as StatusIndicator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip2 as Tooltip, TooltipButton, TooltipContent, TooltipProvider, TooltipTrigger, TypingIndicator, ViewToggle_default as ViewToggle, WEBHOOK_TEST_EVENTS, WebhookConfigModal, WebhookEventCard, WebhookEventMapper, WebhookFlowLink, WebhookLogsViewer, WebhookMetricsChart, WebhookMetricsMapper, WebhookSubscriptionMapper, WebhookTestModal, WebhookTimeline, WhatsAppHealthMonitor, badgeVariants, beautifyString, buttonVariants, calculateProcessingTime, capitalizeFirst, cn, formatDate, formatDateTime, formatEventType, formatLocalDate, formatLocalDateTime, formatLocalTime, formatStatus, formatTime, getEventTypeVariant, getMetricColor, getNodeBorderStyles, getNodeIconColor, getNodeIconTextColor, getStatusVariant, getTimelineColor, isValidWebhookPayload, sizeConfig as loadingSizes, navigationMenuTriggerStyle, sanitizeWebhookUrl, toCamelCase, toSnakeCase, toast, toggleVariants, useFormField, useIsMobile, useSidebar, useToast, validateUrl };
|
|
11790
11804
|
//# sourceMappingURL=index.js.map
|
|
11791
11805
|
//# sourceMappingURL=index.js.map
|