@datum-cloud/datum-ui 0.2.0-alpha.0 → 0.2.0-alpha.2

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 (507) hide show
  1. package/dist/_shadcn/hooks/use-mobile.d.ts +2 -0
  2. package/dist/_shadcn/hooks/use-mobile.d.ts.map +1 -0
  3. package/dist/_shadcn/hooks/use-theme.d.ts +9 -0
  4. package/dist/_shadcn/hooks/use-theme.d.ts.map +1 -0
  5. package/dist/_shadcn/lib/utils.d.ts +13 -0
  6. package/dist/_shadcn/lib/utils.d.ts.map +1 -0
  7. package/dist/_shadcn/ui/alert.d.ts +9 -0
  8. package/dist/_shadcn/ui/alert.d.ts.map +1 -0
  9. package/dist/_shadcn/ui/avatar.d.ts +7 -0
  10. package/dist/_shadcn/ui/avatar.d.ts.map +1 -0
  11. package/dist/_shadcn/ui/badge.d.ts +15 -0
  12. package/dist/_shadcn/ui/badge.d.ts.map +1 -0
  13. package/dist/_shadcn/ui/breadcrumb.d.ts +12 -0
  14. package/dist/_shadcn/ui/breadcrumb.d.ts.map +1 -0
  15. package/dist/_shadcn/ui/button-group.d.ts +12 -0
  16. package/dist/_shadcn/ui/button-group.d.ts.map +1 -0
  17. package/dist/_shadcn/ui/button.d.ts +17 -0
  18. package/dist/_shadcn/ui/button.d.ts.map +1 -0
  19. package/dist/_shadcn/ui/card.d.ts +9 -0
  20. package/dist/_shadcn/ui/card.d.ts.map +1 -0
  21. package/dist/_shadcn/ui/chart.d.ts +53 -0
  22. package/dist/_shadcn/ui/chart.d.ts.map +1 -0
  23. package/dist/_shadcn/ui/checkbox.d.ts +5 -0
  24. package/dist/_shadcn/ui/checkbox.d.ts.map +1 -0
  25. package/dist/_shadcn/ui/collapsible.d.ts +6 -0
  26. package/dist/_shadcn/ui/collapsible.d.ts.map +1 -0
  27. package/dist/_shadcn/ui/command.d.ts +20 -0
  28. package/dist/_shadcn/ui/command.d.ts.map +1 -0
  29. package/dist/_shadcn/ui/dialog.d.ts +14 -0
  30. package/dist/_shadcn/ui/dialog.d.ts.map +1 -0
  31. package/dist/_shadcn/ui/dropdown-menu.d.ts +33 -0
  32. package/dist/_shadcn/ui/dropdown-menu.d.ts.map +1 -0
  33. package/dist/_shadcn/ui/hover-card.d.ts +7 -0
  34. package/dist/_shadcn/ui/hover-card.d.ts.map +1 -0
  35. package/dist/_shadcn/ui/input-group.d.ts +17 -0
  36. package/dist/_shadcn/ui/input-group.d.ts.map +1 -0
  37. package/dist/_shadcn/ui/input.d.ts +7 -0
  38. package/dist/_shadcn/ui/input.d.ts.map +1 -0
  39. package/dist/_shadcn/ui/label.d.ts +5 -0
  40. package/dist/_shadcn/ui/label.d.ts.map +1 -0
  41. package/dist/_shadcn/ui/map-leaflet-imports.d.ts +7 -0
  42. package/dist/_shadcn/ui/map-leaflet-imports.d.ts.map +1 -0
  43. package/dist/_shadcn/ui/map.d.ts +115 -0
  44. package/dist/_shadcn/ui/map.d.ts.map +1 -0
  45. package/dist/_shadcn/ui/place-autocomplete.d.ts +64 -0
  46. package/dist/_shadcn/ui/place-autocomplete.d.ts.map +1 -0
  47. package/dist/_shadcn/ui/popover.d.ts +8 -0
  48. package/dist/_shadcn/ui/popover.d.ts.map +1 -0
  49. package/dist/_shadcn/ui/radio-group.d.ts +6 -0
  50. package/dist/_shadcn/ui/radio-group.d.ts.map +1 -0
  51. package/dist/_shadcn/ui/select.d.ts +14 -0
  52. package/dist/_shadcn/ui/select.d.ts.map +1 -0
  53. package/dist/_shadcn/ui/separator.d.ts +5 -0
  54. package/dist/_shadcn/ui/separator.d.ts.map +1 -0
  55. package/dist/_shadcn/ui/sheet.d.ts +14 -0
  56. package/dist/_shadcn/ui/sheet.d.ts.map +1 -0
  57. package/dist/_shadcn/ui/skeleton.d.ts +3 -0
  58. package/dist/_shadcn/ui/skeleton.d.ts.map +1 -0
  59. package/dist/_shadcn/ui/sonner.d.ts +5 -0
  60. package/dist/_shadcn/ui/sonner.d.ts.map +1 -0
  61. package/dist/_shadcn/ui/spinner.d.ts +3 -0
  62. package/dist/_shadcn/ui/spinner.d.ts.map +1 -0
  63. package/dist/_shadcn/ui/switch.d.ts +5 -0
  64. package/dist/_shadcn/ui/switch.d.ts.map +1 -0
  65. package/dist/_shadcn/ui/table.d.ts +11 -0
  66. package/dist/_shadcn/ui/table.d.ts.map +1 -0
  67. package/dist/_shadcn/ui/tabs.d.ts +13 -0
  68. package/dist/_shadcn/ui/tabs.d.ts.map +1 -0
  69. package/dist/_shadcn/ui/textarea.d.ts +4 -0
  70. package/dist/_shadcn/ui/textarea.d.ts.map +1 -0
  71. package/dist/_shadcn/ui/tooltip.d.ts +8 -0
  72. package/dist/_shadcn/ui/tooltip.d.ts.map +1 -0
  73. package/dist/_shadcn/ui/visuallyhidden.d.ts +4 -0
  74. package/dist/_shadcn/ui/visuallyhidden.d.ts.map +1 -0
  75. package/dist/{close.icon-DgjsP0sw.mjs → close.icon-chkXPAUC.mjs} +2 -3
  76. package/dist/cn-DWCc1QRE.mjs +10 -0
  77. package/dist/components/base/alert/alert.d.ts +21 -0
  78. package/dist/components/base/alert/alert.d.ts.map +1 -0
  79. package/dist/components/base/alert/index.d.ts +2 -0
  80. package/dist/components/base/alert/index.d.ts.map +1 -0
  81. package/dist/components/base/badge/badge.d.ts +17 -0
  82. package/dist/components/base/badge/badge.d.ts.map +1 -0
  83. package/dist/components/base/badge/index.d.ts +2 -0
  84. package/dist/components/base/badge/index.d.ts.map +1 -0
  85. package/dist/components/base/breadcrumb/index.d.ts +2 -0
  86. package/dist/components/base/breadcrumb/index.d.ts.map +1 -0
  87. package/dist/components/base/button/button.d.ts +24 -0
  88. package/dist/components/base/button/button.d.ts.map +1 -0
  89. package/dist/components/base/button/index.d.ts +5 -0
  90. package/dist/components/base/button/index.d.ts.map +1 -0
  91. package/dist/components/base/button/link-button.d.ts +19 -0
  92. package/dist/components/base/button/link-button.d.ts.map +1 -0
  93. package/dist/components/base/button-group/index.d.ts +2 -0
  94. package/dist/components/base/button-group/index.d.ts.map +1 -0
  95. package/dist/components/base/calendar/calendar.d.ts +10 -0
  96. package/dist/components/base/calendar/calendar.d.ts.map +1 -0
  97. package/dist/components/base/calendar/index.d.ts +2 -0
  98. package/dist/components/base/calendar/index.d.ts.map +1 -0
  99. package/dist/components/base/card/card.d.ts +8 -0
  100. package/dist/components/base/card/card.d.ts.map +1 -0
  101. package/dist/components/base/card/index.d.ts +2 -0
  102. package/dist/components/base/card/index.d.ts.map +1 -0
  103. package/dist/components/base/chart/index.d.ts +2 -0
  104. package/dist/components/base/chart/index.d.ts.map +1 -0
  105. package/dist/components/base/checkbox/checkbox.d.ts +10 -0
  106. package/dist/components/base/checkbox/checkbox.d.ts.map +1 -0
  107. package/dist/components/base/checkbox/index.d.ts +2 -0
  108. package/dist/components/base/checkbox/index.d.ts.map +1 -0
  109. package/dist/components/base/collapsible/index.d.ts +2 -0
  110. package/dist/components/base/collapsible/index.d.ts.map +1 -0
  111. package/dist/components/base/command/index.d.ts +2 -0
  112. package/dist/components/base/command/index.d.ts.map +1 -0
  113. package/dist/components/base/dialog/dialog.d.ts +46 -0
  114. package/dist/components/base/dialog/dialog.d.ts.map +1 -0
  115. package/dist/components/base/dialog/index.d.ts +3 -0
  116. package/dist/components/base/dialog/index.d.ts.map +1 -0
  117. package/dist/components/base/hover-card/index.d.ts +2 -0
  118. package/dist/components/base/hover-card/index.d.ts.map +1 -0
  119. package/dist/components/base/index.d.ts +38 -0
  120. package/dist/components/base/index.d.ts.map +1 -0
  121. package/dist/components/base/input/index.d.ts +2 -0
  122. package/dist/components/base/input/index.d.ts.map +1 -0
  123. package/dist/components/base/input/input.d.ts +9 -0
  124. package/dist/components/base/input/input.d.ts.map +1 -0
  125. package/dist/components/base/input-group/index.d.ts +2 -0
  126. package/dist/components/base/input-group/index.d.ts.map +1 -0
  127. package/dist/components/base/label/index.d.ts +17 -0
  128. package/dist/components/base/label/index.d.ts.map +1 -0
  129. package/dist/components/base/label/label.d.ts +26 -0
  130. package/dist/components/base/label/label.d.ts.map +1 -0
  131. package/dist/components/base/map/index.d.ts +2 -0
  132. package/dist/components/base/map/index.d.ts.map +1 -0
  133. package/dist/components/base/place-autocomplete/index.d.ts +2 -0
  134. package/dist/components/base/place-autocomplete/index.d.ts.map +1 -0
  135. package/dist/components/base/popover/index.d.ts +2 -0
  136. package/dist/components/base/popover/index.d.ts.map +1 -0
  137. package/dist/components/base/radio-group/index.d.ts +2 -0
  138. package/dist/components/base/radio-group/index.d.ts.map +1 -0
  139. package/dist/components/base/radio-group/radio-group.d.ts +16 -0
  140. package/dist/components/base/radio-group/radio-group.d.ts.map +1 -0
  141. package/dist/components/base/select/index.d.ts +2 -0
  142. package/dist/components/base/select/index.d.ts.map +1 -0
  143. package/dist/components/base/select/select.d.ts +54 -0
  144. package/dist/components/base/select/select.d.ts.map +1 -0
  145. package/dist/components/base/separator/index.d.ts +2 -0
  146. package/dist/components/base/separator/index.d.ts.map +1 -0
  147. package/dist/components/base/sheet/index.d.ts +2 -0
  148. package/dist/components/base/sheet/index.d.ts.map +1 -0
  149. package/dist/components/base/sheet/sheet.d.ts +23 -0
  150. package/dist/components/base/sheet/sheet.d.ts.map +1 -0
  151. package/dist/components/base/skeleton/index.d.ts +2 -0
  152. package/dist/components/base/skeleton/index.d.ts.map +1 -0
  153. package/dist/components/base/spinner/index.d.ts +2 -0
  154. package/dist/components/base/spinner/index.d.ts.map +1 -0
  155. package/dist/components/base/switch/index.d.ts +2 -0
  156. package/dist/components/base/switch/index.d.ts.map +1 -0
  157. package/dist/components/base/switch/switch.d.ts +10 -0
  158. package/dist/components/base/switch/switch.d.ts.map +1 -0
  159. package/dist/components/base/table/index.d.ts +2 -0
  160. package/dist/components/base/table/index.d.ts.map +1 -0
  161. package/dist/components/base/tabs/index.d.ts +2 -0
  162. package/dist/components/base/tabs/index.d.ts.map +1 -0
  163. package/dist/components/base/tabs/tabs.d.ts +22 -0
  164. package/dist/components/base/tabs/tabs.d.ts.map +1 -0
  165. package/dist/components/base/textarea/index.d.ts +2 -0
  166. package/dist/components/base/textarea/index.d.ts.map +1 -0
  167. package/dist/components/base/textarea/textarea.d.ts +9 -0
  168. package/dist/components/base/textarea/textarea.d.ts.map +1 -0
  169. package/dist/components/base/tooltip/index.d.ts +2 -0
  170. package/dist/components/base/tooltip/index.d.ts.map +1 -0
  171. package/dist/components/base/tooltip/tooltip.d.ts +17 -0
  172. package/dist/components/base/tooltip/tooltip.d.ts.map +1 -0
  173. package/dist/components/base/typography/index.d.ts +2 -0
  174. package/dist/components/base/typography/index.d.ts.map +1 -0
  175. package/dist/components/base/typography/typography.d.ts +1182 -0
  176. package/dist/components/base/typography/typography.d.ts.map +1 -0
  177. package/dist/components/base/visuallyhidden/index.d.ts +2 -0
  178. package/dist/components/base/visuallyhidden/index.d.ts.map +1 -0
  179. package/dist/components/features/autocomplete/autocomplete.d.ts +34 -0
  180. package/dist/components/features/autocomplete/autocomplete.d.ts.map +1 -0
  181. package/dist/components/features/autocomplete/autocomplete.types.d.ts +71 -0
  182. package/dist/components/features/autocomplete/autocomplete.types.d.ts.map +1 -0
  183. package/dist/components/features/autocomplete/index.d.ts +3 -0
  184. package/dist/components/features/autocomplete/index.d.ts.map +1 -0
  185. package/dist/components/features/avatar-stack/avatar-stack.d.ts +17 -0
  186. package/dist/components/features/avatar-stack/avatar-stack.d.ts.map +1 -0
  187. package/dist/components/features/avatar-stack/index.d.ts +2 -0
  188. package/dist/components/features/avatar-stack/index.d.ts.map +1 -0
  189. package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts +41 -0
  190. package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts.map +1 -0
  191. package/dist/components/features/calendar-date-picker/index.d.ts +2 -0
  192. package/dist/components/features/calendar-date-picker/index.d.ts.map +1 -0
  193. package/dist/components/features/dropdown/dropdown.d.ts +31 -0
  194. package/dist/components/features/dropdown/dropdown.d.ts.map +1 -0
  195. package/dist/components/features/dropdown/index.d.ts +2 -0
  196. package/dist/components/features/dropdown/index.d.ts.map +1 -0
  197. package/dist/components/features/dropzone/dropzone.d.ts +28 -0
  198. package/dist/components/features/dropzone/dropzone.d.ts.map +1 -0
  199. package/dist/components/features/dropzone/index.d.ts +3 -0
  200. package/dist/components/features/dropzone/index.d.ts.map +1 -0
  201. package/dist/components/features/empty-content/empty-content.d.ts +29 -0
  202. package/dist/components/features/empty-content/empty-content.d.ts.map +1 -0
  203. package/dist/components/features/empty-content/index.d.ts +3 -0
  204. package/dist/components/features/empty-content/index.d.ts.map +1 -0
  205. package/dist/components/features/file-input-button/file-input-button.d.ts +33 -0
  206. package/dist/components/features/file-input-button/file-input-button.d.ts.map +1 -0
  207. package/dist/components/features/file-input-button/index.d.ts +2 -0
  208. package/dist/components/features/file-input-button/index.d.ts.map +1 -0
  209. package/dist/components/features/form/components/form-autocomplete.d.ts +44 -0
  210. package/dist/components/features/form/components/form-autocomplete.d.ts.map +1 -0
  211. package/dist/components/features/form/components/form-button.d.ts +23 -0
  212. package/dist/components/features/form/components/form-button.d.ts.map +1 -0
  213. package/dist/components/features/form/components/form-checkbox.d.ts +18 -0
  214. package/dist/components/features/form/components/form-checkbox.d.ts.map +1 -0
  215. package/dist/components/features/form/components/form-copy-box.d.ts +41 -0
  216. package/dist/components/features/form/components/form-copy-box.d.ts.map +1 -0
  217. package/dist/components/features/form/components/form-custom.d.ts +27 -0
  218. package/dist/components/features/form/components/form-custom.d.ts.map +1 -0
  219. package/dist/components/features/form/components/form-description.d.ts +19 -0
  220. package/dist/components/features/form/components/form-description.d.ts.map +1 -0
  221. package/dist/components/features/form/components/form-dialog.d.ts +58 -0
  222. package/dist/components/features/form/components/form-dialog.d.ts.map +1 -0
  223. package/dist/components/features/form/components/form-error.d.ts +29 -0
  224. package/dist/components/features/form/components/form-error.d.ts.map +1 -0
  225. package/dist/components/features/form/components/form-field-array.d.ts +40 -0
  226. package/dist/components/features/form/components/form-field-array.d.ts.map +1 -0
  227. package/dist/components/features/form/components/form-field.d.ts +40 -0
  228. package/dist/components/features/form/components/form-field.d.ts.map +1 -0
  229. package/dist/components/features/form/components/form-input-group.d.ts +21 -0
  230. package/dist/components/features/form/components/form-input-group.d.ts.map +1 -0
  231. package/dist/components/features/form/components/form-input.d.ts +21 -0
  232. package/dist/components/features/form/components/form-input.d.ts.map +1 -0
  233. package/dist/components/features/form/components/form-radio-group.d.ts +34 -0
  234. package/dist/components/features/form/components/form-radio-group.d.ts.map +1 -0
  235. package/dist/components/features/form/components/form-root.d.ts +49 -0
  236. package/dist/components/features/form/components/form-root.d.ts.map +1 -0
  237. package/dist/components/features/form/components/form-select.d.ts +34 -0
  238. package/dist/components/features/form/components/form-select.d.ts.map +1 -0
  239. package/dist/components/features/form/components/form-submit.d.ts +16 -0
  240. package/dist/components/features/form/components/form-submit.d.ts.map +1 -0
  241. package/dist/components/features/form/components/form-switch.d.ts +18 -0
  242. package/dist/components/features/form/components/form-switch.d.ts.map +1 -0
  243. package/dist/components/features/form/components/form-textarea.d.ts +21 -0
  244. package/dist/components/features/form/components/form-textarea.d.ts.map +1 -0
  245. package/dist/components/features/form/components/form-when.d.ts +34 -0
  246. package/dist/components/features/form/components/form-when.d.ts.map +1 -0
  247. package/dist/components/features/form/components/index.d.ts +20 -0
  248. package/dist/components/features/form/components/index.d.ts.map +1 -0
  249. package/dist/components/features/form/components/stepper/form-step.d.ts +22 -0
  250. package/dist/components/features/form/components/stepper/form-step.d.ts.map +1 -0
  251. package/dist/components/features/form/components/stepper/form-stepper.d.ts +71 -0
  252. package/dist/components/features/form/components/stepper/form-stepper.d.ts.map +1 -0
  253. package/dist/components/features/form/components/stepper/index.d.ts +5 -0
  254. package/dist/components/features/form/components/stepper/index.d.ts.map +1 -0
  255. package/dist/components/features/form/components/stepper/stepper-controls.d.ts +32 -0
  256. package/dist/components/features/form/components/stepper/stepper-controls.d.ts.map +1 -0
  257. package/dist/components/features/form/components/stepper/stepper-navigation.d.ts +17 -0
  258. package/dist/components/features/form/components/stepper/stepper-navigation.d.ts.map +1 -0
  259. package/dist/components/features/form/context/field-context.d.ts +16 -0
  260. package/dist/components/features/form/context/field-context.d.ts.map +1 -0
  261. package/dist/components/features/form/context/form-context.d.ts +20 -0
  262. package/dist/components/features/form/context/form-context.d.ts.map +1 -0
  263. package/dist/components/features/form/context/index.d.ts +3 -0
  264. package/dist/components/features/form/context/index.d.ts.map +1 -0
  265. package/dist/components/features/form/hooks/index.d.ts +6 -0
  266. package/dist/components/features/form/hooks/index.d.ts.map +1 -0
  267. package/dist/components/features/form/hooks/use-field-context.d.ts +24 -0
  268. package/dist/components/features/form/hooks/use-field-context.d.ts.map +1 -0
  269. package/dist/components/features/form/hooks/use-field.d.ts +30 -0
  270. package/dist/components/features/form/hooks/use-field.d.ts.map +1 -0
  271. package/dist/components/features/form/hooks/use-form-context.d.ts +19 -0
  272. package/dist/components/features/form/hooks/use-form-context.d.ts.map +1 -0
  273. package/dist/components/features/form/hooks/use-stepper.d.ts +56 -0
  274. package/dist/components/features/form/hooks/use-stepper.d.ts.map +1 -0
  275. package/dist/components/features/form/hooks/use-watch.d.ts +41 -0
  276. package/dist/components/features/form/hooks/use-watch.d.ts.map +1 -0
  277. package/dist/components/features/form/index.d.ts +133 -0
  278. package/dist/components/features/form/index.d.ts.map +1 -0
  279. package/dist/components/features/form/types/index.d.ts +601 -0
  280. package/dist/components/features/form/types/index.d.ts.map +1 -0
  281. package/dist/components/features/grid/components/col.d.ts +5 -0
  282. package/dist/components/features/grid/components/col.d.ts.map +1 -0
  283. package/dist/components/features/grid/components/index.d.ts +7 -0
  284. package/dist/components/features/grid/components/index.d.ts.map +1 -0
  285. package/dist/components/features/grid/components/row.d.ts +6 -0
  286. package/dist/components/features/grid/components/row.d.ts.map +1 -0
  287. package/dist/components/features/grid/constants/grid.constants.d.ts +22 -0
  288. package/dist/components/features/grid/constants/grid.constants.d.ts.map +1 -0
  289. package/dist/components/features/grid/index.d.ts +7 -0
  290. package/dist/components/features/grid/index.d.ts.map +1 -0
  291. package/dist/components/features/grid/types/grid.types.d.ts +43 -0
  292. package/dist/components/features/grid/types/grid.types.d.ts.map +1 -0
  293. package/dist/components/features/grid/utils/responsive.d.ts +10 -0
  294. package/dist/components/features/grid/utils/responsive.d.ts.map +1 -0
  295. package/dist/components/features/index.d.ts +27 -0
  296. package/dist/components/features/index.d.ts.map +1 -0
  297. package/dist/components/features/input-number/index.d.ts +2 -0
  298. package/dist/components/features/input-number/index.d.ts.map +1 -0
  299. package/dist/components/features/input-number/input-number.d.ts +22 -0
  300. package/dist/components/features/input-number/input-number.d.ts.map +1 -0
  301. package/dist/components/features/input-with-addons/index.d.ts +2 -0
  302. package/dist/components/features/input-with-addons/index.d.ts.map +1 -0
  303. package/dist/components/features/input-with-addons/input-with-addons.d.ts +14 -0
  304. package/dist/components/features/input-with-addons/input-with-addons.d.ts.map +1 -0
  305. package/dist/components/features/loader-overlay/index.d.ts +2 -0
  306. package/dist/components/features/loader-overlay/index.d.ts.map +1 -0
  307. package/dist/components/features/loader-overlay/loader-overlay.d.ts +5 -0
  308. package/dist/components/features/loader-overlay/loader-overlay.d.ts.map +1 -0
  309. package/dist/components/features/more-actions/index.d.ts +3 -0
  310. package/dist/components/features/more-actions/index.d.ts.map +1 -0
  311. package/dist/components/features/more-actions/more-actions.d.ts +19 -0
  312. package/dist/components/features/more-actions/more-actions.d.ts.map +1 -0
  313. package/dist/components/features/nprogress/index.d.ts +4 -0
  314. package/dist/components/features/nprogress/index.d.ts.map +1 -0
  315. package/dist/components/features/page-title/index.d.ts +3 -0
  316. package/dist/components/features/page-title/index.d.ts.map +1 -0
  317. package/dist/components/features/page-title/page-title.d.ts +12 -0
  318. package/dist/components/features/page-title/page-title.d.ts.map +1 -0
  319. package/dist/components/features/sidebar/app-sidebar.d.ts +14 -0
  320. package/dist/components/features/sidebar/app-sidebar.d.ts.map +1 -0
  321. package/dist/components/features/sidebar/index.d.ts +4 -0
  322. package/dist/components/features/sidebar/index.d.ts.map +1 -0
  323. package/dist/components/features/sidebar/nav-main.d.ts +36 -0
  324. package/dist/components/features/sidebar/nav-main.d.ts.map +1 -0
  325. package/dist/components/features/sidebar/sidebar.d.ts +85 -0
  326. package/dist/components/features/sidebar/sidebar.d.ts.map +1 -0
  327. package/dist/components/features/stepper/index.d.ts +2 -0
  328. package/dist/components/features/stepper/index.d.ts.map +1 -0
  329. package/dist/components/features/stepper/stepper.d.ts +42 -0
  330. package/dist/components/features/stepper/stepper.d.ts.map +1 -0
  331. package/dist/components/features/tag-input/index.d.ts +2 -0
  332. package/dist/components/features/tag-input/index.d.ts.map +1 -0
  333. package/dist/components/features/tag-input/tag-input.d.ts +38 -0
  334. package/dist/components/features/tag-input/tag-input.d.ts.map +1 -0
  335. package/dist/components/features/task-queue/constants.d.ts +8 -0
  336. package/dist/components/features/task-queue/constants.d.ts.map +1 -0
  337. package/dist/components/features/task-queue/core/index.d.ts +10 -0
  338. package/dist/components/features/task-queue/core/index.d.ts.map +1 -0
  339. package/dist/components/features/task-queue/core/task-panel-actions.d.ts +7 -0
  340. package/dist/components/features/task-queue/core/task-panel-actions.d.ts.map +1 -0
  341. package/dist/components/features/task-queue/core/task-panel-counter.d.ts +10 -0
  342. package/dist/components/features/task-queue/core/task-panel-counter.d.ts.map +1 -0
  343. package/dist/components/features/task-queue/core/task-panel-header.d.ts +2 -0
  344. package/dist/components/features/task-queue/core/task-panel-header.d.ts.map +1 -0
  345. package/dist/components/features/task-queue/core/task-panel-item.d.ts +9 -0
  346. package/dist/components/features/task-queue/core/task-panel-item.d.ts.map +1 -0
  347. package/dist/components/features/task-queue/core/task-panel.d.ts +6 -0
  348. package/dist/components/features/task-queue/core/task-panel.d.ts.map +1 -0
  349. package/dist/components/features/task-queue/core/task-queue-dropdown.d.ts +2 -0
  350. package/dist/components/features/task-queue/core/task-queue-dropdown.d.ts.map +1 -0
  351. package/dist/components/features/task-queue/core/task-queue-trigger.d.ts +9 -0
  352. package/dist/components/features/task-queue/core/task-queue-trigger.d.ts.map +1 -0
  353. package/dist/components/features/task-queue/core/task-summary-dialog.d.ts +24 -0
  354. package/dist/components/features/task-queue/core/task-summary-dialog.d.ts.map +1 -0
  355. package/dist/components/features/task-queue/engine/executor.d.ts +14 -0
  356. package/dist/components/features/task-queue/engine/executor.d.ts.map +1 -0
  357. package/dist/components/features/task-queue/engine/index.d.ts +5 -0
  358. package/dist/components/features/task-queue/engine/index.d.ts.map +1 -0
  359. package/dist/components/features/task-queue/engine/queue.d.ts +42 -0
  360. package/dist/components/features/task-queue/engine/queue.d.ts.map +1 -0
  361. package/dist/components/features/task-queue/engine/storage/detect-storage.d.ts +19 -0
  362. package/dist/components/features/task-queue/engine/storage/detect-storage.d.ts.map +1 -0
  363. package/dist/components/features/task-queue/engine/storage/index.d.ts +6 -0
  364. package/dist/components/features/task-queue/engine/storage/index.d.ts.map +1 -0
  365. package/dist/components/features/task-queue/engine/storage/local-storage.d.ts +12 -0
  366. package/dist/components/features/task-queue/engine/storage/local-storage.d.ts.map +1 -0
  367. package/dist/components/features/task-queue/engine/storage/memory-storage.d.ts +18 -0
  368. package/dist/components/features/task-queue/engine/storage/memory-storage.d.ts.map +1 -0
  369. package/dist/components/features/task-queue/engine/storage/redis-storage.d.ts +23 -0
  370. package/dist/components/features/task-queue/engine/storage/redis-storage.d.ts.map +1 -0
  371. package/dist/components/features/task-queue/engine/storage/storage.d.ts +2 -0
  372. package/dist/components/features/task-queue/engine/storage/storage.d.ts.map +1 -0
  373. package/dist/components/features/task-queue/hooks/index.d.ts +3 -0
  374. package/dist/components/features/task-queue/hooks/index.d.ts.map +1 -0
  375. package/dist/components/features/task-queue/hooks/use-task-queue.d.ts +3 -0
  376. package/dist/components/features/task-queue/hooks/use-task-queue.d.ts.map +1 -0
  377. package/dist/components/features/task-queue/hooks/use-task-scope.d.ts +52 -0
  378. package/dist/components/features/task-queue/hooks/use-task-scope.d.ts.map +1 -0
  379. package/dist/components/features/task-queue/index.d.ts +9 -0
  380. package/dist/components/features/task-queue/index.d.ts.map +1 -0
  381. package/dist/components/features/task-queue/provider/index.d.ts +2 -0
  382. package/dist/components/features/task-queue/provider/index.d.ts.map +1 -0
  383. package/dist/components/features/task-queue/provider/task-queue-provider.d.ts +14 -0
  384. package/dist/components/features/task-queue/provider/task-queue-provider.d.ts.map +1 -0
  385. package/dist/components/features/task-queue/types.d.ts +213 -0
  386. package/dist/components/features/task-queue/types.d.ts.map +1 -0
  387. package/dist/components/features/task-queue/utils/index.d.ts +37 -0
  388. package/dist/components/features/task-queue/utils/index.d.ts.map +1 -0
  389. package/dist/components/features/time-range-picker/components/absolute-range-panel.d.ts +18 -0
  390. package/dist/components/features/time-range-picker/components/absolute-range-panel.d.ts.map +1 -0
  391. package/dist/components/features/time-range-picker/components/index.d.ts +4 -0
  392. package/dist/components/features/time-range-picker/components/index.d.ts.map +1 -0
  393. package/dist/components/features/time-range-picker/components/quick-ranges-panel.d.ts +10 -0
  394. package/dist/components/features/time-range-picker/components/quick-ranges-panel.d.ts.map +1 -0
  395. package/dist/components/features/time-range-picker/components/timezone-selector.d.ts +10 -0
  396. package/dist/components/features/time-range-picker/components/timezone-selector.d.ts.map +1 -0
  397. package/dist/components/features/time-range-picker/index.d.ts +8 -0
  398. package/dist/components/features/time-range-picker/index.d.ts.map +1 -0
  399. package/dist/components/features/time-range-picker/presets.d.ts +29 -0
  400. package/dist/components/features/time-range-picker/presets.d.ts.map +1 -0
  401. package/dist/components/features/time-range-picker/time-range-picker.d.ts +31 -0
  402. package/dist/components/features/time-range-picker/time-range-picker.d.ts.map +1 -0
  403. package/dist/components/features/time-range-picker/types.d.ts +59 -0
  404. package/dist/components/features/time-range-picker/types.d.ts.map +1 -0
  405. package/dist/components/features/time-range-picker/utils/format-display.d.ts +20 -0
  406. package/dist/components/features/time-range-picker/utils/format-display.d.ts.map +1 -0
  407. package/dist/components/features/time-range-picker/utils/index.d.ts +4 -0
  408. package/dist/components/features/time-range-picker/utils/index.d.ts.map +1 -0
  409. package/dist/components/features/time-range-picker/utils/timezone.d.ts +51 -0
  410. package/dist/components/features/time-range-picker/utils/timezone.d.ts.map +1 -0
  411. package/dist/components/features/time-range-picker/utils/to-api-format.d.ts +13 -0
  412. package/dist/components/features/time-range-picker/utils/to-api-format.d.ts.map +1 -0
  413. package/dist/components/features/toast/headless-toast.d.ts +10 -0
  414. package/dist/components/features/toast/headless-toast.d.ts.map +1 -0
  415. package/dist/components/features/toast/index.d.ts +4 -0
  416. package/dist/components/features/toast/index.d.ts.map +1 -0
  417. package/dist/components/features/toast/toast.d.ts +9 -0
  418. package/dist/components/features/toast/toast.d.ts.map +1 -0
  419. package/dist/components/features/toast/toaster.d.ts +10 -0
  420. package/dist/components/features/toast/toaster.d.ts.map +1 -0
  421. package/dist/components/features/toast/types.d.ts +7 -0
  422. package/dist/components/features/toast/types.d.ts.map +1 -0
  423. package/dist/components/features/toast/use-toast.d.ts +3 -0
  424. package/dist/components/features/toast/use-toast.d.ts.map +1 -0
  425. package/dist/components/icons/close.icon.d.ts +5 -0
  426. package/dist/components/icons/close.icon.d.ts.map +1 -0
  427. package/dist/components/icons/icon-wrapper.d.ts +7 -0
  428. package/dist/components/icons/icon-wrapper.d.ts.map +1 -0
  429. package/dist/components/icons/index.d.ts +4 -0
  430. package/dist/components/icons/index.d.ts.map +1 -0
  431. package/dist/components/icons/spinner.icon.d.ts +13 -0
  432. package/dist/components/icons/spinner.icon.d.ts.map +1 -0
  433. package/dist/components/index.d.ts +10 -0
  434. package/dist/components/index.d.ts.map +1 -0
  435. package/dist/components/index.mjs +5 -249
  436. package/dist/components/themes/client-only.d.ts +8 -0
  437. package/dist/components/themes/client-only.d.ts.map +1 -0
  438. package/dist/components/themes/index.d.ts +5 -0
  439. package/dist/components/themes/index.d.ts.map +1 -0
  440. package/dist/components/themes/script.d.ts +2 -0
  441. package/dist/components/themes/script.d.ts.map +1 -0
  442. package/dist/components/themes/theme-script.d.ts +18 -0
  443. package/dist/components/themes/theme-script.d.ts.map +1 -0
  444. package/dist/components/themes/theme.provider.d.ts +4 -0
  445. package/dist/components/themes/theme.provider.d.ts.map +1 -0
  446. package/dist/components/themes/types.d.ts +30 -0
  447. package/dist/components/themes/types.d.ts.map +1 -0
  448. package/dist/datum.provider-D6VMjSV0.mjs +1 -2
  449. package/dist/hooks/index.d.ts +3 -0
  450. package/dist/hooks/index.d.ts.map +1 -0
  451. package/dist/hooks/index.mjs +1 -1
  452. package/dist/hooks/use-copy-to-clipboard.d.ts +8 -0
  453. package/dist/hooks/use-copy-to-clipboard.d.ts.map +1 -0
  454. package/dist/hooks/use-debounce.d.ts +8 -0
  455. package/dist/hooks/use-debounce.d.ts.map +1 -0
  456. package/dist/hooks/use-theme.d.ts +2 -0
  457. package/dist/hooks/use-theme.d.ts.map +1 -0
  458. package/dist/{icon-wrapper-BTllM5Re.mjs → icon-wrapper-BgPkifId.mjs} +2 -3
  459. package/dist/icons/index.mjs +2 -2
  460. package/dist/index.d.ts +5 -0
  461. package/dist/index.d.ts.map +1 -0
  462. package/dist/index.mjs +6 -256
  463. package/dist/map-leaflet-imports-OKaoesjZ.mjs +8 -0
  464. package/dist/providers/datum.provider.d.ts +20 -0
  465. package/dist/providers/datum.provider.d.ts.map +1 -0
  466. package/dist/providers/index.d.ts +3 -0
  467. package/dist/providers/index.d.ts.map +1 -0
  468. package/dist/style.css +151 -2
  469. package/dist/{theme-script-B_TkiYs4.mjs → theme-script-DHyLk25i.mjs} +2679 -392
  470. package/dist/theme.provider-DpFLwtHe.mjs +1 -2
  471. package/dist/{use-copy-to-clipboard-D5U8bWsn.mjs → use-copy-to-clipboard-BfrpD6G8.mjs} +3 -4
  472. package/dist/use-debounce-BYB-jPeX.mjs +1 -2
  473. package/dist/utils/cn.d.ts +3 -0
  474. package/dist/utils/cn.d.ts.map +1 -0
  475. package/dist/utils/index.d.ts +2 -0
  476. package/dist/utils/index.d.ts.map +1 -0
  477. package/dist/utils/index.mjs +1 -1
  478. package/package.json +122 -11
  479. package/dist/chunk-CtajNgzt.mjs +0 -36
  480. package/dist/close.icon-DgjsP0sw.mjs.map +0 -1
  481. package/dist/components/index.d.mts +0 -27
  482. package/dist/components/index.d.mts.map +0 -1
  483. package/dist/components/index.mjs.map +0 -1
  484. package/dist/datum.provider-CsG2KNNc.d.mts +0 -30
  485. package/dist/datum.provider-CsG2KNNc.d.mts.map +0 -1
  486. package/dist/datum.provider-D6VMjSV0.mjs.map +0 -1
  487. package/dist/hooks/index.d.mts +0 -3
  488. package/dist/icon-wrapper-BTllM5Re.mjs.map +0 -1
  489. package/dist/icons/index.d.mts +0 -3
  490. package/dist/index-DH2XEEjO.d.mts +0 -3995
  491. package/dist/index-DH2XEEjO.d.mts.map +0 -1
  492. package/dist/index.d.mts +0 -31
  493. package/dist/index.d.mts.map +0 -1
  494. package/dist/index.mjs.map +0 -1
  495. package/dist/providers/index.d.mts +0 -3
  496. package/dist/spinner.icon-q9zisVlw.d.mts +0 -46
  497. package/dist/spinner.icon-q9zisVlw.d.mts.map +0 -1
  498. package/dist/style.css.map +0 -1
  499. package/dist/theme-script-B_TkiYs4.mjs.map +0 -1
  500. package/dist/theme.provider-DpFLwtHe.mjs.map +0 -1
  501. package/dist/types-BoL47uxV.d.mts +0 -34
  502. package/dist/types-BoL47uxV.d.mts.map +0 -1
  503. package/dist/use-copy-to-clipboard-D5U8bWsn.mjs.map +0 -1
  504. package/dist/use-debounce-BYB-jPeX.mjs.map +0 -1
  505. package/dist/use-debounce-Dg9zNz9U.d.mts +0 -19
  506. package/dist/use-debounce-Dg9zNz9U.d.mts.map +0 -1
  507. package/dist/utils/index.d.mts +0 -3
@@ -1,3995 +0,0 @@
1
- import { i as UseThemeProps, n as ThemeProviderProps } from "./types-BoL47uxV.mjs";
2
- import { VariantProps } from "class-variance-authority";
3
- import { LucideIcon } from "lucide-react";
4
- import * as React$2 from "react";
5
- import React$1, { ComponentProps, ElementType, ReactNode } from "react";
6
- import * as react_jsx_runtime0 from "react/jsx-runtime";
7
- import { Button } from "@repo/shadcn/ui/button";
8
- import { DateRange, DayButton, DayPicker } from "react-day-picker";
9
- import { CardContent, CardDescription, CardTitle } from "@repo/shadcn/ui/card";
10
- import { Checkbox } from "@repo/shadcn/ui/checkbox";
11
- import * as SheetPrimitive from "@radix-ui/react-dialog";
12
- import { Label } from "@repo/shadcn/ui/label";
13
- import { RadioGroup, RadioGroupItem } from "@repo/shadcn/ui/radio-group";
14
- import { SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger } from "@repo/shadcn/ui/select";
15
- import { Sheet, SheetDescription as SheetDescription$1, SheetFooter, SheetHeader as SheetHeader$1, SheetTitle as SheetTitle$1, SheetTrigger } from "@repo/shadcn/ui/sheet";
16
- import { Switch } from "@repo/shadcn/ui/switch";
17
- import * as TabsPrimitive from "@radix-ui/react-tabs";
18
- import { Separator } from "@repo/shadcn/ui/separator";
19
- import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
20
- import { DropEvent, DropzoneOptions, FileRejection } from "react-dropzone";
21
- import { FieldMetadata, FormMetadata } from "@conform-to/react";
22
- import { ExternalToast, Toaster } from "sonner";
23
- import { z } from "zod";
24
- import * as Stepperize from "@stepperize/react";
25
- import { NumericFormatProps } from "react-number-format";
26
- import * as class_variance_authority_types0 from "class-variance-authority/types";
27
- import * as _radix_ui_react_select0 from "@radix-ui/react-select";
28
-
29
- //#region src/components/base/alert/alert.d.ts
30
- declare const alertVariants: (props?: ({
31
- variant?: "default" | "destructive" | "outline" | "secondary" | "success" | "info" | "warning" | null | undefined;
32
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
33
- interface AlertProps extends React$2.ComponentProps<'div'>, VariantProps<typeof alertVariants> {
34
- /**
35
- * Whether the alert can be closed. When true, a close button is displayed.
36
- * @default false
37
- */
38
- closable?: boolean;
39
- /**
40
- * Callback function called when the close button is clicked.
41
- */
42
- onClose?: () => void;
43
- }
44
- declare function Alert({
45
- className,
46
- variant,
47
- closable,
48
- onClose,
49
- ...props
50
- }: AlertProps): react_jsx_runtime0.JSX.Element | null;
51
- declare function AlertTitle({
52
- className,
53
- ...props
54
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
55
- declare function AlertDescription({
56
- className,
57
- ...props
58
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
59
- //#endregion
60
- //#region src/components/base/badge/badge.d.ts
61
- /**
62
- * Datum Badge Component
63
- * Similar to Button component but with badge-specific styling
64
- * Supports types: primary, secondary, tertiary, quaternary, warning, danger, success
65
- * Supports themes: solid, outline, light
66
- */
67
- declare const badgeVariants: (props?: ({
68
- type?: "secondary" | "success" | "info" | "warning" | "primary" | "tertiary" | "quaternary" | "danger" | "muted" | null | undefined;
69
- theme?: "light" | "outline" | "solid" | null | undefined;
70
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
71
- interface BadgeProps extends React$2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {}
72
- declare function Badge({
73
- className,
74
- type,
75
- theme,
76
- ...props
77
- }: BadgeProps): react_jsx_runtime0.JSX.Element;
78
- //#endregion
79
- //#region src/components/base/button/button.d.ts
80
- declare const buttonVariants$1: (props?: ({
81
- type?: "secondary" | "success" | "warning" | "primary" | "tertiary" | "quaternary" | "danger" | null | undefined;
82
- theme?: "light" | "outline" | "link" | "solid" | "borderless" | null | undefined;
83
- size?: "xs" | "default" | "link" | "icon" | "small" | "large" | null | undefined;
84
- block?: boolean | null | undefined;
85
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
86
- interface ButtonProps extends Omit<React$2.ButtonHTMLAttributes<HTMLButtonElement>, 'type'>, VariantProps<typeof buttonVariants$1> {
87
- asChild?: boolean;
88
- loading?: boolean;
89
- icon?: React$2.ReactNode;
90
- iconPosition?: 'left' | 'right';
91
- loadingIcon?: React$2.ReactNode;
92
- htmlType?: 'button' | 'submit' | 'reset';
93
- }
94
- declare function Button$1({
95
- ref,
96
- className,
97
- type,
98
- theme,
99
- size,
100
- block,
101
- loading,
102
- disabled,
103
- icon,
104
- iconPosition,
105
- loadingIcon,
106
- htmlType,
107
- children,
108
- ...props
109
- }: ButtonProps & {
110
- ref?: React$2.RefObject<HTMLButtonElement | null>;
111
- }): react_jsx_runtime0.JSX.Element;
112
- declare namespace Button$1 {
113
- var displayName: string;
114
- }
115
- //#endregion
116
- //#region src/components/base/button/link-button.d.ts
117
- interface LinkButtonProps extends Omit<React$2.AnchorHTMLAttributes<HTMLAnchorElement>, 'type'>, VariantProps<typeof buttonVariants$1> {
118
- /** Polymorphic component to render (defaults to native `<a>`) */
119
- as?: React$2.ElementType;
120
- /** Destination URL — mapped to `href` for native `<a>`, `to` for router Links */
121
- href?: string;
122
- icon?: React$2.ReactNode;
123
- iconPosition?: 'left' | 'right';
124
- }
125
- declare function LinkButton({
126
- ref,
127
- className,
128
- type,
129
- theme,
130
- size,
131
- block,
132
- icon,
133
- iconPosition,
134
- children,
135
- as: Component,
136
- href,
137
- ...props
138
- }: LinkButtonProps & {
139
- ref?: React$2.RefObject<HTMLAnchorElement | null>;
140
- }): react_jsx_runtime0.JSX.Element;
141
- declare namespace LinkButton {
142
- var displayName: string;
143
- }
144
- //#endregion
145
- //#region src/components/base/calendar/calendar.d.ts
146
- declare function Calendar$1({
147
- className,
148
- classNames,
149
- showOutsideDays,
150
- captionLayout,
151
- buttonVariant,
152
- formatters,
153
- components,
154
- ...props
155
- }: React$2.ComponentProps<typeof DayPicker> & {
156
- buttonVariant?: React$2.ComponentProps<typeof Button>['variant'];
157
- }): react_jsx_runtime0.JSX.Element;
158
- declare function CalendarDayButton({
159
- className,
160
- day,
161
- modifiers,
162
- ...props
163
- }: React$2.ComponentProps<typeof DayButton>): react_jsx_runtime0.JSX.Element;
164
- //#endregion
165
- //#region src/components/base/card/card.d.ts
166
- declare function Card({
167
- className,
168
- ...props
169
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
170
- declare function CardHeader({
171
- className,
172
- ...props
173
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
174
- declare function CardFooter({
175
- className,
176
- ...props
177
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
178
- //#endregion
179
- //#region src/components/base/checkbox/checkbox.d.ts
180
- declare function Checkbox$1({
181
- ref,
182
- className,
183
- ...props
184
- }: React$2.ComponentProps<typeof Checkbox> & {
185
- ref?: React$2.RefObject<React$2.ElementRef<typeof Checkbox> | null>;
186
- }): react_jsx_runtime0.JSX.Element;
187
- declare namespace Checkbox$1 {
188
- var displayName: string;
189
- }
190
- //#endregion
191
- //#region src/components/base/dialog/dialog.d.ts
192
- interface DialogProps {
193
- open?: boolean;
194
- onOpenChange?: (open: boolean) => void;
195
- defaultOpen?: boolean;
196
- children: React$2.ReactNode;
197
- }
198
- declare function Dialog({
199
- children,
200
- ...props
201
- }: DialogProps): react_jsx_runtime0.JSX.Element;
202
- declare namespace Dialog {
203
- var Trigger: ({
204
- children,
205
- asChild
206
- }: DialogTriggerProps) => react_jsx_runtime0.JSX.Element;
207
- var Content: ({
208
- children,
209
- className
210
- }: DialogContentProps) => react_jsx_runtime0.JSX.Element;
211
- var Header: ({
212
- title,
213
- description,
214
- onClose,
215
- className,
216
- descriptionClassName
217
- }: DialogHeaderProps) => react_jsx_runtime0.JSX.Element;
218
- var Body: ({
219
- children,
220
- className
221
- }: DialogBodyProps) => react_jsx_runtime0.JSX.Element;
222
- var Footer: ({
223
- children,
224
- className
225
- }: DialogFooterProps) => react_jsx_runtime0.JSX.Element;
226
- var Overlay: typeof DialogOverlay;
227
- }
228
- interface DialogOverlayProps {
229
- className?: string;
230
- }
231
- declare function DialogOverlay({
232
- className,
233
- ...props
234
- }: DialogOverlayProps): react_jsx_runtime0.JSX.Element;
235
- interface DialogTriggerProps {
236
- children: React$2.ReactNode;
237
- asChild?: boolean;
238
- }
239
- interface DialogContentProps {
240
- children: React$2.ReactNode;
241
- className?: string;
242
- }
243
- interface DialogHeaderProps {
244
- title: React$2.ReactNode;
245
- description?: React$2.ReactNode;
246
- onClose?: () => void;
247
- className?: string;
248
- descriptionClassName?: string;
249
- }
250
- interface DialogBodyProps {
251
- children: React$2.ReactNode;
252
- className?: string;
253
- }
254
- interface DialogFooterProps {
255
- children: React$2.ReactNode;
256
- className?: string;
257
- }
258
- //#endregion
259
- //#region src/components/base/input/input.d.ts
260
- declare function Input({
261
- ref,
262
- className,
263
- ...props
264
- }: React$2.ComponentProps<'input'> & {
265
- ref?: React$2.RefObject<HTMLInputElement | null>;
266
- }): react_jsx_runtime0.JSX.Element;
267
- declare namespace Input {
268
- var displayName: string;
269
- }
270
- //#endregion
271
- //#region src/components/base/label/label.d.ts
272
- /**
273
- * Datum Label component - extends shadcn Label with Datum-specific styling
274
- *
275
- * This component wraps the shadcn Label and allows for Datum-specific
276
- * class customizations without modifying the core shadcn component.
277
- *
278
- * @example
279
- * ```tsx
280
- * <Label
281
- * htmlFor="input-id"
282
- * className="custom-class"
283
- * >
284
- * Field Label
285
- * </Label>
286
- * ```
287
- */
288
- declare function Label$1({
289
- ref,
290
- className,
291
- ...props
292
- }: React$2.ComponentProps<typeof Label> & {
293
- ref?: React$2.RefObject<React$2.ElementRef<typeof Label> | null>;
294
- }): react_jsx_runtime0.JSX.Element;
295
- declare namespace Label$1 {
296
- var displayName: string;
297
- }
298
- //#endregion
299
- //#region src/components/base/radio-group/radio-group.d.ts
300
- declare function RadioGroup$1({
301
- ref,
302
- className,
303
- ...props
304
- }: React$2.ComponentProps<typeof RadioGroup> & {
305
- ref?: React$2.RefObject<React$2.ElementRef<typeof RadioGroup> | null>;
306
- }): react_jsx_runtime0.JSX.Element;
307
- declare namespace RadioGroup$1 {
308
- var displayName: string;
309
- }
310
- declare function RadioGroupItem$1({
311
- ref,
312
- className,
313
- ...props
314
- }: React$2.ComponentProps<typeof RadioGroupItem> & {
315
- ref?: React$2.RefObject<React$2.ElementRef<typeof RadioGroupItem> | null>;
316
- }): react_jsx_runtime0.JSX.Element;
317
- declare namespace RadioGroupItem$1 {
318
- var displayName: string;
319
- }
320
- //#endregion
321
- //#region src/components/base/select/select.d.ts
322
- declare const Select$1: ({
323
- ...props
324
- }: React$2.ComponentProps<React$2.FC<_radix_ui_react_select0.SelectProps>>) => react_jsx_runtime0.JSX.Element;
325
- declare const SelectValue$1: ({
326
- ...props
327
- }: React$2.ComponentProps<React$2.ForwardRefExoticComponent<_radix_ui_react_select0.SelectValueProps & React$2.RefAttributes<HTMLSpanElement>>>) => react_jsx_runtime0.JSX.Element;
328
- declare function SelectGroup$1({
329
- ref,
330
- className,
331
- ...props
332
- }: React$2.ComponentProps<typeof SelectGroup> & {
333
- ref?: React$2.RefObject<React$2.ElementRef<typeof SelectGroup> | null>;
334
- }): react_jsx_runtime0.JSX.Element;
335
- declare namespace SelectGroup$1 {
336
- var displayName: string;
337
- }
338
- declare function SelectTrigger$1({
339
- ref,
340
- className,
341
- ...props
342
- }: React$2.ComponentProps<typeof SelectTrigger> & {
343
- ref?: React$2.RefObject<React$2.ElementRef<typeof SelectTrigger> | null>;
344
- }): react_jsx_runtime0.JSX.Element;
345
- declare namespace SelectTrigger$1 {
346
- var displayName: string;
347
- }
348
- declare function SelectContent$1({
349
- ref,
350
- className,
351
- ...props
352
- }: React$2.ComponentProps<typeof SelectContent> & {
353
- ref?: React$2.RefObject<React$2.ElementRef<typeof SelectContent> | null>;
354
- }): react_jsx_runtime0.JSX.Element;
355
- declare namespace SelectContent$1 {
356
- var displayName: string;
357
- }
358
- declare function SelectLabel$1({
359
- ref,
360
- className,
361
- ...props
362
- }: React$2.ComponentProps<typeof SelectLabel> & {
363
- ref?: React$2.RefObject<React$2.ElementRef<typeof SelectLabel> | null>;
364
- }): react_jsx_runtime0.JSX.Element;
365
- declare namespace SelectLabel$1 {
366
- var displayName: string;
367
- }
368
- declare function SelectItem$1({
369
- ref,
370
- className,
371
- ...props
372
- }: React$2.ComponentProps<typeof SelectItem> & {
373
- ref?: React$2.RefObject<React$2.ElementRef<typeof SelectItem> | null>;
374
- }): react_jsx_runtime0.JSX.Element;
375
- declare namespace SelectItem$1 {
376
- var displayName: string;
377
- }
378
- declare function SelectSeparator$1({
379
- ref,
380
- className,
381
- ...props
382
- }: React$2.ComponentProps<typeof SelectSeparator> & {
383
- ref?: React$2.RefObject<React$2.ElementRef<typeof SelectSeparator> | null>;
384
- }): react_jsx_runtime0.JSX.Element;
385
- declare namespace SelectSeparator$1 {
386
- var displayName: string;
387
- }
388
- declare function SelectScrollUpButton$1({
389
- ref,
390
- className,
391
- ...props
392
- }: React$2.ComponentProps<typeof SelectScrollUpButton> & {
393
- ref?: React$2.RefObject<React$2.ElementRef<typeof SelectScrollUpButton> | null>;
394
- }): react_jsx_runtime0.JSX.Element;
395
- declare namespace SelectScrollUpButton$1 {
396
- var displayName: string;
397
- }
398
- declare function SelectScrollDownButton$1({
399
- ref,
400
- className,
401
- ...props
402
- }: React$2.ComponentProps<typeof SelectScrollDownButton> & {
403
- ref?: React$2.RefObject<React$2.ElementRef<typeof SelectScrollDownButton> | null>;
404
- }): react_jsx_runtime0.JSX.Element;
405
- declare namespace SelectScrollDownButton$1 {
406
- var displayName: string;
407
- }
408
- //#endregion
409
- //#region src/components/base/sheet/sheet.d.ts
410
- declare const SheetClose: React$2.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React$2.RefAttributes<HTMLButtonElement>>;
411
- interface SheetOverlayProps extends React$2.ComponentProps<typeof SheetPrimitive.Overlay> {}
412
- declare function SheetOverlay({
413
- className,
414
- ...props
415
- }: SheetOverlayProps): react_jsx_runtime0.JSX.Element;
416
- interface SheetContentProps extends React$2.ComponentProps<typeof SheetPrimitive.Content> {
417
- side?: 'top' | 'right' | 'bottom' | 'left';
418
- }
419
- declare function SheetContent$1({
420
- className,
421
- children,
422
- side,
423
- ...props
424
- }: SheetContentProps): react_jsx_runtime0.JSX.Element;
425
- interface SheetComponent extends React$2.FC<React$2.ComponentProps<typeof Sheet>> {
426
- Trigger: typeof SheetTrigger;
427
- Content: typeof SheetContent$1;
428
- Close: typeof SheetClose;
429
- Header: typeof SheetHeader$1;
430
- Footer: typeof SheetFooter;
431
- Title: typeof SheetTitle$1;
432
- Description: typeof SheetDescription$1;
433
- }
434
- declare const Sheet$1: SheetComponent;
435
- //#endregion
436
- //#region src/components/base/switch/switch.d.ts
437
- declare function Switch$1({
438
- ref,
439
- className,
440
- ...props
441
- }: React$2.ComponentProps<typeof Switch> & {
442
- ref?: React$2.RefObject<React$2.ElementRef<typeof Switch> | null>;
443
- }): react_jsx_runtime0.JSX.Element;
444
- declare namespace Switch$1 {
445
- var displayName: string;
446
- }
447
- //#endregion
448
- //#region src/components/base/tabs/tabs.d.ts
449
- /**
450
- * Datum Tabs Component
451
- * Extends shadcn Tabs with:
452
- * - TabsLinkTrigger for router-agnostic link integration
453
- * - Dark mode customizations
454
- */
455
- declare function Tabs({
456
- className,
457
- ...props
458
- }: React$2.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime0.JSX.Element;
459
- declare function TabsList({
460
- className,
461
- ...props
462
- }: React$2.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime0.JSX.Element;
463
- declare function TabsTrigger({
464
- className,
465
- ...props
466
- }: React$2.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime0.JSX.Element;
467
- declare function TabsContent({
468
- className,
469
- ...props
470
- }: React$2.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime0.JSX.Element;
471
- interface TabsLinkTriggerProps extends React$2.ComponentProps<typeof TabsPrimitive.Trigger> {
472
- /** Destination URL — mapped to `href` for native `<a>`, `to` for router Links */
473
- href: string;
474
- /** Link component to use (defaults to native `<a>`) */
475
- linkComponent?: React$2.ElementType;
476
- }
477
- declare function TabsLinkTrigger({
478
- value,
479
- href,
480
- linkComponent: LinkComp,
481
- children,
482
- className,
483
- ...props
484
- }: TabsLinkTriggerProps): react_jsx_runtime0.JSX.Element;
485
- //#endregion
486
- //#region src/components/base/textarea/textarea.d.ts
487
- declare function Textarea({
488
- ref,
489
- className,
490
- ...props
491
- }: React$2.ComponentProps<'textarea'> & {
492
- ref?: React$2.RefObject<HTMLTextAreaElement | null>;
493
- }): react_jsx_runtime0.JSX.Element;
494
- declare namespace Textarea {
495
- var displayName: string;
496
- }
497
- //#endregion
498
- //#region src/components/base/tooltip/tooltip.d.ts
499
- interface TooltipProps {
500
- message: string | ReactNode;
501
- children: ReactNode;
502
- delayDuration?: number;
503
- side?: 'top' | 'right' | 'bottom' | 'left';
504
- align?: 'start' | 'center' | 'end';
505
- sideOffset?: number;
506
- hidden?: boolean;
507
- open?: boolean;
508
- onOpenChange?: (open: boolean) => void;
509
- contentClassName?: string;
510
- arrowClassName?: string;
511
- }
512
- declare function Tooltip({
513
- message,
514
- children,
515
- delayDuration,
516
- side,
517
- align,
518
- sideOffset,
519
- hidden,
520
- open,
521
- onOpenChange,
522
- contentClassName,
523
- arrowClassName
524
- }: TooltipProps): react_jsx_runtime0.JSX.Element;
525
- //#endregion
526
- //#region src/components/features/autocomplete/autocomplete.types.d.ts
527
- interface AutocompleteOption {
528
- /** Unique identifier, submitted to form */
529
- value: string;
530
- /** Display text, used for built-in search filtering */
531
- label: string;
532
- /** Optional secondary text shown below label */
533
- description?: string;
534
- /** Disable selection of this option */
535
- disabled?: boolean;
536
- }
537
- interface AutocompleteGroup<T extends AutocompleteOption = AutocompleteOption> {
538
- /** Group heading label */
539
- label: string;
540
- /** Options within this group */
541
- options: T[];
542
- }
543
- interface AutocompleteProps<T extends AutocompleteOption = AutocompleteOption> {
544
- /** Flat options array or grouped options. Groups auto-detected by shape. */
545
- options: T[] | AutocompleteGroup<T>[];
546
- /** Currently selected option value */
547
- value?: string;
548
- /** Called when selection changes */
549
- onValueChange?: (value: string) => void;
550
- /** When provided, disables built-in filtering and delegates to consumer. */
551
- onSearchChange?: (value: string) => void;
552
- /** Placeholder for the search input */
553
- searchPlaceholder?: string;
554
- /** Hide the search input entirely */
555
- disableSearch?: boolean;
556
- /** Custom render for each option in the dropdown */
557
- renderOption?: (option: T, isSelected: boolean) => React$2.ReactNode;
558
- /** Custom render for the selected value in the trigger */
559
- renderValue?: (option: T) => React$2.ReactNode;
560
- /** Placeholder text when no value selected */
561
- placeholder?: string;
562
- /** Content shown when no options match */
563
- emptyContent?: React$2.ReactNode;
564
- /** Footer content below options list (e.g., "Add new..." action) */
565
- footer?: React$2.ReactNode;
566
- /** Allow custom values not in the options list */
567
- creatable?: boolean;
568
- /** Custom render for the creatable item. Default: (value) => `Use "${value}"` */
569
- creatableLabel?: (value: string) => React$2.ReactNode;
570
- /** Enable virtualization for large lists (default: false) */
571
- virtualize?: boolean;
572
- /** Item height in pixels for virtualizer estimateSize (default: 36) */
573
- itemSize?: number;
574
- /** External loading state */
575
- loading?: boolean;
576
- /** Disable the component */
577
- disabled?: boolean;
578
- /** HTML name attribute for hidden input */
579
- name?: string;
580
- /** HTML id attribute */
581
- id?: string;
582
- /** Additional CSS classes for the root wrapper */
583
- className?: string;
584
- /** Additional CSS classes for the trigger button */
585
- triggerClassName?: string;
586
- /** Additional CSS classes for the popover content */
587
- contentClassName?: string;
588
- /** Additional CSS classes for the command list */
589
- listClassName?: string;
590
- }
591
- /**
592
- * Props for Form.Autocomplete - same as the primitive but without
593
- * value/onValueChange/name/id which come from FieldContext + useInputControl.
594
- */
595
- type FormAutocompleteProps<T extends AutocompleteOption = AutocompleteOption> = Omit<AutocompleteProps<T>, 'value' | 'onValueChange' | 'name' | 'id'>;
596
- //#endregion
597
- //#region src/components/features/autocomplete/autocomplete.d.ts
598
- /**
599
- * Autocomplete - A searchable select component
600
- *
601
- * Standalone, form-agnostic combobox built on Popover + Command (cmdk).
602
- * Supports flat/grouped options, virtualization, custom rendering, and async search.
603
- *
604
- * @example Basic usage
605
- * ```tsx
606
- * <Autocomplete
607
- * value={country}
608
- * onValueChange={setCountry}
609
- * options={countries}
610
- * placeholder="Select country..."
611
- * />
612
- * ```
613
- *
614
- * @example Async search
615
- * ```tsx
616
- * <Autocomplete
617
- * value={userId}
618
- * onValueChange={setUserId}
619
- * options={users ?? []}
620
- * onSearchChange={setSearch}
621
- * loading={isLoading}
622
- * placeholder="Search users..."
623
- * />
624
- * ```
625
- */
626
- declare function Autocomplete<T extends AutocompleteOption = AutocompleteOption>({
627
- options,
628
- value,
629
- onValueChange,
630
- onSearchChange,
631
- searchPlaceholder,
632
- disableSearch,
633
- renderOption,
634
- renderValue,
635
- placeholder,
636
- emptyContent,
637
- footer,
638
- creatable,
639
- creatableLabel,
640
- virtualize,
641
- itemSize,
642
- loading,
643
- disabled,
644
- name,
645
- id,
646
- className,
647
- triggerClassName,
648
- contentClassName,
649
- listClassName
650
- }: AutocompleteProps<T>): react_jsx_runtime0.JSX.Element;
651
- declare namespace Autocomplete {
652
- var displayName: string;
653
- }
654
- //#endregion
655
- //#region src/components/features/avatar-stack/avatar-stack.d.ts
656
- declare const avatarStackVariants: (props?: ({
657
- orientation?: "vertical" | "horizontal" | null | undefined;
658
- spacing?: "sm" | "md" | "lg" | "xl" | null | undefined;
659
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
660
- interface AvatarStackProps extends React$2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarStackVariants> {
661
- avatars: {
662
- name: string;
663
- image: string;
664
- }[];
665
- maxAvatarsAmount?: number;
666
- avatarClassName?: string;
667
- }
668
- declare function AvatarStack({
669
- className,
670
- orientation,
671
- avatars,
672
- spacing,
673
- maxAvatarsAmount,
674
- avatarClassName,
675
- ...props
676
- }: AvatarStackProps): react_jsx_runtime0.JSX.Element;
677
- //#endregion
678
- //#region src/components/features/calendar-date-picker/calendar-date-picker.d.ts
679
- declare const multiSelectVariants: (props?: ({
680
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
681
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
682
- interface DateRangePreset {
683
- key: string;
684
- label: string;
685
- start: Date;
686
- end: Date;
687
- }
688
- interface CalendarDatePickerProps extends React$2.HTMLAttributes<HTMLButtonElement>, VariantProps<typeof multiSelectVariants> {
689
- id?: string;
690
- className?: string;
691
- triggerClassName?: string;
692
- date: DateRange;
693
- closeOnSelect?: boolean;
694
- numberOfMonths?: 1 | 2;
695
- yearsRange?: number;
696
- onDateSelect: (range: {
697
- from: Date;
698
- to: Date;
699
- } | undefined) => void;
700
- placeholder?: string;
701
- excludePresets?: string[];
702
- customPresets?: DateRangePreset[];
703
- minDate?: Date;
704
- maxDate?: Date;
705
- disableFuture?: boolean;
706
- disablePast?: boolean;
707
- maxRange?: number;
708
- }
709
- declare function CalendarDatePicker({
710
- ref,
711
- id,
712
- className,
713
- triggerClassName,
714
- date,
715
- closeOnSelect,
716
- numberOfMonths,
717
- yearsRange,
718
- onDateSelect,
719
- variant,
720
- placeholder,
721
- excludePresets,
722
- customPresets,
723
- minDate,
724
- maxDate,
725
- disableFuture,
726
- disablePast,
727
- maxRange,
728
- ...props
729
- }: CalendarDatePickerProps & {
730
- ref?: React$2.RefObject<HTMLButtonElement | null>;
731
- }): react_jsx_runtime0.JSX.Element;
732
- declare namespace CalendarDatePicker {
733
- var displayName: string;
734
- }
735
- //#endregion
736
- //#region src/components/features/dropdown/dropdown.d.ts
737
- /**
738
- * Datum Dropdown Menu Component
739
- * Extends shadcn DropdownMenu with:
740
- * - Destructive variant for DropdownMenuItem
741
- */
742
- declare function DropdownMenu({
743
- ...props
744
- }: React$2.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime0.JSX.Element;
745
- declare function DropdownMenuPortal({
746
- ...props
747
- }: React$2.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime0.JSX.Element;
748
- declare function DropdownMenuTrigger({
749
- ...props
750
- }: React$2.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime0.JSX.Element;
751
- declare function DropdownMenuContent({
752
- className,
753
- sideOffset,
754
- ...props
755
- }: React$2.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime0.JSX.Element;
756
- declare function DropdownMenuGroup({
757
- ...props
758
- }: React$2.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime0.JSX.Element;
759
- declare function DropdownMenuItem({
760
- className,
761
- inset,
762
- variant,
763
- ...props
764
- }: React$2.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
765
- inset?: boolean;
766
- variant?: 'default' | 'destructive';
767
- }): react_jsx_runtime0.JSX.Element;
768
- declare function DropdownMenuCheckboxItem({
769
- className,
770
- children,
771
- checked,
772
- ...props
773
- }: React$2.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime0.JSX.Element;
774
- declare function DropdownMenuRadioGroup({
775
- ...props
776
- }: React$2.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime0.JSX.Element;
777
- declare function DropdownMenuRadioItem({
778
- className,
779
- children,
780
- ...props
781
- }: React$2.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime0.JSX.Element;
782
- declare function DropdownMenuLabel({
783
- className,
784
- inset,
785
- ...props
786
- }: React$2.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
787
- inset?: boolean;
788
- }): react_jsx_runtime0.JSX.Element;
789
- declare function DropdownMenuSeparator({
790
- className,
791
- ...props
792
- }: React$2.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime0.JSX.Element;
793
- declare function DropdownMenuShortcut({
794
- className,
795
- ...props
796
- }: React$2.ComponentProps<'span'>): react_jsx_runtime0.JSX.Element;
797
- declare function DropdownMenuSub({
798
- ...props
799
- }: React$2.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime0.JSX.Element;
800
- declare function DropdownMenuSubTrigger({
801
- className,
802
- inset,
803
- children,
804
- ...props
805
- }: React$2.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
806
- inset?: boolean;
807
- }): react_jsx_runtime0.JSX.Element;
808
- declare function DropdownMenuSubContent({
809
- className,
810
- ...props
811
- }: React$2.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime0.JSX.Element;
812
- //#endregion
813
- //#region src/components/features/dropzone/dropzone.d.ts
814
- type DropzoneProps = Omit<DropzoneOptions, 'onDrop'> & {
815
- src?: File[];
816
- className?: string;
817
- onDrop?: (acceptedFiles: File[], fileRejections: FileRejection[], event: DropEvent) => void;
818
- children?: ReactNode;
819
- };
820
- declare function Dropzone({
821
- accept,
822
- maxFiles,
823
- maxSize,
824
- minSize,
825
- onDrop,
826
- onError,
827
- disabled,
828
- src,
829
- className,
830
- children,
831
- ...props
832
- }: DropzoneProps): react_jsx_runtime0.JSX.Element;
833
- interface DropzoneContentProps {
834
- children?: ReactNode;
835
- className?: string;
836
- icon?: ReactNode;
837
- label?: ReactNode | ((files: File[]) => ReactNode);
838
- description?: ReactNode;
839
- }
840
- declare function DropzoneContent({
841
- children,
842
- className,
843
- icon,
844
- label,
845
- description
846
- }: DropzoneContentProps): string | number | bigint | true | react_jsx_runtime0.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React$2.ReactPortal | React$2.ReactElement<unknown, string | React$2.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null;
847
- interface DropzoneEmptyStateProps {
848
- children?: ReactNode;
849
- className?: string;
850
- icon?: ReactNode;
851
- label?: ReactNode;
852
- description?: ReactNode;
853
- /** Set to false to hide the auto-generated caption (accepts, size limits) */
854
- showCaption?: boolean;
855
- }
856
- declare function DropzoneEmptyState({
857
- children,
858
- className,
859
- icon,
860
- label,
861
- description,
862
- showCaption
863
- }: DropzoneEmptyStateProps): string | number | bigint | true | react_jsx_runtime0.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React$2.ReactPortal | React$2.ReactElement<unknown, string | React$2.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null;
864
- //#endregion
865
- //#region src/components/features/empty-content/empty-content.d.ts
866
- interface EmptyContentAction {
867
- type: 'button' | 'link' | 'external-link';
868
- label: string;
869
- onClick?: () => void;
870
- to?: string;
871
- variant?: 'default' | 'destructive' | 'outline';
872
- icon?: React.ReactNode;
873
- iconPosition?: 'start' | 'end';
874
- }
875
- declare const containerVariants: (props?: ({
876
- variant?: "default" | "dashed" | "minimal" | null | undefined;
877
- size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
878
- orientation?: "vertical" | "horizontal" | null | undefined;
879
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
880
- interface EmptyContentProps extends VariantProps<typeof containerVariants> {
881
- title?: string;
882
- subtitle?: string;
883
- className?: string;
884
- actions?: EmptyContentAction[];
885
- spacing?: 'compact' | 'normal' | 'relaxed';
886
- /** User's display name for greeting (e.g., "Hey John, ..."). Defaults to "there". */
887
- userName?: string;
888
- /** Link component for action links (e.g., React Router's Link). Defaults to <a>. */
889
- linkComponent?: React.ElementType;
890
- }
891
- declare function EmptyContent({
892
- title,
893
- subtitle,
894
- variant,
895
- size,
896
- className,
897
- actions,
898
- orientation,
899
- spacing,
900
- userName,
901
- linkComponent
902
- }: EmptyContentProps): react_jsx_runtime0.JSX.Element;
903
- //#endregion
904
- //#region src/components/features/file-input-button/file-input-button.d.ts
905
- interface FileInputButtonProps extends Omit<ButtonProps, 'onClick'> {
906
- /** Accepted file types (e.g., { 'text/plain': ['.txt', '.zone'] }) */
907
- accept?: Record<string, string[]>;
908
- /** Maximum file size in bytes */
909
- maxSize?: number;
910
- /** Minimum file size in bytes */
911
- minSize?: number;
912
- /** Allow multiple file selection */
913
- multiple?: boolean;
914
- /** Callback when files are selected */
915
- onFileSelect?: (files: File[]) => void;
916
- /** Callback when a file validation error occurs (file type/size) */
917
- onFileError?: (error: Error) => void;
918
- }
919
- /**
920
- * A simple button that triggers a file input dialog.
921
- * Alternative to Dropzone for cases where drag-and-drop is not needed.
922
- *
923
- * @example
924
- * ```tsx
925
- * <FileInputButton
926
- * accept={{ 'text/plain': ['.txt', '.zone'] }}
927
- * maxSize={5 * 1024 * 1024} // 5MB
928
- * onFileSelect={(files) => console.log('Selected:', files)}
929
- * onFileError={(error) => console.error(error.message)}
930
- * >
931
- * Upload File
932
- * </FileInputButton>
933
- * ```
934
- */
935
- declare function FileInputButton({
936
- accept,
937
- maxSize,
938
- minSize,
939
- multiple,
940
- onFileSelect,
941
- onFileError,
942
- children,
943
- icon,
944
- disabled,
945
- ...buttonProps
946
- }: FileInputButtonProps): react_jsx_runtime0.JSX.Element;
947
- //#endregion
948
- //#region src/components/features/form/components/form-autocomplete.d.ts
949
- /**
950
- * Form.Autocomplete - Searchable select component
951
- *
952
- * Automatically wired to the parent Form.Field context.
953
- * Supports flat/grouped options, virtualization, custom rendering, and async search.
954
- *
955
- * @example Basic usage
956
- * ```tsx
957
- * <Form.Field name="timezone" label="Timezone" required>
958
- * <Form.Autocomplete
959
- * options={timezones}
960
- * placeholder="Select timezone..."
961
- * />
962
- * </Form.Field>
963
- * ```
964
- *
965
- * @example Async search
966
- * ```tsx
967
- * <Form.Field name="userId" label="User">
968
- * <Form.Autocomplete
969
- * options={users ?? []}
970
- * onSearchChange={setSearch}
971
- * loading={isLoading}
972
- * placeholder="Search users..."
973
- * />
974
- * </Form.Field>
975
- * ```
976
- *
977
- * @example Grouped options
978
- * ```tsx
979
- * <Form.Field name="role" label="Role" required>
980
- * <Form.Autocomplete
981
- * options={roleGroups}
982
- * placeholder="Select a role..."
983
- * />
984
- * </Form.Field>
985
- * ```
986
- */
987
- declare function FormAutocomplete<T extends AutocompleteOption = AutocompleteOption>({
988
- disabled,
989
- className,
990
- ...props
991
- }: FormAutocompleteProps<T>): react_jsx_runtime0.JSX.Element;
992
- declare namespace FormAutocomplete {
993
- var displayName: string;
994
- }
995
- //#endregion
996
- //#region src/components/features/form/types/index.d.ts
997
- /**
998
- * Optional telemetry interface for form lifecycle tracking.
999
- * When provided, callbacks fire on form events (submit, success, error, etc.).
1000
- * When omitted, forms work silently without any tracking.
1001
- *
1002
- * @example Wiring Sentry in the consuming app
1003
- * ```tsx
1004
- * const sentryTelemetry: FormTelemetry = {
1005
- * onSubmit: ({ formName, formId }) => trackFormSubmit({ formName, formId }),
1006
- * onSuccess: ({ formName, formId }) => trackFormSuccess({ formName, formId }),
1007
- * onError: ({ formName, formId, error }) => trackFormError({ formName, formId, error }),
1008
- * onValidationError: ({ formName, formId, fieldErrors }) => trackFormValidationError({ formName, formId, fieldErrors }),
1009
- * captureError: (error, context) => Sentry.captureException(error, { extra: context }),
1010
- * };
1011
- *
1012
- * <Form.Root schema={schema} telemetry={sentryTelemetry} onSubmit={handleSubmit} />
1013
- * ```
1014
- */
1015
- interface FormTelemetry {
1016
- /** Called when a form submission is attempted */
1017
- onSubmit?: (info: {
1018
- formName: string;
1019
- formId?: string;
1020
- }) => void;
1021
- /** Called after a successful form submission */
1022
- onSuccess?: (info: {
1023
- formName: string;
1024
- formId?: string;
1025
- }) => void;
1026
- /** Called when a form submission throws an error */
1027
- onError?: (info: {
1028
- formName: string;
1029
- formId?: string;
1030
- error: Error;
1031
- }) => void;
1032
- /** Called when form validation fails */
1033
- onValidationError?: (info: {
1034
- formName: string;
1035
- formId?: string;
1036
- fieldErrors: Record<string, string[]>;
1037
- }) => void;
1038
- /** Called to capture an error with additional context (e.g. Sentry) */
1039
- captureError?: (error: Error, context: Record<string, unknown>) => void;
1040
- }
1041
- /**
1042
- * Render props passed to Form.Root when using render function pattern
1043
- */
1044
- interface FormRootRenderProps {
1045
- /** Conform form metadata (for form.update, form.reset, etc.) */
1046
- form: FormMetadata<Record<string, unknown>>;
1047
- /** All form fields with their metadata and values */
1048
- fields: Record<string, FieldMetadata<unknown>>;
1049
- /** Whether the form is currently submitting */
1050
- isSubmitting: boolean;
1051
- /** Programmatically submit the form */
1052
- submit: () => void;
1053
- /** Reset form to default values */
1054
- reset: () => void;
1055
- }
1056
- interface FormRootProps<T extends z.ZodType> {
1057
- /** Zod schema for validation */
1058
- schema: T;
1059
- /**
1060
- * Form children - can be either:
1061
- * - ReactNode: Standard form content
1062
- * - Render function: For accessing form state (form, fields, isSubmitting, etc.)
1063
- *
1064
- * @example Standard usage
1065
- * ```tsx
1066
- * <Form.Root schema={schema}>
1067
- * <Form.Field name="email"><Form.Input /></Form.Field>
1068
- * <Form.Submit>Save</Form.Submit>
1069
- * </Form.Root>
1070
- * ```
1071
- *
1072
- * @example Render function for form state access
1073
- * ```tsx
1074
- * <Form.Root schema={schema}>
1075
- * {({ form, fields, isSubmitting }) => (
1076
- * <>
1077
- * <Form.Field name="email"><Form.Input /></Form.Field>
1078
- * <Button disabled={isSubmitting} onClick={() => form.update({...})}>
1079
- * Cancel
1080
- * </Button>
1081
- * </>
1082
- * )}
1083
- * </Form.Root>
1084
- * ```
1085
- */
1086
- children: React.ReactNode | ((props: FormRootRenderProps) => React.ReactNode);
1087
- /** Client-side submit handler */
1088
- onSubmit?: (data: z.infer<T>) => void | Promise<void>;
1089
- /** React Router action path for server-side submission */
1090
- action?: string;
1091
- /** HTTP method for form submission */
1092
- method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
1093
- /**
1094
- * Custom form component to render (defaults to native `<form>`).
1095
- * Use to integrate with framework-specific forms (e.g. React Router's `<Form>`).
1096
- */
1097
- formComponent?: React.ElementType;
1098
- /** Unique form ID */
1099
- id?: string;
1100
- /**
1101
- * Form name for analytics and error tracking.
1102
- * Used in telemetry callbacks to identify which form the user interacted with.
1103
- * @example "http-proxy-create", "dns-zone-edit", "project-settings"
1104
- */
1105
- name?: string;
1106
- /**
1107
- * Optional telemetry callbacks for form lifecycle tracking.
1108
- * When omitted, forms work silently without any tracking.
1109
- */
1110
- telemetry?: FormTelemetry;
1111
- /** Default values for form fields */
1112
- defaultValues?: Partial<z.infer<T>>;
1113
- /** When to validate: onBlur, onChange, or onSubmit */
1114
- mode?: 'onBlur' | 'onChange' | 'onSubmit';
1115
- /**
1116
- * External submitting state - use when submission is handled externally (e.g., with useFetcher)
1117
- * When provided, this overrides the internal isSubmitting state
1118
- */
1119
- isSubmitting?: boolean;
1120
- /** Called when validation fails */
1121
- onError?: (errors: z.ZodError<z.infer<T>>) => void;
1122
- /** Called after successful submission */
1123
- onSuccess?: (data: z.infer<T>) => void;
1124
- /** Additional CSS classes */
1125
- className?: string;
1126
- }
1127
- /**
1128
- * Render props passed to Form.Field when using render function pattern
1129
- */
1130
- interface FormFieldRenderProps {
1131
- /** Current field's Conform metadata */
1132
- field: FieldMetadata<unknown>;
1133
- /** Input control for programmatic value updates */
1134
- control: {
1135
- value: string | string[] | undefined;
1136
- change: (value: string | string[]) => void;
1137
- blur: () => void;
1138
- focus: () => void;
1139
- };
1140
- /** Field meta information */
1141
- meta: {
1142
- name: string;
1143
- id: string;
1144
- errors: string[] | undefined;
1145
- required: boolean;
1146
- disabled: boolean;
1147
- };
1148
- /** Access to all form fields (for multi-field scenarios) */
1149
- fields: Record<string, FieldMetadata<unknown>>;
1150
- /** Form metadata from Conform */
1151
- form: FormMetadata<Record<string, unknown>>;
1152
- /** Whether form is currently submitting */
1153
- isSubmitting: boolean;
1154
- }
1155
- interface FormFieldProps {
1156
- /** Field name - supports nested paths like "address.city" */
1157
- name: string;
1158
- /**
1159
- * Form children - can be either:
1160
- * - ReactNode: Standard input components (Form.Input, Form.Select, etc.)
1161
- * - Render function: For custom components needing field access
1162
- *
1163
- * @example Standard usage
1164
- * ```tsx
1165
- * <Form.Field name="email" label="Email">
1166
- * <Form.Input type="email" />
1167
- * </Form.Field>
1168
- * ```
1169
- *
1170
- * @example Render function for custom components
1171
- * ```tsx
1172
- * <Form.Field name="role" label="Role">
1173
- * {({ control, meta, fields }) => (
1174
- * <CustomSelect
1175
- * value={control.value}
1176
- * onChange={control.change}
1177
- * />
1178
- * )}
1179
- * </Form.Field>
1180
- * ```
1181
- */
1182
- children: React.ReactNode | ((props: FormFieldRenderProps) => React.ReactNode);
1183
- /** Field label */
1184
- label?: string | React.ReactNode;
1185
- /** Helper description below the field */
1186
- description?: string | React.ReactNode;
1187
- /** Tooltip information */
1188
- tooltip?: string | React.ReactNode;
1189
- /** Mark field as required (shows asterisk) */
1190
- required?: boolean;
1191
- /** Disable the field */
1192
- disabled?: boolean;
1193
- /** Additional CSS classes for the field wrapper */
1194
- className?: string;
1195
- /** Additional CSS classes for the label */
1196
- labelClassName?: string;
1197
- }
1198
- interface FormFieldContextValue {
1199
- /** Field name */
1200
- name: string;
1201
- /** Field ID for accessibility */
1202
- id: string;
1203
- /** Field errors */
1204
- errors?: string[];
1205
- /** Whether the field is required */
1206
- required?: boolean;
1207
- /** Whether the field is disabled */
1208
- disabled?: boolean;
1209
- /** Conform field metadata */
1210
- fieldMeta: FieldMetadata<unknown>;
1211
- }
1212
- interface FormInputProps extends Omit<React.ComponentProps<'input'>, 'name'> {
1213
- /** Input type */
1214
- type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search' | 'date' | 'time' | 'datetime-local';
1215
- }
1216
- interface FormTextareaProps extends Omit<React.ComponentProps<'textarea'>, 'name'> {
1217
- /** Number of visible rows */
1218
- rows?: number;
1219
- }
1220
- interface FormSelectProps {
1221
- /** Placeholder text when no value selected */
1222
- placeholder?: string;
1223
- /** Disable the select */
1224
- disabled?: boolean;
1225
- /** Additional CSS classes */
1226
- className?: string;
1227
- /** Select options as children */
1228
- children: React.ReactNode;
1229
- }
1230
- interface FormSelectItemProps {
1231
- /** Option value */
1232
- value: string;
1233
- /** Option label */
1234
- children: React.ReactNode;
1235
- /** Disable this option */
1236
- disabled?: boolean;
1237
- }
1238
- interface FormCheckboxProps {
1239
- /** Inline label next to checkbox */
1240
- label?: string;
1241
- /** Disable the checkbox */
1242
- disabled?: boolean;
1243
- /** Additional CSS classes */
1244
- className?: string;
1245
- }
1246
- interface FormSwitchProps {
1247
- /** Inline label next to switch */
1248
- label?: string;
1249
- /** Disable the switch */
1250
- disabled?: boolean;
1251
- /** Additional CSS classes */
1252
- className?: string;
1253
- }
1254
- interface FormRadioGroupProps {
1255
- /** Layout orientation */
1256
- orientation?: 'horizontal' | 'vertical';
1257
- /** Disable all radio items */
1258
- disabled?: boolean;
1259
- /** Additional CSS classes */
1260
- className?: string;
1261
- /** Radio items as children */
1262
- children: React.ReactNode;
1263
- }
1264
- interface FormRadioItemProps {
1265
- /** Radio value */
1266
- value: string;
1267
- /** Radio label */
1268
- label: string;
1269
- /** Optional description */
1270
- description?: string;
1271
- /** Disable this radio item */
1272
- disabled?: boolean;
1273
- }
1274
- interface FormCopyBoxProps$1 {
1275
- /** Display variant: 'default' shows Copy button, 'icon-only' shows icon */
1276
- variant?: 'default' | 'icon-only';
1277
- /** Custom className for the wrapper */
1278
- className?: string;
1279
- /** Custom className for the content area */
1280
- contentClassName?: string;
1281
- /** Custom className for the button */
1282
- buttonClassName?: string;
1283
- /** Placeholder text when value is empty */
1284
- placeholder?: string;
1285
- }
1286
- interface FormSubmitProps extends ButtonProps {
1287
- /** Button content */
1288
- children: React.ReactNode;
1289
- /** Text to show while loading */
1290
- loadingText?: string;
1291
- }
1292
- interface FormButtonProps {
1293
- /** Button content */
1294
- children: React.ReactNode;
1295
- /** Click handler */
1296
- onClick?: () => void;
1297
- /** Button variant */
1298
- type?: ButtonProps['type'];
1299
- /** Button theme */
1300
- theme?: ButtonProps['theme'];
1301
- /** Button size */
1302
- size?: ButtonProps['size'];
1303
- /** Disable the button */
1304
- disabled?: boolean;
1305
- /** Additional CSS classes */
1306
- className?: string;
1307
- /** Whether to disable the button when form is submitting (default: true) */
1308
- disableOnSubmit?: boolean;
1309
- }
1310
- interface FormErrorProps {
1311
- /** Error message or render function */
1312
- children?: React.ReactNode | ((errors: string[]) => React.ReactNode);
1313
- /** Additional CSS classes */
1314
- className?: string;
1315
- }
1316
- interface FormDescriptionProps {
1317
- /** Description content */
1318
- children: React.ReactNode;
1319
- /** Additional CSS classes */
1320
- className?: string;
1321
- }
1322
- interface FormWhenProps {
1323
- /** Field name to watch */
1324
- field: string;
1325
- /** Render when field equals this value */
1326
- is?: unknown;
1327
- /** Render when field does not equal this value */
1328
- isNot?: unknown;
1329
- /** Render when field value is in array */
1330
- in?: unknown[];
1331
- /** Render when field value is not in array */
1332
- notIn?: unknown[];
1333
- /** Children to render conditionally */
1334
- children: React.ReactNode;
1335
- }
1336
- interface FormFieldArrayProps {
1337
- /** Array field name */
1338
- name: string;
1339
- /** Render function with array helpers */
1340
- children: (props: FormFieldArrayRenderProps) => React.ReactNode;
1341
- }
1342
- interface FormFieldArrayRenderProps {
1343
- /** Array of field items with id and key */
1344
- fields: Array<{
1345
- id: string;
1346
- key: string;
1347
- name: string;
1348
- }>;
1349
- /** Add a new item to the array */
1350
- append: (value?: Record<string, unknown>) => void;
1351
- /** Remove an item at index */
1352
- remove: (index: number) => void;
1353
- /** Move an item from one index to another */
1354
- move: (from: number, to: number) => void;
1355
- }
1356
- interface FormCustomProps {
1357
- /** Render function with form context */
1358
- children: (context: FormCustomRenderProps) => React.ReactNode;
1359
- }
1360
- interface FormCustomRenderProps {
1361
- /** Form metadata from Conform */
1362
- form: FormMetadata<Record<string, unknown>>;
1363
- /** All field metadata */
1364
- fields: Record<string, FieldMetadata<unknown>>;
1365
- /** Whether form is currently submitting */
1366
- isSubmitting: boolean;
1367
- /** Submit the form programmatically */
1368
- submit: () => void;
1369
- /** Reset the form */
1370
- reset: () => void;
1371
- }
1372
- interface StepConfig {
1373
- /** Unique step identifier */
1374
- id: string;
1375
- /** Step label displayed in navigation */
1376
- label: string;
1377
- /** Optional step description */
1378
- description?: string;
1379
- /** Zod schema for this step's validation */
1380
- schema: z.ZodType;
1381
- }
1382
- /**
1383
- * Render props context passed to Form.Stepper children function
1384
- */
1385
- interface FormStepperRenderProps {
1386
- /** All step configurations */
1387
- steps: StepConfig[];
1388
- /** Current step config */
1389
- current: StepConfig;
1390
- /** Current step index (0-based) */
1391
- currentIndex: number;
1392
- /** Go to next step (triggers validation) */
1393
- next: () => void;
1394
- /** Go to previous step (no validation) */
1395
- prev: () => void;
1396
- /** Go to specific step by ID (only backwards without validation) */
1397
- goTo: (stepId: string) => void;
1398
- /** Whether current step is first */
1399
- isFirst: boolean;
1400
- /** Whether current step is last */
1401
- isLast: boolean;
1402
- /** Get data from a specific step by ID */
1403
- getStepData: (stepId: string) => Record<string, unknown> | undefined;
1404
- /** Get all data from all completed steps */
1405
- getAllStepData: () => Record<string, unknown>;
1406
- }
1407
- interface FormStepperProps {
1408
- /** Step configurations */
1409
- steps: StepConfig[];
1410
- /** Form children - can be ReactNode or render function for accessing stepper context */
1411
- children: React.ReactNode | ((props: FormStepperRenderProps) => React.ReactNode);
1412
- /** Called when all steps are completed */
1413
- onComplete: (data: Record<string, unknown>) => void | Promise<void>;
1414
- /** Called when step changes */
1415
- onStepChange?: (stepId: string, direction: 'next' | 'prev') => void;
1416
- /** Initial step ID */
1417
- initialStep?: string;
1418
- /** Additional CSS classes */
1419
- className?: string;
1420
- }
1421
- interface FormStepProps {
1422
- /** Step ID - must match a step in steps array */
1423
- id: string;
1424
- /** Step content */
1425
- children: React.ReactNode;
1426
- }
1427
- interface StepperNavigationProps {
1428
- /** Navigation variant */
1429
- variant?: 'horizontal' | 'vertical';
1430
- /** Label orientation */
1431
- labelOrientation?: 'horizontal' | 'vertical';
1432
- /** Additional CSS classes */
1433
- className?: string;
1434
- }
1435
- interface StepperControlsProps {
1436
- /** Previous button label */
1437
- prevLabel?: string | ((isFirst: boolean) => string);
1438
- /** Next button label */
1439
- nextLabel?: string | ((isLast: boolean) => string);
1440
- /** Loading text shown when submitting (only on last step) */
1441
- loadingText?: string;
1442
- /** Whether to show previous button */
1443
- showPrev?: boolean;
1444
- /** External loading state - overrides internal isSubmitting */
1445
- loading?: boolean;
1446
- /** Disable both buttons */
1447
- disabled?: boolean;
1448
- /** Callback when previous button is clicked (not on first step) */
1449
- onPrev?: () => void;
1450
- /** Callback when cancel is clicked (first step only) */
1451
- onCancel?: () => void;
1452
- /** Additional CSS classes */
1453
- className?: string;
1454
- }
1455
- interface StepperContextValue {
1456
- /** All step configurations */
1457
- steps: StepConfig[];
1458
- /** Current step config */
1459
- current: StepConfig;
1460
- /** Current step index */
1461
- currentIndex: number;
1462
- /** Go to next step (triggers validation) */
1463
- next: () => void;
1464
- /** Go to previous step (no validation) */
1465
- prev: () => void;
1466
- /** Go to specific step by ID (only backwards without validation) */
1467
- goTo: (stepId: string) => void;
1468
- /** Whether current step is first */
1469
- isFirst: boolean;
1470
- /** Whether current step is last */
1471
- isLast: boolean;
1472
- /** Stepperize utils */
1473
- utils: {
1474
- getIndex: (id: string) => number;
1475
- };
1476
- }
1477
- interface FormContextValue<T extends Record<string, unknown> = Record<string, unknown>> {
1478
- /** Form metadata from Conform */
1479
- form: FormMetadata<T>;
1480
- /** Field metadata accessor */
1481
- fields: Record<string, FieldMetadata<unknown>>;
1482
- /** Whether form is currently submitting */
1483
- isSubmitting: boolean;
1484
- /** Submit the form */
1485
- submit: () => void;
1486
- /** Reset the form */
1487
- reset: () => void;
1488
- /** Form ID */
1489
- formId: string;
1490
- }
1491
- interface UseFieldReturn {
1492
- /** Field metadata */
1493
- field: FieldMetadata<unknown>;
1494
- /** Input control for programmatic updates */
1495
- control: {
1496
- value: string | undefined;
1497
- change: (value: string) => void;
1498
- blur: () => void;
1499
- focus: () => void;
1500
- };
1501
- /** Field meta information */
1502
- meta: {
1503
- name: string;
1504
- id: string;
1505
- errors: string[] | undefined;
1506
- required: boolean;
1507
- disabled: boolean;
1508
- };
1509
- /** Field errors */
1510
- errors: string[] | undefined;
1511
- }
1512
- interface UseWatchReturn<T = unknown> {
1513
- /** Current field value */
1514
- value: T;
1515
- }
1516
- interface FormDialogProps<T extends z.ZodType> {
1517
- /** Controlled open state */
1518
- open?: boolean;
1519
- /** Callback when open state changes */
1520
- onOpenChange?: (open: boolean) => void;
1521
- /** Default open state for uncontrolled usage */
1522
- defaultOpen?: boolean;
1523
- /** Dialog title */
1524
- title: string;
1525
- /** Dialog description (optional) */
1526
- description?: string;
1527
- /** Trigger element to open the dialog */
1528
- trigger?: React.ReactNode;
1529
- /** Zod schema for validation */
1530
- schema: T;
1531
- /** Default form values */
1532
- defaultValues?: Partial<z.infer<T>>;
1533
- /** Client-side submit handler */
1534
- onSubmit?: (data: z.infer<T>) => void | Promise<void>;
1535
- /** Called after successful submission */
1536
- onSuccess?: (data: z.infer<T>) => void;
1537
- /** Called when validation fails */
1538
- onError?: (error: z.ZodError<z.infer<T>>) => void;
1539
- /** Submit button text (default: "Submit") */
1540
- submitText?: string;
1541
- /** Submit button text while loading */
1542
- submitTextLoading?: string;
1543
- /** Cancel button text (default: "Cancel") */
1544
- cancelText?: string;
1545
- /** Whether to show cancel button (default: true) */
1546
- showCancel?: boolean;
1547
- /** Submit button type variant */
1548
- submitType?: ButtonProps['type'];
1549
- /**
1550
- * External loading state - use when submission is handled by external mutation.
1551
- * When provided, this overrides the internal isSubmitting state.
1552
- * @example
1553
- * ```tsx
1554
- * const mutation = useCreateUser();
1555
- * <Form.Dialog loading={mutation.isPending} ... />
1556
- * ```
1557
- */
1558
- loading?: boolean;
1559
- /** Custom form element (e.g., React Router's Form). Defaults to native <form>. */
1560
- formComponent?: React.ElementType;
1561
- /** Optional telemetry callbacks for form submission tracking */
1562
- telemetry?: FormTelemetry;
1563
- /** Dialog content className */
1564
- className?: string;
1565
- /** Form className */
1566
- formClassName?: string;
1567
- /**
1568
- * Dialog form children - can be either:
1569
- * - ReactNode: Standard form fields
1570
- * - Render function: For accessing form state (form, fields, isSubmitting, etc.)
1571
- *
1572
- * @example Standard usage
1573
- * ```tsx
1574
- * <Form.Dialog title="Add User" schema={schema} onSubmit={handleSubmit}>
1575
- * <Form.Field name="email"><Form.Input type="email" /></Form.Field>
1576
- * </Form.Dialog>
1577
- * ```
1578
- *
1579
- * @example Render function for form state access
1580
- * ```tsx
1581
- * <Form.Dialog title="Edit User" schema={schema} onSubmit={handleSubmit}>
1582
- * {({ form, fields, isSubmitting, reset }) => (
1583
- * <>
1584
- * <Form.Field name="email"><Form.Input type="email" /></Form.Field>
1585
- * <Button onClick={reset} disabled={isSubmitting}>Reset</Button>
1586
- * </>
1587
- * )}
1588
- * </Form.Dialog>
1589
- * ```
1590
- */
1591
- children: React.ReactNode | ((props: FormRootRenderProps) => React.ReactNode);
1592
- }
1593
- //#endregion
1594
- //#region src/components/features/form/components/form-button.d.ts
1595
- /**
1596
- * Form.Button - A button for non-submit actions within a form
1597
- *
1598
- * Automatically gets disabled when the form is submitting.
1599
- * Use this for cancel buttons, reset buttons, or other actions.
1600
- *
1601
- * @example
1602
- * ```tsx
1603
- * <Form.Button onClick={() => navigate(-1)}>
1604
- * Cancel
1605
- * </Form.Button>
1606
- *
1607
- * <Form.Button onClick={() => form.reset()} type="secondary">
1608
- * Reset
1609
- * </Form.Button>
1610
- * ```
1611
- */
1612
- declare function FormButton({
1613
- children,
1614
- onClick,
1615
- type,
1616
- theme,
1617
- size,
1618
- disabled,
1619
- className,
1620
- disableOnSubmit
1621
- }: FormButtonProps): react_jsx_runtime0.JSX.Element;
1622
- declare namespace FormButton {
1623
- var displayName: string;
1624
- }
1625
- //#endregion
1626
- //#region src/components/features/form/components/form-checkbox.d.ts
1627
- /**
1628
- * Form.Checkbox - Checkbox input component
1629
- *
1630
- * Automatically wired to the parent Form.Field context.
1631
- *
1632
- * @example
1633
- * ```tsx
1634
- * <Form.Field name="terms">
1635
- * <Form.Checkbox label="I agree to the terms and conditions" />
1636
- * </Form.Field>
1637
- * ```
1638
- */
1639
- declare function FormCheckbox({
1640
- label,
1641
- disabled,
1642
- className
1643
- }: FormCheckboxProps): react_jsx_runtime0.JSX.Element;
1644
- declare namespace FormCheckbox {
1645
- var displayName: string;
1646
- }
1647
- //#endregion
1648
- //#region src/components/features/form/components/form-copy-box.d.ts
1649
- interface FormCopyBoxProps {
1650
- /** Display variant: 'default' shows Copy button, 'icon-only' shows icon */
1651
- variant?: 'default' | 'icon-only';
1652
- /** Custom className for the wrapper */
1653
- className?: string;
1654
- /** Custom className for the content area */
1655
- contentClassName?: string;
1656
- /** Custom className for the button */
1657
- buttonClassName?: string;
1658
- /** Placeholder text when value is empty */
1659
- placeholder?: string;
1660
- }
1661
- /**
1662
- * Form.CopyBox - Read-only field with copy-to-clipboard functionality
1663
- *
1664
- * Displays field value in a read-only box with a copy button.
1665
- * Automatically gets value from Form.Field context.
1666
- *
1667
- * @example Basic usage
1668
- * ```tsx
1669
- * <Form.Field name="organizationId" label="Organization ID">
1670
- * <Form.CopyBox />
1671
- * </Form.Field>
1672
- * ```
1673
- *
1674
- * @example With icon-only button
1675
- * ```tsx
1676
- * <Form.Field name="apiKey" label="API Key">
1677
- * <Form.CopyBox variant="icon-only" />
1678
- * </Form.Field>
1679
- * ```
1680
- *
1681
- * @example With placeholder
1682
- * ```tsx
1683
- * <Form.Field name="webhookUrl" label="Webhook URL">
1684
- * <Form.CopyBox placeholder="Not configured" />
1685
- * </Form.Field>
1686
- * ```
1687
- */
1688
- declare function FormCopyBox({
1689
- variant,
1690
- className,
1691
- contentClassName,
1692
- buttonClassName,
1693
- placeholder
1694
- }: FormCopyBoxProps): react_jsx_runtime0.JSX.Element;
1695
- //#endregion
1696
- //#region src/components/features/form/components/form-custom.d.ts
1697
- /**
1698
- * Form.Custom - Escape hatch for custom implementations
1699
- *
1700
- * Provides access to the underlying form context for complex use cases
1701
- * that don't fit the standard component patterns.
1702
- *
1703
- * @example
1704
- * ```tsx
1705
- * <Form.Custom>
1706
- * {({ form, fields, submit, reset }) => (
1707
- * <MyCustomComponent
1708
- * fields={fields}
1709
- * onCustomAction={() => {
1710
- * // Do something custom
1711
- * submit();
1712
- * }}
1713
- * />
1714
- * )}
1715
- * </Form.Custom>
1716
- * ```
1717
- */
1718
- declare function FormCustom({
1719
- children
1720
- }: FormCustomProps): react_jsx_runtime0.JSX.Element;
1721
- declare namespace FormCustom {
1722
- var displayName: string;
1723
- }
1724
- //#endregion
1725
- //#region src/components/features/form/components/form-description.d.ts
1726
- /**
1727
- * Form.Description - Display field description/helper text
1728
- *
1729
- * @example
1730
- * ```tsx
1731
- * <Form.Field name="password">
1732
- * <Form.Input type="password" />
1733
- * <Form.Description>
1734
- * Must be at least 8 characters with one uppercase letter
1735
- * </Form.Description>
1736
- * </Form.Field>
1737
- * ```
1738
- */
1739
- declare function FormDescription({
1740
- children,
1741
- className
1742
- }: FormDescriptionProps): react_jsx_runtime0.JSX.Element;
1743
- declare namespace FormDescription {
1744
- var displayName: string;
1745
- }
1746
- //#endregion
1747
- //#region src/components/features/form/components/form-dialog.d.ts
1748
- /**
1749
- * Form.Dialog - A dialog with an integrated form
1750
- *
1751
- * Combines Dialog and Form.Root into a single component with:
1752
- * - Automatic dialog state management (controlled or uncontrolled)
1753
- * - Built-in header with title and description
1754
- * - Built-in footer with submit and cancel buttons
1755
- * - Auto-close on successful submission
1756
- * - Prevents accidental close during submission
1757
- * - Supports render function pattern for form state access
1758
- *
1759
- * @example Basic usage
1760
- * ```tsx
1761
- * <Form.Dialog
1762
- * title="Add User"
1763
- * description="Enter user details"
1764
- * schema={userSchema}
1765
- * onSubmit={handleSubmit}
1766
- * trigger={<Button>Add User</Button>}
1767
- * >
1768
- * <Form.Field name="name" label="Name" required>
1769
- * <Form.Input />
1770
- * </Form.Field>
1771
- * <Form.Field name="email" label="Email" required>
1772
- * <Form.Input type="email" />
1773
- * </Form.Field>
1774
- * </Form.Dialog>
1775
- * ```
1776
- *
1777
- * @example With render function for form state access
1778
- * ```tsx
1779
- * <Form.Dialog
1780
- * title="Edit User"
1781
- * schema={userSchema}
1782
- * defaultValues={user}
1783
- * onSubmit={handleSubmit}
1784
- * trigger={<Button>Edit</Button>}
1785
- * >
1786
- * {({ form, fields, isSubmitting, reset }) => (
1787
- * <>
1788
- * <Form.Field name="name" label="Name">
1789
- * <Form.Input />
1790
- * </Form.Field>
1791
- * <Button variant="ghost" onClick={reset} disabled={isSubmitting}>
1792
- * Reset
1793
- * </Button>
1794
- * </>
1795
- * )}
1796
- * </Form.Dialog>
1797
- * ```
1798
- */
1799
- declare function FormDialog<T extends z.ZodType>({
1800
- open,
1801
- onOpenChange,
1802
- defaultOpen,
1803
- title,
1804
- description,
1805
- trigger,
1806
- schema,
1807
- defaultValues,
1808
- onSubmit,
1809
- onSuccess,
1810
- onError,
1811
- submitText,
1812
- submitTextLoading,
1813
- cancelText,
1814
- showCancel,
1815
- submitType,
1816
- loading,
1817
- formComponent,
1818
- telemetry,
1819
- className,
1820
- formClassName,
1821
- children
1822
- }: FormDialogProps<T>): react_jsx_runtime0.JSX.Element;
1823
- declare namespace FormDialog {
1824
- var displayName: string;
1825
- }
1826
- //#endregion
1827
- //#region src/components/features/form/components/form-error.d.ts
1828
- /**
1829
- * Form.Error - Display field errors
1830
- *
1831
- * Can be used inside Form.Field to display errors automatically,
1832
- * or standalone with custom rendering.
1833
- *
1834
- * @example
1835
- * ```tsx
1836
- * // Inside Form.Field - displays field errors automatically
1837
- * <Form.Field name="email">
1838
- * <Form.Input />
1839
- * <Form.Error />
1840
- * </Form.Field>
1841
- *
1842
- * // Custom rendering
1843
- * <Form.Field name="email">
1844
- * <Form.Input />
1845
- * <Form.Error>
1846
- * {(errors) => errors.map(e => <span key={e}>{e}</span>)}
1847
- * </Form.Error>
1848
- * </Form.Field>
1849
- * ```
1850
- */
1851
- declare function FormError({
1852
- children,
1853
- className
1854
- }: FormErrorProps): react_jsx_runtime0.JSX.Element | null;
1855
- declare namespace FormError {
1856
- var displayName: string;
1857
- }
1858
- //#endregion
1859
- //#region src/components/features/form/components/form-field.d.ts
1860
- /**
1861
- * Form.Field - Field wrapper component
1862
- *
1863
- * Provides field context to children with:
1864
- * - Automatic label rendering
1865
- * - Error display
1866
- * - Description text
1867
- * - Required indicator
1868
- * - Accessibility attributes
1869
- *
1870
- * Supports two patterns:
1871
- * 1. ReactNode children - for standard Form inputs
1872
- * 2. Render function - for custom components needing field access
1873
- *
1874
- * @example Standard usage
1875
- * ```tsx
1876
- * <Form.Field name="email" label="Email Address" required>
1877
- * <Form.Input type="email" />
1878
- * </Form.Field>
1879
- * ```
1880
- *
1881
- * @example Render function for custom components
1882
- * ```tsx
1883
- * <Form.Field name="role" label="Role" required>
1884
- * {({ control, meta, fields }) => (
1885
- * <CustomSelect
1886
- * name={meta.name}
1887
- * value={control.value}
1888
- * onChange={control.change}
1889
- * />
1890
- * )}
1891
- * </Form.Field>
1892
- * ```
1893
- */
1894
- declare function FormField({
1895
- name,
1896
- children,
1897
- label,
1898
- description,
1899
- tooltip,
1900
- required,
1901
- disabled,
1902
- className,
1903
- labelClassName
1904
- }: FormFieldProps): react_jsx_runtime0.JSX.Element | null;
1905
- declare namespace FormField {
1906
- var displayName: string;
1907
- }
1908
- //#endregion
1909
- //#region src/components/features/form/components/form-field-array.d.ts
1910
- /**
1911
- * Form.FieldArray - Dynamic array of fields
1912
- *
1913
- * Provides helpers for managing arrays of form fields.
1914
- *
1915
- * @example
1916
- * ```tsx
1917
- * <Form.FieldArray name="members">
1918
- * {({ fields, append, remove }) => (
1919
- * <>
1920
- * {fields.map((field, index) => (
1921
- * <div key={field.key} className="flex gap-2">
1922
- * <Form.Field name={`members.${index}.email`} label="Email">
1923
- * <Form.Input type="email" />
1924
- * </Form.Field>
1925
- * <Form.Field name={`members.${index}.role`} label="Role">
1926
- * <Form.Select>
1927
- * <Form.SelectItem value="admin">Admin</Form.SelectItem>
1928
- * <Form.SelectItem value="user">User</Form.SelectItem>
1929
- * </Form.Select>
1930
- * </Form.Field>
1931
- * <button type="button" onClick={() => remove(index)}>
1932
- * Remove
1933
- * </button>
1934
- * </div>
1935
- * ))}
1936
- * <button type="button" onClick={() => append({ email: '', role: 'user' })}>
1937
- * Add Member
1938
- * </button>
1939
- * </>
1940
- * )}
1941
- * </Form.FieldArray>
1942
- * ```
1943
- */
1944
- declare function FormFieldArray({
1945
- name,
1946
- children
1947
- }: FormFieldArrayProps): react_jsx_runtime0.JSX.Element | null;
1948
- declare namespace FormFieldArray {
1949
- var displayName: string;
1950
- }
1951
- //#endregion
1952
- //#region src/components/features/form/components/form-input.d.ts
1953
- /**
1954
- * Form.Input - Text input component
1955
- *
1956
- * Automatically wired to the parent Form.Field context.
1957
- *
1958
- * @example
1959
- * ```tsx
1960
- * <Form.Field name="email" label="Email" required>
1961
- * <Form.Input type="email" placeholder="john@example.com" />
1962
- * </Form.Field>
1963
- * ```
1964
- */
1965
- declare function FormInput({
1966
- ref,
1967
- type,
1968
- className,
1969
- disabled,
1970
- ...props
1971
- }: FormInputProps & {
1972
- ref?: React$2.RefObject<HTMLInputElement | null>;
1973
- }): react_jsx_runtime0.JSX.Element;
1974
- declare namespace FormInput {
1975
- var displayName: string;
1976
- }
1977
- //#endregion
1978
- //#region src/components/features/form/components/form-radio-group.d.ts
1979
- /**
1980
- * Form.RadioGroup - Radio button group component
1981
- *
1982
- * Automatically wired to the parent Form.Field context.
1983
- *
1984
- * @example
1985
- * ```tsx
1986
- * <Form.Field name="plan" label="Select Plan" required>
1987
- * <Form.RadioGroup orientation="vertical">
1988
- * <Form.RadioItem value="free" label="Free" description="Basic features" />
1989
- * <Form.RadioItem value="pro" label="Pro" description="Advanced features" />
1990
- * <Form.RadioItem value="enterprise" label="Enterprise" description="Custom solutions" />
1991
- * </Form.RadioGroup>
1992
- * </Form.Field>
1993
- * ```
1994
- */
1995
- declare function FormRadioGroup({
1996
- orientation,
1997
- disabled,
1998
- className,
1999
- children
2000
- }: FormRadioGroupProps): react_jsx_runtime0.JSX.Element;
2001
- declare namespace FormRadioGroup {
2002
- var displayName: string;
2003
- }
2004
- /**
2005
- * Form.RadioItem - Individual radio button option
2006
- *
2007
- * @example
2008
- * ```tsx
2009
- * <Form.RadioItem value="option1" label="Option 1" />
2010
- * ```
2011
- */
2012
- declare function FormRadioItem({
2013
- value,
2014
- label,
2015
- description,
2016
- disabled
2017
- }: FormRadioItemProps): react_jsx_runtime0.JSX.Element;
2018
- declare namespace FormRadioItem {
2019
- var displayName: string;
2020
- }
2021
- //#endregion
2022
- //#region src/components/features/form/components/form-root.d.ts
2023
- /**
2024
- * Form.Root - The root form component
2025
- *
2026
- * Provides form context to all children with built-in:
2027
- * - Zod schema validation
2028
- * - Conform integration
2029
- * - Optional telemetry callbacks
2030
- *
2031
- * Supports two patterns:
2032
- * 1. ReactNode children - for standard forms
2033
- * 2. Render function - for forms needing access to form state
2034
- *
2035
- * @example Standard usage
2036
- * ```tsx
2037
- * <Form.Root schema={userSchema} onSubmit={handleSubmit}>
2038
- * <Form.Field name="email" label="Email" required>
2039
- * <Form.Input type="email" />
2040
- * </Form.Field>
2041
- * <Form.Submit>Save</Form.Submit>
2042
- * </Form.Root>
2043
- * ```
2044
- *
2045
- * @example Render function for form state access
2046
- * ```tsx
2047
- * <Form.Root schema={userSchema} onSubmit={handleSubmit}>
2048
- * {({ form, fields, isSubmitting }) => (
2049
- * <>
2050
- * <Form.Field name="email" label="Email" required>
2051
- * <Form.Input type="email" />
2052
- * </Form.Field>
2053
- * <Button
2054
- * disabled={isSubmitting}
2055
- * onClick={() => form.update({ value: { email: '' } })}
2056
- * >
2057
- * Cancel
2058
- * </Button>
2059
- * <Form.Submit>Save</Form.Submit>
2060
- * </>
2061
- * )}
2062
- * </Form.Root>
2063
- * ```
2064
- */
2065
- declare function FormRoot<T extends z.ZodType>({
2066
- schema,
2067
- children,
2068
- onSubmit,
2069
- action,
2070
- method,
2071
- formComponent: FormComp,
2072
- id,
2073
- name,
2074
- defaultValues,
2075
- mode,
2076
- isSubmitting: externalIsSubmitting,
2077
- onError,
2078
- onSuccess,
2079
- telemetry,
2080
- className
2081
- }: FormRootProps<T>): react_jsx_runtime0.JSX.Element;
2082
- declare namespace FormRoot {
2083
- var displayName: string;
2084
- }
2085
- //#endregion
2086
- //#region src/components/features/form/components/form-select.d.ts
2087
- /**
2088
- * Form.Select - Select dropdown component
2089
- *
2090
- * Automatically wired to the parent Form.Field context.
2091
- *
2092
- * @example
2093
- * ```tsx
2094
- * <Form.Field name="country" label="Country" required>
2095
- * <Form.Select placeholder="Select a country">
2096
- * <Form.SelectItem value="us">United States</Form.SelectItem>
2097
- * <Form.SelectItem value="uk">United Kingdom</Form.SelectItem>
2098
- * <Form.SelectItem value="ca">Canada</Form.SelectItem>
2099
- * </Form.Select>
2100
- * </Form.Field>
2101
- * ```
2102
- */
2103
- declare function FormSelect({
2104
- placeholder,
2105
- disabled,
2106
- className,
2107
- children
2108
- }: FormSelectProps): react_jsx_runtime0.JSX.Element;
2109
- declare namespace FormSelect {
2110
- var displayName: string;
2111
- }
2112
- /**
2113
- * Form.SelectItem - Individual select option
2114
- *
2115
- * @example
2116
- * ```tsx
2117
- * <Form.SelectItem value="option1">Option 1</Form.SelectItem>
2118
- * ```
2119
- */
2120
- declare function FormSelectItem({
2121
- value,
2122
- children,
2123
- disabled
2124
- }: FormSelectItemProps): react_jsx_runtime0.JSX.Element;
2125
- declare namespace FormSelectItem {
2126
- var displayName: string;
2127
- }
2128
- //#endregion
2129
- //#region src/components/features/form/components/form-submit.d.ts
2130
- /**
2131
- * Form.Submit - Submit button with automatic loading state
2132
- *
2133
- * @example
2134
- * ```tsx
2135
- * <Form.Submit loadingText="Saving...">
2136
- * Save Changes
2137
- * </Form.Submit>
2138
- * ```
2139
- */
2140
- declare function FormSubmit({
2141
- children,
2142
- loadingText,
2143
- loading,
2144
- ...props
2145
- }: FormSubmitProps): react_jsx_runtime0.JSX.Element;
2146
- declare namespace FormSubmit {
2147
- var displayName: string;
2148
- }
2149
- //#endregion
2150
- //#region src/components/features/form/components/form-switch.d.ts
2151
- /**
2152
- * Form.Switch - Toggle switch component
2153
- *
2154
- * Automatically wired to the parent Form.Field context.
2155
- *
2156
- * @example
2157
- * ```tsx
2158
- * <Form.Field name="notifications">
2159
- * <Form.Switch label="Enable email notifications" />
2160
- * </Form.Field>
2161
- * ```
2162
- */
2163
- declare function FormSwitch({
2164
- label,
2165
- disabled,
2166
- className
2167
- }: FormSwitchProps): react_jsx_runtime0.JSX.Element;
2168
- declare namespace FormSwitch {
2169
- var displayName: string;
2170
- }
2171
- //#endregion
2172
- //#region src/components/features/form/components/form-textarea.d.ts
2173
- /**
2174
- * Form.Textarea - Multi-line text input component
2175
- *
2176
- * Automatically wired to the parent Form.Field context.
2177
- *
2178
- * @example
2179
- * ```tsx
2180
- * <Form.Field name="bio" label="Bio">
2181
- * <Form.Textarea rows={4} placeholder="Tell us about yourself..." />
2182
- * </Form.Field>
2183
- * ```
2184
- */
2185
- declare function FormTextarea({
2186
- ref,
2187
- className,
2188
- disabled,
2189
- rows,
2190
- ...props
2191
- }: FormTextareaProps & {
2192
- ref?: React$2.RefObject<HTMLTextAreaElement | null>;
2193
- }): react_jsx_runtime0.JSX.Element;
2194
- declare namespace FormTextarea {
2195
- var displayName: string;
2196
- }
2197
- //#endregion
2198
- //#region src/components/features/form/components/form-when.d.ts
2199
- /**
2200
- * Form.When - Conditional rendering based on field values
2201
- *
2202
- * Renders children only when the specified field matches the condition.
2203
- *
2204
- * @example
2205
- * ```tsx
2206
- * // Render when field equals value
2207
- * <Form.When field="contactMethod" is="email">
2208
- * <Form.Field name="email"><Form.Input type="email" /></Form.Field>
2209
- * </Form.When>
2210
- *
2211
- * // Render when field does not equal value
2212
- * <Form.When field="contactMethod" isNot="none">
2213
- * <Form.Field name="contact"><Form.Input /></Form.Field>
2214
- * </Form.When>
2215
- *
2216
- * // Render when field value is in array
2217
- * <Form.When field="role" in={['admin', 'moderator']}>
2218
- * <Form.Field name="permissions"><Form.Input /></Form.Field>
2219
- * </Form.When>
2220
- *
2221
- * // Render when field value is not in array
2222
- * <Form.When field="status" notIn={['archived', 'deleted']}>
2223
- * <Form.Field name="actions"><Form.Input /></Form.Field>
2224
- * </Form.When>
2225
- * ```
2226
- */
2227
- declare function FormWhen({
2228
- field,
2229
- is,
2230
- isNot,
2231
- in: inArray,
2232
- notIn,
2233
- children
2234
- }: FormWhenProps): react_jsx_runtime0.JSX.Element | null;
2235
- declare namespace FormWhen {
2236
- var displayName: string;
2237
- }
2238
- //#endregion
2239
- //#region src/components/features/form/components/stepper/form-step.d.ts
2240
- /**
2241
- * Form.Step - Individual step content container
2242
- *
2243
- * Only renders its children when the step is active.
2244
- * Works with the single-form architecture - fields remain registered
2245
- * even when unmounted, preserving their values.
2246
- *
2247
- * @example
2248
- * ```tsx
2249
- * <Form.Step id="account">
2250
- * <Form.Field name="email" label="Email" required>
2251
- * <Form.Input type="email" />
2252
- * </Form.Field>
2253
- * </Form.Step>
2254
- * ```
2255
- */
2256
- declare function FormStep({
2257
- id,
2258
- children
2259
- }: FormStepProps): react_jsx_runtime0.JSX.Element | null;
2260
- declare namespace FormStep {
2261
- var displayName: string;
2262
- }
2263
- //#endregion
2264
- //#region src/components/features/form/components/stepper/form-stepper.d.ts
2265
- /**
2266
- * Form.Stepper - Multi-step form container
2267
- *
2268
- * Uses Stepperize internally for step navigation and a single Conform form
2269
- * instance for all steps. Schemas are auto-merged for unified validation.
2270
- *
2271
- * @example
2272
- * ```tsx
2273
- * const steps = [
2274
- * { id: 'account', label: 'Account', schema: accountSchema },
2275
- * { id: 'profile', label: 'Profile', schema: profileSchema },
2276
- * ];
2277
- *
2278
- * <Form.Stepper steps={steps} onComplete={handleComplete}>
2279
- * <Form.StepperNavigation />
2280
- *
2281
- * <Form.Step id="account">
2282
- * <Form.Field name="email" label="Email" required>
2283
- * <Form.Input type="email" />
2284
- * </Form.Field>
2285
- * </Form.Step>
2286
- *
2287
- * <Form.Step id="profile">
2288
- * <Form.Field name="name" label="Full Name" required>
2289
- * <Form.Input />
2290
- * </Form.Field>
2291
- * </Form.Step>
2292
- *
2293
- * <Form.StepperControls />
2294
- * </Form.Stepper>
2295
- * ```
2296
- */
2297
- declare function FormStepper({
2298
- steps,
2299
- children,
2300
- onComplete,
2301
- onStepChange,
2302
- initialStep,
2303
- className,
2304
- defaultValues,
2305
- id,
2306
- formComponent
2307
- }: FormStepperProps & {
2308
- defaultValues?: Record<string, unknown>;
2309
- id?: string;
2310
- formComponent?: React$2.ElementType;
2311
- }): react_jsx_runtime0.JSX.Element;
2312
- declare namespace FormStepper {
2313
- var displayName: string;
2314
- }
2315
- //#endregion
2316
- //#region src/components/features/form/components/stepper/stepper-controls.d.ts
2317
- /**
2318
- * Form.StepperControls - Navigation buttons (Previous/Next/Submit)
2319
- *
2320
- * Provides Previous and Next/Submit buttons for navigating between steps.
2321
- * The Next button triggers form validation before advancing.
2322
- * The Previous button navigates back without validation.
2323
- *
2324
- * @example
2325
- * ```tsx
2326
- * <Form.StepperControls
2327
- * prevLabel={(isFirst) => isFirst ? 'Cancel' : 'Previous'}
2328
- * nextLabel={(isLast) => isLast ? 'Submit' : 'Next'}
2329
- * loadingText="Creating..."
2330
- * onCancel={() => setOpen(false)}
2331
- * />
2332
- * ```
2333
- *
2334
- * @example With external loading state
2335
- * ```tsx
2336
- * <Form.StepperControls
2337
- * loading={fetcher.state === 'submitting'}
2338
- * disabled={!isValid}
2339
- * loadingText="Saving..."
2340
- * />
2341
- * ```
2342
- */
2343
- declare function StepperControls({
2344
- prevLabel,
2345
- nextLabel,
2346
- loadingText,
2347
- showPrev,
2348
- loading,
2349
- disabled,
2350
- onPrev,
2351
- onCancel,
2352
- className
2353
- }: StepperControlsProps): react_jsx_runtime0.JSX.Element;
2354
- declare namespace StepperControls {
2355
- var displayName: string;
2356
- }
2357
- //#endregion
2358
- //#region src/components/features/form/components/stepper/stepper-navigation.d.ts
2359
- /**
2360
- * Form.StepperNavigation - Step indicators/progress
2361
- *
2362
- * Displays visual step indicators showing current progress through the form.
2363
- * Supports horizontal and vertical variants with optional label orientation.
2364
- *
2365
- * @example
2366
- * ```tsx
2367
- * <Form.StepperNavigation variant="horizontal" labelOrientation="vertical" />
2368
- * ```
2369
- */
2370
- declare function StepperNavigation({
2371
- variant,
2372
- labelOrientation,
2373
- className
2374
- }: StepperNavigationProps): react_jsx_runtime0.JSX.Element;
2375
- declare namespace StepperNavigation {
2376
- var displayName: string;
2377
- }
2378
- //#endregion
2379
- //#region src/components/features/input-with-addons/input-with-addons.d.ts
2380
- interface InputWithAddonsProps extends React$2.InputHTMLAttributes<HTMLInputElement> {
2381
- leading?: React$2.ReactNode;
2382
- trailing?: React$2.ReactNode;
2383
- containerClassName?: string;
2384
- }
2385
- declare function InputWithAddons({
2386
- ref,
2387
- leading,
2388
- trailing,
2389
- containerClassName,
2390
- className,
2391
- ...props
2392
- }: InputWithAddonsProps & {
2393
- ref?: React$2.RefObject<HTMLInputElement | null>;
2394
- }): react_jsx_runtime0.JSX.Element;
2395
- declare namespace InputWithAddons {
2396
- var displayName: string;
2397
- }
2398
- //#endregion
2399
- //#region src/components/features/form/components/form-input-group.d.ts
2400
- /**
2401
- * Form.Input - Text input component
2402
- *
2403
- * Automatically wired to the parent Form.Field context.
2404
- *
2405
- * @example
2406
- * ```tsx
2407
- * <Form.Field name="email" label="Email" required>
2408
- * <Form.Input type="email" placeholder="john@example.com" />
2409
- * </Form.Field>
2410
- * ```
2411
- */
2412
- declare function FormInputGroup({
2413
- ref,
2414
- type,
2415
- className,
2416
- disabled,
2417
- ...props
2418
- }: InputWithAddonsProps & {
2419
- ref?: React$2.RefObject<HTMLInputElement | null>;
2420
- }): react_jsx_runtime0.JSX.Element;
2421
- declare namespace FormInputGroup {
2422
- var displayName: string;
2423
- }
2424
- //#endregion
2425
- //#region src/components/features/form/hooks/use-field.d.ts
2426
- /**
2427
- * Hook to access and control a specific field
2428
- * Provides field metadata, control methods, and errors
2429
- *
2430
- * @example
2431
- * ```tsx
2432
- * function MyCustomInput({ name }: { name: string }) {
2433
- * const { field, control, meta, errors } = useField(name);
2434
- *
2435
- * return (
2436
- * <div>
2437
- * <input
2438
- * name={meta.name}
2439
- * id={meta.id}
2440
- * value={control.value ?? ''}
2441
- * onChange={(e) => control.change(e.target.value)}
2442
- * onBlur={control.blur}
2443
- * aria-invalid={!!errors?.length}
2444
- * />
2445
- * {errors?.map((error) => (
2446
- * <span key={error} className="text-red-500">{error}</span>
2447
- * ))}
2448
- * </div>
2449
- * );
2450
- * }
2451
- * ```
2452
- */
2453
- declare function useField(name: string): UseFieldReturn;
2454
- //#endregion
2455
- //#region src/components/features/form/hooks/use-field-context.d.ts
2456
- /**
2457
- * Hook to access the current field context
2458
- * Must be used within a Form.Field component
2459
- *
2460
- * @example
2461
- * ```tsx
2462
- * function MyInput() {
2463
- * const { name, id, errors, required, disabled, fieldMeta } = useFieldContext();
2464
- *
2465
- * return (
2466
- * <input
2467
- * name={name}
2468
- * id={id}
2469
- * required={required}
2470
- * disabled={disabled}
2471
- * aria-invalid={!!errors?.length}
2472
- * />
2473
- * );
2474
- * }
2475
- * ```
2476
- */
2477
- declare function useFieldContext(): FormFieldContextValue;
2478
- //#endregion
2479
- //#region src/components/features/form/hooks/use-form-context.d.ts
2480
- /**
2481
- * Hook to access the form context
2482
- *
2483
- * @example
2484
- * ```tsx
2485
- * function MyComponent() {
2486
- * const { form, fields, isSubmitting, submit, reset } = useFormContext();
2487
- *
2488
- * return (
2489
- * <button onClick={submit} disabled={isSubmitting}>
2490
- * Submit
2491
- * </button>
2492
- * );
2493
- * }
2494
- * ```
2495
- */
2496
- declare function useFormContext<T extends Record<string, unknown> = Record<string, unknown>>(): FormContextValue<T>;
2497
- //#endregion
2498
- //#region src/components/features/form/hooks/use-stepper.d.ts
2499
- /**
2500
- * Return type for useStepper hook
2501
- */
2502
- interface UseStepperReturn {
2503
- /** All step configurations */
2504
- steps: StepConfig[];
2505
- /** Current step config */
2506
- current: StepConfig;
2507
- /** Current step index (0-based) */
2508
- currentIndex: number;
2509
- /** Go to next step (triggers validation) */
2510
- next: () => void;
2511
- /** Go to previous step (no validation) */
2512
- prev: () => void;
2513
- /** Go to specific step by ID (only backwards without validation) */
2514
- goTo: (stepId: string) => void;
2515
- /** Whether current step is first */
2516
- isFirst: boolean;
2517
- /** Whether current step is last */
2518
- isLast: boolean;
2519
- /** Get data from a specific step by ID */
2520
- getStepData: (stepId: string) => Record<string, unknown> | undefined;
2521
- /** Get all data from all completed steps */
2522
- getAllStepData: () => Record<string, unknown>;
2523
- }
2524
- /**
2525
- * Hook to access the stepper context
2526
- * Must be used within a Form.Stepper component
2527
- *
2528
- * @example
2529
- * ```tsx
2530
- * function StepContent() {
2531
- * const {
2532
- * current,
2533
- * currentIndex,
2534
- * steps,
2535
- * next,
2536
- * prev,
2537
- * goTo,
2538
- * isFirst,
2539
- * isLast,
2540
- * } = useStepper();
2541
- *
2542
- * return (
2543
- * <div>
2544
- * <h2>Step {currentIndex + 1}: {current.label}</h2>
2545
- * <button onClick={prev} disabled={isFirst}>Previous</button>
2546
- * <button onClick={next} disabled={isLast}>Next</button>
2547
- * </div>
2548
- * );
2549
- * }
2550
- * ```
2551
- */
2552
- declare function useStepper(): UseStepperReturn;
2553
- //#endregion
2554
- //#region src/components/features/form/hooks/use-watch.d.ts
2555
- /**
2556
- * Hook to watch a field's value
2557
- * Triggers re-render when the watched field value changes
2558
- *
2559
- * @example
2560
- * ```tsx
2561
- * function ConditionalField() {
2562
- * const contactMethod = useWatch('contactMethod');
2563
- *
2564
- * if (contactMethod === 'email') {
2565
- * return <Form.Field name="email"><Form.Input type="email" /></Form.Field>;
2566
- * }
2567
- *
2568
- * if (contactMethod === 'phone') {
2569
- * return <Form.Field name="phone"><Form.Input type="tel" /></Form.Field>;
2570
- * }
2571
- *
2572
- * return null;
2573
- * }
2574
- * ```
2575
- */
2576
- declare function useWatch<T = unknown>(name: string): T | undefined;
2577
- /**
2578
- * Hook to watch multiple fields at once
2579
- *
2580
- * @example
2581
- * ```tsx
2582
- * function Summary() {
2583
- * const values = useWatchAll(['firstName', 'lastName', 'email']);
2584
- *
2585
- * return (
2586
- * <div>
2587
- * Name: {values.firstName} {values.lastName}
2588
- * Email: {values.email}
2589
- * </div>
2590
- * );
2591
- * }
2592
- * ```
2593
- */
2594
- declare function useWatchAll<T extends Record<string, unknown>>(names: string[]): Partial<T>;
2595
- //#endregion
2596
- //#region src/components/features/form/index.d.ts
2597
- /**
2598
- * Form compound component
2599
- *
2600
- * Contains all form-related components as properties:
2601
- * - Form.Root - Main form container
2602
- * - Form.Field - Field wrapper with label and error handling
2603
- * - Form.Input - Text input
2604
- * - Form.Textarea - Multi-line text input
2605
- * - Form.Select - Dropdown select
2606
- * - Form.SelectItem - Select option
2607
- * - Form.Checkbox - Checkbox input
2608
- * - Form.Switch - Toggle switch
2609
- * - Form.RadioGroup - Radio button group
2610
- * - Form.RadioItem - Radio button option
2611
- * - Form.Submit - Submit button with loading state
2612
- * - Form.Error - Error display
2613
- * - Form.Description - Helper text
2614
- * - Form.Autocomplete - Searchable select with virtualization
2615
- * - Form.When - Conditional rendering
2616
- * - Form.FieldArray - Dynamic array of fields
2617
- * - Form.Custom - Escape hatch for custom implementations
2618
- * - Form.Stepper - Multi-step form container
2619
- * - Form.Step - Individual step content
2620
- * - Form.StepperNavigation - Step progress indicators
2621
- * - Form.StepperControls - Previous/Next/Submit buttons
2622
- *
2623
- * Hooks available:
2624
- * - Form.useFormContext - Access form context
2625
- * - Form.useFieldContext - Access field context
2626
- * - Form.useField - Access and control a specific field
2627
- * - Form.useWatch - Watch a field's value
2628
- * - Form.useWatchAll - Watch multiple fields
2629
- * - Form.useStepper - Access stepper context
2630
- */
2631
- declare const Form: {
2632
- readonly Root: typeof FormRoot;
2633
- readonly Field: typeof FormField;
2634
- readonly Submit: typeof FormSubmit;
2635
- readonly Button: typeof FormButton;
2636
- readonly Error: typeof FormError;
2637
- readonly Description: typeof FormDescription;
2638
- readonly Input: typeof FormInput;
2639
- readonly Textarea: typeof FormTextarea;
2640
- readonly Select: typeof FormSelect;
2641
- readonly SelectItem: typeof FormSelectItem;
2642
- readonly Checkbox: typeof FormCheckbox;
2643
- readonly Switch: typeof FormSwitch;
2644
- readonly RadioGroup: typeof FormRadioGroup;
2645
- readonly RadioItem: typeof FormRadioItem;
2646
- readonly CopyBox: typeof FormCopyBox;
2647
- readonly Autocomplete: typeof FormAutocomplete;
2648
- readonly InputGroup: typeof FormInputGroup;
2649
- readonly When: typeof FormWhen;
2650
- readonly FieldArray: typeof FormFieldArray;
2651
- readonly Custom: typeof FormCustom;
2652
- readonly Stepper: typeof FormStepper;
2653
- readonly Step: typeof FormStep;
2654
- readonly StepperNavigation: typeof StepperNavigation;
2655
- readonly StepperControls: typeof StepperControls;
2656
- readonly Dialog: typeof FormDialog;
2657
- readonly useFormContext: typeof useFormContext;
2658
- readonly useFieldContext: typeof useFieldContext;
2659
- readonly useField: typeof useField;
2660
- readonly useWatch: typeof useWatch;
2661
- readonly useWatchAll: typeof useWatchAll;
2662
- readonly useStepper: typeof useStepper;
2663
- };
2664
- //#endregion
2665
- //#region src/components/features/grid/constants/grid.constants.d.ts
2666
- declare const GRID_BREAKPOINTS: {
2667
- readonly xs: 480;
2668
- readonly sm: 576;
2669
- readonly md: 768;
2670
- readonly lg: 992;
2671
- readonly xl: 1200;
2672
- readonly xxl: 1600;
2673
- };
2674
- declare const GRID_COLUMNS = 24;
2675
- declare const GRID_PREFIX = "grid";
2676
- declare const RESPONSIVE_ARRAY: readonly ["xxl", "xl", "lg", "md", "sm", "xs"];
2677
- declare const RESPONSIVE_MAP: {
2678
- readonly xs: "(max-width: 575px)";
2679
- readonly sm: "(min-width: 576px)";
2680
- readonly md: "(min-width: 768px)";
2681
- readonly lg: "(min-width: 992px)";
2682
- readonly xl: "(min-width: 1200px)";
2683
- readonly xxl: "(min-width: 1600px)";
2684
- };
2685
- type Breakpoint = keyof typeof GRID_BREAKPOINTS;
2686
- //#endregion
2687
- //#region src/components/features/grid/types/grid.types.d.ts
2688
- type Gutter = number | Partial<Record<Breakpoint, number>>;
2689
- interface ColSize {
2690
- span?: number;
2691
- order?: number;
2692
- offset?: number;
2693
- push?: number;
2694
- pull?: number;
2695
- }
2696
- interface RowProps {
2697
- type?: 'flex';
2698
- align?: 'top' | 'middle' | 'bottom';
2699
- justify?: 'start' | 'end' | 'center' | 'space-around' | 'space-between';
2700
- className?: string;
2701
- style?: React.CSSProperties;
2702
- children?: React.ReactNode;
2703
- gutter?: Gutter | [Gutter, Gutter];
2704
- prefixCls?: string;
2705
- }
2706
- interface ColProps {
2707
- span?: number;
2708
- order?: number;
2709
- offset?: number;
2710
- push?: number;
2711
- pull?: number;
2712
- className?: string;
2713
- prefixCls?: string;
2714
- style?: React.CSSProperties;
2715
- children?: React.ReactNode;
2716
- xs?: number | ColSize;
2717
- sm?: number | ColSize;
2718
- md?: number | ColSize;
2719
- lg?: number | ColSize;
2720
- xl?: number | ColSize;
2721
- xxl?: number | ColSize;
2722
- }
2723
- interface RowContextType {
2724
- gutters?: [number, number];
2725
- }
2726
- interface RowState {
2727
- screens: Partial<Record<Breakpoint, boolean>>;
2728
- }
2729
- //#endregion
2730
- //#region src/components/features/grid/components/col.d.ts
2731
- declare const Col: React$1.FC<ColProps>;
2732
- //#endregion
2733
- //#region src/components/features/grid/components/row.d.ts
2734
- declare const RowContext: React$1.Context<RowContextType | null>;
2735
- declare const Row: React$1.FC<RowProps>;
2736
- //#endregion
2737
- //#region src/components/features/grid/utils/responsive.d.ts
2738
- interface MediaQueryCallback {
2739
- match: () => void;
2740
- unmatch: () => void;
2741
- }
2742
- declare function registerMediaQuery(query: string, callback: MediaQueryCallback): () => void;
2743
- declare function getGutter(gutter: (Gutter | [Gutter, Gutter]) | undefined, screens: Partial<Record<Breakpoint, boolean>>): [number, number];
2744
- declare function getResponsiveValue<T>(value: T | Partial<Record<Breakpoint, T>>, screens: Partial<Record<Breakpoint, boolean>>): T | undefined;
2745
- //#endregion
2746
- //#region src/components/features/input-number/input-number.d.ts
2747
- interface NumberInputProps extends Omit<NumericFormatProps, 'value' | 'onValueChange'> {
2748
- stepper?: number;
2749
- thousandSeparator?: string;
2750
- placeholder?: string;
2751
- defaultValue?: number;
2752
- min?: number;
2753
- max?: number;
2754
- value?: number;
2755
- suffix?: string;
2756
- prefix?: string;
2757
- onValueChange?: (value: number | undefined) => void;
2758
- fixedDecimalScale?: boolean;
2759
- decimalScale?: number;
2760
- }
2761
- declare function InputNumber({
2762
- ref,
2763
- stepper,
2764
- thousandSeparator,
2765
- placeholder,
2766
- defaultValue,
2767
- min,
2768
- max,
2769
- onValueChange,
2770
- fixedDecimalScale,
2771
- decimalScale,
2772
- suffix,
2773
- prefix,
2774
- value: controlledValue,
2775
- ...props
2776
- }: NumberInputProps & {
2777
- ref?: React.RefObject<HTMLInputElement | null>;
2778
- }): react_jsx_runtime0.JSX.Element;
2779
- declare namespace InputNumber {
2780
- var displayName: string;
2781
- }
2782
- //#endregion
2783
- //#region src/components/features/loader-overlay/loader-overlay.d.ts
2784
- declare function LoaderOverlay({
2785
- message,
2786
- className
2787
- }: {
2788
- message?: string | React.ReactNode;
2789
- className?: string;
2790
- }): react_jsx_runtime0.JSX.Element;
2791
- //#endregion
2792
- //#region src/components/features/more-actions/more-actions.d.ts
2793
- interface MoreActionsProps<TData> {
2794
- key: string;
2795
- label: string;
2796
- variant?: 'default' | 'destructive';
2797
- icon?: React.ReactNode;
2798
- className?: string;
2799
- action: (row?: TData) => void | Promise<void>;
2800
- disabled?: (row?: TData) => boolean;
2801
- hidden?: (row?: TData) => boolean;
2802
- tooltip?: string | ((row?: TData) => string);
2803
- }
2804
- declare function MoreActions<TData>({
2805
- row,
2806
- actions,
2807
- className,
2808
- disabled,
2809
- iconClassName
2810
- }: {
2811
- row?: TData;
2812
- actions: MoreActionsProps<TData>[];
2813
- className?: string;
2814
- disabled?: boolean;
2815
- iconClassName?: string;
2816
- }): react_jsx_runtime0.JSX.Element | null;
2817
- //#endregion
2818
- //#region src/components/features/nprogress/index.d.ts
2819
- declare function startProgress(): void;
2820
- declare function stopProgress(): void;
2821
- declare function configureProgress(): void;
2822
- //#endregion
2823
- //#region src/components/features/page-title/page-title.d.ts
2824
- interface PageTitleProps {
2825
- title?: string;
2826
- description?: React.ReactNode;
2827
- actions?: React.ReactNode;
2828
- className?: string;
2829
- titleClassName?: string;
2830
- descriptionClassName?: string;
2831
- actionsClassName?: string;
2832
- actionsPosition?: 'inline' | 'bottom';
2833
- }
2834
- declare function PageTitle({
2835
- title,
2836
- description,
2837
- actions,
2838
- className,
2839
- titleClassName,
2840
- descriptionClassName,
2841
- actionsClassName,
2842
- actionsPosition
2843
- }: PageTitleProps): react_jsx_runtime0.JSX.Element;
2844
- //#endregion
2845
- //#region src/components/features/sidebar/nav-main.d.ts
2846
- interface NavItem {
2847
- title: string;
2848
- href: string | null;
2849
- type: 'link' | 'group' | 'collapsible' | 'externalLink';
2850
- disabled?: boolean;
2851
- count?: number;
2852
- icon?: LucideIcon;
2853
- children?: NavItem[];
2854
- open?: boolean;
2855
- hidden?: boolean;
2856
- showSeparatorAbove?: boolean;
2857
- showSeparatorBelow?: boolean;
2858
- excludePaths?: string[];
2859
- tabChildLinks?: string[];
2860
- /** Called when the user hovers over the link (e.g. to prefetch route data). */
2861
- onPrefetch?: () => void;
2862
- }
2863
- declare function NavMain({
2864
- ref,
2865
- className,
2866
- items,
2867
- currentPath,
2868
- linkComponent: LinkComp,
2869
- overrideState,
2870
- itemClassName,
2871
- disableTooltip,
2872
- closeOnNavigation,
2873
- ...props
2874
- }: ComponentProps<'ul'> & {
2875
- items: NavItem[]; /** Current URL pathname — replaces internal useLocation() */
2876
- currentPath: string; /** Link component to render navigation links (defaults to native `<a>`) */
2877
- linkComponent?: ElementType;
2878
- overrideState?: 'expanded' | 'collapsed';
2879
- itemClassName?: string;
2880
- disableTooltip?: boolean;
2881
- closeOnNavigation?: boolean;
2882
- } & {
2883
- ref?: React.RefObject<HTMLUListElement | null>;
2884
- }): react_jsx_runtime0.JSX.Element;
2885
- declare namespace NavMain {
2886
- var displayName: string;
2887
- }
2888
- //#endregion
2889
- //#region src/components/features/sidebar/app-sidebar.d.ts
2890
- declare function AppSidebar({
2891
- navItems,
2892
- title,
2893
- closeOnNavigation,
2894
- defaultOpen,
2895
- currentPath,
2896
- linkComponent,
2897
- ...props
2898
- }: React.ComponentProps<typeof Sidebar> & {
2899
- navItems: NavItem[];
2900
- title?: string | React.ReactNode;
2901
- closeOnNavigation?: boolean; /** Controls sidebar open state — when false, sidebar closes on mount */
2902
- defaultOpen?: boolean; /** Current URL pathname — passed through to NavMain */
2903
- currentPath: string; /** Link component — passed through to NavMain (defaults to native `<a>`) */
2904
- linkComponent?: React.ElementType;
2905
- }): react_jsx_runtime0.JSX.Element;
2906
- //#endregion
2907
- //#region src/components/features/sidebar/sidebar.d.ts
2908
- interface SidebarContext {
2909
- state: 'expanded' | 'collapsed';
2910
- open: boolean;
2911
- setOpen: (open: boolean) => void;
2912
- openMobile: boolean;
2913
- setOpenMobile: (open: boolean) => void;
2914
- isMobile: boolean;
2915
- toggleSidebar: () => void;
2916
- handleMouseEnter: () => void;
2917
- handleMouseLeave: () => void;
2918
- forceClose: () => void;
2919
- closeForNavigation: () => void;
2920
- hasSubLayout: boolean;
2921
- setHasSubLayout: (value: boolean) => void;
2922
- expandBehavior: 'push' | 'overlay';
2923
- showBackdrop: boolean;
2924
- }
2925
- declare const SidebarContext: React$2.Context<SidebarContext | null>;
2926
- declare function useSidebar(): SidebarContext;
2927
- declare function SidebarProvider({
2928
- defaultOpen,
2929
- open: openProp,
2930
- onOpenChange: setOpenProp,
2931
- expandOnHover,
2932
- expandBehavior,
2933
- showBackdrop,
2934
- className,
2935
- style,
2936
- children,
2937
- ...props
2938
- }: React$2.ComponentProps<'div'> & {
2939
- defaultOpen?: boolean;
2940
- open?: boolean;
2941
- onOpenChange?: (open: boolean) => void;
2942
- expandOnHover?: boolean;
2943
- expandBehavior?: 'push' | 'overlay';
2944
- showBackdrop?: boolean;
2945
- }): react_jsx_runtime0.JSX.Element;
2946
- declare function Sidebar({
2947
- side,
2948
- variant,
2949
- collapsible,
2950
- className,
2951
- children,
2952
- ...props
2953
- }: React$2.ComponentProps<'div'> & {
2954
- side?: 'left' | 'right';
2955
- variant?: 'sidebar' | 'floating' | 'inset';
2956
- collapsible?: 'offcanvas' | 'icon' | 'none';
2957
- }): react_jsx_runtime0.JSX.Element;
2958
- declare function SidebarTrigger({
2959
- className,
2960
- onClick,
2961
- ...props
2962
- }: React$2.ComponentProps<typeof Button>): react_jsx_runtime0.JSX.Element;
2963
- declare function SidebarRail({
2964
- className,
2965
- ...props
2966
- }: React$2.ComponentProps<'button'>): react_jsx_runtime0.JSX.Element;
2967
- declare function SidebarInset({
2968
- className,
2969
- ...props
2970
- }: React$2.ComponentProps<'main'>): react_jsx_runtime0.JSX.Element;
2971
- declare function SidebarInput({
2972
- className,
2973
- ...props
2974
- }: React$2.ComponentProps<typeof Input>): react_jsx_runtime0.JSX.Element;
2975
- declare function SidebarHeader({
2976
- className,
2977
- ...props
2978
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
2979
- declare function SidebarFooter({
2980
- className,
2981
- ...props
2982
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
2983
- declare function SidebarSeparator({
2984
- className,
2985
- ...props
2986
- }: React$2.ComponentProps<typeof Separator>): react_jsx_runtime0.JSX.Element;
2987
- declare function SidebarContent({
2988
- className,
2989
- ...props
2990
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
2991
- declare function SidebarGroup({
2992
- className,
2993
- ...props
2994
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
2995
- declare function SidebarGroupLabel({
2996
- className,
2997
- asChild,
2998
- ...props
2999
- }: React$2.ComponentProps<'div'> & {
3000
- asChild?: boolean;
3001
- }): react_jsx_runtime0.JSX.Element;
3002
- declare function SidebarGroupAction({
3003
- className,
3004
- asChild,
3005
- ...props
3006
- }: React$2.ComponentProps<'button'> & {
3007
- asChild?: boolean;
3008
- }): react_jsx_runtime0.JSX.Element;
3009
- declare function SidebarGroupContent({
3010
- className,
3011
- ...props
3012
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
3013
- declare function SidebarMenu({
3014
- className,
3015
- ...props
3016
- }: React$2.ComponentProps<'ul'>): react_jsx_runtime0.JSX.Element;
3017
- declare function SidebarMenuItem({
3018
- className,
3019
- ...props
3020
- }: React$2.ComponentProps<'li'>): react_jsx_runtime0.JSX.Element;
3021
- declare const sidebarMenuButtonVariants: (props?: ({
3022
- variant?: "default" | "outline" | null | undefined;
3023
- size?: "sm" | "lg" | "default" | null | undefined;
3024
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
3025
- declare function SidebarMenuButton({
3026
- asChild,
3027
- isActive,
3028
- variant,
3029
- size,
3030
- tooltip,
3031
- className,
3032
- ...props
3033
- }: React$2.ComponentProps<'button'> & {
3034
- asChild?: boolean;
3035
- isActive?: boolean;
3036
- tooltip?: string | React$2.ReactNode | {
3037
- message: string | React$2.ReactNode;
3038
- side?: 'top' | 'right' | 'bottom' | 'left';
3039
- align?: 'start' | 'center' | 'end';
3040
- };
3041
- } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime0.JSX.Element;
3042
- declare function SidebarMenuAction({
3043
- className,
3044
- asChild,
3045
- showOnHover,
3046
- ...props
3047
- }: React$2.ComponentProps<'button'> & {
3048
- asChild?: boolean;
3049
- showOnHover?: boolean;
3050
- }): react_jsx_runtime0.JSX.Element;
3051
- declare function SidebarMenuBadge({
3052
- className,
3053
- ...props
3054
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
3055
- declare function SidebarMenuSkeleton({
3056
- className,
3057
- showIcon,
3058
- ...props
3059
- }: React$2.ComponentProps<'div'> & {
3060
- showIcon?: boolean;
3061
- }): react_jsx_runtime0.JSX.Element;
3062
- declare function SidebarMenuSub({
3063
- className,
3064
- ...props
3065
- }: React$2.ComponentProps<'ul'>): react_jsx_runtime0.JSX.Element;
3066
- declare function SidebarMenuSubItem({
3067
- className,
3068
- ...props
3069
- }: React$2.ComponentProps<'li'>): react_jsx_runtime0.JSX.Element;
3070
- declare function SidebarMenuSubButton({
3071
- asChild,
3072
- size,
3073
- isActive,
3074
- className,
3075
- ...props
3076
- }: React$2.ComponentProps<'a'> & {
3077
- asChild?: boolean;
3078
- size?: 'sm' | 'md';
3079
- isActive?: boolean;
3080
- }): react_jsx_runtime0.JSX.Element;
3081
- //#endregion
3082
- //#region src/components/features/stepper/stepper.d.ts
3083
- declare function defineStepper<const Steps extends Stepperize.Step[]>(...steps: Steps): Stepper.DefineProps<Steps>;
3084
- declare namespace Stepper {
3085
- type StepperVariant = 'horizontal' | 'vertical' | 'circle';
3086
- type StepperLabelOrientation = 'horizontal' | 'vertical';
3087
- interface ConfigProps {
3088
- variant?: StepperVariant;
3089
- labelOrientation?: StepperLabelOrientation;
3090
- tracking?: boolean;
3091
- }
3092
- type DefineProps<Steps extends Stepperize.Step[]> = Omit<Stepperize.StepperReturn<Steps>, 'Scoped'> & {
3093
- Stepper: {
3094
- Provider: (props: Omit<Stepperize.ScopedProps<Steps>, 'children'> & Omit<React$2.ComponentProps<'div'>, 'children'> & Stepper.ConfigProps & {
3095
- children: React$2.ReactNode | ((props: {
3096
- methods: Stepperize.Stepper<Steps>;
3097
- }) => React$2.ReactNode);
3098
- }) => React$2.ReactElement;
3099
- Navigation: (props: React$2.ComponentProps<'nav'>) => React$2.ReactElement;
3100
- Step: (props: React$2.ComponentProps<'button'> & {
3101
- of: Stepperize.Get.Id<Steps>;
3102
- icon?: React$2.ReactNode;
3103
- variant?: 'default' | 'secondary';
3104
- }) => React$2.ReactElement;
3105
- Title: (props: AsChildProps<'h4'>) => React$2.ReactElement;
3106
- Description: (props: AsChildProps<'p'>) => React$2.ReactElement;
3107
- Panel: (props: AsChildProps<'div'>) => React$2.ReactElement;
3108
- Controls: (props: AsChildProps<'div'>) => React$2.ReactElement;
3109
- };
3110
- };
3111
- interface CircleStepIndicatorProps {
3112
- currentStep: number;
3113
- totalSteps: number;
3114
- size?: number;
3115
- strokeWidth?: number;
3116
- }
3117
- }
3118
- type AsChildProps<T extends React$2.ElementType> = React$2.ComponentProps<T> & {
3119
- asChild?: boolean;
3120
- };
3121
- //#endregion
3122
- //#region src/components/features/tag-input/tag-input.d.ts
3123
- interface TagsInputProps extends React$1.HTMLAttributes<HTMLDivElement> {
3124
- value: string[];
3125
- onValueChange: (value: string[]) => void;
3126
- placeholder?: string;
3127
- maxItems?: number;
3128
- minItems?: number;
3129
- /**
3130
- * Optional Zod schema for validating individual tag values
3131
- */
3132
- validator?: z.ZodType<string>;
3133
- /**
3134
- * Optional callback for handling validation errors externally
3135
- * This is useful when integrating with form libraries like conform-to
3136
- */
3137
- onValidationError?: (error: string | null) => void;
3138
- /**
3139
- * Optional external error message to display
3140
- * This is useful when the error comes from a form library like conform-to
3141
- */
3142
- error?: string | string[];
3143
- /**
3144
- * Whether to show validation errors inline
3145
- * Set to false when handling errors externally with onValidationError
3146
- */
3147
- showValidationErrors?: boolean;
3148
- name?: string;
3149
- key?: string;
3150
- }
3151
- declare function TagsInput({
3152
- ref,
3153
- value,
3154
- onValueChange,
3155
- placeholder,
3156
- maxItems,
3157
- minItems,
3158
- className,
3159
- dir,
3160
- validator,
3161
- onValidationError,
3162
- error,
3163
- showValidationErrors,
3164
- name,
3165
- key,
3166
- ...props
3167
- }: TagsInputProps & {
3168
- ref?: React$1.RefObject<HTMLDivElement | null>;
3169
- }): react_jsx_runtime0.JSX.Element;
3170
- declare namespace TagsInput {
3171
- var displayName: string;
3172
- }
3173
- //#endregion
3174
- //#region src/components/features/task-queue/core/task-panel.d.ts
3175
- /**
3176
- * @deprecated Use TaskQueueDropdown instead — renders as a header-anchored dropdown.
3177
- * TaskPanel is kept for backward compatibility but is no longer used in the main layout.
3178
- */
3179
- declare function TaskPanel(): react_jsx_runtime0.JSX.Element | null;
3180
- //#endregion
3181
- //#region src/components/features/task-queue/types.d.ts
3182
- type TaskStatus = 'pending' | 'running' | 'completed' | 'failed' | 'cancelled';
3183
- interface TaskMetadata {
3184
- /** Scope type: 'project' | 'org' | 'user' | custom */
3185
- scope?: string;
3186
- /** Project ID for project-scoped tasks */
3187
- projectId?: string;
3188
- /** Human-readable project name */
3189
- projectName?: string;
3190
- /** Organization ID */
3191
- orgId?: string;
3192
- /** Human-readable organization name */
3193
- orgName?: string;
3194
- /** Extensible - any additional context */
3195
- [key: string]: unknown;
3196
- }
3197
- interface TaskCompletionInfo<TItem = unknown> {
3198
- status: TaskStatus;
3199
- completed: number;
3200
- failed: number;
3201
- items: Array<{
3202
- id: string;
3203
- status: 'succeeded' | 'failed';
3204
- message?: string;
3205
- data: TItem;
3206
- }>;
3207
- }
3208
- interface Task<TResult = unknown> {
3209
- id: string;
3210
- title: string;
3211
- status: TaskStatus;
3212
- icon?: ReactNode;
3213
- category?: string;
3214
- metadata?: TaskMetadata;
3215
- items?: unknown[];
3216
- total?: number;
3217
- completed: number;
3218
- failed: number;
3219
- succeededItems: string[];
3220
- failedItems: Array<{
3221
- id?: string;
3222
- message: string;
3223
- }>;
3224
- errorStrategy: 'continue' | 'stop';
3225
- cancelable: boolean;
3226
- retryable: boolean;
3227
- confirmBeforeUnload: boolean;
3228
- result?: TResult;
3229
- completionActions?: ButtonProps[] | ((result: TResult, info: TaskCompletionInfo) => ButtonProps[]);
3230
- retryOf?: string;
3231
- retryCount: number;
3232
- _processor?: (ctx: TaskContext<unknown, TResult>) => Promise<void>;
3233
- _originalItems?: unknown[];
3234
- createdAt: number;
3235
- startedAt?: number;
3236
- completedAt?: number;
3237
- }
3238
- interface TaskContext<TItem = unknown, TResult = unknown> {
3239
- readonly items: TItem[];
3240
- readonly cancelled: boolean;
3241
- readonly failedItems: Array<{
3242
- id?: string;
3243
- message: string;
3244
- }>;
3245
- /** Mark current item as succeeded. Pass itemId to enable retry of remaining items on cancel. */
3246
- succeed: (itemId?: string) => void;
3247
- /** Mark current item as failed. Pass itemId and message for retry support. */
3248
- fail: (itemId?: string, message?: string) => void;
3249
- setTitle: (title: string) => void;
3250
- setResult: (result: TResult) => void;
3251
- /** Register cleanup function to call on cancel/timeout. Used for watch subscription cleanup. */
3252
- onCancel: (cleanup: () => void) => void;
3253
- }
3254
- interface ItemContext {
3255
- /** Check if task was cancelled */
3256
- readonly cancelled: boolean;
3257
- /** Override auto-detected item ID for retry tracking */
3258
- succeed: (itemId?: string) => void;
3259
- /** Override auto-detected item ID and customize error message */
3260
- fail: (itemId?: string, message?: string) => void;
3261
- }
3262
- interface TaskOutcome<TResult = unknown> {
3263
- status: 'completed' | 'failed' | 'cancelled';
3264
- completed: number;
3265
- failed: number;
3266
- failedItems: Array<{
3267
- id?: string;
3268
- message: string;
3269
- }>;
3270
- result?: TResult;
3271
- }
3272
- interface BaseEnqueueOptions<TItem = unknown, TResult = unknown> {
3273
- title: string;
3274
- icon?: ReactNode;
3275
- category?: string;
3276
- metadata?: TaskMetadata;
3277
- errorStrategy?: 'continue' | 'stop';
3278
- cancelable?: boolean;
3279
- retryable?: boolean;
3280
- /**
3281
- * Show browser confirmation dialog when user tries to close/reload page
3282
- * while this task is pending or running.
3283
- *
3284
- * Set to `false` only for non-critical background tasks that can be safely
3285
- * interrupted (cache updates, analytics, read-only operations).
3286
- *
3287
- * **IMPORTANT: Keep `true` (default) for:**
3288
- * - Mutating operations (creates, updates, deletes)
3289
- * - Long-running operations (> 5 seconds)
3290
- * - Operations with side effects (emails, billing, external APIs)
3291
- *
3292
- * @default true
3293
- *
3294
- * @example
3295
- * ```typescript
3296
- * // Mutation - MUST confirm
3297
- * enqueue({
3298
- * title: 'Creating 50 DNS records',
3299
- * confirmBeforeUnload: true, // Keep default
3300
- * processor: async () => { ... }
3301
- * });
3302
- *
3303
- * // Background task - Safe to skip
3304
- * enqueue({
3305
- * title: 'Warming cache',
3306
- * confirmBeforeUnload: false, // OK - non-critical
3307
- * processor: async () => { ... }
3308
- * });
3309
- * ```
3310
- */
3311
- confirmBeforeUnload?: boolean;
3312
- completionActions?: ButtonProps[] | ((result: TResult, info: TaskCompletionInfo<TItem>) => ButtonProps[]);
3313
- onComplete?: (outcome: TaskOutcome<TResult>) => void | Promise<void>;
3314
- /** Timeout in milliseconds. Default: 300000 (5 minutes) */
3315
- timeout?: number;
3316
- }
3317
- /** Full control mode - consumer handles iteration */
3318
- interface ProcessorEnqueueOptions<TItem = unknown, TResult = unknown> extends BaseEnqueueOptions<TItem, TResult> {
3319
- processor: (ctx: TaskContext<TItem, TResult>) => Promise<void>;
3320
- items?: TItem[];
3321
- processItem?: never;
3322
- itemConcurrency?: never;
3323
- getItemId?: never;
3324
- }
3325
- /** Simplified mode - queue handles iteration */
3326
- interface ProcessItemEnqueueOptions<TItem = unknown, TResult = unknown> extends BaseEnqueueOptions<TItem, TResult> {
3327
- processItem: (item: TItem, ctx: ItemContext) => Promise<void>;
3328
- items: TItem[];
3329
- itemConcurrency?: number;
3330
- getItemId?: (item: TItem) => string;
3331
- processor?: never;
3332
- }
3333
- type EnqueueOptions<TItem = unknown, TResult = unknown> = ProcessorEnqueueOptions<TItem, TResult> | ProcessItemEnqueueOptions<TItem, TResult>;
3334
- interface TaskHandle<TResult = unknown> {
3335
- id: string;
3336
- cancel: () => void;
3337
- promise: Promise<TaskOutcome<TResult>>;
3338
- }
3339
- interface RedisClient {
3340
- get: (key: string) => Promise<string | null>;
3341
- set: (key: string, value: string) => Promise<string | null>;
3342
- del: (key: string) => Promise<number>;
3343
- status?: string;
3344
- }
3345
- interface TaskQueueConfig {
3346
- concurrency?: number;
3347
- storage?: TaskStorage;
3348
- storageKey?: string;
3349
- storageType?: 'memory' | 'local' | 'auto';
3350
- redisClient?: RedisClient | null;
3351
- /** Global custom renderer for TaskSummaryDialog content. Can be overridden per showSummary call. */
3352
- summaryRenderContent?: SummaryRenderContent;
3353
- }
3354
- interface TaskStorage {
3355
- getAll: () => Task[];
3356
- get: (id: string) => Task | undefined;
3357
- set: (id: string, task: Task) => void;
3358
- remove: (id: string) => void;
3359
- clear: () => void;
3360
- }
3361
- interface TaskSummaryItem {
3362
- id: string;
3363
- label: string;
3364
- status: 'success' | 'failed';
3365
- message?: string;
3366
- }
3367
- type SummaryRenderContent = (items: TaskSummaryItem[]) => ReactNode;
3368
- interface TaskSummaryData {
3369
- title: string;
3370
- items: TaskSummaryItem[];
3371
- renderContent?: SummaryRenderContent;
3372
- }
3373
- interface TaskQueueAPI {
3374
- enqueue: <TItem = unknown, TResult = unknown>(options: EnqueueOptions<TItem, TResult>) => TaskHandle<TResult>;
3375
- cancel: (taskId: string) => void;
3376
- retry: (taskId: string) => void;
3377
- dismiss: (taskId: string) => void;
3378
- dismissAll: () => void;
3379
- showSummary: (title: string, items: TaskSummaryItem[], options?: {
3380
- renderContent?: SummaryRenderContent;
3381
- }) => void;
3382
- closeSummary: () => void;
3383
- activeSummary: TaskSummaryData | null;
3384
- /** Global custom renderer from TaskQueueConfig. Per-call renderContent in showSummary takes precedence. */
3385
- summaryRenderContent?: SummaryRenderContent;
3386
- tasks: Task[];
3387
- }
3388
- interface UseTaskQueueOptions {
3389
- status?: TaskStatus;
3390
- }
3391
- //#endregion
3392
- //#region src/components/features/task-queue/core/task-panel-actions.d.ts
3393
- interface TaskPanelActionsProps {
3394
- task: Task;
3395
- }
3396
- declare function TaskPanelActions({
3397
- task
3398
- }: TaskPanelActionsProps): react_jsx_runtime0.JSX.Element | null;
3399
- //#endregion
3400
- //#region src/components/features/task-queue/core/task-panel-counter.d.ts
3401
- interface TaskPanelCounterProps {
3402
- total?: number;
3403
- completed: number;
3404
- failed?: number;
3405
- status?: TaskStatus;
3406
- }
3407
- declare function TaskPanelCounter({
3408
- total,
3409
- completed,
3410
- failed,
3411
- status
3412
- }: TaskPanelCounterProps): react_jsx_runtime0.JSX.Element | null;
3413
- //#endregion
3414
- //#region src/components/features/task-queue/core/task-panel-header.d.ts
3415
- declare function TaskPanelHeader(): react_jsx_runtime0.JSX.Element;
3416
- //#endregion
3417
- //#region src/components/features/task-queue/core/task-panel-item.d.ts
3418
- interface TaskPanelItemProps {
3419
- task: Task;
3420
- contextLabel?: string;
3421
- onCancel: () => void;
3422
- }
3423
- declare function TaskPanelItem({
3424
- task,
3425
- contextLabel,
3426
- onCancel
3427
- }: TaskPanelItemProps): react_jsx_runtime0.JSX.Element;
3428
- //#endregion
3429
- //#region src/components/features/task-queue/core/task-queue-dropdown.d.ts
3430
- declare function TaskQueueDropdown(): react_jsx_runtime0.JSX.Element;
3431
- //#endregion
3432
- //#region src/components/features/task-queue/core/task-queue-trigger.d.ts
3433
- interface TaskQueueTriggerProps {
3434
- tasks: Task[];
3435
- }
3436
- declare function TaskQueueTrigger({
3437
- ref,
3438
- tasks,
3439
- ...props
3440
- }: TaskQueueTriggerProps & {
3441
- ref?: React.RefObject<HTMLButtonElement | null>;
3442
- }): react_jsx_runtime0.JSX.Element;
3443
- //#endregion
3444
- //#region src/components/features/task-queue/core/task-summary-dialog.d.ts
3445
- interface BaseProps {
3446
- open: boolean;
3447
- onOpenChange: (open: boolean) => void;
3448
- title: string;
3449
- description?: string;
3450
- actions?: ReactNode;
3451
- renderContent?: (items: TaskSummaryItem[]) => ReactNode;
3452
- }
3453
- type ItemsMode = BaseProps & {
3454
- items: TaskSummaryItem[];
3455
- taskId?: never;
3456
- getItemLabel?: never;
3457
- };
3458
- type TaskIdMode = BaseProps & {
3459
- taskId: string;
3460
- getItemLabel: (id: string) => string;
3461
- items?: never;
3462
- };
3463
- type TaskSummaryDialogProps = ItemsMode | TaskIdMode;
3464
- declare function TaskSummaryDialog(props: TaskSummaryDialogProps): react_jsx_runtime0.JSX.Element;
3465
- //#endregion
3466
- //#region src/components/features/task-queue/engine/queue.d.ts
3467
- declare class TaskQueue {
3468
- private storage;
3469
- private concurrency;
3470
- private runningCount;
3471
- private listeners;
3472
- private taskResolvers;
3473
- private snapshot;
3474
- private notifyScheduled;
3475
- private processors;
3476
- private cancelFunctions;
3477
- private onCompleteCallbacks;
3478
- private taskTimeouts;
3479
- private _activeSummary;
3480
- private _summaryRenderContent;
3481
- constructor(config?: TaskQueueConfig);
3482
- subscribe: (listener: () => void) => (() => void);
3483
- getSnapshot: () => Task[];
3484
- private notify;
3485
- private updateSnapshot;
3486
- enqueue: <TItem = unknown, TResult = unknown>(options: EnqueueOptions<TItem, TResult>) => TaskHandle<TResult>;
3487
- cancel: (taskId: string) => void;
3488
- retry: (taskId: string) => void;
3489
- private getRetryItems;
3490
- /** Extract ID from an item using custom extractor or shared utility */
3491
- private resolveItemId;
3492
- dismiss: (taskId: string) => void;
3493
- dismissAll: () => void;
3494
- showSummary: (title: string, items: TaskSummaryItem[], options?: {
3495
- renderContent?: SummaryRenderContent;
3496
- }) => void;
3497
- closeSummary: () => void;
3498
- getActiveSummary: () => TaskSummaryData | null;
3499
- getSummaryRenderContent: () => SummaryRenderContent | undefined;
3500
- private buildProcessor;
3501
- private processOneItem;
3502
- private drain;
3503
- private runTask;
3504
- private handleTaskTimeout;
3505
- private clearTaskTimeout;
3506
- }
3507
- //#endregion
3508
- //#region src/components/features/task-queue/engine/storage/detect-storage.d.ts
3509
- interface DetectStorageOptions {
3510
- redisClient?: RedisClient | null;
3511
- storageKey?: string;
3512
- storageType?: 'memory' | 'local' | 'auto';
3513
- }
3514
- /**
3515
- * Auto-detects and returns the appropriate storage backend.
3516
- *
3517
- * Storage types:
3518
- * - `memory` (default): In-memory storage, tasks lost on reload
3519
- * - `local`: Browser localStorage, tasks persist across reloads
3520
- * - `auto`: Uses Redis if available, otherwise localStorage
3521
- *
3522
- * All storage backends are SSR-safe and will return empty data on the server.
3523
- */
3524
- declare function detectStorage(options?: DetectStorageOptions): TaskStorage;
3525
- //#endregion
3526
- //#region src/components/features/task-queue/engine/storage/local-storage.d.ts
3527
- declare class LocalTaskStorage implements TaskStorage {
3528
- private key;
3529
- constructor(key?: string);
3530
- getAll(): Task[];
3531
- get(id: string): Task | undefined;
3532
- set(id: string, task: Task): void;
3533
- remove(id: string): void;
3534
- clear(): void;
3535
- private persist;
3536
- }
3537
- //#endregion
3538
- //#region src/components/features/task-queue/engine/storage/redis-storage.d.ts
3539
- declare class RedisTaskStorage implements TaskStorage {
3540
- private client;
3541
- private key;
3542
- private cache;
3543
- private initialized;
3544
- private initPromise;
3545
- private ttl;
3546
- constructor(client: RedisClient, key?: string, ttl?: number);
3547
- /**
3548
- * Wait for initialization to complete.
3549
- * Call this before accessing data if you need guaranteed consistency.
3550
- */
3551
- waitForInit(): Promise<void>;
3552
- private initialize;
3553
- getAll(): Task[];
3554
- get(id: string): Task | undefined;
3555
- set(id: string, task: Task): void;
3556
- remove(id: string): void;
3557
- clear(): void;
3558
- private syncToRedis;
3559
- }
3560
- //#endregion
3561
- //#region src/components/features/task-queue/hooks/use-task-queue.d.ts
3562
- declare function useTaskQueue(options?: UseTaskQueueOptions): TaskQueueAPI;
3563
- //#endregion
3564
- //#region src/components/features/task-queue/hooks/use-task-scope.d.ts
3565
- type CurrentScope = {
3566
- type: 'project';
3567
- projectId: string;
3568
- orgId?: string;
3569
- } | {
3570
- type: 'org';
3571
- orgId: string;
3572
- } | {
3573
- type: 'global';
3574
- } | {
3575
- type: 'edge';
3576
- projectId: string;
3577
- orgId?: string;
3578
- };
3579
- /**
3580
- * Detect the current scope from URL params.
3581
- * Returns project scope if projectId is present, org scope if only orgId, otherwise global.
3582
- *
3583
- * @param params - Route params (e.g. from useParams() in react-router)
3584
- */
3585
- declare function useCurrentScope(params: {
3586
- projectId?: string;
3587
- orgId?: string;
3588
- }): CurrentScope;
3589
- /**
3590
- * Check if task metadata matches the current scope.
3591
- */
3592
- declare function matchesCurrentScope(metadata: TaskMetadata | undefined, scope: CurrentScope): boolean;
3593
- /**
3594
- * Get the context label to display for a task.
3595
- * Returns formatted label with scope type: "Project: Name", "Org: Name", etc.
3596
- */
3597
- declare function getContextLabel(metadata: TaskMetadata | undefined): string | undefined;
3598
- interface TasksWithLabels {
3599
- tasks: Task[];
3600
- showLabels: boolean;
3601
- }
3602
- /**
3603
- * Hook that returns tasks with a flag indicating whether to show context labels.
3604
- * Labels are shown when:
3605
- * - User is on a global page (account, etc.)
3606
- * - Tasks are from mixed scopes (not all match current scope)
3607
- *
3608
- * @param tasks - Array of tasks to evaluate
3609
- * @param params - Route params (e.g. from useParams() in react-router)
3610
- */
3611
- declare function useTasksWithLabels(tasks: Task[], params: {
3612
- projectId?: string;
3613
- orgId?: string;
3614
- }): TasksWithLabels;
3615
- //#endregion
3616
- //#region src/components/features/task-queue/provider/task-queue-provider.d.ts
3617
- interface TaskQueueProviderProps {
3618
- children: ReactNode;
3619
- config?: TaskQueueConfig;
3620
- }
3621
- declare function TaskQueueProvider({
3622
- children,
3623
- config
3624
- }: TaskQueueProviderProps): react_jsx_runtime0.JSX.Element;
3625
- //#endregion
3626
- //#region src/components/features/task-queue/utils/index.d.ts
3627
- /**
3628
- * Create metadata for project-scoped tasks.
3629
- * Use this when enqueueing tasks that operate on project resources.
3630
- */
3631
- declare function createProjectMetadata(project: {
3632
- id: string;
3633
- name: string;
3634
- }, org: {
3635
- id: string;
3636
- name: string;
3637
- }, extra?: Record<string, unknown>): TaskMetadata;
3638
- /**
3639
- * Create metadata for organization-scoped tasks.
3640
- * Use this when enqueueing tasks that operate on org-level resources.
3641
- */
3642
- declare function createOrgMetadata(org: {
3643
- id: string;
3644
- name: string;
3645
- }, extra?: Record<string, unknown>): TaskMetadata;
3646
- /**
3647
- * Create metadata for user-scoped tasks.
3648
- * Use this when enqueueing tasks that operate on user-level resources.
3649
- */
3650
- declare function createUserMetadata(extra?: Record<string, unknown>): TaskMetadata;
3651
- //#endregion
3652
- //#region src/components/features/time-range-picker/components/absolute-range-panel.d.ts
3653
- interface CustomRangePanelProps {
3654
- /** Start time in UTC ISO format */
3655
- fromUtc: string;
3656
- /** End time in UTC ISO format */
3657
- toUtc: string;
3658
- /** User's timezone for display */
3659
- timezone: string;
3660
- /** Called when range changes (with UTC values) */
3661
- onRangeChange: (from: string, to: string) => void;
3662
- /** Disable future dates */
3663
- disableFuture?: boolean;
3664
- /** Debounce delay for time inputs in ms */
3665
- debounceMs?: number;
3666
- className?: string;
3667
- }
3668
- declare function CustomRangePanel({
3669
- fromUtc,
3670
- toUtc,
3671
- timezone,
3672
- onRangeChange,
3673
- disableFuture,
3674
- debounceMs,
3675
- className
3676
- }: CustomRangePanelProps): react_jsx_runtime0.JSX.Element;
3677
- //#endregion
3678
- //#region src/components/features/time-range-picker/types.d.ts
3679
- /**
3680
- * Time range value - stores UTC timestamps
3681
- * All from/to values are ISO 8601 UTC strings (e.g., '2024-01-15T04:00:00Z')
3682
- */
3683
- interface TimeRangeValue {
3684
- /** Type of range selection */
3685
- type: 'preset' | 'custom';
3686
- /** For preset type: the preset key (e.g., 'today', '24h', '7d') */
3687
- preset?: string;
3688
- /** Start time in UTC ISO format (e.g., '2024-01-15T04:00:00Z') */
3689
- from: string;
3690
- /** End time in UTC ISO format (e.g., '2024-01-15T08:00:00Z') */
3691
- to: string;
3692
- }
3693
- /**
3694
- * Date range for internal use (actual Date objects)
3695
- */
3696
- interface DateRange$1 {
3697
- from: Date;
3698
- to: Date;
3699
- }
3700
- /**
3701
- * Preset configuration with dynamic range calculation
3702
- */
3703
- interface PresetConfig {
3704
- /** Unique key for the preset */
3705
- key: string;
3706
- /** Display label (e.g., 'Last 24 hours') */
3707
- label: string;
3708
- /** Keyboard shortcut (e.g., 'D' for Today) */
3709
- shortcut: string;
3710
- /**
3711
- * Function to calculate the date range based on user's timezone
3712
- * Returns dates that will be converted to UTC for storage/API
3713
- */
3714
- getRange: (timezone: string) => DateRange$1;
3715
- }
3716
- /**
3717
- * Timezone option for selector
3718
- */
3719
- interface TimezoneOption {
3720
- /** Timezone identifier (e.g., 'Asia/Jakarta') */
3721
- value: string;
3722
- /** Display label (e.g., 'Asia/Jakarta (UTC+07:00)') */
3723
- label: string;
3724
- /** UTC offset string (e.g., '+07:00') */
3725
- offset: string;
3726
- }
3727
- /**
3728
- * API time range format (what gets sent to the API)
3729
- * Always in UTC ISO format
3730
- */
3731
- interface ApiTimeRange {
3732
- /** Start time in UTC (e.g., '2024-01-15T04:00:00Z') */
3733
- startTime: string;
3734
- /** End time in UTC (e.g., '2024-01-16T08:00:00Z') */
3735
- endTime: string;
3736
- }
3737
- //#endregion
3738
- //#region src/components/features/time-range-picker/components/quick-ranges-panel.d.ts
3739
- interface QuickRangesPanelProps {
3740
- presets: PresetConfig[];
3741
- value: TimeRangeValue | null;
3742
- onPresetSelect: (preset: PresetConfig) => void;
3743
- className?: string;
3744
- }
3745
- declare function QuickRangesPanel({
3746
- presets,
3747
- value,
3748
- onPresetSelect,
3749
- className
3750
- }: QuickRangesPanelProps): react_jsx_runtime0.JSX.Element;
3751
- //#endregion
3752
- //#region src/components/features/time-range-picker/components/timezone-selector.d.ts
3753
- interface TimezoneSelectorProps {
3754
- value: string;
3755
- onChange: (value: string) => void;
3756
- options: TimezoneOption[];
3757
- className?: string;
3758
- }
3759
- declare function TimezoneSelector({
3760
- value,
3761
- onChange,
3762
- options,
3763
- className
3764
- }: TimezoneSelectorProps): react_jsx_runtime0.JSX.Element;
3765
- //#endregion
3766
- //#region src/components/features/time-range-picker/presets.d.ts
3767
- /**
3768
- * Default time range presets with timezone-aware range calculation
3769
- * Note: All presets use "now" as end time to avoid future timestamps
3770
- * (API rejects future times for historical audit logs)
3771
- *
3772
- * API constraint: Maximum time range is 720 hours (30 days)
3773
- */
3774
- declare const DEFAULT_PRESETS: PresetConfig[];
3775
- /**
3776
- * Get a preset by key
3777
- */
3778
- declare function getPresetByKey(key: string, presets?: PresetConfig[]): PresetConfig | undefined;
3779
- /**
3780
- * Get a preset by keyboard shortcut
3781
- */
3782
- declare function getPresetByShortcut(shortcut: string, presets?: PresetConfig[]): PresetConfig | undefined;
3783
- /**
3784
- * Get the default preset (last 7 days)
3785
- */
3786
- declare function getDefaultPreset(presets?: PresetConfig[]): PresetConfig;
3787
- /**
3788
- * Calculate preset range and return UTC ISO strings
3789
- */
3790
- declare function getPresetRange(preset: PresetConfig, timezone: string): {
3791
- from: string;
3792
- to: string;
3793
- };
3794
- //#endregion
3795
- //#region src/components/features/time-range-picker/time-range-picker.d.ts
3796
- interface TimeRangePickerProps {
3797
- /** Current value (controlled) - stores UTC timestamps */
3798
- value: TimeRangeValue | null;
3799
- /** Called when value changes */
3800
- onChange: (value: TimeRangeValue) => void;
3801
- /** Called when clear button is clicked - clears URL params and resets to default */
3802
- onClear?: () => void;
3803
- /** User's timezone (for display conversion) */
3804
- timezone?: string;
3805
- /** Preset configurations */
3806
- presets?: PresetConfig[];
3807
- /** Disable future dates */
3808
- disableFuture?: boolean;
3809
- /** Maximum selectable date */
3810
- maxDate?: Date;
3811
- /** Minimum selectable date */
3812
- minDate?: Date;
3813
- /** Custom class name */
3814
- className?: string;
3815
- /** Whether the picker is disabled */
3816
- disabled?: boolean;
3817
- /** Placeholder text */
3818
- placeholder?: string;
3819
- /** Popover alignment */
3820
- align?: 'start' | 'center' | 'end';
3821
- /** Popover side */
3822
- side?: 'top' | 'bottom';
3823
- }
3824
- declare function TimeRangePicker({
3825
- value,
3826
- onChange,
3827
- onClear,
3828
- timezone: timezoneProp,
3829
- presets,
3830
- disableFuture,
3831
- maxDate,
3832
- minDate,
3833
- className,
3834
- disabled,
3835
- placeholder,
3836
- align,
3837
- side
3838
- }: TimeRangePickerProps): react_jsx_runtime0.JSX.Element;
3839
- //#endregion
3840
- //#region src/components/features/time-range-picker/utils/format-display.d.ts
3841
- /**
3842
- * Format a TimeRangeValue for display in the trigger button
3843
- * Always shows the actual date/time range, not preset labels
3844
- * Converts UTC timestamps to user's timezone for display
3845
- */
3846
- declare function formatTimeRangeDisplay(value: TimeRangeValue | null, timezone: string): string;
3847
- /**
3848
- * Format a UTC ISO string for display in user's timezone
3849
- */
3850
- declare function formatSingleTimeDisplay(utcString: string, timezone: string): string;
3851
- /**
3852
- * Format a Date object for the datetime-local input field
3853
- */
3854
- declare function formatDateForInput(date: Date): string;
3855
- //#endregion
3856
- //#region src/components/features/time-range-picker/utils/timezone.d.ts
3857
- /**
3858
- * Get the UTC offset string for a timezone
3859
- * @example getTimezoneOffset('Asia/Jakarta') => '+07:00'
3860
- */
3861
- declare function getTimezoneOffset(timezone: string): string;
3862
- /**
3863
- * Format a timezone for display
3864
- * @example formatTimezoneLabel('Asia/Jakarta') => 'Asia/Jakarta (UTC+07:00)'
3865
- */
3866
- declare function formatTimezoneLabel(timezone: string): string;
3867
- /**
3868
- * Create a TimezoneOption from a timezone string
3869
- */
3870
- declare function createTimezoneOption(timezone: string): TimezoneOption;
3871
- /**
3872
- * Get default timezone options (user's timezone + UTC)
3873
- */
3874
- declare function getDefaultTimezoneOptions(userTimezone?: string): TimezoneOption[];
3875
- /**
3876
- * Get short offset display (e.g., "UTC+7")
3877
- */
3878
- declare function getShortTimezoneDisplay(timezone: string): string;
3879
- /**
3880
- * Get the browser's timezone
3881
- */
3882
- declare function getBrowserTimezone(): string;
3883
- /**
3884
- * Convert a UTC Date to a local datetime-local input string in the given timezone
3885
- * @example utcToLocalInputString(new Date('2026-01-16T04:00:00Z'), 'Asia/Jakarta') => '2026-01-16T11:00'
3886
- */
3887
- declare function utcToLocalInputString(utcDate: Date, timezone: string): string;
3888
- /**
3889
- * Convert a local datetime-local input string to a UTC Date
3890
- * @example localInputStringToUtc('2026-01-16T11:00', 'Asia/Jakarta') => Date('2026-01-16T04:00:00Z')
3891
- */
3892
- declare function localInputStringToUtc(localString: string, timezone: string): Date;
3893
- /**
3894
- * Convert a UTC ISO string to a Date for display in user's timezone
3895
- */
3896
- declare function utcStringToZonedDate(utcString: string, timezone: string): Date;
3897
- /**
3898
- * Convert a zoned Date to UTC ISO string
3899
- */
3900
- declare function zonedDateToUtcString(zonedDate: Date, timezone: string): string;
3901
- /**
3902
- * Format a UTC ISO string for display in user's timezone
3903
- * @example formatUtcForDisplay('2026-01-16T04:00:00Z', 'Asia/Jakarta') => 'Jan 16, 2026 11:00'
3904
- */
3905
- declare function formatUtcForDisplay(utcString: string, timezone: string, formatString?: string): string;
3906
- //#endregion
3907
- //#region src/components/features/time-range-picker/utils/to-api-format.d.ts
3908
- /**
3909
- * Convert a TimeRangeValue to API format (startTime/endTime)
3910
- *
3911
- * Since TimeRangeValue now always stores UTC timestamps,
3912
- * this is a simple passthrough.
3913
- *
3914
- * @param value - The time range value (stores UTC timestamps)
3915
- * @param timezone - User's timezone (used only if value needs recalculation)
3916
- * @param presets - Preset configurations
3917
- */
3918
- declare function toApiTimeRange(value: TimeRangeValue | null, timezone?: string, presets?: PresetConfig[]): ApiTimeRange;
3919
- //#endregion
3920
- //#region src/components/features/toast/toast.d.ts
3921
- declare const toast$1: {
3922
- message: (title: string, options?: ExternalToast) => string | number;
3923
- success: (title: string, options?: ExternalToast) => string | number;
3924
- error: (title: string, options?: ExternalToast) => string | number;
3925
- info: (title: string, options?: ExternalToast) => string | number;
3926
- warning: (title: string, options?: ExternalToast) => string | number;
3927
- };
3928
- //#endregion
3929
- //#region src/components/features/toast/toaster.d.ts
3930
- type ToasterProps = React$2.ComponentProps<typeof Toaster>;
3931
- /**
3932
- * Sonner Toaster configured for "headless" usage.
3933
- *
3934
- * We render our own toast markup via `toast.custom`, so we remove Sonner's default styling.
3935
- */
3936
- declare function Toaster$1({
3937
- toastOptions,
3938
- ...props
3939
- }: ToasterProps): react_jsx_runtime0.JSX.Element;
3940
- //#endregion
3941
- //#region src/components/features/toast/types.d.ts
3942
- interface Toast {
3943
- description: string;
3944
- id: string;
3945
- title?: string;
3946
- type: 'message' | 'success' | 'error';
3947
- }
3948
- //#endregion
3949
- //#region src/components/features/toast/use-toast.d.ts
3950
- declare function useToast(toastData?: Toast | null): void;
3951
- //#endregion
3952
- //#region src/components/themes/client-only.d.ts
3953
- interface ClientOnlyProps {
3954
- children: React$2.ReactNode;
3955
- fallback?: React$2.ReactNode;
3956
- }
3957
- declare function ClientOnly({
3958
- children,
3959
- fallback
3960
- }: ClientOnlyProps): react_jsx_runtime0.JSX.Element;
3961
- //#endregion
3962
- //#region src/components/themes/theme-script.d.ts
3963
- interface ThemeScriptProps {
3964
- forcedTheme?: string;
3965
- storageKey?: string;
3966
- attribute?: string | string[];
3967
- enableSystem?: boolean;
3968
- enableColorScheme?: boolean;
3969
- defaultTheme?: string;
3970
- value?: Record<string, string>;
3971
- themes?: string[];
3972
- nonce?: string;
3973
- scriptProps?: {
3974
- [key: string]: any;
3975
- };
3976
- }
3977
- declare const ThemeScript: React$2.MemoExoticComponent<({
3978
- forcedTheme,
3979
- storageKey,
3980
- attribute,
3981
- enableSystem,
3982
- enableColorScheme,
3983
- defaultTheme,
3984
- value,
3985
- themes,
3986
- nonce,
3987
- scriptProps
3988
- }: ThemeScriptProps) => react_jsx_runtime0.JSX.Element>;
3989
- //#endregion
3990
- //#region src/components/themes/theme.provider.d.ts
3991
- declare const useTheme: () => UseThemeProps;
3992
- declare function ThemeProvider(props: ThemeProviderProps): react_jsx_runtime0.JSX.Element;
3993
- //#endregion
3994
- export { TaskSummaryDialog as $, RadioGroupItem$1 as $i, FormFieldArray as $n, DropdownMenu as $r, NavItem as $t, TimezoneSelector as A, TabsList as Ai, Form as An, FormStepperProps as Ar, SidebarFooter as At, createUserMetadata as B, SheetTitle$1 as Bi, StepperControls as Bn, UseFieldReturn as Br, SidebarMenuBadge as Bt, TimeRangePicker as C, Badge as Ca, FormAutocompleteProps as Ci, RowState as Cn, FormRadioGroupProps as Cr, TaskSummaryItem as Ct, getPresetByKey as D, AlertDescription as Da, TabsContent as Di, GRID_PREFIX as Dn, FormSelectItemProps as Dr, defineStepper as Dt, getDefaultPreset as E, Alert as Ea, Tabs as Ei, GRID_COLUMNS as En, FormRootRenderProps as Er, TagsInput as Et, TimeRangeValue as F, SheetContent$1 as Fi, useFieldContext as Fn, FormWhenProps as Fr, SidebarHeader as Ft, matchesCurrentScope as G, SelectItem$1 as Gi, FormSwitch as Gn, EmptyContentAction as Gr, SidebarMenuSubButton as Gt, CurrentScope as H, Select$1 as Hi, FormStep as Hn, FormAutocomplete as Hr, SidebarMenuItem as Ht, TimezoneOption as I, SheetDescription$1 as Ii, useField as In, StepConfig as Ir, SidebarInput as It, useTaskQueue as J, SelectScrollUpButton$1 as Ji, FormSelectItem as Jn, DropzoneContent as Jr, SidebarRail as Jt, useCurrentScope as K, SelectLabel$1 as Ki, FormSubmit as Kn, EmptyContentProps as Kr, SidebarMenuSubItem as Kt, CustomRangePanel as L, SheetFooter as Li, InputWithAddons as Ln, StepperContextValue as Lr, SidebarInset as Lt, ApiTimeRange as M, Switch$1 as Mi, useWatchAll as Mn, FormSwitchProps as Mr, SidebarGroupAction as Mt, DateRange$1 as N, Sheet$1 as Ni, useStepper as Nn, FormTelemetry as Nr, SidebarGroupContent as Nt, getPresetByShortcut as O, AlertProps as Oa, TabsLinkTrigger as Oi, RESPONSIVE_ARRAY as On, FormSelectProps as Or, Sidebar as Ot, PresetConfig as P, SheetClose as Pi, useFormContext as Pn, FormTextareaProps as Pr, SidebarGroupLabel as Pt, TaskQueue as Q, RadioGroup$1 as Qi, FormInput as Qn, DropzoneProps as Qr, AppSidebar as Qt, createOrgMetadata as R, SheetHeader$1 as Ri, InputWithAddonsProps as Rn, StepperControlsProps as Rr, SidebarMenu as Rt, formatTimeRangeDisplay as S, buttonVariants$1 as Sa, AutocompleteProps as Si, RowProps as Sn, FormInputProps as Sr, TaskSummaryData as St, DEFAULT_PRESETS as T, badgeVariants as Ta, Textarea as Ti, GRID_BREAKPOINTS as Tn, FormRootProps as Tr, TaskPanel as Tt, TasksWithLabels as U, SelectContent$1 as Ui, FormWhen as Un, FileInputButton as Ur, SidebarMenuSkeleton as Ut, TaskQueueProvider as V, SheetTrigger as Vi, FormStepper as Vn, UseWatchReturn as Vr, SidebarMenuButton as Vt, getContextLabel as W, SelectGroup$1 as Wi, FormTextarea as Wn, EmptyContent as Wr, SidebarMenuSub as Wt, LocalTaskStorage as X, SelectTrigger$1 as Xi, FormRadioGroup as Xn, DropzoneEmptyState as Xr, SidebarTrigger as Xt, RedisTaskStorage as Y, SelectSeparator$1 as Yi, FormRoot as Yn, DropzoneContentProps as Yr, SidebarSeparator as Yt, detectStorage as Z, SelectValue$1 as Zi, FormRadioItem as Zn, DropzoneEmptyStateProps as Zr, useSidebar as Zt, utcStringToZonedDate as _, CalendarDayButton as _a, AvatarStackProps as _i, Col as _n, FormFieldArrayProps as _r, TaskOutcome as _t, useToast as a, DialogFooterProps as aa, DropdownMenuPortal as ai, stopProgress as an, FormCopyBox as ar, TaskPanelCounter as at, formatDateForInput as b, Button$1 as ba, AutocompleteGroup as bi, Gutter as bn, FormFieldProps as br, TaskStatus as bt, toApiTimeRange as c, DialogTriggerProps as ca, DropdownMenuSeparator as ci, LoaderOverlay as cn, FormButtonProps as cr, ItemContext as ct, formatUtcForDisplay as d, CardContent as da, DropdownMenuSubContent as di, MediaQueryCallback as dn, FormCopyBoxProps$1 as dr, RedisClient as dt, Label$1 as ea, DropdownMenuCheckboxItem as ei, NavMain as en, FormField as er, TaskSummaryDialogProps as et, getBrowserTimezone as f, CardDescription as fa, DropdownMenuSubTrigger as fi, getGutter as fn, FormCustomProps as fr, Task as ft, localInputStringToUtc as g, Calendar$1 as ga, AvatarStack as gi, RowContext as gn, FormErrorProps as gr, TaskMetadata as gt, getTimezoneOffset as h, CardTitle as ha, DateRangePreset as hi, Row as hn, FormDialogProps as hr, TaskHandle as ht, ClientOnly as i, DialogContentProps as ia, DropdownMenuLabel as ii, startProgress as in, FormCustom as ir, TaskPanelHeader as it, QuickRangesPanel as j, TabsTrigger as ji, useWatch as jn, FormSubmitProps as jr, SidebarGroup as jt, getPresetRange as k, AlertTitle as ka, TabsLinkTriggerProps as ki, RESPONSIVE_MAP as kn, FormStepProps as kr, SidebarContent as kt, createTimezoneOption as l, Checkbox$1 as la, DropdownMenuShortcut as li, InputNumber as ln, FormCheckboxProps as lr, ProcessItemEnqueueOptions as lt, getShortTimezoneDisplay as m, CardHeader as ma, CalendarDatePicker as mi, registerMediaQuery as mn, FormDescriptionProps as mr, TaskContext as mt, useTheme as n, Dialog as na, DropdownMenuGroup as ni, PageTitleProps as nn, FormDialog as nr, TaskQueueDropdown as nt, Toaster$1 as o, DialogHeaderProps as oa, DropdownMenuRadioGroup as oi, MoreActions as on, FormCheckbox as or, TaskPanelActions as ot, getDefaultTimezoneOptions as p, CardFooter as pa, DropdownMenuTrigger as pi, getResponsiveValue as pn, FormCustomRenderProps as pr, TaskCompletionInfo as pt, useTasksWithLabels as q, SelectScrollDownButton$1 as qi, FormSelect as qn, Dropzone as qr, SidebarProvider as qt, ThemeScript as r, DialogBodyProps as ra, DropdownMenuItem as ri, configureProgress as rn, FormDescription as rr, TaskPanelItem as rt, toast$1 as s, DialogProps as sa, DropdownMenuRadioItem as si, MoreActionsProps as sn, FormButton as sr, EnqueueOptions as st, ThemeProvider as t, Input as ta, DropdownMenuContent as ti, PageTitle as tn, FormError as tr, TaskQueueTrigger as tt, formatTimezoneLabel as u, Card as ua, DropdownMenuSub as ui, NumberInputProps as un, FormContextValue as ur, ProcessorEnqueueOptions as ut, utcToLocalInputString as v, LinkButton as va, avatarStackVariants as vi, ColProps as vn, FormFieldArrayRenderProps as vr, TaskQueueAPI as vt, TimeRangePickerProps as w, BadgeProps as wa, Tooltip as wi, Breakpoint as wn, FormRadioItemProps as wr, UseTaskQueueOptions as wt, formatSingleTimeDisplay as x, ButtonProps as xa, AutocompleteOption as xi, RowContextType as xn, FormFieldRenderProps as xr, TaskStorage as xt, zonedDateToUtcString as y, LinkButtonProps as ya, Autocomplete as yi, ColSize as yn, FormFieldContextValue as yr, TaskQueueConfig as yt, createProjectMetadata as z, SheetOverlay as zi, StepperNavigation as zn, StepperNavigationProps as zr, SidebarMenuAction as zt };
3995
- //# sourceMappingURL=index-DH2XEEjO.d.mts.map