@customafk/lunas-ui 0.0.68 → 0.0.69

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 (266) hide show
  1. package/dist/{alert-dialog-B5dXkMIF.js → alert-dialog-BDKOU-BT.js} +1 -1
  2. package/dist/{alert-dialog-B5dXkMIF.js.map → alert-dialog-BDKOU-BT.js.map} +1 -1
  3. package/dist/{alert-dialog-D-4wxqLK.cjs → alert-dialog-CTKVGTqb.cjs} +1 -1
  4. package/dist/{alert-dialog-D-4wxqLK.cjs.map → alert-dialog-CTKVGTqb.cjs.map} +1 -1
  5. package/dist/{button-NPRxTW9Y.d.cts → button-DZYXtWzR.d.ts} +6 -6
  6. package/dist/{button-ld6DUDGr.d.ts → button-LfFi39Jg.d.cts} +5 -5
  7. package/dist/{calendar-B6F_Lppz.cjs → calendar-BaIr1lqT.cjs} +1 -1
  8. package/dist/{calendar-B6F_Lppz.cjs.map → calendar-BaIr1lqT.cjs.map} +1 -1
  9. package/dist/{calendar-CXddeN7A.js → calendar-CAERbEr4.js} +1 -1
  10. package/dist/{calendar-CXddeN7A.js.map → calendar-CAERbEr4.js.map} +1 -1
  11. package/dist/{command-CgW_wSCe.d.cts → command-B2sNWZwT.d.ts} +12 -12
  12. package/dist/{command-CyWyRcle.js → command-BNKI-kLT.js} +2 -2
  13. package/dist/{command-CyWyRcle.js.map → command-BNKI-kLT.js.map} +1 -1
  14. package/dist/{command-BL20khiI.d.ts → command-Cbs1WmSg.d.cts} +12 -12
  15. package/dist/{command-BNYekOzL.cjs → command-DEBqV5of.cjs} +2 -2
  16. package/dist/{command-BNYekOzL.cjs.map → command-DEBqV5of.cjs.map} +1 -1
  17. package/dist/data-display/empty.d.cts +2 -2
  18. package/dist/data-display/empty.d.ts +2 -2
  19. package/dist/data-display/statistic.d.cts +2 -2
  20. package/dist/data-display/statistic.d.ts +2 -2
  21. package/dist/{dialog-CTwMjrks.d.cts → dialog-B7_YVIxQ.d.ts} +12 -12
  22. package/dist/{dialog-pMHkBJ-w.js → dialog-BXL-7iaS.js} +1 -1
  23. package/dist/{dialog-pMHkBJ-w.js.map → dialog-BXL-7iaS.js.map} +1 -1
  24. package/dist/{dialog-BfrTUQrJ.d.ts → dialog-BlSmlsZc.d.cts} +12 -12
  25. package/dist/{dialog-wX27mb8E.cjs → dialog-Cefxay6y.cjs} +1 -1
  26. package/dist/{dialog-wX27mb8E.cjs.map → dialog-Cefxay6y.cjs.map} +1 -1
  27. package/dist/dialogs/confirm-dialog.cjs +1 -1
  28. package/dist/dialogs/confirm-dialog.js +1 -1
  29. package/dist/dialogs/detail-dialog/component/sidebar.cjs +1 -1
  30. package/dist/dialogs/detail-dialog/component/sidebar.d.cts +29 -29
  31. package/dist/dialogs/detail-dialog/component/sidebar.d.ts +31 -31
  32. package/dist/dialogs/detail-dialog/component/sidebar.js +1 -1
  33. package/dist/dialogs/detail-dialog/index.cjs +1 -1
  34. package/dist/dialogs/detail-dialog/index.js +1 -1
  35. package/dist/dialogs/error-dialog.cjs +1 -1
  36. package/dist/dialogs/error-dialog.js +1 -1
  37. package/dist/dialogs/form-dialog.cjs +1 -1
  38. package/dist/dialogs/form-dialog.d.cts +2 -2
  39. package/dist/dialogs/form-dialog.d.ts +2 -2
  40. package/dist/dialogs/form-dialog.js +1 -1
  41. package/dist/dialogs/loading-dialog.cjs +1 -1
  42. package/dist/dialogs/loading-dialog.js +1 -1
  43. package/dist/{drawer-DnhgwetT.js → drawer-D6qggBnW.js} +1 -1
  44. package/dist/{drawer-DnhgwetT.js.map → drawer-D6qggBnW.js.map} +1 -1
  45. package/dist/{drawer-sRfKhXA3.cjs → drawer-oeYvUxv8.cjs} +1 -1
  46. package/dist/{drawer-sRfKhXA3.cjs.map → drawer-oeYvUxv8.cjs.map} +1 -1
  47. package/dist/{error-dialog-DGg0x5xF.cjs → error-dialog-1xq8gXX_.cjs} +2 -2
  48. package/dist/{error-dialog-DGg0x5xF.cjs.map → error-dialog-1xq8gXX_.cjs.map} +1 -1
  49. package/dist/{error-dialog-CphiTB4y.js → error-dialog-m_6k921_.js} +2 -2
  50. package/dist/{error-dialog-CphiTB4y.js.map → error-dialog-m_6k921_.js.map} +1 -1
  51. package/dist/{form-wrapper-Deo8gKv5.js → form-wrapper-BezrUArd.js} +2 -2
  52. package/dist/{form-wrapper-Deo8gKv5.js.map → form-wrapper-BezrUArd.js.map} +1 -1
  53. package/dist/{form-wrapper-C3pU1F5r.cjs → form-wrapper-CIH-4QPY.cjs} +2 -2
  54. package/dist/{form-wrapper-C3pU1F5r.cjs.map → form-wrapper-CIH-4QPY.cjs.map} +1 -1
  55. package/dist/forms/combobox-field.cjs +1 -1
  56. package/dist/forms/combobox-field.d.cts +2 -2
  57. package/dist/forms/combobox-field.d.ts +2 -2
  58. package/dist/forms/combobox-field.js +1 -1
  59. package/dist/forms/date-field.cjs +1 -1
  60. package/dist/forms/date-field.d.cts +2 -2
  61. package/dist/forms/date-field.d.ts +2 -2
  62. package/dist/forms/date-field.js +1 -1
  63. package/dist/forms/form-wrapper.cjs +1 -1
  64. package/dist/forms/form-wrapper.d.ts +2 -2
  65. package/dist/forms/form-wrapper.js +1 -1
  66. package/dist/forms/multi-select-field.cjs +1 -1
  67. package/dist/forms/multi-select-field.cjs.map +1 -1
  68. package/dist/forms/multi-select-field.d.cts +2 -2
  69. package/dist/forms/multi-select-field.d.ts +2 -2
  70. package/dist/forms/multi-select-field.js +1 -1
  71. package/dist/forms/number-field.cjs +1 -1
  72. package/dist/forms/number-field.d.cts +2 -2
  73. package/dist/forms/number-field.d.ts +2 -2
  74. package/dist/forms/number-field.js +1 -1
  75. package/dist/forms/password-field.cjs +1 -1
  76. package/dist/forms/password-field.d.cts +2 -2
  77. package/dist/forms/password-field.d.ts +2 -2
  78. package/dist/forms/password-field.js +1 -1
  79. package/dist/forms/select-field.cjs +1 -1
  80. package/dist/forms/select-field.d.cts +2 -2
  81. package/dist/forms/select-field.d.ts +2 -2
  82. package/dist/forms/select-field.js +1 -1
  83. package/dist/forms/switch-field.cjs +1 -1
  84. package/dist/forms/switch-field.d.cts +2 -2
  85. package/dist/forms/switch-field.d.ts +2 -2
  86. package/dist/forms/switch-field.js +1 -1
  87. package/dist/forms/text-field.cjs +1 -1
  88. package/dist/forms/text-field.d.cts +2 -2
  89. package/dist/forms/text-field.js +1 -1
  90. package/dist/forms/textarea-field.cjs +1 -1
  91. package/dist/forms/textarea-field.d.cts +2 -2
  92. package/dist/forms/textarea-field.js +1 -1
  93. package/dist/{input-Dx2DxNMy.d.cts → input-BFZu6Cb8.d.cts} +3 -3
  94. package/dist/{input-BUYJ4_aj.js → input-BFZuwsER.js} +1 -1
  95. package/dist/{input-BUYJ4_aj.js.map → input-BFZuwsER.js.map} +1 -1
  96. package/dist/{input-DgtTVBtN.cjs → input-ERPHY3v4.cjs} +1 -1
  97. package/dist/{input-DgtTVBtN.cjs.map → input-ERPHY3v4.cjs.map} +1 -1
  98. package/dist/{input-CWzkJbaD.d.ts → input-d_SOv6FU.d.ts} +3 -3
  99. package/dist/layouts/app-layout/index.d.cts +4 -4
  100. package/dist/layouts/app-layout/index.d.ts +29 -29
  101. package/dist/layouts/flex.d.cts +4 -4
  102. package/dist/layouts/flex.d.ts +4 -4
  103. package/dist/layouts/service-layout/index.cjs +1 -1
  104. package/dist/layouts/service-layout/index.cjs.map +1 -1
  105. package/dist/layouts/service-layout/index.d.cts +4 -4
  106. package/dist/layouts/service-layout/index.d.ts +16 -16
  107. package/dist/layouts/service-layout/index.js +1 -1
  108. package/dist/layouts/service-layout/index.js.map +1 -1
  109. package/dist/{multi-select-DRKqFg1M.cjs → multi-select-Bhl2uJgf.cjs} +2 -2
  110. package/dist/{multi-select-DRKqFg1M.cjs.map → multi-select-Bhl2uJgf.cjs.map} +1 -1
  111. package/dist/{multi-select-DyhAPckx.js → multi-select-DLWPfDCM.js} +2 -2
  112. package/dist/{multi-select-DyhAPckx.js.map → multi-select-DLWPfDCM.js.map} +1 -1
  113. package/dist/{popover-CxOK3oy2.js → popover-BjCVseR5.js} +1 -1
  114. package/dist/{popover-CxOK3oy2.js.map → popover-BjCVseR5.js.map} +1 -1
  115. package/dist/{popover-Bi7GLJT5.cjs → popover-D7UZ966w.cjs} +1 -1
  116. package/dist/{popover-Bi7GLJT5.cjs.map → popover-D7UZ966w.cjs.map} +1 -1
  117. package/dist/{search-input-DnYrPBeT.js → search-input-C_7D7Nqj.js} +2 -2
  118. package/dist/{search-input-DnYrPBeT.js.map → search-input-C_7D7Nqj.js.map} +1 -1
  119. package/dist/{search-input-BkhVqB3R.cjs → search-input-hIVKLXXb.cjs} +2 -2
  120. package/dist/{search-input-BkhVqB3R.cjs.map → search-input-hIVKLXXb.cjs.map} +1 -1
  121. package/dist/{select-Cmq5a3Wg.js → select-CijI0HX0.js} +1 -1
  122. package/dist/{select-Cmq5a3Wg.js.map → select-CijI0HX0.js.map} +1 -1
  123. package/dist/{select-DAE3Xg7g.cjs → select-oxr4KoHx.cjs} +1 -1
  124. package/dist/{select-DAE3Xg7g.cjs.map → select-oxr4KoHx.cjs.map} +1 -1
  125. package/dist/{separator-ZGvcRkrl.d.cts → separator-B79v6wKg.d.cts} +3 -3
  126. package/dist/{separator-9s0ppov1.d.ts → separator-CJZGYT24.d.ts} +3 -3
  127. package/dist/{sidebar-CROF88rz.cjs → sidebar-BxGyCuTJ.cjs} +2 -2
  128. package/dist/{sidebar-CROF88rz.cjs.map → sidebar-BxGyCuTJ.cjs.map} +1 -1
  129. package/dist/{sidebar-CrStgrmq.js → sidebar-CMWETVDr.js} +2 -2
  130. package/dist/{sidebar-CrStgrmq.js.map → sidebar-CMWETVDr.js.map} +1 -1
  131. package/dist/{switch-BnHSwQ5T.cjs → switch-BPSKvrTw.cjs} +1 -1
  132. package/dist/{switch-BnHSwQ5T.cjs.map → switch-BPSKvrTw.cjs.map} +1 -1
  133. package/dist/{switch-iwm2-R_e.js → switch-Crju8DJO.js} +1 -1
  134. package/dist/{switch-iwm2-R_e.js.map → switch-Crju8DJO.js.map} +1 -1
  135. package/dist/table/index.cjs +1 -1
  136. package/dist/table/index.d.cts +2 -2
  137. package/dist/table/index.d.ts +2 -2
  138. package/dist/table/index.js +1 -1
  139. package/dist/{textarea-DbNqKCAi.js → textarea-BCZiUxv7.js} +1 -1
  140. package/dist/{textarea-DbNqKCAi.js.map → textarea-BCZiUxv7.js.map} +1 -1
  141. package/dist/{textarea-DK_bNV0u.cjs → textarea-BtACo9UF.cjs} +1 -1
  142. package/dist/{textarea-DK_bNV0u.cjs.map → textarea-BtACo9UF.cjs.map} +1 -1
  143. package/dist/{toggle-DpUG0EqP.d.cts → toggle-B3cvw5ny.d.ts} +6 -6
  144. package/dist/{toggle-DIRRdVOx.d.ts → toggle-Dq091q_s.d.cts} +5 -5
  145. package/dist/{tooltip-ChyvXWdm.d.ts → tooltip-B1Lj1ujY.d.ts} +6 -6
  146. package/dist/{tooltip-BZDwRKZ6.d.cts → tooltip-DijjzZk1.d.cts} +6 -6
  147. package/dist/typography/paragraph.d.cts +2 -2
  148. package/dist/typography/paragraph.d.ts +2 -2
  149. package/dist/typography/title.d.cts +2 -2
  150. package/dist/typography/title.d.ts +2 -2
  151. package/dist/ui/alert-dialog.cjs +1 -1
  152. package/dist/ui/alert-dialog.d.cts +12 -12
  153. package/dist/ui/alert-dialog.d.ts +12 -12
  154. package/dist/ui/alert-dialog.js +1 -1
  155. package/dist/ui/alert.d.cts +4 -4
  156. package/dist/ui/alert.d.ts +4 -4
  157. package/dist/ui/aspect-ratio.d.cts +2 -2
  158. package/dist/ui/aspect-ratio.d.ts +2 -2
  159. package/dist/ui/avatar.d.cts +4 -4
  160. package/dist/ui/avatar.d.ts +4 -4
  161. package/dist/ui/badge.d.cts +2 -2
  162. package/dist/ui/badge.d.ts +4 -4
  163. package/dist/ui/breadcrumb.d.cts +8 -8
  164. package/dist/ui/breadcrumb.d.ts +8 -8
  165. package/dist/ui/button.d.cts +1 -1
  166. package/dist/ui/button.d.ts +1 -1
  167. package/dist/ui/calendar.cjs +1 -1
  168. package/dist/ui/calendar.d.cts +4 -4
  169. package/dist/ui/calendar.d.ts +4 -4
  170. package/dist/ui/calendar.js +1 -1
  171. package/dist/ui/card.d.cts +8 -8
  172. package/dist/ui/card.d.ts +8 -8
  173. package/dist/ui/carousel.d.cts +7 -7
  174. package/dist/ui/carousel.d.ts +7 -7
  175. package/dist/ui/collapsible.d.cts +4 -4
  176. package/dist/ui/collapsible.d.ts +4 -4
  177. package/dist/ui/command.cjs +1 -1
  178. package/dist/ui/command.d.cts +2 -2
  179. package/dist/ui/command.d.ts +2 -2
  180. package/dist/ui/command.js +1 -1
  181. package/dist/ui/context-menu.d.cts +16 -16
  182. package/dist/ui/context-menu.d.ts +16 -16
  183. package/dist/ui/dialog.cjs +1 -1
  184. package/dist/ui/dialog.d.cts +1 -1
  185. package/dist/ui/dialog.d.ts +1 -1
  186. package/dist/ui/dialog.js +1 -1
  187. package/dist/ui/dropdown-menu.d.cts +16 -16
  188. package/dist/ui/dropdown-menu.d.ts +16 -16
  189. package/dist/ui/file-uploader.d.cts +2 -2
  190. package/dist/ui/file-uploader.d.ts +2 -2
  191. package/dist/ui/form.d.cts +7 -7
  192. package/dist/ui/form.d.ts +7 -7
  193. package/dist/ui/hover-card.d.cts +4 -4
  194. package/dist/ui/hover-card.d.ts +4 -4
  195. package/dist/ui/input-otp.d.cts +5 -5
  196. package/dist/ui/input-otp.d.ts +5 -5
  197. package/dist/ui/input.cjs +1 -1
  198. package/dist/ui/input.d.cts +1 -1
  199. package/dist/ui/input.d.ts +1 -1
  200. package/dist/ui/input.js +1 -1
  201. package/dist/ui/inputs/search-input.cjs +1 -1
  202. package/dist/ui/inputs/search-input.d.cts +3 -3
  203. package/dist/ui/inputs/search-input.d.ts +3 -3
  204. package/dist/ui/inputs/search-input.js +1 -1
  205. package/dist/ui/label.d.cts +2 -2
  206. package/dist/ui/label.d.ts +2 -2
  207. package/dist/ui/menubar.d.cts +17 -17
  208. package/dist/ui/menubar.d.ts +17 -17
  209. package/dist/ui/multi-select.cjs +1 -1
  210. package/dist/ui/multi-select.d.cts +2 -2
  211. package/dist/ui/multi-select.d.ts +2 -2
  212. package/dist/ui/multi-select.js +1 -1
  213. package/dist/ui/navigation-menu.d.cts +9 -9
  214. package/dist/ui/navigation-menu.d.ts +11 -11
  215. package/dist/ui/pagination.d.cts +9 -9
  216. package/dist/ui/pagination.d.ts +9 -9
  217. package/dist/ui/popover.cjs +1 -1
  218. package/dist/ui/popover.d.cts +5 -5
  219. package/dist/ui/popover.d.ts +5 -5
  220. package/dist/ui/popover.js +1 -1
  221. package/dist/ui/progress.d.cts +2 -2
  222. package/dist/ui/progress.d.ts +2 -2
  223. package/dist/ui/radio-group.d.cts +3 -3
  224. package/dist/ui/radio-group.d.ts +3 -3
  225. package/dist/ui/resizable.d.cts +4 -4
  226. package/dist/ui/resizable.d.ts +4 -4
  227. package/dist/ui/scroll-area.d.cts +3 -3
  228. package/dist/ui/scroll-area.d.ts +3 -3
  229. package/dist/ui/select.cjs +1 -1
  230. package/dist/ui/select.d.cts +11 -11
  231. package/dist/ui/select.d.ts +11 -11
  232. package/dist/ui/select.js +1 -1
  233. package/dist/ui/separator.d.cts +1 -1
  234. package/dist/ui/separator.d.ts +1 -1
  235. package/dist/ui/sheet.d.cts +9 -9
  236. package/dist/ui/sheet.d.ts +9 -9
  237. package/dist/ui/sidebar.cjs +1 -1
  238. package/dist/ui/sidebar.cjs.map +1 -1
  239. package/dist/ui/sidebar.d.cts +29 -29
  240. package/dist/ui/sidebar.d.ts +29 -29
  241. package/dist/ui/sidebar.js +1 -1
  242. package/dist/ui/sidebar.js.map +1 -1
  243. package/dist/ui/skeleton.d.cts +2 -2
  244. package/dist/ui/skeleton.d.ts +2 -2
  245. package/dist/ui/slider.d.cts +2 -2
  246. package/dist/ui/slider.d.ts +2 -2
  247. package/dist/ui/sonner.d.cts +2 -2
  248. package/dist/ui/sonner.d.ts +2 -2
  249. package/dist/ui/switch.cjs +1 -1
  250. package/dist/ui/switch.d.cts +2 -2
  251. package/dist/ui/switch.d.ts +2 -2
  252. package/dist/ui/switch.js +1 -1
  253. package/dist/ui/table.d.cts +9 -9
  254. package/dist/ui/table.d.ts +9 -9
  255. package/dist/ui/tabs.d.cts +5 -5
  256. package/dist/ui/tabs.d.ts +5 -5
  257. package/dist/ui/textarea.cjs +1 -1
  258. package/dist/ui/textarea.d.ts +2 -2
  259. package/dist/ui/textarea.js +1 -1
  260. package/dist/ui/toggle-group.d.cts +4 -4
  261. package/dist/ui/toggle-group.d.ts +4 -4
  262. package/dist/ui/toggle.d.cts +1 -1
  263. package/dist/ui/toggle.d.ts +1 -1
  264. package/dist/ui/tooltip.d.cts +1 -1
  265. package/dist/ui/tooltip.d.ts +1 -1
  266. package/package.json +1 -1
@@ -1,23 +1,23 @@
1
- import * as react_jsx_runtime65 from "react/jsx-runtime";
2
1
  import { Dialog } from "radix-ui";
2
+ import * as react_jsx_runtime85 from "react/jsx-runtime";
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_runtime65.JSX.Element;
7
+ }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime85.JSX.Element;
8
8
  declare function DialogTrigger({
9
9
  ...props
10
- }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime65.JSX.Element;
10
+ }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime85.JSX.Element;
11
11
  declare function DialogPortal({
12
12
  ...props
13
- }: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime65.JSX.Element;
13
+ }: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime85.JSX.Element;
14
14
  declare function DialogClose({
15
15
  ...props
16
- }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime65.JSX.Element;
16
+ }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime85.JSX.Element;
17
17
  declare function DialogOverlay({
18
18
  className,
19
19
  ...props
20
- }: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime65.JSX.Element;
20
+ }: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime85.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_runtime65.JSX.Element;
28
+ }): react_jsx_runtime85.JSX.Element;
29
29
  declare function DialogHeader({
30
30
  className,
31
31
  ...props
32
- }: React.ComponentProps<'div'>): react_jsx_runtime65.JSX.Element;
32
+ }: React.ComponentProps<'div'>): react_jsx_runtime85.JSX.Element;
33
33
  declare function DialogFooter({
34
34
  className,
35
35
  ...props
36
- }: React.ComponentProps<'div'>): react_jsx_runtime65.JSX.Element;
36
+ }: React.ComponentProps<'div'>): react_jsx_runtime85.JSX.Element;
37
37
  declare function DialogTitle({
38
38
  className,
39
39
  ...props
40
- }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime65.JSX.Element;
40
+ }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime85.JSX.Element;
41
41
  declare function DialogDescription({
42
42
  className,
43
43
  ...props
44
- }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime65.JSX.Element;
44
+ }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime85.JSX.Element;
45
45
  //#endregion
46
46
  export { Dialog$1 as Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
47
- //# sourceMappingURL=dialog-CTwMjrks.d.cts.map
47
+ //# sourceMappingURL=dialog-B7_YVIxQ.d.ts.map
@@ -1,2 +1,2 @@
1
1
  import{XIcon as e}from"lucide-react";import{cn as t}from"@customafk/react-toolkit/utils";import{Dialog as n}from"radix-ui";import{jsx as r,jsxs as i}from"react/jsx-runtime";function a({...e}){return r(n.Root,{"data-slot":`dialog`,...e})}function o({...e}){return r(n.Trigger,{"data-slot":`dialog-trigger`,...e})}function s({...e}){return r(n.Portal,{"data-slot":`dialog-portal`,...e})}function c({...e}){return r(n.Close,{"data-slot":`dialog-close`,...e})}function l({className:e,...i}){return r(n.Overlay,{"data-slot":`dialog-overlay`,className:t(`fixed inset-0 z-50 bg-black/50`,`data-[state=open]:animate-in`,`data-[state=open]:fade-in-0`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,e),...i})}function u({className:a,children:o,showCloseButton:c=!0,...u}){return i(s,{"data-slot":`dialog-portal`,children:[r(l,{}),r(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center`,children:i(n.Content,{"data-slot":`dialog-content`,className:t(`bg-background relative z-50 grid`,`shadow-dialog gap-4 p-6 outline-none`,`max-h-[85svh] w-full max-w-[calc(100%-2rem)] sm:max-w-lg`,`rounded-2xl duration-200`,`data-[state=open]:animate-in`,`data-[state=open]:fade-in-0`,`data-[state=open]:zoom-in-80`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=closed]:zoom-out-80`,a),...u,children:[o,c&&i(n.Close,{"data-slot":`dialog-close`,tabIndex:-1,className:t(`btnClose`,`absolute top-3 right-3 rounded-full p-2 opacity-70`,`cursor-pointer transition-all`,`outline-0`,`disabled:pointer-events-none`,`focus:ring-2`,`focus:ring-border-weak`,`hover:opacity-100`,`hover:bg-border-muted`,`data-[state=open]:bg-accent-weak`,`data-[state=open]:text-text-positive-muted`,`[&_svg]:text-accent-foreground/60`,`[&_svg]:hover:text-text-positive-strong`,`[&_svg]:pointer-events-none`,`[&_svg]:shrink-0`,`[&_svg:not([class*='size-'])]:size-5`),children:[r(e,{}),r(`span`,{className:`sr-only`,children:`Close`})]})]})})]})}function d({className:e,...n}){return r(`div`,{"data-slot":`dialog-header`,className:t(`flex flex-col gap-2 text-center sm:text-left`,e),...n})}function f({className:e,...n}){return r(`div`,{"data-slot":`dialog-footer`,className:t(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...n})}function p({className:e,...i}){return r(n.Title,{"data-slot":`dialog-title`,className:t(`text-text-positive-strong text-lg leading-none font-semibold`,e),...i})}function m({className:e,...i}){return r(n.Description,{"data-slot":`dialog-description`,className:t(`text-text-positive-weak text-sm`,e),...i})}export{a as Dialog,c as DialogClose,u as DialogContent,m as DialogDescription,f as DialogFooter,d as DialogHeader,l as DialogOverlay,s as DialogPortal,p as DialogTitle,o as DialogTrigger};
2
- //# sourceMappingURL=dialog-pMHkBJ-w.js.map
2
+ //# sourceMappingURL=dialog-BXL-7iaS.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-pMHkBJ-w.js","names":["Dialog","DialogPrimitive"],"sources":["../packages/components/ui/dialog.tsx"],"sourcesContent":["'use client'\nimport { cn } from '@customafk/react-toolkit/utils'\n\nimport { XIcon } from 'lucide-react'\n\nimport { Dialog as DialogPrimitive } from 'radix-ui'\n\nfunction Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />\n}\n\nfunction DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />\n}\n\nfunction DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />\n}\n\nfunction DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />\n}\n\nfunction DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>) {\n return (\n <DialogPrimitive.Overlay\n data-slot=\"dialog-overlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/50',\n 'data-[state=open]:animate-in',\n 'data-[state=open]:fade-in-0',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:fade-out-0',\n className,\n )}\n {...props}\n />\n )\n}\n\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean\n}) {\n return (\n <DialogPortal data-slot=\"dialog-portal\">\n <DialogOverlay />\n <div className=\"fixed inset-0 z-50 flex items-center justify-center\">\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n 'bg-background relative z-50 grid',\n 'shadow-dialog gap-4 p-6 outline-none',\n 'max-h-[85svh] w-full max-w-[calc(100%-2rem)] sm:max-w-lg',\n 'rounded-2xl duration-200',\n 'data-[state=open]:animate-in',\n 'data-[state=open]:fade-in-0',\n 'data-[state=open]:zoom-in-80',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:fade-out-0',\n 'data-[state=closed]:zoom-out-80',\n className,\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n data-slot=\"dialog-close\"\n tabIndex={-1}\n className={cn(\n 'btnClose',\n 'absolute top-3 right-3 rounded-full p-2 opacity-70',\n 'cursor-pointer transition-all',\n 'outline-0',\n 'disabled:pointer-events-none',\n 'focus:ring-2',\n 'focus:ring-border-weak',\n 'hover:opacity-100',\n 'hover:bg-border-muted',\n 'data-[state=open]:bg-accent-weak',\n 'data-[state=open]:text-text-positive-muted',\n '[&_svg]:text-accent-foreground/60',\n '[&_svg]:hover:text-text-positive-strong',\n '[&_svg]:pointer-events-none',\n '[&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-5\",\n )}\n >\n <XIcon />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </div>\n </DialogPortal>\n )\n}\n\nfunction DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-header\" className={cn('flex flex-col gap-2 text-center sm:text-left', className)} {...props} />\n}\n\nfunction DialogFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-footer\" className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)} {...props} />\n}\n\nfunction DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>) {\n return <DialogPrimitive.Title data-slot=\"dialog-title\" className={cn('text-text-positive-strong text-lg leading-none font-semibold', className)} {...props} />\n}\n\nfunction DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>) {\n return <DialogPrimitive.Description data-slot=\"dialog-description\" className={cn('text-text-positive-weak text-sm', className)} {...props} />\n}\n\nexport { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger }\n"],"mappings":"6KAOA,SAASA,EAAO,CAAE,GAAG,GAA4D,CAC/E,OAAO,EAACC,EAAgB,KAAA,CAAK,YAAU,SAAS,GAAI,IAGtD,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAACA,EAAgB,QAAA,CAAQ,YAAU,iBAAiB,GAAI,IAGjE,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAACA,EAAgB,OAAA,CAAO,YAAU,gBAAgB,GAAI,IAG/D,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,GAAI,IAG7D,SAAS,EAAc,CAAE,YAAW,GAAG,GAA+D,CACpG,OACE,EAACA,EAAgB,QAAA,CACf,YAAU,iBACV,UAAW,EACT,iCACA,+BACA,8BACA,kCACA,iCACA,GAEF,GAAI,IAKV,SAAS,EAAc,CACrB,YACA,WACA,kBAAkB,GAClB,GAAG,GAGF,CACD,OACE,EAAC,EAAA,CAAa,YAAU,0BACtB,EAAC,EAAA,IACD,EAAC,MAAA,CAAI,UAAU,+DACb,EAACA,EAAgB,QAAA,CACf,YAAU,iBACV,UAAW,EACT,mCACA,uCACA,2DACA,2BACA,+BACA,8BACA,+BACA,kCACA,iCACA,kCACA,GAEF,GAAI,YAEH,EACA,GACC,EAACA,EAAgB,MAAA,CACf,YAAU,eACV,SAAU,GACV,UAAW,EACT,WACA,qDACA,gCACA,YACA,+BACA,eACA,yBACA,oBACA,wBACA,mCACA,6CACA,oCACA,0CACA,8BACA,mBACA,kDAGF,EAAC,EAAA,IACD,EAAC,OAAA,CAAK,UAAU,mBAAU,qBASxC,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAC,MAAA,CAAI,YAAU,gBAAgB,UAAW,EAAG,+CAAgD,GAAY,GAAI,IAGtH,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAC,MAAA,CAAI,YAAU,gBAAgB,UAAW,EAAG,yDAA0D,GAAY,GAAI,IAGhI,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,UAAW,EAAG,+DAAgE,GAAY,GAAI,IAGvJ,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAmE,CAC5G,OAAO,EAACA,EAAgB,YAAA,CAAY,YAAU,qBAAqB,UAAW,EAAG,kCAAmC,GAAY,GAAI"}
1
+ {"version":3,"file":"dialog-BXL-7iaS.js","names":["Dialog","DialogPrimitive"],"sources":["../packages/components/ui/dialog.tsx"],"sourcesContent":["'use client'\nimport { cn } from '@customafk/react-toolkit/utils'\n\nimport { XIcon } from 'lucide-react'\n\nimport { Dialog as DialogPrimitive } from 'radix-ui'\n\nfunction Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />\n}\n\nfunction DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />\n}\n\nfunction DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />\n}\n\nfunction DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />\n}\n\nfunction DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>) {\n return (\n <DialogPrimitive.Overlay\n data-slot=\"dialog-overlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/50',\n 'data-[state=open]:animate-in',\n 'data-[state=open]:fade-in-0',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:fade-out-0',\n className,\n )}\n {...props}\n />\n )\n}\n\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean\n}) {\n return (\n <DialogPortal data-slot=\"dialog-portal\">\n <DialogOverlay />\n <div className=\"fixed inset-0 z-50 flex items-center justify-center\">\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n 'bg-background relative z-50 grid',\n 'shadow-dialog gap-4 p-6 outline-none',\n 'max-h-[85svh] w-full max-w-[calc(100%-2rem)] sm:max-w-lg',\n 'rounded-2xl duration-200',\n 'data-[state=open]:animate-in',\n 'data-[state=open]:fade-in-0',\n 'data-[state=open]:zoom-in-80',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:fade-out-0',\n 'data-[state=closed]:zoom-out-80',\n className,\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n data-slot=\"dialog-close\"\n tabIndex={-1}\n className={cn(\n 'btnClose',\n 'absolute top-3 right-3 rounded-full p-2 opacity-70',\n 'cursor-pointer transition-all',\n 'outline-0',\n 'disabled:pointer-events-none',\n 'focus:ring-2',\n 'focus:ring-border-weak',\n 'hover:opacity-100',\n 'hover:bg-border-muted',\n 'data-[state=open]:bg-accent-weak',\n 'data-[state=open]:text-text-positive-muted',\n '[&_svg]:text-accent-foreground/60',\n '[&_svg]:hover:text-text-positive-strong',\n '[&_svg]:pointer-events-none',\n '[&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-5\",\n )}\n >\n <XIcon />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </div>\n </DialogPortal>\n )\n}\n\nfunction DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-header\" className={cn('flex flex-col gap-2 text-center sm:text-left', className)} {...props} />\n}\n\nfunction DialogFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-footer\" className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)} {...props} />\n}\n\nfunction DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>) {\n return <DialogPrimitive.Title data-slot=\"dialog-title\" className={cn('text-text-positive-strong text-lg leading-none font-semibold', className)} {...props} />\n}\n\nfunction DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>) {\n return <DialogPrimitive.Description data-slot=\"dialog-description\" className={cn('text-text-positive-weak text-sm', className)} {...props} />\n}\n\nexport { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger }\n"],"mappings":"6KAOA,SAASA,EAAO,CAAE,GAAG,GAA4D,CAC/E,OAAO,EAACC,EAAgB,KAAA,CAAK,YAAU,SAAS,GAAI,IAGtD,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAACA,EAAgB,QAAA,CAAQ,YAAU,iBAAiB,GAAI,IAGjE,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAACA,EAAgB,OAAA,CAAO,YAAU,gBAAgB,GAAI,IAG/D,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,GAAI,IAG7D,SAAS,EAAc,CAAE,YAAW,GAAG,GAA+D,CACpG,OACE,EAACA,EAAgB,QAAA,CACf,YAAU,iBACV,UAAW,EACT,iCACA,+BACA,8BACA,kCACA,iCACA,GAEF,GAAI,IAKV,SAAS,EAAc,CACrB,YACA,WACA,kBAAkB,GAClB,GAAG,GAGF,CACD,OACE,EAAC,EAAA,CAAa,YAAU,0BACtB,EAAC,EAAA,IACD,EAAC,MAAA,CAAI,UAAU,+DACb,EAACA,EAAgB,QAAA,CACf,YAAU,iBACV,UAAW,EACT,mCACA,uCACA,2DACA,2BACA,+BACA,8BACA,+BACA,kCACA,iCACA,kCACA,GAEF,GAAI,YAEH,EACA,GACC,EAACA,EAAgB,MAAA,CACf,YAAU,eACV,SAAU,GACV,UAAW,EACT,WACA,qDACA,gCACA,YACA,+BACA,eACA,yBACA,oBACA,wBACA,mCACA,6CACA,oCACA,0CACA,8BACA,mBACA,kDAGF,EAAC,EAAA,IACD,EAAC,OAAA,CAAK,UAAU,mBAAU,qBASxC,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAC,MAAA,CAAI,YAAU,gBAAgB,UAAW,EAAG,+CAAgD,GAAY,GAAI,IAGtH,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAC,MAAA,CAAI,YAAU,gBAAgB,UAAW,EAAG,yDAA0D,GAAY,GAAI,IAGhI,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,UAAW,EAAG,+DAAgE,GAAY,GAAI,IAGvJ,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAmE,CAC5G,OAAO,EAACA,EAAgB,YAAA,CAAY,YAAU,qBAAqB,UAAW,EAAG,kCAAmC,GAAY,GAAI"}
@@ -1,23 +1,23 @@
1
+ import * as react_jsx_runtime139 from "react/jsx-runtime";
1
2
  import { Dialog } from "radix-ui";
2
- import * as react_jsx_runtime92 from "react/jsx-runtime";
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_runtime92.JSX.Element;
7
+ }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime139.JSX.Element;
8
8
  declare function DialogTrigger({
9
9
  ...props
10
- }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime92.JSX.Element;
10
+ }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime139.JSX.Element;
11
11
  declare function DialogPortal({
12
12
  ...props
13
- }: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime92.JSX.Element;
13
+ }: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime139.JSX.Element;
14
14
  declare function DialogClose({
15
15
  ...props
16
- }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime92.JSX.Element;
16
+ }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime139.JSX.Element;
17
17
  declare function DialogOverlay({
18
18
  className,
19
19
  ...props
20
- }: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime92.JSX.Element;
20
+ }: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime139.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_runtime92.JSX.Element;
28
+ }): react_jsx_runtime139.JSX.Element;
29
29
  declare function DialogHeader({
30
30
  className,
31
31
  ...props
32
- }: React.ComponentProps<'div'>): react_jsx_runtime92.JSX.Element;
32
+ }: React.ComponentProps<'div'>): react_jsx_runtime139.JSX.Element;
33
33
  declare function DialogFooter({
34
34
  className,
35
35
  ...props
36
- }: React.ComponentProps<'div'>): react_jsx_runtime92.JSX.Element;
36
+ }: React.ComponentProps<'div'>): react_jsx_runtime139.JSX.Element;
37
37
  declare function DialogTitle({
38
38
  className,
39
39
  ...props
40
- }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime92.JSX.Element;
40
+ }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime139.JSX.Element;
41
41
  declare function DialogDescription({
42
42
  className,
43
43
  ...props
44
- }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime92.JSX.Element;
44
+ }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime139.JSX.Element;
45
45
  //#endregion
46
46
  export { Dialog$1 as Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
47
- //# sourceMappingURL=dialog-BfrTUQrJ.d.ts.map
47
+ //# sourceMappingURL=dialog-BlSmlsZc.d.cts.map
@@ -1,2 +1,2 @@
1
1
  const e=require(`./chunk-CUT6urMc.cjs`),t=e.__toESM(require(`lucide-react`)),n=e.__toESM(require(`@customafk/react-toolkit/utils`)),r=e.__toESM(require(`radix-ui`)),i=e.__toESM(require(`react/jsx-runtime`));function a({...e}){return(0,i.jsx)(r.Dialog.Root,{"data-slot":`dialog`,...e})}function o({...e}){return(0,i.jsx)(r.Dialog.Trigger,{"data-slot":`dialog-trigger`,...e})}function s({...e}){return(0,i.jsx)(r.Dialog.Portal,{"data-slot":`dialog-portal`,...e})}function c({...e}){return(0,i.jsx)(r.Dialog.Close,{"data-slot":`dialog-close`,...e})}function l({className:e,...t}){return(0,i.jsx)(r.Dialog.Overlay,{"data-slot":`dialog-overlay`,className:(0,n.cn)(`fixed inset-0 z-50 bg-black/50`,`data-[state=open]:animate-in`,`data-[state=open]:fade-in-0`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,e),...t})}function u({className:e,children:a,showCloseButton:o=!0,...c}){return(0,i.jsxs)(s,{"data-slot":`dialog-portal`,children:[(0,i.jsx)(l,{}),(0,i.jsx)(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center`,children:(0,i.jsxs)(r.Dialog.Content,{"data-slot":`dialog-content`,className:(0,n.cn)(`bg-background relative z-50 grid`,`shadow-dialog gap-4 p-6 outline-none`,`max-h-[85svh] w-full max-w-[calc(100%-2rem)] sm:max-w-lg`,`rounded-2xl duration-200`,`data-[state=open]:animate-in`,`data-[state=open]:fade-in-0`,`data-[state=open]:zoom-in-80`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=closed]:zoom-out-80`,e),...c,children:[a,o&&(0,i.jsxs)(r.Dialog.Close,{"data-slot":`dialog-close`,tabIndex:-1,className:(0,n.cn)(`btnClose`,`absolute top-3 right-3 rounded-full p-2 opacity-70`,`cursor-pointer transition-all`,`outline-0`,`disabled:pointer-events-none`,`focus:ring-2`,`focus:ring-border-weak`,`hover:opacity-100`,`hover:bg-border-muted`,`data-[state=open]:bg-accent-weak`,`data-[state=open]:text-text-positive-muted`,`[&_svg]:text-accent-foreground/60`,`[&_svg]:hover:text-text-positive-strong`,`[&_svg]:pointer-events-none`,`[&_svg]:shrink-0`,`[&_svg:not([class*='size-'])]:size-5`),children:[(0,i.jsx)(t.XIcon,{}),(0,i.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})})]})}function d({className:e,...t}){return(0,i.jsx)(`div`,{"data-slot":`dialog-header`,className:(0,n.cn)(`flex flex-col gap-2 text-center sm:text-left`,e),...t})}function f({className:e,...t}){return(0,i.jsx)(`div`,{"data-slot":`dialog-footer`,className:(0,n.cn)(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...t})}function p({className:e,...t}){return(0,i.jsx)(r.Dialog.Title,{"data-slot":`dialog-title`,className:(0,n.cn)(`text-text-positive-strong text-lg leading-none font-semibold`,e),...t})}function m({className:e,...t}){return(0,i.jsx)(r.Dialog.Description,{"data-slot":`dialog-description`,className:(0,n.cn)(`text-text-positive-weak text-sm`,e),...t})}Object.defineProperty(exports,`Dialog`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`DialogClose`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`DialogContent`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`DialogDescription`,{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,`DialogFooter`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`DialogHeader`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`DialogOverlay`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`DialogPortal`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`DialogTitle`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`DialogTrigger`,{enumerable:!0,get:function(){return o}});
2
- //# sourceMappingURL=dialog-wX27mb8E.cjs.map
2
+ //# sourceMappingURL=dialog-Cefxay6y.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-wX27mb8E.cjs","names":["DialogPrimitive","XIcon"],"sources":["../packages/components/ui/dialog.tsx"],"sourcesContent":["'use client'\nimport { cn } from '@customafk/react-toolkit/utils'\n\nimport { XIcon } from 'lucide-react'\n\nimport { Dialog as DialogPrimitive } from 'radix-ui'\n\nfunction Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />\n}\n\nfunction DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />\n}\n\nfunction DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />\n}\n\nfunction DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />\n}\n\nfunction DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>) {\n return (\n <DialogPrimitive.Overlay\n data-slot=\"dialog-overlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/50',\n 'data-[state=open]:animate-in',\n 'data-[state=open]:fade-in-0',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:fade-out-0',\n className,\n )}\n {...props}\n />\n )\n}\n\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean\n}) {\n return (\n <DialogPortal data-slot=\"dialog-portal\">\n <DialogOverlay />\n <div className=\"fixed inset-0 z-50 flex items-center justify-center\">\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n 'bg-background relative z-50 grid',\n 'shadow-dialog gap-4 p-6 outline-none',\n 'max-h-[85svh] w-full max-w-[calc(100%-2rem)] sm:max-w-lg',\n 'rounded-2xl duration-200',\n 'data-[state=open]:animate-in',\n 'data-[state=open]:fade-in-0',\n 'data-[state=open]:zoom-in-80',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:fade-out-0',\n 'data-[state=closed]:zoom-out-80',\n className,\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n data-slot=\"dialog-close\"\n tabIndex={-1}\n className={cn(\n 'btnClose',\n 'absolute top-3 right-3 rounded-full p-2 opacity-70',\n 'cursor-pointer transition-all',\n 'outline-0',\n 'disabled:pointer-events-none',\n 'focus:ring-2',\n 'focus:ring-border-weak',\n 'hover:opacity-100',\n 'hover:bg-border-muted',\n 'data-[state=open]:bg-accent-weak',\n 'data-[state=open]:text-text-positive-muted',\n '[&_svg]:text-accent-foreground/60',\n '[&_svg]:hover:text-text-positive-strong',\n '[&_svg]:pointer-events-none',\n '[&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-5\",\n )}\n >\n <XIcon />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </div>\n </DialogPortal>\n )\n}\n\nfunction DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-header\" className={cn('flex flex-col gap-2 text-center sm:text-left', className)} {...props} />\n}\n\nfunction DialogFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-footer\" className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)} {...props} />\n}\n\nfunction DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>) {\n return <DialogPrimitive.Title data-slot=\"dialog-title\" className={cn('text-text-positive-strong text-lg leading-none font-semibold', className)} {...props} />\n}\n\nfunction DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>) {\n return <DialogPrimitive.Description data-slot=\"dialog-description\" className={cn('text-text-positive-weak text-sm', className)} {...props} />\n}\n\nexport { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger }\n"],"mappings":"+MAOA,SAAS,EAAO,CAAE,GAAG,GAA4D,CAC/E,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,KAAA,CAAK,YAAU,SAAS,GAAI,IAGtD,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,QAAA,CAAQ,YAAU,iBAAiB,GAAI,IAGjE,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,OAAA,CAAO,YAAU,gBAAgB,GAAI,IAG/D,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,GAAI,IAG7D,SAAS,EAAc,CAAE,YAAW,GAAG,GAA+D,CACpG,OACE,EAAA,EAAA,KAACA,EAAAA,OAAgB,QAAA,CACf,YAAU,iBACV,WAAA,EAAA,EAAA,IACE,iCACA,+BACA,8BACA,kCACA,iCACA,GAEF,GAAI,IAKV,SAAS,EAAc,CACrB,YACA,WACA,kBAAkB,GAClB,GAAG,GAGF,CACD,OACE,EAAA,EAAA,MAAC,EAAA,CAAa,YAAU,2BACtB,EAAA,EAAA,KAAC,EAAA,KACD,EAAA,EAAA,KAAC,MAAA,CAAI,UAAU,gEACb,EAAA,EAAA,MAACA,EAAAA,OAAgB,QAAA,CACf,YAAU,iBACV,WAAA,EAAA,EAAA,IACE,mCACA,uCACA,2DACA,2BACA,+BACA,8BACA,+BACA,kCACA,iCACA,kCACA,GAEF,GAAI,YAEH,EACA,IACC,EAAA,EAAA,MAACA,EAAAA,OAAgB,MAAA,CACf,YAAU,eACV,SAAU,GACV,WAAA,EAAA,EAAA,IACE,WACA,qDACA,gCACA,YACA,+BACA,eACA,yBACA,oBACA,wBACA,mCACA,6CACA,oCACA,0CACA,8BACA,mBACA,mDAGF,EAAA,EAAA,KAACC,EAAAA,MAAAA,KACD,EAAA,EAAA,KAAC,OAAA,CAAK,UAAU,mBAAU,qBASxC,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,gBAAgB,WAAA,EAAA,EAAA,IAAc,+CAAgD,GAAY,GAAI,IAGtH,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,gBAAgB,WAAA,EAAA,EAAA,IAAc,yDAA0D,GAAY,GAAI,IAGhI,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAAA,EAAA,KAACD,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,WAAA,EAAA,EAAA,IAAc,+DAAgE,GAAY,GAAI,IAGvJ,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAmE,CAC5G,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,YAAA,CAAY,YAAU,qBAAqB,WAAA,EAAA,EAAA,IAAc,kCAAmC,GAAY,GAAI"}
1
+ {"version":3,"file":"dialog-Cefxay6y.cjs","names":["DialogPrimitive","XIcon"],"sources":["../packages/components/ui/dialog.tsx"],"sourcesContent":["'use client'\nimport { cn } from '@customafk/react-toolkit/utils'\n\nimport { XIcon } from 'lucide-react'\n\nimport { Dialog as DialogPrimitive } from 'radix-ui'\n\nfunction Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />\n}\n\nfunction DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />\n}\n\nfunction DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />\n}\n\nfunction DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />\n}\n\nfunction DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>) {\n return (\n <DialogPrimitive.Overlay\n data-slot=\"dialog-overlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/50',\n 'data-[state=open]:animate-in',\n 'data-[state=open]:fade-in-0',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:fade-out-0',\n className,\n )}\n {...props}\n />\n )\n}\n\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean\n}) {\n return (\n <DialogPortal data-slot=\"dialog-portal\">\n <DialogOverlay />\n <div className=\"fixed inset-0 z-50 flex items-center justify-center\">\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n 'bg-background relative z-50 grid',\n 'shadow-dialog gap-4 p-6 outline-none',\n 'max-h-[85svh] w-full max-w-[calc(100%-2rem)] sm:max-w-lg',\n 'rounded-2xl duration-200',\n 'data-[state=open]:animate-in',\n 'data-[state=open]:fade-in-0',\n 'data-[state=open]:zoom-in-80',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:fade-out-0',\n 'data-[state=closed]:zoom-out-80',\n className,\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n data-slot=\"dialog-close\"\n tabIndex={-1}\n className={cn(\n 'btnClose',\n 'absolute top-3 right-3 rounded-full p-2 opacity-70',\n 'cursor-pointer transition-all',\n 'outline-0',\n 'disabled:pointer-events-none',\n 'focus:ring-2',\n 'focus:ring-border-weak',\n 'hover:opacity-100',\n 'hover:bg-border-muted',\n 'data-[state=open]:bg-accent-weak',\n 'data-[state=open]:text-text-positive-muted',\n '[&_svg]:text-accent-foreground/60',\n '[&_svg]:hover:text-text-positive-strong',\n '[&_svg]:pointer-events-none',\n '[&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-5\",\n )}\n >\n <XIcon />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </div>\n </DialogPortal>\n )\n}\n\nfunction DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-header\" className={cn('flex flex-col gap-2 text-center sm:text-left', className)} {...props} />\n}\n\nfunction DialogFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-footer\" className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)} {...props} />\n}\n\nfunction DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>) {\n return <DialogPrimitive.Title data-slot=\"dialog-title\" className={cn('text-text-positive-strong text-lg leading-none font-semibold', className)} {...props} />\n}\n\nfunction DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>) {\n return <DialogPrimitive.Description data-slot=\"dialog-description\" className={cn('text-text-positive-weak text-sm', className)} {...props} />\n}\n\nexport { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger }\n"],"mappings":"+MAOA,SAAS,EAAO,CAAE,GAAG,GAA4D,CAC/E,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,KAAA,CAAK,YAAU,SAAS,GAAI,IAGtD,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,QAAA,CAAQ,YAAU,iBAAiB,GAAI,IAGjE,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,OAAA,CAAO,YAAU,gBAAgB,GAAI,IAG/D,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,GAAI,IAG7D,SAAS,EAAc,CAAE,YAAW,GAAG,GAA+D,CACpG,OACE,EAAA,EAAA,KAACA,EAAAA,OAAgB,QAAA,CACf,YAAU,iBACV,WAAA,EAAA,EAAA,IACE,iCACA,+BACA,8BACA,kCACA,iCACA,GAEF,GAAI,IAKV,SAAS,EAAc,CACrB,YACA,WACA,kBAAkB,GAClB,GAAG,GAGF,CACD,OACE,EAAA,EAAA,MAAC,EAAA,CAAa,YAAU,2BACtB,EAAA,EAAA,KAAC,EAAA,KACD,EAAA,EAAA,KAAC,MAAA,CAAI,UAAU,gEACb,EAAA,EAAA,MAACA,EAAAA,OAAgB,QAAA,CACf,YAAU,iBACV,WAAA,EAAA,EAAA,IACE,mCACA,uCACA,2DACA,2BACA,+BACA,8BACA,+BACA,kCACA,iCACA,kCACA,GAEF,GAAI,YAEH,EACA,IACC,EAAA,EAAA,MAACA,EAAAA,OAAgB,MAAA,CACf,YAAU,eACV,SAAU,GACV,WAAA,EAAA,EAAA,IACE,WACA,qDACA,gCACA,YACA,+BACA,eACA,yBACA,oBACA,wBACA,mCACA,6CACA,oCACA,0CACA,8BACA,mBACA,mDAGF,EAAA,EAAA,KAACC,EAAAA,MAAAA,KACD,EAAA,EAAA,KAAC,OAAA,CAAK,UAAU,mBAAU,qBASxC,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,gBAAgB,WAAA,EAAA,EAAA,IAAc,+CAAgD,GAAY,GAAI,IAGtH,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,gBAAgB,WAAA,EAAA,EAAA,IAAc,yDAA0D,GAAY,GAAI,IAGhI,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAAA,EAAA,KAACD,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,WAAA,EAAA,EAAA,IAAc,+DAAgE,GAAY,GAAI,IAGvJ,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAmE,CAC5G,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,YAAA,CAAY,YAAU,qBAAqB,WAAA,EAAA,EAAA,IAAc,kCAAmC,GAAY,GAAI"}
@@ -1,2 +1,2 @@
1
- const e=require(`../chunk-CUT6urMc.cjs`);require(`../button-119IIVCy.cjs`);const t=require(`../alert-dialog-D-4wxqLK.cjs`),n=e.__toESM(require(`react/jsx-runtime`)),r=({open:e,isLoading:r=!1,title:i,description:a,onOpenChange:o,onConfirm:s})=>(0,n.jsx)(t.AlertDialog,{open:e,onOpenChange:o,children:(0,n.jsxs)(t.AlertDialogContent,{children:[(0,n.jsxs)(t.AlertDialogHeader,{className:`gap-0`,children:[(0,n.jsx)(t.AlertDialogTitle,{children:i}),(0,n.jsx)(t.AlertDialogDescription,{children:a})]}),(0,n.jsxs)(t.AlertDialogFooter,{children:[(0,n.jsx)(t.AlertDialogCancel,{children:`Cancel`}),(0,n.jsx)(t.AlertDialogAction,{className:`min-h-9 w-full md:w-24`,onClick:s,children:r?(0,n.jsx)(`div`,{className:`absolute inset-0 flex items-center justify-center`,children:(0,n.jsx)(`div`,{className:`loader-spinner text-muted-foreground`})}):`Confirm`})]})]})});exports.ConfirmDialog=r;
1
+ const e=require(`../chunk-CUT6urMc.cjs`);require(`../button-119IIVCy.cjs`);const t=require(`../alert-dialog-CTKVGTqb.cjs`),n=e.__toESM(require(`react/jsx-runtime`)),r=({open:e,isLoading:r=!1,title:i,description:a,onOpenChange:o,onConfirm:s})=>(0,n.jsx)(t.AlertDialog,{open:e,onOpenChange:o,children:(0,n.jsxs)(t.AlertDialogContent,{children:[(0,n.jsxs)(t.AlertDialogHeader,{className:`gap-0`,children:[(0,n.jsx)(t.AlertDialogTitle,{children:i}),(0,n.jsx)(t.AlertDialogDescription,{children:a})]}),(0,n.jsxs)(t.AlertDialogFooter,{children:[(0,n.jsx)(t.AlertDialogCancel,{children:`Cancel`}),(0,n.jsx)(t.AlertDialogAction,{className:`min-h-9 w-full md:w-24`,onClick:s,children:r?(0,n.jsx)(`div`,{className:`absolute inset-0 flex items-center justify-center`,children:(0,n.jsx)(`div`,{className:`loader-spinner text-muted-foreground`})}):`Confirm`})]})]})});exports.ConfirmDialog=r;
2
2
  //# sourceMappingURL=confirm-dialog.cjs.map
@@ -1,2 +1,2 @@
1
- import"../button-CvQQTSka.js";import{AlertDialog as e,AlertDialogAction as t,AlertDialogCancel as n,AlertDialogContent as r,AlertDialogDescription as i,AlertDialogFooter as a,AlertDialogHeader as o,AlertDialogTitle as s}from"../alert-dialog-B5dXkMIF.js";import{jsx as c,jsxs as l}from"react/jsx-runtime";const u=({open:u,isLoading:d=!1,title:f,description:p,onOpenChange:m,onConfirm:h})=>c(e,{open:u,onOpenChange:m,children:l(r,{children:[l(o,{className:`gap-0`,children:[c(s,{children:f}),c(i,{children:p})]}),l(a,{children:[c(n,{children:`Cancel`}),c(t,{className:`min-h-9 w-full md:w-24`,onClick:h,children:d?c(`div`,{className:`absolute inset-0 flex items-center justify-center`,children:c(`div`,{className:`loader-spinner text-muted-foreground`})}):`Confirm`})]})]})});export{u as ConfirmDialog};
1
+ import"../button-CvQQTSka.js";import{AlertDialog as e,AlertDialogAction as t,AlertDialogCancel as n,AlertDialogContent as r,AlertDialogDescription as i,AlertDialogFooter as a,AlertDialogHeader as o,AlertDialogTitle as s}from"../alert-dialog-BDKOU-BT.js";import{jsx as c,jsxs as l}from"react/jsx-runtime";const u=({open:u,isLoading:d=!1,title:f,description:p,onOpenChange:m,onConfirm:h})=>c(e,{open:u,onOpenChange:m,children:l(r,{children:[l(o,{className:`gap-0`,children:[c(s,{children:f}),c(i,{children:p})]}),l(a,{children:[c(n,{children:`Cancel`}),c(t,{className:`min-h-9 w-full md:w-24`,onClick:h,children:d?c(`div`,{className:`absolute inset-0 flex items-center justify-center`,children:c(`div`,{className:`loader-spinner text-muted-foreground`})}):`Confirm`})]})]})});export{u as ConfirmDialog};
2
2
  //# sourceMappingURL=confirm-dialog.js.map
@@ -1 +1 @@
1
- "use client";require(`../../../button-119IIVCy.cjs`),require(`../../../skeleton-CmGSyYRm.cjs`),require(`../../../tooltip-CQ8hkJ42.cjs`),require(`../../../input-DgtTVBtN.cjs`),require(`../../../separator-JGL-8B0V.cjs`),require(`../../../sheet-slcLNlWv.cjs`);const e=require(`../../../sidebar-CROF88rz.cjs`);exports.DetailDialogSidebarContent=e.DetailDialogSidebarContent,exports.DetailDialogSidebarFooter=e.DetailDialogSidebarFooter,exports.DetailDialogSidebarGroup=e.DetailDialogSidebarGroup,exports.DetailDialogSidebarGroupAction=e.DetailDialogSidebarGroupAction,exports.DetailDialogSidebarGroupContent=e.DetailDialogSidebarGroupContent,exports.DetailDialogSidebarGroupLabel=e.DetailDialogSidebarGroupLabel,exports.DetailDialogSidebarHeader=e.DetailDialogSidebarHeader,exports.DetailDialogSidebarMenu=e.DetailDialogSidebarMenu,exports.DetailDialogSidebarMenuAction=e.DetailDialogSidebarMenuAction,exports.DetailDialogSidebarMenuBadge=e.DetailDialogSidebarMenuBadge,exports.DetailDialogSidebarMenuButton=e.DetailDialogSidebarMenuButton,exports.DetailDialogSidebarMenuItem=e.DetailDialogSidebarMenuItem,exports.DetailDialogSidebarMenuSkeleton=e.DetailDialogSidebarMenuSkeleton,exports.DetailDialogSidebarMenuSub=e.DetailDialogSidebarMenuSub,exports.DetailDialogSidebarMenuSubButton=e.DetailDialogSidebarMenuSubButton,exports.DetailDialogSidebarMenuSubItem=e.DetailDialogSidebarMenuSubItem,exports.DetailDialogSidebarRail=e.DetailDialogSidebarRail,exports.DetailDialogSidebarSeparator=e.DetailDialogSidebarSeparator,exports.DetailDialogSidebarTrigger=e.DetailDialogSidebarTrigger,exports.Sidebar=e.Sidebar,exports.SidebarInput=e.SidebarInput,exports.SidebarInset=e.SidebarInset,exports.SidebarProvider=e.SidebarProvider,exports.useSidebar=e.useSidebar;
1
+ "use client";require(`../../../button-119IIVCy.cjs`),require(`../../../skeleton-CmGSyYRm.cjs`),require(`../../../tooltip-CQ8hkJ42.cjs`),require(`../../../input-ERPHY3v4.cjs`),require(`../../../separator-JGL-8B0V.cjs`),require(`../../../sheet-slcLNlWv.cjs`);const e=require(`../../../sidebar-BxGyCuTJ.cjs`);exports.DetailDialogSidebarContent=e.DetailDialogSidebarContent,exports.DetailDialogSidebarFooter=e.DetailDialogSidebarFooter,exports.DetailDialogSidebarGroup=e.DetailDialogSidebarGroup,exports.DetailDialogSidebarGroupAction=e.DetailDialogSidebarGroupAction,exports.DetailDialogSidebarGroupContent=e.DetailDialogSidebarGroupContent,exports.DetailDialogSidebarGroupLabel=e.DetailDialogSidebarGroupLabel,exports.DetailDialogSidebarHeader=e.DetailDialogSidebarHeader,exports.DetailDialogSidebarMenu=e.DetailDialogSidebarMenu,exports.DetailDialogSidebarMenuAction=e.DetailDialogSidebarMenuAction,exports.DetailDialogSidebarMenuBadge=e.DetailDialogSidebarMenuBadge,exports.DetailDialogSidebarMenuButton=e.DetailDialogSidebarMenuButton,exports.DetailDialogSidebarMenuItem=e.DetailDialogSidebarMenuItem,exports.DetailDialogSidebarMenuSkeleton=e.DetailDialogSidebarMenuSkeleton,exports.DetailDialogSidebarMenuSub=e.DetailDialogSidebarMenuSub,exports.DetailDialogSidebarMenuSubButton=e.DetailDialogSidebarMenuSubButton,exports.DetailDialogSidebarMenuSubItem=e.DetailDialogSidebarMenuSubItem,exports.DetailDialogSidebarRail=e.DetailDialogSidebarRail,exports.DetailDialogSidebarSeparator=e.DetailDialogSidebarSeparator,exports.DetailDialogSidebarTrigger=e.DetailDialogSidebarTrigger,exports.Sidebar=e.Sidebar,exports.SidebarInput=e.SidebarInput,exports.SidebarInset=e.SidebarInset,exports.SidebarProvider=e.SidebarProvider,exports.useSidebar=e.useSidebar;
@@ -1,8 +1,8 @@
1
- import { Button } from "../../../button-NPRxTW9Y.cjs";
2
- import { Input } from "../../../input-Dx2DxNMy.cjs";
3
- import { Separator } from "../../../separator-ZGvcRkrl.cjs";
4
- import { TooltipContent } from "../../../tooltip-BZDwRKZ6.cjs";
5
- import * as react_jsx_runtime235 from "react/jsx-runtime";
1
+ import { Button } from "../../../button-LfFi39Jg.cjs";
2
+ import { Input } from "../../../input-BFZu6Cb8.cjs";
3
+ import { Separator } from "../../../separator-B79v6wKg.cjs";
4
+ import { TooltipContent } from "../../../tooltip-DijjzZk1.cjs";
5
+ import * as react_jsx_runtime236 from "react/jsx-runtime";
6
6
  import * as class_variance_authority_types6 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_runtime235.JSX.Element;
32
+ }): react_jsx_runtime236.JSX.Element;
33
33
  declare function Sidebar({
34
34
  side,
35
35
  variant,
@@ -41,73 +41,73 @@ declare function Sidebar({
41
41
  side?: 'left' | 'right';
42
42
  variant?: 'sidebar' | 'floating' | 'inset';
43
43
  collapsible?: 'offcanvas' | 'icon' | 'none';
44
- }): react_jsx_runtime235.JSX.Element;
44
+ }): react_jsx_runtime236.JSX.Element;
45
45
  declare function DetailDialogSidebarTrigger({
46
46
  className,
47
47
  onClick,
48
48
  ...props
49
- }: React.ComponentProps<typeof Button>): react_jsx_runtime235.JSX.Element;
49
+ }: React.ComponentProps<typeof Button>): react_jsx_runtime236.JSX.Element;
50
50
  declare function DetailDialogSidebarRail({
51
51
  className,
52
52
  ...props
53
- }: React.ComponentProps<'button'>): react_jsx_runtime235.JSX.Element;
53
+ }: React.ComponentProps<'button'>): react_jsx_runtime236.JSX.Element;
54
54
  declare function SidebarInset({
55
55
  className,
56
56
  ...props
57
- }: React.ComponentProps<'main'>): react_jsx_runtime235.JSX.Element;
57
+ }: React.ComponentProps<'main'>): react_jsx_runtime236.JSX.Element;
58
58
  declare function SidebarInput({
59
59
  className,
60
60
  ...props
61
- }: React.ComponentProps<typeof Input>): react_jsx_runtime235.JSX.Element;
61
+ }: React.ComponentProps<typeof Input>): react_jsx_runtime236.JSX.Element;
62
62
  declare function DetailDialogSidebarHeader({
63
63
  className,
64
64
  ...props
65
- }: React.ComponentProps<'div'>): react_jsx_runtime235.JSX.Element;
65
+ }: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
66
66
  declare function DetailDialogSidebarFooter({
67
67
  className,
68
68
  ...props
69
- }: React.ComponentProps<'div'>): react_jsx_runtime235.JSX.Element;
69
+ }: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
70
70
  declare function DetailDialogSidebarSeparator({
71
71
  className,
72
72
  ...props
73
- }: React.ComponentProps<typeof Separator>): react_jsx_runtime235.JSX.Element;
73
+ }: React.ComponentProps<typeof Separator>): react_jsx_runtime236.JSX.Element;
74
74
  declare function DetailDialogSidebarContent({
75
75
  className,
76
76
  ...props
77
- }: React.ComponentProps<'div'>): react_jsx_runtime235.JSX.Element;
77
+ }: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
78
78
  declare function DetailDialogSidebarGroup({
79
79
  className,
80
80
  ...props
81
- }: React.ComponentProps<'div'>): react_jsx_runtime235.JSX.Element;
81
+ }: React.ComponentProps<'div'>): react_jsx_runtime236.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_runtime235.JSX.Element;
88
+ }): react_jsx_runtime236.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_runtime235.JSX.Element;
95
+ }): react_jsx_runtime236.JSX.Element;
96
96
  declare function DetailDialogSidebarGroupContent({
97
97
  className,
98
98
  ...props
99
- }: React.ComponentProps<'div'>): react_jsx_runtime235.JSX.Element;
99
+ }: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
100
100
  declare function DetailDialogSidebarMenu({
101
101
  className,
102
102
  ...props
103
- }: React.ComponentProps<'ul'>): react_jsx_runtime235.JSX.Element;
103
+ }: React.ComponentProps<'ul'>): react_jsx_runtime236.JSX.Element;
104
104
  declare function DetailDialogSidebarMenuItem({
105
105
  className,
106
106
  ...props
107
- }: React.ComponentProps<'li'>): react_jsx_runtime235.JSX.Element;
107
+ }: React.ComponentProps<'li'>): react_jsx_runtime236.JSX.Element;
108
108
  declare const sidebarMenuButtonVariants: (props?: ({
109
109
  variant?: "default" | "outline" | null | undefined;
110
- size?: "sm" | "lg" | "default" | null | undefined;
110
+ size?: "default" | "sm" | "lg" | null | undefined;
111
111
  } & class_variance_authority_types6.ClassProp) | undefined) => string;
112
112
  declare function DetailDialogSidebarMenuButton({
113
113
  asChild,
@@ -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_runtime235.JSX.Element;
124
+ } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime236.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_runtime235.JSX.Element;
133
+ }): react_jsx_runtime236.JSX.Element;
134
134
  declare function DetailDialogSidebarMenuBadge({
135
135
  className,
136
136
  ...props
137
- }: React.ComponentProps<'div'>): react_jsx_runtime235.JSX.Element;
137
+ }: React.ComponentProps<'div'>): react_jsx_runtime236.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_runtime235.JSX.Element;
144
+ }): react_jsx_runtime236.JSX.Element;
145
145
  declare function DetailDialogSidebarMenuSub({
146
146
  className,
147
147
  ...props
148
- }: React.ComponentProps<'ul'>): react_jsx_runtime235.JSX.Element;
148
+ }: React.ComponentProps<'ul'>): react_jsx_runtime236.JSX.Element;
149
149
  declare function DetailDialogSidebarMenuSubItem({
150
150
  className,
151
151
  ...props
152
- }: React.ComponentProps<'li'>): react_jsx_runtime235.JSX.Element;
152
+ }: React.ComponentProps<'li'>): react_jsx_runtime236.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_runtime235.JSX.Element;
163
+ }): react_jsx_runtime236.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,10 +1,10 @@
1
- import { Button } from "../../../button-ld6DUDGr.js";
2
- import { Input } from "../../../input-CWzkJbaD.js";
3
- import { Separator } from "../../../separator-9s0ppov1.js";
4
- import { TooltipContent } from "../../../tooltip-ChyvXWdm.js";
1
+ import { Button } from "../../../button-DZYXtWzR.js";
2
+ import { Input } from "../../../input-d_SOv6FU.js";
3
+ import { Separator } from "../../../separator-CJZGYT24.js";
4
+ import { TooltipContent } from "../../../tooltip-B1Lj1ujY.js";
5
5
  import { VariantProps } from "class-variance-authority";
6
- import * as react_jsx_runtime235 from "react/jsx-runtime";
7
- import * as class_variance_authority_types6 from "class-variance-authority/types";
6
+ import * as react_jsx_runtime171 from "react/jsx-runtime";
7
+ import * as class_variance_authority_types5 from "class-variance-authority/types";
8
8
 
9
9
  //#region packages/components/dialogs/detail-dialog/component/sidebar.d.ts
10
10
  type SidebarContextProps = {
@@ -29,7 +29,7 @@ declare function SidebarProvider({
29
29
  defaultOpen?: boolean;
30
30
  open?: boolean;
31
31
  onOpenChange?: (open: boolean) => void;
32
- }): react_jsx_runtime235.JSX.Element;
32
+ }): react_jsx_runtime171.JSX.Element;
33
33
  declare function Sidebar({
34
34
  side,
35
35
  variant,
@@ -41,74 +41,74 @@ declare function Sidebar({
41
41
  side?: 'left' | 'right';
42
42
  variant?: 'sidebar' | 'floating' | 'inset';
43
43
  collapsible?: 'offcanvas' | 'icon' | 'none';
44
- }): react_jsx_runtime235.JSX.Element;
44
+ }): react_jsx_runtime171.JSX.Element;
45
45
  declare function DetailDialogSidebarTrigger({
46
46
  className,
47
47
  onClick,
48
48
  ...props
49
- }: React.ComponentProps<typeof Button>): react_jsx_runtime235.JSX.Element;
49
+ }: React.ComponentProps<typeof Button>): react_jsx_runtime171.JSX.Element;
50
50
  declare function DetailDialogSidebarRail({
51
51
  className,
52
52
  ...props
53
- }: React.ComponentProps<'button'>): react_jsx_runtime235.JSX.Element;
53
+ }: React.ComponentProps<'button'>): react_jsx_runtime171.JSX.Element;
54
54
  declare function SidebarInset({
55
55
  className,
56
56
  ...props
57
- }: React.ComponentProps<'main'>): react_jsx_runtime235.JSX.Element;
57
+ }: React.ComponentProps<'main'>): react_jsx_runtime171.JSX.Element;
58
58
  declare function SidebarInput({
59
59
  className,
60
60
  ...props
61
- }: React.ComponentProps<typeof Input>): react_jsx_runtime235.JSX.Element;
61
+ }: React.ComponentProps<typeof Input>): react_jsx_runtime171.JSX.Element;
62
62
  declare function DetailDialogSidebarHeader({
63
63
  className,
64
64
  ...props
65
- }: React.ComponentProps<'div'>): react_jsx_runtime235.JSX.Element;
65
+ }: React.ComponentProps<'div'>): react_jsx_runtime171.JSX.Element;
66
66
  declare function DetailDialogSidebarFooter({
67
67
  className,
68
68
  ...props
69
- }: React.ComponentProps<'div'>): react_jsx_runtime235.JSX.Element;
69
+ }: React.ComponentProps<'div'>): react_jsx_runtime171.JSX.Element;
70
70
  declare function DetailDialogSidebarSeparator({
71
71
  className,
72
72
  ...props
73
- }: React.ComponentProps<typeof Separator>): react_jsx_runtime235.JSX.Element;
73
+ }: React.ComponentProps<typeof Separator>): react_jsx_runtime171.JSX.Element;
74
74
  declare function DetailDialogSidebarContent({
75
75
  className,
76
76
  ...props
77
- }: React.ComponentProps<'div'>): react_jsx_runtime235.JSX.Element;
77
+ }: React.ComponentProps<'div'>): react_jsx_runtime171.JSX.Element;
78
78
  declare function DetailDialogSidebarGroup({
79
79
  className,
80
80
  ...props
81
- }: React.ComponentProps<'div'>): react_jsx_runtime235.JSX.Element;
81
+ }: React.ComponentProps<'div'>): react_jsx_runtime171.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_runtime235.JSX.Element;
88
+ }): react_jsx_runtime171.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_runtime235.JSX.Element;
95
+ }): react_jsx_runtime171.JSX.Element;
96
96
  declare function DetailDialogSidebarGroupContent({
97
97
  className,
98
98
  ...props
99
- }: React.ComponentProps<'div'>): react_jsx_runtime235.JSX.Element;
99
+ }: React.ComponentProps<'div'>): react_jsx_runtime171.JSX.Element;
100
100
  declare function DetailDialogSidebarMenu({
101
101
  className,
102
102
  ...props
103
- }: React.ComponentProps<'ul'>): react_jsx_runtime235.JSX.Element;
103
+ }: React.ComponentProps<'ul'>): react_jsx_runtime171.JSX.Element;
104
104
  declare function DetailDialogSidebarMenuItem({
105
105
  className,
106
106
  ...props
107
- }: React.ComponentProps<'li'>): react_jsx_runtime235.JSX.Element;
107
+ }: React.ComponentProps<'li'>): react_jsx_runtime171.JSX.Element;
108
108
  declare const sidebarMenuButtonVariants: (props?: ({
109
109
  variant?: "default" | "outline" | null | undefined;
110
- size?: "sm" | "lg" | "default" | null | undefined;
111
- } & class_variance_authority_types6.ClassProp) | undefined) => string;
110
+ size?: "default" | "sm" | "lg" | null | undefined;
111
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
112
112
  declare function DetailDialogSidebarMenuButton({
113
113
  asChild,
114
114
  isActive,
@@ -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_runtime235.JSX.Element;
124
+ } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime171.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_runtime235.JSX.Element;
133
+ }): react_jsx_runtime171.JSX.Element;
134
134
  declare function DetailDialogSidebarMenuBadge({
135
135
  className,
136
136
  ...props
137
- }: React.ComponentProps<'div'>): react_jsx_runtime235.JSX.Element;
137
+ }: React.ComponentProps<'div'>): react_jsx_runtime171.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_runtime235.JSX.Element;
144
+ }): react_jsx_runtime171.JSX.Element;
145
145
  declare function DetailDialogSidebarMenuSub({
146
146
  className,
147
147
  ...props
148
- }: React.ComponentProps<'ul'>): react_jsx_runtime235.JSX.Element;
148
+ }: React.ComponentProps<'ul'>): react_jsx_runtime171.JSX.Element;
149
149
  declare function DetailDialogSidebarMenuSubItem({
150
150
  className,
151
151
  ...props
152
- }: React.ComponentProps<'li'>): react_jsx_runtime235.JSX.Element;
152
+ }: React.ComponentProps<'li'>): react_jsx_runtime171.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_runtime235.JSX.Element;
163
+ }): react_jsx_runtime171.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.ts.map
@@ -1 +1 @@
1
- "use client";import"../../../button-CvQQTSka.js";import"../../../skeleton-DFF0w4en.js";import"../../../tooltip-CTUSyCdh.js";import"../../../input-BUYJ4_aj.js";import"../../../separator-DW2PaiUK.js";import"../../../sheet-BumlzKcW.js";import{DetailDialogSidebarContent as e,DetailDialogSidebarFooter as t,DetailDialogSidebarGroup as n,DetailDialogSidebarGroupAction as r,DetailDialogSidebarGroupContent as i,DetailDialogSidebarGroupLabel as a,DetailDialogSidebarHeader as o,DetailDialogSidebarMenu as s,DetailDialogSidebarMenuAction as c,DetailDialogSidebarMenuBadge as l,DetailDialogSidebarMenuButton as u,DetailDialogSidebarMenuItem as d,DetailDialogSidebarMenuSkeleton as f,DetailDialogSidebarMenuSub as p,DetailDialogSidebarMenuSubButton as m,DetailDialogSidebarMenuSubItem as h,DetailDialogSidebarRail as g,DetailDialogSidebarSeparator as _,DetailDialogSidebarTrigger as v,Sidebar as y,SidebarInput as b,SidebarInset as x,SidebarProvider as S,useSidebar as C}from"../../../sidebar-CrStgrmq.js";export{e as DetailDialogSidebarContent,t as DetailDialogSidebarFooter,n as DetailDialogSidebarGroup,r as DetailDialogSidebarGroupAction,i as DetailDialogSidebarGroupContent,a as DetailDialogSidebarGroupLabel,o as DetailDialogSidebarHeader,s as DetailDialogSidebarMenu,c as DetailDialogSidebarMenuAction,l as DetailDialogSidebarMenuBadge,u as DetailDialogSidebarMenuButton,d as DetailDialogSidebarMenuItem,f as DetailDialogSidebarMenuSkeleton,p as DetailDialogSidebarMenuSub,m as DetailDialogSidebarMenuSubButton,h as DetailDialogSidebarMenuSubItem,g as DetailDialogSidebarRail,_ as DetailDialogSidebarSeparator,v as DetailDialogSidebarTrigger,y as Sidebar,b as SidebarInput,x as SidebarInset,S as SidebarProvider,C as useSidebar};
1
+ "use client";import"../../../button-CvQQTSka.js";import"../../../skeleton-DFF0w4en.js";import"../../../tooltip-CTUSyCdh.js";import"../../../input-BFZuwsER.js";import"../../../separator-DW2PaiUK.js";import"../../../sheet-BumlzKcW.js";import{DetailDialogSidebarContent as e,DetailDialogSidebarFooter as t,DetailDialogSidebarGroup as n,DetailDialogSidebarGroupAction as r,DetailDialogSidebarGroupContent as i,DetailDialogSidebarGroupLabel as a,DetailDialogSidebarHeader as o,DetailDialogSidebarMenu as s,DetailDialogSidebarMenuAction as c,DetailDialogSidebarMenuBadge as l,DetailDialogSidebarMenuButton as u,DetailDialogSidebarMenuItem as d,DetailDialogSidebarMenuSkeleton as f,DetailDialogSidebarMenuSub as p,DetailDialogSidebarMenuSubButton as m,DetailDialogSidebarMenuSubItem as h,DetailDialogSidebarRail as g,DetailDialogSidebarSeparator as _,DetailDialogSidebarTrigger as v,Sidebar as y,SidebarInput as b,SidebarInset as x,SidebarProvider as S,useSidebar as C}from"../../../sidebar-CMWETVDr.js";export{e as DetailDialogSidebarContent,t as DetailDialogSidebarFooter,n as DetailDialogSidebarGroup,r as DetailDialogSidebarGroupAction,i as DetailDialogSidebarGroupContent,a as DetailDialogSidebarGroupLabel,o as DetailDialogSidebarHeader,s as DetailDialogSidebarMenu,c as DetailDialogSidebarMenuAction,l as DetailDialogSidebarMenuBadge,u as DetailDialogSidebarMenuButton,d as DetailDialogSidebarMenuItem,f as DetailDialogSidebarMenuSkeleton,p as DetailDialogSidebarMenuSub,m as DetailDialogSidebarMenuSubButton,h as DetailDialogSidebarMenuSubItem,g as DetailDialogSidebarRail,_ as DetailDialogSidebarSeparator,v as DetailDialogSidebarTrigger,y as Sidebar,b as SidebarInput,x as SidebarInset,S as SidebarProvider,C as useSidebar};
@@ -1,2 +1,2 @@
1
- const e=require(`../../chunk-CUT6urMc.cjs`);require(`../../button-119IIVCy.cjs`),require(`../../card-RJvu27Ck.cjs`),require(`../../skeleton-CmGSyYRm.cjs`);const t=require(`../../flex-DMgD86BT.cjs`),n=require(`../../date-wo9LyN6l.cjs`);require(`../../tooltip-CQ8hkJ42.cjs`);const r=require(`../../dialog-wX27mb8E.cjs`);require(`../../input-DgtTVBtN.cjs`);const i=require(`../../title-B51-Oj-Y.cjs`);require(`../../separator-JGL-8B0V.cjs`),require(`../../sheet-slcLNlWv.cjs`);const a=require(`../../sidebar-CROF88rz.cjs`),o=e.__toESM(require(`lucide-react`)),s=e.__toESM(require(`@customafk/react-toolkit/utils`)),c=e.__toESM(require(`react/jsx-runtime`)),l=()=>(0,c.jsxs)(r.DialogHeader,{className:`sr-only`,children:[(0,c.jsx)(r.DialogTitle,{className:`sr-only`}),(0,c.jsx)(r.DialogDescription,{className:`sr-only`})]}),u=({children:e})=>(0,c.jsx)(`main`,{"data-slot":`detail-dialog-main`,className:`relative h-full flex-1`,children:(0,c.jsx)(t.Flex,{padding:`none`,gap:`none`,vertical:!0,align:`stretch`,className:`absolute inset-0 size-full`,children:e})}),d=({title:e,createdAt:r})=>(0,c.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,c.jsx)(a.DetailDialogSidebarTrigger,{}),(0,c.jsxs)(t.Flex,{vertical:!0,align:`start`,padding:`none`,width:`null`,wrap:!1,className:`flex-1`,children:[(0,c.jsx)(i.Title,{level:5,className:`line-clamp-1 truncate text-wrap`,children:e||`Detail Dialog`}),(0,c.jsxs)(t.Flex,{padding:`none`,className:`text-text-positive-weak relative`,children:[(0,c.jsx)(o.CalendarIcon,{size:12,className:`absolute top-0.5 md:top-1`}),!!r&&(0,c.jsx)(n.DateDisplay,{showTime:!0,showHoliday:!0,date:r,format:`full`,className:`ml-4 text-xs md:text-sm`})]})]})]}),f=({children:e})=>(0,c.jsx)(r.DialogContent,{className:(0,s.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,c.jsxs)(a.Sidebar,{collapsible:`icon`,className:`shadow-nav z-20 hidden md:flex`,children:[(0,c.jsx)(a.DetailDialogSidebarHeader,{children:(0,c.jsx)(a.DetailDialogSidebarMenu,{children:(0,c.jsx)(a.DetailDialogSidebarMenuItem,{children:(0,c.jsxs)(a.DetailDialogSidebarMenuButton,{size:`lg`,tabIndex:-1,children:[(0,c.jsx)(`div`,{className:`bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg`,children:(0,c.jsx)(o.CatIcon,{size:16})}),(0,c.jsxs)(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[(0,c.jsx)(`span`,{className:`truncate font-medium`,children:e||`Detail Dialog`}),(0,c.jsx)(`span`,{className:`truncate text-xs`,children:`Lunas Enterprise`})]})]})})})}),(0,c.jsx)(a.DetailDialogSidebarContent,{children:(0,c.jsx)(a.DetailDialogSidebarGroup,{children:n})}),t&&(0,c.jsx)(a.DetailDialogSidebarFooter,{children:t})]}),m=({open:e,isLoading:n=!1,sidebarTitle:i,sidebar:o,sidebarFooter:s,title:m,createdAt:h,onOpenChange:g,children:_})=>(0,c.jsx)(r.Dialog,{open:e,onOpenChange:g,children:(0,c.jsxs)(f,{children:[(0,c.jsx)(l,{}),(0,c.jsxs)(a.SidebarProvider,{className:`h-full min-h-[85svh] items-start`,children:[(0,c.jsx)(p,{title:i,sidebarFooter:s,children:o}),(0,c.jsxs)(u,{children:[(0,c.jsx)(d,{title:m,createdAt:h}),n?(0,c.jsx)(t.Flex,{justify:`center`,className:`bg-muted-muted w-full flex-1 inset-shadow-sm`,children:(0,c.jsx)(`div`,{className:`loader`})}):(0,c.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`);require(`../../button-119IIVCy.cjs`),require(`../../card-RJvu27Ck.cjs`),require(`../../skeleton-CmGSyYRm.cjs`);const t=require(`../../flex-DMgD86BT.cjs`),n=require(`../../date-wo9LyN6l.cjs`);require(`../../tooltip-CQ8hkJ42.cjs`);const r=require(`../../dialog-Cefxay6y.cjs`);require(`../../input-ERPHY3v4.cjs`);const i=require(`../../title-B51-Oj-Y.cjs`);require(`../../separator-JGL-8B0V.cjs`),require(`../../sheet-slcLNlWv.cjs`);const a=require(`../../sidebar-BxGyCuTJ.cjs`),o=e.__toESM(require(`lucide-react`)),s=e.__toESM(require(`@customafk/react-toolkit/utils`)),c=e.__toESM(require(`react/jsx-runtime`)),l=()=>(0,c.jsxs)(r.DialogHeader,{className:`sr-only`,children:[(0,c.jsx)(r.DialogTitle,{className:`sr-only`}),(0,c.jsx)(r.DialogDescription,{className:`sr-only`})]}),u=({children:e})=>(0,c.jsx)(`main`,{"data-slot":`detail-dialog-main`,className:`relative h-full flex-1`,children:(0,c.jsx)(t.Flex,{padding:`none`,gap:`none`,vertical:!0,align:`stretch`,className:`absolute inset-0 size-full`,children:e})}),d=({title:e,createdAt:r})=>(0,c.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,c.jsx)(a.DetailDialogSidebarTrigger,{}),(0,c.jsxs)(t.Flex,{vertical:!0,align:`start`,padding:`none`,width:`null`,wrap:!1,className:`flex-1`,children:[(0,c.jsx)(i.Title,{level:5,className:`line-clamp-1 truncate text-wrap`,children:e||`Detail Dialog`}),(0,c.jsxs)(t.Flex,{padding:`none`,className:`text-text-positive-weak relative`,children:[(0,c.jsx)(o.CalendarIcon,{size:12,className:`absolute top-0.5 md:top-1`}),!!r&&(0,c.jsx)(n.DateDisplay,{showTime:!0,showHoliday:!0,date:r,format:`full`,className:`ml-4 text-xs md:text-sm`})]})]})]}),f=({children:e})=>(0,c.jsx)(r.DialogContent,{className:(0,s.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,c.jsxs)(a.Sidebar,{collapsible:`icon`,className:`shadow-nav z-20 hidden md:flex`,children:[(0,c.jsx)(a.DetailDialogSidebarHeader,{children:(0,c.jsx)(a.DetailDialogSidebarMenu,{children:(0,c.jsx)(a.DetailDialogSidebarMenuItem,{children:(0,c.jsxs)(a.DetailDialogSidebarMenuButton,{size:`lg`,tabIndex:-1,children:[(0,c.jsx)(`div`,{className:`bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg`,children:(0,c.jsx)(o.CatIcon,{size:16})}),(0,c.jsxs)(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[(0,c.jsx)(`span`,{className:`truncate font-medium`,children:e||`Detail Dialog`}),(0,c.jsx)(`span`,{className:`truncate text-xs`,children:`Lunas Enterprise`})]})]})})})}),(0,c.jsx)(a.DetailDialogSidebarContent,{children:(0,c.jsx)(a.DetailDialogSidebarGroup,{children:n})}),t&&(0,c.jsx)(a.DetailDialogSidebarFooter,{children:t})]}),m=({open:e,isLoading:n=!1,sidebarTitle:i,sidebar:o,sidebarFooter:s,title:m,createdAt:h,onOpenChange:g,children:_})=>(0,c.jsx)(r.Dialog,{open:e,onOpenChange:g,children:(0,c.jsxs)(f,{children:[(0,c.jsx)(l,{}),(0,c.jsxs)(a.SidebarProvider,{className:`h-full min-h-[85svh] items-start`,children:[(0,c.jsx)(p,{title:i,sidebarFooter:s,children:o}),(0,c.jsxs)(u,{children:[(0,c.jsx)(d,{title:m,createdAt:h}),n?(0,c.jsx)(t.Flex,{justify:`center`,className:`bg-muted-muted w-full flex-1 inset-shadow-sm`,children:(0,c.jsx)(`div`,{className:`loader`})}):(0,c.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