@customafk/lunas-ui 0.0.47 → 0.0.48

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 (191) hide show
  1. package/dist/{add-new-Cjqcjsb8.js → add-new-Dh5DHcIR.js} +1 -1
  2. package/dist/{add-new-Cjqcjsb8.js.map → add-new-Dh5DHcIR.js.map} +1 -1
  3. package/dist/{add-new-ojR4JdT-.cjs → add-new-DpIEmGuZ.cjs} +1 -1
  4. package/dist/{add-new-ojR4JdT-.cjs.map → add-new-DpIEmGuZ.cjs.map} +1 -1
  5. package/dist/{button-CpdBtQM2.d.cts → button-Dh6u3-o8.d.cts} +6 -6
  6. package/dist/{button-Cv060uky.d.ts → button-y_YnE05_.d.ts} +6 -6
  7. package/dist/{command-DVd5YgS5.d.cts → command-CTGQneSF.d.ts} +12 -12
  8. package/dist/{command-C5ZklUU1.d.ts → command-DfmvH4rn.d.cts} +12 -12
  9. package/dist/data-display/empty.d.cts +2 -2
  10. package/dist/data-display/empty.d.ts +2 -2
  11. package/dist/data-display/statistic.d.cts +2 -2
  12. package/dist/data-display/statistic.d.ts +2 -2
  13. package/dist/{dialog-CoH1pTBH.d.ts → dialog-BxWjuuQi.d.ts} +12 -12
  14. package/dist/{dialog-FTlFnjJF.d.cts → dialog-DA0--feR.d.cts} +12 -12
  15. package/dist/dialogs/detail-dialog/component/sidebar.d.cts +28 -28
  16. package/dist/dialogs/detail-dialog/component/sidebar.d.ts +4 -4
  17. package/dist/dialogs/detail-dialog/index.cjs +1 -1
  18. package/dist/dialogs/detail-dialog/index.js +1 -1
  19. package/dist/dialogs/form-dialog.cjs +1 -1
  20. package/dist/dialogs/form-dialog.cjs.map +1 -1
  21. package/dist/dialogs/form-dialog.d.cts +2 -2
  22. package/dist/dialogs/form-dialog.d.ts +2 -2
  23. package/dist/dialogs/form-dialog.js +1 -1
  24. package/dist/dialogs/form-dialog.js.map +1 -1
  25. package/dist/{dropdown-menu-CwOzdfK7.js → dropdown-menu-CUy41gxe.js} +1 -1
  26. package/dist/{dropdown-menu-CwOzdfK7.js.map → dropdown-menu-CUy41gxe.js.map} +1 -1
  27. package/dist/{dropdown-menu-DCzZUtLD.cjs → dropdown-menu-DEhXEA7P.cjs} +1 -1
  28. package/dist/{dropdown-menu-DCzZUtLD.cjs.map → dropdown-menu-DEhXEA7P.cjs.map} +1 -1
  29. package/dist/forms/combobox-field.d.cts +2 -2
  30. package/dist/forms/combobox-field.d.ts +2 -2
  31. package/dist/forms/date-field.d.cts +2 -2
  32. package/dist/forms/date-field.d.ts +2 -2
  33. package/dist/forms/form-wrapper.d.cts +2 -2
  34. package/dist/forms/form-wrapper.d.ts +2 -2
  35. package/dist/forms/multi-select-field.d.cts +2 -2
  36. package/dist/forms/number-field.d.cts +2 -2
  37. package/dist/forms/number-field.d.ts +2 -2
  38. package/dist/forms/password-field.d.cts +2 -2
  39. package/dist/forms/password-field.d.ts +2 -2
  40. package/dist/forms/select-field.d.cts +2 -2
  41. package/dist/forms/switch-field.d.cts +2 -2
  42. package/dist/forms/switch-field.d.ts +2 -2
  43. package/dist/forms/text-field.d.cts +2 -2
  44. package/dist/forms/text-field.d.ts +2 -2
  45. package/dist/forms/textarea-field.d.cts +2 -2
  46. package/dist/forms/textarea-field.d.ts +2 -2
  47. package/dist/{input-BhbkfnN0.d.ts → input-CPVgX36w.d.ts} +3 -3
  48. package/dist/{input-BWl5H7q7.d.cts → input-Ci55gNyE.d.cts} +3 -3
  49. package/dist/layouts/app-layout/index.d.cts +3 -3
  50. package/dist/layouts/app-layout/index.d.ts +3 -3
  51. package/dist/layouts/flex.d.cts +2 -2
  52. package/dist/layouts/flex.d.ts +4 -4
  53. package/dist/{refresh-CE6rdriE.cjs → refresh-97lkLRMu.cjs} +1 -1
  54. package/dist/{refresh-CE6rdriE.cjs.map → refresh-97lkLRMu.cjs.map} +1 -1
  55. package/dist/{refresh-q_l82UhV.js → refresh-DoLAmr6W.js} +1 -1
  56. package/dist/{refresh-q_l82UhV.js.map → refresh-DoLAmr6W.js.map} +1 -1
  57. package/dist/{scroll-area-CQ6N4gco.js → scroll-area-CIgY0dx7.js} +1 -1
  58. package/dist/{scroll-area-CQ6N4gco.js.map → scroll-area-CIgY0dx7.js.map} +1 -1
  59. package/dist/{scroll-area-DWFiNHIK.cjs → scroll-area-DC3bOFao.cjs} +1 -1
  60. package/dist/{scroll-area-DWFiNHIK.cjs.map → scroll-area-DC3bOFao.cjs.map} +1 -1
  61. package/dist/{search-input-DzRJf6qI.cjs → search-input-C7mm7Uc5.cjs} +1 -1
  62. package/dist/{search-input-DzRJf6qI.cjs.map → search-input-C7mm7Uc5.cjs.map} +1 -1
  63. package/dist/{search-input-CP1CX74C.js → search-input-DfpaWtQ8.js} +1 -1
  64. package/dist/{search-input-CP1CX74C.js.map → search-input-DfpaWtQ8.js.map} +1 -1
  65. package/dist/{separator-DxaLffrB.d.ts → separator-5FdzRGaJ.d.ts} +3 -3
  66. package/dist/{separator-kimYbMNz.d.cts → separator-BJoqBpEK.d.cts} +3 -3
  67. package/dist/table/index.cjs +1 -1
  68. package/dist/table/index.d.cts +2 -2
  69. package/dist/table/index.d.ts +2 -2
  70. package/dist/table/index.js +1 -1
  71. package/dist/{table-Bpzbgpff.js → table-C_mNufXs.js} +2 -2
  72. package/dist/{table-Bpzbgpff.js.map → table-C_mNufXs.js.map} +1 -1
  73. package/dist/{table-0gtpLtja.cjs → table-CxeV7aJw.cjs} +2 -2
  74. package/dist/{table-0gtpLtja.cjs.map → table-CxeV7aJw.cjs.map} +1 -1
  75. package/dist/{title-6Uosk2b4.cjs → title-C3bbuPGv.cjs} +1 -1
  76. package/dist/{title-6Uosk2b4.cjs.map → title-C3bbuPGv.cjs.map} +1 -1
  77. package/dist/{title-CxIwADiB.js → title-Dz5mmcHL.js} +1 -1
  78. package/dist/{title-CxIwADiB.js.map → title-Dz5mmcHL.js.map} +1 -1
  79. package/dist/{toggle-DG-wtPqG.d.cts → toggle-BfoJYg-U.d.cts} +5 -5
  80. package/dist/{toggle-B2KZVUXf.d.ts → toggle-TyuitPly.d.ts} +5 -5
  81. package/dist/{tooltip-BJeReTeQ.d.cts → tooltip-CwnnP95E.d.cts} +6 -6
  82. package/dist/{tooltip-qTM9vL1r.d.ts → tooltip-DFsHixOs.d.ts} +6 -6
  83. package/dist/typography/paragraph.d.cts +2 -2
  84. package/dist/typography/paragraph.d.ts +2 -2
  85. package/dist/typography/title.cjs +1 -1
  86. package/dist/typography/title.d.cts +2 -2
  87. package/dist/typography/title.d.ts +2 -2
  88. package/dist/typography/title.js +1 -1
  89. package/dist/ui/alert-dialog.d.cts +12 -12
  90. package/dist/ui/alert-dialog.d.ts +12 -12
  91. package/dist/ui/alert.d.cts +6 -6
  92. package/dist/ui/alert.d.ts +4 -4
  93. package/dist/ui/aspect-ratio.d.cts +2 -2
  94. package/dist/ui/aspect-ratio.d.ts +2 -2
  95. package/dist/ui/avatar.d.cts +4 -4
  96. package/dist/ui/avatar.d.ts +4 -4
  97. package/dist/ui/badge.d.cts +4 -4
  98. package/dist/ui/badge.d.ts +4 -4
  99. package/dist/ui/breadcrumb.d.cts +8 -8
  100. package/dist/ui/breadcrumb.d.ts +8 -8
  101. package/dist/ui/button.d.cts +1 -1
  102. package/dist/ui/button.d.ts +1 -1
  103. package/dist/ui/buttons/add-new.cjs +1 -1
  104. package/dist/ui/buttons/add-new.js +1 -1
  105. package/dist/ui/buttons/refresh.cjs +1 -1
  106. package/dist/ui/buttons/refresh.js +1 -1
  107. package/dist/ui/calendar.d.cts +4 -4
  108. package/dist/ui/calendar.d.ts +4 -4
  109. package/dist/ui/card.d.cts +8 -8
  110. package/dist/ui/card.d.ts +8 -8
  111. package/dist/ui/carousel.d.cts +7 -7
  112. package/dist/ui/carousel.d.ts +7 -7
  113. package/dist/ui/collapsible.d.cts +4 -4
  114. package/dist/ui/collapsible.d.ts +4 -4
  115. package/dist/ui/command.d.cts +2 -2
  116. package/dist/ui/command.d.ts +2 -2
  117. package/dist/ui/context-menu.d.cts +16 -16
  118. package/dist/ui/context-menu.d.ts +16 -16
  119. package/dist/ui/dialog.d.cts +1 -1
  120. package/dist/ui/dialog.d.ts +1 -1
  121. package/dist/ui/dropdown-menu.cjs +1 -1
  122. package/dist/ui/dropdown-menu.d.cts +16 -16
  123. package/dist/ui/dropdown-menu.d.ts +16 -16
  124. package/dist/ui/dropdown-menu.js +1 -1
  125. package/dist/ui/file-uploader.d.cts +2 -2
  126. package/dist/ui/file-uploader.d.ts +2 -2
  127. package/dist/ui/form.d.cts +7 -7
  128. package/dist/ui/form.d.ts +7 -7
  129. package/dist/ui/hover-card.d.cts +4 -4
  130. package/dist/ui/hover-card.d.ts +4 -4
  131. package/dist/ui/input-otp.d.cts +5 -5
  132. package/dist/ui/input-otp.d.ts +5 -5
  133. package/dist/ui/input.d.cts +1 -1
  134. package/dist/ui/input.d.ts +1 -1
  135. package/dist/ui/inputs/search-input.cjs +1 -1
  136. package/dist/ui/inputs/search-input.d.cts +3 -3
  137. package/dist/ui/inputs/search-input.d.ts +3 -3
  138. package/dist/ui/inputs/search-input.js +1 -1
  139. package/dist/ui/label.d.cts +2 -2
  140. package/dist/ui/label.d.ts +2 -2
  141. package/dist/ui/menubar.d.cts +17 -17
  142. package/dist/ui/menubar.d.ts +17 -17
  143. package/dist/ui/multi-select.d.cts +2 -2
  144. package/dist/ui/multi-select.d.ts +2 -2
  145. package/dist/ui/navigation-menu.d.cts +11 -11
  146. package/dist/ui/navigation-menu.d.ts +9 -9
  147. package/dist/ui/pagination.d.cts +9 -9
  148. package/dist/ui/pagination.d.ts +9 -9
  149. package/dist/ui/popover.d.cts +5 -5
  150. package/dist/ui/popover.d.ts +5 -5
  151. package/dist/ui/progress.d.cts +2 -2
  152. package/dist/ui/progress.d.ts +2 -2
  153. package/dist/ui/radio-group.d.cts +3 -3
  154. package/dist/ui/radio-group.d.ts +3 -3
  155. package/dist/ui/resizable.d.cts +4 -4
  156. package/dist/ui/resizable.d.ts +4 -4
  157. package/dist/ui/scroll-area.cjs +1 -1
  158. package/dist/ui/scroll-area.d.cts +3 -3
  159. package/dist/ui/scroll-area.d.ts +3 -3
  160. package/dist/ui/scroll-area.js +1 -1
  161. package/dist/ui/select.d.cts +11 -11
  162. package/dist/ui/select.d.ts +11 -11
  163. package/dist/ui/separator.d.cts +1 -1
  164. package/dist/ui/separator.d.ts +1 -1
  165. package/dist/ui/sheet.d.cts +9 -9
  166. package/dist/ui/sheet.d.ts +9 -9
  167. package/dist/ui/sidebar.d.cts +28 -28
  168. package/dist/ui/sidebar.d.ts +30 -30
  169. package/dist/ui/skeleton.d.cts +2 -2
  170. package/dist/ui/skeleton.d.ts +2 -2
  171. package/dist/ui/slider.d.cts +2 -2
  172. package/dist/ui/slider.d.ts +2 -2
  173. package/dist/ui/sonner.d.cts +2 -2
  174. package/dist/ui/sonner.d.ts +2 -2
  175. package/dist/ui/switch.d.cts +2 -2
  176. package/dist/ui/switch.d.ts +2 -2
  177. package/dist/ui/table.cjs +1 -1
  178. package/dist/ui/table.d.cts +9 -9
  179. package/dist/ui/table.d.ts +9 -9
  180. package/dist/ui/table.js +1 -1
  181. package/dist/ui/tabs.d.cts +5 -5
  182. package/dist/ui/tabs.d.ts +5 -5
  183. package/dist/ui/textarea.d.cts +2 -2
  184. package/dist/ui/textarea.d.ts +2 -2
  185. package/dist/ui/toggle-group.d.cts +4 -4
  186. package/dist/ui/toggle-group.d.ts +4 -4
  187. package/dist/ui/toggle.d.cts +1 -1
  188. package/dist/ui/toggle.d.ts +1 -1
  189. package/dist/ui/tooltip.d.cts +1 -1
  190. package/dist/ui/tooltip.d.ts +1 -1
  191. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
1
  import{Paragraph as e}from"./paragraph-B4cQhLhW.js";import{Button as t}from"./button-tXV0dTFU.js";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{PlusIcon as i}from"lucide-react";const a=({onClick:a=()=>{}})=>r(t,{"aria-label":`Tạo mới`,variant:`outline`,color:`muted`,className:`outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0`,onClick:a,children:[n(i,{className:`opacity-60 sm:-ms-1`,size:16,"aria-hidden":`true`}),n(e,{variant:`sm`,className:`max-sm:sr-only`,children:`Create`})]});export{a as AddNewBtn};
2
- //# sourceMappingURL=add-new-Cjqcjsb8.js.map
2
+ //# sourceMappingURL=add-new-Dh5DHcIR.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-new-Cjqcjsb8.js","names":["AddNewBtn: React.FC<React.PropsWithChildren<Props>>"],"sources":["../packages/components/ui/buttons/add-new.tsx"],"sourcesContent":["import { PlusIcon } from 'lucide-react'\n\nimport { Paragraph } from '@/components/typography/paragraph'\n\nimport { Button } from '../button'\n\ntype Props = {\n onClick?: () => void\n}\nexport const AddNewBtn: React.FC<React.PropsWithChildren<Props>> = ({ onClick = () => {} }) => {\n return (\n <Button\n aria-label=\"Tạo mới\"\n variant=\"outline\"\n color=\"muted\"\n className=\"outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0\"\n onClick={onClick}\n >\n <PlusIcon className=\"opacity-60 sm:-ms-1\" size={16} aria-hidden=\"true\" />\n <Paragraph variant=\"sm\" className=\"max-sm:sr-only\">\n Create\n </Paragraph>\n </Button>\n )\n}\n"],"mappings":"4LASA,MAAaA,GAAuD,CAAE,cAAgB,MAElF,EAAC,EAAA,CACC,aAAW,UACX,QAAQ,UACR,MAAM,QACN,UAAU,oEACD,oBAET,EAAC,EAAA,CAAS,UAAU,sBAAsB,KAAM,GAAI,cAAY,SAChE,EAAC,EAAA,CAAU,QAAQ,KAAK,UAAU,0BAAiB"}
1
+ {"version":3,"file":"add-new-Dh5DHcIR.js","names":["AddNewBtn: React.FC<React.PropsWithChildren<Props>>"],"sources":["../packages/components/ui/buttons/add-new.tsx"],"sourcesContent":["import { PlusIcon } from 'lucide-react'\n\nimport { Paragraph } from '@/components/typography/paragraph'\n\nimport { Button } from '../button'\n\ntype Props = {\n onClick?: () => void\n}\nexport const AddNewBtn: React.FC<React.PropsWithChildren<Props>> = ({ onClick = () => {} }) => {\n return (\n <Button\n aria-label=\"Tạo mới\"\n variant=\"outline\"\n color=\"muted\"\n className=\"outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0\"\n onClick={onClick}\n >\n <PlusIcon className=\"opacity-60 sm:-ms-1\" size={16} aria-hidden=\"true\" />\n <Paragraph variant=\"sm\" className=\"max-sm:sr-only\">\n Create\n </Paragraph>\n </Button>\n )\n}\n"],"mappings":"4LASA,MAAaA,GAAuD,CAAE,cAAgB,MAElF,EAAC,EAAA,CACC,aAAW,UACX,QAAQ,UACR,MAAM,QACN,UAAU,oEACD,oBAET,EAAC,EAAA,CAAS,UAAU,sBAAsB,KAAM,GAAI,cAAY,SAChE,EAAC,EAAA,CAAU,QAAQ,KAAK,UAAU,0BAAiB"}
@@ -1,2 +1,2 @@
1
1
  const e=require(`./chunk-CUT6urMc.cjs`),t=require(`./paragraph-DcRBcRhQ.cjs`),n=require(`./button-Cg9ZsZ68.cjs`),r=e.__toESM(require(`react/jsx-runtime`)),i=e.__toESM(require(`lucide-react`)),a=({onClick:e=()=>{}})=>(0,r.jsxs)(n.Button,{"aria-label":`Tạo mới`,variant:`outline`,color:`muted`,className:`outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0`,onClick:e,children:[(0,r.jsx)(i.PlusIcon,{className:`opacity-60 sm:-ms-1`,size:16,"aria-hidden":`true`}),(0,r.jsx)(t.Paragraph,{variant:`sm`,className:`max-sm:sr-only`,children:`Create`})]});Object.defineProperty(exports,`AddNewBtn`,{enumerable:!0,get:function(){return a}});
2
- //# sourceMappingURL=add-new-ojR4JdT-.cjs.map
2
+ //# sourceMappingURL=add-new-DpIEmGuZ.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-new-ojR4JdT-.cjs","names":["AddNewBtn: React.FC<React.PropsWithChildren<Props>>","Button","PlusIcon","Paragraph"],"sources":["../packages/components/ui/buttons/add-new.tsx"],"sourcesContent":["import { PlusIcon } from 'lucide-react'\n\nimport { Paragraph } from '@/components/typography/paragraph'\n\nimport { Button } from '../button'\n\ntype Props = {\n onClick?: () => void\n}\nexport const AddNewBtn: React.FC<React.PropsWithChildren<Props>> = ({ onClick = () => {} }) => {\n return (\n <Button\n aria-label=\"Tạo mới\"\n variant=\"outline\"\n color=\"muted\"\n className=\"outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0\"\n onClick={onClick}\n >\n <PlusIcon className=\"opacity-60 sm:-ms-1\" size={16} aria-hidden=\"true\" />\n <Paragraph variant=\"sm\" className=\"max-sm:sr-only\">\n Create\n </Paragraph>\n </Button>\n )\n}\n"],"mappings":"gMASaA,GAAuD,CAAE,cAAgB,OAElF,EAAA,EAAA,MAACC,EAAAA,OAAAA,CACC,aAAW,UACX,QAAQ,UACR,MAAM,QACN,UAAU,oEACD,qBAET,EAAA,EAAA,KAACC,EAAAA,SAAAA,CAAS,UAAU,sBAAsB,KAAM,GAAI,cAAY,UAChE,EAAA,EAAA,KAACC,EAAAA,UAAAA,CAAU,QAAQ,KAAK,UAAU,0BAAiB"}
1
+ {"version":3,"file":"add-new-DpIEmGuZ.cjs","names":["AddNewBtn: React.FC<React.PropsWithChildren<Props>>","Button","PlusIcon","Paragraph"],"sources":["../packages/components/ui/buttons/add-new.tsx"],"sourcesContent":["import { PlusIcon } from 'lucide-react'\n\nimport { Paragraph } from '@/components/typography/paragraph'\n\nimport { Button } from '../button'\n\ntype Props = {\n onClick?: () => void\n}\nexport const AddNewBtn: React.FC<React.PropsWithChildren<Props>> = ({ onClick = () => {} }) => {\n return (\n <Button\n aria-label=\"Tạo mới\"\n variant=\"outline\"\n color=\"muted\"\n className=\"outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0\"\n onClick={onClick}\n >\n <PlusIcon className=\"opacity-60 sm:-ms-1\" size={16} aria-hidden=\"true\" />\n <Paragraph variant=\"sm\" className=\"max-sm:sr-only\">\n Create\n </Paragraph>\n </Button>\n )\n}\n"],"mappings":"gMASaA,GAAuD,CAAE,cAAgB,OAElF,EAAA,EAAA,MAACC,EAAAA,OAAAA,CACC,aAAW,UACX,QAAQ,UACR,MAAM,QACN,UAAU,oEACD,qBAET,EAAA,EAAA,KAACC,EAAAA,SAAAA,CAAS,UAAU,sBAAsB,KAAM,GAAI,cAAY,UAChE,EAAA,EAAA,KAACC,EAAAA,UAAAA,CAAU,QAAQ,KAAK,UAAU,0BAAiB"}
@@ -1,13 +1,13 @@
1
- import * as react_jsx_runtime67 from "react/jsx-runtime";
2
- import * as class_variance_authority_types1 from "class-variance-authority/types";
1
+ import * as react_jsx_runtime58 from "react/jsx-runtime";
2
+ import * as class_variance_authority_types2 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
 
5
5
  //#region packages/components/ui/button.d.ts
6
6
  declare const buttonVariants: (props?: ({
7
7
  variant?: "default" | "outline" | "ghost" | "link" | null | undefined;
8
- color?: "primary" | "secondary" | "muted" | "success" | "important" | "info" | "warning" | "danger" | null | undefined;
8
+ color?: "muted" | "primary" | "secondary" | "success" | "important" | "info" | "warning" | "danger" | null | undefined;
9
9
  size?: "sm" | "lg" | "default" | "icon" | null | undefined;
10
- } & class_variance_authority_types1.ClassProp) | undefined) => string;
10
+ } & class_variance_authority_types2.ClassProp) | undefined) => string;
11
11
  declare function Button({
12
12
  className,
13
13
  variant,
@@ -20,7 +20,7 @@ declare function Button({
20
20
  }: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
21
21
  asChild?: boolean;
22
22
  isLoading?: boolean;
23
- }): react_jsx_runtime67.JSX.Element;
23
+ }): react_jsx_runtime58.JSX.Element;
24
24
  //#endregion
25
25
  export { Button, buttonVariants };
26
- //# sourceMappingURL=button-CpdBtQM2.d.cts.map
26
+ //# sourceMappingURL=button-Dh6u3-o8.d.cts.map
@@ -1,13 +1,13 @@
1
- import * as react_jsx_runtime32 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime43 from "react/jsx-runtime";
2
2
  import { VariantProps } from "class-variance-authority";
3
- import * as class_variance_authority_types0 from "class-variance-authority/types";
3
+ import * as class_variance_authority_types2 from "class-variance-authority/types";
4
4
 
5
5
  //#region packages/components/ui/button.d.ts
6
6
  declare const buttonVariants: (props?: ({
7
7
  variant?: "default" | "outline" | "ghost" | "link" | null | undefined;
8
- color?: "primary" | "secondary" | "muted" | "success" | "important" | "info" | "warning" | "danger" | null | undefined;
8
+ color?: "muted" | "primary" | "secondary" | "success" | "important" | "info" | "warning" | "danger" | null | undefined;
9
9
  size?: "sm" | "lg" | "default" | "icon" | null | undefined;
10
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
10
+ } & class_variance_authority_types2.ClassProp) | undefined) => string;
11
11
  declare function Button({
12
12
  className,
13
13
  variant,
@@ -20,7 +20,7 @@ declare function Button({
20
20
  }: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
21
21
  asChild?: boolean;
22
22
  isLoading?: boolean;
23
- }): react_jsx_runtime32.JSX.Element;
23
+ }): react_jsx_runtime43.JSX.Element;
24
24
  //#endregion
25
25
  export { Button, buttonVariants };
26
- //# sourceMappingURL=button-Cv060uky.d.ts.map
26
+ //# sourceMappingURL=button-y_YnE05_.d.ts.map
@@ -1,12 +1,12 @@
1
- import { Dialog } from "./dialog-FTlFnjJF.cjs";
2
- import * as react_jsx_runtime68 from "react/jsx-runtime";
1
+ import { Dialog } from "./dialog-BxWjuuQi.js";
2
+ import * as react_jsx_runtime76 from "react/jsx-runtime";
3
3
  import { Command } from "cmdk";
4
4
 
5
5
  //#region packages/components/ui/command.d.ts
6
6
  declare function Command$1({
7
7
  className,
8
8
  ...props
9
- }: React.ComponentProps<typeof Command>): react_jsx_runtime68.JSX.Element;
9
+ }: React.ComponentProps<typeof Command>): react_jsx_runtime76.JSX.Element;
10
10
  declare function CommandDialog({
11
11
  title,
12
12
  description,
@@ -19,34 +19,34 @@ declare function CommandDialog({
19
19
  description?: string;
20
20
  className?: string;
21
21
  showCloseButton?: boolean;
22
- }): react_jsx_runtime68.JSX.Element;
22
+ }): react_jsx_runtime76.JSX.Element;
23
23
  declare function CommandInput({
24
24
  className,
25
25
  ...props
26
- }: React.ComponentProps<typeof Command.Input>): react_jsx_runtime68.JSX.Element;
26
+ }: React.ComponentProps<typeof Command.Input>): react_jsx_runtime76.JSX.Element;
27
27
  declare function CommandList({
28
28
  className,
29
29
  ...props
30
- }: React.ComponentProps<typeof Command.List>): react_jsx_runtime68.JSX.Element;
30
+ }: React.ComponentProps<typeof Command.List>): react_jsx_runtime76.JSX.Element;
31
31
  declare function CommandEmpty({
32
32
  ...props
33
- }: React.ComponentProps<typeof Command.Empty>): react_jsx_runtime68.JSX.Element;
33
+ }: React.ComponentProps<typeof Command.Empty>): react_jsx_runtime76.JSX.Element;
34
34
  declare function CommandGroup({
35
35
  className,
36
36
  ...props
37
- }: React.ComponentProps<typeof Command.Group>): react_jsx_runtime68.JSX.Element;
37
+ }: React.ComponentProps<typeof Command.Group>): react_jsx_runtime76.JSX.Element;
38
38
  declare function CommandSeparator({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<typeof Command.Separator>): react_jsx_runtime68.JSX.Element;
41
+ }: React.ComponentProps<typeof Command.Separator>): react_jsx_runtime76.JSX.Element;
42
42
  declare function CommandItem({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentProps<typeof Command.Item>): react_jsx_runtime68.JSX.Element;
45
+ }: React.ComponentProps<typeof Command.Item>): react_jsx_runtime76.JSX.Element;
46
46
  declare function CommandShortcut({
47
47
  className,
48
48
  ...props
49
- }: React.ComponentProps<'span'>): react_jsx_runtime68.JSX.Element;
49
+ }: React.ComponentProps<'span'>): react_jsx_runtime76.JSX.Element;
50
50
  //#endregion
51
51
  export { Command$1 as Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
52
- //# sourceMappingURL=command-DVd5YgS5.d.cts.map
52
+ //# sourceMappingURL=command-CTGQneSF.d.ts.map
@@ -1,12 +1,12 @@
1
- import { Dialog } from "./dialog-CoH1pTBH.js";
2
- import * as react_jsx_runtime204 from "react/jsx-runtime";
1
+ import { Dialog } from "./dialog-DA0--feR.cjs";
2
+ import * as react_jsx_runtime93 from "react/jsx-runtime";
3
3
  import { Command } from "cmdk";
4
4
 
5
5
  //#region packages/components/ui/command.d.ts
6
6
  declare function Command$1({
7
7
  className,
8
8
  ...props
9
- }: React.ComponentProps<typeof Command>): react_jsx_runtime204.JSX.Element;
9
+ }: React.ComponentProps<typeof Command>): react_jsx_runtime93.JSX.Element;
10
10
  declare function CommandDialog({
11
11
  title,
12
12
  description,
@@ -19,34 +19,34 @@ declare function CommandDialog({
19
19
  description?: string;
20
20
  className?: string;
21
21
  showCloseButton?: boolean;
22
- }): react_jsx_runtime204.JSX.Element;
22
+ }): react_jsx_runtime93.JSX.Element;
23
23
  declare function CommandInput({
24
24
  className,
25
25
  ...props
26
- }: React.ComponentProps<typeof Command.Input>): react_jsx_runtime204.JSX.Element;
26
+ }: React.ComponentProps<typeof Command.Input>): react_jsx_runtime93.JSX.Element;
27
27
  declare function CommandList({
28
28
  className,
29
29
  ...props
30
- }: React.ComponentProps<typeof Command.List>): react_jsx_runtime204.JSX.Element;
30
+ }: React.ComponentProps<typeof Command.List>): react_jsx_runtime93.JSX.Element;
31
31
  declare function CommandEmpty({
32
32
  ...props
33
- }: React.ComponentProps<typeof Command.Empty>): react_jsx_runtime204.JSX.Element;
33
+ }: React.ComponentProps<typeof Command.Empty>): react_jsx_runtime93.JSX.Element;
34
34
  declare function CommandGroup({
35
35
  className,
36
36
  ...props
37
- }: React.ComponentProps<typeof Command.Group>): react_jsx_runtime204.JSX.Element;
37
+ }: React.ComponentProps<typeof Command.Group>): react_jsx_runtime93.JSX.Element;
38
38
  declare function CommandSeparator({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<typeof Command.Separator>): react_jsx_runtime204.JSX.Element;
41
+ }: React.ComponentProps<typeof Command.Separator>): react_jsx_runtime93.JSX.Element;
42
42
  declare function CommandItem({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentProps<typeof Command.Item>): react_jsx_runtime204.JSX.Element;
45
+ }: React.ComponentProps<typeof Command.Item>): react_jsx_runtime93.JSX.Element;
46
46
  declare function CommandShortcut({
47
47
  className,
48
48
  ...props
49
- }: React.ComponentProps<'span'>): react_jsx_runtime204.JSX.Element;
49
+ }: React.ComponentProps<'span'>): react_jsx_runtime93.JSX.Element;
50
50
  //#endregion
51
51
  export { Command$1 as Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
52
- //# sourceMappingURL=command-C5ZklUU1.d.ts.map
52
+ //# sourceMappingURL=command-DfmvH4rn.d.cts.map
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime5 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/data-display/empty.d.ts
4
- declare const EmptyDisplay: () => react_jsx_runtime5.JSX.Element;
4
+ declare const EmptyDisplay: () => react_jsx_runtime0.JSX.Element;
5
5
  //#endregion
6
6
  export { EmptyDisplay };
7
7
  //# sourceMappingURL=empty.d.cts.map
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime8 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/data-display/empty.d.ts
4
- declare const EmptyDisplay: () => react_jsx_runtime8.JSX.Element;
4
+ declare const EmptyDisplay: () => react_jsx_runtime0.JSX.Element;
5
5
  //#endregion
6
6
  export { EmptyDisplay };
7
7
  //# sourceMappingURL=empty.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime37 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
2
2
  import React from "react";
3
3
 
4
4
  //#region packages/components/data-display/statistic.d.ts
@@ -23,7 +23,7 @@ declare const Statistic: React.MemoExoticComponent<({
23
23
  showTrailingZeros,
24
24
  size,
25
25
  value
26
- }: Props) => react_jsx_runtime37.JSX.Element>;
26
+ }: Props) => react_jsx_runtime1.JSX.Element>;
27
27
  //#endregion
28
28
  export { Statistic };
29
29
  //# sourceMappingURL=statistic.d.cts.map
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as react_jsx_runtime4 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
3
3
 
4
4
  //#region packages/components/data-display/statistic.d.ts
5
5
  type Props = {
@@ -23,7 +23,7 @@ declare const Statistic: React.MemoExoticComponent<({
23
23
  showTrailingZeros,
24
24
  size,
25
25
  value
26
- }: Props) => react_jsx_runtime4.JSX.Element>;
26
+ }: Props) => react_jsx_runtime1.JSX.Element>;
27
27
  //#endregion
28
28
  export { Statistic };
29
29
  //# sourceMappingURL=statistic.d.ts.map
@@ -1,23 +1,23 @@
1
- import * as react_jsx_runtime59 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime86 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_runtime59.JSX.Element;
7
+ }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime86.JSX.Element;
8
8
  declare function DialogTrigger({
9
9
  ...props
10
- }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime59.JSX.Element;
10
+ }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime86.JSX.Element;
11
11
  declare function DialogPortal({
12
12
  ...props
13
- }: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime59.JSX.Element;
13
+ }: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime86.JSX.Element;
14
14
  declare function DialogClose({
15
15
  ...props
16
- }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime59.JSX.Element;
16
+ }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime86.JSX.Element;
17
17
  declare function DialogOverlay({
18
18
  className,
19
19
  ...props
20
- }: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime59.JSX.Element;
20
+ }: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime86.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_runtime59.JSX.Element;
28
+ }): react_jsx_runtime86.JSX.Element;
29
29
  declare function DialogHeader({
30
30
  className,
31
31
  ...props
32
- }: React.ComponentProps<'div'>): react_jsx_runtime59.JSX.Element;
32
+ }: React.ComponentProps<'div'>): react_jsx_runtime86.JSX.Element;
33
33
  declare function DialogFooter({
34
34
  className,
35
35
  ...props
36
- }: React.ComponentProps<'div'>): react_jsx_runtime59.JSX.Element;
36
+ }: React.ComponentProps<'div'>): react_jsx_runtime86.JSX.Element;
37
37
  declare function DialogTitle({
38
38
  className,
39
39
  ...props
40
- }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime59.JSX.Element;
40
+ }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime86.JSX.Element;
41
41
  declare function DialogDescription({
42
42
  className,
43
43
  ...props
44
- }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime59.JSX.Element;
44
+ }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime86.JSX.Element;
45
45
  //#endregion
46
46
  export { Dialog$1 as Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
47
- //# sourceMappingURL=dialog-CoH1pTBH.d.ts.map
47
+ //# sourceMappingURL=dialog-BxWjuuQi.d.ts.map
@@ -1,23 +1,23 @@
1
- import * as react_jsx_runtime57 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime78 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_runtime57.JSX.Element;
7
+ }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime78.JSX.Element;
8
8
  declare function DialogTrigger({
9
9
  ...props
10
- }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime57.JSX.Element;
10
+ }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime78.JSX.Element;
11
11
  declare function DialogPortal({
12
12
  ...props
13
- }: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime57.JSX.Element;
13
+ }: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime78.JSX.Element;
14
14
  declare function DialogClose({
15
15
  ...props
16
- }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime57.JSX.Element;
16
+ }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime78.JSX.Element;
17
17
  declare function DialogOverlay({
18
18
  className,
19
19
  ...props
20
- }: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime57.JSX.Element;
20
+ }: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime78.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_runtime57.JSX.Element;
28
+ }): react_jsx_runtime78.JSX.Element;
29
29
  declare function DialogHeader({
30
30
  className,
31
31
  ...props
32
- }: React.ComponentProps<'div'>): react_jsx_runtime57.JSX.Element;
32
+ }: React.ComponentProps<'div'>): react_jsx_runtime78.JSX.Element;
33
33
  declare function DialogFooter({
34
34
  className,
35
35
  ...props
36
- }: React.ComponentProps<'div'>): react_jsx_runtime57.JSX.Element;
36
+ }: React.ComponentProps<'div'>): react_jsx_runtime78.JSX.Element;
37
37
  declare function DialogTitle({
38
38
  className,
39
39
  ...props
40
- }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime57.JSX.Element;
40
+ }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime78.JSX.Element;
41
41
  declare function DialogDescription({
42
42
  className,
43
43
  ...props
44
- }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime57.JSX.Element;
44
+ }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime78.JSX.Element;
45
45
  //#endregion
46
46
  export { Dialog$1 as Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
47
- //# sourceMappingURL=dialog-FTlFnjJF.d.cts.map
47
+ //# sourceMappingURL=dialog-DA0--feR.d.cts.map
@@ -1,8 +1,8 @@
1
- import { Button } from "../../../button-CpdBtQM2.cjs";
2
- import { Input } from "../../../input-BWl5H7q7.cjs";
3
- import { Separator } from "../../../separator-kimYbMNz.cjs";
4
- import { TooltipContent } from "../../../tooltip-BJeReTeQ.cjs";
5
- import * as react_jsx_runtime232 from "react/jsx-runtime";
1
+ import { Button } from "../../../button-Dh6u3-o8.cjs";
2
+ import { Input } from "../../../input-Ci55gNyE.cjs";
3
+ import { Separator } from "../../../separator-BJoqBpEK.cjs";
4
+ import { TooltipContent } from "../../../tooltip-CwnnP95E.cjs";
5
+ import * as react_jsx_runtime236 from "react/jsx-runtime";
6
6
  import React from "react";
7
7
  import * as class_variance_authority_types6 from "class-variance-authority/types";
8
8
  import { VariantProps } from "class-variance-authority";
@@ -30,7 +30,7 @@ declare function SidebarProvider({
30
30
  defaultOpen?: boolean;
31
31
  open?: boolean;
32
32
  onOpenChange?: (open: boolean) => void;
33
- }): react_jsx_runtime232.JSX.Element;
33
+ }): react_jsx_runtime236.JSX.Element;
34
34
  declare function Sidebar({
35
35
  side,
36
36
  variant,
@@ -42,70 +42,70 @@ declare function Sidebar({
42
42
  side?: 'left' | 'right';
43
43
  variant?: 'sidebar' | 'floating' | 'inset';
44
44
  collapsible?: 'offcanvas' | 'icon' | 'none';
45
- }): react_jsx_runtime232.JSX.Element;
45
+ }): react_jsx_runtime236.JSX.Element;
46
46
  declare function DetailDialogSidebarTrigger({
47
47
  className,
48
48
  onClick,
49
49
  ...props
50
- }: React.ComponentProps<typeof Button>): react_jsx_runtime232.JSX.Element;
50
+ }: React.ComponentProps<typeof Button>): react_jsx_runtime236.JSX.Element;
51
51
  declare function DetailDialogSidebarRail({
52
52
  className,
53
53
  ...props
54
- }: React.ComponentProps<'button'>): react_jsx_runtime232.JSX.Element;
54
+ }: React.ComponentProps<'button'>): react_jsx_runtime236.JSX.Element;
55
55
  declare function SidebarInset({
56
56
  className,
57
57
  ...props
58
- }: React.ComponentProps<'main'>): react_jsx_runtime232.JSX.Element;
58
+ }: React.ComponentProps<'main'>): react_jsx_runtime236.JSX.Element;
59
59
  declare function SidebarInput({
60
60
  className,
61
61
  ...props
62
- }: React.ComponentProps<typeof Input>): react_jsx_runtime232.JSX.Element;
62
+ }: React.ComponentProps<typeof Input>): react_jsx_runtime236.JSX.Element;
63
63
  declare function DetailDialogSidebarHeader({
64
64
  className,
65
65
  ...props
66
- }: React.ComponentProps<'div'>): react_jsx_runtime232.JSX.Element;
66
+ }: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
67
67
  declare function DetailDialogSidebarFooter({
68
68
  className,
69
69
  ...props
70
- }: React.ComponentProps<'div'>): react_jsx_runtime232.JSX.Element;
70
+ }: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
71
71
  declare function DetailDialogSidebarSeparator({
72
72
  className,
73
73
  ...props
74
- }: React.ComponentProps<typeof Separator>): react_jsx_runtime232.JSX.Element;
74
+ }: React.ComponentProps<typeof Separator>): react_jsx_runtime236.JSX.Element;
75
75
  declare function DetailDialogSidebarContent({
76
76
  className,
77
77
  ...props
78
- }: React.ComponentProps<'div'>): react_jsx_runtime232.JSX.Element;
78
+ }: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
79
79
  declare function DetailDialogSidebarGroup({
80
80
  className,
81
81
  ...props
82
- }: React.ComponentProps<'div'>): react_jsx_runtime232.JSX.Element;
82
+ }: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
83
83
  declare function DetailDialogSidebarGroupLabel({
84
84
  className,
85
85
  asChild,
86
86
  ...props
87
87
  }: React.ComponentProps<'div'> & {
88
88
  asChild?: boolean;
89
- }): react_jsx_runtime232.JSX.Element;
89
+ }): react_jsx_runtime236.JSX.Element;
90
90
  declare function DetailDialogSidebarGroupAction({
91
91
  className,
92
92
  asChild,
93
93
  ...props
94
94
  }: React.ComponentProps<'button'> & {
95
95
  asChild?: boolean;
96
- }): react_jsx_runtime232.JSX.Element;
96
+ }): react_jsx_runtime236.JSX.Element;
97
97
  declare function DetailDialogSidebarGroupContent({
98
98
  className,
99
99
  ...props
100
- }: React.ComponentProps<'div'>): react_jsx_runtime232.JSX.Element;
100
+ }: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
101
101
  declare function DetailDialogSidebarMenu({
102
102
  className,
103
103
  ...props
104
- }: React.ComponentProps<'ul'>): react_jsx_runtime232.JSX.Element;
104
+ }: React.ComponentProps<'ul'>): react_jsx_runtime236.JSX.Element;
105
105
  declare function DetailDialogSidebarMenuItem({
106
106
  className,
107
107
  ...props
108
- }: React.ComponentProps<'li'>): react_jsx_runtime232.JSX.Element;
108
+ }: React.ComponentProps<'li'>): react_jsx_runtime236.JSX.Element;
109
109
  declare const sidebarMenuButtonVariants: (props?: ({
110
110
  variant?: "default" | "outline" | null | undefined;
111
111
  size?: "sm" | "lg" | "default" | null | undefined;
@@ -122,7 +122,7 @@ declare function DetailDialogSidebarMenuButton({
122
122
  asChild?: boolean;
123
123
  isActive?: boolean;
124
124
  tooltip?: string | React.ComponentProps<typeof TooltipContent>;
125
- } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime232.JSX.Element;
125
+ } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime236.JSX.Element;
126
126
  declare function DetailDialogSidebarMenuAction({
127
127
  className,
128
128
  asChild,
@@ -131,26 +131,26 @@ declare function DetailDialogSidebarMenuAction({
131
131
  }: React.ComponentProps<'button'> & {
132
132
  asChild?: boolean;
133
133
  showOnHover?: boolean;
134
- }): react_jsx_runtime232.JSX.Element;
134
+ }): react_jsx_runtime236.JSX.Element;
135
135
  declare function DetailDialogSidebarMenuBadge({
136
136
  className,
137
137
  ...props
138
- }: React.ComponentProps<'div'>): react_jsx_runtime232.JSX.Element;
138
+ }: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
139
139
  declare function DetailDialogSidebarMenuSkeleton({
140
140
  className,
141
141
  showIcon,
142
142
  ...props
143
143
  }: React.ComponentProps<'div'> & {
144
144
  showIcon?: boolean;
145
- }): react_jsx_runtime232.JSX.Element;
145
+ }): react_jsx_runtime236.JSX.Element;
146
146
  declare function DetailDialogSidebarMenuSub({
147
147
  className,
148
148
  ...props
149
- }: React.ComponentProps<'ul'>): react_jsx_runtime232.JSX.Element;
149
+ }: React.ComponentProps<'ul'>): react_jsx_runtime236.JSX.Element;
150
150
  declare function DetailDialogSidebarMenuSubItem({
151
151
  className,
152
152
  ...props
153
- }: React.ComponentProps<'li'>): react_jsx_runtime232.JSX.Element;
153
+ }: React.ComponentProps<'li'>): react_jsx_runtime236.JSX.Element;
154
154
  declare function DetailDialogSidebarMenuSubButton({
155
155
  asChild,
156
156
  size,
@@ -161,7 +161,7 @@ declare function DetailDialogSidebarMenuSubButton({
161
161
  asChild?: boolean;
162
162
  size?: 'sm' | 'md';
163
163
  isActive?: boolean;
164
- }): react_jsx_runtime232.JSX.Element;
164
+ }): react_jsx_runtime236.JSX.Element;
165
165
  //#endregion
166
166
  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 };
167
167
  //# sourceMappingURL=sidebar.d.cts.map
@@ -1,7 +1,7 @@
1
- import { Button } from "../../../button-Cv060uky.js";
2
- import { Input } from "../../../input-BhbkfnN0.js";
3
- import { Separator } from "../../../separator-DxaLffrB.js";
4
- import { TooltipContent } from "../../../tooltip-qTM9vL1r.js";
1
+ import { Button } from "../../../button-y_YnE05_.js";
2
+ import { Input } from "../../../input-CPVgX36w.js";
3
+ import { Separator } from "../../../separator-5FdzRGaJ.js";
4
+ import { TooltipContent } from "../../../tooltip-DFsHixOs.js";
5
5
  import React from "react";
6
6
  import * as react_jsx_runtime236 from "react/jsx-runtime";
7
7
  import { VariantProps } from "class-variance-authority";
@@ -1,2 +1,2 @@
1
- const e=require(`../../chunk-CUT6urMc.cjs`),t=require(`../../utils-BsjVK5EW.cjs`);require(`../../card-BDtW5n7z.cjs`);const n=require(`../../flex-DnFMe9kC.cjs`),r=require(`../../date-nd8WkPlx.cjs`);require(`../../tooltip-D7xs4Hao.cjs`),require(`../../button-Cg9ZsZ68.cjs`);const i=require(`../../dialog-CguMVyyd.cjs`);require(`../../input-C2xQcVZP.cjs`);const a=require(`../../title-6Uosk2b4.cjs`);require(`../../separator-Cigaqna1.cjs`),require(`../../sheet-CX3PajAc.cjs`),require(`../../skeleton-tNlCAW9R.cjs`),require(`../../use-mobile-DD7ESbjU.cjs`);const o=require(`../../sidebar-B8vyPsEX.cjs`),s=e.__toESM(require(`react/jsx-runtime`)),c=e.__toESM(require(`lucide-react`)),l=()=>(0,s.jsxs)(i.DialogHeader,{className:`sr-only`,children:[(0,s.jsx)(i.DialogTitle,{className:`sr-only`}),(0,s.jsx)(i.DialogDescription,{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)(n.Flex,{padding:`none`,gap:`none`,vertical:!0,align:`stretch`,className:`absolute inset-0 size-full`,children:e})}),d=({title:e,createdAt:t})=>(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)(o.DetailDialogSidebarTrigger,{}),(0,s.jsxs)(n.Flex,{vertical:!0,align:`start`,padding:`none`,width:`null`,wrap:!1,className:`flex-1`,children:[(0,s.jsx)(a.Title,{level:5,className:`line-clamp-1 truncate text-wrap`,children:e||`Detail Dialog`}),(0,s.jsxs)(n.Flex,{padding:`none`,className:`text-text-positive-weak relative`,children:[(0,s.jsx)(c.CalendarIcon,{size:12,className:`absolute top-0.5 md:top-1`}),!!t&&(0,s.jsx)(r.DateDisplay,{showTime:!0,showHoliday:!0,date:t,format:`full`,className:`ml-4 text-xs md:text-sm`})]})]})]}),f=({children:e})=>(0,s.jsx)(i.DialogContent,{className:t.cn(`relative h-full overflow-hidden border-none p-0`,`rounded-none md:rounded-lg`,`max-h-svh max-w-svw`,`md:max-h-[90svh] md:max-w-[90svw]`,`xl:max-h-[90svh] xl:max-w-[90svw]`,`2xl:max-h-[90svh] 2xl:max-w-7xl`),onInteractOutside:e=>{e.preventDefault(),e.stopPropagation()},children:e}),p=({title:e,sidebarFooter:t,children:n})=>(0,s.jsxs)(o.Sidebar,{collapsible:`icon`,className:`shadow-nav z-20 hidden md:flex`,children:[(0,s.jsx)(o.DetailDialogSidebarHeader,{children:(0,s.jsx)(o.DetailDialogSidebarMenu,{children:(0,s.jsx)(o.DetailDialogSidebarMenuItem,{children:(0,s.jsxs)(o.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)(o.DetailDialogSidebarContent,{children:(0,s.jsx)(o.DetailDialogSidebarGroup,{children:n})}),t&&(0,s.jsx)(o.DetailDialogSidebarFooter,{children:t})]}),m=({open:e,isLoading:t=!1,sidebarTitle:r,sidebar:a,sidebarFooter:c,title:m,createdAt:h,onOpenChange:g,children:_})=>(0,s.jsx)(i.Dialog,{open:e,onOpenChange:g,children:(0,s.jsxs)(f,{children:[(0,s.jsx)(l,{}),(0,s.jsxs)(o.SidebarProvider,{className:`h-full min-h-[85svh] items-start`,children:[(0,s.jsx)(p,{title:r,sidebarFooter:c,children:a}),(0,s.jsxs)(u,{children:[(0,s.jsx)(d,{title:m,createdAt:h}),t?(0,s.jsx)(n.Flex,{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-CUT6urMc.cjs`),t=require(`../../utils-BsjVK5EW.cjs`);require(`../../card-BDtW5n7z.cjs`);const n=require(`../../flex-DnFMe9kC.cjs`),r=require(`../../date-nd8WkPlx.cjs`);require(`../../tooltip-D7xs4Hao.cjs`),require(`../../button-Cg9ZsZ68.cjs`);const i=require(`../../dialog-CguMVyyd.cjs`);require(`../../input-C2xQcVZP.cjs`);const a=require(`../../title-C3bbuPGv.cjs`);require(`../../separator-Cigaqna1.cjs`),require(`../../sheet-CX3PajAc.cjs`),require(`../../skeleton-tNlCAW9R.cjs`),require(`../../use-mobile-DD7ESbjU.cjs`);const o=require(`../../sidebar-B8vyPsEX.cjs`),s=e.__toESM(require(`react/jsx-runtime`)),c=e.__toESM(require(`lucide-react`)),l=()=>(0,s.jsxs)(i.DialogHeader,{className:`sr-only`,children:[(0,s.jsx)(i.DialogTitle,{className:`sr-only`}),(0,s.jsx)(i.DialogDescription,{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)(n.Flex,{padding:`none`,gap:`none`,vertical:!0,align:`stretch`,className:`absolute inset-0 size-full`,children:e})}),d=({title:e,createdAt:t})=>(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)(o.DetailDialogSidebarTrigger,{}),(0,s.jsxs)(n.Flex,{vertical:!0,align:`start`,padding:`none`,width:`null`,wrap:!1,className:`flex-1`,children:[(0,s.jsx)(a.Title,{level:5,className:`line-clamp-1 truncate text-wrap`,children:e||`Detail Dialog`}),(0,s.jsxs)(n.Flex,{padding:`none`,className:`text-text-positive-weak relative`,children:[(0,s.jsx)(c.CalendarIcon,{size:12,className:`absolute top-0.5 md:top-1`}),!!t&&(0,s.jsx)(r.DateDisplay,{showTime:!0,showHoliday:!0,date:t,format:`full`,className:`ml-4 text-xs md:text-sm`})]})]})]}),f=({children:e})=>(0,s.jsx)(i.DialogContent,{className:t.cn(`relative h-full overflow-hidden border-none p-0`,`rounded-none md:rounded-lg`,`max-h-svh max-w-svw`,`md:max-h-[90svh] md:max-w-[90svw]`,`xl:max-h-[90svh] xl:max-w-[90svw]`,`2xl:max-h-[90svh] 2xl:max-w-7xl`),onInteractOutside:e=>{e.preventDefault(),e.stopPropagation()},children:e}),p=({title:e,sidebarFooter:t,children:n})=>(0,s.jsxs)(o.Sidebar,{collapsible:`icon`,className:`shadow-nav z-20 hidden md:flex`,children:[(0,s.jsx)(o.DetailDialogSidebarHeader,{children:(0,s.jsx)(o.DetailDialogSidebarMenu,{children:(0,s.jsx)(o.DetailDialogSidebarMenuItem,{children:(0,s.jsxs)(o.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)(o.DetailDialogSidebarContent,{children:(0,s.jsx)(o.DetailDialogSidebarGroup,{children:n})}),t&&(0,s.jsx)(o.DetailDialogSidebarFooter,{children:t})]}),m=({open:e,isLoading:t=!1,sidebarTitle:r,sidebar:a,sidebarFooter:c,title:m,createdAt:h,onOpenChange:g,children:_})=>(0,s.jsx)(i.Dialog,{open:e,onOpenChange:g,children:(0,s.jsxs)(f,{children:[(0,s.jsx)(l,{}),(0,s.jsxs)(o.SidebarProvider,{className:`h-full min-h-[85svh] items-start`,children:[(0,s.jsx)(p,{title:r,sidebarFooter:c,children:a}),(0,s.jsxs)(u,{children:[(0,s.jsx)(d,{title:m,createdAt:h}),t?(0,s.jsx)(n.Flex,{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{cn as e}from"../../utils-D9AH0PUV.js";import"../../card-C17NWErE.js";import{Flex as t}from"../../flex-CbkTJwcD.js";import{DateDisplay as n}from"../../date-BMq_DNsv.js";import"../../tooltip-CaqA5ydI.js";import"../../button-tXV0dTFU.js";import{Dialog as r,DialogContent as i,DialogDescription as a,DialogHeader as o,DialogTitle as s}from"../../dialog-YTzM43YA.js";import"../../input-DgJVc3kt.js";import{Title as c}from"../../title-CxIwADiB.js";import"../../separator-aLdI4FQe.js";import"../../sheet-DqPtcv9H.js";import"../../skeleton-BSi1n1L2.js";import"../../use-mobile-CNVZwItd.js";import{DetailDialogSidebarContent as l,DetailDialogSidebarFooter as u,DetailDialogSidebarGroup as d,DetailDialogSidebarHeader as f,DetailDialogSidebarMenu as p,DetailDialogSidebarMenuButton as m,DetailDialogSidebarMenuItem as h,DetailDialogSidebarTrigger as g,Sidebar as _,SidebarProvider as v}from"../../sidebar-CUDxSzag.js";import{jsx as y,jsxs as b}from"react/jsx-runtime";import{CalendarIcon as x,CatIcon as S}from"lucide-react";const C=()=>b(o,{className:`sr-only`,children:[y(s,{className:`sr-only`}),y(a,{className:`sr-only`})]}),w=({children:e})=>y(`main`,{"data-slot":`detail-dialog-main`,className:`relative h-full flex-1`,children:y(t,{padding:`none`,gap:`none`,vertical:!0,align:`stretch`,className:`absolute inset-0 size-full`,children:e})}),T=({title:e,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(g,{}),b(t,{vertical:!0,align:`start`,padding:`none`,width:`null`,wrap:!1,className:`flex-1`,children:[y(c,{level:5,className:`line-clamp-1 truncate text-wrap`,children:e||`Detail Dialog`}),b(t,{padding:`none`,className:`text-text-positive-weak relative`,children:[y(x,{size:12,className:`absolute top-0.5 md:top-1`}),!!r&&y(n,{showTime:!0,showHoliday:!0,date:r,format:`full`,className:`ml-4 text-xs md:text-sm`})]})]})]}),E=({children:t})=>y(i,{className:e(`relative h-full overflow-hidden border-none p-0`,`rounded-none md:rounded-lg`,`max-h-svh max-w-svw`,`md:max-h-[90svh] md:max-w-[90svw]`,`xl:max-h-[90svh] xl:max-w-[90svw]`,`2xl:max-h-[90svh] 2xl:max-w-7xl`),onInteractOutside:e=>{e.preventDefault(),e.stopPropagation()},children:t}),D=({title:e,sidebarFooter:t,children:n})=>b(_,{collapsible:`icon`,className:`shadow-nav z-20 hidden md:flex`,children:[y(f,{children:y(p,{children:y(h,{children:b(m,{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(l,{children:y(d,{children:n})}),t&&y(u,{children:t})]}),O=({open:e,isLoading:n=!1,sidebarTitle:i,sidebar:a,sidebarFooter:o,title:s,createdAt:c,onOpenChange:l,children:u})=>y(r,{open:e,onOpenChange:l,children:b(E,{children:[y(C,{}),b(v,{className:`h-full min-h-[85svh] items-start`,children:[y(D,{title:i,sidebarFooter:o,children:a}),b(w,{children:[y(T,{title:s,createdAt:c}),n?y(t,{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{cn as e}from"../../utils-D9AH0PUV.js";import"../../card-C17NWErE.js";import{Flex as t}from"../../flex-CbkTJwcD.js";import{DateDisplay as n}from"../../date-BMq_DNsv.js";import"../../tooltip-CaqA5ydI.js";import"../../button-tXV0dTFU.js";import{Dialog as r,DialogContent as i,DialogDescription as a,DialogHeader as o,DialogTitle as s}from"../../dialog-YTzM43YA.js";import"../../input-DgJVc3kt.js";import{Title as c}from"../../title-Dz5mmcHL.js";import"../../separator-aLdI4FQe.js";import"../../sheet-DqPtcv9H.js";import"../../skeleton-BSi1n1L2.js";import"../../use-mobile-CNVZwItd.js";import{DetailDialogSidebarContent as l,DetailDialogSidebarFooter as u,DetailDialogSidebarGroup as d,DetailDialogSidebarHeader as f,DetailDialogSidebarMenu as p,DetailDialogSidebarMenuButton as m,DetailDialogSidebarMenuItem as h,DetailDialogSidebarTrigger as g,Sidebar as _,SidebarProvider as v}from"../../sidebar-CUDxSzag.js";import{jsx as y,jsxs as b}from"react/jsx-runtime";import{CalendarIcon as x,CatIcon as S}from"lucide-react";const C=()=>b(o,{className:`sr-only`,children:[y(s,{className:`sr-only`}),y(a,{className:`sr-only`})]}),w=({children:e})=>y(`main`,{"data-slot":`detail-dialog-main`,className:`relative h-full flex-1`,children:y(t,{padding:`none`,gap:`none`,vertical:!0,align:`stretch`,className:`absolute inset-0 size-full`,children:e})}),T=({title:e,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(g,{}),b(t,{vertical:!0,align:`start`,padding:`none`,width:`null`,wrap:!1,className:`flex-1`,children:[y(c,{level:5,className:`line-clamp-1 truncate text-wrap`,children:e||`Detail Dialog`}),b(t,{padding:`none`,className:`text-text-positive-weak relative`,children:[y(x,{size:12,className:`absolute top-0.5 md:top-1`}),!!r&&y(n,{showTime:!0,showHoliday:!0,date:r,format:`full`,className:`ml-4 text-xs md:text-sm`})]})]})]}),E=({children:t})=>y(i,{className:e(`relative h-full overflow-hidden border-none p-0`,`rounded-none md:rounded-lg`,`max-h-svh max-w-svw`,`md:max-h-[90svh] md:max-w-[90svw]`,`xl:max-h-[90svh] xl:max-w-[90svw]`,`2xl:max-h-[90svh] 2xl:max-w-7xl`),onInteractOutside:e=>{e.preventDefault(),e.stopPropagation()},children:t}),D=({title:e,sidebarFooter:t,children:n})=>b(_,{collapsible:`icon`,className:`shadow-nav z-20 hidden md:flex`,children:[y(f,{children:y(p,{children:y(h,{children:b(m,{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(l,{children:y(d,{children:n})}),t&&y(u,{children:t})]}),O=({open:e,isLoading:n=!1,sidebarTitle:i,sidebar:a,sidebarFooter:o,title:s,createdAt:c,onOpenChange:l,children:u})=>y(r,{open:e,onOpenChange:l,children:b(E,{children:[y(C,{}),b(v,{className:`h-full min-h-[85svh] items-start`,children:[y(D,{title:i,sidebarFooter:o,children:a}),b(w,{children:[y(T,{title:s,createdAt:c}),n?y(t,{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.js.map
@@ -1,2 +1,2 @@
1
- const e=require(`../chunk-CUT6urMc.cjs`),t=require(`../utils-BsjVK5EW.cjs`),n=require(`../button-Cg9ZsZ68.cjs`);require(`../alert-dialog-Dp-m0Xsj.cjs`),require(`../error-dialog-D7FS_tBU.cjs`),require(`../label-B_2ZQn0X.cjs`),require(`../form-CU-tlomS.cjs`);const r=require(`../form-wrapper-CVkfJN7q.cjs`),i=require(`../dialog-CguMVyyd.cjs`),a=e.__toESM(require(`react/jsx-runtime`)),o=({form:e,open:o,isSubmitting:s=!1,isResetAfterSubmit:c=!0,disableSubmit:l=!1,title:u,description:d,className:f,onOpenChange:p,onSubmit:m,onError:h,onReset:g,children:_})=>(0,a.jsx)(i.Dialog,{open:o,onOpenChange:p,children:(0,a.jsxs)(i.DialogContent,{className:t.cn(`flex flex-col gap-0 border-none p-0`,f),onInteractOutside:e=>{e.preventDefault(),e.stopPropagation()},children:[(0,a.jsxs)(i.DialogHeader,{className:`border-border-weak flex-0 gap-2 border-b p-6 pb-4`,children:[(0,a.jsx)(i.DialogTitle,{children:u||`Form Dialog`}),(0,a.jsx)(i.DialogDescription,{children:d||`This is a form dialog where you can add your form elements.`})]}),(0,a.jsxs)(r.FormWrapper,{form:e,isResetAfterSubmit:c,className:`flex flex-1 flex-col overflow-y-auto`,onSubmit:m,onError:h,children:[(0,a.jsx)(`div`,{className:`bg-muted-muted size-full p-2 inset-shadow-sm`,children:(0,a.jsx)(`main`,{className:`bg-card shadow-card size-full flex-1 overflow-y-auto rounded-md`,children:_})}),(0,a.jsxs)(i.DialogFooter,{className:`border-border-weak border-t p-6 pt-4`,children:[(0,a.jsx)(n.Button,{tabIndex:-1,type:`button`,variant:`outline`,color:`muted`,className:`w-full rounded-full sm:w-30`,onClick:g,children:`Reset`}),(0,a.jsx)(n.Button,{autoFocus:!0,tabIndex:0,type:`submit`,isLoading:s,disabled:l,className:`w-full rounded-full sm:w-30`,children:`Submit`})]})]})]})});exports.FormDialog=o;
1
+ const e=require(`../chunk-CUT6urMc.cjs`),t=require(`../utils-BsjVK5EW.cjs`),n=require(`../button-Cg9ZsZ68.cjs`);require(`../alert-dialog-Dp-m0Xsj.cjs`),require(`../error-dialog-D7FS_tBU.cjs`),require(`../label-B_2ZQn0X.cjs`),require(`../form-CU-tlomS.cjs`);const r=require(`../form-wrapper-CVkfJN7q.cjs`),i=require(`../dialog-CguMVyyd.cjs`),a=e.__toESM(require(`react/jsx-runtime`)),o=({form:e,open:o,isSubmitting:s=!1,isResetAfterSubmit:c=!0,disableSubmit:l=!1,title:u,description:d,className:f,onOpenChange:p,onSubmit:m,onError:h,onReset:g,children:_})=>(0,a.jsx)(i.Dialog,{open:o,onOpenChange:p,children:(0,a.jsxs)(i.DialogContent,{className:t.cn(`flex flex-col gap-0 border-none p-0`,f),onInteractOutside:e=>{e.preventDefault(),e.stopPropagation()},children:[(0,a.jsxs)(i.DialogHeader,{className:`border-border-weak flex-0 gap-2 border-b p-6 pb-4`,children:[(0,a.jsx)(i.DialogTitle,{children:u||`Form Dialog`}),(0,a.jsx)(i.DialogDescription,{children:d||`This is a form dialog where you can add your form elements.`})]}),(0,a.jsxs)(r.FormWrapper,{form:e,isResetAfterSubmit:c,className:`flex flex-1 flex-col overflow-y-auto`,onSubmit:m,onError:h,children:[(0,a.jsx)(`div`,{className:`bg-muted-muted size-full p-2 inset-shadow-sm`,children:(0,a.jsx)(`main`,{className:`bg-card shadow-card size-full flex-1 overflow-y-auto rounded-md p-4`,children:_})}),(0,a.jsxs)(i.DialogFooter,{className:`border-border-weak border-t p-6 pt-4`,children:[(0,a.jsx)(n.Button,{tabIndex:-1,type:`button`,variant:`outline`,color:`muted`,className:`w-full rounded-full sm:w-30`,onClick:g,children:`Reset`}),(0,a.jsx)(n.Button,{autoFocus:!0,tabIndex:0,type:`submit`,isLoading:s,disabled:l,className:`w-full rounded-full sm:w-30`,children:`Submit`})]})]})]})});exports.FormDialog=o;
2
2
  //# sourceMappingURL=form-dialog.cjs.map