@customafk/lunas-ui 0.0.81 → 0.0.83

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.
Files changed (171) hide show
  1. package/dist/{button-D6hzitQh.d.cts → button-BRh46Vhx.d.cts} +4 -4
  2. package/dist/{button-DKcU4dim.d.ts → button-DIPXcr_W.d.ts} +6 -6
  3. package/dist/{command-KnD1dAzj.d.ts → command-D3-KujCH.d.cts} +12 -12
  4. package/dist/{command-BCHEIInv.d.cts → command-D3q0OaKb.d.ts} +12 -12
  5. package/dist/data-display/empty.d.cts +2 -2
  6. package/dist/data-display/statistic.d.cts +2 -2
  7. package/dist/data-display/statistic.d.ts +2 -2
  8. package/dist/{dialog-MCM90IpD.d.cts → dialog-BWtARDnm.d.ts} +12 -12
  9. package/dist/{dialog-lKVaxcfs.d.ts → dialog-D5Oj_FUV.d.cts} +12 -12
  10. package/dist/dialogs/detail-dialog/component/sidebar.d.cts +28 -28
  11. package/dist/dialogs/detail-dialog/component/sidebar.d.ts +28 -28
  12. package/dist/dialogs/form-dialog.cjs +1 -1
  13. package/dist/dialogs/form-dialog.d.cts +2 -2
  14. package/dist/dialogs/form-dialog.d.ts +2 -2
  15. package/dist/dialogs/form-dialog.js +1 -1
  16. package/dist/drawer-BT0osH1O.js +2 -0
  17. package/dist/{drawer-DRC3X2-U.js.map → drawer-BT0osH1O.js.map} +1 -1
  18. package/dist/drawer-C3vvvU_D.cjs +2 -0
  19. package/dist/{drawer-70cz3SPB.cjs.map → drawer-C3vvvU_D.cjs.map} +1 -1
  20. package/dist/forms/combobox-field.d.cts +2 -2
  21. package/dist/forms/combobox-field.d.ts +2 -2
  22. package/dist/forms/date-field.d.cts +2 -2
  23. package/dist/forms/date-field.d.ts +2 -2
  24. package/dist/forms/form-wrapper.d.cts +2 -2
  25. package/dist/forms/form-wrapper.d.ts +2 -2
  26. package/dist/forms/multi-select-field.d.cts +2 -2
  27. package/dist/forms/multi-select-field.d.ts +2 -2
  28. package/dist/forms/number-field.d.cts +2 -2
  29. package/dist/forms/number-field.d.ts +2 -2
  30. package/dist/forms/password-field.d.cts +2 -2
  31. package/dist/forms/password-field.d.ts +2 -2
  32. package/dist/forms/select-field.d.cts +2 -2
  33. package/dist/forms/select-field.d.ts +2 -2
  34. package/dist/forms/switch-field.d.cts +2 -2
  35. package/dist/forms/switch-field.d.ts +2 -2
  36. package/dist/forms/text-field.d.cts +2 -2
  37. package/dist/forms/text-field.d.ts +2 -2
  38. package/dist/forms/textarea-field.d.cts +2 -2
  39. package/dist/forms/textarea-field.d.ts +2 -2
  40. package/dist/{input-EieQSty7.d.cts → input-B_LC16rD.d.cts} +3 -3
  41. package/dist/{input-BbxBfHG5.d.ts → input-D0_NPJao.d.ts} +3 -3
  42. package/dist/{label-Bfd7VFEe.d.cts → label-BxG8BdVi.d.cts} +3 -3
  43. package/dist/label-CGASn94e.d.ts +11 -0
  44. package/dist/layouts/app-layout/index.d.cts +28 -28
  45. package/dist/layouts/app-layout/index.d.ts +28 -28
  46. package/dist/layouts/flex.d.cts +4 -4
  47. package/dist/layouts/service-layout/index.cjs +1 -1
  48. package/dist/layouts/service-layout/index.d.cts +15 -15
  49. package/dist/layouts/service-layout/index.d.ts +15 -15
  50. package/dist/layouts/service-layout/index.js +1 -1
  51. package/dist/{separator-LYCmJYd5.d.ts → separator-3Tqllk9s.d.ts} +3 -3
  52. package/dist/{separator-BBWO-2XW.d.cts → separator-Dxf2wDl5.d.cts} +3 -3
  53. package/dist/table/index.d.cts +2 -2
  54. package/dist/{toggle-DaTd0CKm.d.ts → toggle-BNUNuWcd.d.ts} +3 -3
  55. package/dist/{toggle-Bhwgx-y_.d.cts → toggle-C7HTp7p1.d.cts} +3 -3
  56. package/dist/{tooltip-B3mrjes6.d.cts → tooltip-BNynBa87.d.cts} +6 -6
  57. package/dist/{tooltip-IMUjBDRr.d.ts → tooltip-Clkt7Knc.d.ts} +6 -6
  58. package/dist/typography/paragraph.d.cts +2 -2
  59. package/dist/typography/paragraph.d.ts +2 -2
  60. package/dist/typography/title.d.cts +2 -2
  61. package/dist/typography/title.d.ts +2 -2
  62. package/dist/ui/alert-dialog.d.cts +12 -12
  63. package/dist/ui/alert-dialog.d.ts +12 -12
  64. package/dist/ui/alert.d.cts +5 -5
  65. package/dist/ui/alert.d.ts +7 -7
  66. package/dist/ui/aspect-ratio.d.cts +2 -2
  67. package/dist/ui/aspect-ratio.d.ts +2 -2
  68. package/dist/ui/avatar.d.cts +4 -4
  69. package/dist/ui/avatar.d.ts +4 -4
  70. package/dist/ui/badge.d.cts +2 -2
  71. package/dist/ui/badge.d.ts +4 -4
  72. package/dist/ui/breadcrumb.d.cts +8 -8
  73. package/dist/ui/breadcrumb.d.ts +8 -8
  74. package/dist/ui/button-group.d.cts +7 -7
  75. package/dist/ui/button-group.d.ts +7 -7
  76. package/dist/ui/button.d.cts +1 -1
  77. package/dist/ui/button.d.ts +1 -1
  78. package/dist/ui/calendar.d.cts +4 -4
  79. package/dist/ui/calendar.d.ts +4 -4
  80. package/dist/ui/card.d.cts +8 -8
  81. package/dist/ui/card.d.ts +8 -8
  82. package/dist/ui/carousel.d.cts +7 -7
  83. package/dist/ui/carousel.d.ts +7 -7
  84. package/dist/ui/collapsible.d.cts +4 -4
  85. package/dist/ui/collapsible.d.ts +4 -4
  86. package/dist/ui/command.d.cts +2 -2
  87. package/dist/ui/command.d.ts +2 -2
  88. package/dist/ui/context-menu.d.cts +16 -16
  89. package/dist/ui/context-menu.d.ts +16 -16
  90. package/dist/ui/dialog.d.cts +1 -1
  91. package/dist/ui/dialog.d.ts +1 -1
  92. package/dist/ui/drawer.cjs +1 -0
  93. package/dist/ui/drawer.d.cts +44 -0
  94. package/dist/ui/drawer.d.ts +44 -0
  95. package/dist/ui/drawer.js +1 -0
  96. package/dist/ui/dropdown-menu.d.cts +16 -16
  97. package/dist/ui/dropdown-menu.d.ts +16 -16
  98. package/dist/ui/empty.d.cts +9 -9
  99. package/dist/ui/empty.d.ts +9 -9
  100. package/dist/ui/field.d.cts +14 -14
  101. package/dist/ui/field.d.ts +14 -14
  102. package/dist/ui/file-uploader.d.cts +2 -2
  103. package/dist/ui/file-uploader.d.ts +2 -2
  104. package/dist/ui/form.d.cts +7 -7
  105. package/dist/ui/form.d.ts +7 -7
  106. package/dist/ui/hover-card.d.cts +4 -4
  107. package/dist/ui/hover-card.d.ts +4 -4
  108. package/dist/ui/input-otp.d.cts +5 -5
  109. package/dist/ui/input-otp.d.ts +5 -5
  110. package/dist/ui/input.d.cts +1 -1
  111. package/dist/ui/input.d.ts +1 -1
  112. package/dist/ui/inputs/search-input.d.cts +3 -3
  113. package/dist/ui/inputs/search-input.d.ts +3 -3
  114. package/dist/ui/item.d.cts +15 -15
  115. package/dist/ui/item.d.ts +15 -15
  116. package/dist/ui/label.d.cts +1 -1
  117. package/dist/ui/label.d.ts +1 -1
  118. package/dist/ui/menubar.d.cts +17 -17
  119. package/dist/ui/menubar.d.ts +17 -17
  120. package/dist/ui/multi-select.d.cts +2 -2
  121. package/dist/ui/multi-select.d.ts +2 -2
  122. package/dist/ui/navigation-menu.d.cts +9 -9
  123. package/dist/ui/navigation-menu.d.ts +11 -11
  124. package/dist/ui/pagination.d.cts +9 -9
  125. package/dist/ui/pagination.d.ts +9 -9
  126. package/dist/ui/popover.d.cts +5 -5
  127. package/dist/ui/popover.d.ts +5 -5
  128. package/dist/ui/progress.d.cts +2 -2
  129. package/dist/ui/progress.d.ts +2 -2
  130. package/dist/ui/radio-group.d.cts +3 -3
  131. package/dist/ui/radio-group.d.ts +3 -3
  132. package/dist/ui/resizable.d.cts +4 -4
  133. package/dist/ui/resizable.d.ts +4 -4
  134. package/dist/ui/scroll-area.d.cts +3 -3
  135. package/dist/ui/scroll-area.d.ts +3 -3
  136. package/dist/ui/select.d.cts +11 -11
  137. package/dist/ui/select.d.ts +11 -11
  138. package/dist/ui/separator.d.cts +1 -1
  139. package/dist/ui/separator.d.ts +1 -1
  140. package/dist/ui/sheet.d.cts +9 -9
  141. package/dist/ui/sheet.d.ts +9 -9
  142. package/dist/ui/sidebar.cjs +1 -1
  143. package/dist/ui/sidebar.d.cts +28 -28
  144. package/dist/ui/sidebar.d.ts +30 -30
  145. package/dist/ui/sidebar.js +1 -1
  146. package/dist/ui/skeleton.d.cts +2 -2
  147. package/dist/ui/skeleton.d.ts +2 -2
  148. package/dist/ui/slider.d.cts +2 -2
  149. package/dist/ui/slider.d.ts +2 -2
  150. package/dist/ui/sonner.d.cts +2 -2
  151. package/dist/ui/sonner.d.ts +2 -2
  152. package/dist/ui/spinner.d.cts +2 -2
  153. package/dist/ui/spinner.d.ts +2 -2
  154. package/dist/ui/switch.d.cts +2 -2
  155. package/dist/ui/switch.d.ts +2 -2
  156. package/dist/ui/table.d.cts +9 -9
  157. package/dist/ui/table.d.ts +9 -9
  158. package/dist/ui/tabs.d.cts +5 -5
  159. package/dist/ui/tabs.d.ts +5 -5
  160. package/dist/ui/textarea.d.cts +2 -2
  161. package/dist/ui/textarea.d.ts +2 -2
  162. package/dist/ui/toggle-group.d.cts +4 -4
  163. package/dist/ui/toggle-group.d.ts +4 -4
  164. package/dist/ui/toggle.d.cts +1 -1
  165. package/dist/ui/toggle.d.ts +1 -1
  166. package/dist/ui/tooltip.d.cts +1 -1
  167. package/dist/ui/tooltip.d.ts +1 -1
  168. package/package.json +9 -1
  169. package/dist/drawer-70cz3SPB.cjs +0 -2
  170. package/dist/drawer-DRC3X2-U.js +0 -2
  171. package/dist/label-DlBHUp00.d.ts +0 -11
@@ -1,11 +1,11 @@
1
- import "../../button-DKcU4dim.js";
2
- import "../../separator-LYCmJYd5.js";
3
- import { TooltipContent } from "../../tooltip-IMUjBDRr.js";
1
+ import "../../button-DIPXcr_W.js";
2
+ import "../../separator-3Tqllk9s.js";
3
+ import { TooltipContent } from "../../tooltip-Clkt7Knc.js";
4
4
  import "react";
5
- import * as react_jsx_runtime311 from "react/jsx-runtime";
5
+ import * as react_jsx_runtime321 from "react/jsx-runtime";
6
6
  import { VariantProps } from "class-variance-authority";
7
7
  import { CredentialResponse } from "@react-oauth/google";
8
- import * as class_variance_authority_types12 from "class-variance-authority/types";
8
+ import * as class_variance_authority_types13 from "class-variance-authority/types";
9
9
 
10
10
  //#region packages/components/layouts/service-layout/hooks/use-service-layout.d.ts
11
11
  type Cart = {
@@ -43,43 +43,43 @@ declare function ServiceLayoutSidebar$1({
43
43
  side?: 'left' | 'right';
44
44
  variant?: 'sidebar' | 'floating' | 'inset';
45
45
  collapsible?: 'offcanvas' | 'icon' | 'none';
46
- }): react_jsx_runtime311.JSX.Element;
46
+ }): react_jsx_runtime321.JSX.Element;
47
47
  declare function ServiceLayoutSidebarFooter({
48
48
  className,
49
49
  children,
50
50
  ...props
51
- }: React.ComponentProps<'div'>): react_jsx_runtime311.JSX.Element;
51
+ }: React.ComponentProps<'div'>): react_jsx_runtime321.JSX.Element;
52
52
  declare function ServiceLayoutSidebarContent({
53
53
  className,
54
54
  ...props
55
- }: React.ComponentProps<'div'>): react_jsx_runtime311.JSX.Element;
55
+ }: React.ComponentProps<'div'>): react_jsx_runtime321.JSX.Element;
56
56
  declare function ServiceLayoutSidebarGroup({
57
57
  className,
58
58
  ...props
59
- }: React.ComponentProps<'div'>): react_jsx_runtime311.JSX.Element;
59
+ }: React.ComponentProps<'div'>): react_jsx_runtime321.JSX.Element;
60
60
  declare function ServiceLayoutSidebarGroupLabel({
61
61
  className,
62
62
  asChild,
63
63
  ...props
64
64
  }: React.ComponentProps<'div'> & {
65
65
  asChild?: boolean;
66
- }): react_jsx_runtime311.JSX.Element;
66
+ }): react_jsx_runtime321.JSX.Element;
67
67
  declare function ServiceLayoutSidebarGroupContent({
68
68
  className,
69
69
  ...props
70
- }: React.ComponentProps<'div'>): react_jsx_runtime311.JSX.Element;
70
+ }: React.ComponentProps<'div'>): react_jsx_runtime321.JSX.Element;
71
71
  declare function ServiceLayoutSidebarMenu({
72
72
  className,
73
73
  ...props
74
- }: React.ComponentProps<'ul'>): react_jsx_runtime311.JSX.Element;
74
+ }: React.ComponentProps<'ul'>): react_jsx_runtime321.JSX.Element;
75
75
  declare function ServiceLayoutSidebarMenuItem({
76
76
  className,
77
77
  ...props
78
- }: React.ComponentProps<'li'>): react_jsx_runtime311.JSX.Element;
78
+ }: React.ComponentProps<'li'>): react_jsx_runtime321.JSX.Element;
79
79
  declare const sidebarMenuButtonVariants: (props?: ({
80
80
  variant?: "default" | "outline" | null | undefined;
81
81
  size?: "sm" | "lg" | "default" | null | undefined;
82
- } & class_variance_authority_types12.ClassProp) | undefined) => string;
82
+ } & class_variance_authority_types13.ClassProp) | undefined) => string;
83
83
  declare function ServiceLayoutSidebarMenuButton({
84
84
  asChild,
85
85
  isActive,
@@ -92,7 +92,7 @@ declare function ServiceLayoutSidebarMenuButton({
92
92
  asChild?: boolean;
93
93
  isActive?: boolean;
94
94
  tooltip?: string | React.ComponentProps<typeof TooltipContent>;
95
- } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime311.JSX.Element;
95
+ } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime321.JSX.Element;
96
96
  //#endregion
97
97
  //#region packages/components/layouts/service-layout/service-layout.d.ts
98
98
  declare const ServiceLayoutProvider: React.FC<React.PropsWithChildren<ServiceLayoutContextProps>>;
@@ -1,2 +1,2 @@
1
- import"../../dist-BgkALM7U.js";import"../../button-variants-Y1GTBayz.js";import{Button as e}from"../../button-CYsnwc1-.js";import{Card as t,CardContent as n}from"../../card-DOv2mZU8.js";import"../../skeleton-ByN-MrQO.js";import{Image as r}from"../../image-CiQhTTyt.js";import{Tooltip as i,TooltipContent as a,TooltipProvider as o,TooltipTrigger as s}from"../../tooltip-BTrjCwd8.js";import{Avatar as c,AvatarFallback as l,AvatarImage as u}from"../../avatar-iX5Jhj8E.js";import{Separator as d}from"../../separator-D17HxS2f.js";import{Dialog as f,DialogContent as p,DialogFooter as m,DialogHeader as h,DialogTitle as g}from"../../dialog-BAlJ18xi.js";import{Drawer as _,DrawerContent as v,DrawerDescription as y,DrawerFooter as b,DrawerHeader as x,DrawerTitle as S}from"../../drawer-DRC3X2-U.js";import{Input as ee}from"../../input-BStypTnq.js";import{DropdownMenu as C,DropdownMenuContent as w,DropdownMenuItem as te,DropdownMenuLabel as ne,DropdownMenuSeparator as re,DropdownMenuTrigger as ie}from"../../dropdown-menu-DtEPAmMV.js";import{ScrollArea as ae}from"../../scroll-area-DFENklE1.js";import{Sheet as oe,SheetContent as se,SheetHeader as ce,SheetTitle as le,SheetTrigger as ue}from"../../sheet-BhyEuJtA.js";import{Tabs as T,TabsContent as E,TabsList as de,TabsTrigger as D}from"../../tabs-BVCzl3vY.js";import{LockIcon as fe,LogInIcon as O,LogOutIcon as k,MenuIcon as pe,Minus as me,Plus as he,ShoppingBag as ge,ShoppingBasketIcon as _e,ShoppingCartIcon as A,Trash2 as ve,UserIcon as ye}from"lucide-react";import{cn as j}from"@customafk/react-toolkit/utils";import{createContext as M,useCallback as N,useContext as P,useEffect as F,useMemo as be,useState as I}from"react";import{Fragment as xe,jsx as L,jsxs as R}from"react/jsx-runtime";import{cva as Se}from"class-variance-authority";import{Slot as z}from"radix-ui";import{useMediaQuery as B}from"@customafk/react-toolkit/hooks/useMediaQuery";import{GoogleLogin as V}from"@react-oauth/google";import{useIsMobile as Ce}from"@customafk/react-toolkit/hooks/useMobile";import{useDebounceCallback as we}from"@customafk/react-toolkit/hooks/useDebounceCallback";const H=M(null),U=()=>{let e=P(H);if(!e)throw Error(`useServiceLayoutContext must be used within a ServiceLayoutProvider`);return e},Te=({type:i,productUuid:a,variantUuid:o,productName:s,variantName:c,imageUrl:l,optionValue:u,optionTitle:d,quantity:f,price:p})=>{let{onDeletingCart:m,onUpdatingCart:h}=U(),[g,_]=I(f),[v,y]=I(!1),b=N(()=>{h?.(o,g,i)},[h,o,g,i]),x=we(b,500),S=N(e=>{e<1&&(e=1),e>99&&(e=99),_(e)},[]),C=N(async()=>{y(!0),await m?.(a),y(!1)},[a,m]);return F(()=>(g!==f&&x(),()=>{x.cancel()}),[g,f,x]),R(t,{className:`border-border-weak relative mb-3 overflow-x-auto border p-4 shadow-none`,children:[v&&L(`div`,{className:`bg-muted-muted/80 absolute inset-0 z-10 flex items-center justify-center`,children:L(`div`,{className:`loader-dots`})}),R(n,{className:`p-0`,children:[R(e,{variant:`ghost`,size:`icon`,color:`muted`,disabled:v,className:`text-text-positive-weak absolute top-2 right-2 z-10`,onClick:C,children:[L(ve,{className:`h-4 w-4`}),L(`span`,{className:`sr-only`,children:`Remove item`})]}),R(`div`,{className:`flex gap-3`,children:[L(`div`,{className:`relative size-20 flex-shrink-0`,children:l?L(r,{src:l,alt:s,className:`rounded-md border-none shadow-xs`,width:80,height:80}):L(`div`,{className:`bg-muted text-muted-foreground flex size-full items-center justify-center text-xs`,children:`No image`})}),R(`div`,{className:`flex flex-1 flex-col`,children:[L(`div`,{className:`flex justify-between`,children:L(`h3`,{className:`text-text-positive line-clamp-1 text-sm font-medium`,children:s})}),R(`p`,{className:`text-text-positive-weak mb-1 text-xs`,children:[c,d&&` - ${d}: ${u}`]}),R(`div`,{className:`mt-auto flex items-center justify-between`,children:[R(`div`,{className:`flex items-center space-x-1`,children:[L(`button`,{disabled:g<=1,className:`border-border active:bg-muted-muted flex size-6 cursor-pointer items-center justify-center rounded-full border transition-all disabled:opacity-60`,onClick:()=>S(g-1),children:L(me,{size:12})}),L(ee,{value:g,onChange:e=>S(parseInt(e.target.value||`1`)),className:`border-border h-6.5 w-14 rounded-md border p-1 text-center text-sm`,min:1}),L(`button`,{disabled:g>=99,className:`border-border active:bg-muted-muted flex size-6 cursor-pointer items-center justify-center rounded-full border transition-all disabled:opacity-60`,onClick:()=>S(g+1),children:L(he,{size:12})})]}),R(`div`,{className:`text-sm font-semibold`,children:[(p*g).toLocaleString(),` ₫`]})]})]})]})]})]})},W=({items:t=[],cartType:n,className:r})=>{let i=t.reduce((e,t)=>e+t.price*t.quantity,0);return t.length===0?R(`div`,{className:j(`bg-muted-muted flex size-full max-h-80 flex-col items-center justify-center rounded-lg p-8`,r),children:[L(`div`,{className:`text-text-positive-weak bg-card shadow-card mb-4 flex size-20 items-center justify-center rounded-full text-5xl`,children:L(_e,{size:42,strokeWidth:1})}),R(`div`,{className:`flex flex-col space-y-1`,children:[L(`p`,{className:`text-text-positive text-center text-base font-semibold`,children:`Giỏ hàng trống`}),L(`p`,{className:`text-text-positive-weak mb-4 text-center text-sm`,children:n===`in_stock`?`Thêm sản phẩm có sẵn vào giỏ hàng của bạn!`:`Thêm sản phẩm đặt trước vào giỏ hàng của bạn!`})]})]}):R(`div`,{className:j(`flex h-full flex-col space-y-4 overflow-y-auto`,r),children:[L(ae,{className:`h-full flex-1`,children:t.map(e=>L(Te,{...e,type:n},`${e.productUuid}-${e.variantUuid}`))}),R(`div`,{className:`flex-0 space-y-3`,children:[R(`div`,{className:`flex justify-between`,children:[L(`span`,{className:`text-text-positive-weak text-sm`,children:`Tạm tính:`}),R(`span`,{className:`text-sm`,children:[i.toLocaleString(),` ₫`]})]}),L(d,{}),R(`div`,{className:`flex justify-between`,children:[L(`span`,{className:`text-text-positive font-medium`,children:`Tổng cộng:`}),R(`span`,{className:`text-lg font-semibold`,children:[i.toLocaleString(),` ₫`]})]}),L(e,{className:`mt-2 w-full`,children:`Thanh toán ngay`}),n===`pre_order`&&L(`p`,{className:`text-text-positive-weak text-center text-xs italic`,children:`* Sản phẩm đặt trước sẽ được giao sau khi có hàng`})]})]})},G=M(null),K=()=>{let e=P(G);if(!e)throw Error(`useSidebar must be used within a SidebarProvider.`);return e};function q({defaultOpen:e=!0,open:t,onOpenChange:n,className:r,style:i,children:a,...s}){let c=Ce(),[l,u]=I(!1),[d,f]=I(e),p=t??d,m=N(e=>{let t=typeof e==`function`?e(p):e;n?n(t):f(t),document.cookie=`sidebar_state=${t}; path=/; max-age=604800`},[n,p]),h=N(()=>c?u(e=>!e):m(e=>!e),[c,m,u]);F(()=>{let e=e=>{e.key===`b`&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),h())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[h]);let g=p?`expanded`:`collapsed`,_=be(()=>({state:g,isMobile:c,toggleSidebar:h,open:p,setOpen:m,openMobile:l,setOpenMobile:u}),[g,p,m,c,l,u,h]);return L(G.Provider,{value:_,children:L(o,{delayDuration:0,children:L(`div`,{"data-slot":`sidebar-wrapper`,style:{"--sidebar-width":`16rem`,"--sidebar-width-icon":`3rem`,...i},className:j(`group/sidebar-wrapper`,`has-data-[variant=inset]:bg-sidebar`,`flex h-dvh w-full`,r),...s,children:a})})})}function Ee({side:e=`left`,variant:t=`sidebar`,collapsible:n=`offcanvas`,className:r,children:i,...a}){let{isMobile:o,state:s,openMobile:c,setOpenMobile:l}=K();return n===`none`?L(`aside`,{"data-slot":`sidebar`,className:j(`bg-sidebar`,`text-sidebar-foreground`,`flex h-full w-(--sidebar-width) flex-col`,r),...a,children:i}):o?L(_,{direction:`left`,open:c,onOpenChange:l,children:R(v,{"data-sidebar":`sidebar`,"data-slot":`sidebar`,"data-mobile":`true`,className:`bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 data-[vaul-drawer-direction=left]:w-3xs data-[vaul-drawer-direction=left]:sm:max-w-3xs [&>button]:hidden`,style:{"--sidebar-width":`16rem`},children:[R(x,{className:`sr-only`,children:[L(S,{children:`Sidebar`}),L(y,{children:`Displays the mobile sidebar.`})]}),R(`div`,{className:`flex size-full flex-col`,children:[R(`div`,{className:`border-border-weak flex flex-0 items-center gap-x-2 border-b p-2 pr-4`,children:[L(J,{}),L(`div`,{className:`bg-sidebar-primary text-sidebar-primary-foreground ml-2 flex aspect-square size-8 items-center justify-center rounded-lg`,children:L(A,{size:20})}),R(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[L(`span`,{className:`truncate font-medium`,children:`Lunas Store`}),L(`span`,{className:`truncate text-xs`,children:`Established 2023`})]})]}),L(`div`,{className:`flex flex-1 flex-col p-2`,children:i})]})]})}):R(`aside`,{className:`group peer text-sidebar-foreground bg-card hidden md:block`,"data-state":s,"data-collapsible":s===`collapsed`?n:``,"data-variant":t,"data-side":e,"data-slot":`sidebar`,children:[L(`div`,{"data-slot":`sidebar-gap`,className:j(`relative`,`bg-transparent`,`transition-[width] duration-200 ease-linear`,`h-(--header-height) w-(--sidebar-width)`,`sm:h-[calc(var(--header-height) + 0.5rem)]`,`group-data-[collapsible=offcanvas]:w-0`,`group-data-[side=right]:rotate-180`,t===`floating`||t===`inset`?`group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon)`)}),L(`div`,{"data-slot":`sidebar-container`,className:j(`hidden md:flex`,`shadow-nav fixed inset-y-0 top-14 z-10`,`h-[calc(100dvh-3.5rem)] w-(--sidebar-width)`,`transition-[left,right,width] duration-200 ease-linear`,e===`left`&&`left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]`,e===`right`&&`right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]`,t===`floating`||t===`inset`?`p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l`,r),...a,children:L(`div`,{"data-sidebar":`sidebar`,"data-slot":`sidebar-inner`,className:j(`flex size-full flex-col`,`group-data-[variant=floating]:rounded-lg`,`group-data-[variant=floating]:border`,`group-data-[variant=floating]:border-sidebar-border`,`group-data-[variant=floating]:shadow-sm`),children:i})})]})}function J({className:t,onClick:n,...r}){let{toggleSidebar:i}=K();return R(e,{"data-sidebar":`trigger`,"data-slot":`sidebar-trigger`,variant:`ghost`,color:`muted`,size:`icon`,className:j(`size-10 rounded-full`,t),onClick:e=>{n?.(e),i()},...r,children:[L(pe,{className:`!size-6`}),L(`span`,{className:`sr-only`,children:`Toggle Sidebar`})]})}function De({className:e,children:t,...n}){return R(`main`,{"data-slot":`sidebar-inset`,className:j(`relative flex w-full flex-1 flex-col`,e),...n,children:[L(`div`,{className:`h-(--header-height) w-full sm:h-[calc(var(--header-height)_+_0.5rem)]`}),L(`div`,{className:j(`flex-1 inset-shadow-sm`),children:t})]})}function Oe({className:e,children:t,...n}){let{open:r}=K(),{onLogout:i}=U();return R(`div`,{"data-slot":`sidebar-footer`,"data-sidebar":`footer`,className:j(`flex flex-col gap-2`,e),...n,children:[t,R(Y,{children:[L(X,{children:R(Z,{className:`border-border border`,onClick:i,children:[L(k,{className:`text-text-positive-weak`}),`Đăng xuất`]})}),r&&L(X,{className:`border-t-border mt-2 border-t`,children:L(`p`,{className:`text-muted-foreground pt-2 text-center text-xs`,children:`Copyright © 2025, Lunas.`})})]})]})}function ke({className:e,...t}){return L(`div`,{"data-slot":`sidebar-content`,"data-sidebar":`content`,className:j(`flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden`,e),...t})}function Ae({className:e,...t}){return L(`div`,{"data-slot":`sidebar-group`,"data-sidebar":`group`,className:j(`relative flex w-full min-w-0 flex-col`,e),...t})}function je({className:e,asChild:t=!1,...n}){let r=t?z.Slot:`div`;return L(r,{"data-slot":`sidebar-group-label`,"data-sidebar":`group-label`,className:j(`flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2`,`text-sidebar-foreground/70`,`ring-sidebar-ring`,`[&>svg]:size-4`,`[&>svg]:shrink-0`,`group-data-[collapsible=icon]:-mt-8`,`group-data-[collapsible=icon]:opacity-0`,e),...n})}function Me({className:e,...t}){return L(`div`,{"data-slot":`sidebar-group-content`,"data-sidebar":`group-content`,className:j(`w-full text-sm`,e),...t})}function Y({className:e,...t}){return L(`ul`,{"data-slot":`sidebar-menu`,"data-sidebar":`menu`,className:j(`flex w-full min-w-0 flex-col gap-1`,e),...t})}function X({className:e,...t}){return L(`li`,{"data-slot":`sidebar-menu-item`,"data-sidebar":`menu-item`,className:j(`group/menu-item relative`,e),...t})}const Ne=Se(`peer/menu-button.cursor-pointer.flex w-full items-center gap-2.overflow-hidden rounded-md p-2 outline-hidden.text-left truncate.transition-[color,width,height,padding].hover:bg-sidebar-accent.hover:text-sidebar-accent-foreground.active:bg-sidebar-accent.active:text-sidebar-accent-foreground.disabled:pointer-events-none.disabled:opacity-50.group-has-data-[sidebar=menu-action]/menu-item:pr-8.aria-disabled:pointer-events-none.aria-disabled:opacity-50.data-[active=true]:bg-sidebar-primary-muted.data-[active=true]:font-medium.data-[active=true]:text-sidebar-primary.data-[state=open]:hover:bg-sidebar-accent.data-[state=open]:hover:text-sidebar-accent-foreground.group-data-[collapsible=icon]:size-12!.group-data-[collapsible=icon]:p-3!.group-data-[collapsible=icon]:gap-3!.[&>svg]:size-6.[&>svg]:shrink-0.[&>span:last-child]:truncate`.split(`.`),{variants:{variant:{default:`hover:bg-sidebar-accent/60 hover:text-sidebar-accent-foreground/80`,outline:`bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]`},size:{default:`h-10 text-sm`,sm:`h-7 text-xs`,lg:`h-12 text-sm group-data-[collapsible=icon]:p-0!`}},defaultVariants:{variant:`default`,size:`default`}});function Z({asChild:e=!1,isActive:t=!1,variant:n=`default`,size:r=`default`,tooltip:o,className:c,...l}){let u=e?z.Slot:`button`,{isMobile:d,state:f}=K(),p=L(u,{"data-slot":`sidebar-menu-button`,"data-sidebar":`menu-button`,"data-size":r,"data-active":t,className:j(Ne({variant:n,size:r}),c),...l});return o?(typeof o==`string`&&(o={children:o}),R(i,{children:[L(s,{asChild:!0,children:p}),L(a,{side:`right`,align:`center`,hidden:f!==`collapsed`||d,...o})]})):p}const Pe=({isLoggedIn:e=!1,username:t,email:n,inStockCarts:r,orderedCarts:i,onGoogleLoginSuccess:a,onUpdatingCart:o,onDeletingCart:s,onLogout:c,children:l})=>L(H.Provider,{value:{isLoggedIn:e,username:t,email:n,inStockCarts:r,orderedCarts:i,onGoogleLoginSuccess:a,onUpdatingCart:o,onDeletingCart:s,onLogout:c},children:l}),Fe=({children:e})=>L(q,{children:e}),Q=({userName:t=`Keith Kennedy`,userEmail:n=`k.kennedy@originui.com`,onLogout:r})=>R(C,{children:[L(ie,{asChild:!0,children:L(e,{size:`icon`,variant:`ghost`,color:`secondary`,className:`size-10 rounded-full`,children:R(c,{className:`size-10`,children:[L(u,{}),L(l,{className:`bg-muted-muted size-full`,children:L(ye,{})})]})})}),R(w,{align:`end`,className:`max-w-64`,children:[R(ne,{className:`flex min-w-0 flex-col`,children:[L(`span`,{className:`text-text-positive truncate text-sm font-medium`,children:t}),L(`span`,{className:`text-text-positive-weak truncate text-xs font-normal`,children:n})]}),L(re,{}),R(te,{onClick:r,children:[L(k,{size:16,"aria-hidden":`true`}),L(`span`,{className:`text-text-positive`,children:`Logout`})]})]})]}),$=()=>{let{inStockCarts:t=[],orderedCarts:n=[]}=U(),r=t.length,i=n.length,a=r+i;return R(oe,{children:[L(ue,{asChild:!0,children:R(e,{size:`icon`,variant:`ghost`,color:`secondary`,className:`relative size-10 rounded-full`,children:[L(A,{}),a>0&&L(`span`,{className:`bg-primary text-primary-foreground absolute -top-1 -right-1 flex h-4 min-w-4 items-center justify-center rounded-full px-1 text-xs font-bold`,children:a})]})}),R(se,{className:`w-[95vw] sm:max-w-md`,children:[L(ce,{className:`border-border-weak flex-0 border-b pb-3`,children:R(le,{className:`flex items-center gap-2`,children:[L(ge,{className:`h-5 w-5`}),L(`span`,{children:`Giỏ hàng của bạn`}),a>0&&R(`span`,{className:`text-text-positive-weak text-sm font-normal`,children:[`(`,a,` sản phẩm)`]})]})}),R(T,{defaultValue:i>0?`pre_order`:`in_stock`,className:`h-full flex-1 overflow-y-auto p-4 pt-0`,children:[R(de,{className:`w-full flex-0`,children:[R(D,{value:`in_stock`,className:`relative`,children:[`Có sẵn`,r>0&&R(`span`,{children:[`(`,r,`)`]})]}),R(D,{value:`pre_order`,className:`relative`,children:[`Đặt trước`,i>0&&R(`span`,{children:[`(`,i,`)`]})]})]}),L(E,{value:`pre_order`,className:`flex-1 overflow-y-auto`,children:L(W,{items:n,cartType:`pre_order`})}),L(E,{value:`in_stock`,className:`flex-1 overflow-y-auto`,children:L(W,{items:t,cartType:`in_stock`})})]})]})]})},Ie=()=>{let{isLoggedIn:t,username:n,email:r,onGoogleLoginSuccess:i,onLogout:a}=U(),o=B(`(min-width: 640px)`),[s,c]=I(!1);return R(`header`,{className:j(`bg-card`,`h-(--header-height)`,`sm:h-[calc(var(--header-height)_+_0.5rem)] sm:px-4 sm:pr-6`,`absolute inset-x-0 top-0 z-20 gap-2 px-2 pr-4.5`,`shadow-nav flex items-center`,`transition-[width,height] ease-linear`),children:[t&&L(J,{}),R(`div`,{className:`flex gap-x-2 sm:ml-2.5`,children:[L(`div`,{className:`bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg`,children:L(A,{size:20})}),R(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[L(`span`,{className:`truncate font-medium`,children:`Lunas Store`}),L(`span`,{className:`truncate text-xs`,children:`Established 2023`})]})]}),R(`div`,{className:`flex flex-1 items-center justify-end gap-x-2`,children:[!t&&R(e,{className:`w-8 sm:w-fit`,onClick:()=>c(!0),children:[L(O,{}),L(`span`,{className:`sr-only sm:not-sr-only`,children:`Đăng nhập`})]}),t&&R(xe,{children:[L(Q,{userName:n,userEmail:r,onLogout:a}),L(d,{orientation:`vertical`,className:`min-h-6 w-px`}),L($,{})]})]}),o&&L(f,{open:s,onOpenChange:c,children:R(p,{showCloseButton:!1,className:`flex flex-col gap-0 border-none p-0 sm:max-w-sm`,children:[L(h,{className:`flex-0 gap-2 p-6`,children:L(g,{className:`text-center`,children:`Chào mừng bạn đến với Lunas Store!`})}),L(`div`,{className:`flex flex-1 flex-col`,children:L(`main`,{className:`bg-card size-full flex-1 p-4 pt-0`,children:R(`div`,{className:`flex flex-col items-center gap-y-1`,children:[L(`p`,{className:`text-text-positive-weak text-sm`,children:`Đăng nhập với Google`}),L(V,{size:`large`,theme:`outline`,width:240,onSuccess:async e=>{!e.clientId||!e.credential||!e.select_by||await i?.(e)}})]})})}),L(m,{className:`p-2`})]})}),!o&&L(_,{open:s,onOpenChange:c,children:R(v,{children:[L(x,{className:`text-left`,children:L(S,{children:`Chào mừng bạn đến với Lunas Store!`})}),L(`div`,{className:`flex flex-1 flex-col`,children:L(`main`,{className:`flex size-full flex-1 flex-col p-4 pt-0`,children:R(`div`,{className:`flex flex-col items-center gap-y-1`,children:[L(`p`,{className:`text-text-positive-weak text-sm`,children:`Đăng nhập với Google`}),L(V,{size:`large`,theme:`outline`,onSuccess:async e=>{!e.clientId||!e.credential||!e.select_by||await i?.(e)}})]})})}),L(b,{})]})})]})},Le=({children:e,...t})=>{let{isLoggedIn:n}=U();return n?L(Ee,{variant:`inset`,collapsible:`icon`,...t,children:e}):null},Re=({children:t})=>{let{isLoggedIn:n,onGoogleLoginSuccess:r}=U(),i=B(`(min-width: 640px)`),[a,o]=I(!1);return n?L(De,{children:L(`section`,{className:`relative size-full`,children:L(`div`,{className:`absolute inset-0 flex flex-col`,children:t})})}):L(`div`,{className:`size-full p-4 pt-[calc(var(--header-height)+1.5rem)]`,children:R(`div`,{className:`bg-card shadow-card flex size-full flex-col items-center justify-center gap-6 rounded-lg p-8 text-center`,children:[L(`div`,{className:`bg-muted-foreground/10 flex size-20 items-center justify-center rounded-full`,children:L(fe,{className:`text-primary size-10`})}),R(`div`,{className:`flex max-w-md flex-col gap-2`,children:[L(`h2`,{className:`text-2xl font-semibold`,children:`Bạn chưa đăng nhập`}),L(`p`,{className:`text-text-positive-weak`,children:`Đăng nhập để khám phá đầy đủ các tính năng của Lunas Store và truy cập vào tài khoản của bạn.`})]}),R(e,{size:`lg`,className:`gap-2`,onClick:()=>o(!0),children:[L(O,{size:18}),L(`span`,{children:`Đăng nhập ngay`})]}),i&&L(f,{open:a,onOpenChange:o,children:R(p,{showCloseButton:!1,className:`flex flex-col gap-0 border-none p-0 sm:max-w-sm`,children:[L(h,{className:`flex-0 gap-2 p-6`,children:L(g,{className:`text-center`,children:`Chào mừng bạn đến với Lunas Store!`})}),L(`div`,{className:`flex flex-1 flex-col`,children:L(`main`,{className:`bg-card size-full flex-1 p-4 pt-0`,children:R(`div`,{className:`flex flex-col items-center gap-y-1`,children:[L(`p`,{className:`text-text-positive-weak text-sm`,children:`Đăng nhập với Google`}),L(V,{size:`large`,theme:`outline`,width:240,onSuccess:async e=>{!e.clientId||!e.credential||!e.select_by||(await r?.(e),o(!1))}})]})})}),L(m,{className:`p-2`})]})}),!i&&L(_,{open:a,onOpenChange:o,children:R(v,{children:[L(x,{className:`text-left`,children:L(S,{children:`Chào mừng bạn đến với Lunas Store!`})}),L(`div`,{className:`flex flex-1 flex-col`,children:L(`main`,{className:`flex size-full flex-1 flex-col p-4 pt-0`,children:R(`div`,{className:`flex flex-col items-center gap-y-1`,children:[L(`p`,{className:`text-text-positive-weak text-sm`,children:`Đăng nhập với Google`}),L(V,{size:`large`,theme:`outline`,onSuccess:async e=>{!e.clientId||!e.credential||!e.select_by||(await r?.(e),o(!1))}})]})})}),L(b,{})]})})]})})},ze=({className:e,children:t})=>L(`div`,{"data-slot":`main-header`,className:j(`flex-0 snap-start`,e),children:t}),Be=({className:e,children:t})=>L(`div`,{"data-slot":`main-content`,className:j(`flex w-full flex-1 flex-col gap-4 overflow-y-auto px-2 sm:px-4`,e),children:t}),Ve=({className:e,children:t})=>L(`div`,{"data-slot":`main-footer`,className:j(`border-border-weak hidden w-full flex-0 border-t pt-2 sm:flex`,e),children:t}),He=({children:e,className:t})=>L(`div`,{"data-slot":`main-group`,className:j(`flex size-full flex-col gap-4`,t),children:e}),Ue=({className:e,children:t})=>L(`div`,{"data-slot":`main-group-content`,className:j(`bg-card shadow-card max-w-8xl size-full flex-1 rounded-md p-4`,e),children:t});export{$ as ServiceLayoutCartInfo,Ie as ServiceLayoutHeader,Re as ServiceLayoutMain,Be as ServiceLayoutMainContent,Ve as ServiceLayoutMainFooter,He as ServiceLayoutMainGroup,Ue as ServiceLayoutMainGroupContent,ze as ServiceLayoutMainHeader,Pe as ServiceLayoutProvider,Le as ServiceLayoutSidebar,ke as ServiceLayoutSidebarContent,Oe as ServiceLayoutSidebarFooter,Ae as ServiceLayoutSidebarGroup,Me as ServiceLayoutSidebarGroupContent,je as ServiceLayoutSidebarGroupLabel,Y as ServiceLayoutSidebarMenu,Z as ServiceLayoutSidebarMenuButton,X as ServiceLayoutSidebarMenuItem,Q as ServiceLayoutUserInfo,Fe as ServiceLayoutWrapper};
1
+ import"../../dist-BgkALM7U.js";import"../../button-variants-Y1GTBayz.js";import{Button as e}from"../../button-CYsnwc1-.js";import{Card as t,CardContent as n}from"../../card-DOv2mZU8.js";import"../../skeleton-ByN-MrQO.js";import{Image as r}from"../../image-CiQhTTyt.js";import{Tooltip as i,TooltipContent as a,TooltipProvider as o,TooltipTrigger as s}from"../../tooltip-BTrjCwd8.js";import{Avatar as c,AvatarFallback as l,AvatarImage as u}from"../../avatar-iX5Jhj8E.js";import{Separator as d}from"../../separator-D17HxS2f.js";import{Dialog as f,DialogContent as p,DialogFooter as m,DialogHeader as h,DialogTitle as g}from"../../dialog-BAlJ18xi.js";import{Drawer as _,DrawerContent as v,DrawerDescription as y,DrawerFooter as b,DrawerHeader as x,DrawerTitle as S}from"../../drawer-BT0osH1O.js";import{Input as ee}from"../../input-BStypTnq.js";import{DropdownMenu as C,DropdownMenuContent as w,DropdownMenuItem as te,DropdownMenuLabel as ne,DropdownMenuSeparator as re,DropdownMenuTrigger as ie}from"../../dropdown-menu-DtEPAmMV.js";import{ScrollArea as ae}from"../../scroll-area-DFENklE1.js";import{Sheet as oe,SheetContent as se,SheetHeader as ce,SheetTitle as le,SheetTrigger as ue}from"../../sheet-BhyEuJtA.js";import{Tabs as T,TabsContent as E,TabsList as de,TabsTrigger as D}from"../../tabs-BVCzl3vY.js";import{LockIcon as fe,LogInIcon as O,LogOutIcon as k,MenuIcon as pe,Minus as me,Plus as he,ShoppingBag as ge,ShoppingBasketIcon as _e,ShoppingCartIcon as A,Trash2 as ve,UserIcon as ye}from"lucide-react";import{cn as j}from"@customafk/react-toolkit/utils";import{createContext as M,useCallback as N,useContext as P,useEffect as F,useMemo as be,useState as I}from"react";import{Fragment as xe,jsx as L,jsxs as R}from"react/jsx-runtime";import{cva as Se}from"class-variance-authority";import{Slot as z}from"radix-ui";import{useMediaQuery as B}from"@customafk/react-toolkit/hooks/useMediaQuery";import{GoogleLogin as V}from"@react-oauth/google";import{useIsMobile as Ce}from"@customafk/react-toolkit/hooks/useMobile";import{useDebounceCallback as we}from"@customafk/react-toolkit/hooks/useDebounceCallback";const H=M(null),U=()=>{let e=P(H);if(!e)throw Error(`useServiceLayoutContext must be used within a ServiceLayoutProvider`);return e},Te=({type:i,productUuid:a,variantUuid:o,productName:s,variantName:c,imageUrl:l,optionValue:u,optionTitle:d,quantity:f,price:p})=>{let{onDeletingCart:m,onUpdatingCart:h}=U(),[g,_]=I(f),[v,y]=I(!1),b=N(()=>{h?.(o,g,i)},[h,o,g,i]),x=we(b,500),S=N(e=>{e<1&&(e=1),e>99&&(e=99),_(e)},[]),C=N(async()=>{y(!0),await m?.(a),y(!1)},[a,m]);return F(()=>(g!==f&&x(),()=>{x.cancel()}),[g,f,x]),R(t,{className:`border-border-weak relative mb-3 overflow-x-auto border p-4 shadow-none`,children:[v&&L(`div`,{className:`bg-muted-muted/80 absolute inset-0 z-10 flex items-center justify-center`,children:L(`div`,{className:`loader-dots`})}),R(n,{className:`p-0`,children:[R(e,{variant:`ghost`,size:`icon`,color:`muted`,disabled:v,className:`text-text-positive-weak absolute top-2 right-2 z-10`,onClick:C,children:[L(ve,{className:`h-4 w-4`}),L(`span`,{className:`sr-only`,children:`Remove item`})]}),R(`div`,{className:`flex gap-3`,children:[L(`div`,{className:`relative size-20 flex-shrink-0`,children:l?L(r,{src:l,alt:s,className:`rounded-md border-none shadow-xs`,width:80,height:80}):L(`div`,{className:`bg-muted text-muted-foreground flex size-full items-center justify-center text-xs`,children:`No image`})}),R(`div`,{className:`flex flex-1 flex-col`,children:[L(`div`,{className:`flex justify-between`,children:L(`h3`,{className:`text-text-positive line-clamp-1 text-sm font-medium`,children:s})}),R(`p`,{className:`text-text-positive-weak mb-1 text-xs`,children:[c,d&&` - ${d}: ${u}`]}),R(`div`,{className:`mt-auto flex items-center justify-between`,children:[R(`div`,{className:`flex items-center space-x-1`,children:[L(`button`,{disabled:g<=1,className:`border-border active:bg-muted-muted flex size-6 cursor-pointer items-center justify-center rounded-full border transition-all disabled:opacity-60`,onClick:()=>S(g-1),children:L(me,{size:12})}),L(ee,{value:g,onChange:e=>S(parseInt(e.target.value||`1`)),className:`border-border h-6.5 w-14 rounded-md border p-1 text-center text-sm`,min:1}),L(`button`,{disabled:g>=99,className:`border-border active:bg-muted-muted flex size-6 cursor-pointer items-center justify-center rounded-full border transition-all disabled:opacity-60`,onClick:()=>S(g+1),children:L(he,{size:12})})]}),R(`div`,{className:`text-sm font-semibold`,children:[(p*g).toLocaleString(),` ₫`]})]})]})]})]})]})},W=({items:t=[],cartType:n,className:r})=>{let i=t.reduce((e,t)=>e+t.price*t.quantity,0);return t.length===0?R(`div`,{className:j(`bg-muted-muted flex size-full max-h-80 flex-col items-center justify-center rounded-lg p-8`,r),children:[L(`div`,{className:`text-text-positive-weak bg-card shadow-card mb-4 flex size-20 items-center justify-center rounded-full text-5xl`,children:L(_e,{size:42,strokeWidth:1})}),R(`div`,{className:`flex flex-col space-y-1`,children:[L(`p`,{className:`text-text-positive text-center text-base font-semibold`,children:`Giỏ hàng trống`}),L(`p`,{className:`text-text-positive-weak mb-4 text-center text-sm`,children:n===`in_stock`?`Thêm sản phẩm có sẵn vào giỏ hàng của bạn!`:`Thêm sản phẩm đặt trước vào giỏ hàng của bạn!`})]})]}):R(`div`,{className:j(`flex h-full flex-col space-y-4 overflow-y-auto`,r),children:[L(ae,{className:`h-full flex-1`,children:t.map(e=>L(Te,{...e,type:n},`${e.productUuid}-${e.variantUuid}`))}),R(`div`,{className:`flex-0 space-y-3`,children:[R(`div`,{className:`flex justify-between`,children:[L(`span`,{className:`text-text-positive-weak text-sm`,children:`Tạm tính:`}),R(`span`,{className:`text-sm`,children:[i.toLocaleString(),` ₫`]})]}),L(d,{}),R(`div`,{className:`flex justify-between`,children:[L(`span`,{className:`text-text-positive font-medium`,children:`Tổng cộng:`}),R(`span`,{className:`text-lg font-semibold`,children:[i.toLocaleString(),` ₫`]})]}),L(e,{className:`mt-2 w-full`,children:`Thanh toán ngay`}),n===`pre_order`&&L(`p`,{className:`text-text-positive-weak text-center text-xs italic`,children:`* Sản phẩm đặt trước sẽ được giao sau khi có hàng`})]})]})},G=M(null),K=()=>{let e=P(G);if(!e)throw Error(`useSidebar must be used within a SidebarProvider.`);return e};function q({defaultOpen:e=!0,open:t,onOpenChange:n,className:r,style:i,children:a,...s}){let c=Ce(),[l,u]=I(!1),[d,f]=I(e),p=t??d,m=N(e=>{let t=typeof e==`function`?e(p):e;n?n(t):f(t),document.cookie=`sidebar_state=${t}; path=/; max-age=604800`},[n,p]),h=N(()=>c?u(e=>!e):m(e=>!e),[c,m,u]);F(()=>{let e=e=>{e.key===`b`&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),h())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[h]);let g=p?`expanded`:`collapsed`,_=be(()=>({state:g,isMobile:c,toggleSidebar:h,open:p,setOpen:m,openMobile:l,setOpenMobile:u}),[g,p,m,c,l,u,h]);return L(G.Provider,{value:_,children:L(o,{delayDuration:0,children:L(`div`,{"data-slot":`sidebar-wrapper`,style:{"--sidebar-width":`16rem`,"--sidebar-width-icon":`3rem`,...i},className:j(`group/sidebar-wrapper`,`has-data-[variant=inset]:bg-sidebar`,`flex h-dvh w-full`,r),...s,children:a})})})}function Ee({side:e=`left`,variant:t=`sidebar`,collapsible:n=`offcanvas`,className:r,children:i,...a}){let{isMobile:o,state:s,openMobile:c,setOpenMobile:l}=K();return n===`none`?L(`aside`,{"data-slot":`sidebar`,className:j(`bg-sidebar`,`text-sidebar-foreground`,`flex h-full w-(--sidebar-width) flex-col`,r),...a,children:i}):o?L(_,{direction:`left`,open:c,onOpenChange:l,children:R(v,{"data-sidebar":`sidebar`,"data-slot":`sidebar`,"data-mobile":`true`,className:`bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 data-[vaul-drawer-direction=left]:w-3xs data-[vaul-drawer-direction=left]:sm:max-w-3xs [&>button]:hidden`,style:{"--sidebar-width":`16rem`},children:[R(x,{className:`sr-only`,children:[L(S,{children:`Sidebar`}),L(y,{children:`Displays the mobile sidebar.`})]}),R(`div`,{className:`flex size-full flex-col`,children:[R(`div`,{className:`border-border-weak flex flex-0 items-center gap-x-2 border-b p-2 pr-4`,children:[L(J,{}),L(`div`,{className:`bg-sidebar-primary text-sidebar-primary-foreground ml-2 flex aspect-square size-8 items-center justify-center rounded-lg`,children:L(A,{size:20})}),R(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[L(`span`,{className:`truncate font-medium`,children:`Lunas Store`}),L(`span`,{className:`truncate text-xs`,children:`Established 2023`})]})]}),L(`div`,{className:`flex flex-1 flex-col p-2`,children:i})]})]})}):R(`aside`,{className:`group peer text-sidebar-foreground bg-card hidden md:block`,"data-state":s,"data-collapsible":s===`collapsed`?n:``,"data-variant":t,"data-side":e,"data-slot":`sidebar`,children:[L(`div`,{"data-slot":`sidebar-gap`,className:j(`relative`,`bg-transparent`,`transition-[width] duration-200 ease-linear`,`h-(--header-height) w-(--sidebar-width)`,`sm:h-[calc(var(--header-height) + 0.5rem)]`,`group-data-[collapsible=offcanvas]:w-0`,`group-data-[side=right]:rotate-180`,t===`floating`||t===`inset`?`group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon)`)}),L(`div`,{"data-slot":`sidebar-container`,className:j(`hidden md:flex`,`shadow-nav fixed inset-y-0 top-14 z-10`,`h-[calc(100dvh-3.5rem)] w-(--sidebar-width)`,`transition-[left,right,width] duration-200 ease-linear`,e===`left`&&`left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]`,e===`right`&&`right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]`,t===`floating`||t===`inset`?`p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l`,r),...a,children:L(`div`,{"data-sidebar":`sidebar`,"data-slot":`sidebar-inner`,className:j(`flex size-full flex-col`,`group-data-[variant=floating]:rounded-lg`,`group-data-[variant=floating]:border`,`group-data-[variant=floating]:border-sidebar-border`,`group-data-[variant=floating]:shadow-sm`),children:i})})]})}function J({className:t,onClick:n,...r}){let{toggleSidebar:i}=K();return R(e,{"data-sidebar":`trigger`,"data-slot":`sidebar-trigger`,variant:`ghost`,color:`muted`,size:`icon`,className:j(`size-10 rounded-full`,t),onClick:e=>{n?.(e),i()},...r,children:[L(pe,{className:`!size-6`}),L(`span`,{className:`sr-only`,children:`Toggle Sidebar`})]})}function De({className:e,children:t,...n}){return R(`main`,{"data-slot":`sidebar-inset`,className:j(`relative flex w-full flex-1 flex-col`,e),...n,children:[L(`div`,{className:`h-(--header-height) w-full sm:h-[calc(var(--header-height)_+_0.5rem)]`}),L(`div`,{className:j(`flex-1 inset-shadow-sm`),children:t})]})}function Oe({className:e,children:t,...n}){let{open:r}=K(),{onLogout:i}=U();return R(`div`,{"data-slot":`sidebar-footer`,"data-sidebar":`footer`,className:j(`flex flex-col gap-2`,e),...n,children:[t,R(Y,{children:[L(X,{children:R(Z,{className:`border-border border`,onClick:i,children:[L(k,{className:`text-text-positive-weak`}),`Đăng xuất`]})}),r&&L(X,{className:`border-t-border mt-2 border-t`,children:L(`p`,{className:`text-muted-foreground pt-2 text-center text-xs`,children:`Copyright © 2025, Lunas.`})})]})]})}function ke({className:e,...t}){return L(`div`,{"data-slot":`sidebar-content`,"data-sidebar":`content`,className:j(`flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden`,e),...t})}function Ae({className:e,...t}){return L(`div`,{"data-slot":`sidebar-group`,"data-sidebar":`group`,className:j(`relative flex w-full min-w-0 flex-col`,e),...t})}function je({className:e,asChild:t=!1,...n}){let r=t?z.Slot:`div`;return L(r,{"data-slot":`sidebar-group-label`,"data-sidebar":`group-label`,className:j(`flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2`,`text-sidebar-foreground/70`,`ring-sidebar-ring`,`[&>svg]:size-4`,`[&>svg]:shrink-0`,`group-data-[collapsible=icon]:-mt-8`,`group-data-[collapsible=icon]:opacity-0`,e),...n})}function Me({className:e,...t}){return L(`div`,{"data-slot":`sidebar-group-content`,"data-sidebar":`group-content`,className:j(`w-full text-sm`,e),...t})}function Y({className:e,...t}){return L(`ul`,{"data-slot":`sidebar-menu`,"data-sidebar":`menu`,className:j(`flex w-full min-w-0 flex-col gap-1`,e),...t})}function X({className:e,...t}){return L(`li`,{"data-slot":`sidebar-menu-item`,"data-sidebar":`menu-item`,className:j(`group/menu-item relative`,e),...t})}const Ne=Se(`peer/menu-button.cursor-pointer.flex w-full items-center gap-2.overflow-hidden rounded-md p-2 outline-hidden.text-left truncate.transition-[color,width,height,padding].hover:bg-sidebar-accent.hover:text-sidebar-accent-foreground.active:bg-sidebar-accent.active:text-sidebar-accent-foreground.disabled:pointer-events-none.disabled:opacity-50.group-has-data-[sidebar=menu-action]/menu-item:pr-8.aria-disabled:pointer-events-none.aria-disabled:opacity-50.data-[active=true]:bg-sidebar-primary-muted.data-[active=true]:font-medium.data-[active=true]:text-sidebar-primary.data-[state=open]:hover:bg-sidebar-accent.data-[state=open]:hover:text-sidebar-accent-foreground.group-data-[collapsible=icon]:size-12!.group-data-[collapsible=icon]:p-3!.group-data-[collapsible=icon]:gap-3!.[&>svg]:size-6.[&>svg]:shrink-0.[&>span:last-child]:truncate`.split(`.`),{variants:{variant:{default:`hover:bg-sidebar-accent/60 hover:text-sidebar-accent-foreground/80`,outline:`bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]`},size:{default:`h-10 text-sm`,sm:`h-7 text-xs`,lg:`h-12 text-sm group-data-[collapsible=icon]:p-0!`}},defaultVariants:{variant:`default`,size:`default`}});function Z({asChild:e=!1,isActive:t=!1,variant:n=`default`,size:r=`default`,tooltip:o,className:c,...l}){let u=e?z.Slot:`button`,{isMobile:d,state:f}=K(),p=L(u,{"data-slot":`sidebar-menu-button`,"data-sidebar":`menu-button`,"data-size":r,"data-active":t,className:j(Ne({variant:n,size:r}),c),...l});return o?(typeof o==`string`&&(o={children:o}),R(i,{children:[L(s,{asChild:!0,children:p}),L(a,{side:`right`,align:`center`,hidden:f!==`collapsed`||d,...o})]})):p}const Pe=({isLoggedIn:e=!1,username:t,email:n,inStockCarts:r,orderedCarts:i,onGoogleLoginSuccess:a,onUpdatingCart:o,onDeletingCart:s,onLogout:c,children:l})=>L(H.Provider,{value:{isLoggedIn:e,username:t,email:n,inStockCarts:r,orderedCarts:i,onGoogleLoginSuccess:a,onUpdatingCart:o,onDeletingCart:s,onLogout:c},children:l}),Fe=({children:e})=>L(q,{children:e}),Q=({userName:t=`Keith Kennedy`,userEmail:n=`k.kennedy@originui.com`,onLogout:r})=>R(C,{children:[L(ie,{asChild:!0,children:L(e,{size:`icon`,variant:`ghost`,color:`secondary`,className:`size-10 rounded-full`,children:R(c,{className:`size-10`,children:[L(u,{}),L(l,{className:`bg-muted-muted size-full`,children:L(ye,{})})]})})}),R(w,{align:`end`,className:`max-w-64`,children:[R(ne,{className:`flex min-w-0 flex-col`,children:[L(`span`,{className:`text-text-positive truncate text-sm font-medium`,children:t}),L(`span`,{className:`text-text-positive-weak truncate text-xs font-normal`,children:n})]}),L(re,{}),R(te,{onClick:r,children:[L(k,{size:16,"aria-hidden":`true`}),L(`span`,{className:`text-text-positive`,children:`Logout`})]})]})]}),$=()=>{let{inStockCarts:t=[],orderedCarts:n=[]}=U(),r=t.length,i=n.length,a=r+i;return R(oe,{children:[L(ue,{asChild:!0,children:R(e,{size:`icon`,variant:`ghost`,color:`secondary`,className:`relative size-10 rounded-full`,children:[L(A,{}),a>0&&L(`span`,{className:`bg-primary text-primary-foreground absolute -top-1 -right-1 flex h-4 min-w-4 items-center justify-center rounded-full px-1 text-xs font-bold`,children:a})]})}),R(se,{className:`w-[95vw] sm:max-w-md`,children:[L(ce,{className:`border-border-weak flex-0 border-b pb-3`,children:R(le,{className:`flex items-center gap-2`,children:[L(ge,{className:`h-5 w-5`}),L(`span`,{children:`Giỏ hàng của bạn`}),a>0&&R(`span`,{className:`text-text-positive-weak text-sm font-normal`,children:[`(`,a,` sản phẩm)`]})]})}),R(T,{defaultValue:i>0?`pre_order`:`in_stock`,className:`h-full flex-1 overflow-y-auto p-4 pt-0`,children:[R(de,{className:`w-full flex-0`,children:[R(D,{value:`in_stock`,className:`relative`,children:[`Có sẵn`,r>0&&R(`span`,{children:[`(`,r,`)`]})]}),R(D,{value:`pre_order`,className:`relative`,children:[`Đặt trước`,i>0&&R(`span`,{children:[`(`,i,`)`]})]})]}),L(E,{value:`pre_order`,className:`flex-1 overflow-y-auto`,children:L(W,{items:n,cartType:`pre_order`})}),L(E,{value:`in_stock`,className:`flex-1 overflow-y-auto`,children:L(W,{items:t,cartType:`in_stock`})})]})]})]})},Ie=()=>{let{isLoggedIn:t,username:n,email:r,onGoogleLoginSuccess:i,onLogout:a}=U(),o=B(`(min-width: 640px)`),[s,c]=I(!1);return R(`header`,{className:j(`bg-card`,`h-(--header-height)`,`sm:h-[calc(var(--header-height)_+_0.5rem)] sm:px-4 sm:pr-6`,`absolute inset-x-0 top-0 z-20 gap-2 px-2 pr-4.5`,`shadow-nav flex items-center`,`transition-[width,height] ease-linear`),children:[t&&L(J,{}),R(`div`,{className:`flex gap-x-2 sm:ml-2.5`,children:[L(`div`,{className:`bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg`,children:L(A,{size:20})}),R(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[L(`span`,{className:`truncate font-medium`,children:`Lunas Store`}),L(`span`,{className:`truncate text-xs`,children:`Established 2023`})]})]}),R(`div`,{className:`flex flex-1 items-center justify-end gap-x-2`,children:[!t&&R(e,{className:`w-8 sm:w-fit`,onClick:()=>c(!0),children:[L(O,{}),L(`span`,{className:`sr-only sm:not-sr-only`,children:`Đăng nhập`})]}),t&&R(xe,{children:[L(Q,{userName:n,userEmail:r,onLogout:a}),L(d,{orientation:`vertical`,className:`min-h-6 w-px`}),L($,{})]})]}),o&&L(f,{open:s,onOpenChange:c,children:R(p,{showCloseButton:!1,className:`flex flex-col gap-0 border-none p-0 sm:max-w-sm`,children:[L(h,{className:`flex-0 gap-2 p-6`,children:L(g,{className:`text-center`,children:`Chào mừng bạn đến với Lunas Store!`})}),L(`div`,{className:`flex flex-1 flex-col`,children:L(`main`,{className:`bg-card size-full flex-1 p-4 pt-0`,children:R(`div`,{className:`flex flex-col items-center gap-y-1`,children:[L(`p`,{className:`text-text-positive-weak text-sm`,children:`Đăng nhập với Google`}),L(V,{size:`large`,theme:`outline`,width:240,onSuccess:async e=>{!e.clientId||!e.credential||!e.select_by||await i?.(e)}})]})})}),L(m,{className:`p-2`})]})}),!o&&L(_,{open:s,onOpenChange:c,children:R(v,{children:[L(x,{className:`text-left`,children:L(S,{children:`Chào mừng bạn đến với Lunas Store!`})}),L(`div`,{className:`flex flex-1 flex-col`,children:L(`main`,{className:`flex size-full flex-1 flex-col p-4 pt-0`,children:R(`div`,{className:`flex flex-col items-center gap-y-1`,children:[L(`p`,{className:`text-text-positive-weak text-sm`,children:`Đăng nhập với Google`}),L(V,{size:`large`,theme:`outline`,onSuccess:async e=>{!e.clientId||!e.credential||!e.select_by||await i?.(e)}})]})})}),L(b,{})]})})]})},Le=({children:e,...t})=>{let{isLoggedIn:n}=U();return n?L(Ee,{variant:`inset`,collapsible:`icon`,...t,children:e}):null},Re=({children:t})=>{let{isLoggedIn:n,onGoogleLoginSuccess:r}=U(),i=B(`(min-width: 640px)`),[a,o]=I(!1);return n?L(De,{children:L(`section`,{className:`relative size-full`,children:L(`div`,{className:`absolute inset-0 flex flex-col`,children:t})})}):L(`div`,{className:`size-full p-4 pt-[calc(var(--header-height)+1.5rem)]`,children:R(`div`,{className:`bg-card shadow-card flex size-full flex-col items-center justify-center gap-6 rounded-lg p-8 text-center`,children:[L(`div`,{className:`bg-muted-foreground/10 flex size-20 items-center justify-center rounded-full`,children:L(fe,{className:`text-primary size-10`})}),R(`div`,{className:`flex max-w-md flex-col gap-2`,children:[L(`h2`,{className:`text-2xl font-semibold`,children:`Bạn chưa đăng nhập`}),L(`p`,{className:`text-text-positive-weak`,children:`Đăng nhập để khám phá đầy đủ các tính năng của Lunas Store và truy cập vào tài khoản của bạn.`})]}),R(e,{size:`lg`,className:`gap-2`,onClick:()=>o(!0),children:[L(O,{size:18}),L(`span`,{children:`Đăng nhập ngay`})]}),i&&L(f,{open:a,onOpenChange:o,children:R(p,{showCloseButton:!1,className:`flex flex-col gap-0 border-none p-0 sm:max-w-sm`,children:[L(h,{className:`flex-0 gap-2 p-6`,children:L(g,{className:`text-center`,children:`Chào mừng bạn đến với Lunas Store!`})}),L(`div`,{className:`flex flex-1 flex-col`,children:L(`main`,{className:`bg-card size-full flex-1 p-4 pt-0`,children:R(`div`,{className:`flex flex-col items-center gap-y-1`,children:[L(`p`,{className:`text-text-positive-weak text-sm`,children:`Đăng nhập với Google`}),L(V,{size:`large`,theme:`outline`,width:240,onSuccess:async e=>{!e.clientId||!e.credential||!e.select_by||(await r?.(e),o(!1))}})]})})}),L(m,{className:`p-2`})]})}),!i&&L(_,{open:a,onOpenChange:o,children:R(v,{children:[L(x,{className:`text-left`,children:L(S,{children:`Chào mừng bạn đến với Lunas Store!`})}),L(`div`,{className:`flex flex-1 flex-col`,children:L(`main`,{className:`flex size-full flex-1 flex-col p-4 pt-0`,children:R(`div`,{className:`flex flex-col items-center gap-y-1`,children:[L(`p`,{className:`text-text-positive-weak text-sm`,children:`Đăng nhập với Google`}),L(V,{size:`large`,theme:`outline`,onSuccess:async e=>{!e.clientId||!e.credential||!e.select_by||(await r?.(e),o(!1))}})]})})}),L(b,{})]})})]})})},ze=({className:e,children:t})=>L(`div`,{"data-slot":`main-header`,className:j(`flex-0 snap-start`,e),children:t}),Be=({className:e,children:t})=>L(`div`,{"data-slot":`main-content`,className:j(`flex w-full flex-1 flex-col gap-4 overflow-y-auto px-2 sm:px-4`,e),children:t}),Ve=({className:e,children:t})=>L(`div`,{"data-slot":`main-footer`,className:j(`border-border-weak hidden w-full flex-0 border-t pt-2 sm:flex`,e),children:t}),He=({children:e,className:t})=>L(`div`,{"data-slot":`main-group`,className:j(`flex size-full flex-col gap-4`,t),children:e}),Ue=({className:e,children:t})=>L(`div`,{"data-slot":`main-group-content`,className:j(`bg-card shadow-card max-w-8xl size-full flex-1 rounded-md p-4`,e),children:t});export{$ as ServiceLayoutCartInfo,Ie as ServiceLayoutHeader,Re as ServiceLayoutMain,Be as ServiceLayoutMainContent,Ve as ServiceLayoutMainFooter,He as ServiceLayoutMainGroup,Ue as ServiceLayoutMainGroupContent,ze as ServiceLayoutMainHeader,Pe as ServiceLayoutProvider,Le as ServiceLayoutSidebar,ke as ServiceLayoutSidebarContent,Oe as ServiceLayoutSidebarFooter,Ae as ServiceLayoutSidebarGroup,Me as ServiceLayoutSidebarGroupContent,je as ServiceLayoutSidebarGroupLabel,Y as ServiceLayoutSidebarMenu,Z as ServiceLayoutSidebarMenuButton,X as ServiceLayoutSidebarMenuItem,Q as ServiceLayoutUserInfo,Fe as ServiceLayoutWrapper};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime188 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime75 from "react/jsx-runtime";
2
2
  import { Separator } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/separator.d.ts
@@ -7,7 +7,7 @@ declare function Separator$1({
7
7
  orientation,
8
8
  decorative,
9
9
  ...props
10
- }: React.ComponentProps<typeof Separator.Root>): react_jsx_runtime188.JSX.Element;
10
+ }: React.ComponentProps<typeof Separator.Root>): react_jsx_runtime75.JSX.Element;
11
11
  //#endregion
12
12
  export { Separator$1 as Separator };
13
- //# sourceMappingURL=separator-LYCmJYd5.d.ts.map
13
+ //# sourceMappingURL=separator-3Tqllk9s.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime206 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime208 from "react/jsx-runtime";
2
2
  import { Separator } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/separator.d.ts
@@ -7,7 +7,7 @@ declare function Separator$1({
7
7
  orientation,
8
8
  decorative,
9
9
  ...props
10
- }: React.ComponentProps<typeof Separator.Root>): react_jsx_runtime206.JSX.Element;
10
+ }: React.ComponentProps<typeof Separator.Root>): react_jsx_runtime208.JSX.Element;
11
11
  //#endregion
12
12
  export { Separator$1 as Separator };
13
- //# sourceMappingURL=separator-BBWO-2XW.d.cts.map
13
+ //# sourceMappingURL=separator-Dxf2wDl5.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime14 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime33 from "react/jsx-runtime";
2
2
  import { ColumnDef } from "@tanstack/react-table";
3
3
 
4
4
  //#region packages/components/table/index.d.ts
@@ -25,7 +25,7 @@ declare function Table<T extends Record<string, unknown>>({
25
25
  onRefresh,
26
26
  onClickRow,
27
27
  onFetchNextPage
28
- }: Props<T>): react_jsx_runtime14.JSX.Element;
28
+ }: Props<T>): react_jsx_runtime33.JSX.Element;
29
29
  //#endregion
30
30
  export { Table };
31
31
  //# sourceMappingURL=index.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime260 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime270 from "react/jsx-runtime";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import { Toggle } from "radix-ui";
4
4
  import * as class_variance_authority_types8 from "class-variance-authority/types";
@@ -13,7 +13,7 @@ declare function Toggle$1({
13
13
  variant,
14
14
  size,
15
15
  ...props
16
- }: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime260.JSX.Element;
16
+ }: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime270.JSX.Element;
17
17
  //#endregion
18
18
  export { Toggle$1 as Toggle, toggleVariants };
19
- //# sourceMappingURL=toggle-DaTd0CKm.d.ts.map
19
+ //# sourceMappingURL=toggle-BNUNuWcd.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime260 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime274 from "react/jsx-runtime";
2
2
  import * as class_variance_authority_types8 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import { Toggle } from "radix-ui";
@@ -13,7 +13,7 @@ declare function Toggle$1({
13
13
  variant,
14
14
  size,
15
15
  ...props
16
- }: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime260.JSX.Element;
16
+ }: React.ComponentProps<typeof Toggle.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime274.JSX.Element;
17
17
  //#endregion
18
18
  export { Toggle$1 as Toggle, toggleVariants };
19
- //# sourceMappingURL=toggle-Bhwgx-y_.d.cts.map
19
+ //# sourceMappingURL=toggle-C7HTp7p1.d.cts.map
@@ -1,23 +1,23 @@
1
- import * as react_jsx_runtime261 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime270 from "react/jsx-runtime";
2
2
  import { Tooltip } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/tooltip.d.ts
5
5
  declare function TooltipProvider({
6
6
  delayDuration,
7
7
  ...props
8
- }: React.ComponentProps<typeof Tooltip.Provider>): react_jsx_runtime261.JSX.Element;
8
+ }: React.ComponentProps<typeof Tooltip.Provider>): react_jsx_runtime270.JSX.Element;
9
9
  declare function Tooltip$1({
10
10
  ...props
11
- }: React.ComponentProps<typeof Tooltip.Root>): react_jsx_runtime261.JSX.Element;
11
+ }: React.ComponentProps<typeof Tooltip.Root>): react_jsx_runtime270.JSX.Element;
12
12
  declare function TooltipTrigger({
13
13
  ...props
14
- }: React.ComponentProps<typeof Tooltip.Trigger>): react_jsx_runtime261.JSX.Element;
14
+ }: React.ComponentProps<typeof Tooltip.Trigger>): react_jsx_runtime270.JSX.Element;
15
15
  declare function TooltipContent({
16
16
  className,
17
17
  sideOffset,
18
18
  children,
19
19
  ...props
20
- }: React.ComponentProps<typeof Tooltip.Content>): react_jsx_runtime261.JSX.Element;
20
+ }: React.ComponentProps<typeof Tooltip.Content>): react_jsx_runtime270.JSX.Element;
21
21
  //#endregion
22
22
  export { Tooltip$1 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
23
- //# sourceMappingURL=tooltip-B3mrjes6.d.cts.map
23
+ //# sourceMappingURL=tooltip-BNynBa87.d.cts.map
@@ -1,23 +1,23 @@
1
- import * as react_jsx_runtime261 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime272 from "react/jsx-runtime";
2
2
  import { Tooltip } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/tooltip.d.ts
5
5
  declare function TooltipProvider({
6
6
  delayDuration,
7
7
  ...props
8
- }: React.ComponentProps<typeof Tooltip.Provider>): react_jsx_runtime261.JSX.Element;
8
+ }: React.ComponentProps<typeof Tooltip.Provider>): react_jsx_runtime272.JSX.Element;
9
9
  declare function Tooltip$1({
10
10
  ...props
11
- }: React.ComponentProps<typeof Tooltip.Root>): react_jsx_runtime261.JSX.Element;
11
+ }: React.ComponentProps<typeof Tooltip.Root>): react_jsx_runtime272.JSX.Element;
12
12
  declare function TooltipTrigger({
13
13
  ...props
14
- }: React.ComponentProps<typeof Tooltip.Trigger>): react_jsx_runtime261.JSX.Element;
14
+ }: React.ComponentProps<typeof Tooltip.Trigger>): react_jsx_runtime272.JSX.Element;
15
15
  declare function TooltipContent({
16
16
  className,
17
17
  sideOffset,
18
18
  children,
19
19
  ...props
20
- }: React.ComponentProps<typeof Tooltip.Content>): react_jsx_runtime261.JSX.Element;
20
+ }: React.ComponentProps<typeof Tooltip.Content>): react_jsx_runtime272.JSX.Element;
21
21
  //#endregion
22
22
  export { Tooltip$1 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
23
- //# sourceMappingURL=tooltip-IMUjBDRr.d.ts.map
23
+ //# sourceMappingURL=tooltip-Clkt7Knc.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime15 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime26 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/typography/paragraph.d.ts
4
4
  type Props = {
@@ -10,7 +10,7 @@ declare const Paragraph: ({
10
10
  variant,
11
11
  className,
12
12
  children
13
- }: Props) => react_jsx_runtime15.JSX.Element;
13
+ }: Props) => react_jsx_runtime26.JSX.Element;
14
14
  //#endregion
15
15
  export { Paragraph };
16
16
  //# sourceMappingURL=paragraph.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime13 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime15 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/typography/paragraph.d.ts
4
4
  type Props = {
@@ -10,7 +10,7 @@ declare const Paragraph: ({
10
10
  variant,
11
11
  className,
12
12
  children
13
- }: Props) => react_jsx_runtime13.JSX.Element;
13
+ }: Props) => react_jsx_runtime15.JSX.Element;
14
14
  //#endregion
15
15
  export { Paragraph };
16
16
  //# sourceMappingURL=paragraph.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime19 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime27 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/typography/title.d.ts
4
4
  type Props = {
@@ -10,7 +10,7 @@ declare const Title: ({
10
10
  level,
11
11
  className,
12
12
  children
13
- }: Props) => react_jsx_runtime19.JSX.Element;
13
+ }: Props) => react_jsx_runtime27.JSX.Element;
14
14
  //#endregion
15
15
  export { Title };
16
16
  //# sourceMappingURL=title.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime27 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime25 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/typography/title.d.ts
4
4
  type Props = {
@@ -10,7 +10,7 @@ declare const Title: ({
10
10
  level,
11
11
  className,
12
12
  children
13
- }: Props) => react_jsx_runtime27.JSX.Element;
13
+ }: Props) => react_jsx_runtime25.JSX.Element;
14
14
  //#endregion
15
15
  export { Title };
16
16
  //# sourceMappingURL=title.d.ts.map
@@ -1,48 +1,48 @@
1
- import * as react_jsx_runtime21 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime12 from "react/jsx-runtime";
2
2
  import { AlertDialog as AlertDialog$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/alert-dialog.d.ts
5
5
  declare function AlertDialog({
6
6
  ...props
7
- }: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime21.JSX.Element;
7
+ }: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime12.JSX.Element;
8
8
  declare function AlertDialogTrigger({
9
9
  ...props
10
- }: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime21.JSX.Element;
10
+ }: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime12.JSX.Element;
11
11
  declare function AlertDialogPortal({
12
12
  ...props
13
- }: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime21.JSX.Element;
13
+ }: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime12.JSX.Element;
14
14
  declare function AlertDialogOverlay({
15
15
  className,
16
16
  ...props
17
- }: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime21.JSX.Element;
17
+ }: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime12.JSX.Element;
18
18
  declare function AlertDialogContent({
19
19
  className,
20
20
  ...props
21
- }: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime21.JSX.Element;
21
+ }: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime12.JSX.Element;
22
22
  declare function AlertDialogHeader({
23
23
  className,
24
24
  ...props
25
- }: React.ComponentProps<'div'>): react_jsx_runtime21.JSX.Element;
25
+ }: React.ComponentProps<'div'>): react_jsx_runtime12.JSX.Element;
26
26
  declare function AlertDialogFooter({
27
27
  className,
28
28
  ...props
29
- }: React.ComponentProps<'div'>): react_jsx_runtime21.JSX.Element;
29
+ }: React.ComponentProps<'div'>): react_jsx_runtime12.JSX.Element;
30
30
  declare function AlertDialogTitle({
31
31
  className,
32
32
  ...props
33
- }: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime21.JSX.Element;
33
+ }: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime12.JSX.Element;
34
34
  declare function AlertDialogDescription({
35
35
  className,
36
36
  ...props
37
- }: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime21.JSX.Element;
37
+ }: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime12.JSX.Element;
38
38
  declare function AlertDialogAction({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime21.JSX.Element;
41
+ }: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime12.JSX.Element;
42
42
  declare function AlertDialogCancel({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime21.JSX.Element;
45
+ }: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime12.JSX.Element;
46
46
  //#endregion
47
47
  export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
48
48
  //# sourceMappingURL=alert-dialog.d.cts.map
@@ -1,48 +1,48 @@
1
- import * as react_jsx_runtime15 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime27 from "react/jsx-runtime";
2
2
  import { AlertDialog as AlertDialog$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/alert-dialog.d.ts
5
5
  declare function AlertDialog({
6
6
  ...props
7
- }: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime15.JSX.Element;
7
+ }: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime27.JSX.Element;
8
8
  declare function AlertDialogTrigger({
9
9
  ...props
10
- }: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime15.JSX.Element;
10
+ }: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime27.JSX.Element;
11
11
  declare function AlertDialogPortal({
12
12
  ...props
13
- }: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime15.JSX.Element;
13
+ }: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime27.JSX.Element;
14
14
  declare function AlertDialogOverlay({
15
15
  className,
16
16
  ...props
17
- }: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime15.JSX.Element;
17
+ }: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime27.JSX.Element;
18
18
  declare function AlertDialogContent({
19
19
  className,
20
20
  ...props
21
- }: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime15.JSX.Element;
21
+ }: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime27.JSX.Element;
22
22
  declare function AlertDialogHeader({
23
23
  className,
24
24
  ...props
25
- }: React.ComponentProps<'div'>): react_jsx_runtime15.JSX.Element;
25
+ }: React.ComponentProps<'div'>): react_jsx_runtime27.JSX.Element;
26
26
  declare function AlertDialogFooter({
27
27
  className,
28
28
  ...props
29
- }: React.ComponentProps<'div'>): react_jsx_runtime15.JSX.Element;
29
+ }: React.ComponentProps<'div'>): react_jsx_runtime27.JSX.Element;
30
30
  declare function AlertDialogTitle({
31
31
  className,
32
32
  ...props
33
- }: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime15.JSX.Element;
33
+ }: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime27.JSX.Element;
34
34
  declare function AlertDialogDescription({
35
35
  className,
36
36
  ...props
37
- }: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime15.JSX.Element;
37
+ }: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime27.JSX.Element;
38
38
  declare function AlertDialogAction({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime15.JSX.Element;
41
+ }: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime27.JSX.Element;
42
42
  declare function AlertDialogCancel({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime15.JSX.Element;
45
+ }: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime27.JSX.Element;
46
46
  //#endregion
47
47
  export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
48
48
  //# sourceMappingURL=alert-dialog.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime16 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime23 from "react/jsx-runtime";
2
2
  import * as class_variance_authority_types10 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
 
@@ -7,7 +7,7 @@ import { VariantProps } from "class-variance-authority";
7
7
  * Alert component variants for styling using class-variance-authority
8
8
  */
9
9
  declare const alertVariants: (props?: ({
10
- variant?: "default" | "destructive" | "warning" | "success" | "info" | null | undefined;
10
+ variant?: "default" | "success" | "info" | "warning" | "destructive" | null | undefined;
11
11
  } & class_variance_authority_types10.ClassProp) | undefined) => string;
12
12
  type AlertVariantProps = VariantProps<typeof alertVariants>;
13
13
  //#endregion
@@ -37,7 +37,7 @@ declare function Alert({
37
37
  dismissible,
38
38
  onDismiss,
39
39
  ...props
40
- }: AlertProps): react_jsx_runtime16.JSX.Element;
40
+ }: AlertProps): react_jsx_runtime23.JSX.Element;
41
41
  interface AlertTitleProps extends React.HTMLAttributes<HTMLDivElement> {
42
42
  /**
43
43
  * Title text or elements
@@ -50,7 +50,7 @@ interface AlertTitleProps extends React.HTMLAttributes<HTMLDivElement> {
50
50
  declare function AlertTitle({
51
51
  className,
52
52
  ...props
53
- }: AlertTitleProps): react_jsx_runtime16.JSX.Element;
53
+ }: AlertTitleProps): react_jsx_runtime23.JSX.Element;
54
54
  interface AlertDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
55
55
  /**
56
56
  * Description text or elements
@@ -63,7 +63,7 @@ interface AlertDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
63
63
  declare function AlertDescription({
64
64
  className,
65
65
  ...props
66
- }: AlertDescriptionProps): react_jsx_runtime16.JSX.Element;
66
+ }: AlertDescriptionProps): react_jsx_runtime23.JSX.Element;
67
67
  //#endregion
68
68
  export { Alert, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps };
69
69
  //# sourceMappingURL=alert.d.cts.map
@@ -1,14 +1,14 @@
1
- import * as react_jsx_runtime34 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime38 from "react/jsx-runtime";
2
2
  import { VariantProps } from "class-variance-authority";
3
- import * as class_variance_authority_types10 from "class-variance-authority/types";
3
+ import * as class_variance_authority_types11 from "class-variance-authority/types";
4
4
 
5
5
  //#region packages/components/ui/alert-variants.d.ts
6
6
  /**
7
7
  * Alert component variants for styling using class-variance-authority
8
8
  */
9
9
  declare const alertVariants: (props?: ({
10
- variant?: "default" | "destructive" | "warning" | "success" | "info" | null | undefined;
11
- } & class_variance_authority_types10.ClassProp) | undefined) => string;
10
+ variant?: "default" | "success" | "info" | "warning" | "destructive" | null | undefined;
11
+ } & class_variance_authority_types11.ClassProp) | undefined) => string;
12
12
  type AlertVariantProps = VariantProps<typeof alertVariants>;
13
13
  //#endregion
14
14
  //#region packages/components/ui/alert.d.ts
@@ -37,7 +37,7 @@ declare function Alert({
37
37
  dismissible,
38
38
  onDismiss,
39
39
  ...props
40
- }: AlertProps): react_jsx_runtime34.JSX.Element;
40
+ }: AlertProps): react_jsx_runtime38.JSX.Element;
41
41
  interface AlertTitleProps extends React.HTMLAttributes<HTMLDivElement> {
42
42
  /**
43
43
  * Title text or elements
@@ -50,7 +50,7 @@ interface AlertTitleProps extends React.HTMLAttributes<HTMLDivElement> {
50
50
  declare function AlertTitle({
51
51
  className,
52
52
  ...props
53
- }: AlertTitleProps): react_jsx_runtime34.JSX.Element;
53
+ }: AlertTitleProps): react_jsx_runtime38.JSX.Element;
54
54
  interface AlertDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
55
55
  /**
56
56
  * Description text or elements
@@ -63,7 +63,7 @@ interface AlertDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
63
63
  declare function AlertDescription({
64
64
  className,
65
65
  ...props
66
- }: AlertDescriptionProps): react_jsx_runtime34.JSX.Element;
66
+ }: AlertDescriptionProps): react_jsx_runtime38.JSX.Element;
67
67
  //#endregion
68
68
  export { Alert, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps };
69
69
  //# sourceMappingURL=alert.d.ts.map
@@ -1,11 +1,11 @@
1
- import * as react_jsx_runtime20 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime28 from "react/jsx-runtime";
2
2
  import { AspectRatio as AspectRatio$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/aspect-ratio.d.ts
5
5
  declare function AspectRatio({
6
6
  className,
7
7
  ...props
8
- }: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime20.JSX.Element;
8
+ }: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime28.JSX.Element;
9
9
  //#endregion
10
10
  export { AspectRatio };
11
11
  //# sourceMappingURL=aspect-ratio.d.cts.map