@momo-webplatform/mobase 0.2.63 → 0.2.65
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/cjs/index.cjs +15 -15
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +113 -5
- package/dist/esm/index.d.ts +113 -5
- package/dist/esm/index.js +15 -15
- package/dist/esm/index.js.map +1 -1
- package/package.json +3 -3
package/dist/cjs/index.d.cts
CHANGED
|
@@ -10,7 +10,7 @@ import { DayPicker } from 'react-day-picker';
|
|
|
10
10
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
11
11
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
12
12
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
13
|
-
import { PopoverProps } from '@radix-ui/react-popover';
|
|
13
|
+
import { PopoverProps, PopoverContentProps } from '@radix-ui/react-popover';
|
|
14
14
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
15
15
|
import * as Radix from '@radix-ui/react-primitive';
|
|
16
16
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
@@ -381,11 +381,11 @@ type CalendarProps = React$1.ComponentProps<typeof DayPicker> & {
|
|
|
381
381
|
/**
|
|
382
382
|
* A function custom content for day cell.
|
|
383
383
|
*/
|
|
384
|
-
cusContentDay?: (date: Date) =>
|
|
384
|
+
cusContentDay?: (date: Date) => React$1.ReactNode;
|
|
385
385
|
/**
|
|
386
386
|
* Language for calendar support vi or en. Default is vi.
|
|
387
387
|
*/
|
|
388
|
-
lang?:
|
|
388
|
+
lang?: "vi" | "en";
|
|
389
389
|
};
|
|
390
390
|
declare function Calendar({ className, classNames, showOutsideDays, enableLunaDate, lang, cusContentDay, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
391
391
|
declare namespace Calendar {
|
|
@@ -453,12 +453,65 @@ type DatePickerProps = {
|
|
|
453
453
|
* Props to pass to the Popover component
|
|
454
454
|
*/
|
|
455
455
|
popoverProps?: Partial<PopoverProps>;
|
|
456
|
+
/**
|
|
457
|
+
* Props to pass to the PopoverContent component
|
|
458
|
+
*/
|
|
459
|
+
popoverContentProps?: Partial<PopoverContentProps>;
|
|
456
460
|
/**
|
|
457
461
|
* Props to pass to the Calendar component
|
|
458
462
|
*/
|
|
459
463
|
calendarProps?: Partial<CalendarProps>;
|
|
460
464
|
};
|
|
461
|
-
declare const DatePicker: ({ label, placeholder, size, message, isError, disabled, dateFormat, buttonProps, popoverProps, calendarProps, }: DatePickerProps) => react_jsx_runtime.JSX.Element;
|
|
465
|
+
declare const DatePicker: ({ label, placeholder, size, message, isError, disabled, dateFormat, buttonProps, popoverProps, calendarProps, popoverContentProps, }: DatePickerProps) => react_jsx_runtime.JSX.Element;
|
|
466
|
+
|
|
467
|
+
interface DateSelectProps {
|
|
468
|
+
/**
|
|
469
|
+
* Label for the Date Select component
|
|
470
|
+
*/
|
|
471
|
+
label?: string;
|
|
472
|
+
/**
|
|
473
|
+
* Value of the Date Select component
|
|
474
|
+
*/
|
|
475
|
+
selected?: Date | undefined | null;
|
|
476
|
+
/**
|
|
477
|
+
* Event handler when user select a date
|
|
478
|
+
*/
|
|
479
|
+
onSelect?: (date: Date | undefined | null) => void;
|
|
480
|
+
/**
|
|
481
|
+
* Size of the DatePicker component
|
|
482
|
+
*/
|
|
483
|
+
size?: 1 | 2;
|
|
484
|
+
/**
|
|
485
|
+
* Error state of the DatePicker component
|
|
486
|
+
*/
|
|
487
|
+
isError?: boolean;
|
|
488
|
+
/**
|
|
489
|
+
* disabled state of the DatePicker component
|
|
490
|
+
*/
|
|
491
|
+
disabled?: boolean;
|
|
492
|
+
/**
|
|
493
|
+
* Message to display below the DatePicker
|
|
494
|
+
*/
|
|
495
|
+
message?: string;
|
|
496
|
+
/**
|
|
497
|
+
* Format that is used to display date in the input, It is based on (Unicode Technical Standart #35)[https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table]
|
|
498
|
+
*/
|
|
499
|
+
dateFormat?: string;
|
|
500
|
+
/**
|
|
501
|
+
* Language of the Date Select component
|
|
502
|
+
*/
|
|
503
|
+
lang?: "vi" | "en";
|
|
504
|
+
/**
|
|
505
|
+
* The earliest year to start the month navigation.
|
|
506
|
+
*/
|
|
507
|
+
fromYear?: number;
|
|
508
|
+
/**
|
|
509
|
+
* The earliest year to start the month navigation.
|
|
510
|
+
*/
|
|
511
|
+
toYear?: number;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
declare const DateSelect: ({ label, selected, onSelect, size, message, isError, disabled, dateFormat, lang, fromYear, toYear, }: DateSelectProps) => react_jsx_runtime.JSX.Element;
|
|
462
515
|
|
|
463
516
|
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
464
517
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1754,6 +1807,61 @@ interface MetricsSectionProps extends SectionBlockProps {
|
|
|
1754
1807
|
|
|
1755
1808
|
declare const MetricsSection: ({ dataHeading, dataMetrics, dataButtons, background, className, template, }: MetricsSectionProps) => react_jsx_runtime.JSX.Element;
|
|
1756
1809
|
|
|
1810
|
+
interface PaymentInvoiceProps {
|
|
1811
|
+
title?: string;
|
|
1812
|
+
children?: React.ReactNode;
|
|
1813
|
+
className?: string;
|
|
1814
|
+
}
|
|
1815
|
+
interface PaymentMethodsItemsProps {
|
|
1816
|
+
id: string;
|
|
1817
|
+
name: string;
|
|
1818
|
+
label?: string;
|
|
1819
|
+
logo: string;
|
|
1820
|
+
description?: string;
|
|
1821
|
+
disabled: boolean;
|
|
1822
|
+
}
|
|
1823
|
+
interface PaymentMethodsProps {
|
|
1824
|
+
title?: string;
|
|
1825
|
+
isLoading?: boolean;
|
|
1826
|
+
paymentMethods: PaymentMethodsItemsProps[];
|
|
1827
|
+
onSelectPaymentMethod: (value: string) => void;
|
|
1828
|
+
defaultPaymentMethod?: string;
|
|
1829
|
+
}
|
|
1830
|
+
interface IPayment {
|
|
1831
|
+
className?: string;
|
|
1832
|
+
children: React.ReactNode;
|
|
1833
|
+
title?: string;
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
declare const PaymentInvoice: React$1.ForwardRefExoticComponent<PaymentInvoiceProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1837
|
+
|
|
1838
|
+
declare const PaymentMethods: ({ title, paymentMethods, isLoading, onSelectPaymentMethod, defaultPaymentMethod, }: PaymentMethodsProps) => react_jsx_runtime.JSX.Element;
|
|
1839
|
+
|
|
1840
|
+
declare const Payment: React$1.ForwardRefExoticComponent<IPayment & React$1.RefAttributes<HTMLDivElement>>;
|
|
1841
|
+
|
|
1842
|
+
interface PaymentResultContentProps {
|
|
1843
|
+
children: React.ReactNode;
|
|
1844
|
+
className?: string;
|
|
1845
|
+
}
|
|
1846
|
+
interface PaymentResultFooterProps {
|
|
1847
|
+
children: React.ReactNode;
|
|
1848
|
+
className?: string;
|
|
1849
|
+
}
|
|
1850
|
+
interface PaymentResultProps {
|
|
1851
|
+
status: "success" | "failed" | "pending" | "error";
|
|
1852
|
+
title: string;
|
|
1853
|
+
message?: string;
|
|
1854
|
+
className?: string;
|
|
1855
|
+
iconPaymentResult?: React.ReactNode;
|
|
1856
|
+
children?: React.ReactNode;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
declare const PaymentResultFooter: React$1.ForwardRefExoticComponent<PaymentResultFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1860
|
+
|
|
1861
|
+
declare const PaymentResultContent: React$1.ForwardRefExoticComponent<PaymentResultContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1862
|
+
|
|
1863
|
+
declare const PaymentResult: React$1.ForwardRefExoticComponent<PaymentResultProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1864
|
+
|
|
1757
1865
|
/**
|
|
1758
1866
|
* This Tailwind plugin is based and inspired on "tw-colors" and "NextUI".
|
|
1759
1867
|
*
|
|
@@ -1767,4 +1875,4 @@ declare const mobaseTW: () => {
|
|
|
1767
1875
|
|
|
1768
1876
|
declare const SiteMeta: react_jsx_runtime.JSX.Element;
|
|
1769
1877
|
|
|
1770
|
-
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, ActionButton, type ActionButtonProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, type AlertDialogPortalProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, AspectRatio, Badge, BlogSection, type BlogSectionProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CTASection, type CTASectionProps, Calendar, type CalendarProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, ChoiceboxGroup, ChoiceboxGroupItem, ChoiceboxMultiItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Comment, type ContentsProps, type DataFAQProps, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, type DialogQrProps, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FAQSection, type FAQSectionProps, FeatureSection, type FeatureSectionProps, Footer, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GuideSection, type GuideSectionProps, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, type HeroContentProps, HeroSection, HorizontalContent, HorizontalNext, HorizontalPrevious, HorizontalScroll, type HorizontalScrollProps, HowItWorksSection, type HowItWorksSectionProps, type IComment, type ICommentContent, type ICommentFooter, type ICommentHeader, IconButton, type IconButtonProps, LightBoxGalleryContent, LightboxGallery, LightboxThumbnail, MetricsSection, type MetricsSectionProps, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NewsSection, type NewsSectionProps, Pagination, Popover, PopoverContent, PopoverTrigger, ProgressSteps, ProgressStepsItem, ProgressStepsItemTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, ReadMoreLite, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Skeleton, Slider, SocialProofSection, type SocialProofSectionProps, Spinner, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialSection, type TestimonialSectionProps, TextArea, type TextAreaProps, TextButton, type TextButtonProps, TextInput, type TextInputProps, ToastAction, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, mobaseTW, navigationMenuTriggerStyle, textButtonVariants, toast, useFormField, useToast };
|
|
1878
|
+
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, ActionButton, type ActionButtonProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, type AlertDialogPortalProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, AspectRatio, Badge, BlogSection, type BlogSectionProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CTASection, type CTASectionProps, Calendar, type CalendarProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, ChoiceboxGroup, ChoiceboxGroupItem, ChoiceboxMultiItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Comment, type ContentsProps, type DataFAQProps, DatePicker, type DatePickerProps, DateSelect, type DateSelectProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, type DialogQrProps, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FAQSection, type FAQSectionProps, FeatureSection, type FeatureSectionProps, Footer, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GuideSection, type GuideSectionProps, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, type HeroContentProps, HeroSection, HorizontalContent, HorizontalNext, HorizontalPrevious, HorizontalScroll, type HorizontalScrollProps, HowItWorksSection, type HowItWorksSectionProps, type IComment, type ICommentContent, type ICommentFooter, type ICommentHeader, type IPayment, IconButton, type IconButtonProps, LightBoxGalleryContent, LightboxGallery, LightboxThumbnail, MetricsSection, type MetricsSectionProps, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NewsSection, type NewsSectionProps, Pagination, Payment, PaymentInvoice, PaymentMethods, PaymentResult, PaymentResultContent, PaymentResultFooter, type PaymentResultProps, Popover, PopoverContent, PopoverTrigger, ProgressSteps, ProgressStepsItem, ProgressStepsItemTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, ReadMoreLite, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Skeleton, Slider, SocialProofSection, type SocialProofSectionProps, Spinner, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialSection, type TestimonialSectionProps, TextArea, type TextAreaProps, TextButton, type TextButtonProps, TextInput, type TextInputProps, ToastAction, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, mobaseTW, navigationMenuTriggerStyle, textButtonVariants, toast, useFormField, useToast };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { DayPicker } from 'react-day-picker';
|
|
|
10
10
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
11
11
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
12
12
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
13
|
-
import { PopoverProps } from '@radix-ui/react-popover';
|
|
13
|
+
import { PopoverProps, PopoverContentProps } from '@radix-ui/react-popover';
|
|
14
14
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
15
15
|
import * as Radix from '@radix-ui/react-primitive';
|
|
16
16
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
@@ -381,11 +381,11 @@ type CalendarProps = React$1.ComponentProps<typeof DayPicker> & {
|
|
|
381
381
|
/**
|
|
382
382
|
* A function custom content for day cell.
|
|
383
383
|
*/
|
|
384
|
-
cusContentDay?: (date: Date) =>
|
|
384
|
+
cusContentDay?: (date: Date) => React$1.ReactNode;
|
|
385
385
|
/**
|
|
386
386
|
* Language for calendar support vi or en. Default is vi.
|
|
387
387
|
*/
|
|
388
|
-
lang?:
|
|
388
|
+
lang?: "vi" | "en";
|
|
389
389
|
};
|
|
390
390
|
declare function Calendar({ className, classNames, showOutsideDays, enableLunaDate, lang, cusContentDay, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
391
391
|
declare namespace Calendar {
|
|
@@ -453,12 +453,65 @@ type DatePickerProps = {
|
|
|
453
453
|
* Props to pass to the Popover component
|
|
454
454
|
*/
|
|
455
455
|
popoverProps?: Partial<PopoverProps>;
|
|
456
|
+
/**
|
|
457
|
+
* Props to pass to the PopoverContent component
|
|
458
|
+
*/
|
|
459
|
+
popoverContentProps?: Partial<PopoverContentProps>;
|
|
456
460
|
/**
|
|
457
461
|
* Props to pass to the Calendar component
|
|
458
462
|
*/
|
|
459
463
|
calendarProps?: Partial<CalendarProps>;
|
|
460
464
|
};
|
|
461
|
-
declare const DatePicker: ({ label, placeholder, size, message, isError, disabled, dateFormat, buttonProps, popoverProps, calendarProps, }: DatePickerProps) => react_jsx_runtime.JSX.Element;
|
|
465
|
+
declare const DatePicker: ({ label, placeholder, size, message, isError, disabled, dateFormat, buttonProps, popoverProps, calendarProps, popoverContentProps, }: DatePickerProps) => react_jsx_runtime.JSX.Element;
|
|
466
|
+
|
|
467
|
+
interface DateSelectProps {
|
|
468
|
+
/**
|
|
469
|
+
* Label for the Date Select component
|
|
470
|
+
*/
|
|
471
|
+
label?: string;
|
|
472
|
+
/**
|
|
473
|
+
* Value of the Date Select component
|
|
474
|
+
*/
|
|
475
|
+
selected?: Date | undefined | null;
|
|
476
|
+
/**
|
|
477
|
+
* Event handler when user select a date
|
|
478
|
+
*/
|
|
479
|
+
onSelect?: (date: Date | undefined | null) => void;
|
|
480
|
+
/**
|
|
481
|
+
* Size of the DatePicker component
|
|
482
|
+
*/
|
|
483
|
+
size?: 1 | 2;
|
|
484
|
+
/**
|
|
485
|
+
* Error state of the DatePicker component
|
|
486
|
+
*/
|
|
487
|
+
isError?: boolean;
|
|
488
|
+
/**
|
|
489
|
+
* disabled state of the DatePicker component
|
|
490
|
+
*/
|
|
491
|
+
disabled?: boolean;
|
|
492
|
+
/**
|
|
493
|
+
* Message to display below the DatePicker
|
|
494
|
+
*/
|
|
495
|
+
message?: string;
|
|
496
|
+
/**
|
|
497
|
+
* Format that is used to display date in the input, It is based on (Unicode Technical Standart #35)[https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table]
|
|
498
|
+
*/
|
|
499
|
+
dateFormat?: string;
|
|
500
|
+
/**
|
|
501
|
+
* Language of the Date Select component
|
|
502
|
+
*/
|
|
503
|
+
lang?: "vi" | "en";
|
|
504
|
+
/**
|
|
505
|
+
* The earliest year to start the month navigation.
|
|
506
|
+
*/
|
|
507
|
+
fromYear?: number;
|
|
508
|
+
/**
|
|
509
|
+
* The earliest year to start the month navigation.
|
|
510
|
+
*/
|
|
511
|
+
toYear?: number;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
declare const DateSelect: ({ label, selected, onSelect, size, message, isError, disabled, dateFormat, lang, fromYear, toYear, }: DateSelectProps) => react_jsx_runtime.JSX.Element;
|
|
462
515
|
|
|
463
516
|
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
464
517
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1754,6 +1807,61 @@ interface MetricsSectionProps extends SectionBlockProps {
|
|
|
1754
1807
|
|
|
1755
1808
|
declare const MetricsSection: ({ dataHeading, dataMetrics, dataButtons, background, className, template, }: MetricsSectionProps) => react_jsx_runtime.JSX.Element;
|
|
1756
1809
|
|
|
1810
|
+
interface PaymentInvoiceProps {
|
|
1811
|
+
title?: string;
|
|
1812
|
+
children?: React.ReactNode;
|
|
1813
|
+
className?: string;
|
|
1814
|
+
}
|
|
1815
|
+
interface PaymentMethodsItemsProps {
|
|
1816
|
+
id: string;
|
|
1817
|
+
name: string;
|
|
1818
|
+
label?: string;
|
|
1819
|
+
logo: string;
|
|
1820
|
+
description?: string;
|
|
1821
|
+
disabled: boolean;
|
|
1822
|
+
}
|
|
1823
|
+
interface PaymentMethodsProps {
|
|
1824
|
+
title?: string;
|
|
1825
|
+
isLoading?: boolean;
|
|
1826
|
+
paymentMethods: PaymentMethodsItemsProps[];
|
|
1827
|
+
onSelectPaymentMethod: (value: string) => void;
|
|
1828
|
+
defaultPaymentMethod?: string;
|
|
1829
|
+
}
|
|
1830
|
+
interface IPayment {
|
|
1831
|
+
className?: string;
|
|
1832
|
+
children: React.ReactNode;
|
|
1833
|
+
title?: string;
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
declare const PaymentInvoice: React$1.ForwardRefExoticComponent<PaymentInvoiceProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1837
|
+
|
|
1838
|
+
declare const PaymentMethods: ({ title, paymentMethods, isLoading, onSelectPaymentMethod, defaultPaymentMethod, }: PaymentMethodsProps) => react_jsx_runtime.JSX.Element;
|
|
1839
|
+
|
|
1840
|
+
declare const Payment: React$1.ForwardRefExoticComponent<IPayment & React$1.RefAttributes<HTMLDivElement>>;
|
|
1841
|
+
|
|
1842
|
+
interface PaymentResultContentProps {
|
|
1843
|
+
children: React.ReactNode;
|
|
1844
|
+
className?: string;
|
|
1845
|
+
}
|
|
1846
|
+
interface PaymentResultFooterProps {
|
|
1847
|
+
children: React.ReactNode;
|
|
1848
|
+
className?: string;
|
|
1849
|
+
}
|
|
1850
|
+
interface PaymentResultProps {
|
|
1851
|
+
status: "success" | "failed" | "pending" | "error";
|
|
1852
|
+
title: string;
|
|
1853
|
+
message?: string;
|
|
1854
|
+
className?: string;
|
|
1855
|
+
iconPaymentResult?: React.ReactNode;
|
|
1856
|
+
children?: React.ReactNode;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
declare const PaymentResultFooter: React$1.ForwardRefExoticComponent<PaymentResultFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1860
|
+
|
|
1861
|
+
declare const PaymentResultContent: React$1.ForwardRefExoticComponent<PaymentResultContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1862
|
+
|
|
1863
|
+
declare const PaymentResult: React$1.ForwardRefExoticComponent<PaymentResultProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1864
|
+
|
|
1757
1865
|
/**
|
|
1758
1866
|
* This Tailwind plugin is based and inspired on "tw-colors" and "NextUI".
|
|
1759
1867
|
*
|
|
@@ -1767,4 +1875,4 @@ declare const mobaseTW: () => {
|
|
|
1767
1875
|
|
|
1768
1876
|
declare const SiteMeta: react_jsx_runtime.JSX.Element;
|
|
1769
1877
|
|
|
1770
|
-
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, ActionButton, type ActionButtonProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, type AlertDialogPortalProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, AspectRatio, Badge, BlogSection, type BlogSectionProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CTASection, type CTASectionProps, Calendar, type CalendarProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, ChoiceboxGroup, ChoiceboxGroupItem, ChoiceboxMultiItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Comment, type ContentsProps, type DataFAQProps, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, type DialogQrProps, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FAQSection, type FAQSectionProps, FeatureSection, type FeatureSectionProps, Footer, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GuideSection, type GuideSectionProps, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, type HeroContentProps, HeroSection, HorizontalContent, HorizontalNext, HorizontalPrevious, HorizontalScroll, type HorizontalScrollProps, HowItWorksSection, type HowItWorksSectionProps, type IComment, type ICommentContent, type ICommentFooter, type ICommentHeader, IconButton, type IconButtonProps, LightBoxGalleryContent, LightboxGallery, LightboxThumbnail, MetricsSection, type MetricsSectionProps, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NewsSection, type NewsSectionProps, Pagination, Popover, PopoverContent, PopoverTrigger, ProgressSteps, ProgressStepsItem, ProgressStepsItemTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, ReadMoreLite, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Skeleton, Slider, SocialProofSection, type SocialProofSectionProps, Spinner, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialSection, type TestimonialSectionProps, TextArea, type TextAreaProps, TextButton, type TextButtonProps, TextInput, type TextInputProps, ToastAction, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, mobaseTW, navigationMenuTriggerStyle, textButtonVariants, toast, useFormField, useToast };
|
|
1878
|
+
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, ActionButton, type ActionButtonProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, type AlertDialogPortalProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, AspectRatio, Badge, BlogSection, type BlogSectionProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CTASection, type CTASectionProps, Calendar, type CalendarProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, ChoiceboxGroup, ChoiceboxGroupItem, ChoiceboxMultiItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Comment, type ContentsProps, type DataFAQProps, DatePicker, type DatePickerProps, DateSelect, type DateSelectProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, type DialogQrProps, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FAQSection, type FAQSectionProps, FeatureSection, type FeatureSectionProps, Footer, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GuideSection, type GuideSectionProps, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, type HeroContentProps, HeroSection, HorizontalContent, HorizontalNext, HorizontalPrevious, HorizontalScroll, type HorizontalScrollProps, HowItWorksSection, type HowItWorksSectionProps, type IComment, type ICommentContent, type ICommentFooter, type ICommentHeader, type IPayment, IconButton, type IconButtonProps, LightBoxGalleryContent, LightboxGallery, LightboxThumbnail, MetricsSection, type MetricsSectionProps, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NewsSection, type NewsSectionProps, Pagination, Payment, PaymentInvoice, PaymentMethods, PaymentResult, PaymentResultContent, PaymentResultFooter, type PaymentResultProps, Popover, PopoverContent, PopoverTrigger, ProgressSteps, ProgressStepsItem, ProgressStepsItemTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, ReadMoreLite, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Skeleton, Slider, SocialProofSection, type SocialProofSectionProps, Spinner, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialSection, type TestimonialSectionProps, TextArea, type TextAreaProps, TextButton, type TextButtonProps, TextInput, type TextInputProps, ToastAction, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, mobaseTW, navigationMenuTriggerStyle, textButtonVariants, toast, useFormField, useToast };
|