@customafk/lunas-ui 0.2.30 → 0.2.32
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/{alert-DOsSwv1-.d.cts → alert-CqRM6LFa.d.cts} +7 -7
- package/dist/{alert-B7978FZb.d.mts → alert-hSQjkSHn.d.mts} +7 -7
- package/dist/{badge-Bt62wY4t.d.cts → badge-BNlMwt54.d.mts} +6 -6
- package/dist/{badge-DXiJn9XY.d.mts → badge-BXCkfLW0.d.cts} +6 -6
- package/dist/{button-CPYKtYVF.d.mts → button-DhUjRe5e.d.mts} +7 -7
- package/dist/{button-BHCmEoty.d.cts → button-xc_1ixgJ.d.cts} +5 -5
- package/dist/data-display/statistic.d.cts +3 -3
- package/dist/{dialog-DWWtnPg0.d.mts → dialog-KxgG7gFA.d.mts} +12 -12
- package/dist/{dialog-CEaSFdY9.d.cts → dialog-gZTogunf.d.cts} +12 -12
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +26 -26
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +26 -26
- package/dist/features/descriptions/index.d.cts +3 -3
- package/dist/features/descriptions/index.d.mts +3 -3
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/tables/index.d.cts +1 -1
- package/dist/features/tables/index.d.mts +2 -2
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.d.cts +1 -1
- package/dist/features/tanstack-form/index.d.mts +1 -1
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/features/text-editor/index.d.cts +1 -1
- package/dist/features/text-editor/index.d.mts +1 -1
- package/dist/{index-DpqGxieY.d.cts → index-22flsTNt.d.cts} +2 -2
- package/dist/{index-D6UbdtXa.d.mts → index-DDPBbVVt.d.cts} +368 -368
- package/dist/{index-Cotq70wL.d.cts → index-DMUr1T2A.d.cts} +6 -6
- package/dist/{index-DDYTIEq3.d.mts → index-DdqgMofm.d.mts} +2 -2
- package/dist/{index-BJiTJozG.d.cts → index-WCk8mTXV.d.mts} +367 -367
- package/dist/{index-TvuUzBSW.d.mts → index-cSJtvD9W.d.mts} +6 -6
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.mts +8 -8
- package/dist/index.mjs +1 -1
- package/dist/{input-B4ZV1tKO.d.cts → input-BILuHVfC.d.mts} +5 -5
- package/dist/{input-Che86SWz.d.mts → input-CEYWz7lS.d.cts} +5 -5
- package/dist/layouts/flex.d.cts +5 -5
- package/dist/layouts/flex.d.mts +5 -5
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/LoginPage.cjs +1 -1
- package/dist/pages/LoginPage.cjs.map +1 -1
- package/dist/pages/LoginPage.d.cts +2 -2
- package/dist/pages/LoginPage.d.mts +2 -2
- package/dist/pages/LoginPage.mjs +1 -1
- package/dist/pages/LoginPage.mjs.map +1 -1
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/pages/RegisterPage.cjs +1 -1
- package/dist/pages/RegisterPage.cjs.map +1 -1
- package/dist/pages/RegisterPage.d.cts +2 -2
- package/dist/pages/RegisterPage.d.mts +2 -2
- package/dist/pages/RegisterPage.mjs +1 -1
- package/dist/pages/RegisterPage.mjs.map +1 -1
- package/dist/pages/VerifyEmailPage.cjs +1 -1
- package/dist/pages/VerifyEmailPage.cjs.map +1 -1
- package/dist/pages/VerifyEmailPage.d.cts +2 -2
- package/dist/pages/VerifyEmailPage.d.mts +2 -2
- package/dist/pages/VerifyEmailPage.mjs +1 -1
- package/dist/pages/VerifyEmailPage.mjs.map +1 -1
- package/dist/tanstack-form-Be6aIYAW.mjs +2 -0
- package/dist/tanstack-form-Be6aIYAW.mjs.map +1 -0
- package/dist/tanstack-form-CDgTokmf.cjs +2 -0
- package/dist/tanstack-form-CDgTokmf.cjs.map +1 -0
- package/dist/typography/paragraph.d.cts +5 -5
- package/dist/typography/paragraph.d.mts +5 -5
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.mts +12 -12
- package/dist/ui/alert.d.cts +1 -1
- package/dist/ui/alert.d.mts +1 -1
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.mts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.mts +4 -4
- package/dist/ui/badge.d.cts +1 -1
- package/dist/ui/badge.d.mts +1 -1
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/button-group.d.cts +6 -6
- package/dist/ui/button-group.d.mts +6 -6
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +4 -4
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +8 -8
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/checkbox.d.mts +2 -2
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.mts +4 -4
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.mts +11 -11
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +16 -16
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.mts +11 -11
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.mts +16 -16
- package/dist/ui/empty.d.cts +9 -9
- package/dist/ui/empty.d.mts +9 -9
- package/dist/ui/field.d.cts +21 -21
- package/dist/ui/field.d.mts +21 -21
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/form.d.cts +10 -10
- package/dist/ui/form.d.mts +10 -10
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.mts +4 -4
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.mts +5 -5
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.mts +3 -3
- package/dist/ui/item.d.cts +14 -14
- package/dist/ui/item.d.mts +14 -14
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +17 -17
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/multi-select.d.mts +3 -3
- package/dist/ui/navigation-menu.d.cts +11 -11
- package/dist/ui/navigation-menu.d.mts +11 -11
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.mts +9 -9
- package/dist/ui/popover.d.cts +6 -6
- package/dist/ui/popover.d.mts +6 -6
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/resizable.d.cts +9 -9
- package/dist/ui/resizable.d.mts +9 -9
- package/dist/ui/scroll-area.d.cts +5 -5
- package/dist/ui/scroll-area.d.mts +5 -5
- package/dist/ui/select.d.cts +9 -9
- package/dist/ui/select.d.mts +9 -9
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/separator.d.mts +2 -2
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sidebar.d.cts +28 -28
- package/dist/ui/sidebar.d.mts +28 -28
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.mts +2 -2
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.mts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.mts +2 -2
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.mts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/table.d.cts +17 -17
- package/dist/ui/table.d.mts +17 -17
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle.d.cts +4 -4
- package/dist/ui/toggle.d.mts +4 -4
- package/dist/ui/tooltip.d.cts +5 -5
- package/dist/ui/tooltip.d.mts +5 -5
- package/package.json +1 -1
- package/dist/tanstack-form-B9CugNS5.cjs +0 -2
- package/dist/tanstack-form-B9CugNS5.cjs.map +0 -1
- package/dist/tanstack-form-DJ90sBFl.mjs +0 -2
- package/dist/tanstack-form-DJ90sBFl.mjs.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react655 from "react";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import { Editor } from "@tiptap/react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types22 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/features/text-editor/text-editor.variants.d.ts
|
|
7
7
|
declare const textEditorVariants: (props?: ({
|
|
8
8
|
variant?: "outline" | "ghost" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types22.ClassProp) | undefined) => string;
|
|
10
10
|
type TextEditorVariantProps = VariantProps<typeof textEditorVariants>;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region packages/components/features/text-editor/text-editor.d.ts
|
|
@@ -32,7 +32,7 @@ declare function TextEditor({
|
|
|
32
32
|
className,
|
|
33
33
|
toolbarClassName,
|
|
34
34
|
editorClassName
|
|
35
|
-
}: TextEditorProps):
|
|
35
|
+
}: TextEditorProps): react655.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region packages/components/features/text-editor/toolbar.d.ts
|
|
38
38
|
interface TextEditorToolbarProps {
|
|
@@ -42,7 +42,7 @@ interface TextEditorToolbarProps {
|
|
|
42
42
|
declare function TextEditorToolbar({
|
|
43
43
|
editor,
|
|
44
44
|
className
|
|
45
|
-
}: TextEditorToolbarProps):
|
|
45
|
+
}: TextEditorToolbarProps): react655.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { TextEditorProps as i, TextEditorToolbarProps as n, TextEditor as r, TextEditorToolbar as t };
|
|
48
|
-
//# sourceMappingURL=index-
|
|
48
|
+
//# sourceMappingURL=index-cSJtvD9W.d.mts.map
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const ee=require(`./chunk-Bmb41Sf3.cjs`);require(`./button.variants-tnhb123u.cjs`);const te=require(`./button-Bu4ejNOW.cjs`);require(`./heading-wUXEbicM.cjs`);const e=require(`./paragraph-D-JHj7EP.cjs`),t=require(`./ui/card.cjs`),ne=require(`./skeleton-CHympz8k.cjs`),re=require(`./image-Y7gCz7uE.cjs`),ie=require(`./cards/grid-product-card.cjs`),ae=require(`./cards/product-card.cjs`),oe=require(`./cards/simple-card.cjs`),se=require(`./flex-DYh2t8ft.cjs`),ce=require(`./data-display/country.cjs`),n=require(`./data-display/data-list.cjs`),le=require(`./date-DtajzNoy.cjs`),r=require(`./badge-DMnKV_uW.cjs`),i=require(`./tooltip-DC6i1A25.cjs`),a=require(`./data-display/date-tooltip.cjs`),o=require(`./data-display/empty.cjs`),ue=require(`./data-display/name.cjs`),de=require(`./data-display/phone-number.cjs`),fe=require(`./data-display/role-badge.cjs`),pe=require(`./data-display/statistic.cjs`),s=require(`./avatar-aVxo69zP.cjs`),me=require(`./user-CQY0YnAc.cjs`),c=require(`./ui/alert-dialog.cjs`),he=require(`./dialogs/confirm-dialog.cjs`),ge=require(`./typography/title.cjs`),_e=require(`./separator-jytY1CPq.cjs`),l=require(`./sheet-DuMrjidC.cjs`);require(`./sidebar-BXrGXVxx.cjs`);const ve=require(`./dialogs/detail-dialog/index.cjs`),ye=require(`./dialogs/error-dialog.cjs`);require(`./close-DUBEKxhw.cjs`);const u=require(`./dialog-DEnyBH2X.cjs`),be=require(`./dialogs/loading-dialog.cjs`),d=require(`./features/descriptions/index.cjs`),f=require(`./command-CTdjZi1F.cjs`),xe=require(`./search-modal-zmavzZRx.cjs`),p=require(`./tables-LRWPOv2a.cjs`),m=require(`./dropdown-menu-DMwvWoxe.cjs`),Se=require(`./progress-BXWPPNt5.cjs`),h=require(`./checkbox-BQ_TclX9.cjs`),g=require(`./spinner-DgusnQMw.cjs`),_=require(`./resizable-C7uLlTGB.cjs`),Ce=require(`./input-1ceJxxFI.cjs`),v=require(`./popover-Bnrgg4do.cjs`),y=require(`./select-DHiTqZeX.cjs`),b=require(`./label-BHbqbBtO.cjs`),x=require(`./tanstack-form-B9CugNS5.cjs`),S=require(`./switch-0-9Zt33o.cjs`),C=require(`./drawer-C3o6IEeq.cjs`),w=require(`./calendar-Bt0rlJ89.cjs`),T=require(`./radio-group-Bv6w2woK.cjs`),E=require(`./textarea-BB2WynyM.cjs`),D=require(`./text-editor-CE_GkI7o.cjs`),O=require(`./cms-layout-DDs0pHWh.cjs`),k=require(`./payment-layout-BkSC6JkI.cjs`),A=require(`./layouts/grid.cjs`),j=require(`./pages/FeatureDeveloping.cjs`),we=require(`./pages/FeatureFixing.cjs`),Te=require(`./pages/NotAuthorized.cjs`),Ee=require(`./pages/NotFound.cjs`),M=require(`./alert-4rfsFtN6.cjs`),De=require(`./pages/LoginPage.cjs`),N=require(`./pages/RegisterPage.cjs`),P=require(`./ui/input-otp.cjs`),Oe=require(`./pages/VerifyEmailPage.cjs`),ke=require(`./systems/google.cjs`),Ae=require(`./ui/buttons/add-new.cjs`),je=require(`./ui/buttons/edit.cjs`),Me=require(`./ui/buttons/refresh.cjs`),Ne=require(`./ui/buttons/trash.cjs`),Pe=require(`./ui/buttons/upload-image.cjs`),Fe=require(`./ui/inputs/search-input.cjs`),Ie=require(`./ui/aspect-ratio.cjs`),F=require(`./ui/breadcrumb.cjs`),I=require(`./ui/button-group.cjs`),L=require(`./ui/carousel.cjs`),R=require(`./ui/collapsible.cjs`),z=require(`./ui/context-menu.cjs`),B=require(`./ui/empty.cjs`),Le=require(`./ui/file-uploader.cjs`);require(`./field-BxFpcOV1.cjs`);const V=require(`./ui/form.cjs`),H=require(`./ui/hover-card.cjs`),U=require(`./ui/item.cjs`),W=require(`./ui/menubar.cjs`),G=require(`./ui/multi-select.cjs`),K=require(`./ui/navigation-menu.cjs`),q=require(`./ui/pagination.cjs`),J=require(`./ui/scroll-area.cjs`),Y=require(`./ui/sidebar.cjs`),Re=require(`./ui/slider.cjs`),ze=require(`./ui/sonner.cjs`),X=require(`./ui/table.cjs`),Z=require(`./ui/tabs.cjs`),Q=require(`./ui/toggle.cjs`),$=require(`./ui/toggle-group.cjs`);let Be=require(`sonner`);exports.AddNewBtn=Ae.AddNewBtn,exports.Alert=M.t,exports.AlertDescription=M.n,exports.AlertDialog=c.AlertDialog,exports.AlertDialogAction=c.AlertDialogAction,exports.AlertDialogCancel=c.AlertDialogCancel,exports.AlertDialogContent=c.AlertDialogContent,exports.AlertDialogDescription=c.AlertDialogDescription,exports.AlertDialogFooter=c.AlertDialogFooter,exports.AlertDialogHeader=c.AlertDialogHeader,exports.AlertDialogOverlay=c.AlertDialogOverlay,exports.AlertDialogPortal=c.AlertDialogPortal,exports.AlertDialogTitle=c.AlertDialogTitle,exports.AlertDialogTrigger=c.AlertDialogTrigger,exports.AlertTitle=M.r,exports.AspectRatio=Ie.AspectRatio,exports.Avatar=s.t,exports.AvatarFallback=s.n,exports.AvatarImage=s.r,exports.Badge=r.t,exports.Breadcrumb=F.Breadcrumb,exports.BreadcrumbEllipsis=F.BreadcrumbEllipsis,exports.BreadcrumbItem=F.BreadcrumbItem,exports.BreadcrumbLink=F.BreadcrumbLink,exports.BreadcrumbList=F.BreadcrumbList,exports.BreadcrumbPage=F.BreadcrumbPage,exports.BreadcrumbSeparator=F.BreadcrumbSeparator,exports.Button=te.t,exports.ButtonGroup=I.ButtonGroup,exports.ButtonGroupSeparator=I.ButtonGroupSeparator,exports.ButtonGroupText=I.ButtonGroupText,exports.CMSLayout=O.t,exports.Calendar=w.t,exports.CalendarDayButton=w.n,exports.Card=t.Card,exports.CardAction=t.CardAction,exports.CardContent=t.CardContent,exports.CardDescription=t.CardDescription,exports.CardFooter=t.CardFooter,exports.CardHeader=t.CardHeader,exports.CardTitle=t.CardTitle,exports.Carousel=L.Carousel,exports.CarouselContent=L.CarouselContent,exports.CarouselItem=L.CarouselItem,exports.CarouselNext=L.CarouselNext,exports.CarouselPrevious=L.CarouselPrevious,exports.Checkbox=h.t,exports.Collapsible=R.Collapsible,exports.CollapsibleContent=R.CollapsibleContent,exports.CollapsibleTrigger=R.CollapsibleTrigger,exports.Command=f.t,exports.CommandDialog=f.n,exports.CommandEmpty=f.r,exports.CommandGroup=f.i,exports.CommandInput=f.a,exports.CommandItem=f.o,exports.CommandList=f.s,exports.CommandSeparator=f.c,exports.CommandShortcut=f.l,exports.ConfirmDialog=he.ConfirmDialog,exports.ContextMenu=z.ContextMenu,exports.ContextMenuCheckboxItem=z.ContextMenuCheckboxItem,exports.ContextMenuContent=z.ContextMenuContent,exports.ContextMenuGroup=z.ContextMenuGroup,exports.ContextMenuItem=z.ContextMenuItem,exports.ContextMenuLabel=z.ContextMenuLabel,exports.ContextMenuPortal=z.ContextMenuPortal,exports.ContextMenuRadioGroup=z.ContextMenuRadioGroup,exports.ContextMenuRadioItem=z.ContextMenuRadioItem,exports.ContextMenuSeparator=z.ContextMenuSeparator,exports.ContextMenuShortcut=z.ContextMenuShortcut,exports.ContextMenuSub=z.ContextMenuSub,exports.ContextMenuSubContent=z.ContextMenuSubContent,exports.ContextMenuSubTrigger=z.ContextMenuSubTrigger,exports.ContextMenuTrigger=z.ContextMenuTrigger,exports.CountryDisplay=ce.CountryDisplay,exports.DataList=n.DataList,exports.DataListItem=n.DataListItem,exports.DateDisplay=le.t,exports.DateTooltip=a.DateTooltip,exports.Description=d.Description,exports.DescriptionBadge=d.DescriptionBadge,exports.DescriptionBoolean=d.DescriptionBoolean,exports.DescriptionCopy=d.DescriptionCopy,exports.DescriptionDate=d.DescriptionDate,exports.DescriptionEmpty=d.DescriptionEmpty,exports.DescriptionHeader=d.DescriptionHeader,exports.DescriptionImages=d.DescriptionImages,exports.DescriptionItem=d.DescriptionItem,exports.DescriptionLink=d.DescriptionLink,exports.DescriptionLongText=d.DescriptionLongText,exports.DescriptionName=d.DescriptionName,exports.DescriptionNumberPhone=d.DescriptionNumberPhone,exports.DescriptionSection=d.DescriptionSection,exports.DescriptionStatistic=d.DescriptionStatistic,exports.DescriptionStatus=d.DescriptionStatus,exports.DescriptionTagList=d.DescriptionTagList,exports.DescriptionUser=d.DescriptionUser,exports.DetailDialog=ve.DetailDialog,exports.Dialog=u.t,exports.DialogClose=u.n,exports.DialogContent=u.r,exports.DialogDescription=u.i,exports.DialogFooter=u.a,exports.DialogHeader=u.o,exports.DialogOverlay=u.s,exports.DialogPortal=u.c,exports.DialogTitle=u.l,exports.DialogTrigger=u.u,exports.Drawer=C.t,exports.DrawerClose=C.n,exports.DrawerContent=C.r,exports.DrawerDescription=C.i,exports.DrawerFooter=C.a,exports.DrawerHeader=C.o,exports.DrawerOverlay=C.s,exports.DrawerPortal=C.c,exports.DrawerTitle=C.l,exports.DrawerTrigger=C.u,exports.DropdownMenu=m.t,exports.DropdownMenuCheckboxItem=m.n,exports.DropdownMenuContent=m.r,exports.DropdownMenuGroup=m.i,exports.DropdownMenuItem=m.a,exports.DropdownMenuLabel=m.o,exports.DropdownMenuPortal=m.s,exports.DropdownMenuRadioGroup=m.c,exports.DropdownMenuRadioItem=m.l,exports.DropdownMenuSeparator=m.u,exports.DropdownMenuShortcut=m.d,exports.DropdownMenuSub=m.f,exports.DropdownMenuSubContent=m.p,exports.DropdownMenuSubTrigger=m.m,exports.DropdownMenuTrigger=m.h,exports.EditBtn=je.EditBtn,exports.Empty=B.Empty,exports.EmptyContent=B.EmptyContent,exports.EmptyDescription=B.EmptyDescription,exports.EmptyDisplay=o.EmptyDisplay,exports.EmptyHeader=B.EmptyHeader,exports.EmptyMedia=B.EmptyMedia,exports.EmptyTitle=B.EmptyTitle,exports.ErrorDialog=ye.ErrorDialog,exports.FeatureDeveloping=j.FeatureDeveloping,exports.FeatureFixing=we.FeatureFixing,exports.Field=x.o,exports.FieldContent=x.s,exports.FieldContentMain=x.c,exports.FieldError=x.l,exports.FieldGroup=x.u,exports.FieldLabel=x.d,exports.FieldSeparator=x.f,exports.FileUploader=Le.FileUploader,exports.Flex=se.t,exports.Form=V.Form,exports.FormControl=V.FormControl,exports.FormDescription=V.FormDescription,exports.FormField=V.FormField,exports.FormItem=V.FormItem,exports.FormLabel=V.FormLabel,exports.FormMessage=V.FormMessage,exports.Google=ke.Google,exports.Grid=A.Grid,exports.GridProductCard=ie.GridProductCard,exports.HoverCard=H.HoverCard,exports.HoverCardContent=H.HoverCardContent,exports.HoverCardTrigger=H.HoverCardTrigger,exports.Image=re.t,exports.Input=Ce.t,exports.InputOTP=P.InputOTP,exports.InputOTPGroup=P.InputOTPGroup,exports.InputOTPSeparator=P.InputOTPSeparator,exports.InputOTPSlot=P.InputOTPSlot,exports.Item=U.Item,exports.ItemActions=U.ItemActions,exports.ItemContent=U.ItemContent,exports.ItemDescription=U.ItemDescription,exports.ItemFooter=U.ItemFooter,exports.ItemGroup=U.ItemGroup,exports.ItemHeader=U.ItemHeader,exports.ItemMedia=U.ItemMedia,exports.ItemSeparator=U.ItemSeparator,exports.ItemTitle=U.ItemTitle,exports.Label=b.t,exports.LoadingDialog=be.LoadingDialog,exports.LoginPage=De.LoginPage,exports.Menubar=W.Menubar,exports.MenubarCheckboxItem=W.MenubarCheckboxItem,exports.MenubarContent=W.MenubarContent,exports.MenubarGroup=W.MenubarGroup,exports.MenubarItem=W.MenubarItem,exports.MenubarLabel=W.MenubarLabel,exports.MenubarMenu=W.MenubarMenu,exports.MenubarPortal=W.MenubarPortal,exports.MenubarRadioGroup=W.MenubarRadioGroup,exports.MenubarRadioItem=W.MenubarRadioItem,exports.MenubarSeparator=W.MenubarSeparator,exports.MenubarShortcut=W.MenubarShortcut,exports.MenubarSub=W.MenubarSub,exports.MenubarSubContent=W.MenubarSubContent,exports.MenubarSubTrigger=W.MenubarSubTrigger,exports.MenubarTrigger=W.MenubarTrigger,exports.MultipleSelector=G.MultipleSelector,exports.NameDisplay=ue.NameDisplay,exports.NavigationMenu=K.NavigationMenu,exports.NavigationMenuContent=K.NavigationMenuContent,exports.NavigationMenuIndicator=K.NavigationMenuIndicator,exports.NavigationMenuItem=K.NavigationMenuItem,exports.NavigationMenuLink=K.NavigationMenuLink,exports.NavigationMenuList=K.NavigationMenuList,exports.NavigationMenuTrigger=K.NavigationMenuTrigger,exports.NavigationMenuViewport=K.NavigationMenuViewport,exports.NotAuthorized=Te.NotAuthorized,exports.NotFound=Ee.NotFound,exports.Pagination=q.Pagination,exports.PaginationContent=q.PaginationContent,exports.PaginationEllipsis=q.PaginationEllipsis,exports.PaginationItem=q.PaginationItem,exports.PaginationLink=q.PaginationLink,exports.PaginationNext=q.PaginationNext,exports.PaginationPrevious=q.PaginationPrevious,exports.Paragraph=e.t,exports.PaymentLayout=k.t,exports.PhoneNumberDisplay=de.PhoneNumberDisplay,exports.Popover=v.t,exports.PopoverAnchor=v.n,exports.PopoverClose=v.r,exports.PopoverContent=v.i,exports.PopoverTrigger=v.a,exports.ProductCard=ae.ProductCard,exports.Progress=Se.t,exports.RadioGroup=T.t,exports.RadioGroupItem=T.n,exports.RefreshBtn=Me.RefreshBtn,exports.RegisterPage=N.RegisterPage,exports.ResizableHandle=_.t,exports.ResizablePanel=_.n,exports.ResizablePanelGroup=_.r,exports.RoleBadge=fe.RoleBadge,exports.ScrollArea=J.ScrollArea,exports.ScrollBar=J.ScrollBar,exports.SearchInput=Fe.SearchInput,exports.SearchModal=xe.t,exports.Select=y.t,exports.SelectContent=y.n,exports.SelectGroup=y.r,exports.SelectItem=y.i,exports.SelectLabel=y.a,exports.SelectSeparator=y.o,exports.SelectTrigger=y.s,exports.SelectValue=y.c,exports.Separator=_e.t,exports.Sheet=l.t,exports.SheetClose=l.n,exports.SheetContent=l.r,exports.SheetDescription=l.i,exports.SheetFooter=l.a,exports.SheetHeader=l.o,exports.SheetTitle=l.s,exports.SheetTrigger=l.c,exports.Sidebar=Y.Sidebar,exports.SidebarContent=Y.SidebarContent,exports.SidebarFooter=Y.SidebarFooter,exports.SidebarGroup=Y.SidebarGroup,exports.SidebarGroupAction=Y.SidebarGroupAction,exports.SidebarGroupContent=Y.SidebarGroupContent,exports.SidebarGroupLabel=Y.SidebarGroupLabel,exports.SidebarHeader=Y.SidebarHeader,exports.SidebarInput=Y.SidebarInput,exports.SidebarInset=Y.SidebarInset,exports.SidebarMenu=Y.SidebarMenu,exports.SidebarMenuAction=Y.SidebarMenuAction,exports.SidebarMenuBadge=Y.SidebarMenuBadge,exports.SidebarMenuButton=Y.SidebarMenuButton,exports.SidebarMenuItem=Y.SidebarMenuItem,exports.SidebarMenuSkeleton=Y.SidebarMenuSkeleton,exports.SidebarMenuSub=Y.SidebarMenuSub,exports.SidebarMenuSubButton=Y.SidebarMenuSubButton,exports.SidebarMenuSubItem=Y.SidebarMenuSubItem,exports.SidebarProvider=Y.SidebarProvider,exports.SidebarRail=Y.SidebarRail,exports.SidebarSeparator=Y.SidebarSeparator,exports.SidebarTrigger=Y.SidebarTrigger,exports.SimpleCard=oe.SimpleCard,exports.Skeleton=ne.t,exports.Slider=Re.Slider,exports.Spinner=g.t,exports.Statistic=pe.Statistic,exports.Switch=S.t,exports.Table=X.Table,exports.TableBody=X.TableBody,exports.TableCaption=X.TableCaption,exports.TableCell=X.TableCell,exports.TableFooter=X.TableFooter,exports.TableHead=X.TableHead,exports.TableHeader=X.TableHeader,exports.TableRow=X.TableRow,exports.Tabs=Z.Tabs,exports.TabsContent=Z.TabsContent,exports.TabsList=Z.TabsList,exports.TabsTrigger=Z.TabsTrigger,exports.TextEditor=D.t,exports.TextEditorToolbar=D.n,exports.Textarea=E.t,exports.Title=ge.Title,exports.Toaster=ze.Toaster,exports.Toggle=Q.Toggle,exports.ToggleGroup=$.ToggleGroup,exports.ToggleGroupItem=$.ToggleGroupItem,exports.Tooltip=i.t,exports.TooltipContent=i.n,exports.TooltipProvider=i.r,exports.TooltipTrigger=i.i,exports.TrashBtn=Ne.TrashBtn,exports.UITableBadgeDisplay=p.R,exports.UITableBody=p.S,exports.UITableBooleanDisplay=p.L,exports.UITableCell=p.x,exports.UITableCellActions=p.b,exports.UITableCellSelect=p.y,exports.UITableContainer=p.o,exports.UITableCurrencyDisplay=p.I,exports.UITableDateDisplay=p.F,exports.UITableDescriptionDisplay=p.P,exports.UITableEmailDisplay=p.N,exports.UITableEmptyDisplay=p.v,exports.UITableFilter=p.a,exports.UITableFooter=p._,exports.UITableHead=p.g,exports.UITableHeadCell=p.m,exports.UITableHeadCellOption=p.h,exports.UITableHeadCellSelect=p.p,exports.UITableHeadRow=p.f,exports.UITableInnerTable=p.d,exports.UITableInnerWrapper=p.u,exports.UITableListDisplay=p.M,exports.UITableLoadMore=p.l,exports.UITableMoreButton=p.j,exports.UITableNameDisplay=p.A,exports.UITablePermalink=p.k,exports.UITablePhoneNumberDisplay=p.O,exports.UITableProgressDisplay=p.D,exports.UITableProvider=p.i,exports.UITableRemoveButton=p.E,exports.UITableRow=p.c,exports.UITableStatisticDisplay=p.T,exports.UITableStatusDisplay=p.w,exports.UITableTooltip=p.t,exports.UITableTooltipActions=p.n,exports.UITableTooltipFilter=p.r,exports.UITableUserDataDisplay=p.C,exports.UITableWrapper=p.s,exports.UploadImageBtn=Pe.UploadImageBtn,exports.UserDataDisplay=me.t,exports.VerifyEmailPage=Oe.VerifyEmailPage,exports.badgeVariants=r.n,exports.buttonGroupVariants=I.buttonGroupVariants,exports.navigationMenuTriggerStyle=K.navigationMenuTriggerStyle,exports.paragraphVariants=e.n,exports.toast=Be.toast,exports.toggleVariants=Q.toggleVariants,exports.useDebounce=G.useDebounce,exports.useFormField=V.useFormField,exports.useSidebar=Y.useSidebar,exports.useTanStackFieldContext=x.t,exports.useTanStackForm=x.n,exports.useTanStackFormContext=x.r,exports.withTanStackFieldGroup=x.i,exports.withTanStackForm=x.a;
|
|
1
|
+
const ee=require(`./chunk-Bmb41Sf3.cjs`);require(`./button.variants-tnhb123u.cjs`);const te=require(`./button-Bu4ejNOW.cjs`);require(`./heading-wUXEbicM.cjs`);const e=require(`./paragraph-D-JHj7EP.cjs`),t=require(`./ui/card.cjs`),ne=require(`./skeleton-CHympz8k.cjs`),re=require(`./image-Y7gCz7uE.cjs`),ie=require(`./cards/grid-product-card.cjs`),ae=require(`./cards/product-card.cjs`),oe=require(`./cards/simple-card.cjs`),se=require(`./flex-DYh2t8ft.cjs`),ce=require(`./data-display/country.cjs`),n=require(`./data-display/data-list.cjs`),le=require(`./date-DtajzNoy.cjs`),r=require(`./badge-DMnKV_uW.cjs`),i=require(`./tooltip-DC6i1A25.cjs`),a=require(`./data-display/date-tooltip.cjs`),o=require(`./data-display/empty.cjs`),ue=require(`./data-display/name.cjs`),de=require(`./data-display/phone-number.cjs`),fe=require(`./data-display/role-badge.cjs`),pe=require(`./data-display/statistic.cjs`),s=require(`./avatar-aVxo69zP.cjs`),me=require(`./user-CQY0YnAc.cjs`),c=require(`./ui/alert-dialog.cjs`),he=require(`./dialogs/confirm-dialog.cjs`),ge=require(`./typography/title.cjs`),_e=require(`./separator-jytY1CPq.cjs`),l=require(`./sheet-DuMrjidC.cjs`);require(`./sidebar-BXrGXVxx.cjs`);const ve=require(`./dialogs/detail-dialog/index.cjs`),ye=require(`./dialogs/error-dialog.cjs`);require(`./close-DUBEKxhw.cjs`);const u=require(`./dialog-DEnyBH2X.cjs`),be=require(`./dialogs/loading-dialog.cjs`),d=require(`./features/descriptions/index.cjs`),f=require(`./command-CTdjZi1F.cjs`),xe=require(`./search-modal-zmavzZRx.cjs`),p=require(`./tables-LRWPOv2a.cjs`),m=require(`./dropdown-menu-DMwvWoxe.cjs`),Se=require(`./progress-BXWPPNt5.cjs`),h=require(`./checkbox-BQ_TclX9.cjs`),g=require(`./spinner-DgusnQMw.cjs`),_=require(`./resizable-C7uLlTGB.cjs`),Ce=require(`./input-1ceJxxFI.cjs`),v=require(`./popover-Bnrgg4do.cjs`),y=require(`./select-DHiTqZeX.cjs`),b=require(`./label-BHbqbBtO.cjs`),x=require(`./tanstack-form-CDgTokmf.cjs`),S=require(`./switch-0-9Zt33o.cjs`),C=require(`./drawer-C3o6IEeq.cjs`),w=require(`./calendar-Bt0rlJ89.cjs`),T=require(`./radio-group-Bv6w2woK.cjs`),E=require(`./textarea-BB2WynyM.cjs`),D=require(`./text-editor-CE_GkI7o.cjs`),O=require(`./cms-layout-DDs0pHWh.cjs`),k=require(`./payment-layout-BkSC6JkI.cjs`),A=require(`./layouts/grid.cjs`),j=require(`./pages/FeatureDeveloping.cjs`),we=require(`./pages/FeatureFixing.cjs`),Te=require(`./pages/NotAuthorized.cjs`),Ee=require(`./pages/NotFound.cjs`),M=require(`./alert-4rfsFtN6.cjs`),De=require(`./pages/LoginPage.cjs`),N=require(`./pages/RegisterPage.cjs`),P=require(`./ui/input-otp.cjs`),Oe=require(`./pages/VerifyEmailPage.cjs`),ke=require(`./systems/google.cjs`),Ae=require(`./ui/buttons/add-new.cjs`),je=require(`./ui/buttons/edit.cjs`),Me=require(`./ui/buttons/refresh.cjs`),Ne=require(`./ui/buttons/trash.cjs`),Pe=require(`./ui/buttons/upload-image.cjs`),Fe=require(`./ui/inputs/search-input.cjs`),Ie=require(`./ui/aspect-ratio.cjs`),F=require(`./ui/breadcrumb.cjs`),I=require(`./ui/button-group.cjs`),L=require(`./ui/carousel.cjs`),R=require(`./ui/collapsible.cjs`),z=require(`./ui/context-menu.cjs`),B=require(`./ui/empty.cjs`),Le=require(`./ui/file-uploader.cjs`);require(`./field-BxFpcOV1.cjs`);const V=require(`./ui/form.cjs`),H=require(`./ui/hover-card.cjs`),U=require(`./ui/item.cjs`),W=require(`./ui/menubar.cjs`),G=require(`./ui/multi-select.cjs`),K=require(`./ui/navigation-menu.cjs`),q=require(`./ui/pagination.cjs`),J=require(`./ui/scroll-area.cjs`),Y=require(`./ui/sidebar.cjs`),Re=require(`./ui/slider.cjs`),ze=require(`./ui/sonner.cjs`),X=require(`./ui/table.cjs`),Z=require(`./ui/tabs.cjs`),Q=require(`./ui/toggle.cjs`),$=require(`./ui/toggle-group.cjs`);let Be=require(`sonner`);exports.AddNewBtn=Ae.AddNewBtn,exports.Alert=M.t,exports.AlertDescription=M.n,exports.AlertDialog=c.AlertDialog,exports.AlertDialogAction=c.AlertDialogAction,exports.AlertDialogCancel=c.AlertDialogCancel,exports.AlertDialogContent=c.AlertDialogContent,exports.AlertDialogDescription=c.AlertDialogDescription,exports.AlertDialogFooter=c.AlertDialogFooter,exports.AlertDialogHeader=c.AlertDialogHeader,exports.AlertDialogOverlay=c.AlertDialogOverlay,exports.AlertDialogPortal=c.AlertDialogPortal,exports.AlertDialogTitle=c.AlertDialogTitle,exports.AlertDialogTrigger=c.AlertDialogTrigger,exports.AlertTitle=M.r,exports.AspectRatio=Ie.AspectRatio,exports.Avatar=s.t,exports.AvatarFallback=s.n,exports.AvatarImage=s.r,exports.Badge=r.t,exports.Breadcrumb=F.Breadcrumb,exports.BreadcrumbEllipsis=F.BreadcrumbEllipsis,exports.BreadcrumbItem=F.BreadcrumbItem,exports.BreadcrumbLink=F.BreadcrumbLink,exports.BreadcrumbList=F.BreadcrumbList,exports.BreadcrumbPage=F.BreadcrumbPage,exports.BreadcrumbSeparator=F.BreadcrumbSeparator,exports.Button=te.t,exports.ButtonGroup=I.ButtonGroup,exports.ButtonGroupSeparator=I.ButtonGroupSeparator,exports.ButtonGroupText=I.ButtonGroupText,exports.CMSLayout=O.t,exports.Calendar=w.t,exports.CalendarDayButton=w.n,exports.Card=t.Card,exports.CardAction=t.CardAction,exports.CardContent=t.CardContent,exports.CardDescription=t.CardDescription,exports.CardFooter=t.CardFooter,exports.CardHeader=t.CardHeader,exports.CardTitle=t.CardTitle,exports.Carousel=L.Carousel,exports.CarouselContent=L.CarouselContent,exports.CarouselItem=L.CarouselItem,exports.CarouselNext=L.CarouselNext,exports.CarouselPrevious=L.CarouselPrevious,exports.Checkbox=h.t,exports.Collapsible=R.Collapsible,exports.CollapsibleContent=R.CollapsibleContent,exports.CollapsibleTrigger=R.CollapsibleTrigger,exports.Command=f.t,exports.CommandDialog=f.n,exports.CommandEmpty=f.r,exports.CommandGroup=f.i,exports.CommandInput=f.a,exports.CommandItem=f.o,exports.CommandList=f.s,exports.CommandSeparator=f.c,exports.CommandShortcut=f.l,exports.ConfirmDialog=he.ConfirmDialog,exports.ContextMenu=z.ContextMenu,exports.ContextMenuCheckboxItem=z.ContextMenuCheckboxItem,exports.ContextMenuContent=z.ContextMenuContent,exports.ContextMenuGroup=z.ContextMenuGroup,exports.ContextMenuItem=z.ContextMenuItem,exports.ContextMenuLabel=z.ContextMenuLabel,exports.ContextMenuPortal=z.ContextMenuPortal,exports.ContextMenuRadioGroup=z.ContextMenuRadioGroup,exports.ContextMenuRadioItem=z.ContextMenuRadioItem,exports.ContextMenuSeparator=z.ContextMenuSeparator,exports.ContextMenuShortcut=z.ContextMenuShortcut,exports.ContextMenuSub=z.ContextMenuSub,exports.ContextMenuSubContent=z.ContextMenuSubContent,exports.ContextMenuSubTrigger=z.ContextMenuSubTrigger,exports.ContextMenuTrigger=z.ContextMenuTrigger,exports.CountryDisplay=ce.CountryDisplay,exports.DataList=n.DataList,exports.DataListItem=n.DataListItem,exports.DateDisplay=le.t,exports.DateTooltip=a.DateTooltip,exports.Description=d.Description,exports.DescriptionBadge=d.DescriptionBadge,exports.DescriptionBoolean=d.DescriptionBoolean,exports.DescriptionCopy=d.DescriptionCopy,exports.DescriptionDate=d.DescriptionDate,exports.DescriptionEmpty=d.DescriptionEmpty,exports.DescriptionHeader=d.DescriptionHeader,exports.DescriptionImages=d.DescriptionImages,exports.DescriptionItem=d.DescriptionItem,exports.DescriptionLink=d.DescriptionLink,exports.DescriptionLongText=d.DescriptionLongText,exports.DescriptionName=d.DescriptionName,exports.DescriptionNumberPhone=d.DescriptionNumberPhone,exports.DescriptionSection=d.DescriptionSection,exports.DescriptionStatistic=d.DescriptionStatistic,exports.DescriptionStatus=d.DescriptionStatus,exports.DescriptionTagList=d.DescriptionTagList,exports.DescriptionUser=d.DescriptionUser,exports.DetailDialog=ve.DetailDialog,exports.Dialog=u.t,exports.DialogClose=u.n,exports.DialogContent=u.r,exports.DialogDescription=u.i,exports.DialogFooter=u.a,exports.DialogHeader=u.o,exports.DialogOverlay=u.s,exports.DialogPortal=u.c,exports.DialogTitle=u.l,exports.DialogTrigger=u.u,exports.Drawer=C.t,exports.DrawerClose=C.n,exports.DrawerContent=C.r,exports.DrawerDescription=C.i,exports.DrawerFooter=C.a,exports.DrawerHeader=C.o,exports.DrawerOverlay=C.s,exports.DrawerPortal=C.c,exports.DrawerTitle=C.l,exports.DrawerTrigger=C.u,exports.DropdownMenu=m.t,exports.DropdownMenuCheckboxItem=m.n,exports.DropdownMenuContent=m.r,exports.DropdownMenuGroup=m.i,exports.DropdownMenuItem=m.a,exports.DropdownMenuLabel=m.o,exports.DropdownMenuPortal=m.s,exports.DropdownMenuRadioGroup=m.c,exports.DropdownMenuRadioItem=m.l,exports.DropdownMenuSeparator=m.u,exports.DropdownMenuShortcut=m.d,exports.DropdownMenuSub=m.f,exports.DropdownMenuSubContent=m.p,exports.DropdownMenuSubTrigger=m.m,exports.DropdownMenuTrigger=m.h,exports.EditBtn=je.EditBtn,exports.Empty=B.Empty,exports.EmptyContent=B.EmptyContent,exports.EmptyDescription=B.EmptyDescription,exports.EmptyDisplay=o.EmptyDisplay,exports.EmptyHeader=B.EmptyHeader,exports.EmptyMedia=B.EmptyMedia,exports.EmptyTitle=B.EmptyTitle,exports.ErrorDialog=ye.ErrorDialog,exports.FeatureDeveloping=j.FeatureDeveloping,exports.FeatureFixing=we.FeatureFixing,exports.Field=x.o,exports.FieldContent=x.s,exports.FieldContentMain=x.c,exports.FieldError=x.l,exports.FieldGroup=x.u,exports.FieldLabel=x.d,exports.FieldSeparator=x.f,exports.FileUploader=Le.FileUploader,exports.Flex=se.t,exports.Form=V.Form,exports.FormControl=V.FormControl,exports.FormDescription=V.FormDescription,exports.FormField=V.FormField,exports.FormItem=V.FormItem,exports.FormLabel=V.FormLabel,exports.FormMessage=V.FormMessage,exports.Google=ke.Google,exports.Grid=A.Grid,exports.GridProductCard=ie.GridProductCard,exports.HoverCard=H.HoverCard,exports.HoverCardContent=H.HoverCardContent,exports.HoverCardTrigger=H.HoverCardTrigger,exports.Image=re.t,exports.Input=Ce.t,exports.InputOTP=P.InputOTP,exports.InputOTPGroup=P.InputOTPGroup,exports.InputOTPSeparator=P.InputOTPSeparator,exports.InputOTPSlot=P.InputOTPSlot,exports.Item=U.Item,exports.ItemActions=U.ItemActions,exports.ItemContent=U.ItemContent,exports.ItemDescription=U.ItemDescription,exports.ItemFooter=U.ItemFooter,exports.ItemGroup=U.ItemGroup,exports.ItemHeader=U.ItemHeader,exports.ItemMedia=U.ItemMedia,exports.ItemSeparator=U.ItemSeparator,exports.ItemTitle=U.ItemTitle,exports.Label=b.t,exports.LoadingDialog=be.LoadingDialog,exports.LoginPage=De.LoginPage,exports.Menubar=W.Menubar,exports.MenubarCheckboxItem=W.MenubarCheckboxItem,exports.MenubarContent=W.MenubarContent,exports.MenubarGroup=W.MenubarGroup,exports.MenubarItem=W.MenubarItem,exports.MenubarLabel=W.MenubarLabel,exports.MenubarMenu=W.MenubarMenu,exports.MenubarPortal=W.MenubarPortal,exports.MenubarRadioGroup=W.MenubarRadioGroup,exports.MenubarRadioItem=W.MenubarRadioItem,exports.MenubarSeparator=W.MenubarSeparator,exports.MenubarShortcut=W.MenubarShortcut,exports.MenubarSub=W.MenubarSub,exports.MenubarSubContent=W.MenubarSubContent,exports.MenubarSubTrigger=W.MenubarSubTrigger,exports.MenubarTrigger=W.MenubarTrigger,exports.MultipleSelector=G.MultipleSelector,exports.NameDisplay=ue.NameDisplay,exports.NavigationMenu=K.NavigationMenu,exports.NavigationMenuContent=K.NavigationMenuContent,exports.NavigationMenuIndicator=K.NavigationMenuIndicator,exports.NavigationMenuItem=K.NavigationMenuItem,exports.NavigationMenuLink=K.NavigationMenuLink,exports.NavigationMenuList=K.NavigationMenuList,exports.NavigationMenuTrigger=K.NavigationMenuTrigger,exports.NavigationMenuViewport=K.NavigationMenuViewport,exports.NotAuthorized=Te.NotAuthorized,exports.NotFound=Ee.NotFound,exports.Pagination=q.Pagination,exports.PaginationContent=q.PaginationContent,exports.PaginationEllipsis=q.PaginationEllipsis,exports.PaginationItem=q.PaginationItem,exports.PaginationLink=q.PaginationLink,exports.PaginationNext=q.PaginationNext,exports.PaginationPrevious=q.PaginationPrevious,exports.Paragraph=e.t,exports.PaymentLayout=k.t,exports.PhoneNumberDisplay=de.PhoneNumberDisplay,exports.Popover=v.t,exports.PopoverAnchor=v.n,exports.PopoverClose=v.r,exports.PopoverContent=v.i,exports.PopoverTrigger=v.a,exports.ProductCard=ae.ProductCard,exports.Progress=Se.t,exports.RadioGroup=T.t,exports.RadioGroupItem=T.n,exports.RefreshBtn=Me.RefreshBtn,exports.RegisterPage=N.RegisterPage,exports.ResizableHandle=_.t,exports.ResizablePanel=_.n,exports.ResizablePanelGroup=_.r,exports.RoleBadge=fe.RoleBadge,exports.ScrollArea=J.ScrollArea,exports.ScrollBar=J.ScrollBar,exports.SearchInput=Fe.SearchInput,exports.SearchModal=xe.t,exports.Select=y.t,exports.SelectContent=y.n,exports.SelectGroup=y.r,exports.SelectItem=y.i,exports.SelectLabel=y.a,exports.SelectSeparator=y.o,exports.SelectTrigger=y.s,exports.SelectValue=y.c,exports.Separator=_e.t,exports.Sheet=l.t,exports.SheetClose=l.n,exports.SheetContent=l.r,exports.SheetDescription=l.i,exports.SheetFooter=l.a,exports.SheetHeader=l.o,exports.SheetTitle=l.s,exports.SheetTrigger=l.c,exports.Sidebar=Y.Sidebar,exports.SidebarContent=Y.SidebarContent,exports.SidebarFooter=Y.SidebarFooter,exports.SidebarGroup=Y.SidebarGroup,exports.SidebarGroupAction=Y.SidebarGroupAction,exports.SidebarGroupContent=Y.SidebarGroupContent,exports.SidebarGroupLabel=Y.SidebarGroupLabel,exports.SidebarHeader=Y.SidebarHeader,exports.SidebarInput=Y.SidebarInput,exports.SidebarInset=Y.SidebarInset,exports.SidebarMenu=Y.SidebarMenu,exports.SidebarMenuAction=Y.SidebarMenuAction,exports.SidebarMenuBadge=Y.SidebarMenuBadge,exports.SidebarMenuButton=Y.SidebarMenuButton,exports.SidebarMenuItem=Y.SidebarMenuItem,exports.SidebarMenuSkeleton=Y.SidebarMenuSkeleton,exports.SidebarMenuSub=Y.SidebarMenuSub,exports.SidebarMenuSubButton=Y.SidebarMenuSubButton,exports.SidebarMenuSubItem=Y.SidebarMenuSubItem,exports.SidebarProvider=Y.SidebarProvider,exports.SidebarRail=Y.SidebarRail,exports.SidebarSeparator=Y.SidebarSeparator,exports.SidebarTrigger=Y.SidebarTrigger,exports.SimpleCard=oe.SimpleCard,exports.Skeleton=ne.t,exports.Slider=Re.Slider,exports.Spinner=g.t,exports.Statistic=pe.Statistic,exports.Switch=S.t,exports.Table=X.Table,exports.TableBody=X.TableBody,exports.TableCaption=X.TableCaption,exports.TableCell=X.TableCell,exports.TableFooter=X.TableFooter,exports.TableHead=X.TableHead,exports.TableHeader=X.TableHeader,exports.TableRow=X.TableRow,exports.Tabs=Z.Tabs,exports.TabsContent=Z.TabsContent,exports.TabsList=Z.TabsList,exports.TabsTrigger=Z.TabsTrigger,exports.TextEditor=D.t,exports.TextEditorToolbar=D.n,exports.Textarea=E.t,exports.Title=ge.Title,exports.Toaster=ze.Toaster,exports.Toggle=Q.Toggle,exports.ToggleGroup=$.ToggleGroup,exports.ToggleGroupItem=$.ToggleGroupItem,exports.Tooltip=i.t,exports.TooltipContent=i.n,exports.TooltipProvider=i.r,exports.TooltipTrigger=i.i,exports.TrashBtn=Ne.TrashBtn,exports.UITableBadgeDisplay=p.R,exports.UITableBody=p.S,exports.UITableBooleanDisplay=p.L,exports.UITableCell=p.x,exports.UITableCellActions=p.b,exports.UITableCellSelect=p.y,exports.UITableContainer=p.o,exports.UITableCurrencyDisplay=p.I,exports.UITableDateDisplay=p.F,exports.UITableDescriptionDisplay=p.P,exports.UITableEmailDisplay=p.N,exports.UITableEmptyDisplay=p.v,exports.UITableFilter=p.a,exports.UITableFooter=p._,exports.UITableHead=p.g,exports.UITableHeadCell=p.m,exports.UITableHeadCellOption=p.h,exports.UITableHeadCellSelect=p.p,exports.UITableHeadRow=p.f,exports.UITableInnerTable=p.d,exports.UITableInnerWrapper=p.u,exports.UITableListDisplay=p.M,exports.UITableLoadMore=p.l,exports.UITableMoreButton=p.j,exports.UITableNameDisplay=p.A,exports.UITablePermalink=p.k,exports.UITablePhoneNumberDisplay=p.O,exports.UITableProgressDisplay=p.D,exports.UITableProvider=p.i,exports.UITableRemoveButton=p.E,exports.UITableRow=p.c,exports.UITableStatisticDisplay=p.T,exports.UITableStatusDisplay=p.w,exports.UITableTooltip=p.t,exports.UITableTooltipActions=p.n,exports.UITableTooltipFilter=p.r,exports.UITableUserDataDisplay=p.C,exports.UITableWrapper=p.s,exports.UploadImageBtn=Pe.UploadImageBtn,exports.UserDataDisplay=me.t,exports.VerifyEmailPage=Oe.VerifyEmailPage,exports.badgeVariants=r.n,exports.buttonGroupVariants=I.buttonGroupVariants,exports.navigationMenuTriggerStyle=K.navigationMenuTriggerStyle,exports.paragraphVariants=e.n,exports.toast=Be.toast,exports.toggleVariants=Q.toggleVariants,exports.useDebounce=G.useDebounce,exports.useFormField=V.useFormField,exports.useSidebar=Y.useSidebar,exports.useTanStackFieldContext=x.t,exports.useTanStackForm=x.n,exports.useTanStackFormContext=x.r,exports.withTanStackFieldGroup=x.i,exports.withTanStackForm=x.a;
|
package/dist/index.d.cts
CHANGED
|
@@ -12,19 +12,19 @@ import { RoleBadge } from "./data-display/role-badge.cjs";
|
|
|
12
12
|
import { Statistic, StatisticProps } from "./data-display/statistic.cjs";
|
|
13
13
|
import { UserDataDisplay } from "./data-display/user.cjs";
|
|
14
14
|
import { ConfirmDialog, ConfirmDialogProps } from "./dialogs/confirm-dialog.cjs";
|
|
15
|
-
import { n as ButtonProps, t as Button } from "./button-
|
|
15
|
+
import { n as ButtonProps, t as Button } from "./button-xc_1ixgJ.cjs";
|
|
16
16
|
import { Separator } from "./ui/separator.cjs";
|
|
17
17
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./ui/tooltip.cjs";
|
|
18
18
|
import { DetailDialog, DetailDialogProps } from "./dialogs/detail-dialog/index.cjs";
|
|
19
19
|
import { ErrorDialog, ErrorDialogProps } from "./dialogs/error-dialog.cjs";
|
|
20
20
|
import { LoadingDialog, LoadingDialogProps } from "./dialogs/loading-dialog.cjs";
|
|
21
|
-
import { n as BadgeProps, r as badgeVariants, t as Badge } from "./badge-
|
|
21
|
+
import { n as BadgeProps, r as badgeVariants, t as Badge } from "./badge-BXCkfLW0.cjs";
|
|
22
22
|
import { Description, DescriptionBadge, DescriptionBoolean, DescriptionCopy, DescriptionDate, DescriptionEmpty, DescriptionHeader, DescriptionImages, DescriptionItem, DescriptionLink, DescriptionLongText, DescriptionName, DescriptionNumberPhone, DescriptionSection, DescriptionStatistic, DescriptionStatisticProps, DescriptionStatus, DescriptionTagList, DescriptionUser } from "./features/descriptions/index.cjs";
|
|
23
23
|
import { SearchModal } from "./features/search-modal/index.cjs";
|
|
24
|
-
import { $ as TUITableHeadRow, A as FilterValue, B as TTableRowContext, C as ActiveFilter, Ct as UITableBadgeDisplay, D as FilterDefinition, E as DateRangeFilterValue, F as TTableContext, G as TUITableCellSelect, H as TUITableBody, I as TTableFilterContext, J as TUITableFooter, K as TUITableColumn, L as TTableHeadRowContext, M as RowData, N as SingleTagFilterValue, O as FilterOption, P as TTableBodyContext, Q as TUITableHeadCellSelect, R as TTableInnerTableContext, S as UITableBody, St as UITableBooleanDisplay, T as CsvCell, U as TUITableCell, V as TTableVirtualizerContext, W as TUITableCellActions, X as TUITableHeadCell, Y as TUITableHead, Z as TUITableHeadCellOption, _ as UITableFooter, _t as UITableListDisplay, a as UITableFilter, at as TableProviderProps, b as UITableCellActions, bt as UITableDateDisplay, c as UITableRow, ct as UITableUserDataDisplay, d as UITableInnerTable, dt as UITableRemoveButton, et as TUITableInnerTable, f as UITableHeadRow, ft as UITableProgressDisplay, g as UITableHead, gt as UITableMoreButton, h as UITableHeadCell, ht as UITableNameDisplay, i as UITableProvider, it as TUITableWrapper, j as NumberFilterValue, k as FilterType, l as UITableLoadMore, lt as UITableStatusDisplay, m as UITableHeadCellOption, mt as UITablePermalink, n as UITableTooltipActions, nt as TUITableLoadMore, o as UITableContainer, ot as TagFilterValue, p as UITableHeadCellSelect, pt as UITablePhoneNumberDisplay, q as TUITableEmptyDisplay, r as UITableTooltipFilter, rt as TUITableRow, s as UITableWrapper, st as TextFilterValue, t as UITableTooltip, tt as TUITableInnerWrapper, u as UITableInnerWrapper, ut as UITableStatisticDisplay, v as UITableEmptyDisplay, vt as UITableEmailDisplay, w as BooleanFilterValue, x as UITableCell, xt as UITableCurrencyDisplay, y as UITableCellSelect, yt as UITableDescriptionDisplay, z as TTableInnerWrapperContext } from "./index-
|
|
25
|
-
import { n as InputVariantProps, t as Input } from "./input-
|
|
26
|
-
import { a as withTanStackForm, c as FieldContentMain, d as FieldLabel, f as FieldSeparator, i as withTanStackFieldGroup, l as FieldError, n as useTanStackForm, o as Field, r as useTanStackFormContext, s as FieldContent, t as useTanStackFieldContext, u as FieldGroup } from "./index-
|
|
27
|
-
import { i as TextEditorProps, n as TextEditorToolbarProps, r as TextEditor, t as TextEditorToolbar } from "./index-
|
|
24
|
+
import { $ as TUITableHeadRow, A as FilterValue, B as TTableRowContext, C as ActiveFilter, Ct as UITableBadgeDisplay, D as FilterDefinition, E as DateRangeFilterValue, F as TTableContext, G as TUITableCellSelect, H as TUITableBody, I as TTableFilterContext, J as TUITableFooter, K as TUITableColumn, L as TTableHeadRowContext, M as RowData, N as SingleTagFilterValue, O as FilterOption, P as TTableBodyContext, Q as TUITableHeadCellSelect, R as TTableInnerTableContext, S as UITableBody, St as UITableBooleanDisplay, T as CsvCell, U as TUITableCell, V as TTableVirtualizerContext, W as TUITableCellActions, X as TUITableHeadCell, Y as TUITableHead, Z as TUITableHeadCellOption, _ as UITableFooter, _t as UITableListDisplay, a as UITableFilter, at as TableProviderProps, b as UITableCellActions, bt as UITableDateDisplay, c as UITableRow, ct as UITableUserDataDisplay, d as UITableInnerTable, dt as UITableRemoveButton, et as TUITableInnerTable, f as UITableHeadRow, ft as UITableProgressDisplay, g as UITableHead, gt as UITableMoreButton, h as UITableHeadCell, ht as UITableNameDisplay, i as UITableProvider, it as TUITableWrapper, j as NumberFilterValue, k as FilterType, l as UITableLoadMore, lt as UITableStatusDisplay, m as UITableHeadCellOption, mt as UITablePermalink, n as UITableTooltipActions, nt as TUITableLoadMore, o as UITableContainer, ot as TagFilterValue, p as UITableHeadCellSelect, pt as UITablePhoneNumberDisplay, q as TUITableEmptyDisplay, r as UITableTooltipFilter, rt as TUITableRow, s as UITableWrapper, st as TextFilterValue, t as UITableTooltip, tt as TUITableInnerWrapper, u as UITableInnerWrapper, ut as UITableStatisticDisplay, v as UITableEmptyDisplay, vt as UITableEmailDisplay, w as BooleanFilterValue, x as UITableCell, xt as UITableCurrencyDisplay, y as UITableCellSelect, yt as UITableDescriptionDisplay, z as TTableInnerWrapperContext } from "./index-22flsTNt.cjs";
|
|
25
|
+
import { n as InputVariantProps, t as Input } from "./input-CEYWz7lS.cjs";
|
|
26
|
+
import { a as withTanStackForm, c as FieldContentMain, d as FieldLabel, f as FieldSeparator, i as withTanStackFieldGroup, l as FieldError, n as useTanStackForm, o as Field, r as useTanStackFormContext, s as FieldContent, t as useTanStackFieldContext, u as FieldGroup } from "./index-DDPBbVVt.cjs";
|
|
27
|
+
import { i as TextEditorProps, n as TextEditorToolbarProps, r as TextEditor, t as TextEditorToolbar } from "./index-DMUr1T2A.cjs";
|
|
28
28
|
import { CMSLayout, CMSLayoutProps } from "./layouts/cms-layout/index.cjs";
|
|
29
29
|
import { PaymentLayout, PaymentLayoutUser } from "./layouts/payment-layout/index.cjs";
|
|
30
30
|
import { Flex } from "./layouts/flex.cjs";
|
|
@@ -45,7 +45,7 @@ import { RefreshBtn } from "./ui/buttons/refresh.cjs";
|
|
|
45
45
|
import { TrashBtn } from "./ui/buttons/trash.cjs";
|
|
46
46
|
import { UploadImageBtn } from "./ui/buttons/upload-image.cjs";
|
|
47
47
|
import { SearchInput } from "./ui/inputs/search-input.cjs";
|
|
48
|
-
import { a as AlertTitle, i as AlertProps, n as AlertDescription, o as AlertTitleProps, r as AlertDescriptionProps, t as Alert } from "./alert-
|
|
48
|
+
import { a as AlertTitle, i as AlertProps, n as AlertDescription, o as AlertTitleProps, r as AlertDescriptionProps, t as Alert } from "./alert-CqRM6LFa.cjs";
|
|
49
49
|
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from "./ui/alert-dialog.cjs";
|
|
50
50
|
import { AspectRatio } from "./ui/aspect-ratio.cjs";
|
|
51
51
|
import { Avatar, AvatarFallback, AvatarImage } from "./ui/avatar.cjs";
|
|
@@ -56,7 +56,7 @@ import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader,
|
|
|
56
56
|
import { Carousel, CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from "./ui/carousel.cjs";
|
|
57
57
|
import { Checkbox } from "./ui/checkbox.cjs";
|
|
58
58
|
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./ui/collapsible.cjs";
|
|
59
|
-
import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "./dialog-
|
|
59
|
+
import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "./dialog-gZTogunf.cjs";
|
|
60
60
|
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./ui/command.cjs";
|
|
61
61
|
import { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./ui/context-menu.cjs";
|
|
62
62
|
import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from "./ui/drawer.cjs";
|
package/dist/index.d.mts
CHANGED
|
@@ -12,19 +12,19 @@ import { RoleBadge } from "./data-display/role-badge.mjs";
|
|
|
12
12
|
import { Statistic, StatisticProps } from "./data-display/statistic.mjs";
|
|
13
13
|
import { UserDataDisplay } from "./data-display/user.mjs";
|
|
14
14
|
import { ConfirmDialog, ConfirmDialogProps } from "./dialogs/confirm-dialog.mjs";
|
|
15
|
-
import { n as ButtonProps, t as Button } from "./button-
|
|
15
|
+
import { n as ButtonProps, t as Button } from "./button-DhUjRe5e.mjs";
|
|
16
16
|
import { Separator } from "./ui/separator.mjs";
|
|
17
17
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./ui/tooltip.mjs";
|
|
18
18
|
import { DetailDialog, DetailDialogProps } from "./dialogs/detail-dialog/index.mjs";
|
|
19
19
|
import { ErrorDialog, ErrorDialogProps } from "./dialogs/error-dialog.mjs";
|
|
20
20
|
import { LoadingDialog, LoadingDialogProps } from "./dialogs/loading-dialog.mjs";
|
|
21
|
-
import { n as BadgeProps, r as badgeVariants, t as Badge } from "./badge-
|
|
21
|
+
import { n as BadgeProps, r as badgeVariants, t as Badge } from "./badge-BNlMwt54.mjs";
|
|
22
22
|
import { Description, DescriptionBadge, DescriptionBoolean, DescriptionCopy, DescriptionDate, DescriptionEmpty, DescriptionHeader, DescriptionImages, DescriptionItem, DescriptionLink, DescriptionLongText, DescriptionName, DescriptionNumberPhone, DescriptionSection, DescriptionStatistic, DescriptionStatisticProps, DescriptionStatus, DescriptionTagList, DescriptionUser } from "./features/descriptions/index.mjs";
|
|
23
23
|
import { SearchModal } from "./features/search-modal/index.mjs";
|
|
24
|
-
import { $ as TUITableHeadRow, A as FilterValue, B as TTableRowContext, C as ActiveFilter, Ct as UITableBadgeDisplay, D as FilterDefinition, E as DateRangeFilterValue, F as TTableContext, G as TUITableCellSelect, H as TUITableBody, I as TTableFilterContext, J as TUITableFooter, K as TUITableColumn, L as TTableHeadRowContext, M as RowData, N as SingleTagFilterValue, O as FilterOption, P as TTableBodyContext, Q as TUITableHeadCellSelect, R as TTableInnerTableContext, S as UITableBody, St as UITableBooleanDisplay, T as CsvCell, U as TUITableCell, V as TTableVirtualizerContext, W as TUITableCellActions, X as TUITableHeadCell, Y as TUITableHead, Z as TUITableHeadCellOption, _ as UITableFooter, _t as UITableListDisplay, a as UITableFilter, at as TableProviderProps, b as UITableCellActions, bt as UITableDateDisplay, c as UITableRow, ct as UITableUserDataDisplay, d as UITableInnerTable, dt as UITableRemoveButton, et as TUITableInnerTable, f as UITableHeadRow, ft as UITableProgressDisplay, g as UITableHead, gt as UITableMoreButton, h as UITableHeadCell, ht as UITableNameDisplay, i as UITableProvider, it as TUITableWrapper, j as NumberFilterValue, k as FilterType, l as UITableLoadMore, lt as UITableStatusDisplay, m as UITableHeadCellOption, mt as UITablePermalink, n as UITableTooltipActions, nt as TUITableLoadMore, o as UITableContainer, ot as TagFilterValue, p as UITableHeadCellSelect, pt as UITablePhoneNumberDisplay, q as TUITableEmptyDisplay, r as UITableTooltipFilter, rt as TUITableRow, s as UITableWrapper, st as TextFilterValue, t as UITableTooltip, tt as TUITableInnerWrapper, u as UITableInnerWrapper, ut as UITableStatisticDisplay, v as UITableEmptyDisplay, vt as UITableEmailDisplay, w as BooleanFilterValue, x as UITableCell, xt as UITableCurrencyDisplay, y as UITableCellSelect, yt as UITableDescriptionDisplay, z as TTableInnerWrapperContext } from "./index-
|
|
25
|
-
import { n as InputVariantProps, t as Input } from "./input-
|
|
26
|
-
import { a as withTanStackForm, c as FieldContentMain, d as FieldLabel, f as FieldSeparator, i as withTanStackFieldGroup, l as FieldError, n as useTanStackForm, o as Field, r as useTanStackFormContext, s as FieldContent, t as useTanStackFieldContext, u as FieldGroup } from "./index-
|
|
27
|
-
import { i as TextEditorProps, n as TextEditorToolbarProps, r as TextEditor, t as TextEditorToolbar } from "./index-
|
|
24
|
+
import { $ as TUITableHeadRow, A as FilterValue, B as TTableRowContext, C as ActiveFilter, Ct as UITableBadgeDisplay, D as FilterDefinition, E as DateRangeFilterValue, F as TTableContext, G as TUITableCellSelect, H as TUITableBody, I as TTableFilterContext, J as TUITableFooter, K as TUITableColumn, L as TTableHeadRowContext, M as RowData, N as SingleTagFilterValue, O as FilterOption, P as TTableBodyContext, Q as TUITableHeadCellSelect, R as TTableInnerTableContext, S as UITableBody, St as UITableBooleanDisplay, T as CsvCell, U as TUITableCell, V as TTableVirtualizerContext, W as TUITableCellActions, X as TUITableHeadCell, Y as TUITableHead, Z as TUITableHeadCellOption, _ as UITableFooter, _t as UITableListDisplay, a as UITableFilter, at as TableProviderProps, b as UITableCellActions, bt as UITableDateDisplay, c as UITableRow, ct as UITableUserDataDisplay, d as UITableInnerTable, dt as UITableRemoveButton, et as TUITableInnerTable, f as UITableHeadRow, ft as UITableProgressDisplay, g as UITableHead, gt as UITableMoreButton, h as UITableHeadCell, ht as UITableNameDisplay, i as UITableProvider, it as TUITableWrapper, j as NumberFilterValue, k as FilterType, l as UITableLoadMore, lt as UITableStatusDisplay, m as UITableHeadCellOption, mt as UITablePermalink, n as UITableTooltipActions, nt as TUITableLoadMore, o as UITableContainer, ot as TagFilterValue, p as UITableHeadCellSelect, pt as UITablePhoneNumberDisplay, q as TUITableEmptyDisplay, r as UITableTooltipFilter, rt as TUITableRow, s as UITableWrapper, st as TextFilterValue, t as UITableTooltip, tt as TUITableInnerWrapper, u as UITableInnerWrapper, ut as UITableStatisticDisplay, v as UITableEmptyDisplay, vt as UITableEmailDisplay, w as BooleanFilterValue, x as UITableCell, xt as UITableCurrencyDisplay, y as UITableCellSelect, yt as UITableDescriptionDisplay, z as TTableInnerWrapperContext } from "./index-DdqgMofm.mjs";
|
|
25
|
+
import { n as InputVariantProps, t as Input } from "./input-BILuHVfC.mjs";
|
|
26
|
+
import { a as withTanStackForm, c as FieldContentMain, d as FieldLabel, f as FieldSeparator, i as withTanStackFieldGroup, l as FieldError, n as useTanStackForm, o as Field, r as useTanStackFormContext, s as FieldContent, t as useTanStackFieldContext, u as FieldGroup } from "./index-WCk8mTXV.mjs";
|
|
27
|
+
import { i as TextEditorProps, n as TextEditorToolbarProps, r as TextEditor, t as TextEditorToolbar } from "./index-cSJtvD9W.mjs";
|
|
28
28
|
import { CMSLayout, CMSLayoutProps } from "./layouts/cms-layout/index.mjs";
|
|
29
29
|
import { PaymentLayout, PaymentLayoutUser } from "./layouts/payment-layout/index.mjs";
|
|
30
30
|
import { Flex } from "./layouts/flex.mjs";
|
|
@@ -45,7 +45,7 @@ import { RefreshBtn } from "./ui/buttons/refresh.mjs";
|
|
|
45
45
|
import { TrashBtn } from "./ui/buttons/trash.mjs";
|
|
46
46
|
import { UploadImageBtn } from "./ui/buttons/upload-image.mjs";
|
|
47
47
|
import { SearchInput } from "./ui/inputs/search-input.mjs";
|
|
48
|
-
import { a as AlertTitle, i as AlertProps, n as AlertDescription, o as AlertTitleProps, r as AlertDescriptionProps, t as Alert } from "./alert-
|
|
48
|
+
import { a as AlertTitle, i as AlertProps, n as AlertDescription, o as AlertTitleProps, r as AlertDescriptionProps, t as Alert } from "./alert-hSQjkSHn.mjs";
|
|
49
49
|
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from "./ui/alert-dialog.mjs";
|
|
50
50
|
import { AspectRatio } from "./ui/aspect-ratio.mjs";
|
|
51
51
|
import { Avatar, AvatarFallback, AvatarImage } from "./ui/avatar.mjs";
|
|
@@ -56,7 +56,7 @@ import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader,
|
|
|
56
56
|
import { Carousel, CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from "./ui/carousel.mjs";
|
|
57
57
|
import { Checkbox } from "./ui/checkbox.mjs";
|
|
58
58
|
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./ui/collapsible.mjs";
|
|
59
|
-
import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "./dialog-
|
|
59
|
+
import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "./dialog-KxgG7gFA.mjs";
|
|
60
60
|
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./ui/command.mjs";
|
|
61
61
|
import { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./ui/context-menu.mjs";
|
|
62
62
|
import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from "./ui/drawer.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./button.variants-CwcJHcI5.mjs";import{t as e}from"./button-BqxBQ4Kr.mjs";import"./heading-B1t9baTw.mjs";import{n as t,t as n}from"./paragraph-J_QbLq9_.mjs";import{Card as r,CardAction as i,CardContent as a,CardDescription as o,CardFooter as s,CardHeader as c,CardTitle as l}from"./ui/card.mjs";import{t as u}from"./skeleton-Czl96pWA.mjs";import{t as d}from"./image-C4gMBmyV.mjs";import{GridProductCard as f}from"./cards/grid-product-card.mjs";import{ProductCard as p}from"./cards/product-card.mjs";import{SimpleCard as m}from"./cards/simple-card.mjs";import{t as h}from"./flex-Bl5yzx6g.mjs";import{CountryDisplay as g}from"./data-display/country.mjs";import{DataList as _,DataListItem as v}from"./data-display/data-list.mjs";import{t as y}from"./date-BQ0c19uk.mjs";import{n as b,t as x}from"./badge-utjRo-lW.mjs";import{i as S,n as C,r as w,t as T}from"./tooltip-BMdzWaaH.mjs";import{DateTooltip as E}from"./data-display/date-tooltip.mjs";import{EmptyDisplay as D}from"./data-display/empty.mjs";import{NameDisplay as O}from"./data-display/name.mjs";import{PhoneNumberDisplay as k}from"./data-display/phone-number.mjs";import{RoleBadge as A}from"./data-display/role-badge.mjs";import{Statistic as j}from"./data-display/statistic.mjs";import{n as M,r as N,t as P}from"./avatar-CK1R4r0j.mjs";import{t as F}from"./user-DexjSvGZ.mjs";import{AlertDialog as I,AlertDialogAction as L,AlertDialogCancel as R,AlertDialogContent as z,AlertDialogDescription as B,AlertDialogFooter as V,AlertDialogHeader as H,AlertDialogOverlay as U,AlertDialogPortal as W,AlertDialogTitle as G,AlertDialogTrigger as K}from"./ui/alert-dialog.mjs";import{ConfirmDialog as q}from"./dialogs/confirm-dialog.mjs";import{Title as J}from"./typography/title.mjs";import{t as Y}from"./separator-yTKDuMWb.mjs";import{a as X,c as Z,i as Q,n as $,o as ee,r as te,s as ne,t as re}from"./sheet-DDBCHwn6.mjs";import"./sidebar-De1RZMAG.mjs";import{DetailDialog as ie}from"./dialogs/detail-dialog/index.mjs";import{ErrorDialog as ae}from"./dialogs/error-dialog.mjs";import"./close-BMhGSmGs.mjs";import{a as oe,c as se,i as ce,l as le,n as ue,o as de,r as fe,s as pe,t as me,u as he}from"./dialog-jqiIqxlm.mjs";import{LoadingDialog as ge}from"./dialogs/loading-dialog.mjs";import{Description as _e,DescriptionBadge as ve,DescriptionBoolean as ye,DescriptionCopy as be,DescriptionDate as xe,DescriptionEmpty as Se,DescriptionHeader as Ce,DescriptionImages as we,DescriptionItem as Te,DescriptionLink as Ee,DescriptionLongText as De,DescriptionName as Oe,DescriptionNumberPhone as ke,DescriptionSection as Ae,DescriptionStatistic as je,DescriptionStatus as Me,DescriptionTagList as Ne,DescriptionUser as Pe}from"./features/descriptions/index.mjs";import{a as Fe,c as Ie,i as Le,l as Re,n as ze,o as Be,r as Ve,s as He,t as Ue}from"./command-Bvauothg.mjs";import{t as We}from"./search-modal-DyOsqK-4.mjs";import{A as Ge,C as Ke,D as qe,E as Je,F as Ye,I as Xe,L as Ze,M as Qe,N as $e,O as et,P as tt,R as nt,S as rt,T as it,_ as at,a as ot,b as st,c as ct,d as lt,f as ut,g as dt,h as ft,i as pt,j as mt,k as ht,l as gt,m as _t,n as vt,o as yt,p as bt,r as xt,s as St,t as Ct,u as wt,v as Tt,w as Et,x as Dt,y as Ot}from"./tables-BQ-QiA1V.mjs";import{a as kt,c as At,d as jt,f as Mt,h as Nt,i as Pt,l as Ft,m as It,n as Lt,o as Rt,p as zt,r as Bt,s as Vt,t as Ht,u as Ut}from"./dropdown-menu-B_uBxY94.mjs";import{t as Wt}from"./progress-BcEEbgJJ.mjs";import{t as Gt}from"./checkbox-CJsl9OjF.mjs";import{t as Kt}from"./spinner-CWUvnJQw.mjs";import{n as qt,r as Jt,t as Yt}from"./resizable-em2svgMz.mjs";import{t as Xt}from"./input-CKFQdvqY.mjs";import{a as Zt,i as Qt,n as $t,r as en,t as tn}from"./popover-BCzVvfnV.mjs";import{a as nn,c as rn,i as an,n as on,o as sn,r as cn,s as ln,t as un}from"./select-C2Ro2wmj.mjs";import{t as dn}from"./label-CE2m0U_j.mjs";import{a as fn,c as pn,d as mn,f as hn,i as gn,l as _n,n as vn,o as yn,r as bn,s as xn,t as Sn,u as Cn}from"./tanstack-form-DJ90sBFl.mjs";import{t as wn}from"./switch-DHsjxnFP.mjs";import{a as Tn,c as En,i as Dn,l as On,n as kn,o as An,r as jn,s as Mn,t as Nn,u as Pn}from"./drawer-j9wcVE50.mjs";import{n as Fn,t as In}from"./calendar-D8aRFw_F.mjs";import{n as Ln,t as Rn}from"./radio-group-KR6Ck-B9.mjs";import{t as zn}from"./textarea-D0-Gltw6.mjs";import{n as Bn,t as Vn}from"./text-editor-CqC44BkO.mjs";import{t as Hn}from"./cms-layout-DHzRHAoI.mjs";import{t as Un}from"./payment-layout-CafCw6lS.mjs";import{Grid as Wn}from"./layouts/grid.mjs";import{FeatureDeveloping as Gn}from"./pages/FeatureDeveloping.mjs";import{FeatureFixing as Kn}from"./pages/FeatureFixing.mjs";import{NotAuthorized as qn}from"./pages/NotAuthorized.mjs";import{NotFound as Jn}from"./pages/NotFound.mjs";import{n as Yn,r as Xn,t as Zn}from"./alert-BC5Nss8t.mjs";import{LoginPage as Qn}from"./pages/LoginPage.mjs";import{RegisterPage as $n}from"./pages/RegisterPage.mjs";import{InputOTP as er,InputOTPGroup as tr,InputOTPSeparator as nr,InputOTPSlot as rr}from"./ui/input-otp.mjs";import{VerifyEmailPage as ir}from"./pages/VerifyEmailPage.mjs";import{Google as ar}from"./systems/google.mjs";import{AddNewBtn as or}from"./ui/buttons/add-new.mjs";import{EditBtn as sr}from"./ui/buttons/edit.mjs";import{RefreshBtn as cr}from"./ui/buttons/refresh.mjs";import{TrashBtn as lr}from"./ui/buttons/trash.mjs";import{UploadImageBtn as ur}from"./ui/buttons/upload-image.mjs";import{SearchInput as dr}from"./ui/inputs/search-input.mjs";import{AspectRatio as fr}from"./ui/aspect-ratio.mjs";import{Breadcrumb as pr,BreadcrumbEllipsis as mr,BreadcrumbItem as hr,BreadcrumbLink as gr,BreadcrumbList as _r,BreadcrumbPage as vr,BreadcrumbSeparator as yr}from"./ui/breadcrumb.mjs";import{ButtonGroup as br,ButtonGroupSeparator as xr,ButtonGroupText as Sr,buttonGroupVariants as Cr}from"./ui/button-group.mjs";import{Carousel as wr,CarouselContent as Tr,CarouselItem as Er,CarouselNext as Dr,CarouselPrevious as Or}from"./ui/carousel.mjs";import{Collapsible as kr,CollapsibleContent as Ar,CollapsibleTrigger as jr}from"./ui/collapsible.mjs";import{ContextMenu as Mr,ContextMenuCheckboxItem as Nr,ContextMenuContent as Pr,ContextMenuGroup as Fr,ContextMenuItem as Ir,ContextMenuLabel as Lr,ContextMenuPortal as Rr,ContextMenuRadioGroup as zr,ContextMenuRadioItem as Br,ContextMenuSeparator as Vr,ContextMenuShortcut as Hr,ContextMenuSub as Ur,ContextMenuSubContent as Wr,ContextMenuSubTrigger as Gr,ContextMenuTrigger as Kr}from"./ui/context-menu.mjs";import{Empty as qr,EmptyContent as Jr,EmptyDescription as Yr,EmptyHeader as Xr,EmptyMedia as Zr,EmptyTitle as Qr}from"./ui/empty.mjs";import{FileUploader as $r}from"./ui/file-uploader.mjs";import"./field-B8RhxRCu.mjs";import{Form as ei,FormControl as ti,FormDescription as ni,FormField as ri,FormItem as ii,FormLabel as ai,FormMessage as oi,useFormField as si}from"./ui/form.mjs";import{HoverCard as ci,HoverCardContent as li,HoverCardTrigger as ui}from"./ui/hover-card.mjs";import{Item as di,ItemActions as fi,ItemContent as pi,ItemDescription as mi,ItemFooter as hi,ItemGroup as gi,ItemHeader as _i,ItemMedia as vi,ItemSeparator as yi,ItemTitle as bi}from"./ui/item.mjs";import{Menubar as xi,MenubarCheckboxItem as Si,MenubarContent as Ci,MenubarGroup as wi,MenubarItem as Ti,MenubarLabel as Ei,MenubarMenu as Di,MenubarPortal as Oi,MenubarRadioGroup as ki,MenubarRadioItem as Ai,MenubarSeparator as ji,MenubarShortcut as Mi,MenubarSub as Ni,MenubarSubContent as Pi,MenubarSubTrigger as Fi,MenubarTrigger as Ii}from"./ui/menubar.mjs";import{MultipleSelector as Li,useDebounce as Ri}from"./ui/multi-select.mjs";import{NavigationMenu as zi,NavigationMenuContent as Bi,NavigationMenuIndicator as Vi,NavigationMenuItem as Hi,NavigationMenuLink as Ui,NavigationMenuList as Wi,NavigationMenuTrigger as Gi,NavigationMenuViewport as Ki,navigationMenuTriggerStyle as qi}from"./ui/navigation-menu.mjs";import{Pagination as Ji,PaginationContent as Yi,PaginationEllipsis as Xi,PaginationItem as Zi,PaginationLink as Qi,PaginationNext as $i,PaginationPrevious as ea}from"./ui/pagination.mjs";import{ScrollArea as ta,ScrollBar as na}from"./ui/scroll-area.mjs";import{Sidebar as ra,SidebarContent as ia,SidebarFooter as aa,SidebarGroup as oa,SidebarGroupAction as sa,SidebarGroupContent as ca,SidebarGroupLabel as la,SidebarHeader as ua,SidebarInput as da,SidebarInset as fa,SidebarMenu as pa,SidebarMenuAction as ma,SidebarMenuBadge as ha,SidebarMenuButton as ga,SidebarMenuItem as _a,SidebarMenuSkeleton as va,SidebarMenuSub as ya,SidebarMenuSubButton as ba,SidebarMenuSubItem as xa,SidebarProvider as Sa,SidebarRail as Ca,SidebarSeparator as wa,SidebarTrigger as Ta,useSidebar as Ea}from"./ui/sidebar.mjs";import{Slider as Da}from"./ui/slider.mjs";import{Toaster as Oa,toast as ka}from"./ui/sonner.mjs";import{Table as Aa,TableBody as ja,TableCaption as Ma,TableCell as Na,TableFooter as Pa,TableHead as Fa,TableHeader as Ia,TableRow as La}from"./ui/table.mjs";import{Tabs as Ra,TabsContent as za,TabsList as Ba,TabsTrigger as Va}from"./ui/tabs.mjs";import{Toggle as Ha,toggleVariants as Ua}from"./ui/toggle.mjs";import{ToggleGroup as Wa,ToggleGroupItem as Ga}from"./ui/toggle-group.mjs";export{or as AddNewBtn,Zn as Alert,Yn as AlertDescription,I as AlertDialog,L as AlertDialogAction,R as AlertDialogCancel,z as AlertDialogContent,B as AlertDialogDescription,V as AlertDialogFooter,H as AlertDialogHeader,U as AlertDialogOverlay,W as AlertDialogPortal,G as AlertDialogTitle,K as AlertDialogTrigger,Xn as AlertTitle,fr as AspectRatio,P as Avatar,M as AvatarFallback,N as AvatarImage,x as Badge,pr as Breadcrumb,mr as BreadcrumbEllipsis,hr as BreadcrumbItem,gr as BreadcrumbLink,_r as BreadcrumbList,vr as BreadcrumbPage,yr as BreadcrumbSeparator,e as Button,br as ButtonGroup,xr as ButtonGroupSeparator,Sr as ButtonGroupText,Hn as CMSLayout,In as Calendar,Fn as CalendarDayButton,r as Card,i as CardAction,a as CardContent,o as CardDescription,s as CardFooter,c as CardHeader,l as CardTitle,wr as Carousel,Tr as CarouselContent,Er as CarouselItem,Dr as CarouselNext,Or as CarouselPrevious,Gt as Checkbox,kr as Collapsible,Ar as CollapsibleContent,jr as CollapsibleTrigger,Ue as Command,ze as CommandDialog,Ve as CommandEmpty,Le as CommandGroup,Fe as CommandInput,Be as CommandItem,He as CommandList,Ie as CommandSeparator,Re as CommandShortcut,q as ConfirmDialog,Mr as ContextMenu,Nr as ContextMenuCheckboxItem,Pr as ContextMenuContent,Fr as ContextMenuGroup,Ir as ContextMenuItem,Lr as ContextMenuLabel,Rr as ContextMenuPortal,zr as ContextMenuRadioGroup,Br as ContextMenuRadioItem,Vr as ContextMenuSeparator,Hr as ContextMenuShortcut,Ur as ContextMenuSub,Wr as ContextMenuSubContent,Gr as ContextMenuSubTrigger,Kr as ContextMenuTrigger,g as CountryDisplay,_ as DataList,v as DataListItem,y as DateDisplay,E as DateTooltip,_e as Description,ve as DescriptionBadge,ye as DescriptionBoolean,be as DescriptionCopy,xe as DescriptionDate,Se as DescriptionEmpty,Ce as DescriptionHeader,we as DescriptionImages,Te as DescriptionItem,Ee as DescriptionLink,De as DescriptionLongText,Oe as DescriptionName,ke as DescriptionNumberPhone,Ae as DescriptionSection,je as DescriptionStatistic,Me as DescriptionStatus,Ne as DescriptionTagList,Pe as DescriptionUser,ie as DetailDialog,me as Dialog,ue as DialogClose,fe as DialogContent,ce as DialogDescription,oe as DialogFooter,de as DialogHeader,pe as DialogOverlay,se as DialogPortal,le as DialogTitle,he as DialogTrigger,Nn as Drawer,kn as DrawerClose,jn as DrawerContent,Dn as DrawerDescription,Tn as DrawerFooter,An as DrawerHeader,Mn as DrawerOverlay,En as DrawerPortal,On as DrawerTitle,Pn as DrawerTrigger,Ht as DropdownMenu,Lt as DropdownMenuCheckboxItem,Bt as DropdownMenuContent,Pt as DropdownMenuGroup,kt as DropdownMenuItem,Rt as DropdownMenuLabel,Vt as DropdownMenuPortal,At as DropdownMenuRadioGroup,Ft as DropdownMenuRadioItem,Ut as DropdownMenuSeparator,jt as DropdownMenuShortcut,Mt as DropdownMenuSub,zt as DropdownMenuSubContent,It as DropdownMenuSubTrigger,Nt as DropdownMenuTrigger,sr as EditBtn,qr as Empty,Jr as EmptyContent,Yr as EmptyDescription,D as EmptyDisplay,Xr as EmptyHeader,Zr as EmptyMedia,Qr as EmptyTitle,ae as ErrorDialog,Gn as FeatureDeveloping,Kn as FeatureFixing,yn as Field,xn as FieldContent,pn as FieldContentMain,_n as FieldError,Cn as FieldGroup,mn as FieldLabel,hn as FieldSeparator,$r as FileUploader,h as Flex,ei as Form,ti as FormControl,ni as FormDescription,ri as FormField,ii as FormItem,ai as FormLabel,oi as FormMessage,ar as Google,Wn as Grid,f as GridProductCard,ci as HoverCard,li as HoverCardContent,ui as HoverCardTrigger,d as Image,Xt as Input,er as InputOTP,tr as InputOTPGroup,nr as InputOTPSeparator,rr as InputOTPSlot,di as Item,fi as ItemActions,pi as ItemContent,mi as ItemDescription,hi as ItemFooter,gi as ItemGroup,_i as ItemHeader,vi as ItemMedia,yi as ItemSeparator,bi as ItemTitle,dn as Label,ge as LoadingDialog,Qn as LoginPage,xi as Menubar,Si as MenubarCheckboxItem,Ci as MenubarContent,wi as MenubarGroup,Ti as MenubarItem,Ei as MenubarLabel,Di as MenubarMenu,Oi as MenubarPortal,ki as MenubarRadioGroup,Ai as MenubarRadioItem,ji as MenubarSeparator,Mi as MenubarShortcut,Ni as MenubarSub,Pi as MenubarSubContent,Fi as MenubarSubTrigger,Ii as MenubarTrigger,Li as MultipleSelector,O as NameDisplay,zi as NavigationMenu,Bi as NavigationMenuContent,Vi as NavigationMenuIndicator,Hi as NavigationMenuItem,Ui as NavigationMenuLink,Wi as NavigationMenuList,Gi as NavigationMenuTrigger,Ki as NavigationMenuViewport,qn as NotAuthorized,Jn as NotFound,Ji as Pagination,Yi as PaginationContent,Xi as PaginationEllipsis,Zi as PaginationItem,Qi as PaginationLink,$i as PaginationNext,ea as PaginationPrevious,n as Paragraph,Un as PaymentLayout,k as PhoneNumberDisplay,tn as Popover,$t as PopoverAnchor,en as PopoverClose,Qt as PopoverContent,Zt as PopoverTrigger,p as ProductCard,Wt as Progress,Rn as RadioGroup,Ln as RadioGroupItem,cr as RefreshBtn,$n as RegisterPage,Yt as ResizableHandle,qt as ResizablePanel,Jt as ResizablePanelGroup,A as RoleBadge,ta as ScrollArea,na as ScrollBar,dr as SearchInput,We as SearchModal,un as Select,on as SelectContent,cn as SelectGroup,an as SelectItem,nn as SelectLabel,sn as SelectSeparator,ln as SelectTrigger,rn as SelectValue,Y as Separator,re as Sheet,$ as SheetClose,te as SheetContent,Q as SheetDescription,X as SheetFooter,ee as SheetHeader,ne as SheetTitle,Z as SheetTrigger,ra as Sidebar,ia as SidebarContent,aa as SidebarFooter,oa as SidebarGroup,sa as SidebarGroupAction,ca as SidebarGroupContent,la as SidebarGroupLabel,ua as SidebarHeader,da as SidebarInput,fa as SidebarInset,pa as SidebarMenu,ma as SidebarMenuAction,ha as SidebarMenuBadge,ga as SidebarMenuButton,_a as SidebarMenuItem,va as SidebarMenuSkeleton,ya as SidebarMenuSub,ba as SidebarMenuSubButton,xa as SidebarMenuSubItem,Sa as SidebarProvider,Ca as SidebarRail,wa as SidebarSeparator,Ta as SidebarTrigger,m as SimpleCard,u as Skeleton,Da as Slider,Kt as Spinner,j as Statistic,wn as Switch,Aa as Table,ja as TableBody,Ma as TableCaption,Na as TableCell,Pa as TableFooter,Fa as TableHead,Ia as TableHeader,La as TableRow,Ra as Tabs,za as TabsContent,Ba as TabsList,Va as TabsTrigger,Vn as TextEditor,Bn as TextEditorToolbar,zn as Textarea,J as Title,Oa as Toaster,Ha as Toggle,Wa as ToggleGroup,Ga as ToggleGroupItem,T as Tooltip,C as TooltipContent,w as TooltipProvider,S as TooltipTrigger,lr as TrashBtn,nt as UITableBadgeDisplay,rt as UITableBody,Ze as UITableBooleanDisplay,Dt as UITableCell,st as UITableCellActions,Ot as UITableCellSelect,yt as UITableContainer,Xe as UITableCurrencyDisplay,Ye as UITableDateDisplay,tt as UITableDescriptionDisplay,$e as UITableEmailDisplay,Tt as UITableEmptyDisplay,ot as UITableFilter,at as UITableFooter,dt as UITableHead,_t as UITableHeadCell,ft as UITableHeadCellOption,bt as UITableHeadCellSelect,ut as UITableHeadRow,lt as UITableInnerTable,wt as UITableInnerWrapper,Qe as UITableListDisplay,gt as UITableLoadMore,mt as UITableMoreButton,Ge as UITableNameDisplay,ht as UITablePermalink,et as UITablePhoneNumberDisplay,qe as UITableProgressDisplay,pt as UITableProvider,Je as UITableRemoveButton,ct as UITableRow,it as UITableStatisticDisplay,Et as UITableStatusDisplay,Ct as UITableTooltip,vt as UITableTooltipActions,xt as UITableTooltipFilter,Ke as UITableUserDataDisplay,St as UITableWrapper,ur as UploadImageBtn,F as UserDataDisplay,ir as VerifyEmailPage,b as badgeVariants,Cr as buttonGroupVariants,qi as navigationMenuTriggerStyle,t as paragraphVariants,ka as toast,Ua as toggleVariants,Ri as useDebounce,si as useFormField,Ea as useSidebar,Sn as useTanStackFieldContext,vn as useTanStackForm,bn as useTanStackFormContext,gn as withTanStackFieldGroup,fn as withTanStackForm};
|
|
1
|
+
import"./button.variants-CwcJHcI5.mjs";import{t as e}from"./button-BqxBQ4Kr.mjs";import"./heading-B1t9baTw.mjs";import{n as t,t as n}from"./paragraph-J_QbLq9_.mjs";import{Card as r,CardAction as i,CardContent as a,CardDescription as o,CardFooter as s,CardHeader as c,CardTitle as l}from"./ui/card.mjs";import{t as u}from"./skeleton-Czl96pWA.mjs";import{t as d}from"./image-C4gMBmyV.mjs";import{GridProductCard as f}from"./cards/grid-product-card.mjs";import{ProductCard as p}from"./cards/product-card.mjs";import{SimpleCard as m}from"./cards/simple-card.mjs";import{t as h}from"./flex-Bl5yzx6g.mjs";import{CountryDisplay as g}from"./data-display/country.mjs";import{DataList as _,DataListItem as v}from"./data-display/data-list.mjs";import{t as y}from"./date-BQ0c19uk.mjs";import{n as b,t as x}from"./badge-utjRo-lW.mjs";import{i as S,n as C,r as w,t as T}from"./tooltip-BMdzWaaH.mjs";import{DateTooltip as E}from"./data-display/date-tooltip.mjs";import{EmptyDisplay as D}from"./data-display/empty.mjs";import{NameDisplay as O}from"./data-display/name.mjs";import{PhoneNumberDisplay as k}from"./data-display/phone-number.mjs";import{RoleBadge as A}from"./data-display/role-badge.mjs";import{Statistic as j}from"./data-display/statistic.mjs";import{n as M,r as N,t as P}from"./avatar-CK1R4r0j.mjs";import{t as F}from"./user-DexjSvGZ.mjs";import{AlertDialog as I,AlertDialogAction as L,AlertDialogCancel as R,AlertDialogContent as z,AlertDialogDescription as B,AlertDialogFooter as V,AlertDialogHeader as H,AlertDialogOverlay as U,AlertDialogPortal as W,AlertDialogTitle as G,AlertDialogTrigger as K}from"./ui/alert-dialog.mjs";import{ConfirmDialog as q}from"./dialogs/confirm-dialog.mjs";import{Title as J}from"./typography/title.mjs";import{t as Y}from"./separator-yTKDuMWb.mjs";import{a as X,c as Z,i as Q,n as $,o as ee,r as te,s as ne,t as re}from"./sheet-DDBCHwn6.mjs";import"./sidebar-De1RZMAG.mjs";import{DetailDialog as ie}from"./dialogs/detail-dialog/index.mjs";import{ErrorDialog as ae}from"./dialogs/error-dialog.mjs";import"./close-BMhGSmGs.mjs";import{a as oe,c as se,i as ce,l as le,n as ue,o as de,r as fe,s as pe,t as me,u as he}from"./dialog-jqiIqxlm.mjs";import{LoadingDialog as ge}from"./dialogs/loading-dialog.mjs";import{Description as _e,DescriptionBadge as ve,DescriptionBoolean as ye,DescriptionCopy as be,DescriptionDate as xe,DescriptionEmpty as Se,DescriptionHeader as Ce,DescriptionImages as we,DescriptionItem as Te,DescriptionLink as Ee,DescriptionLongText as De,DescriptionName as Oe,DescriptionNumberPhone as ke,DescriptionSection as Ae,DescriptionStatistic as je,DescriptionStatus as Me,DescriptionTagList as Ne,DescriptionUser as Pe}from"./features/descriptions/index.mjs";import{a as Fe,c as Ie,i as Le,l as Re,n as ze,o as Be,r as Ve,s as He,t as Ue}from"./command-Bvauothg.mjs";import{t as We}from"./search-modal-DyOsqK-4.mjs";import{A as Ge,C as Ke,D as qe,E as Je,F as Ye,I as Xe,L as Ze,M as Qe,N as $e,O as et,P as tt,R as nt,S as rt,T as it,_ as at,a as ot,b as st,c as ct,d as lt,f as ut,g as dt,h as ft,i as pt,j as mt,k as ht,l as gt,m as _t,n as vt,o as yt,p as bt,r as xt,s as St,t as Ct,u as wt,v as Tt,w as Et,x as Dt,y as Ot}from"./tables-BQ-QiA1V.mjs";import{a as kt,c as At,d as jt,f as Mt,h as Nt,i as Pt,l as Ft,m as It,n as Lt,o as Rt,p as zt,r as Bt,s as Vt,t as Ht,u as Ut}from"./dropdown-menu-B_uBxY94.mjs";import{t as Wt}from"./progress-BcEEbgJJ.mjs";import{t as Gt}from"./checkbox-CJsl9OjF.mjs";import{t as Kt}from"./spinner-CWUvnJQw.mjs";import{n as qt,r as Jt,t as Yt}from"./resizable-em2svgMz.mjs";import{t as Xt}from"./input-CKFQdvqY.mjs";import{a as Zt,i as Qt,n as $t,r as en,t as tn}from"./popover-BCzVvfnV.mjs";import{a as nn,c as rn,i as an,n as on,o as sn,r as cn,s as ln,t as un}from"./select-C2Ro2wmj.mjs";import{t as dn}from"./label-CE2m0U_j.mjs";import{a as fn,c as pn,d as mn,f as hn,i as gn,l as _n,n as vn,o as yn,r as bn,s as xn,t as Sn,u as Cn}from"./tanstack-form-Be6aIYAW.mjs";import{t as wn}from"./switch-DHsjxnFP.mjs";import{a as Tn,c as En,i as Dn,l as On,n as kn,o as An,r as jn,s as Mn,t as Nn,u as Pn}from"./drawer-j9wcVE50.mjs";import{n as Fn,t as In}from"./calendar-D8aRFw_F.mjs";import{n as Ln,t as Rn}from"./radio-group-KR6Ck-B9.mjs";import{t as zn}from"./textarea-D0-Gltw6.mjs";import{n as Bn,t as Vn}from"./text-editor-CqC44BkO.mjs";import{t as Hn}from"./cms-layout-DHzRHAoI.mjs";import{t as Un}from"./payment-layout-CafCw6lS.mjs";import{Grid as Wn}from"./layouts/grid.mjs";import{FeatureDeveloping as Gn}from"./pages/FeatureDeveloping.mjs";import{FeatureFixing as Kn}from"./pages/FeatureFixing.mjs";import{NotAuthorized as qn}from"./pages/NotAuthorized.mjs";import{NotFound as Jn}from"./pages/NotFound.mjs";import{n as Yn,r as Xn,t as Zn}from"./alert-BC5Nss8t.mjs";import{LoginPage as Qn}from"./pages/LoginPage.mjs";import{RegisterPage as $n}from"./pages/RegisterPage.mjs";import{InputOTP as er,InputOTPGroup as tr,InputOTPSeparator as nr,InputOTPSlot as rr}from"./ui/input-otp.mjs";import{VerifyEmailPage as ir}from"./pages/VerifyEmailPage.mjs";import{Google as ar}from"./systems/google.mjs";import{AddNewBtn as or}from"./ui/buttons/add-new.mjs";import{EditBtn as sr}from"./ui/buttons/edit.mjs";import{RefreshBtn as cr}from"./ui/buttons/refresh.mjs";import{TrashBtn as lr}from"./ui/buttons/trash.mjs";import{UploadImageBtn as ur}from"./ui/buttons/upload-image.mjs";import{SearchInput as dr}from"./ui/inputs/search-input.mjs";import{AspectRatio as fr}from"./ui/aspect-ratio.mjs";import{Breadcrumb as pr,BreadcrumbEllipsis as mr,BreadcrumbItem as hr,BreadcrumbLink as gr,BreadcrumbList as _r,BreadcrumbPage as vr,BreadcrumbSeparator as yr}from"./ui/breadcrumb.mjs";import{ButtonGroup as br,ButtonGroupSeparator as xr,ButtonGroupText as Sr,buttonGroupVariants as Cr}from"./ui/button-group.mjs";import{Carousel as wr,CarouselContent as Tr,CarouselItem as Er,CarouselNext as Dr,CarouselPrevious as Or}from"./ui/carousel.mjs";import{Collapsible as kr,CollapsibleContent as Ar,CollapsibleTrigger as jr}from"./ui/collapsible.mjs";import{ContextMenu as Mr,ContextMenuCheckboxItem as Nr,ContextMenuContent as Pr,ContextMenuGroup as Fr,ContextMenuItem as Ir,ContextMenuLabel as Lr,ContextMenuPortal as Rr,ContextMenuRadioGroup as zr,ContextMenuRadioItem as Br,ContextMenuSeparator as Vr,ContextMenuShortcut as Hr,ContextMenuSub as Ur,ContextMenuSubContent as Wr,ContextMenuSubTrigger as Gr,ContextMenuTrigger as Kr}from"./ui/context-menu.mjs";import{Empty as qr,EmptyContent as Jr,EmptyDescription as Yr,EmptyHeader as Xr,EmptyMedia as Zr,EmptyTitle as Qr}from"./ui/empty.mjs";import{FileUploader as $r}from"./ui/file-uploader.mjs";import"./field-B8RhxRCu.mjs";import{Form as ei,FormControl as ti,FormDescription as ni,FormField as ri,FormItem as ii,FormLabel as ai,FormMessage as oi,useFormField as si}from"./ui/form.mjs";import{HoverCard as ci,HoverCardContent as li,HoverCardTrigger as ui}from"./ui/hover-card.mjs";import{Item as di,ItemActions as fi,ItemContent as pi,ItemDescription as mi,ItemFooter as hi,ItemGroup as gi,ItemHeader as _i,ItemMedia as vi,ItemSeparator as yi,ItemTitle as bi}from"./ui/item.mjs";import{Menubar as xi,MenubarCheckboxItem as Si,MenubarContent as Ci,MenubarGroup as wi,MenubarItem as Ti,MenubarLabel as Ei,MenubarMenu as Di,MenubarPortal as Oi,MenubarRadioGroup as ki,MenubarRadioItem as Ai,MenubarSeparator as ji,MenubarShortcut as Mi,MenubarSub as Ni,MenubarSubContent as Pi,MenubarSubTrigger as Fi,MenubarTrigger as Ii}from"./ui/menubar.mjs";import{MultipleSelector as Li,useDebounce as Ri}from"./ui/multi-select.mjs";import{NavigationMenu as zi,NavigationMenuContent as Bi,NavigationMenuIndicator as Vi,NavigationMenuItem as Hi,NavigationMenuLink as Ui,NavigationMenuList as Wi,NavigationMenuTrigger as Gi,NavigationMenuViewport as Ki,navigationMenuTriggerStyle as qi}from"./ui/navigation-menu.mjs";import{Pagination as Ji,PaginationContent as Yi,PaginationEllipsis as Xi,PaginationItem as Zi,PaginationLink as Qi,PaginationNext as $i,PaginationPrevious as ea}from"./ui/pagination.mjs";import{ScrollArea as ta,ScrollBar as na}from"./ui/scroll-area.mjs";import{Sidebar as ra,SidebarContent as ia,SidebarFooter as aa,SidebarGroup as oa,SidebarGroupAction as sa,SidebarGroupContent as ca,SidebarGroupLabel as la,SidebarHeader as ua,SidebarInput as da,SidebarInset as fa,SidebarMenu as pa,SidebarMenuAction as ma,SidebarMenuBadge as ha,SidebarMenuButton as ga,SidebarMenuItem as _a,SidebarMenuSkeleton as va,SidebarMenuSub as ya,SidebarMenuSubButton as ba,SidebarMenuSubItem as xa,SidebarProvider as Sa,SidebarRail as Ca,SidebarSeparator as wa,SidebarTrigger as Ta,useSidebar as Ea}from"./ui/sidebar.mjs";import{Slider as Da}from"./ui/slider.mjs";import{Toaster as Oa,toast as ka}from"./ui/sonner.mjs";import{Table as Aa,TableBody as ja,TableCaption as Ma,TableCell as Na,TableFooter as Pa,TableHead as Fa,TableHeader as Ia,TableRow as La}from"./ui/table.mjs";import{Tabs as Ra,TabsContent as za,TabsList as Ba,TabsTrigger as Va}from"./ui/tabs.mjs";import{Toggle as Ha,toggleVariants as Ua}from"./ui/toggle.mjs";import{ToggleGroup as Wa,ToggleGroupItem as Ga}from"./ui/toggle-group.mjs";export{or as AddNewBtn,Zn as Alert,Yn as AlertDescription,I as AlertDialog,L as AlertDialogAction,R as AlertDialogCancel,z as AlertDialogContent,B as AlertDialogDescription,V as AlertDialogFooter,H as AlertDialogHeader,U as AlertDialogOverlay,W as AlertDialogPortal,G as AlertDialogTitle,K as AlertDialogTrigger,Xn as AlertTitle,fr as AspectRatio,P as Avatar,M as AvatarFallback,N as AvatarImage,x as Badge,pr as Breadcrumb,mr as BreadcrumbEllipsis,hr as BreadcrumbItem,gr as BreadcrumbLink,_r as BreadcrumbList,vr as BreadcrumbPage,yr as BreadcrumbSeparator,e as Button,br as ButtonGroup,xr as ButtonGroupSeparator,Sr as ButtonGroupText,Hn as CMSLayout,In as Calendar,Fn as CalendarDayButton,r as Card,i as CardAction,a as CardContent,o as CardDescription,s as CardFooter,c as CardHeader,l as CardTitle,wr as Carousel,Tr as CarouselContent,Er as CarouselItem,Dr as CarouselNext,Or as CarouselPrevious,Gt as Checkbox,kr as Collapsible,Ar as CollapsibleContent,jr as CollapsibleTrigger,Ue as Command,ze as CommandDialog,Ve as CommandEmpty,Le as CommandGroup,Fe as CommandInput,Be as CommandItem,He as CommandList,Ie as CommandSeparator,Re as CommandShortcut,q as ConfirmDialog,Mr as ContextMenu,Nr as ContextMenuCheckboxItem,Pr as ContextMenuContent,Fr as ContextMenuGroup,Ir as ContextMenuItem,Lr as ContextMenuLabel,Rr as ContextMenuPortal,zr as ContextMenuRadioGroup,Br as ContextMenuRadioItem,Vr as ContextMenuSeparator,Hr as ContextMenuShortcut,Ur as ContextMenuSub,Wr as ContextMenuSubContent,Gr as ContextMenuSubTrigger,Kr as ContextMenuTrigger,g as CountryDisplay,_ as DataList,v as DataListItem,y as DateDisplay,E as DateTooltip,_e as Description,ve as DescriptionBadge,ye as DescriptionBoolean,be as DescriptionCopy,xe as DescriptionDate,Se as DescriptionEmpty,Ce as DescriptionHeader,we as DescriptionImages,Te as DescriptionItem,Ee as DescriptionLink,De as DescriptionLongText,Oe as DescriptionName,ke as DescriptionNumberPhone,Ae as DescriptionSection,je as DescriptionStatistic,Me as DescriptionStatus,Ne as DescriptionTagList,Pe as DescriptionUser,ie as DetailDialog,me as Dialog,ue as DialogClose,fe as DialogContent,ce as DialogDescription,oe as DialogFooter,de as DialogHeader,pe as DialogOverlay,se as DialogPortal,le as DialogTitle,he as DialogTrigger,Nn as Drawer,kn as DrawerClose,jn as DrawerContent,Dn as DrawerDescription,Tn as DrawerFooter,An as DrawerHeader,Mn as DrawerOverlay,En as DrawerPortal,On as DrawerTitle,Pn as DrawerTrigger,Ht as DropdownMenu,Lt as DropdownMenuCheckboxItem,Bt as DropdownMenuContent,Pt as DropdownMenuGroup,kt as DropdownMenuItem,Rt as DropdownMenuLabel,Vt as DropdownMenuPortal,At as DropdownMenuRadioGroup,Ft as DropdownMenuRadioItem,Ut as DropdownMenuSeparator,jt as DropdownMenuShortcut,Mt as DropdownMenuSub,zt as DropdownMenuSubContent,It as DropdownMenuSubTrigger,Nt as DropdownMenuTrigger,sr as EditBtn,qr as Empty,Jr as EmptyContent,Yr as EmptyDescription,D as EmptyDisplay,Xr as EmptyHeader,Zr as EmptyMedia,Qr as EmptyTitle,ae as ErrorDialog,Gn as FeatureDeveloping,Kn as FeatureFixing,yn as Field,xn as FieldContent,pn as FieldContentMain,_n as FieldError,Cn as FieldGroup,mn as FieldLabel,hn as FieldSeparator,$r as FileUploader,h as Flex,ei as Form,ti as FormControl,ni as FormDescription,ri as FormField,ii as FormItem,ai as FormLabel,oi as FormMessage,ar as Google,Wn as Grid,f as GridProductCard,ci as HoverCard,li as HoverCardContent,ui as HoverCardTrigger,d as Image,Xt as Input,er as InputOTP,tr as InputOTPGroup,nr as InputOTPSeparator,rr as InputOTPSlot,di as Item,fi as ItemActions,pi as ItemContent,mi as ItemDescription,hi as ItemFooter,gi as ItemGroup,_i as ItemHeader,vi as ItemMedia,yi as ItemSeparator,bi as ItemTitle,dn as Label,ge as LoadingDialog,Qn as LoginPage,xi as Menubar,Si as MenubarCheckboxItem,Ci as MenubarContent,wi as MenubarGroup,Ti as MenubarItem,Ei as MenubarLabel,Di as MenubarMenu,Oi as MenubarPortal,ki as MenubarRadioGroup,Ai as MenubarRadioItem,ji as MenubarSeparator,Mi as MenubarShortcut,Ni as MenubarSub,Pi as MenubarSubContent,Fi as MenubarSubTrigger,Ii as MenubarTrigger,Li as MultipleSelector,O as NameDisplay,zi as NavigationMenu,Bi as NavigationMenuContent,Vi as NavigationMenuIndicator,Hi as NavigationMenuItem,Ui as NavigationMenuLink,Wi as NavigationMenuList,Gi as NavigationMenuTrigger,Ki as NavigationMenuViewport,qn as NotAuthorized,Jn as NotFound,Ji as Pagination,Yi as PaginationContent,Xi as PaginationEllipsis,Zi as PaginationItem,Qi as PaginationLink,$i as PaginationNext,ea as PaginationPrevious,n as Paragraph,Un as PaymentLayout,k as PhoneNumberDisplay,tn as Popover,$t as PopoverAnchor,en as PopoverClose,Qt as PopoverContent,Zt as PopoverTrigger,p as ProductCard,Wt as Progress,Rn as RadioGroup,Ln as RadioGroupItem,cr as RefreshBtn,$n as RegisterPage,Yt as ResizableHandle,qt as ResizablePanel,Jt as ResizablePanelGroup,A as RoleBadge,ta as ScrollArea,na as ScrollBar,dr as SearchInput,We as SearchModal,un as Select,on as SelectContent,cn as SelectGroup,an as SelectItem,nn as SelectLabel,sn as SelectSeparator,ln as SelectTrigger,rn as SelectValue,Y as Separator,re as Sheet,$ as SheetClose,te as SheetContent,Q as SheetDescription,X as SheetFooter,ee as SheetHeader,ne as SheetTitle,Z as SheetTrigger,ra as Sidebar,ia as SidebarContent,aa as SidebarFooter,oa as SidebarGroup,sa as SidebarGroupAction,ca as SidebarGroupContent,la as SidebarGroupLabel,ua as SidebarHeader,da as SidebarInput,fa as SidebarInset,pa as SidebarMenu,ma as SidebarMenuAction,ha as SidebarMenuBadge,ga as SidebarMenuButton,_a as SidebarMenuItem,va as SidebarMenuSkeleton,ya as SidebarMenuSub,ba as SidebarMenuSubButton,xa as SidebarMenuSubItem,Sa as SidebarProvider,Ca as SidebarRail,wa as SidebarSeparator,Ta as SidebarTrigger,m as SimpleCard,u as Skeleton,Da as Slider,Kt as Spinner,j as Statistic,wn as Switch,Aa as Table,ja as TableBody,Ma as TableCaption,Na as TableCell,Pa as TableFooter,Fa as TableHead,Ia as TableHeader,La as TableRow,Ra as Tabs,za as TabsContent,Ba as TabsList,Va as TabsTrigger,Vn as TextEditor,Bn as TextEditorToolbar,zn as Textarea,J as Title,Oa as Toaster,Ha as Toggle,Wa as ToggleGroup,Ga as ToggleGroupItem,T as Tooltip,C as TooltipContent,w as TooltipProvider,S as TooltipTrigger,lr as TrashBtn,nt as UITableBadgeDisplay,rt as UITableBody,Ze as UITableBooleanDisplay,Dt as UITableCell,st as UITableCellActions,Ot as UITableCellSelect,yt as UITableContainer,Xe as UITableCurrencyDisplay,Ye as UITableDateDisplay,tt as UITableDescriptionDisplay,$e as UITableEmailDisplay,Tt as UITableEmptyDisplay,ot as UITableFilter,at as UITableFooter,dt as UITableHead,_t as UITableHeadCell,ft as UITableHeadCellOption,bt as UITableHeadCellSelect,ut as UITableHeadRow,lt as UITableInnerTable,wt as UITableInnerWrapper,Qe as UITableListDisplay,gt as UITableLoadMore,mt as UITableMoreButton,Ge as UITableNameDisplay,ht as UITablePermalink,et as UITablePhoneNumberDisplay,qe as UITableProgressDisplay,pt as UITableProvider,Je as UITableRemoveButton,ct as UITableRow,it as UITableStatisticDisplay,Et as UITableStatusDisplay,Ct as UITableTooltip,vt as UITableTooltipActions,xt as UITableTooltipFilter,Ke as UITableUserDataDisplay,St as UITableWrapper,ur as UploadImageBtn,F as UserDataDisplay,ir as VerifyEmailPage,b as badgeVariants,Cr as buttonGroupVariants,qi as navigationMenuTriggerStyle,t as paragraphVariants,ka as toast,Ua as toggleVariants,Ri as useDebounce,si as useFormField,Ea as useSidebar,Sn as useTanStackFieldContext,vn as useTanStackForm,bn as useTanStackFormContext,gn as withTanStackFieldGroup,fn as withTanStackForm};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as class_variance_authority_types9 from "class-variance-authority/types";
|
|
1
|
+
import * as react125 from "react";
|
|
3
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/input.d.ts
|
|
6
6
|
/** CVA variant definitions for the `Input` component — controls sizing and visual style. */
|
|
7
7
|
declare const inputVariants: (props?: ({
|
|
8
8
|
variant?: "none" | "outline" | "soft" | "ghost" | "subtle" | null | undefined;
|
|
9
9
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
11
11
|
type InputVariantProps = VariantProps<typeof inputVariants>;
|
|
12
12
|
/**
|
|
13
13
|
* Styled text input field built on the native `<input>` element with CVA-driven size and variant tokens.
|
|
@@ -38,7 +38,7 @@ declare function Input({
|
|
|
38
38
|
size?: InputVariantProps['size'];
|
|
39
39
|
/** Convenience callback that receives the raw string value on every change, bypassing the synthetic event. */
|
|
40
40
|
onValueChange?: (value: string) => void;
|
|
41
|
-
}):
|
|
41
|
+
}): react125.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { InputVariantProps as n, inputVariants as r, Input as t };
|
|
44
|
-
//# sourceMappingURL=input-
|
|
44
|
+
//# sourceMappingURL=input-BILuHVfC.d.mts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react62 from "react";
|
|
2
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
2
3
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as class_variance_authority_types9 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/input.d.ts
|
|
6
6
|
/** CVA variant definitions for the `Input` component — controls sizing and visual style. */
|
|
7
7
|
declare const inputVariants: (props?: ({
|
|
8
8
|
variant?: "none" | "outline" | "soft" | "ghost" | "subtle" | null | undefined;
|
|
9
9
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
11
11
|
type InputVariantProps = VariantProps<typeof inputVariants>;
|
|
12
12
|
/**
|
|
13
13
|
* Styled text input field built on the native `<input>` element with CVA-driven size and variant tokens.
|
|
@@ -38,7 +38,7 @@ declare function Input({
|
|
|
38
38
|
size?: InputVariantProps['size'];
|
|
39
39
|
/** Convenience callback that receives the raw string value on every change, bypassing the synthetic event. */
|
|
40
40
|
onValueChange?: (value: string) => void;
|
|
41
|
-
}):
|
|
41
|
+
}): react62.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { InputVariantProps as n, inputVariants as r, Input as t };
|
|
44
|
-
//# sourceMappingURL=input-
|
|
44
|
+
//# sourceMappingURL=input-CEYWz7lS.d.cts.map
|
package/dist/layouts/flex.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react1 from "react";
|
|
2
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/layouts/flex.d.ts
|
|
@@ -12,7 +12,7 @@ declare const flexVariants: (props?: ({
|
|
|
12
12
|
gap?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | null | undefined;
|
|
13
13
|
justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | "stretch" | null | undefined;
|
|
14
14
|
align?: "start" | "center" | "end" | "stretch" | "baseline" | null | undefined;
|
|
15
|
-
} &
|
|
15
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
16
16
|
type Props = {
|
|
17
17
|
/** Additional Tailwind classes merged on top of the variant-generated classes. */
|
|
18
18
|
className?: string;
|
|
@@ -100,7 +100,7 @@ type Props = {
|
|
|
100
100
|
* </Flex>
|
|
101
101
|
* ```
|
|
102
102
|
*/
|
|
103
|
-
declare const Flex:
|
|
103
|
+
declare const Flex: react1.MemoExoticComponent<({
|
|
104
104
|
vertical,
|
|
105
105
|
wrap,
|
|
106
106
|
width,
|
|
@@ -111,7 +111,7 @@ declare const Flex: react27.MemoExoticComponent<({
|
|
|
111
111
|
align,
|
|
112
112
|
className,
|
|
113
113
|
children
|
|
114
|
-
}: React.PropsWithChildren<Props>) =>
|
|
114
|
+
}: React.PropsWithChildren<Props>) => react1.JSX.Element>;
|
|
115
115
|
//#endregion
|
|
116
116
|
export { Flex };
|
|
117
117
|
//# sourceMappingURL=flex.d.cts.map
|
package/dist/layouts/flex.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react123 from "react";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/layouts/flex.d.ts
|
|
6
6
|
declare const flexVariants: (props?: ({
|
|
@@ -12,7 +12,7 @@ declare const flexVariants: (props?: ({
|
|
|
12
12
|
gap?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | null | undefined;
|
|
13
13
|
justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | "stretch" | null | undefined;
|
|
14
14
|
align?: "start" | "center" | "end" | "stretch" | "baseline" | null | undefined;
|
|
15
|
-
} &
|
|
15
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
16
16
|
type Props = {
|
|
17
17
|
/** Additional Tailwind classes merged on top of the variant-generated classes. */
|
|
18
18
|
className?: string;
|
|
@@ -100,7 +100,7 @@ type Props = {
|
|
|
100
100
|
* </Flex>
|
|
101
101
|
* ```
|
|
102
102
|
*/
|
|
103
|
-
declare const Flex:
|
|
103
|
+
declare const Flex: react123.MemoExoticComponent<({
|
|
104
104
|
vertical,
|
|
105
105
|
wrap,
|
|
106
106
|
width,
|
|
@@ -111,7 +111,7 @@ declare const Flex: react3.MemoExoticComponent<({
|
|
|
111
111
|
align,
|
|
112
112
|
className,
|
|
113
113
|
children
|
|
114
|
-
}: React.PropsWithChildren<Props>) =>
|
|
114
|
+
}: React.PropsWithChildren<Props>) => react123.JSX.Element>;
|
|
115
115
|
//#endregion
|
|
116
116
|
export { Flex };
|
|
117
117
|
//# sourceMappingURL=flex.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react95 from "react";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/pages/FeatureDeveloping.d.ts
|
|
4
4
|
interface FeatureDevelopingProps {
|
|
@@ -37,7 +37,7 @@ declare const FeatureDeveloping: ({
|
|
|
37
37
|
onButtonClick,
|
|
38
38
|
className,
|
|
39
39
|
iconClassName
|
|
40
|
-
}: FeatureDevelopingProps) =>
|
|
40
|
+
}: FeatureDevelopingProps) => react95.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { FeatureDeveloping, FeatureDeveloping as default, FeatureDevelopingProps };
|
|
43
43
|
//# sourceMappingURL=FeatureDeveloping.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react3 from "react";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/pages/FeatureDeveloping.d.ts
|
|
4
4
|
interface FeatureDevelopingProps {
|
|
@@ -37,7 +37,7 @@ declare const FeatureDeveloping: ({
|
|
|
37
37
|
onButtonClick,
|
|
38
38
|
className,
|
|
39
39
|
iconClassName
|
|
40
|
-
}: FeatureDevelopingProps) =>
|
|
40
|
+
}: FeatureDevelopingProps) => react3.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { FeatureDeveloping, FeatureDeveloping as default, FeatureDevelopingProps };
|
|
43
43
|
//# sourceMappingURL=FeatureDeveloping.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react9 from "react";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/pages/FeatureFixing.d.ts
|
|
4
4
|
interface FeatureFixingProps {
|
|
@@ -37,7 +37,7 @@ declare const FeatureFixing: ({
|
|
|
37
37
|
onButtonClick,
|
|
38
38
|
className,
|
|
39
39
|
iconClassName
|
|
40
|
-
}: FeatureFixingProps) =>
|
|
40
|
+
}: FeatureFixingProps) => react9.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { FeatureFixing, FeatureFixing as default, FeatureFixingProps };
|
|
43
43
|
//# sourceMappingURL=FeatureFixing.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react30 from "react";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/pages/FeatureFixing.d.ts
|
|
4
4
|
interface FeatureFixingProps {
|
|
@@ -37,7 +37,7 @@ declare const FeatureFixing: ({
|
|
|
37
37
|
onButtonClick,
|
|
38
38
|
className,
|
|
39
39
|
iconClassName
|
|
40
|
-
}: FeatureFixingProps) =>
|
|
40
|
+
}: FeatureFixingProps) => react30.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { FeatureFixing, FeatureFixing as default, FeatureFixingProps };
|
|
43
43
|
//# sourceMappingURL=FeatureFixing.d.mts.map
|
package/dist/pages/LoginPage.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-tnhb123u.cjs`);const t=require(`../button-Bu4ejNOW.cjs`);require(`../heading-wUXEbicM.cjs`),require(`../paragraph-D-JHj7EP.cjs`),require(`../close-DUBEKxhw.cjs`);const n=require(`../dialog-DEnyBH2X.cjs`),r=require(`../input-1ceJxxFI.cjs`),i=require(`../label-BHbqbBtO.cjs`),a=require(`../alert-4rfsFtN6.cjs`);let o=require(`lucide-react`),s=require(`react`),c=require(`react/jsx-runtime`),l=require(`zod`);const u=l.z.object({email:l.z.string().min(1,`Vui lòng nhập email`).email(`Email không hợp lệ`),password:l.z.string().min(1,`Vui lòng nhập mật khẩu`)}),d=({open:e,onOpenChange:l,onLogin:d,onForgotPassword:f,onRegister:p,isLoading:m=!1,errorMessage:h,title:g=`Đăng nhập`,subtitle:_=`Nhập thông tin để tiếp tục`})=>{let v=(0,s.useId)(),y=(0,s.useId)(),[b,x]=(0,s.useState)(``),[S,C]=(0,s.useState)(``),[w,T]=(0,s.useState)(!1),[E,D]=(0,s.useState)({});return(0,c.jsx)(n.t,{open:e,onOpenChange:l,children:(0,c.jsxs)(n.r,{className:`sm:max-w-sm`,children:[(0,c.jsxs)(n.o,{children:[(0,c.jsx)(n.l,{children:g}),(0,c.jsx)(n.i,{children:_})]}),(0,c.jsxs)(`form`,{onSubmit:async e=>{e.preventDefault();let t=u.safeParse({email:b,password:S});if(!t.success){let e=t.error.flatten().fieldErrors;D({email:e.email?.[0],password:e.password?.[0]});return}D({}),await d(b,S)},noValidate:!0,className:`flex flex-col gap-4`,children:[h&&(0,c.jsx)(a.t,{variant:`destructive`,children:(0,c.jsx)(a.n,{children:h})}),(0,c.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,c.jsx)(i.t,{htmlFor:v,children:`Email`}),(0,c.jsx)(r.t,{id:v,type:`email`,autoComplete:`email`,placeholder:`you@example.com`,value:b,onChange:e=>x(e.target.value),"aria-invalid":!!E.email,disabled:m}),E.email&&(0,c.jsx)(`p`,{className:`text-destructive text-xs`,children:E.email})]}),(0,c.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,c.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,c.jsx)(i.t,{htmlFor:y,children:`Mật khẩu`}),f&&(0,c.jsx)(t.t,{type:`button`,variant:`link`,size:`sm`,className:`h-auto p-0 text-xs`,onClick:f,children:`Quên mật khẩu?`})]}),(0,c.jsxs)(`div`,{className:`relative`,children:[(0,c.jsx)(r.t,{id:y,type:w?`text`:`password`,autoComplete:`current-password`,placeholder:`••••••••`,value:S,onChange:e=>C(e.target.value),"aria-invalid":!!E.password,disabled:m,className:`pr-10`}),(0,c.jsx)(`button`,{type:`button`,className:`absolute inset-y-0 right-0 flex items-center px-3 text-muted-foreground hover:text-foreground`,onMouseDown:e=>{e.preventDefault(),T(e=>!e)},"aria-label":w?`Ẩn mật khẩu`:`Hiện mật khẩu`,children:w?(0,c.jsx)(o.EyeOff,{size:16}):(0,c.jsx)(o.Eye,{size:16})})]}),E.password&&(0,c.jsx)(`p`,{className:`text-destructive text-xs`,children:E.password})]}),(0,c.jsx)(t.t,{type:`submit`,isLoading:m,className:`w-full`,children:`Đăng nhập`})]}),p&&(0,c.jsxs)(`div`,{className:`flex justify-center gap-1 text-muted-foreground text-sm`,children:[(0,c.jsx)(`span`,{children:`Chưa có tài khoản?`}),(0,c.jsx)(t.t,{variant:`link`,size:`sm`,className:`h-auto p-0`,onClick:p,children:`Đăng ký`})]})]})})};exports.LoginPage=d;
|
|
1
|
+
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-tnhb123u.cjs`);const t=require(`../button-Bu4ejNOW.cjs`);require(`../heading-wUXEbicM.cjs`),require(`../paragraph-D-JHj7EP.cjs`),require(`../close-DUBEKxhw.cjs`);const n=require(`../dialog-DEnyBH2X.cjs`),r=require(`../input-1ceJxxFI.cjs`),i=require(`../label-BHbqbBtO.cjs`),a=require(`../alert-4rfsFtN6.cjs`);let o=require(`lucide-react`),s=require(`react`),c=require(`react/jsx-runtime`),l=require(`zod`);const u=l.z.object({email:l.z.string().min(1,`Vui lòng nhập email`).email(`Email không hợp lệ`),password:l.z.string().min(1,`Vui lòng nhập mật khẩu`)}),d=({open:e,onOpenChange:l,onLogin:d,onForgotPassword:f,onRegister:p,isLoading:m=!1,errorMessage:h,title:g=`Đăng nhập`,subtitle:_=`Nhập thông tin để tiếp tục`})=>{let v=(0,s.useId)(),y=(0,s.useId)(),[b,x]=(0,s.useState)(``),[S,C]=(0,s.useState)(``),[w,T]=(0,s.useState)(!1),[E,D]=(0,s.useState)({});return(0,c.jsx)(n.t,{open:e,onOpenChange:l,children:(0,c.jsxs)(n.r,{className:`max-sm:data-[state=open]:slide-in-from-bottom max-sm:data-[state=open]:zoom-in-100 max-sm:data-[state=closed]:slide-out-to-bottom max-sm:data-[state=closed]:zoom-out-100 max-sm:top-auto max-sm:right-0 max-sm:bottom-0 max-sm:left-0 max-sm:max-w-full max-sm:translate-x-0 max-sm:translate-y-0 max-sm:rounded-b-none sm:max-w-sm`,children:[(0,c.jsxs)(n.o,{children:[(0,c.jsx)(n.l,{children:g}),(0,c.jsx)(n.i,{children:_})]}),(0,c.jsxs)(`form`,{onSubmit:async e=>{e.preventDefault();let t=u.safeParse({email:b,password:S});if(!t.success){let e=t.error.flatten().fieldErrors;D({email:e.email?.[0],password:e.password?.[0]});return}D({}),await d(b,S)},noValidate:!0,className:`flex flex-col gap-4`,children:[h&&(0,c.jsx)(a.t,{variant:`destructive`,children:(0,c.jsx)(a.n,{children:h})}),(0,c.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,c.jsx)(i.t,{htmlFor:v,children:`Email`}),(0,c.jsx)(r.t,{id:v,type:`email`,autoComplete:`email`,placeholder:`you@example.com`,value:b,onChange:e=>x(e.target.value),"aria-invalid":!!E.email,disabled:m}),E.email&&(0,c.jsx)(`p`,{className:`text-destructive text-xs`,children:E.email})]}),(0,c.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,c.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,c.jsx)(i.t,{htmlFor:y,children:`Mật khẩu`}),f&&(0,c.jsx)(t.t,{type:`button`,variant:`link`,size:`sm`,className:`h-auto p-0 text-xs`,onClick:f,children:`Quên mật khẩu?`})]}),(0,c.jsxs)(`div`,{className:`relative`,children:[(0,c.jsx)(r.t,{id:y,type:w?`text`:`password`,autoComplete:`current-password`,placeholder:`••••••••`,value:S,onChange:e=>C(e.target.value),"aria-invalid":!!E.password,disabled:m,className:`pr-10`}),(0,c.jsx)(`button`,{type:`button`,className:`absolute inset-y-0 right-0 flex items-center px-3 text-muted-foreground hover:text-foreground`,onMouseDown:e=>{e.preventDefault(),T(e=>!e)},"aria-label":w?`Ẩn mật khẩu`:`Hiện mật khẩu`,children:w?(0,c.jsx)(o.EyeOff,{size:16}):(0,c.jsx)(o.Eye,{size:16})})]}),E.password&&(0,c.jsx)(`p`,{className:`text-destructive text-xs`,children:E.password})]}),(0,c.jsx)(t.t,{type:`submit`,isLoading:m,className:`w-full`,children:`Đăng nhập`})]}),p&&(0,c.jsxs)(`div`,{className:`flex justify-center gap-1 text-muted-foreground text-sm`,children:[(0,c.jsx)(`span`,{children:`Chưa có tài khoản?`}),(0,c.jsx)(t.t,{variant:`link`,size:`sm`,className:`h-auto p-0`,onClick:p,children:`Đăng ký`})]})]})})};exports.LoginPage=d;
|
|
2
2
|
//# sourceMappingURL=LoginPage.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoginPage.cjs","names":["z","Dialog","DialogContent","DialogHeader","DialogTitle","DialogDescription","Alert","AlertDescription","Label","Input","Button","EyeOff","Eye"],"sources":["../../packages/components/pages/LoginPage.tsx"],"sourcesContent":["'use client';\n\nimport { useId, useState } from 'react';\n\nimport { Eye, EyeOff } from 'lucide-react';\nimport { z } from 'zod';\n\nimport { Alert, AlertDescription } from '../ui/alert';\nimport { Button } from '../ui/button';\nimport { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from '../ui/dialog';\nimport { Input } from '../ui/input';\nimport { Label } from '../ui/label';\n\nexport interface LoginPageProps {\n /** Controls whether the dialog is open */\n open: boolean;\n /** Called when the dialog open state changes */\n onOpenChange: (open: boolean) => void;\n /** Called when the user submits login credentials */\n onLogin: (email: string, password: string) => Promise<void> | void;\n /** Called when the \"Quên mật khẩu?\" link is clicked */\n onForgotPassword?: () => void;\n /** Called when the \"Đăng ký\" link is clicked */\n onRegister?: () => void;\n /** Disables the form and shows a spinner on the submit button */\n isLoading?: boolean;\n /** Server-side error message rendered in a destructive Alert */\n errorMessage?: string;\n /** Dialog heading. Default: \"Đăng nhập\" */\n title?: string;\n /** Dialog subheading. Default: \"Nhập thông tin để tiếp tục\" */\n subtitle?: string;\n}\n\nconst loginSchema = z.object({\n email: z.string().min(1, 'Vui lòng nhập email').email('Email không hợp lệ'),\n password: z.string().min(1, 'Vui lòng nhập mật khẩu'),\n});\n\n/**\n * Modal login dialog for the client authentication flow.\n *\n * @example\n * ```tsx\n * import { LoginPage } from '@customafk/lunas-ui/pages/LoginPage';\n *\n * <LoginPage\n * open={open}\n * onOpenChange={setOpen}\n * onLogin={async (email, password) => {\n * await authService.login(email, password);\n * setOpen(false);\n * }}\n * onRegister={() => { setOpen(false); setRegisterOpen(true); }}\n * />\n * ```\n */\nexport const LoginPage = ({\n open,\n onOpenChange,\n onLogin,\n onForgotPassword,\n onRegister,\n isLoading = false,\n errorMessage,\n title = 'Đăng nhập',\n subtitle = 'Nhập thông tin để tiếp tục',\n}: LoginPageProps) => {\n const emailId = useId();\n const passwordId = useId();\n const [email, setEmail] = useState('');\n const [password, setPassword] = useState('');\n const [showPassword, setShowPassword] = useState(false);\n const [fieldErrors, setFieldErrors] = useState<{ email?: string; password?: string }>({});\n\n const handleSubmit = async (e: React.FormEvent<HTMLFormElement>) => {\n e.preventDefault();\n const result = loginSchema.safeParse({ email, password });\n if (!result.success) {\n const errors = result.error.flatten().fieldErrors;\n setFieldErrors({ email: errors.email?.[0], password: errors.password?.[0] });\n return;\n }\n setFieldErrors({});\n await onLogin(email, password);\n };\n\n return (\n <Dialog open={open} onOpenChange={onOpenChange}>\n <DialogContent className=\"sm:max-w-sm\">\n <DialogHeader>\n <DialogTitle>{title}</DialogTitle>\n <DialogDescription>{subtitle}</DialogDescription>\n </DialogHeader>\n\n <form onSubmit={handleSubmit} noValidate className=\"flex flex-col gap-4\">\n {errorMessage && (\n <Alert variant=\"destructive\">\n <AlertDescription>{errorMessage}</AlertDescription>\n </Alert>\n )}\n\n <div className=\"flex flex-col gap-1.5\">\n <Label htmlFor={emailId}>Email</Label>\n <Input\n id={emailId}\n type=\"email\"\n autoComplete=\"email\"\n placeholder=\"you@example.com\"\n value={email}\n onChange={e => setEmail(e.target.value)}\n aria-invalid={!!fieldErrors.email}\n disabled={isLoading}\n />\n {fieldErrors.email && <p className=\"text-destructive text-xs\">{fieldErrors.email}</p>}\n </div>\n\n <div className=\"flex flex-col gap-1.5\">\n <div className=\"flex items-center justify-between\">\n <Label htmlFor={passwordId}>Mật khẩu</Label>\n {onForgotPassword && (\n <Button type=\"button\" variant=\"link\" size=\"sm\" className=\"h-auto p-0 text-xs\" onClick={onForgotPassword}>\n Quên mật khẩu?\n </Button>\n )}\n </div>\n <div className=\"relative\">\n <Input\n id={passwordId}\n type={showPassword ? 'text' : 'password'}\n autoComplete=\"current-password\"\n placeholder=\"••••••••\"\n value={password}\n onChange={e => setPassword(e.target.value)}\n aria-invalid={!!fieldErrors.password}\n disabled={isLoading}\n className=\"pr-10\"\n />\n <button\n type=\"button\"\n className=\"absolute inset-y-0 right-0 flex items-center px-3 text-muted-foreground hover:text-foreground\"\n onMouseDown={e => {\n e.preventDefault();\n setShowPassword(v => !v);\n }}\n aria-label={showPassword ? 'Ẩn mật khẩu' : 'Hiện mật khẩu'}\n >\n {showPassword ? <EyeOff size={16} /> : <Eye size={16} />}\n </button>\n </div>\n {fieldErrors.password && <p className=\"text-destructive text-xs\">{fieldErrors.password}</p>}\n </div>\n\n <Button type=\"submit\" isLoading={isLoading} className=\"w-full\">\n Đăng nhập\n </Button>\n </form>\n\n {onRegister && (\n <div className=\"flex justify-center gap-1 text-muted-foreground text-sm\">\n <span>Chưa có tài khoản?</span>\n <Button variant=\"link\" size=\"sm\" className=\"h-auto p-0\" onClick={onRegister}>\n Đăng ký\n </Button>\n </div>\n )}\n </DialogContent>\n </Dialog>\n );\n};\n"],"mappings":"weAkCA,MAAM,EAAcA,EAAAA,EAAE,OAAO,CAC3B,MAAOA,EAAAA,EAAE,QAAQ,CAAC,IAAI,EAAG,sBAAsB,CAAC,MAAM,qBAAqB,CAC3E,SAAUA,EAAAA,EAAE,QAAQ,CAAC,IAAI,EAAG,yBAAyB,CACtD,CAAC,CAoBW,GAAa,CACxB,OACA,eACA,UACA,mBACA,aACA,YAAY,GACZ,eACA,QAAQ,YACR,WAAW,gCACS,CACpB,IAAM,GAAA,EAAA,EAAA,QAAiB,CACjB,GAAA,EAAA,EAAA,QAAoB,CACpB,CAAC,EAAO,IAAA,EAAA,EAAA,UAAqB,GAAG,CAChC,CAAC,EAAU,IAAA,EAAA,EAAA,UAAwB,GAAG,CACtC,CAAC,EAAc,IAAA,EAAA,EAAA,UAA4B,GAAM,CACjD,CAAC,EAAa,IAAA,EAAA,EAAA,UAAkE,EAAE,CAAC,CAczF,OACE,EAAA,EAAA,KAACC,EAAAA,EAAAA,CAAa,OAAoB,yBAChC,EAAA,EAAA,MAACC,EAAAA,EAAAA,CAAc,UAAU,
|
|
1
|
+
{"version":3,"file":"LoginPage.cjs","names":["z","Dialog","DialogContent","DialogHeader","DialogTitle","DialogDescription","Alert","AlertDescription","Label","Input","Button","EyeOff","Eye"],"sources":["../../packages/components/pages/LoginPage.tsx"],"sourcesContent":["'use client';\n\nimport { useId, useState } from 'react';\n\nimport { Eye, EyeOff } from 'lucide-react';\nimport { z } from 'zod';\n\nimport { Alert, AlertDescription } from '../ui/alert';\nimport { Button } from '../ui/button';\nimport { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from '../ui/dialog';\nimport { Input } from '../ui/input';\nimport { Label } from '../ui/label';\n\nexport interface LoginPageProps {\n /** Controls whether the dialog is open */\n open: boolean;\n /** Called when the dialog open state changes */\n onOpenChange: (open: boolean) => void;\n /** Called when the user submits login credentials */\n onLogin: (email: string, password: string) => Promise<void> | void;\n /** Called when the \"Quên mật khẩu?\" link is clicked */\n onForgotPassword?: () => void;\n /** Called when the \"Đăng ký\" link is clicked */\n onRegister?: () => void;\n /** Disables the form and shows a spinner on the submit button */\n isLoading?: boolean;\n /** Server-side error message rendered in a destructive Alert */\n errorMessage?: string;\n /** Dialog heading. Default: \"Đăng nhập\" */\n title?: string;\n /** Dialog subheading. Default: \"Nhập thông tin để tiếp tục\" */\n subtitle?: string;\n}\n\nconst loginSchema = z.object({\n email: z.string().min(1, 'Vui lòng nhập email').email('Email không hợp lệ'),\n password: z.string().min(1, 'Vui lòng nhập mật khẩu'),\n});\n\n/**\n * Modal login dialog for the client authentication flow.\n *\n * @example\n * ```tsx\n * import { LoginPage } from '@customafk/lunas-ui/pages/LoginPage';\n *\n * <LoginPage\n * open={open}\n * onOpenChange={setOpen}\n * onLogin={async (email, password) => {\n * await authService.login(email, password);\n * setOpen(false);\n * }}\n * onRegister={() => { setOpen(false); setRegisterOpen(true); }}\n * />\n * ```\n */\nexport const LoginPage = ({\n open,\n onOpenChange,\n onLogin,\n onForgotPassword,\n onRegister,\n isLoading = false,\n errorMessage,\n title = 'Đăng nhập',\n subtitle = 'Nhập thông tin để tiếp tục',\n}: LoginPageProps) => {\n const emailId = useId();\n const passwordId = useId();\n const [email, setEmail] = useState('');\n const [password, setPassword] = useState('');\n const [showPassword, setShowPassword] = useState(false);\n const [fieldErrors, setFieldErrors] = useState<{ email?: string; password?: string }>({});\n\n const handleSubmit = async (e: React.FormEvent<HTMLFormElement>) => {\n e.preventDefault();\n const result = loginSchema.safeParse({ email, password });\n if (!result.success) {\n const errors = result.error.flatten().fieldErrors;\n setFieldErrors({ email: errors.email?.[0], password: errors.password?.[0] });\n return;\n }\n setFieldErrors({});\n await onLogin(email, password);\n };\n\n return (\n <Dialog open={open} onOpenChange={onOpenChange}>\n <DialogContent className=\"max-sm:data-[state=open]:slide-in-from-bottom max-sm:data-[state=open]:zoom-in-100 max-sm:data-[state=closed]:slide-out-to-bottom max-sm:data-[state=closed]:zoom-out-100 max-sm:top-auto max-sm:right-0 max-sm:bottom-0 max-sm:left-0 max-sm:max-w-full max-sm:translate-x-0 max-sm:translate-y-0 max-sm:rounded-b-none sm:max-w-sm\">\n <DialogHeader>\n <DialogTitle>{title}</DialogTitle>\n <DialogDescription>{subtitle}</DialogDescription>\n </DialogHeader>\n\n <form onSubmit={handleSubmit} noValidate className=\"flex flex-col gap-4\">\n {errorMessage && (\n <Alert variant=\"destructive\">\n <AlertDescription>{errorMessage}</AlertDescription>\n </Alert>\n )}\n\n <div className=\"flex flex-col gap-1.5\">\n <Label htmlFor={emailId}>Email</Label>\n <Input\n id={emailId}\n type=\"email\"\n autoComplete=\"email\"\n placeholder=\"you@example.com\"\n value={email}\n onChange={e => setEmail(e.target.value)}\n aria-invalid={!!fieldErrors.email}\n disabled={isLoading}\n />\n {fieldErrors.email && <p className=\"text-destructive text-xs\">{fieldErrors.email}</p>}\n </div>\n\n <div className=\"flex flex-col gap-1.5\">\n <div className=\"flex items-center justify-between\">\n <Label htmlFor={passwordId}>Mật khẩu</Label>\n {onForgotPassword && (\n <Button type=\"button\" variant=\"link\" size=\"sm\" className=\"h-auto p-0 text-xs\" onClick={onForgotPassword}>\n Quên mật khẩu?\n </Button>\n )}\n </div>\n <div className=\"relative\">\n <Input\n id={passwordId}\n type={showPassword ? 'text' : 'password'}\n autoComplete=\"current-password\"\n placeholder=\"••••••••\"\n value={password}\n onChange={e => setPassword(e.target.value)}\n aria-invalid={!!fieldErrors.password}\n disabled={isLoading}\n className=\"pr-10\"\n />\n <button\n type=\"button\"\n className=\"absolute inset-y-0 right-0 flex items-center px-3 text-muted-foreground hover:text-foreground\"\n onMouseDown={e => {\n e.preventDefault();\n setShowPassword(v => !v);\n }}\n aria-label={showPassword ? 'Ẩn mật khẩu' : 'Hiện mật khẩu'}\n >\n {showPassword ? <EyeOff size={16} /> : <Eye size={16} />}\n </button>\n </div>\n {fieldErrors.password && <p className=\"text-destructive text-xs\">{fieldErrors.password}</p>}\n </div>\n\n <Button type=\"submit\" isLoading={isLoading} className=\"w-full\">\n Đăng nhập\n </Button>\n </form>\n\n {onRegister && (\n <div className=\"flex justify-center gap-1 text-muted-foreground text-sm\">\n <span>Chưa có tài khoản?</span>\n <Button variant=\"link\" size=\"sm\" className=\"h-auto p-0\" onClick={onRegister}>\n Đăng ký\n </Button>\n </div>\n )}\n </DialogContent>\n </Dialog>\n );\n};\n"],"mappings":"weAkCA,MAAM,EAAcA,EAAAA,EAAE,OAAO,CAC3B,MAAOA,EAAAA,EAAE,QAAQ,CAAC,IAAI,EAAG,sBAAsB,CAAC,MAAM,qBAAqB,CAC3E,SAAUA,EAAAA,EAAE,QAAQ,CAAC,IAAI,EAAG,yBAAyB,CACtD,CAAC,CAoBW,GAAa,CACxB,OACA,eACA,UACA,mBACA,aACA,YAAY,GACZ,eACA,QAAQ,YACR,WAAW,gCACS,CACpB,IAAM,GAAA,EAAA,EAAA,QAAiB,CACjB,GAAA,EAAA,EAAA,QAAoB,CACpB,CAAC,EAAO,IAAA,EAAA,EAAA,UAAqB,GAAG,CAChC,CAAC,EAAU,IAAA,EAAA,EAAA,UAAwB,GAAG,CACtC,CAAC,EAAc,IAAA,EAAA,EAAA,UAA4B,GAAM,CACjD,CAAC,EAAa,IAAA,EAAA,EAAA,UAAkE,EAAE,CAAC,CAczF,OACE,EAAA,EAAA,KAACC,EAAAA,EAAAA,CAAa,OAAoB,yBAChC,EAAA,EAAA,MAACC,EAAAA,EAAAA,CAAc,UAAU,kVACvB,EAAA,EAAA,MAACC,EAAAA,EAAAA,CAAAA,SAAAA,EACC,EAAA,EAAA,KAACC,EAAAA,EAAAA,CAAAA,SAAa,EAAA,CAAoB,EAClC,EAAA,EAAA,KAACC,EAAAA,EAAAA,CAAAA,SAAmB,EAAA,CAA6B,CAAA,CAAA,CACpC,EAEf,EAAA,EAAA,MAAC,OAAA,CAAK,SApBS,KAAO,IAAwC,CAClE,EAAE,gBAAgB,CAClB,IAAM,EAAS,EAAY,UAAU,CAAE,QAAO,WAAU,CAAC,CACzD,GAAI,CAAC,EAAO,QAAS,CACnB,IAAM,EAAS,EAAO,MAAM,SAAS,CAAC,YACtC,EAAe,CAAE,MAAO,EAAO,QAAQ,GAAI,SAAU,EAAO,WAAW,GAAI,CAAC,CAC5E,OAEF,EAAe,EAAE,CAAC,CAClB,MAAM,EAAQ,EAAO,EAAS,EAWI,WAAA,GAAW,UAAU,gCAChD,IACC,EAAA,EAAA,KAACC,EAAAA,EAAAA,CAAM,QAAQ,wBACb,EAAA,EAAA,KAACC,EAAAA,EAAAA,CAAAA,SAAkB,EAAA,CAAgC,EAC7C,EAGV,EAAA,EAAA,MAAC,MAAA,CAAI,UAAU,mCACb,EAAA,EAAA,KAACC,EAAAA,EAAAA,CAAM,QAAS,WAAS,SAAa,EACtC,EAAA,EAAA,KAACC,EAAAA,EAAAA,CACC,GAAI,EACJ,KAAK,QACL,aAAa,QACb,YAAY,kBACZ,MAAO,EACP,SAAU,GAAK,EAAS,EAAE,OAAO,MAAM,CACvC,eAAc,CAAC,CAAC,EAAY,MAC5B,SAAU,GACV,CACD,EAAY,QAAS,EAAA,EAAA,KAAC,IAAA,CAAE,UAAU,oCAA4B,EAAY,OAAU,GACjF,EAEN,EAAA,EAAA,MAAC,MAAA,CAAI,UAAU,mCACb,EAAA,EAAA,MAAC,MAAA,CAAI,UAAU,+CACb,EAAA,EAAA,KAACD,EAAAA,EAAAA,CAAM,QAAS,WAAY,YAAgB,CAC3C,IACC,EAAA,EAAA,KAACE,EAAAA,EAAAA,CAAO,KAAK,SAAS,QAAQ,OAAO,KAAK,KAAK,UAAU,qBAAqB,QAAS,WAAkB,kBAEhG,CAAA,EAEP,EACN,EAAA,EAAA,MAAC,MAAA,CAAI,UAAU,sBACb,EAAA,EAAA,KAACD,EAAAA,EAAAA,CACC,GAAI,EACJ,KAAM,EAAe,OAAS,WAC9B,aAAa,mBACb,YAAY,WACZ,MAAO,EACP,SAAU,GAAK,EAAY,EAAE,OAAO,MAAM,CAC1C,eAAc,CAAC,CAAC,EAAY,SAC5B,SAAU,EACV,UAAU,SACV,EACF,EAAA,EAAA,KAAC,SAAA,CACC,KAAK,SACL,UAAU,gGACV,YAAa,GAAK,CAChB,EAAE,gBAAgB,CAClB,EAAgB,GAAK,CAAC,EAAE,EAE1B,aAAY,EAAe,cAAgB,yBAE1C,GAAe,EAAA,EAAA,KAACE,EAAAA,OAAAA,CAAO,KAAM,GAAA,CAAM,EAAG,EAAA,EAAA,KAACC,EAAAA,IAAAA,CAAI,KAAM,GAAA,CAAM,EACjD,CAAA,EACL,CACL,EAAY,WAAY,EAAA,EAAA,KAAC,IAAA,CAAE,UAAU,oCAA4B,EAAY,UAAa,GACvF,EAEN,EAAA,EAAA,KAACF,EAAAA,EAAAA,CAAO,KAAK,SAAoB,YAAW,UAAU,kBAAS,aAEtD,GACJ,CAEN,IACC,EAAA,EAAA,MAAC,MAAA,CAAI,UAAU,qEACb,EAAA,EAAA,KAAC,OAAA,CAAA,SAAK,qBAAA,CAAyB,EAC/B,EAAA,EAAA,KAACA,EAAAA,EAAAA,CAAO,QAAQ,OAAO,KAAK,KAAK,UAAU,aAAa,QAAS,WAAY,WAEpE,CAAA,EACL,GAEM,EACT"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react39 from "react";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/pages/LoginPage.d.ts
|
|
4
4
|
interface LoginPageProps {
|
|
@@ -49,7 +49,7 @@ declare const LoginPage: ({
|
|
|
49
49
|
errorMessage,
|
|
50
50
|
title,
|
|
51
51
|
subtitle
|
|
52
|
-
}: LoginPageProps) =>
|
|
52
|
+
}: LoginPageProps) => react39.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
54
|
export { LoginPage, LoginPageProps };
|
|
55
55
|
//# sourceMappingURL=LoginPage.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react35 from "react";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/pages/LoginPage.d.ts
|
|
4
4
|
interface LoginPageProps {
|
|
@@ -49,7 +49,7 @@ declare const LoginPage: ({
|
|
|
49
49
|
errorMessage,
|
|
50
50
|
title,
|
|
51
51
|
subtitle
|
|
52
|
-
}: LoginPageProps) =>
|
|
52
|
+
}: LoginPageProps) => react35.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
54
|
export { LoginPage, LoginPageProps };
|
|
55
55
|
//# sourceMappingURL=LoginPage.d.mts.map
|