@customafk/lunas-ui 0.1.19 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/dist/{button-DUf6JdVx.d.cts → button-C2mvaa5I.d.mts} +7 -7
  2. package/dist/{button-Dv8PU7Hv.d.mts → button-CVYH2lum.d.cts} +6 -6
  3. package/dist/card-CWAdGhMr.mjs +2 -0
  4. package/dist/card-CWAdGhMr.mjs.map +1 -0
  5. package/dist/card-wGoU4Xiq.cjs +2 -0
  6. package/dist/card-wGoU4Xiq.cjs.map +1 -0
  7. package/dist/cards/grid-product-card.cjs +1 -1
  8. package/dist/cards/grid-product-card.mjs +1 -1
  9. package/dist/cards/product-card.cjs +1 -1
  10. package/dist/cards/product-card.mjs +1 -1
  11. package/dist/cards/simple-card.cjs +1 -1
  12. package/dist/cards/simple-card.mjs +1 -1
  13. package/dist/data-display/empty.d.mts +2 -2
  14. package/dist/data-display/statistic.d.cts +2 -2
  15. package/dist/{dialog-CstR_oRr.d.mts → dialog-B-W-TsHv.d.cts} +12 -12
  16. package/dist/{dialog-DJ_WrGvX.d.cts → dialog-DTDroSTP.d.mts} +12 -12
  17. package/dist/dialogs/detail-dialog/component/sidebar.d.cts +28 -28
  18. package/dist/dialogs/detail-dialog/component/sidebar.d.mts +4 -4
  19. package/dist/dialogs/detail-dialog/index.cjs +1 -1
  20. package/dist/dialogs/detail-dialog/index.mjs +1 -1
  21. package/dist/features/search-modal/index.d.cts +2 -2
  22. package/dist/features/search-modal/index.d.mts +2 -2
  23. package/dist/features/tables/index.d.cts +4 -4
  24. package/dist/features/tables/index.d.mts +1 -1
  25. package/dist/{input-Bzo2Bgsz.d.cts → input-7SdNeLmh.d.cts} +4 -4
  26. package/dist/{input-DJh6tJbB.d.mts → input-Dh6hVhHG.d.mts} +6 -6
  27. package/dist/layouts/app-layout/index.d.cts +28 -28
  28. package/dist/layouts/app-layout/index.d.mts +28 -28
  29. package/dist/layouts/cms-layout/index.cjs +1 -1
  30. package/dist/layouts/cms-layout/index.cjs.map +1 -1
  31. package/dist/layouts/cms-layout/index.mjs +1 -1
  32. package/dist/layouts/cms-layout/index.mjs.map +1 -1
  33. package/dist/layouts/flex.d.cts +2 -2
  34. package/dist/layouts/flex.d.mts +2 -2
  35. package/dist/layouts/service-layout/index.cjs +1 -1
  36. package/dist/layouts/service-layout/index.d.cts +11 -11
  37. package/dist/layouts/service-layout/index.d.mts +15 -15
  38. package/dist/layouts/service-layout/index.mjs +1 -1
  39. package/dist/pages/FeatureDeveloping.d.cts +2 -2
  40. package/dist/pages/FeatureDeveloping.d.mts +2 -2
  41. package/dist/pages/FeatureFixing.d.cts +2 -2
  42. package/dist/pages/FeatureFixing.d.mts +2 -2
  43. package/dist/pages/NotAuthorized.d.cts +2 -2
  44. package/dist/pages/NotAuthorized.d.mts +2 -2
  45. package/dist/pages/NotFound.d.cts +2 -2
  46. package/dist/pages/NotFound.d.mts +2 -2
  47. package/dist/{separator-CY141ab_.d.cts → separator-BlXmdu-p.d.cts} +3 -3
  48. package/dist/{separator-CbnkvGgQ.d.mts → separator-uqlPXXM6.d.mts} +3 -3
  49. package/dist/{tooltip-DbdlL_22.d.mts → tooltip-DOnCuFV4.d.cts} +6 -6
  50. package/dist/{tooltip-JB8ZVcSM.d.cts → tooltip-DWHcJkRL.d.mts} +6 -6
  51. package/dist/typography/paragraph.d.cts +2 -2
  52. package/dist/typography/paragraph.d.mts +2 -2
  53. package/dist/typography/title.d.cts +2 -2
  54. package/dist/typography/title.d.mts +2 -2
  55. package/dist/ui/alert-dialog.d.cts +12 -12
  56. package/dist/ui/alert-dialog.d.mts +12 -12
  57. package/dist/ui/alert.d.cts +7 -7
  58. package/dist/ui/alert.d.mts +7 -7
  59. package/dist/ui/aspect-ratio.d.cts +2 -2
  60. package/dist/ui/aspect-ratio.d.mts +2 -2
  61. package/dist/ui/avatar.d.cts +4 -4
  62. package/dist/ui/avatar.d.mts +4 -4
  63. package/dist/ui/badge.d.cts +2 -2
  64. package/dist/ui/badge.d.mts +2 -2
  65. package/dist/ui/breadcrumb.d.cts +8 -8
  66. package/dist/ui/breadcrumb.d.mts +8 -8
  67. package/dist/ui/button-group.d.cts +7 -7
  68. package/dist/ui/button-group.d.mts +7 -7
  69. package/dist/ui/button.d.cts +1 -1
  70. package/dist/ui/button.d.mts +1 -1
  71. package/dist/ui/calendar.d.cts +4 -4
  72. package/dist/ui/calendar.d.mts +4 -4
  73. package/dist/ui/card.cjs +1 -1
  74. package/dist/ui/card.d.cts +8 -8
  75. package/dist/ui/card.d.mts +8 -8
  76. package/dist/ui/card.mjs +1 -1
  77. package/dist/ui/carousel.d.cts +7 -7
  78. package/dist/ui/carousel.d.mts +7 -7
  79. package/dist/ui/collapsible.d.cts +4 -4
  80. package/dist/ui/collapsible.d.mts +4 -4
  81. package/dist/ui/command.d.cts +11 -11
  82. package/dist/ui/command.d.mts +11 -11
  83. package/dist/ui/context-menu.d.cts +16 -16
  84. package/dist/ui/context-menu.d.mts +16 -16
  85. package/dist/ui/dialog.d.cts +1 -1
  86. package/dist/ui/dialog.d.mts +1 -1
  87. package/dist/ui/drawer.d.cts +11 -11
  88. package/dist/ui/drawer.d.mts +11 -11
  89. package/dist/ui/dropdown-menu.d.cts +16 -16
  90. package/dist/ui/dropdown-menu.d.mts +16 -16
  91. package/dist/ui/empty.d.cts +9 -9
  92. package/dist/ui/empty.d.mts +9 -9
  93. package/dist/ui/field.d.cts +24 -24
  94. package/dist/ui/field.d.mts +13 -13
  95. package/dist/ui/file-uploader.d.cts +2 -2
  96. package/dist/ui/file-uploader.d.mts +2 -2
  97. package/dist/ui/form.d.cts +7 -7
  98. package/dist/ui/form.d.mts +7 -7
  99. package/dist/ui/hover-card.d.cts +4 -4
  100. package/dist/ui/hover-card.d.mts +4 -4
  101. package/dist/ui/input-otp.d.cts +5 -5
  102. package/dist/ui/input-otp.d.mts +5 -5
  103. package/dist/ui/input.d.cts +1 -1
  104. package/dist/ui/input.d.mts +1 -1
  105. package/dist/ui/inputs/search-input.d.cts +3 -3
  106. package/dist/ui/inputs/search-input.d.mts +3 -3
  107. package/dist/ui/item.d.cts +15 -15
  108. package/dist/ui/item.d.mts +15 -15
  109. package/dist/ui/label.d.cts +2 -2
  110. package/dist/ui/label.d.mts +2 -2
  111. package/dist/ui/menubar.d.cts +17 -17
  112. package/dist/ui/menubar.d.mts +17 -17
  113. package/dist/ui/multi-select.d.cts +2 -2
  114. package/dist/ui/multi-select.d.mts +3 -3
  115. package/dist/ui/navigation-menu.d.cts +11 -11
  116. package/dist/ui/navigation-menu.d.mts +11 -11
  117. package/dist/ui/pagination.d.cts +9 -9
  118. package/dist/ui/pagination.d.mts +9 -9
  119. package/dist/ui/popover.d.cts +5 -5
  120. package/dist/ui/popover.d.mts +5 -5
  121. package/dist/ui/progress.d.cts +2 -2
  122. package/dist/ui/progress.d.mts +2 -2
  123. package/dist/ui/radio-group.d.cts +3 -3
  124. package/dist/ui/radio-group.d.mts +3 -3
  125. package/dist/ui/resizable.d.cts +4 -4
  126. package/dist/ui/resizable.d.mts +4 -4
  127. package/dist/ui/scroll-area.d.cts +6 -6
  128. package/dist/ui/scroll-area.d.mts +6 -6
  129. package/dist/ui/select.d.cts +11 -11
  130. package/dist/ui/select.d.mts +11 -11
  131. package/dist/ui/separator.d.cts +1 -1
  132. package/dist/ui/separator.d.mts +1 -1
  133. package/dist/ui/sheet.d.cts +9 -9
  134. package/dist/ui/sheet.d.mts +9 -9
  135. package/dist/ui/sidebar.d.cts +28 -28
  136. package/dist/ui/sidebar.d.mts +30 -30
  137. package/dist/ui/skeleton.d.cts +2 -2
  138. package/dist/ui/skeleton.d.mts +2 -2
  139. package/dist/ui/slider.d.cts +2 -2
  140. package/dist/ui/slider.d.mts +2 -2
  141. package/dist/ui/sonner.d.cts +2 -2
  142. package/dist/ui/sonner.d.mts +2 -2
  143. package/dist/ui/spinner.d.cts +2 -2
  144. package/dist/ui/spinner.d.mts +2 -2
  145. package/dist/ui/switch.d.cts +2 -2
  146. package/dist/ui/switch.d.mts +2 -2
  147. package/dist/ui/table.d.cts +18 -18
  148. package/dist/ui/table.d.mts +18 -18
  149. package/dist/ui/tabs.d.cts +5 -5
  150. package/dist/ui/tabs.d.mts +5 -5
  151. package/dist/ui/textarea.d.cts +2 -2
  152. package/dist/ui/textarea.d.mts +2 -2
  153. package/dist/ui/toggle-group.d.cts +3 -3
  154. package/dist/ui/toggle-group.d.mts +3 -3
  155. package/dist/ui/toggle.d.mts +4 -4
  156. package/dist/ui/tooltip.d.cts +1 -1
  157. package/dist/ui/tooltip.d.mts +1 -1
  158. package/package.json +1 -1
  159. package/dist/card-CXsIpa9Y.cjs +0 -2
  160. package/dist/card-CXsIpa9Y.cjs.map +0 -1
  161. package/dist/card-jwcpmq7e.mjs +0 -2
  162. package/dist/card-jwcpmq7e.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime191 from "react/jsx-runtime";
2
- import * as class_variance_authority_types12 from "class-variance-authority/types";
1
+ import * as react_jsx_runtime41 from "react/jsx-runtime";
3
2
  import { VariantProps } from "class-variance-authority";
3
+ import * as class_variance_authority_types10 from "class-variance-authority/types";
4
4
 
5
5
  //#region packages/components/ui/button.variants.d.ts
6
6
 
@@ -8,10 +8,10 @@ import { VariantProps } from "class-variance-authority";
8
8
  * Button variants definition for styling using class-variance-authority
9
9
  */
10
10
  declare const buttonVariants: (props?: ({
11
- variant?: "default" | "outline" | "link" | "ghost" | "soft" | "subtle" | null | undefined;
12
- color?: "muted" | "success" | "warning" | "info" | "primary" | "secondary" | "important" | "danger" | null | undefined;
11
+ variant?: "default" | "outline" | "link" | "soft" | "subtle" | "ghost" | null | undefined;
12
+ color?: "muted" | "primary" | "secondary" | "success" | "important" | "info" | "warning" | "danger" | null | undefined;
13
13
  size?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | "icon" | null | undefined;
14
- } & class_variance_authority_types12.ClassProp) | undefined) => string;
14
+ } & class_variance_authority_types10.ClassProp) | undefined) => string;
15
15
  type ButtonVariantProps = VariantProps<typeof buttonVariants>;
16
16
  //#endregion
17
17
  //#region packages/components/ui/button.d.ts
@@ -51,7 +51,7 @@ declare function Button({
51
51
  disabled,
52
52
  type,
53
53
  ...props
54
- }: ButtonProps): react_jsx_runtime191.JSX.Element;
54
+ }: ButtonProps): react_jsx_runtime41.JSX.Element;
55
55
  //#endregion
56
56
  export { ButtonProps as n, Button as t };
57
- //# sourceMappingURL=button-DUf6JdVx.d.cts.map
57
+ //# sourceMappingURL=button-C2mvaa5I.d.mts.map
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime80 from "react/jsx-runtime";
2
- import { VariantProps } from "class-variance-authority";
1
+ import * as react_jsx_runtime51 from "react/jsx-runtime";
3
2
  import * as class_variance_authority_types12 from "class-variance-authority/types";
3
+ import { VariantProps } from "class-variance-authority";
4
4
 
5
5
  //#region packages/components/ui/button.variants.d.ts
6
6
 
@@ -8,8 +8,8 @@ import * as class_variance_authority_types12 from "class-variance-authority/type
8
8
  * Button variants definition for styling using class-variance-authority
9
9
  */
10
10
  declare const buttonVariants: (props?: ({
11
- variant?: "default" | "outline" | "link" | "ghost" | "soft" | "subtle" | null | undefined;
12
- color?: "muted" | "success" | "warning" | "info" | "primary" | "secondary" | "important" | "danger" | null | undefined;
11
+ variant?: "default" | "outline" | "link" | "soft" | "subtle" | "ghost" | null | undefined;
12
+ color?: "muted" | "primary" | "secondary" | "success" | "important" | "info" | "warning" | "danger" | null | undefined;
13
13
  size?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | "icon" | null | undefined;
14
14
  } & class_variance_authority_types12.ClassProp) | undefined) => string;
15
15
  type ButtonVariantProps = VariantProps<typeof buttonVariants>;
@@ -51,7 +51,7 @@ declare function Button({
51
51
  disabled,
52
52
  type,
53
53
  ...props
54
- }: ButtonProps): react_jsx_runtime80.JSX.Element;
54
+ }: ButtonProps): react_jsx_runtime51.JSX.Element;
55
55
  //#endregion
56
56
  export { ButtonProps as n, Button as t };
57
- //# sourceMappingURL=button-Dv8PU7Hv.d.mts.map
57
+ //# sourceMappingURL=button-CVYH2lum.d.cts.map
@@ -0,0 +1,2 @@
1
+ import{cn as e}from"@customafk/react-toolkit/utils";import{jsx as t}from"react/jsx-runtime";function n({className:n,...r}){return t(`div`,{"data-slot":`card`,className:e(`flex flex-col gap-6 rounded-2xl bg-card py-6 text-text-positive shadow-card ring-3 ring-border-muted`,n),...r})}function r({className:n,...r}){return t(`div`,{"data-slot":`card-header`,className:e(`@container/card-header`,`grid auto-rows-min grid-rows-[auto_auto]`,`items-start gap-1.5 px-6 text-text-positive-strong`,`has-data-[slot=card-action]:grid-cols-[1fr_auto]`,`[.border-b]:pb-6`,n),...r})}function i({className:n,...r}){return t(`div`,{"data-slot":`card-title`,className:e(`font-semibold leading-none`,n),...r})}function a({className:n,...r}){return t(`div`,{"data-slot":`card-description`,className:e(`text-sm text-text-positive-weak`,n),...r})}function o({className:n,...r}){return t(`div`,{"data-slot":`card-action`,className:e(`col-start-2 row-span-2 row-start-1 self-start justify-self-end`,n),...r})}function s({className:n,...r}){return t(`div`,{"data-slot":`card-content`,className:e(`px-6 text-sm`,n),...r})}function c({className:n,...r}){return t(`div`,{"data-slot":`card-footer`,className:e(`flex items-center px-6 text-sm [.border-t]:pt-6`,n),...r})}export{c as a,a as i,o as n,r as o,s as r,i as s,n as t};
2
+ //# sourceMappingURL=card-CWAdGhMr.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-CWAdGhMr.mjs","names":[],"sources":["../packages/components/ui/card.tsx"],"sourcesContent":["import { cn } from '@customafk/react-toolkit/utils';\n\nfunction Card({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card\" className={cn('flex flex-col gap-6 rounded-2xl bg-card py-6 text-text-positive shadow-card ring-3 ring-border-muted', className)} {...props} />;\n}\n\nfunction CardHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card-header\"\n className={cn(\n '@container/card-header',\n 'grid auto-rows-min grid-rows-[auto_auto]',\n 'items-start gap-1.5 px-6 text-text-positive-strong',\n 'has-data-[slot=card-action]:grid-cols-[1fr_auto]',\n '[.border-b]:pb-6',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction CardTitle({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card-title\" className={cn('font-semibold leading-none', className)} {...props} />;\n}\n\nfunction CardDescription({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card-description\" className={cn('text-sm text-text-positive-weak', className)} {...props} />;\n}\n\nfunction CardAction({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card-action\" className={cn('col-start-2 row-span-2 row-start-1 self-start justify-self-end', className)} {...props} />;\n}\n\nfunction CardContent({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card-content\" className={cn('px-6 text-sm', className)} {...props} />;\n}\n\nfunction CardFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card-footer\" className={cn('flex items-center px-6 text-sm [.border-t]:pt-6', className)} {...props} />;\n}\n\nexport { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };\n"],"mappings":"4FAEA,SAAS,EAAK,CAAE,YAAW,GAAG,GAAsC,CAClE,OAAO,EAAC,MAAA,CAAI,YAAU,OAAO,UAAW,EAAG,uGAAwG,EAAU,CAAE,GAAI,GAAS,CAG9K,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OACE,EAAC,MAAA,CACC,YAAU,cACV,UAAW,EACT,yBACA,2CACA,qDACA,mDACA,mBACA,EACD,CACD,GAAI,GACJ,CAIN,SAAS,EAAU,CAAE,YAAW,GAAG,GAAsC,CACvE,OAAO,EAAC,MAAA,CAAI,YAAU,aAAa,UAAW,EAAG,6BAA8B,EAAU,CAAE,GAAI,GAAS,CAG1G,SAAS,EAAgB,CAAE,YAAW,GAAG,GAAsC,CAC7E,OAAO,EAAC,MAAA,CAAI,YAAU,mBAAmB,UAAW,EAAG,kCAAmC,EAAU,CAAE,GAAI,GAAS,CAGrH,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OAAO,EAAC,MAAA,CAAI,YAAU,cAAc,UAAW,EAAG,iEAAkE,EAAU,CAAE,GAAI,GAAS,CAG/I,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAC,MAAA,CAAI,YAAU,eAAe,UAAW,EAAG,eAAgB,EAAU,CAAE,GAAI,GAAS,CAG9F,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OAAO,EAAC,MAAA,CAAI,YAAU,cAAc,UAAW,EAAG,kDAAmD,EAAU,CAAE,GAAI,GAAS"}
@@ -0,0 +1,2 @@
1
+ const e=require(`./chunk-Bmb41Sf3.cjs`);let t=require(`@customafk/react-toolkit/utils`),n=require(`react/jsx-runtime`);function r({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card`,className:(0,t.cn)(`flex flex-col gap-6 rounded-2xl bg-card py-6 text-text-positive shadow-card ring-3 ring-border-muted`,e),...r})}function i({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-header`,className:(0,t.cn)(`@container/card-header`,`grid auto-rows-min grid-rows-[auto_auto]`,`items-start gap-1.5 px-6 text-text-positive-strong`,`has-data-[slot=card-action]:grid-cols-[1fr_auto]`,`[.border-b]:pb-6`,e),...r})}function a({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-title`,className:(0,t.cn)(`font-semibold leading-none`,e),...r})}function o({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-description`,className:(0,t.cn)(`text-sm text-text-positive-weak`,e),...r})}function s({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-action`,className:(0,t.cn)(`col-start-2 row-span-2 row-start-1 self-start justify-self-end`,e),...r})}function c({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-content`,className:(0,t.cn)(`px-6 text-sm`,e),...r})}function l({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-footer`,className:(0,t.cn)(`flex items-center px-6 text-sm [.border-t]:pt-6`,e),...r})}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
2
+ //# sourceMappingURL=card-wGoU4Xiq.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-wGoU4Xiq.cjs","names":[],"sources":["../packages/components/ui/card.tsx"],"sourcesContent":["import { cn } from '@customafk/react-toolkit/utils';\n\nfunction Card({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card\" className={cn('flex flex-col gap-6 rounded-2xl bg-card py-6 text-text-positive shadow-card ring-3 ring-border-muted', className)} {...props} />;\n}\n\nfunction CardHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card-header\"\n className={cn(\n '@container/card-header',\n 'grid auto-rows-min grid-rows-[auto_auto]',\n 'items-start gap-1.5 px-6 text-text-positive-strong',\n 'has-data-[slot=card-action]:grid-cols-[1fr_auto]',\n '[.border-b]:pb-6',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction CardTitle({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card-title\" className={cn('font-semibold leading-none', className)} {...props} />;\n}\n\nfunction CardDescription({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card-description\" className={cn('text-sm text-text-positive-weak', className)} {...props} />;\n}\n\nfunction CardAction({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card-action\" className={cn('col-start-2 row-span-2 row-start-1 self-start justify-self-end', className)} {...props} />;\n}\n\nfunction CardContent({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card-content\" className={cn('px-6 text-sm', className)} {...props} />;\n}\n\nfunction CardFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card-footer\" className={cn('flex items-center px-6 text-sm [.border-t]:pt-6', className)} {...props} />;\n}\n\nexport { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };\n"],"mappings":"uHAEA,SAAS,EAAK,CAAE,YAAW,GAAG,GAAsC,CAClE,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,OAAO,WAAA,EAAA,EAAA,IAAc,uGAAwG,EAAU,CAAE,GAAI,GAAS,CAG9K,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OACE,EAAA,EAAA,KAAC,MAAA,CACC,YAAU,cACV,WAAA,EAAA,EAAA,IACE,yBACA,2CACA,qDACA,mDACA,mBACA,EACD,CACD,GAAI,GACJ,CAIN,SAAS,EAAU,CAAE,YAAW,GAAG,GAAsC,CACvE,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,aAAa,WAAA,EAAA,EAAA,IAAc,6BAA8B,EAAU,CAAE,GAAI,GAAS,CAG1G,SAAS,EAAgB,CAAE,YAAW,GAAG,GAAsC,CAC7E,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,mBAAmB,WAAA,EAAA,EAAA,IAAc,kCAAmC,EAAU,CAAE,GAAI,GAAS,CAGrH,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,cAAc,WAAA,EAAA,EAAA,IAAc,iEAAkE,EAAU,CAAE,GAAI,GAAS,CAG/I,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,eAAe,WAAA,EAAA,EAAA,IAAc,eAAgB,EAAU,CAAE,GAAI,GAAS,CAG9F,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,cAAc,WAAA,EAAA,EAAA,IAAc,kDAAmD,EAAU,CAAE,GAAI,GAAS"}
@@ -1,2 +1,2 @@
1
- const e=require(`../chunk-Bmb41Sf3.cjs`),t=require(`../card-CXsIpa9Y.cjs`);require(`../button.variants-C--cfyfH.cjs`);const n=require(`../button-DtFiUaY7.cjs`);require(`../skeleton-C4suljHP.cjs`);const r=require(`../image-C-XEJWcw.cjs`);let i=require(`react/jsx-runtime`),a=require(`lucide-react`);const o=({name:e,thumbnail:o,price:s})=>(0,i.jsxs)(t.t,{className:`h-36 w-full flex-row gap-4 p-2 pr-4`,children:[(0,i.jsx)(r.t,{className:`aspect-square h-full flex-0`,src:o}),(0,i.jsxs)(`div`,{className:`flex flex-1 flex-col gap-y-1`,children:[(0,i.jsx)(`p`,{className:`line-clamp-2 h-10 font-semibold text-sm text-text-positive`,children:e}),(0,i.jsxs)(`p`,{className:`font-bold text-base text-success`,children:[s.toLocaleString(`vi-VN`),(0,i.jsx)(`small`,{className:`ml-0.5`,children:`VND`})]}),(0,i.jsxs)(`div`,{className:`mb-3 flex flex-1 items-end justify-end gap-x-1`,children:[(0,i.jsx)(n.t,{size:`icon`,variant:`outline`,color:`muted`,className:`size-9`,children:(0,i.jsx)(a.HeartIcon,{})}),(0,i.jsxs)(n.t,{className:`max-w-52 max-sm:size-9 sm:flex-1`,children:[(0,i.jsx)(a.ShoppingCartIcon,{}),(0,i.jsx)(`p`,{className:`sr-only sm:not-sr-only`,children:`Thêm vào giỏ`})]})]})]})]});exports.GridProductCard=o;
1
+ const e=require(`../chunk-Bmb41Sf3.cjs`),t=require(`../card-wGoU4Xiq.cjs`);require(`../button.variants-C--cfyfH.cjs`);const n=require(`../button-DtFiUaY7.cjs`);require(`../skeleton-C4suljHP.cjs`);const r=require(`../image-C-XEJWcw.cjs`);let i=require(`react/jsx-runtime`),a=require(`lucide-react`);const o=({name:e,thumbnail:o,price:s})=>(0,i.jsxs)(t.t,{className:`h-36 w-full flex-row gap-4 p-2 pr-4`,children:[(0,i.jsx)(r.t,{className:`aspect-square h-full flex-0`,src:o}),(0,i.jsxs)(`div`,{className:`flex flex-1 flex-col gap-y-1`,children:[(0,i.jsx)(`p`,{className:`line-clamp-2 h-10 font-semibold text-sm text-text-positive`,children:e}),(0,i.jsxs)(`p`,{className:`font-bold text-base text-success`,children:[s.toLocaleString(`vi-VN`),(0,i.jsx)(`small`,{className:`ml-0.5`,children:`VND`})]}),(0,i.jsxs)(`div`,{className:`mb-3 flex flex-1 items-end justify-end gap-x-1`,children:[(0,i.jsx)(n.t,{size:`icon`,variant:`outline`,color:`muted`,className:`size-9`,children:(0,i.jsx)(a.HeartIcon,{})}),(0,i.jsxs)(n.t,{className:`max-w-52 max-sm:size-9 sm:flex-1`,children:[(0,i.jsx)(a.ShoppingCartIcon,{}),(0,i.jsx)(`p`,{className:`sr-only sm:not-sr-only`,children:`Thêm vào giỏ`})]})]})]})]});exports.GridProductCard=o;
2
2
  //# sourceMappingURL=grid-product-card.cjs.map
@@ -1,2 +1,2 @@
1
- import{t as e}from"../card-jwcpmq7e.mjs";import"../button.variants-DmUzMbB8.mjs";import{t}from"../button-DIEXNBpi.mjs";import"../skeleton-CvZncisJ.mjs";import{t as n}from"../image-BwbAQRxx.mjs";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{HeartIcon as a,ShoppingCartIcon as o}from"lucide-react";const s=({name:s,thumbnail:c,price:l})=>i(e,{className:`h-36 w-full flex-row gap-4 p-2 pr-4`,children:[r(n,{className:`aspect-square h-full flex-0`,src:c}),i(`div`,{className:`flex flex-1 flex-col gap-y-1`,children:[r(`p`,{className:`line-clamp-2 h-10 font-semibold text-sm text-text-positive`,children:s}),i(`p`,{className:`font-bold text-base text-success`,children:[l.toLocaleString(`vi-VN`),r(`small`,{className:`ml-0.5`,children:`VND`})]}),i(`div`,{className:`mb-3 flex flex-1 items-end justify-end gap-x-1`,children:[r(t,{size:`icon`,variant:`outline`,color:`muted`,className:`size-9`,children:r(a,{})}),i(t,{className:`max-w-52 max-sm:size-9 sm:flex-1`,children:[r(o,{}),r(`p`,{className:`sr-only sm:not-sr-only`,children:`Thêm vào giỏ`})]})]})]})]});export{s as GridProductCard};
1
+ import{t as e}from"../card-CWAdGhMr.mjs";import"../button.variants-DmUzMbB8.mjs";import{t}from"../button-DIEXNBpi.mjs";import"../skeleton-CvZncisJ.mjs";import{t as n}from"../image-BwbAQRxx.mjs";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{HeartIcon as a,ShoppingCartIcon as o}from"lucide-react";const s=({name:s,thumbnail:c,price:l})=>i(e,{className:`h-36 w-full flex-row gap-4 p-2 pr-4`,children:[r(n,{className:`aspect-square h-full flex-0`,src:c}),i(`div`,{className:`flex flex-1 flex-col gap-y-1`,children:[r(`p`,{className:`line-clamp-2 h-10 font-semibold text-sm text-text-positive`,children:s}),i(`p`,{className:`font-bold text-base text-success`,children:[l.toLocaleString(`vi-VN`),r(`small`,{className:`ml-0.5`,children:`VND`})]}),i(`div`,{className:`mb-3 flex flex-1 items-end justify-end gap-x-1`,children:[r(t,{size:`icon`,variant:`outline`,color:`muted`,className:`size-9`,children:r(a,{})}),i(t,{className:`max-w-52 max-sm:size-9 sm:flex-1`,children:[r(o,{}),r(`p`,{className:`sr-only sm:not-sr-only`,children:`Thêm vào giỏ`})]})]})]})]});export{s as GridProductCard};
2
2
  //# sourceMappingURL=grid-product-card.mjs.map
@@ -1,2 +1,2 @@
1
- const e=require(`../chunk-Bmb41Sf3.cjs`),t=require(`../card-CXsIpa9Y.cjs`);require(`../button.variants-C--cfyfH.cjs`);const n=require(`../button-DtFiUaY7.cjs`);require(`../skeleton-C4suljHP.cjs`);const r=require(`../image-C-XEJWcw.cjs`);let i=require(`react/jsx-runtime`),a=require(`lucide-react`);const o=({name:e,thumbnail:o,price:s})=>(0,i.jsxs)(t.t,{className:`size-full gap-y-2 p-2 pb-4`,children:[(0,i.jsx)(r.t,{src:o,className:`aspect-square`}),(0,i.jsxs)(`div`,{className:`flex flex-col gap-y-1`,children:[(0,i.jsx)(`p`,{className:`line-clamp-2 h-10 text-sm font-semibold`,children:e}),(0,i.jsxs)(`p`,{className:`text-success text-base font-bold`,children:[s.toLocaleString(`vi-VN`),(0,i.jsx)(`small`,{className:`ml-0.5`,children:`VND`})]}),(0,i.jsxs)(`div`,{className:`mt-1 flex gap-x-1`,children:[(0,i.jsxs)(n.t,{className:`flex-1`,children:[(0,i.jsx)(a.ShoppingCartIcon,{}),`Thêm vào giỏ`]}),(0,i.jsx)(n.t,{size:`icon`,variant:`outline`,color:`muted`,className:`size-9`,children:(0,i.jsx)(a.HeartIcon,{})})]})]})]});exports.ProductCard=o;
1
+ const e=require(`../chunk-Bmb41Sf3.cjs`),t=require(`../card-wGoU4Xiq.cjs`);require(`../button.variants-C--cfyfH.cjs`);const n=require(`../button-DtFiUaY7.cjs`);require(`../skeleton-C4suljHP.cjs`);const r=require(`../image-C-XEJWcw.cjs`);let i=require(`react/jsx-runtime`),a=require(`lucide-react`);const o=({name:e,thumbnail:o,price:s})=>(0,i.jsxs)(t.t,{className:`size-full gap-y-2 p-2 pb-4`,children:[(0,i.jsx)(r.t,{src:o,className:`aspect-square`}),(0,i.jsxs)(`div`,{className:`flex flex-col gap-y-1`,children:[(0,i.jsx)(`p`,{className:`line-clamp-2 h-10 text-sm font-semibold`,children:e}),(0,i.jsxs)(`p`,{className:`text-success text-base font-bold`,children:[s.toLocaleString(`vi-VN`),(0,i.jsx)(`small`,{className:`ml-0.5`,children:`VND`})]}),(0,i.jsxs)(`div`,{className:`mt-1 flex gap-x-1`,children:[(0,i.jsxs)(n.t,{className:`flex-1`,children:[(0,i.jsx)(a.ShoppingCartIcon,{}),`Thêm vào giỏ`]}),(0,i.jsx)(n.t,{size:`icon`,variant:`outline`,color:`muted`,className:`size-9`,children:(0,i.jsx)(a.HeartIcon,{})})]})]})]});exports.ProductCard=o;
2
2
  //# sourceMappingURL=product-card.cjs.map
@@ -1,2 +1,2 @@
1
- import{t as e}from"../card-jwcpmq7e.mjs";import"../button.variants-DmUzMbB8.mjs";import{t}from"../button-DIEXNBpi.mjs";import"../skeleton-CvZncisJ.mjs";import{t as n}from"../image-BwbAQRxx.mjs";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{HeartIcon as a,ShoppingCartIcon as o}from"lucide-react";const s=({name:s,thumbnail:c,price:l})=>i(e,{className:`size-full gap-y-2 p-2 pb-4`,children:[r(n,{src:c,className:`aspect-square`}),i(`div`,{className:`flex flex-col gap-y-1`,children:[r(`p`,{className:`line-clamp-2 h-10 text-sm font-semibold`,children:s}),i(`p`,{className:`text-success text-base font-bold`,children:[l.toLocaleString(`vi-VN`),r(`small`,{className:`ml-0.5`,children:`VND`})]}),i(`div`,{className:`mt-1 flex gap-x-1`,children:[i(t,{className:`flex-1`,children:[r(o,{}),`Thêm vào giỏ`]}),r(t,{size:`icon`,variant:`outline`,color:`muted`,className:`size-9`,children:r(a,{})})]})]})]});export{s as ProductCard};
1
+ import{t as e}from"../card-CWAdGhMr.mjs";import"../button.variants-DmUzMbB8.mjs";import{t}from"../button-DIEXNBpi.mjs";import"../skeleton-CvZncisJ.mjs";import{t as n}from"../image-BwbAQRxx.mjs";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{HeartIcon as a,ShoppingCartIcon as o}from"lucide-react";const s=({name:s,thumbnail:c,price:l})=>i(e,{className:`size-full gap-y-2 p-2 pb-4`,children:[r(n,{src:c,className:`aspect-square`}),i(`div`,{className:`flex flex-col gap-y-1`,children:[r(`p`,{className:`line-clamp-2 h-10 text-sm font-semibold`,children:s}),i(`p`,{className:`text-success text-base font-bold`,children:[l.toLocaleString(`vi-VN`),r(`small`,{className:`ml-0.5`,children:`VND`})]}),i(`div`,{className:`mt-1 flex gap-x-1`,children:[i(t,{className:`flex-1`,children:[r(o,{}),`Thêm vào giỏ`]}),r(t,{size:`icon`,variant:`outline`,color:`muted`,className:`size-9`,children:r(a,{})})]})]})]});export{s as ProductCard};
2
2
  //# sourceMappingURL=product-card.mjs.map
@@ -1,2 +1,2 @@
1
- "use client";const e=require(`../chunk-Bmb41Sf3.cjs`),t=require(`../card-CXsIpa9Y.cjs`);let n=require(`react/jsx-runtime`);const r=({title:e,description:r,action:i,footer:a,children:o})=>(0,n.jsxs)(t.t,{children:[(0,n.jsxs)(t.o,{children:[(0,n.jsx)(t.s,{children:e}),(0,n.jsx)(t.i,{children:r}),i&&(0,n.jsx)(t.n,{children:i})]}),(0,n.jsx)(t.r,{children:o}),a&&(0,n.jsx)(t.a,{children:a})]});exports.SimpleCard=r;
1
+ "use client";const e=require(`../chunk-Bmb41Sf3.cjs`),t=require(`../card-wGoU4Xiq.cjs`);let n=require(`react/jsx-runtime`);const r=({title:e,description:r,action:i,footer:a,children:o})=>(0,n.jsxs)(t.t,{children:[(0,n.jsxs)(t.o,{children:[(0,n.jsx)(t.s,{children:e}),(0,n.jsx)(t.i,{children:r}),i&&(0,n.jsx)(t.n,{children:i})]}),(0,n.jsx)(t.r,{children:o}),a&&(0,n.jsx)(t.a,{children:a})]});exports.SimpleCard=r;
2
2
  //# sourceMappingURL=simple-card.cjs.map
@@ -1,2 +1,2 @@
1
- "use client";import{a as e,i as t,n,o as r,r as i,s as a,t as o}from"../card-jwcpmq7e.mjs";import{jsx as s,jsxs as c}from"react/jsx-runtime";const l=({title:l,description:u,action:d,footer:f,children:p})=>c(o,{children:[c(r,{children:[s(a,{children:l}),s(t,{children:u}),d&&s(n,{children:d})]}),s(i,{children:p}),f&&s(e,{children:f})]});export{l as SimpleCard};
1
+ "use client";import{a as e,i as t,n,o as r,r as i,s as a,t as o}from"../card-CWAdGhMr.mjs";import{jsx as s,jsxs as c}from"react/jsx-runtime";const l=({title:l,description:u,action:d,footer:f,children:p})=>c(o,{children:[c(r,{children:[s(a,{children:l}),s(t,{children:u}),d&&s(n,{children:d})]}),s(i,{children:p}),f&&s(e,{children:f})]});export{l as SimpleCard};
2
2
  //# sourceMappingURL=simple-card.mjs.map
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime0 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime38 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/data-display/empty.d.ts
4
- declare const EmptyDisplay: () => react_jsx_runtime0.JSX.Element;
4
+ declare const EmptyDisplay: () => react_jsx_runtime38.JSX.Element;
5
5
  //#endregion
6
6
  export { EmptyDisplay };
7
7
  //# sourceMappingURL=empty.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime6 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
2
2
  import * as react0 from "react";
3
3
 
4
4
  //#region packages/components/data-display/statistic.d.ts
@@ -23,7 +23,7 @@ declare const Statistic: react0.MemoExoticComponent<({
23
23
  showTrailingZeros,
24
24
  size,
25
25
  value
26
- }: Props) => react_jsx_runtime6.JSX.Element>;
26
+ }: Props) => react_jsx_runtime1.JSX.Element>;
27
27
  //#endregion
28
28
  export { Statistic };
29
29
  //# sourceMappingURL=statistic.d.cts.map
@@ -1,23 +1,23 @@
1
- import * as react_jsx_runtime112 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime90 from "react/jsx-runtime";
2
2
  import { Dialog } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/dialog.d.ts
5
5
  declare function Dialog$1({
6
6
  ...props
7
- }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime112.JSX.Element;
7
+ }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime90.JSX.Element;
8
8
  declare function DialogTrigger({
9
9
  ...props
10
- }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime112.JSX.Element;
10
+ }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime90.JSX.Element;
11
11
  declare function DialogPortal({
12
12
  ...props
13
- }: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime112.JSX.Element;
13
+ }: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime90.JSX.Element;
14
14
  declare function DialogClose({
15
15
  ...props
16
- }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime112.JSX.Element;
16
+ }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime90.JSX.Element;
17
17
  declare function DialogOverlay({
18
18
  className,
19
19
  ...props
20
- }: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime112.JSX.Element;
20
+ }: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime90.JSX.Element;
21
21
  declare function DialogContent({
22
22
  className,
23
23
  children,
@@ -25,23 +25,23 @@ declare function DialogContent({
25
25
  ...props
26
26
  }: React.ComponentProps<typeof Dialog.Content> & {
27
27
  showCloseButton?: boolean;
28
- }): react_jsx_runtime112.JSX.Element;
28
+ }): react_jsx_runtime90.JSX.Element;
29
29
  declare function DialogHeader({
30
30
  className,
31
31
  ...props
32
- }: React.ComponentProps<'div'>): react_jsx_runtime112.JSX.Element;
32
+ }: React.ComponentProps<'div'>): react_jsx_runtime90.JSX.Element;
33
33
  declare function DialogFooter({
34
34
  className,
35
35
  ...props
36
- }: React.ComponentProps<'div'>): react_jsx_runtime112.JSX.Element;
36
+ }: React.ComponentProps<'div'>): react_jsx_runtime90.JSX.Element;
37
37
  declare function DialogTitle({
38
38
  className,
39
39
  ...props
40
- }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime112.JSX.Element;
40
+ }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime90.JSX.Element;
41
41
  declare function DialogDescription({
42
42
  className,
43
43
  ...props
44
- }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime112.JSX.Element;
44
+ }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime90.JSX.Element;
45
45
  //#endregion
46
46
  export { DialogFooter as a, DialogPortal as c, DialogDescription as i, DialogTitle as l, DialogClose as n, DialogHeader as o, DialogContent as r, DialogOverlay as s, Dialog$1 as t, DialogTrigger as u };
47
- //# sourceMappingURL=dialog-CstR_oRr.d.mts.map
47
+ //# sourceMappingURL=dialog-B-W-TsHv.d.cts.map
@@ -1,23 +1,23 @@
1
- import * as react_jsx_runtime163 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime42 from "react/jsx-runtime";
2
2
  import { Dialog } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/dialog.d.ts
5
5
  declare function Dialog$1({
6
6
  ...props
7
- }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime163.JSX.Element;
7
+ }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime42.JSX.Element;
8
8
  declare function DialogTrigger({
9
9
  ...props
10
- }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime163.JSX.Element;
10
+ }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime42.JSX.Element;
11
11
  declare function DialogPortal({
12
12
  ...props
13
- }: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime163.JSX.Element;
13
+ }: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime42.JSX.Element;
14
14
  declare function DialogClose({
15
15
  ...props
16
- }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime163.JSX.Element;
16
+ }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime42.JSX.Element;
17
17
  declare function DialogOverlay({
18
18
  className,
19
19
  ...props
20
- }: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime163.JSX.Element;
20
+ }: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime42.JSX.Element;
21
21
  declare function DialogContent({
22
22
  className,
23
23
  children,
@@ -25,23 +25,23 @@ declare function DialogContent({
25
25
  ...props
26
26
  }: React.ComponentProps<typeof Dialog.Content> & {
27
27
  showCloseButton?: boolean;
28
- }): react_jsx_runtime163.JSX.Element;
28
+ }): react_jsx_runtime42.JSX.Element;
29
29
  declare function DialogHeader({
30
30
  className,
31
31
  ...props
32
- }: React.ComponentProps<'div'>): react_jsx_runtime163.JSX.Element;
32
+ }: React.ComponentProps<'div'>): react_jsx_runtime42.JSX.Element;
33
33
  declare function DialogFooter({
34
34
  className,
35
35
  ...props
36
- }: React.ComponentProps<'div'>): react_jsx_runtime163.JSX.Element;
36
+ }: React.ComponentProps<'div'>): react_jsx_runtime42.JSX.Element;
37
37
  declare function DialogTitle({
38
38
  className,
39
39
  ...props
40
- }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime163.JSX.Element;
40
+ }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime42.JSX.Element;
41
41
  declare function DialogDescription({
42
42
  className,
43
43
  ...props
44
- }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime163.JSX.Element;
44
+ }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime42.JSX.Element;
45
45
  //#endregion
46
46
  export { DialogFooter as a, DialogPortal as c, DialogDescription as i, DialogTitle as l, DialogClose as n, DialogHeader as o, DialogContent as r, DialogOverlay as s, Dialog$1 as t, DialogTrigger as u };
47
- //# sourceMappingURL=dialog-DJ_WrGvX.d.cts.map
47
+ //# sourceMappingURL=dialog-DTDroSTP.d.mts.map
@@ -1,8 +1,8 @@
1
- import { t as Button } from "../../../button-DUf6JdVx.cjs";
2
- import { t as Input } from "../../../input-Bzo2Bgsz.cjs";
3
- import { t as Separator } from "../../../separator-CY141ab_.cjs";
4
- import { n as TooltipContent } from "../../../tooltip-JB8ZVcSM.cjs";
5
- import * as react_jsx_runtime26 from "react/jsx-runtime";
1
+ import { t as Button } from "../../../button-CVYH2lum.cjs";
2
+ import { t as Input } from "../../../input-7SdNeLmh.cjs";
3
+ import { t as Separator } from "../../../separator-BlXmdu-p.cjs";
4
+ import { n as TooltipContent } from "../../../tooltip-DOnCuFV4.cjs";
5
+ import * as react_jsx_runtime8 from "react/jsx-runtime";
6
6
  import * as class_variance_authority_types0 from "class-variance-authority/types";
7
7
  import { VariantProps } from "class-variance-authority";
8
8
 
@@ -29,7 +29,7 @@ declare function SidebarProvider({
29
29
  defaultOpen?: boolean;
30
30
  open?: boolean;
31
31
  onOpenChange?: (open: boolean) => void;
32
- }): react_jsx_runtime26.JSX.Element;
32
+ }): react_jsx_runtime8.JSX.Element;
33
33
  declare function Sidebar({
34
34
  side,
35
35
  variant,
@@ -41,70 +41,70 @@ declare function Sidebar({
41
41
  side?: 'left' | 'right';
42
42
  variant?: 'sidebar' | 'floating' | 'inset';
43
43
  collapsible?: 'offcanvas' | 'icon' | 'none';
44
- }): react_jsx_runtime26.JSX.Element;
44
+ }): react_jsx_runtime8.JSX.Element;
45
45
  declare function DetailDialogSidebarTrigger({
46
46
  className,
47
47
  onClick,
48
48
  ...props
49
- }: React.ComponentProps<typeof Button>): react_jsx_runtime26.JSX.Element;
49
+ }: React.ComponentProps<typeof Button>): react_jsx_runtime8.JSX.Element;
50
50
  declare function DetailDialogSidebarRail({
51
51
  className,
52
52
  ...props
53
- }: React.ComponentProps<'button'>): react_jsx_runtime26.JSX.Element;
53
+ }: React.ComponentProps<'button'>): react_jsx_runtime8.JSX.Element;
54
54
  declare function SidebarInset({
55
55
  className,
56
56
  ...props
57
- }: React.ComponentProps<'main'>): react_jsx_runtime26.JSX.Element;
57
+ }: React.ComponentProps<'main'>): react_jsx_runtime8.JSX.Element;
58
58
  declare function SidebarInput({
59
59
  className,
60
60
  ...props
61
- }: React.ComponentProps<typeof Input>): react_jsx_runtime26.JSX.Element;
61
+ }: React.ComponentProps<typeof Input>): react_jsx_runtime8.JSX.Element;
62
62
  declare function DetailDialogSidebarHeader({
63
63
  className,
64
64
  ...props
65
- }: React.ComponentProps<'div'>): react_jsx_runtime26.JSX.Element;
65
+ }: React.ComponentProps<'div'>): react_jsx_runtime8.JSX.Element;
66
66
  declare function DetailDialogSidebarFooter({
67
67
  className,
68
68
  ...props
69
- }: React.ComponentProps<'div'>): react_jsx_runtime26.JSX.Element;
69
+ }: React.ComponentProps<'div'>): react_jsx_runtime8.JSX.Element;
70
70
  declare function DetailDialogSidebarSeparator({
71
71
  className,
72
72
  ...props
73
- }: React.ComponentProps<typeof Separator>): react_jsx_runtime26.JSX.Element;
73
+ }: React.ComponentProps<typeof Separator>): react_jsx_runtime8.JSX.Element;
74
74
  declare function DetailDialogSidebarContent({
75
75
  className,
76
76
  ...props
77
- }: React.ComponentProps<'div'>): react_jsx_runtime26.JSX.Element;
77
+ }: React.ComponentProps<'div'>): react_jsx_runtime8.JSX.Element;
78
78
  declare function DetailDialogSidebarGroup({
79
79
  className,
80
80
  ...props
81
- }: React.ComponentProps<'div'>): react_jsx_runtime26.JSX.Element;
81
+ }: React.ComponentProps<'div'>): react_jsx_runtime8.JSX.Element;
82
82
  declare function DetailDialogSidebarGroupLabel({
83
83
  className,
84
84
  asChild,
85
85
  ...props
86
86
  }: React.ComponentProps<'div'> & {
87
87
  asChild?: boolean;
88
- }): react_jsx_runtime26.JSX.Element;
88
+ }): react_jsx_runtime8.JSX.Element;
89
89
  declare function DetailDialogSidebarGroupAction({
90
90
  className,
91
91
  asChild,
92
92
  ...props
93
93
  }: React.ComponentProps<'button'> & {
94
94
  asChild?: boolean;
95
- }): react_jsx_runtime26.JSX.Element;
95
+ }): react_jsx_runtime8.JSX.Element;
96
96
  declare function DetailDialogSidebarGroupContent({
97
97
  className,
98
98
  ...props
99
- }: React.ComponentProps<'div'>): react_jsx_runtime26.JSX.Element;
99
+ }: React.ComponentProps<'div'>): react_jsx_runtime8.JSX.Element;
100
100
  declare function DetailDialogSidebarMenu({
101
101
  className,
102
102
  ...props
103
- }: React.ComponentProps<'ul'>): react_jsx_runtime26.JSX.Element;
103
+ }: React.ComponentProps<'ul'>): react_jsx_runtime8.JSX.Element;
104
104
  declare function DetailDialogSidebarMenuItem({
105
105
  className,
106
106
  ...props
107
- }: React.ComponentProps<'li'>): react_jsx_runtime26.JSX.Element;
107
+ }: React.ComponentProps<'li'>): react_jsx_runtime8.JSX.Element;
108
108
  declare const sidebarMenuButtonVariants: (props?: ({
109
109
  variant?: "default" | "outline" | null | undefined;
110
110
  size?: "sm" | "lg" | "default" | null | undefined;
@@ -121,7 +121,7 @@ declare function DetailDialogSidebarMenuButton({
121
121
  asChild?: boolean;
122
122
  isActive?: boolean;
123
123
  tooltip?: string | React.ComponentProps<typeof TooltipContent>;
124
- } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime26.JSX.Element;
124
+ } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime8.JSX.Element;
125
125
  declare function DetailDialogSidebarMenuAction({
126
126
  className,
127
127
  asChild,
@@ -130,26 +130,26 @@ declare function DetailDialogSidebarMenuAction({
130
130
  }: React.ComponentProps<'button'> & {
131
131
  asChild?: boolean;
132
132
  showOnHover?: boolean;
133
- }): react_jsx_runtime26.JSX.Element;
133
+ }): react_jsx_runtime8.JSX.Element;
134
134
  declare function DetailDialogSidebarMenuBadge({
135
135
  className,
136
136
  ...props
137
- }: React.ComponentProps<'div'>): react_jsx_runtime26.JSX.Element;
137
+ }: React.ComponentProps<'div'>): react_jsx_runtime8.JSX.Element;
138
138
  declare function DetailDialogSidebarMenuSkeleton({
139
139
  className,
140
140
  showIcon,
141
141
  ...props
142
142
  }: React.ComponentProps<'div'> & {
143
143
  showIcon?: boolean;
144
- }): react_jsx_runtime26.JSX.Element;
144
+ }): react_jsx_runtime8.JSX.Element;
145
145
  declare function DetailDialogSidebarMenuSub({
146
146
  className,
147
147
  ...props
148
- }: React.ComponentProps<'ul'>): react_jsx_runtime26.JSX.Element;
148
+ }: React.ComponentProps<'ul'>): react_jsx_runtime8.JSX.Element;
149
149
  declare function DetailDialogSidebarMenuSubItem({
150
150
  className,
151
151
  ...props
152
- }: React.ComponentProps<'li'>): react_jsx_runtime26.JSX.Element;
152
+ }: React.ComponentProps<'li'>): react_jsx_runtime8.JSX.Element;
153
153
  declare function DetailDialogSidebarMenuSubButton({
154
154
  asChild,
155
155
  size,
@@ -160,7 +160,7 @@ declare function DetailDialogSidebarMenuSubButton({
160
160
  asChild?: boolean;
161
161
  size?: 'sm' | 'md';
162
162
  isActive?: boolean;
163
- }): react_jsx_runtime26.JSX.Element;
163
+ }): react_jsx_runtime8.JSX.Element;
164
164
  //#endregion
165
165
  export { DetailDialogSidebarContent, DetailDialogSidebarFooter, DetailDialogSidebarGroup, DetailDialogSidebarGroupAction, DetailDialogSidebarGroupContent, DetailDialogSidebarGroupLabel, DetailDialogSidebarHeader, DetailDialogSidebarMenu, DetailDialogSidebarMenuAction, DetailDialogSidebarMenuBadge, DetailDialogSidebarMenuButton, DetailDialogSidebarMenuItem, DetailDialogSidebarMenuSkeleton, DetailDialogSidebarMenuSub, DetailDialogSidebarMenuSubButton, DetailDialogSidebarMenuSubItem, DetailDialogSidebarRail, DetailDialogSidebarSeparator, DetailDialogSidebarTrigger, Sidebar, SidebarInput, SidebarInset, SidebarProvider, useSidebar };
166
166
  //# sourceMappingURL=sidebar.d.cts.map
@@ -1,7 +1,7 @@
1
- import { t as Button } from "../../../button-Dv8PU7Hv.mjs";
2
- import { t as Input } from "../../../input-DJh6tJbB.mjs";
3
- import { t as Separator } from "../../../separator-CbnkvGgQ.mjs";
4
- import { n as TooltipContent } from "../../../tooltip-DbdlL_22.mjs";
1
+ import { t as Button } from "../../../button-C2mvaa5I.mjs";
2
+ import { t as Input } from "../../../input-Dh6hVhHG.mjs";
3
+ import { t as Separator } from "../../../separator-uqlPXXM6.mjs";
4
+ import { n as TooltipContent } from "../../../tooltip-DWHcJkRL.mjs";
5
5
  import * as react_jsx_runtime3 from "react/jsx-runtime";
6
6
  import { VariantProps } from "class-variance-authority";
7
7
  import * as class_variance_authority_types0 from "class-variance-authority/types";
@@ -1,2 +1,2 @@
1
- const e=require(`../../chunk-Bmb41Sf3.cjs`);require(`../../card-CXsIpa9Y.cjs`),require(`../../button.variants-C--cfyfH.cjs`),require(`../../button-DtFiUaY7.cjs`),require(`../../skeleton-C4suljHP.cjs`);const t=require(`../../flex-BYj-xYaw.cjs`),n=require(`../../date-DU8xM0hQ.cjs`);require(`../../tooltip-zYWazsY5.cjs`),require(`../../close-CXhpIVAZ.cjs`);const r=require(`../../dialog-DZ_gg6Ol.cjs`),i=require(`../../title-C4XNLXSe.cjs`);require(`../../input-DhUevNkc.cjs`),require(`../../separator-D3CGKwyf.cjs`),require(`../../sheet-DtWL6WcJ.cjs`);const a=require(`./component/sidebar.cjs`);let o=require(`@customafk/react-toolkit/utils`),s=require(`react/jsx-runtime`),c=require(`lucide-react`);const l=()=>(0,s.jsxs)(r.o,{className:`sr-only`,children:[(0,s.jsx)(r.l,{className:`sr-only`}),(0,s.jsx)(r.i,{className:`sr-only`})]}),u=({children:e})=>(0,s.jsx)(`main`,{"data-slot":`detail-dialog-main`,className:`relative h-full flex-1`,children:(0,s.jsx)(t.t,{padding:`none`,gap:`none`,vertical:!0,align:`stretch`,className:`absolute inset-0 size-full`,children:e})}),d=({title:e,createdAt:r})=>(0,s.jsxs)(`header`,{className:`bg-card border-border-weak flex w-full flex-0 items-start gap-x-2.5 border-b py-2.5 pr-12 pl-2`,children:[(0,s.jsx)(a.DetailDialogSidebarTrigger,{}),(0,s.jsxs)(t.t,{vertical:!0,align:`start`,padding:`none`,width:`null`,wrap:!1,className:`flex-1`,children:[(0,s.jsx)(i.t,{level:5,className:`line-clamp-1 truncate text-wrap`,children:e||`Detail Dialog`}),(0,s.jsxs)(t.t,{padding:`none`,className:`text-text-positive-weak relative`,children:[(0,s.jsx)(c.CalendarIcon,{size:12,className:`absolute top-0.5 md:top-1`}),!!r&&(0,s.jsx)(n.t,{showTime:!0,showHoliday:!0,date:r,format:`full`,className:`ml-4 text-xs md:text-sm`})]})]})]}),f=({children:e})=>(0,s.jsx)(r.r,{className:(0,o.cn)(`relative h-full overflow-hidden border-none p-0`,`rounded-none md:rounded-lg`,`max-h-dvh max-w-svw`,`md:max-h-[90dvh] md:max-w-[90svw]`,`xl:max-h-[90dvh] xl:max-w-[90svw]`,`2xl:max-h-[90dvh] 2xl:max-w-7xl`),onInteractOutside:e=>{e.preventDefault(),e.stopPropagation()},children:e}),p=({title:e,sidebarFooter:t,children:n})=>(0,s.jsxs)(a.Sidebar,{collapsible:`icon`,className:`shadow-nav z-20 hidden md:flex`,children:[(0,s.jsx)(a.DetailDialogSidebarHeader,{children:(0,s.jsx)(a.DetailDialogSidebarMenu,{children:(0,s.jsx)(a.DetailDialogSidebarMenuItem,{children:(0,s.jsxs)(a.DetailDialogSidebarMenuButton,{size:`lg`,tabIndex:-1,children:[(0,s.jsx)(`div`,{className:`bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg`,children:(0,s.jsx)(c.CatIcon,{size:16})}),(0,s.jsxs)(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[(0,s.jsx)(`span`,{className:`truncate font-medium`,children:e||`Detail Dialog`}),(0,s.jsx)(`span`,{className:`truncate text-xs`,children:`Lunas Enterprise`})]})]})})})}),(0,s.jsx)(a.DetailDialogSidebarContent,{children:(0,s.jsx)(a.DetailDialogSidebarGroup,{children:n})}),t&&(0,s.jsx)(a.DetailDialogSidebarFooter,{children:t})]}),m=({open:e,isLoading:n=!1,sidebarTitle:i,sidebar:o,sidebarFooter:c,title:m,createdAt:h,onOpenChange:g,children:_})=>(0,s.jsx)(r.t,{open:e,onOpenChange:g,children:(0,s.jsxs)(f,{children:[(0,s.jsx)(l,{}),(0,s.jsxs)(a.SidebarProvider,{className:`h-full min-h-[85dvh] items-start`,children:[(0,s.jsx)(p,{title:i,sidebarFooter:c,children:o}),(0,s.jsxs)(u,{children:[(0,s.jsx)(d,{title:m,createdAt:h}),n?(0,s.jsx)(t.t,{justify:`center`,className:`bg-muted-muted w-full flex-1 inset-shadow-sm`,children:(0,s.jsx)(`div`,{className:`loader`})}):(0,s.jsx)(`section`,{className:`bg-muted-muted relative flex flex-1 snap-y flex-col gap-0 overflow-y-auto inset-shadow-sm`,children:_})]})]})]})});exports.DetailDialog=m;
1
+ const e=require(`../../chunk-Bmb41Sf3.cjs`);require(`../../card-wGoU4Xiq.cjs`),require(`../../button.variants-C--cfyfH.cjs`),require(`../../button-DtFiUaY7.cjs`),require(`../../skeleton-C4suljHP.cjs`);const t=require(`../../flex-BYj-xYaw.cjs`),n=require(`../../date-DU8xM0hQ.cjs`);require(`../../tooltip-zYWazsY5.cjs`),require(`../../close-CXhpIVAZ.cjs`);const r=require(`../../dialog-DZ_gg6Ol.cjs`),i=require(`../../title-C4XNLXSe.cjs`);require(`../../input-DhUevNkc.cjs`),require(`../../separator-D3CGKwyf.cjs`),require(`../../sheet-DtWL6WcJ.cjs`);const a=require(`./component/sidebar.cjs`);let o=require(`@customafk/react-toolkit/utils`),s=require(`react/jsx-runtime`),c=require(`lucide-react`);const l=()=>(0,s.jsxs)(r.o,{className:`sr-only`,children:[(0,s.jsx)(r.l,{className:`sr-only`}),(0,s.jsx)(r.i,{className:`sr-only`})]}),u=({children:e})=>(0,s.jsx)(`main`,{"data-slot":`detail-dialog-main`,className:`relative h-full flex-1`,children:(0,s.jsx)(t.t,{padding:`none`,gap:`none`,vertical:!0,align:`stretch`,className:`absolute inset-0 size-full`,children:e})}),d=({title:e,createdAt:r})=>(0,s.jsxs)(`header`,{className:`bg-card border-border-weak flex w-full flex-0 items-start gap-x-2.5 border-b py-2.5 pr-12 pl-2`,children:[(0,s.jsx)(a.DetailDialogSidebarTrigger,{}),(0,s.jsxs)(t.t,{vertical:!0,align:`start`,padding:`none`,width:`null`,wrap:!1,className:`flex-1`,children:[(0,s.jsx)(i.t,{level:5,className:`line-clamp-1 truncate text-wrap`,children:e||`Detail Dialog`}),(0,s.jsxs)(t.t,{padding:`none`,className:`text-text-positive-weak relative`,children:[(0,s.jsx)(c.CalendarIcon,{size:12,className:`absolute top-0.5 md:top-1`}),!!r&&(0,s.jsx)(n.t,{showTime:!0,showHoliday:!0,date:r,format:`full`,className:`ml-4 text-xs md:text-sm`})]})]})]}),f=({children:e})=>(0,s.jsx)(r.r,{className:(0,o.cn)(`relative h-full overflow-hidden border-none p-0`,`rounded-none md:rounded-lg`,`max-h-dvh max-w-svw`,`md:max-h-[90dvh] md:max-w-[90svw]`,`xl:max-h-[90dvh] xl:max-w-[90svw]`,`2xl:max-h-[90dvh] 2xl:max-w-7xl`),onInteractOutside:e=>{e.preventDefault(),e.stopPropagation()},children:e}),p=({title:e,sidebarFooter:t,children:n})=>(0,s.jsxs)(a.Sidebar,{collapsible:`icon`,className:`shadow-nav z-20 hidden md:flex`,children:[(0,s.jsx)(a.DetailDialogSidebarHeader,{children:(0,s.jsx)(a.DetailDialogSidebarMenu,{children:(0,s.jsx)(a.DetailDialogSidebarMenuItem,{children:(0,s.jsxs)(a.DetailDialogSidebarMenuButton,{size:`lg`,tabIndex:-1,children:[(0,s.jsx)(`div`,{className:`bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg`,children:(0,s.jsx)(c.CatIcon,{size:16})}),(0,s.jsxs)(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[(0,s.jsx)(`span`,{className:`truncate font-medium`,children:e||`Detail Dialog`}),(0,s.jsx)(`span`,{className:`truncate text-xs`,children:`Lunas Enterprise`})]})]})})})}),(0,s.jsx)(a.DetailDialogSidebarContent,{children:(0,s.jsx)(a.DetailDialogSidebarGroup,{children:n})}),t&&(0,s.jsx)(a.DetailDialogSidebarFooter,{children:t})]}),m=({open:e,isLoading:n=!1,sidebarTitle:i,sidebar:o,sidebarFooter:c,title:m,createdAt:h,onOpenChange:g,children:_})=>(0,s.jsx)(r.t,{open:e,onOpenChange:g,children:(0,s.jsxs)(f,{children:[(0,s.jsx)(l,{}),(0,s.jsxs)(a.SidebarProvider,{className:`h-full min-h-[85dvh] items-start`,children:[(0,s.jsx)(p,{title:i,sidebarFooter:c,children:o}),(0,s.jsxs)(u,{children:[(0,s.jsx)(d,{title:m,createdAt:h}),n?(0,s.jsx)(t.t,{justify:`center`,className:`bg-muted-muted w-full flex-1 inset-shadow-sm`,children:(0,s.jsx)(`div`,{className:`loader`})}):(0,s.jsx)(`section`,{className:`bg-muted-muted relative flex flex-1 snap-y flex-col gap-0 overflow-y-auto inset-shadow-sm`,children:_})]})]})]})});exports.DetailDialog=m;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,2 +1,2 @@
1
- import"../../card-jwcpmq7e.mjs";import"../../button.variants-DmUzMbB8.mjs";import"../../button-DIEXNBpi.mjs";import"../../skeleton-CvZncisJ.mjs";import{t as e}from"../../flex-BGQqaHKh.mjs";import{t}from"../../date-Vl-tZLuD.mjs";import"../../tooltip-D0XDvxqi.mjs";import"../../close-CGei_VQ6.mjs";import{i as n,l as r,o as i,r as a,t as o}from"../../dialog-DeZVOOmh.mjs";import{t as s}from"../../title-CMJS7QS7.mjs";import"../../input-CC10BdKh.mjs";import"../../separator-C2yOD6r_.mjs";import"../../sheet-DXLayspn.mjs";import{DetailDialogSidebarContent as c,DetailDialogSidebarFooter as l,DetailDialogSidebarGroup as u,DetailDialogSidebarHeader as d,DetailDialogSidebarMenu as f,DetailDialogSidebarMenuButton as p,DetailDialogSidebarMenuItem as m,DetailDialogSidebarTrigger as h,Sidebar as g,SidebarProvider as _}from"./component/sidebar.mjs";import{cn as v}from"@customafk/react-toolkit/utils";import{jsx as y,jsxs as b}from"react/jsx-runtime";import{CalendarIcon as x,CatIcon as S}from"lucide-react";const C=()=>b(i,{className:`sr-only`,children:[y(r,{className:`sr-only`}),y(n,{className:`sr-only`})]}),w=({children:t})=>y(`main`,{"data-slot":`detail-dialog-main`,className:`relative h-full flex-1`,children:y(e,{padding:`none`,gap:`none`,vertical:!0,align:`stretch`,className:`absolute inset-0 size-full`,children:t})}),T=({title:n,createdAt:r})=>b(`header`,{className:`bg-card border-border-weak flex w-full flex-0 items-start gap-x-2.5 border-b py-2.5 pr-12 pl-2`,children:[y(h,{}),b(e,{vertical:!0,align:`start`,padding:`none`,width:`null`,wrap:!1,className:`flex-1`,children:[y(s,{level:5,className:`line-clamp-1 truncate text-wrap`,children:n||`Detail Dialog`}),b(e,{padding:`none`,className:`text-text-positive-weak relative`,children:[y(x,{size:12,className:`absolute top-0.5 md:top-1`}),!!r&&y(t,{showTime:!0,showHoliday:!0,date:r,format:`full`,className:`ml-4 text-xs md:text-sm`})]})]})]}),E=({children:e})=>y(a,{className:v(`relative h-full overflow-hidden border-none p-0`,`rounded-none md:rounded-lg`,`max-h-dvh max-w-svw`,`md:max-h-[90dvh] md:max-w-[90svw]`,`xl:max-h-[90dvh] xl:max-w-[90svw]`,`2xl:max-h-[90dvh] 2xl:max-w-7xl`),onInteractOutside:e=>{e.preventDefault(),e.stopPropagation()},children:e}),D=({title:e,sidebarFooter:t,children:n})=>b(g,{collapsible:`icon`,className:`shadow-nav z-20 hidden md:flex`,children:[y(d,{children:y(f,{children:y(m,{children:b(p,{size:`lg`,tabIndex:-1,children:[y(`div`,{className:`bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg`,children:y(S,{size:16})}),b(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[y(`span`,{className:`truncate font-medium`,children:e||`Detail Dialog`}),y(`span`,{className:`truncate text-xs`,children:`Lunas Enterprise`})]})]})})})}),y(c,{children:y(u,{children:n})}),t&&y(l,{children:t})]}),O=({open:t,isLoading:n=!1,sidebarTitle:r,sidebar:i,sidebarFooter:a,title:s,createdAt:c,onOpenChange:l,children:u})=>y(o,{open:t,onOpenChange:l,children:b(E,{children:[y(C,{}),b(_,{className:`h-full min-h-[85dvh] items-start`,children:[y(D,{title:r,sidebarFooter:a,children:i}),b(w,{children:[y(T,{title:s,createdAt:c}),n?y(e,{justify:`center`,className:`bg-muted-muted w-full flex-1 inset-shadow-sm`,children:y(`div`,{className:`loader`})}):y(`section`,{className:`bg-muted-muted relative flex flex-1 snap-y flex-col gap-0 overflow-y-auto inset-shadow-sm`,children:u})]})]})]})});export{O as DetailDialog};
1
+ import"../../card-CWAdGhMr.mjs";import"../../button.variants-DmUzMbB8.mjs";import"../../button-DIEXNBpi.mjs";import"../../skeleton-CvZncisJ.mjs";import{t as e}from"../../flex-BGQqaHKh.mjs";import{t}from"../../date-Vl-tZLuD.mjs";import"../../tooltip-D0XDvxqi.mjs";import"../../close-CGei_VQ6.mjs";import{i as n,l as r,o as i,r as a,t as o}from"../../dialog-DeZVOOmh.mjs";import{t as s}from"../../title-CMJS7QS7.mjs";import"../../input-CC10BdKh.mjs";import"../../separator-C2yOD6r_.mjs";import"../../sheet-DXLayspn.mjs";import{DetailDialogSidebarContent as c,DetailDialogSidebarFooter as l,DetailDialogSidebarGroup as u,DetailDialogSidebarHeader as d,DetailDialogSidebarMenu as f,DetailDialogSidebarMenuButton as p,DetailDialogSidebarMenuItem as m,DetailDialogSidebarTrigger as h,Sidebar as g,SidebarProvider as _}from"./component/sidebar.mjs";import{cn as v}from"@customafk/react-toolkit/utils";import{jsx as y,jsxs as b}from"react/jsx-runtime";import{CalendarIcon as x,CatIcon as S}from"lucide-react";const C=()=>b(i,{className:`sr-only`,children:[y(r,{className:`sr-only`}),y(n,{className:`sr-only`})]}),w=({children:t})=>y(`main`,{"data-slot":`detail-dialog-main`,className:`relative h-full flex-1`,children:y(e,{padding:`none`,gap:`none`,vertical:!0,align:`stretch`,className:`absolute inset-0 size-full`,children:t})}),T=({title:n,createdAt:r})=>b(`header`,{className:`bg-card border-border-weak flex w-full flex-0 items-start gap-x-2.5 border-b py-2.5 pr-12 pl-2`,children:[y(h,{}),b(e,{vertical:!0,align:`start`,padding:`none`,width:`null`,wrap:!1,className:`flex-1`,children:[y(s,{level:5,className:`line-clamp-1 truncate text-wrap`,children:n||`Detail Dialog`}),b(e,{padding:`none`,className:`text-text-positive-weak relative`,children:[y(x,{size:12,className:`absolute top-0.5 md:top-1`}),!!r&&y(t,{showTime:!0,showHoliday:!0,date:r,format:`full`,className:`ml-4 text-xs md:text-sm`})]})]})]}),E=({children:e})=>y(a,{className:v(`relative h-full overflow-hidden border-none p-0`,`rounded-none md:rounded-lg`,`max-h-dvh max-w-svw`,`md:max-h-[90dvh] md:max-w-[90svw]`,`xl:max-h-[90dvh] xl:max-w-[90svw]`,`2xl:max-h-[90dvh] 2xl:max-w-7xl`),onInteractOutside:e=>{e.preventDefault(),e.stopPropagation()},children:e}),D=({title:e,sidebarFooter:t,children:n})=>b(g,{collapsible:`icon`,className:`shadow-nav z-20 hidden md:flex`,children:[y(d,{children:y(f,{children:y(m,{children:b(p,{size:`lg`,tabIndex:-1,children:[y(`div`,{className:`bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg`,children:y(S,{size:16})}),b(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[y(`span`,{className:`truncate font-medium`,children:e||`Detail Dialog`}),y(`span`,{className:`truncate text-xs`,children:`Lunas Enterprise`})]})]})})})}),y(c,{children:y(u,{children:n})}),t&&y(l,{children:t})]}),O=({open:t,isLoading:n=!1,sidebarTitle:r,sidebar:i,sidebarFooter:a,title:s,createdAt:c,onOpenChange:l,children:u})=>y(o,{open:t,onOpenChange:l,children:b(E,{children:[y(C,{}),b(_,{className:`h-full min-h-[85dvh] items-start`,children:[y(D,{title:r,sidebarFooter:a,children:i}),b(w,{children:[y(T,{title:s,createdAt:c}),n?y(e,{justify:`center`,className:`bg-muted-muted w-full flex-1 inset-shadow-sm`,children:y(`div`,{className:`loader`})}):y(`section`,{className:`bg-muted-muted relative flex flex-1 snap-y flex-col gap-0 overflow-y-auto inset-shadow-sm`,children:u})]})]})]})});export{O as DetailDialog};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime1 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/features/search-modal/index.d.ts
4
- declare const SearchModal: () => react_jsx_runtime1.JSX.Element;
4
+ declare const SearchModal: () => react_jsx_runtime2.JSX.Element;
5
5
  //#endregion
6
6
  export { SearchModal };
7
7
  //# sourceMappingURL=index.d.cts.map
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime2 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime27 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/features/search-modal/index.d.ts
4
- declare const SearchModal: () => react_jsx_runtime2.JSX.Element;
4
+ declare const SearchModal: () => react_jsx_runtime27.JSX.Element;
5
5
  //#endregion
6
6
  export { SearchModal };
7
7
  //# sourceMappingURL=index.d.mts.map
@@ -1,5 +1,5 @@
1
- import { t as Input } from "../../input-Bzo2Bgsz.cjs";
2
- import * as react_jsx_runtime292 from "react/jsx-runtime";
1
+ import { t as Input } from "../../input-7SdNeLmh.cjs";
2
+ import * as react_jsx_runtime336 from "react/jsx-runtime";
3
3
  import { AccessorKeyColumnDef, ColumnPinningState, RowData, RowSelectionState, Table } from "@tanstack/react-table";
4
4
  import { VirtualItem, Virtualizer } from "@tanstack/react-virtual";
5
5
 
@@ -28,7 +28,7 @@ declare const UITableFooter: React.FC<React.PropsWithChildren>;
28
28
  declare const UITableContainer: React.FC<React.PropsWithChildren>;
29
29
  //#endregion
30
30
  //#region packages/components/features/tables/components/table/filter.d.ts
31
- declare const UITableFilter: () => react_jsx_runtime292.JSX.Element;
31
+ declare const UITableFilter: () => react_jsx_runtime336.JSX.Element;
32
32
  //#endregion
33
33
  //#region packages/components/features/tables/types.d.ts
34
34
  type TUITableColumn<TData extends RowData> = Pick<AccessorKeyColumnDef<TData, unknown>, 'accessorKey' | 'size' | 'maxSize' | 'minSize' | 'header' | 'cell'>;
@@ -64,7 +64,7 @@ declare const UITableProvider: <TData extends RowData>({
64
64
  totalRows,
65
65
  fetchMoreData,
66
66
  children
67
- }: React.PropsWithChildren<TableProviderProps<TData>>) => react_jsx_runtime292.JSX.Element;
67
+ }: React.PropsWithChildren<TableProviderProps<TData>>) => react_jsx_runtime336.JSX.Element;
68
68
  //#endregion
69
69
  //#region packages/components/features/tables/components/table/tooltip.d.ts
70
70
  declare const UITableTooltipFilter: React.FC<React.ComponentProps<typeof Input>>;
@@ -1,4 +1,4 @@
1
- import { t as Input } from "../../input-DJh6tJbB.mjs";
1
+ import { t as Input } from "../../input-Dh6hVhHG.mjs";
2
2
  import * as react_jsx_runtime336 from "react/jsx-runtime";
3
3
  import { AccessorKeyColumnDef, ColumnPinningState, RowData, RowSelectionState, Table } from "@tanstack/react-table";
4
4
  import { VirtualItem, Virtualizer } from "@tanstack/react-virtual";
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime227 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime156 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
 
5
5
  //#region packages/components/ui/input.variants.d.ts
6
6
  declare const inputVariants: (props?: ({
7
- variant?: "outline" | "none" | "ghost" | "soft" | "subtle" | null | undefined;
7
+ variant?: "none" | "outline" | "soft" | "subtle" | "ghost" | null | undefined;
8
8
  size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
9
9
  } & class_variance_authority_types10.ClassProp) | undefined) => string;
10
10
  type InputVariantProps = VariantProps<typeof inputVariants>;
@@ -21,7 +21,7 @@ declare function Input({
21
21
  variant?: InputVariantProps['variant'];
22
22
  size?: InputVariantProps['size'];
23
23
  onValueChange?: (value: string) => void;
24
- }): react_jsx_runtime227.JSX.Element;
24
+ }): react_jsx_runtime156.JSX.Element;
25
25
  //#endregion
26
26
  export { Input as t };
27
- //# sourceMappingURL=input-Bzo2Bgsz.d.cts.map
27
+ //# sourceMappingURL=input-7SdNeLmh.d.cts.map