myshell-react-lib 0.3.5 → 0.3.6
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 +181 -75
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +160 -58
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1532,6 +1532,14 @@ declare function LogoLoading({ className, containerClassName, }: {
|
|
|
1532
1532
|
containerClassName?: string;
|
|
1533
1533
|
}): react_jsx_runtime.JSX.Element;
|
|
1534
1534
|
|
|
1535
|
+
interface PaginationProps {
|
|
1536
|
+
currentPage: number;
|
|
1537
|
+
totalPages: number;
|
|
1538
|
+
onPageChange: (page: number) => void;
|
|
1539
|
+
className?: string;
|
|
1540
|
+
}
|
|
1541
|
+
declare function Pagination({ currentPage, totalPages, onPageChange, className, }: PaginationProps): react_jsx_runtime.JSX.Element | null;
|
|
1542
|
+
|
|
1535
1543
|
declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
|
|
1536
1544
|
interface ToastViewportProps extends React$1.ComponentPropsWithoutRef<typeof ToastPrimitives.Viewport> {
|
|
1537
1545
|
position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | "left-center" | "right-center";
|
|
@@ -1787,4 +1795,4 @@ declare const NetworkErrorIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAt
|
|
|
1787
1795
|
component?: React$1.ElementType;
|
|
1788
1796
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1789
1797
|
|
|
1790
|
-
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonComponentProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, Cascader, CascaderContent, type CascaderOption, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomToasterProps, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuHover, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorIcon, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormRef, Guide, Heading, type IAudioProps, type INumberInputProps, type ISelectProps, Icon, IconButton, type IconButtonComponentProps, type IconComponent, type IconProps, type IconType, Image, type ImageProps, ImgEmptyState, Input, type InputProps, Label, Link, LinkButton, type LinkButtonProps, type LinkProps, LogoIcon, LogoLoading, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultipleSelector, type MultipleSelectorRef, NetworkErrorIcon, NetworkErrorState, NoPageIcon, NoPageState, NumberInput, type Option, Paragraph, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, ProgressIndicator, type ProgressProps, ProgressRoot, type Props, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, type SearchBarProps, SearchEmptyState, type SearchInputProps, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderSingle, Spinner, State$1 as State, SubHeading, SubTitle, Swiper, type SwiperProps, Switch, type TModalState, Tab, Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, type TextareaProps, Title, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastType, ToastViewport, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
|
|
1798
|
+
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonComponentProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, Cascader, CascaderContent, type CascaderOption, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomToasterProps, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuHover, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorIcon, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormRef, Guide, Heading, type IAudioProps, type INumberInputProps, type ISelectProps, Icon, IconButton, type IconButtonComponentProps, type IconComponent, type IconProps, type IconType, Image, type ImageProps, ImgEmptyState, Input, type InputProps, Label, Link, LinkButton, type LinkButtonProps, type LinkProps, LogoIcon, LogoLoading, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultipleSelector, type MultipleSelectorRef, NetworkErrorIcon, NetworkErrorState, NoPageIcon, NoPageState, NumberInput, type Option, Pagination, Paragraph, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, ProgressIndicator, type ProgressProps, ProgressRoot, type Props, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, type SearchBarProps, SearchEmptyState, type SearchInputProps, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderSingle, Spinner, State$1 as State, SubHeading, SubTitle, Swiper, type SwiperProps, Switch, type TModalState, Tab, Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, type TextareaProps, Title, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastType, ToastViewport, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
|
package/dist/index.d.ts
CHANGED
|
@@ -1532,6 +1532,14 @@ declare function LogoLoading({ className, containerClassName, }: {
|
|
|
1532
1532
|
containerClassName?: string;
|
|
1533
1533
|
}): react_jsx_runtime.JSX.Element;
|
|
1534
1534
|
|
|
1535
|
+
interface PaginationProps {
|
|
1536
|
+
currentPage: number;
|
|
1537
|
+
totalPages: number;
|
|
1538
|
+
onPageChange: (page: number) => void;
|
|
1539
|
+
className?: string;
|
|
1540
|
+
}
|
|
1541
|
+
declare function Pagination({ currentPage, totalPages, onPageChange, className, }: PaginationProps): react_jsx_runtime.JSX.Element | null;
|
|
1542
|
+
|
|
1535
1543
|
declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
|
|
1536
1544
|
interface ToastViewportProps extends React$1.ComponentPropsWithoutRef<typeof ToastPrimitives.Viewport> {
|
|
1537
1545
|
position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | "left-center" | "right-center";
|
|
@@ -1787,4 +1795,4 @@ declare const NetworkErrorIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAt
|
|
|
1787
1795
|
component?: React$1.ElementType;
|
|
1788
1796
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1789
1797
|
|
|
1790
|
-
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonComponentProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, Cascader, CascaderContent, type CascaderOption, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomToasterProps, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuHover, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorIcon, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormRef, Guide, Heading, type IAudioProps, type INumberInputProps, type ISelectProps, Icon, IconButton, type IconButtonComponentProps, type IconComponent, type IconProps, type IconType, Image, type ImageProps, ImgEmptyState, Input, type InputProps, Label, Link, LinkButton, type LinkButtonProps, type LinkProps, LogoIcon, LogoLoading, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultipleSelector, type MultipleSelectorRef, NetworkErrorIcon, NetworkErrorState, NoPageIcon, NoPageState, NumberInput, type Option, Paragraph, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, ProgressIndicator, type ProgressProps, ProgressRoot, type Props, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, type SearchBarProps, SearchEmptyState, type SearchInputProps, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderSingle, Spinner, State$1 as State, SubHeading, SubTitle, Swiper, type SwiperProps, Switch, type TModalState, Tab, Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, type TextareaProps, Title, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastType, ToastViewport, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
|
|
1798
|
+
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonComponentProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, Cascader, CascaderContent, type CascaderOption, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomToasterProps, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuHover, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorIcon, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormRef, Guide, Heading, type IAudioProps, type INumberInputProps, type ISelectProps, Icon, IconButton, type IconButtonComponentProps, type IconComponent, type IconProps, type IconType, Image, type ImageProps, ImgEmptyState, Input, type InputProps, Label, Link, LinkButton, type LinkButtonProps, type LinkProps, LogoIcon, LogoLoading, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultipleSelector, type MultipleSelectorRef, NetworkErrorIcon, NetworkErrorState, NoPageIcon, NoPageState, NumberInput, type Option, Pagination, Paragraph, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, ProgressIndicator, type ProgressProps, ProgressRoot, type Props, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, type SearchBarProps, SearchEmptyState, type SearchInputProps, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderSingle, Spinner, State$1 as State, SubHeading, SubTitle, Swiper, type SwiperProps, Switch, type TModalState, Tab, Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, type TextareaProps, Title, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastType, ToastViewport, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
|
package/dist/index.js
CHANGED
|
@@ -25075,12 +25075,114 @@ function LogoLoading(param) {
|
|
|
25075
25075
|
]
|
|
25076
25076
|
});
|
|
25077
25077
|
}
|
|
25078
|
+
// src/components/pagination.tsx
|
|
25079
|
+
import { ChevronLeft, ChevronRight as ChevronRight4 } from "lucide-react";
|
|
25080
|
+
import { useMemo as useMemo7 } from "react";
|
|
25081
|
+
import { jsx as jsx68, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
25082
|
+
function Pagination(param) {
|
|
25083
|
+
var currentPage = param.currentPage, totalPages = param.totalPages, onPageChange = param.onPageChange, _param_className = param.className, className = _param_className === void 0 ? "" : _param_className;
|
|
25084
|
+
var addEllipsis = function(sortedPages) {
|
|
25085
|
+
var result = [];
|
|
25086
|
+
for(var i = 0; i < sortedPages.length; i += 1){
|
|
25087
|
+
var page = sortedPages[i];
|
|
25088
|
+
var prevPage = sortedPages[i - 1];
|
|
25089
|
+
if (prevPage !== void 0 && page - prevPage > 1) {
|
|
25090
|
+
if (result.length <= 2) {
|
|
25091
|
+
result.push("ellipsis-left");
|
|
25092
|
+
} else {
|
|
25093
|
+
result.push("ellipsis-right");
|
|
25094
|
+
}
|
|
25095
|
+
}
|
|
25096
|
+
result.push(page);
|
|
25097
|
+
}
|
|
25098
|
+
return result;
|
|
25099
|
+
};
|
|
25100
|
+
var pageNumbers = useMemo7(function() {
|
|
25101
|
+
var pages = /* @__PURE__ */ new Set();
|
|
25102
|
+
pages.add(1);
|
|
25103
|
+
if (totalPages > 1) {
|
|
25104
|
+
pages.add(totalPages);
|
|
25105
|
+
}
|
|
25106
|
+
if (currentPage <= 4) {
|
|
25107
|
+
for(var i = 2; i <= Math.min(5, totalPages); i += 1){
|
|
25108
|
+
pages.add(i);
|
|
25109
|
+
}
|
|
25110
|
+
} else if (currentPage >= totalPages - 3) {
|
|
25111
|
+
for(var i1 = Math.max(1, totalPages - 4); i1 <= totalPages; i1 += 1){
|
|
25112
|
+
pages.add(i1);
|
|
25113
|
+
}
|
|
25114
|
+
} else {
|
|
25115
|
+
pages.add(currentPage - 1);
|
|
25116
|
+
pages.add(currentPage);
|
|
25117
|
+
pages.add(currentPage + 1);
|
|
25118
|
+
}
|
|
25119
|
+
var sortedPages = Array.from(pages).sort(function(a, b) {
|
|
25120
|
+
return a - b;
|
|
25121
|
+
});
|
|
25122
|
+
return addEllipsis(sortedPages);
|
|
25123
|
+
}, [
|
|
25124
|
+
currentPage,
|
|
25125
|
+
totalPages
|
|
25126
|
+
]);
|
|
25127
|
+
var renderPageNumbers = function() {
|
|
25128
|
+
return pageNumbers.map(function(page) {
|
|
25129
|
+
if (page === "ellipsis-left" || page === "ellipsis-right") {
|
|
25130
|
+
return /* @__PURE__ */ jsx68("span", {
|
|
25131
|
+
className: "flex size-9 items-center justify-center text-sm font-medium text-Colors-Text-Default",
|
|
25132
|
+
"aria-hidden": "true",
|
|
25133
|
+
children: "..."
|
|
25134
|
+
}, page);
|
|
25135
|
+
}
|
|
25136
|
+
var isActive = page === currentPage;
|
|
25137
|
+
return /* @__PURE__ */ jsx68("button", {
|
|
25138
|
+
type: "button",
|
|
25139
|
+
onClick: function() {
|
|
25140
|
+
return onPageChange(page);
|
|
25141
|
+
},
|
|
25142
|
+
className: cn("flex h-7 min-w-7 items-center justify-center rounded-md px-1 text-sm font-medium transition-colors sm:h-9 sm:min-w-9", isActive ? "bg-Colors-Background-Surface-Subtle text-Colors-Text-Default" : "hover:bg-Colors-Background-Surface-Subtle text-Colors-Text-Default"),
|
|
25143
|
+
"aria-current": isActive ? "page" : void 0,
|
|
25144
|
+
disabled: isActive,
|
|
25145
|
+
children: page
|
|
25146
|
+
}, page);
|
|
25147
|
+
});
|
|
25148
|
+
};
|
|
25149
|
+
if (totalPages <= 1) {
|
|
25150
|
+
return null;
|
|
25151
|
+
}
|
|
25152
|
+
return /* @__PURE__ */ jsxs46("nav", {
|
|
25153
|
+
className: cn("flex items-center justify-center gap-1.5", className),
|
|
25154
|
+
"aria-label": "Pagination",
|
|
25155
|
+
children: [
|
|
25156
|
+
/* @__PURE__ */ jsx68(IconButton, {
|
|
25157
|
+
icon: ChevronLeft,
|
|
25158
|
+
variant: "plain",
|
|
25159
|
+
size: "md",
|
|
25160
|
+
onClick: function() {
|
|
25161
|
+
return onPageChange(currentPage - 1);
|
|
25162
|
+
},
|
|
25163
|
+
disabled: currentPage <= 1,
|
|
25164
|
+
"aria-label": "Previous page"
|
|
25165
|
+
}),
|
|
25166
|
+
renderPageNumbers(),
|
|
25167
|
+
/* @__PURE__ */ jsx68(IconButton, {
|
|
25168
|
+
icon: ChevronRight4,
|
|
25169
|
+
variant: "plain",
|
|
25170
|
+
size: "md",
|
|
25171
|
+
onClick: function() {
|
|
25172
|
+
return onPageChange(currentPage + 1);
|
|
25173
|
+
},
|
|
25174
|
+
disabled: currentPage >= totalPages,
|
|
25175
|
+
"aria-label": "Next page"
|
|
25176
|
+
})
|
|
25177
|
+
]
|
|
25178
|
+
});
|
|
25179
|
+
}
|
|
25078
25180
|
// src/components/toast/toast.tsx
|
|
25079
25181
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
25080
25182
|
import { cva as cva21 } from "class-variance-authority";
|
|
25081
25183
|
import * as React51 from "react";
|
|
25082
25184
|
import { XIcon as XIcon3 } from "lucide-react";
|
|
25083
|
-
import { jsx as
|
|
25185
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
25084
25186
|
var ToastProvider = ToastPrimitives.Provider;
|
|
25085
25187
|
var viewportPositionVariants = cva21("fixed z-[1000001] flex max-h-screen w-max-content p-0 gap-2", {
|
|
25086
25188
|
variants: {
|
|
@@ -25104,7 +25206,7 @@ var ToastViewport = React51.forwardRef(function(_param, ref) {
|
|
|
25104
25206
|
"className",
|
|
25105
25207
|
"position"
|
|
25106
25208
|
]);
|
|
25107
|
-
return /* @__PURE__ */
|
|
25209
|
+
return /* @__PURE__ */ jsx69(ToastPrimitives.Viewport, _object_spread({
|
|
25108
25210
|
ref: ref,
|
|
25109
25211
|
className: cn(viewportPositionVariants({
|
|
25110
25212
|
position: position
|
|
@@ -25142,7 +25244,7 @@ var Toast = React51.forwardRef(function(_param, ref) {
|
|
|
25142
25244
|
"variant",
|
|
25143
25245
|
"position"
|
|
25144
25246
|
]);
|
|
25145
|
-
return /* @__PURE__ */
|
|
25247
|
+
return /* @__PURE__ */ jsx69(ToastPrimitives.Root, _object_spread({
|
|
25146
25248
|
ref: ref,
|
|
25147
25249
|
className: cn(toastVariants({
|
|
25148
25250
|
variant: variant,
|
|
@@ -25156,7 +25258,7 @@ var ToastAction = React51.forwardRef(function(_param, ref) {
|
|
|
25156
25258
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
25157
25259
|
"className"
|
|
25158
25260
|
]);
|
|
25159
|
-
return /* @__PURE__ */
|
|
25261
|
+
return /* @__PURE__ */ jsx69(ToastPrimitives.Action, _object_spread({
|
|
25160
25262
|
ref: ref,
|
|
25161
25263
|
className: cn("inline-flex h-8 shrink-0 items-center justify-center rounded-sm border border-slate-200 bg-transparent px-3 text-sm font-medium ring-offset-white transition-colors hover:bg-slate-100 focus:outline-none focus:ring-2 focus:ring-slate-950 focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-slate-100/40 group-[.destructive]:hover:border-red-500/30 group-[.destructive]:hover:bg-red-500 group-[.destructive]:hover:text-slate-50 group-[.destructive]:focus:ring-red-500 dark:border-slate-800 dark:ring-offset-slate-950 dark:hover:bg-slate-800 dark:focus:ring-slate-300 dark:group-[.destructive]:border-slate-800/40 dark:group-[.destructive]:hover:border-red-900/30 dark:group-[.destructive]:hover:bg-red-900 dark:group-[.destructive]:hover:text-slate-50 dark:group-[.destructive]:focus:ring-red-900", className)
|
|
25162
25264
|
}, props));
|
|
@@ -25166,12 +25268,12 @@ var ToastClose = React51.forwardRef(function(_param, ref) {
|
|
|
25166
25268
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
25167
25269
|
"className"
|
|
25168
25270
|
]);
|
|
25169
|
-
return /* @__PURE__ */
|
|
25271
|
+
return /* @__PURE__ */ jsx69(ToastPrimitives.Close, _object_spread_props(_object_spread({
|
|
25170
25272
|
ref: ref,
|
|
25171
25273
|
className: cn("absolute size-5 right-3 top-3 rounded-full p-1 text-cc-Button-Tertiary-fg-default hover:text-cc-Button-Tertiary-fg-alt bg-cc-Button-Tertiary-bg-default hover:bg-cc-Button-Tertiary-bg-hover transition-opacity outline-none focus:outline-none focus:ring-2 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600 ", className),
|
|
25172
25274
|
"toast-close": ""
|
|
25173
25275
|
}, props), {
|
|
25174
|
-
children: /* @__PURE__ */
|
|
25276
|
+
children: /* @__PURE__ */ jsx69(XIcon3, {
|
|
25175
25277
|
className: "h-3 w-3 text-cc-Button-Tertiary-fg-default"
|
|
25176
25278
|
})
|
|
25177
25279
|
}));
|
|
@@ -25181,7 +25283,7 @@ var ToastTitle = React51.forwardRef(function(_param, ref) {
|
|
|
25181
25283
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
25182
25284
|
"className"
|
|
25183
25285
|
]);
|
|
25184
|
-
return /* @__PURE__ */
|
|
25286
|
+
return /* @__PURE__ */ jsx69(ToastPrimitives.Title, _object_spread({
|
|
25185
25287
|
ref: ref,
|
|
25186
25288
|
className: cn("text-sm font-semibold", className)
|
|
25187
25289
|
}, props));
|
|
@@ -25191,7 +25293,7 @@ var ToastDescription = React51.forwardRef(function(_param, ref) {
|
|
|
25191
25293
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
25192
25294
|
"className"
|
|
25193
25295
|
]);
|
|
25194
|
-
return /* @__PURE__ */
|
|
25296
|
+
return /* @__PURE__ */ jsx69(ToastPrimitives.Description, _object_spread({
|
|
25195
25297
|
ref: ref,
|
|
25196
25298
|
className: cn("text-sm opacity-90", className)
|
|
25197
25299
|
}, props));
|
|
@@ -25199,7 +25301,7 @@ var ToastDescription = React51.forwardRef(function(_param, ref) {
|
|
|
25199
25301
|
ToastDescription.displayName = ToastPrimitives.Description.displayName;
|
|
25200
25302
|
// src/components/toast/use-toast.tsx
|
|
25201
25303
|
import * as React52 from "react";
|
|
25202
|
-
import { jsx as
|
|
25304
|
+
import { jsx as jsx70, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
25203
25305
|
var TOAST_LIMIT = 8;
|
|
25204
25306
|
var TOAST_REMOVE_DELAY = 1e3;
|
|
25205
25307
|
var count = 0;
|
|
@@ -25302,10 +25404,10 @@ function toast(_param) {
|
|
|
25302
25404
|
toast: _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, props), {
|
|
25303
25405
|
position: position
|
|
25304
25406
|
}), actions && {
|
|
25305
|
-
action: /* @__PURE__ */
|
|
25407
|
+
action: /* @__PURE__ */ jsxs47("div", {
|
|
25306
25408
|
className: "flex justify-start items-center gap-2",
|
|
25307
25409
|
children: [
|
|
25308
|
-
(actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */
|
|
25410
|
+
(actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */ jsx70(Text, {
|
|
25309
25411
|
size: "sm",
|
|
25310
25412
|
weight: "medium",
|
|
25311
25413
|
color: "brand",
|
|
@@ -25315,13 +25417,13 @@ function toast(_param) {
|
|
|
25315
25417
|
},
|
|
25316
25418
|
children: actions === null || actions === void 0 ? void 0 : actions.dismissText
|
|
25317
25419
|
}),
|
|
25318
|
-
(actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */
|
|
25420
|
+
(actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */ jsx70(link_default, {
|
|
25319
25421
|
href: actions.viewUrl,
|
|
25320
25422
|
target: "_blank",
|
|
25321
25423
|
rel: "noreferrer noopener",
|
|
25322
|
-
children: /* @__PURE__ */
|
|
25424
|
+
children: /* @__PURE__ */ jsx70("div", {
|
|
25323
25425
|
className: "flex items-center gap-1.5",
|
|
25324
|
-
children: /* @__PURE__ */
|
|
25426
|
+
children: /* @__PURE__ */ jsx70(Text, {
|
|
25325
25427
|
size: "sm",
|
|
25326
25428
|
weight: "medium",
|
|
25327
25429
|
color: "default",
|
|
@@ -25372,7 +25474,7 @@ function useToast() {
|
|
|
25372
25474
|
// src/components/toast/toaster.tsx
|
|
25373
25475
|
import React53 from "react";
|
|
25374
25476
|
import { CircleCheckIcon as CircleCheckIcon2, CircleXIcon as CircleXIcon2, InfoIcon as InfoIcon2, TriangleAlertIcon as TriangleAlertIcon2 } from "lucide-react";
|
|
25375
|
-
import { jsx as
|
|
25477
|
+
import { jsx as jsx71, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
25376
25478
|
function Toaster() {
|
|
25377
25479
|
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_position = _ref.position, position = _ref_position === void 0 ? "top-right" : _ref_position;
|
|
25378
25480
|
var toasts = useToast().toasts;
|
|
@@ -25409,19 +25511,19 @@ function Toaster() {
|
|
|
25409
25511
|
var renderIcon3 = function(variant2) {
|
|
25410
25512
|
switch(variant2){
|
|
25411
25513
|
case "info":
|
|
25412
|
-
return /* @__PURE__ */
|
|
25514
|
+
return /* @__PURE__ */ jsx71(InfoIcon2, {
|
|
25413
25515
|
className: "h-6 w-6 sm:h-4.5 sm:w-4.5 text-cc-Icon-Featured-icon-fg-Info"
|
|
25414
25516
|
});
|
|
25415
25517
|
case "success":
|
|
25416
|
-
return /* @__PURE__ */
|
|
25518
|
+
return /* @__PURE__ */ jsx71(CircleCheckIcon2, {
|
|
25417
25519
|
className: "h-6 w-6 sm:h-4.5 sm:w-4.5 text-cc-Icon-Featured-icon-fg-Success"
|
|
25418
25520
|
});
|
|
25419
25521
|
case "warning":
|
|
25420
|
-
return /* @__PURE__ */
|
|
25522
|
+
return /* @__PURE__ */ jsx71(TriangleAlertIcon2, {
|
|
25421
25523
|
className: "h-6 w-6 sm:h-4.5 sm:w-4.5 text-cc-Icon-Featured-icon-fg-Warning"
|
|
25422
25524
|
});
|
|
25423
25525
|
case "error":
|
|
25424
|
-
return /* @__PURE__ */
|
|
25526
|
+
return /* @__PURE__ */ jsx71(CircleXIcon2, {
|
|
25425
25527
|
className: "h-6 w-6 sm:h-4.5 sm:w-4.5 text-cc-Icon-Featured-icon-fg-Error"
|
|
25426
25528
|
});
|
|
25427
25529
|
}
|
|
@@ -25438,26 +25540,26 @@ function Toaster() {
|
|
|
25438
25540
|
return "bg-cc-Icon-Featured-icon-bg-Error";
|
|
25439
25541
|
}
|
|
25440
25542
|
};
|
|
25441
|
-
return /* @__PURE__ */
|
|
25543
|
+
return /* @__PURE__ */ jsxs48(Toast, _object_spread_props(_object_spread({}, toast4), {
|
|
25442
25544
|
position: toastPosition,
|
|
25443
25545
|
children: [
|
|
25444
|
-
/* @__PURE__ */
|
|
25546
|
+
/* @__PURE__ */ jsx71("div", {
|
|
25445
25547
|
className: "flex flex-col gap-3",
|
|
25446
|
-
children: /* @__PURE__ */
|
|
25548
|
+
children: /* @__PURE__ */ jsxs48("div", {
|
|
25447
25549
|
className: "flex items-start gap-3",
|
|
25448
25550
|
children: [
|
|
25449
|
-
/* @__PURE__ */
|
|
25551
|
+
/* @__PURE__ */ jsx71("div", {
|
|
25450
25552
|
className: cn("flex h-10 w-10 sm:h-8 sm:w-8 flex-shrink-0 flex-grow-0 items-center justify-center rounded-full", getBackgroundColor(variant)),
|
|
25451
25553
|
children: icon || renderIcon3(variant)
|
|
25452
25554
|
}),
|
|
25453
|
-
/* @__PURE__ */
|
|
25555
|
+
/* @__PURE__ */ jsxs48("div", {
|
|
25454
25556
|
className: "grid gap-1",
|
|
25455
25557
|
children: [
|
|
25456
|
-
title && /* @__PURE__ */
|
|
25558
|
+
title && /* @__PURE__ */ jsx71(ToastTitle, {
|
|
25457
25559
|
className: "text-base text-cc-Toast-fg-default",
|
|
25458
25560
|
children: title
|
|
25459
25561
|
}),
|
|
25460
|
-
description && /* @__PURE__ */
|
|
25562
|
+
description && /* @__PURE__ */ jsx71(ToastDescription, {
|
|
25461
25563
|
className: "text-sm text-cc-Toast-fg-subtle",
|
|
25462
25564
|
children: description
|
|
25463
25565
|
}),
|
|
@@ -25467,17 +25569,17 @@ function Toaster() {
|
|
|
25467
25569
|
]
|
|
25468
25570
|
})
|
|
25469
25571
|
}),
|
|
25470
|
-
/* @__PURE__ */
|
|
25572
|
+
/* @__PURE__ */ jsx71(ToastClose, {})
|
|
25471
25573
|
]
|
|
25472
25574
|
}), id);
|
|
25473
25575
|
};
|
|
25474
|
-
return /* @__PURE__ */
|
|
25576
|
+
return /* @__PURE__ */ jsx71(ToastProvider, {
|
|
25475
25577
|
children: Object.entries(positionGroups).map(function(param) {
|
|
25476
25578
|
var _param = _sliced_to_array(param, 2), pos = _param[0], toastsForPosition = _param[1];
|
|
25477
|
-
return /* @__PURE__ */
|
|
25579
|
+
return /* @__PURE__ */ jsxs48(React53.Fragment, {
|
|
25478
25580
|
children: [
|
|
25479
25581
|
toastsForPosition.map(renderToast),
|
|
25480
|
-
toastsForPosition.length > 0 && /* @__PURE__ */
|
|
25582
|
+
toastsForPosition.length > 0 && /* @__PURE__ */ jsx71(ToastViewport, {
|
|
25481
25583
|
position: pos
|
|
25482
25584
|
})
|
|
25483
25585
|
]
|
|
@@ -25487,7 +25589,7 @@ function Toaster() {
|
|
|
25487
25589
|
}
|
|
25488
25590
|
// src/components/swiper/index.tsx
|
|
25489
25591
|
import { cva as cva22 } from "class-variance-authority";
|
|
25490
|
-
import { useEffect as useEffect16, useMemo as
|
|
25592
|
+
import { useEffect as useEffect16, useMemo as useMemo8, useRef as useRef12, useState as useState15 } from "react";
|
|
25491
25593
|
import { useRouter as useRouter2 } from "next/navigation";
|
|
25492
25594
|
import { Autoplay, Navigation, FreeMode, Scrollbar, Mousewheel, Grid } from "swiper/modules";
|
|
25493
25595
|
import { Swiper as SwiperComponent, SwiperSlide } from "swiper/react";
|
|
@@ -25499,7 +25601,7 @@ import "swiper/css/pagination";
|
|
|
25499
25601
|
// src/components/swiper/index.module.scss
|
|
25500
25602
|
var index_module_default = '.swiperBox {\n @apply w-full h-fit;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTEuNzggNS4yMmEuNzUuNzUgMCAwIDEgMCAxLjA2TDguMDYgMTBsMy43MiAzLjcyYS43NS43NSAwIDEgMS0xLjA2IDEuMDZsLTQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMC0xLjA2bDQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMS4wNiAwWiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4K");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOC4yMiA1LjIyYS43NS43NSAwIDAgMSAxLjA2IDBsNC4yNSA0LjI1YS43NS43NSAwIDAgMSAwIDEuMDZsLTQuMjUgNC4yNWEuNzUuNzUgMCAwIDEtMS4wNi0xLjA2TDExLjk0IDEwIDguMjIgNi4yOGEuNzUuNzUgMCAwIDEgMC0xLjA2WiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4KCg==");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev::after) {\n @apply text-Colors-Foreground-Default content-none;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next::after) {\n @apply text-Colors-Foreground-Default content-none;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-prev) {\n @apply origin-right;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-next) {\n @apply origin-left;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-slide-active) {\n @apply opacity-100;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-next) {\n @apply -right-4 md:right-0 3xl:right-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-prev) {\n @apply -left-4 md:left-0 3xl:left-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.grid-swiper) :global(.swiper-wrapper) {\n @apply w-[100vw] md:w-full flex-wrap flex-col m-0;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next)::after {\n @apply text-Colors-Foreground-Default text-xs font-bold;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev)::after {\n @apply text-Colors-Foreground-Default text-xs font-bold;\n}\n\n.animate :global(.swiper-slide) {\n transition: transform 500ms linear;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL1VzZXJzL21vbmljYS9EZXNrdG9wL215c2hlbGwvbXlzaGVsbC1yZWFjdC1saWIvc3JjL2NvbXBvbmVudHMvc3dpcGVyIiwic291cmNlcyI6WyJpbmRleC5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFOztBQUdFO0VBQ0U7RUFDQTs7QUFFRjtFQUNFO0VBQ0E7O0FBRUY7RUFDRTs7QUFFRjtFQUNFOztBQUlGO0VBRUU7O0FBRUY7RUFFRTs7QUFFRjtFQUNFOztBQUdGO0VBQ0U7O0FBRUY7RUFDRTs7QUFJRjtFQUNFOztB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B9XG4gICAgICB9XG4gICAgOmdsb2JhbCguc3dpcGVyLWJ1dHRvbi1wcmV2KXtcbiAgICAgIEBhcHBseSBoaWRkZW4gbWQ6ZmxleCBqdXN0aWZ5LWNlbnRlciBpdGVtcy1jZW50ZXIgYWJzb2x1dGUgdG9wLVs1MCVdIHctOCBoLTggZm9udC1zZW1pYm9sZCB0ZXh0LUNvbG9ycy1Gb3JlZ3JvdW5kLURlZmF1bHQgYm9yZGVyIGJvcmRlci1Db2xvcnMtQm9yZGVyLURlZmF1bHQgYmctQ29sb3JzLUJhY2tncm91bmQtTm9ybWFsLVByaW1hcnktRGVmYXVsdCByb3VuZGVkLWZ1bGwgY3Vyc29yLXBvaW50ZXIgaG92ZXI6YmctQ29sb3JzLUJhY2tncm91bmQtTm9ybWFsLVByaW1hcnktSG92ZXIgYWN0aXZlOmJnLUNvbG9ycy1CYWNrZ3JvdW5kLU5vcm1hbC1QcmltYXJ5LUFjdGl2ZTtcbiAgICAgICAgJjo6YWZ0ZXIge1xuICAgICAgICAgIEBhcHBseSB0ZXh0LUNvbG9ycy1Gb3JlZ3JvdW5kLURlZmF1bHQgdGV4dC14cyBmb250LWJvbGQ7XG4gICAgICB9XG4gICAgfVxuICB9XG59XG5cbi5hbmltYXRlIHtcbiAgOmdsb2JhbCguc3dpcGVyLXNsaWRlKSB7XG4gICAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDUwMG1zIGxpbmVhcjtcbiAgfVxufVxuIl19 */';
|
|
25501
25603
|
// src/components/swiper/index.tsx
|
|
25502
|
-
import { jsx as
|
|
25604
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
25503
25605
|
var swiperVariants = cva22("", {
|
|
25504
25606
|
variants: {
|
|
25505
25607
|
rounded: {
|
|
@@ -25525,7 +25627,7 @@ function Swiper(props) {
|
|
|
25525
25627
|
var isGrid = swiperType === "grid";
|
|
25526
25628
|
var router = useRouter2();
|
|
25527
25629
|
var Com = component || "div";
|
|
25528
|
-
var swiperList =
|
|
25630
|
+
var swiperList = useMemo8(function() {
|
|
25529
25631
|
var length = dataList.length;
|
|
25530
25632
|
if (length < 2 || isGrid || isFeatured) {
|
|
25531
25633
|
return dataList;
|
|
@@ -25635,9 +25737,9 @@ function Swiper(props) {
|
|
|
25635
25737
|
}
|
|
25636
25738
|
}
|
|
25637
25739
|
};
|
|
25638
|
-
return /* @__PURE__ */
|
|
25740
|
+
return /* @__PURE__ */ jsx72("div", {
|
|
25639
25741
|
className: index_module_default.swiperBox,
|
|
25640
|
-
children: /* @__PURE__ */
|
|
25742
|
+
children: /* @__PURE__ */ jsx72(SwiperComponent, _object_spread_props(_object_spread({
|
|
25641
25743
|
observer: true,
|
|
25642
25744
|
observeParents: true
|
|
25643
25745
|
}, swiperConfigs), {
|
|
@@ -25647,9 +25749,9 @@ function Swiper(props) {
|
|
|
25647
25749
|
swiperRef.current = swiper;
|
|
25648
25750
|
},
|
|
25649
25751
|
children: swiperList.map(function(item, index) {
|
|
25650
|
-
return /* @__PURE__ */
|
|
25752
|
+
return /* @__PURE__ */ jsx72(SwiperSlide, {
|
|
25651
25753
|
className: cn(isBanner && "banner-swiper-slide !w-[90%] md:!w-[98%] h-[220px] md:h-auto max-w-[1200px] aspect-[4/1] rounded-2xl opacity-30", isFeatured && "rounded-2xl !w-[100%-32px] md:!w-[100%-72px]", isGrid && "grid-swiper-slide !w-[100%-32px] md:!w-[100%-72px] !h-[100%/3] flex justify-center items-center rounded-2xl", "text-clip", slideClassName),
|
|
25652
|
-
children: /* @__PURE__ */
|
|
25754
|
+
children: /* @__PURE__ */ jsx72(Com, {
|
|
25653
25755
|
item: item,
|
|
25654
25756
|
index: index,
|
|
25655
25757
|
onClick: handleSlideItemClick,
|
|
@@ -25666,48 +25768,48 @@ function Swiper(props) {
|
|
|
25666
25768
|
// src/components/custom-notification.tsx
|
|
25667
25769
|
import { toast as toast2 } from "react-hot-toast";
|
|
25668
25770
|
import { XIcon as XIcon4 } from "lucide-react";
|
|
25669
|
-
import { Fragment as Fragment13, jsx as
|
|
25771
|
+
import { Fragment as Fragment13, jsx as jsx73, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
25670
25772
|
function CustomNotification(param) {
|
|
25671
25773
|
var tProps = param.tProps, customProps = param.customProps;
|
|
25672
25774
|
var type = customProps.type, title = customProps.title, content = customProps.content, _customProps_isClosable = customProps.isClosable, isClosable = _customProps_isClosable === void 0 ? false : _customProps_isClosable, action = customProps.action, loading = customProps.loading;
|
|
25673
25775
|
var id = tProps.id;
|
|
25674
25776
|
var displayedContent = !isString(content) ? JSON.stringify(content) : content;
|
|
25675
|
-
return /* @__PURE__ */
|
|
25676
|
-
children: /* @__PURE__ */
|
|
25777
|
+
return /* @__PURE__ */ jsx73("div", {
|
|
25778
|
+
children: /* @__PURE__ */ jsx73("div", {
|
|
25677
25779
|
id: id,
|
|
25678
25780
|
className: "z-[10000000] min-h-10 w-fit max-w-[90vw] rounded-full border border-cc-Popover-border bg-Colors-Background-Utilities-Modal px-3 py-2 shadow-modal-default md:max-w-[560px]",
|
|
25679
|
-
children: /* @__PURE__ */
|
|
25781
|
+
children: /* @__PURE__ */ jsxs49("div", {
|
|
25680
25782
|
className: "flex w-full items-center justify-center gap-2",
|
|
25681
25783
|
children: [
|
|
25682
|
-
loading && /* @__PURE__ */
|
|
25683
|
-
!loading && type && /* @__PURE__ */
|
|
25784
|
+
loading && /* @__PURE__ */ jsx73(Spinner, {}),
|
|
25785
|
+
!loading && type && /* @__PURE__ */ jsxs49("div", {
|
|
25684
25786
|
className: "flex flex-shrink-0 items-center justify-center",
|
|
25685
25787
|
children: [
|
|
25686
|
-
type === "info" && /* @__PURE__ */
|
|
25788
|
+
type === "info" && /* @__PURE__ */ jsx73(CircleInfoIcon, {
|
|
25687
25789
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info items-center justify-center sm:h-4.5 sm:w-4.5"
|
|
25688
25790
|
}),
|
|
25689
|
-
type === "success" && /* @__PURE__ */
|
|
25791
|
+
type === "success" && /* @__PURE__ */ jsx73(CircleSuccessIcon, {
|
|
25690
25792
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success items-center justify-center sm:h-4.5 sm:w-4.5"
|
|
25691
25793
|
}),
|
|
25692
|
-
type === "warning" && /* @__PURE__ */
|
|
25794
|
+
type === "warning" && /* @__PURE__ */ jsx73(CircleWarningIcon, {
|
|
25693
25795
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning items-center justify-center sm:h-4.5 sm:w-4.5"
|
|
25694
25796
|
}),
|
|
25695
|
-
type === "error" && /* @__PURE__ */
|
|
25797
|
+
type === "error" && /* @__PURE__ */ jsx73(CircleErrorIcon, {
|
|
25696
25798
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error items-center justify-center sm:h-4.5 sm:w-4.5"
|
|
25697
25799
|
})
|
|
25698
25800
|
]
|
|
25699
25801
|
}),
|
|
25700
|
-
/* @__PURE__ */
|
|
25802
|
+
/* @__PURE__ */ jsxs49("div", {
|
|
25701
25803
|
className: "flex flex-grow flex-col space-y-1 overflow-hidden",
|
|
25702
25804
|
children: [
|
|
25703
|
-
title && /* @__PURE__ */
|
|
25805
|
+
title && /* @__PURE__ */ jsx73(Text, {
|
|
25704
25806
|
size: "sm",
|
|
25705
25807
|
weight: "regular",
|
|
25706
25808
|
color: "default",
|
|
25707
25809
|
children: title
|
|
25708
25810
|
}),
|
|
25709
|
-
/* @__PURE__ */
|
|
25710
|
-
children: /* @__PURE__ */
|
|
25811
|
+
/* @__PURE__ */ jsx73("div", {
|
|
25812
|
+
children: /* @__PURE__ */ jsx73(Text, {
|
|
25711
25813
|
size: "sm",
|
|
25712
25814
|
weight: "regular",
|
|
25713
25815
|
color: "default",
|
|
@@ -25716,16 +25818,16 @@ function CustomNotification(param) {
|
|
|
25716
25818
|
})
|
|
25717
25819
|
]
|
|
25718
25820
|
}),
|
|
25719
|
-
action && /* @__PURE__ */
|
|
25821
|
+
action && /* @__PURE__ */ jsxs49(Fragment13, {
|
|
25720
25822
|
children: [
|
|
25721
|
-
/* @__PURE__ */
|
|
25823
|
+
/* @__PURE__ */ jsx73(Separator, {
|
|
25722
25824
|
orientation: "vertical",
|
|
25723
25825
|
className: "h-3"
|
|
25724
25826
|
}),
|
|
25725
25827
|
action
|
|
25726
25828
|
]
|
|
25727
25829
|
}),
|
|
25728
|
-
isClosable && /* @__PURE__ */
|
|
25830
|
+
isClosable && /* @__PURE__ */ jsx73(IconButton, {
|
|
25729
25831
|
size: "sm",
|
|
25730
25832
|
variant: "plain",
|
|
25731
25833
|
icon: XIcon4,
|
|
@@ -25742,14 +25844,14 @@ function CustomNotification(param) {
|
|
|
25742
25844
|
// src/common/hooks/useNotification.tsx
|
|
25743
25845
|
import { useCallback as useCallback7 } from "react";
|
|
25744
25846
|
import { toast as toast3 } from "react-hot-toast";
|
|
25745
|
-
import { jsx as
|
|
25847
|
+
import { jsx as jsx74 } from "react/jsx-runtime";
|
|
25746
25848
|
function useNotification() {
|
|
25747
25849
|
var addToast = useCallback7(function(config2, duration2) {
|
|
25748
25850
|
if (config2.id) {
|
|
25749
25851
|
toast3.remove(config2.id);
|
|
25750
25852
|
}
|
|
25751
25853
|
toast3.custom(function(t) {
|
|
25752
|
-
return /* @__PURE__ */
|
|
25854
|
+
return /* @__PURE__ */ jsx74(CustomNotification, {
|
|
25753
25855
|
tProps: _object_spread_props(_object_spread({}, t), {
|
|
25754
25856
|
duration: duration2
|
|
25755
25857
|
}),
|
|
@@ -25810,7 +25912,7 @@ var Message = /*#__PURE__*/ function() {
|
|
|
25810
25912
|
}
|
|
25811
25913
|
var addToast = function() {
|
|
25812
25914
|
toast3.custom(function(t) {
|
|
25813
|
-
return /* @__PURE__ */
|
|
25915
|
+
return /* @__PURE__ */ jsx74(CustomNotification, {
|
|
25814
25916
|
tProps: _object_spread_props(_object_spread({}, t), {
|
|
25815
25917
|
duration: duration2
|
|
25816
25918
|
}),
|
|
@@ -25865,7 +25967,7 @@ var Message = /*#__PURE__*/ function() {
|
|
|
25865
25967
|
]);
|
|
25866
25968
|
return Message;
|
|
25867
25969
|
}();
|
|
25868
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, Cascader, CascaderContent, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Controller, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuHover, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorIcon, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormProvider, Guide, Heading, Icon, IconButton, Image2 as Image, ImgEmptyState, Input, Label3 as Label, Link, LinkButton, LogoIcon, LogoLoading, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultipleSelector, NetworkErrorIcon, NetworkErrorState, NoPageIcon, NoPageState, NumberInput, Paragraph, Popover, PopoverAnchor, PopoverContent, PopoverRoot, Progress, ProgressIndicator, ProgressRoot, RadioGroup4 as RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, SearchEmptyState, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderPrimitive, SliderSingle, Spinner, State2 as State, SubHeading, SubTitle, Swiper, Switch, Tab, Tabs2 as Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, Title, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useForm, useFormContext, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWatch, useWindowWidth }; /*! Bundled license information:
|
|
25970
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, Cascader, CascaderContent, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Controller, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuHover, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorIcon, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormProvider, Guide, Heading, Icon, IconButton, Image2 as Image, ImgEmptyState, Input, Label3 as Label, Link, LinkButton, LogoIcon, LogoLoading, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultipleSelector, NetworkErrorIcon, NetworkErrorState, NoPageIcon, NoPageState, NumberInput, Pagination, Paragraph, Popover, PopoverAnchor, PopoverContent, PopoverRoot, Progress, ProgressIndicator, ProgressRoot, RadioGroup4 as RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, SearchEmptyState, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderPrimitive, SliderSingle, Spinner, State2 as State, SubHeading, SubTitle, Swiper, Switch, Tab, Tabs2 as Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, Title, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useForm, useFormContext, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWatch, useWindowWidth }; /*! Bundled license information:
|
|
25869
25971
|
|
|
25870
25972
|
decimal.js/decimal.mjs:
|
|
25871
25973
|
(*!
|