@optiaxiom/web-components 3.3.1 → 3.3.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 (272) hide show
  1. package/dist/ActionsContent-BBtCTJ8i.js +1 -0
  2. package/dist/ActionsRoot-ClLU2T6T.js +1 -0
  3. package/dist/Alert-EG3bqbYx.js +1 -0
  4. package/dist/{AlertDialogAction-BOvU1E9G.js → AlertDialogAction-BReaw3Kf.js} +1 -1
  5. package/dist/{AlertDialogBody-CXm_6CbZ.js → AlertDialogBody-squtVgrc.js} +1 -1
  6. package/dist/{AlertDialogCancel-Bpv-AJSU.js → AlertDialogCancel-CBI6LKq2.js} +1 -1
  7. package/dist/AlertDialogContent-CJGN1fMe.js +1 -0
  8. package/dist/{AlertDialogFooter-D5HDoe48.js → AlertDialogFooter-BPOrxX6m.js} +1 -1
  9. package/dist/AlertDialogHeader-Bt9-zpDk.js +1 -0
  10. package/dist/{AngleMenuButton-Dxsp_287.js → AngleMenuButton-BC0eCFnb.js} +1 -1
  11. package/dist/Avatar-C0HsBCk_.js +1 -0
  12. package/dist/Backdrop-CE5rSIux.js +1 -0
  13. package/dist/Badge-skOTR7jX.js +1 -0
  14. package/dist/Box-55YQsWMw.js +1 -0
  15. package/dist/Button-Cs01fDrn.js +1 -0
  16. package/dist/ButtonRoot-RnpZ8AQy.js +1 -0
  17. package/dist/{Calendar-kMYd6092.js → Calendar-0qmCpJ3T.js} +1 -1
  18. package/dist/Checkbox-BJW_VV6P.js +1 -0
  19. package/dist/Cover-BSADh7J8.js +1 -0
  20. package/dist/Cover.css.ts.vanilla-DJajfkND-BuAKNded.js +1 -0
  21. package/dist/{DataTableAction-D2KOvjn7.js → DataTableAction-4TJ7M6ln.js} +1 -1
  22. package/dist/{DataTableRowContext-CZM-eGaK.js → DataTableRowContext-DicjSXhd.js} +1 -1
  23. package/dist/{DialogClose-C-VeBnqV.js → DialogClose-FDD28PO-.js} +1 -1
  24. package/dist/DialogContent-Byun5a0z.js +1 -0
  25. package/dist/DialogHeader-BCQi_6OK.js +1 -0
  26. package/dist/{DialogTrigger-CEPbNdBi.js → DialogTrigger-zPrWWRMg.js} +1 -1
  27. package/dist/{Disclosure-A_tztzlY.js → Disclosure-Dlbho4sM.js} +1 -1
  28. package/dist/DisclosureContent-fwxAK_Ck.js +1 -0
  29. package/dist/DisclosureTrigger-C3pYSoY2.js +1 -0
  30. package/dist/{FieldLabel-BXwHdSNk.js → FieldLabel-Cy4eM8BC.js} +1 -1
  31. package/dist/{Group-BbwOhXsj.js → Group-DKJlvhys.js} +1 -1
  32. package/dist/Heading-DKHqw2RC.js +1 -0
  33. package/dist/Icon-hDBhzU6C.js +1 -0
  34. package/dist/Input-DDYJbG2p.js +1 -0
  35. package/dist/{InputAddon-HT1sT2FE.js → InputAddon-Cgk3k5lU.js} +1 -1
  36. package/dist/InputControl-ChJFJFOO.js +1 -0
  37. package/dist/InputControl.css.ts.vanilla-BCSTjllv-DuAKzRZz.js +1 -0
  38. package/dist/InputRoot-lUKc5c1s.js +1 -0
  39. package/dist/Link-BVBAKvS5.js +1 -0
  40. package/dist/Listbox-B2NhP4y3.js +1 -0
  41. package/dist/{ListboxCheckboxItem-B5dk3k1a.js → ListboxCheckboxItem-B0HK3O8Z.js} +1 -1
  42. package/dist/ListboxCheckboxItem-css-ptUxvQiE.js +1 -0
  43. package/dist/{ListboxEmpty-ISTeWI8D.js → ListboxEmpty-Bpxs_fTn.js} +1 -1
  44. package/dist/ListboxItem-BaXHD6mV.js +1 -0
  45. package/dist/ListboxItemIndicator-oa0LOr1u.js +1 -0
  46. package/dist/{ListboxItemized-sRVQdG21.js → ListboxItemized-BsEY3PkP.js} +1 -1
  47. package/dist/{ListboxLabel-CI4GIWVF.js → ListboxLabel-BgFZ9nQW.js} +1 -1
  48. package/dist/{ListboxRadioItem-BOCF7SEq.js → ListboxRadioItem-B1lfy3BZ.js} +1 -1
  49. package/dist/{ListboxSeparator-d9qQqcbp.js → ListboxSeparator-CBSPUWDH.js} +1 -1
  50. package/dist/{ListboxSwitchItem-CTWswZhq.js → ListboxSwitchItem-i4LKxug3.js} +1 -1
  51. package/dist/MenuContent-BGmK_H-r.js +1 -0
  52. package/dist/{MenuTrigger-DhuDDa69.js → MenuTrigger-Dz0hJ2C0.js} +1 -1
  53. package/dist/ModalListbox-Cywkx4ws.js +9 -0
  54. package/dist/NavItem-Cp692wHr.js +1 -0
  55. package/dist/{Pagination-B0IPsz1Z.js → Pagination-CHRpLcn5.js} +1 -1
  56. package/dist/{Paper-DEqozp3C.js → Paper-Cz1vhWnB.js} +1 -1
  57. package/dist/{PopoverAnchor-DnlYnIOG.js → PopoverAnchor-CFl7nOsu.js} +1 -1
  58. package/dist/{PopoverContent-DFFag-5I.js → PopoverContent--NdTm-oM.js} +1 -1
  59. package/dist/{PopoverTrigger-D8kegexp.js → PopoverTrigger-Cs_K801r.js} +1 -1
  60. package/dist/{Select-SjpMwXbt.js → Select-DUfrgBzl.js} +1 -1
  61. package/dist/{SelectContent-CbOyCsqJ.js → SelectContent-CXyifIzA.js} +1 -1
  62. package/dist/{SelectTrigger-CESerpgy.js → SelectTrigger-BhDdSGuW.js} +1 -1
  63. package/dist/Separator-hdIEC5Sd.js +1 -0
  64. package/dist/Skeleton-CBhQU_9j.js +1 -0
  65. package/dist/Spinner-BJmboi55.js +1 -0
  66. package/dist/{SuggestionPopover-iX7waaX6.js → SuggestionPopover-F5Jx5NbW.js} +1 -1
  67. package/dist/Switch-B4AHMBIM.js +1 -0
  68. package/dist/Table-CR6NxDTe.js +1 -0
  69. package/dist/{TableAction-Dm1QDlhe.js → TableAction-B0s03FJL.js} +1 -1
  70. package/dist/TableBody-XWzhG_pp.js +1 -0
  71. package/dist/TableCell-Dwub1BfS.js +1 -0
  72. package/dist/TableHeader-1vQtt1e3.js +1 -0
  73. package/dist/TableHeaderCell-oEt0FiLi.js +1 -0
  74. package/dist/TableRow-B2IVe9m1.js +1 -0
  75. package/dist/TableRow.css.ts.vanilla-vkZ1kptU-CA0sSUbt.js +1 -0
  76. package/dist/Text-Di0zSuay.js +1 -0
  77. package/dist/{ThemeProvider-JCNmRkej.js → ThemeProvider-DQ8zrRnm.js} +1 -1
  78. package/dist/ToastProvider-D_QHE_8x.js +1 -0
  79. package/dist/ToggleInputHiddenInput-CaTvF1or.js +1 -0
  80. package/dist/ToggleInputHiddenInput.css.ts.vanilla-D-kshq_d-ReawEPag.js +1 -0
  81. package/dist/{Tooltip-WSf95mog.js → Tooltip-D_wABW5l.js} +1 -1
  82. package/dist/{TooltipContent-BypxNQxP.js → TooltipContent-CdpjiL7v.js} +1 -1
  83. package/dist/{TooltipTrigger-X44yPh9Q.js → TooltipTrigger-BtU7Nma8.js} +1 -1
  84. package/dist/Transition-BUom71X9.js +1 -0
  85. package/dist/components/Alert.js +1 -1
  86. package/dist/components/AlertDialogAction.js +1 -1
  87. package/dist/components/AlertDialogBody.js +1 -1
  88. package/dist/components/AlertDialogCancel.js +1 -1
  89. package/dist/components/AlertDialogContent.js +1 -1
  90. package/dist/components/AlertDialogFooter.js +1 -1
  91. package/dist/components/AlertDialogHeader.js +1 -1
  92. package/dist/components/AlertDialogTrigger.js +1 -1
  93. package/dist/components/AngleMenuButton.js +1 -1
  94. package/dist/components/Avatar.js +1 -1
  95. package/dist/components/AvatarGroup.js +1 -1
  96. package/dist/components/AxiomProvider.js +1 -1
  97. package/dist/components/Badge.js +1 -1
  98. package/dist/components/Banner.js +1 -1
  99. package/dist/components/Box.js +1 -1
  100. package/dist/components/Breadcrumb.js +1 -1
  101. package/dist/components/Button.js +1 -1
  102. package/dist/components/ButtonGroup.js +1 -1
  103. package/dist/components/Card.js +1 -1
  104. package/dist/components/CardAction.js +1 -1
  105. package/dist/components/CardCheckbox.js +1 -1
  106. package/dist/components/CardFooter.js +1 -1
  107. package/dist/components/CardHeader.js +1 -1
  108. package/dist/components/CardImage.js +1 -1
  109. package/dist/components/CardLink.js +1 -1
  110. package/dist/components/CardPreview.js +1 -1
  111. package/dist/components/Checkbox.js +1 -1
  112. package/dist/components/Code.js +1 -1
  113. package/dist/components/Cover.js +1 -1
  114. package/dist/components/DataTable.js +1 -1
  115. package/dist/components/DataTableAction.js +1 -1
  116. package/dist/components/DataTableBody.js +2 -2
  117. package/dist/components/DataTableCheckbox.js +1 -1
  118. package/dist/components/DataTableFooter.js +1 -1
  119. package/dist/components/DataTableLabel.js +1 -1
  120. package/dist/components/DateInput.js +1 -1
  121. package/dist/components/DateRangePickerContent.js +1 -1
  122. package/dist/components/DateRangePickerTrigger.js +1 -1
  123. package/dist/components/DialogBody.js +1 -1
  124. package/dist/components/DialogClose.js +1 -1
  125. package/dist/components/DialogContent.js +1 -1
  126. package/dist/components/DialogFooter.js +1 -1
  127. package/dist/components/DialogForm.js +1 -1
  128. package/dist/components/DialogHeader.js +1 -1
  129. package/dist/components/DialogTrigger.js +1 -1
  130. package/dist/components/Disclosure.js +1 -1
  131. package/dist/components/DisclosureContent.js +1 -1
  132. package/dist/components/DisclosureTrigger.js +1 -1
  133. package/dist/components/DropdownMenuCheckboxItem.js +1 -1
  134. package/dist/components/DropdownMenuContent.js +1 -1
  135. package/dist/components/DropdownMenuGroup.js +1 -1
  136. package/dist/components/DropdownMenuItem.js +1 -1
  137. package/dist/components/DropdownMenuLabel.js +1 -1
  138. package/dist/components/DropdownMenuSeparator.js +1 -1
  139. package/dist/components/DropdownMenuSubContent.js +1 -1
  140. package/dist/components/DropdownMenuTrigger.js +1 -1
  141. package/dist/components/EllipsisMenuButton.js +1 -1
  142. package/dist/components/Field.js +1 -1
  143. package/dist/components/FieldLabel.js +1 -1
  144. package/dist/components/Flex.js +1 -1
  145. package/dist/components/Grid.js +1 -1
  146. package/dist/components/Group.js +1 -1
  147. package/dist/components/Heading.js +1 -1
  148. package/dist/components/Indicator.js +1 -1
  149. package/dist/components/Input.js +1 -1
  150. package/dist/components/InputAddon.js +1 -1
  151. package/dist/components/InputControl.js +1 -1
  152. package/dist/components/InputRoot.js +1 -1
  153. package/dist/components/Kbd.js +1 -1
  154. package/dist/components/LabelMenuButton.js +1 -1
  155. package/dist/components/Link.js +1 -1
  156. package/dist/components/Listbox.js +1 -1
  157. package/dist/components/ListboxCheckboxItem.js +1 -1
  158. package/dist/components/ListboxEmpty.js +1 -1
  159. package/dist/components/ListboxGroup.js +1 -1
  160. package/dist/components/ListboxItem.js +1 -1
  161. package/dist/components/ListboxItemIndicator.js +1 -1
  162. package/dist/components/ListboxItemized.js +1 -1
  163. package/dist/components/ListboxLabel.js +1 -1
  164. package/dist/components/ListboxRadioItem.js +1 -1
  165. package/dist/components/ListboxSeparator.js +1 -1
  166. package/dist/components/ListboxSwitchItem.js +1 -1
  167. package/dist/components/MenuContent.js +1 -1
  168. package/dist/components/MenuTrigger.js +1 -1
  169. package/dist/components/Nav.js +1 -1
  170. package/dist/components/NavAccountItem.js +1 -1
  171. package/dist/components/NavBody.js +1 -1
  172. package/dist/components/NavFooter.js +1 -1
  173. package/dist/components/NavGroup.js +1 -1
  174. package/dist/components/NavGroupContent.js +1 -1
  175. package/dist/components/NavGroupTrigger.js +1 -1
  176. package/dist/components/NavHeader.js +1 -1
  177. package/dist/components/NavItem.js +1 -1
  178. package/dist/components/NavList.js +1 -1
  179. package/dist/components/NavSeparator.js +1 -1
  180. package/dist/components/Pagination.js +1 -1
  181. package/dist/components/Paper.js +1 -1
  182. package/dist/components/PopoverAnchor.js +1 -1
  183. package/dist/components/PopoverContent.js +1 -1
  184. package/dist/components/PopoverTrigger.js +1 -1
  185. package/dist/components/Progress.js +1 -1
  186. package/dist/components/Radio.js +1 -1
  187. package/dist/components/RadioGroup.js +1 -1
  188. package/dist/components/SearchInput.js +1 -1
  189. package/dist/components/SegmentedControl.js +1 -1
  190. package/dist/components/SegmentedControlItem.js +1 -1
  191. package/dist/components/Select.js +1 -1
  192. package/dist/components/SelectContent.js +1 -1
  193. package/dist/components/SelectTrigger.js +1 -1
  194. package/dist/components/Separator.js +1 -1
  195. package/dist/components/Sidebar.js +1 -1
  196. package/dist/components/SidebarToggle.js +1 -1
  197. package/dist/components/Skeleton.js +1 -1
  198. package/dist/components/Spinner.js +1 -1
  199. package/dist/components/SubNav.js +1 -1
  200. package/dist/components/Switch.js +1 -1
  201. package/dist/components/Table.js +1 -1
  202. package/dist/components/TableAction.js +1 -1
  203. package/dist/components/TableBody.js +1 -1
  204. package/dist/components/TableCell.js +1 -1
  205. package/dist/components/TableHeader.js +1 -1
  206. package/dist/components/TableHeaderCell.js +1 -1
  207. package/dist/components/TableRow.js +1 -1
  208. package/dist/components/Tabs.js +1 -1
  209. package/dist/components/TabsContent.js +1 -1
  210. package/dist/components/TabsList.js +1 -1
  211. package/dist/components/TabsTrigger.js +1 -1
  212. package/dist/components/Text.js +1 -1
  213. package/dist/components/Textarea.js +1 -1
  214. package/dist/components/ThemeProvider.js +1 -1
  215. package/dist/components/ToastProvider.js +1 -1
  216. package/dist/components/ToggleButton.js +1 -1
  217. package/dist/components/Tooltip.js +1 -1
  218. package/dist/components/TooltipContent.js +1 -1
  219. package/dist/components/TooltipTrigger.js +1 -1
  220. package/dist/components/Transition.js +1 -1
  221. package/dist/{esm-Cp87DntX.js → esm-QgKqvLOn.js} +1 -1
  222. package/dist/layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js +1 -0
  223. package/package.json +2 -2
  224. package/dist/ActionsContent-3ggiPahp.js +0 -1
  225. package/dist/ActionsRoot-CjaLLK0g.js +0 -1
  226. package/dist/Alert-CCuwSCZr.js +0 -1
  227. package/dist/AlertDialogContent-C-rJOXM4.js +0 -1
  228. package/dist/AlertDialogHeader-C_e7ZVps.js +0 -1
  229. package/dist/Avatar-B8QNTEML.js +0 -1
  230. package/dist/Backdrop-d8bYGf0S.js +0 -1
  231. package/dist/Badge-CONM8DYb.js +0 -1
  232. package/dist/Box-CgPf7h9G.js +0 -1
  233. package/dist/Button-BCJF4Ihp.js +0 -1
  234. package/dist/ButtonGroup.css.ts.vanilla-A3sMS8iF-CUDRiKo3.js +0 -1
  235. package/dist/ButtonRoot-adT-k-am.js +0 -1
  236. package/dist/Checkbox-B7syhyVK.js +0 -1
  237. package/dist/Cover-y-1EBwD7.js +0 -1
  238. package/dist/Cover.css.ts.vanilla-B072yi42-C1R1QS9r.js +0 -1
  239. package/dist/DialogContent-Cxh05HyM.js +0 -1
  240. package/dist/DialogHeader-CrID93Ku.js +0 -1
  241. package/dist/DisclosureContent-BNiBdwyY.js +0 -1
  242. package/dist/DisclosureTrigger-6SVwgOWJ.js +0 -1
  243. package/dist/Heading-DsvqX2it.js +0 -1
  244. package/dist/Icon-szx5dIuP.js +0 -1
  245. package/dist/Input-B1TDbp0G.js +0 -1
  246. package/dist/InputControl-CbKVHLpN.js +0 -1
  247. package/dist/InputControl.css.ts.vanilla-DhhJBec6-Wc4mQEfg.js +0 -1
  248. package/dist/InputRoot-Cm2jU2rk.js +0 -1
  249. package/dist/Link-D7jzck48.js +0 -1
  250. package/dist/Listbox-elQTo9bJ.js +0 -1
  251. package/dist/ListboxCheckboxItem-css-CDQGLBYw.js +0 -1
  252. package/dist/ListboxItem-PiS2PQpK.js +0 -1
  253. package/dist/ListboxItemIndicator-DbbnhvZh.js +0 -1
  254. package/dist/MenuContent-Bl413zsx.js +0 -1
  255. package/dist/ModalListbox-NRHpmafQ.js +0 -9
  256. package/dist/NavItem-xmrVcV06.js +0 -1
  257. package/dist/Separator-BfYIHZG_.js +0 -1
  258. package/dist/Skeleton-BCWq1czw.js +0 -1
  259. package/dist/Spinner-B3lkMYO8.js +0 -1
  260. package/dist/Switch-iE02hNLP.js +0 -1
  261. package/dist/Table-psiwJXtx.js +0 -1
  262. package/dist/TableBody-SMWDi1u4.js +0 -1
  263. package/dist/TableCell-BgcL-Pxa.js +0 -1
  264. package/dist/TableHeader-sUG1iaGK.js +0 -1
  265. package/dist/TableHeaderCell-CqRDkmCn.js +0 -1
  266. package/dist/TableRow-B5qT-gHd.js +0 -1
  267. package/dist/TableRow.css.ts.vanilla-CdLG6x1P-Bb7bYC1g.js +0 -1
  268. package/dist/Text-CywFc_fE.js +0 -1
  269. package/dist/ToastProvider-C7gkDqx8.js +0 -1
  270. package/dist/ToggleInputHiddenInput-kvmCOLIM.js +0 -1
  271. package/dist/Transition-gAjTCbl0.js +0 -1
  272. package/dist/layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js +0 -1
@@ -1 +1 @@
1
- import{E as e,S as t,_ as n,d as r,h as i,n as a,r as o,t as s,u as c,w as l}from"../register-Cw2o7_6I.js";import{m as u}from"../propTypes-BuGUXuUg.js";import{n as d}from"../Box-CgPf7h9G.js";import{t as f}from"../Group-BbwOhXsj.js";import{t as p}from"../Text-CywFc_fE.js";import{t as m}from"../Transition-gAjTCbl0.js";import{n as h}from"../context-VtSJnE1T.js";import{n as g}from"../useSurface-CwymaR5q.js";import{t as _}from"../ToastProvider-C7gkDqx8.js";import{t as v}from"../Button-BCJF4Ihp.js";import{t as y}from"../Portal-iQZETiXt.js";import{t as b}from"../dist-DMk5UOim.js";import{t as x}from"../TooltipProvider-BEZDGt8q.js";import{t as S}from"../close-Cl1sVgpF.js";import{t as C}from"../DialogKitContext-DDUZ0HwC.js";import{t as w}from"../Dialog-QK8QCynd.js";import{t as T}from"../FocusBookmarkProvider-BZg_00La.js";import{t as E}from"../AlertDialogAction-BOvU1E9G.js";import{t as D}from"../AlertDialogBody-CXm_6CbZ.js";import{t as O}from"../AlertDialogCancel-Bpv-AJSU.js";import{t as k}from"../AlertDialogContent-C-rJOXM4.js";import{t as A}from"../AlertDialogFooter-D5HDoe48.js";import{t as j}from"../AlertDialogHeader-C_e7ZVps.js";import{t as M}from"../shim-CQtTVN7L.js";import{t as N}from"../ThemeProvider-JCNmRkej.js";import{t as P}from"../LocaleContext-CZYzLj98.js";r();const F=[];let I=1;const L=()=>`t`+I++,R=(()=>{let e=[],t=/* @__PURE__ */ new Set,n=()=>{for(let e of t)e()},r=(t,r)=>{let i=L();return e=[{...r,element:t,id:i,onClose:()=>{e=e.filter(e=>e.id!==i),n()},open:!0},...e],n(),i},i=t=>{e=e.map(e=>e.id===t?{...e,open:!1}:e),n()};return{store:[e=>(t.add(e),()=>t.delete(e)),()=>e,()=>F],clear:()=>{for(let t of e)i(t.id)},confirm:async e=>new Promise(t=>{r(c(e)?e:/* @__PURE__ */ o(k,{children:[/* @__PURE__ */ o(j,{children:e.header}),/* @__PURE__ */ o(D,{children:e.body}),/* @__PURE__ */ o(A,{children:[/* @__PURE__ */ o(O,{}),/* @__PURE__ */ o(E,{children:e.action})]})]}),{onDismiss:(e,n)=>{t(n===`action`)}})}),create:r,remove:i}})();var z=M();function B({kit:e=R}){return(0,z.useSyncExternalStore)(...e.store).reduce((e,t)=>/* @__PURE__ */ o(w,{open:t.open,children:[/* @__PURE__ */ o(C.Provider,{value:{id:t.id,onClose:t.onClose,onDismiss:(e,n)=>{t.onDismiss?.(e,n),!e.defaultPrevented&&R.remove(t.id)}},children:t.element}),e]},t.id),null)}B.displayName=`@optiaxiom/react/DialogKitProvider`,r(),e();function V({children:e}){let t=b(),[r,a]=n([]);return/* @__PURE__ */ o(g.Provider,{value:i(()=>({add:(e,t)=>(a(n=>[...n,{suggestion:e,surface:t}]),()=>{a(t=>t.filter(t=>t.suggestion!==e))})}),[]),children:[e,r.length>0&&/* @__PURE__ */ o(y,{asChild:!0,children:/* @__PURE__ */ o(f,{alignItems:`center`,flexDirection:`column`,gap:`16`,pointerEvents:`none`,style:{bottom:32,insetInline:32,position:`fixed`},z:`popover`,children:r.slice(0,1).map(({suggestion:e,surface:n})=>/* @__PURE__ */ o(m,{"data-side":`top`,type:`pop`,children:/* @__PURE__ */ o(f,{"aria-describedby":t+`-`+e.id,"aria-label":`App companion suggestion`,bg:`bg.default`,color:`fg.default`,fontSize:`md`,gap:`16`,maxW:`lg`,p:`16`,pointerEvents:`auto`,role:`dialog`,rounded:`md`,shadow:`md`,children:[/* @__PURE__ */ o(f,{flexDirection:`column`,gap:`4`,id:t+`-`+e.id,children:[/* @__PURE__ */ o(p,{children:e.type===`message`?e.text:/* @__PURE__ */ o(l,{children:[/* @__PURE__ */ o(`strong`,{children:`Suggested:`}),` `,n.renderSuggestionValue?n.renderSuggestionValue(e.value):String(e.value)]})}),e.type===`value`&&e.reason&&/* @__PURE__ */ o(p,{color:`fg.secondary`,children:e.reason})]}),/* @__PURE__ */ o(v,{appearance:`primary-opal`,onClick:async()=>{e.type===`message`&&e.tool&&await n.executeTool(e.tool.name,e.tool.parameters),n.accept(e.id)},size:`sm`,children:`Accept`}),/* @__PURE__ */ o(v,{appearance:`subtle`,"aria-label":`close`,color:`fg.default`,flex:`none`,icon:/* @__PURE__ */ o(S,{}),onClick:()=>{n.reject(e.id)},size:`sm`})]})},e.id))})})]})}V.displayName=`@optiaxiom/react/SuggestionProvider`,r();function H({children:e,dialog:n,locale:r,toast:i,tooltip:a}){let s=r??(typeof navigator<`u`?navigator.language:`en-US`);return t(h)||(e=/* @__PURE__ */ o(N,{children:/* @__PURE__ */ o(V,{children:[e,/* @__PURE__ */ o(_,{...i})]})})),/* @__PURE__ */ o(h.Provider,{value:d,children:/* @__PURE__ */ o(P,{locale:s,children:/* @__PURE__ */ o(x,{...a,children:/* @__PURE__ */ o(T,{children:[e,/* @__PURE__ */ o(B,{...n})]})})})})}H.displayName=`@optiaxiom/react/AxiomProvider`;const U=`ax-axiom-provider`;var W=s(U,H,u,a);export{U as AxiomProvider,W as default};
1
+ import{E as e,S as t,_ as n,d as r,h as i,n as a,r as o,t as s,u as c,w as l}from"../register-Cw2o7_6I.js";import{m as u}from"../propTypes-BuGUXuUg.js";import{n as d}from"../Box-55YQsWMw.js";import{t as f}from"../Group-DKJlvhys.js";import{t as p}from"../Text-Di0zSuay.js";import{t as m}from"../Transition-BUom71X9.js";import{n as h}from"../context-VtSJnE1T.js";import{n as g}from"../useSurface-CwymaR5q.js";import{t as _}from"../ToastProvider-D_QHE_8x.js";import{t as v}from"../Button-Cs01fDrn.js";import{t as y}from"../Portal-iQZETiXt.js";import{t as b}from"../dist-DMk5UOim.js";import{t as x}from"../TooltipProvider-BEZDGt8q.js";import{t as S}from"../close-Cl1sVgpF.js";import{t as C}from"../DialogKitContext-DDUZ0HwC.js";import{t as w}from"../Dialog-QK8QCynd.js";import{t as T}from"../FocusBookmarkProvider-BZg_00La.js";import{t as E}from"../AlertDialogAction-BReaw3Kf.js";import{t as D}from"../AlertDialogBody-squtVgrc.js";import{t as O}from"../AlertDialogCancel-CBI6LKq2.js";import{t as k}from"../AlertDialogContent-CJGN1fMe.js";import{t as A}from"../AlertDialogFooter-BPOrxX6m.js";import{t as j}from"../AlertDialogHeader-Bt9-zpDk.js";import{t as M}from"../shim-CQtTVN7L.js";import{t as N}from"../ThemeProvider-DQ8zrRnm.js";import{t as P}from"../LocaleContext-CZYzLj98.js";r();const F=[];let I=1;const L=()=>`t`+I++,R=(()=>{let e=[],t=/* @__PURE__ */ new Set,n=()=>{for(let e of t)e()},r=(t,r)=>{let i=L();return e=[{...r,element:t,id:i,onClose:()=>{e=e.filter(e=>e.id!==i),n()},open:!0},...e],n(),i},i=t=>{e=e.map(e=>e.id===t?{...e,open:!1}:e),n()};return{store:[e=>(t.add(e),()=>t.delete(e)),()=>e,()=>F],clear:()=>{for(let t of e)i(t.id)},confirm:async e=>new Promise(t=>{r(c(e)?e:/* @__PURE__ */ o(k,{children:[/* @__PURE__ */ o(j,{children:e.header}),/* @__PURE__ */ o(D,{children:e.body}),/* @__PURE__ */ o(A,{children:[/* @__PURE__ */ o(O,{}),/* @__PURE__ */ o(E,{children:e.action})]})]}),{onDismiss:(e,n)=>{t(n===`action`)}})}),create:r,remove:i}})();var z=M();function B({kit:e=R}){return(0,z.useSyncExternalStore)(...e.store).reduce((e,t)=>/* @__PURE__ */ o(w,{open:t.open,children:[/* @__PURE__ */ o(C.Provider,{value:{id:t.id,onClose:t.onClose,onDismiss:(e,n)=>{t.onDismiss?.(e,n),!e.defaultPrevented&&R.remove(t.id)}},children:t.element}),e]},t.id),null)}B.displayName=`@optiaxiom/react/DialogKitProvider`,r(),e();function V({children:e}){let t=b(),[r,a]=n([]);return/* @__PURE__ */ o(g.Provider,{value:i(()=>({add:(e,t)=>(a(n=>[...n,{suggestion:e,surface:t}]),()=>{a(t=>t.filter(t=>t.suggestion!==e))})}),[]),children:[e,r.length>0&&/* @__PURE__ */ o(y,{asChild:!0,children:/* @__PURE__ */ o(f,{alignItems:`center`,flexDirection:`column`,gap:`16`,pointerEvents:`none`,style:{bottom:32,insetInline:32,position:`fixed`},z:`popover`,children:r.slice(0,1).map(({suggestion:e,surface:n})=>/* @__PURE__ */ o(m,{"data-side":`top`,type:`pop`,children:/* @__PURE__ */ o(f,{"aria-describedby":t+`-`+e.id,"aria-label":`App companion suggestion`,bg:`bg.default`,color:`fg.default`,fontSize:`md`,gap:`16`,maxW:`lg`,p:`16`,pointerEvents:`auto`,role:`dialog`,rounded:`md`,shadow:`md`,children:[/* @__PURE__ */ o(f,{flexDirection:`column`,gap:`4`,id:t+`-`+e.id,children:[/* @__PURE__ */ o(p,{children:e.type===`message`?e.text:/* @__PURE__ */ o(l,{children:[/* @__PURE__ */ o(`strong`,{children:`Suggested:`}),` `,n.renderSuggestionValue?n.renderSuggestionValue(e.value):String(e.value)]})}),e.type===`value`&&e.reason&&/* @__PURE__ */ o(p,{color:`fg.secondary`,children:e.reason})]}),/* @__PURE__ */ o(v,{appearance:`primary-opal`,onClick:async()=>{e.type===`message`&&e.tool&&await n.executeTool(e.tool.name,e.tool.parameters),n.accept(e.id)},size:`sm`,children:`Accept`}),/* @__PURE__ */ o(v,{appearance:`subtle`,"aria-label":`close`,color:`fg.default`,flex:`none`,icon:/* @__PURE__ */ o(S,{}),onClick:()=>{n.reject(e.id)},size:`sm`})]})},e.id))})})]})}V.displayName=`@optiaxiom/react/SuggestionProvider`,r();function H({children:e,dialog:n,locale:r,toast:i,tooltip:a}){let s=r??(typeof navigator<`u`?navigator.language:`en-US`);return t(h)||(e=/* @__PURE__ */ o(N,{children:/* @__PURE__ */ o(V,{children:[e,/* @__PURE__ */ o(_,{...i})]})})),/* @__PURE__ */ o(h.Provider,{value:d,children:/* @__PURE__ */ o(P,{locale:s,children:/* @__PURE__ */ o(x,{...a,children:/* @__PURE__ */ o(T,{children:[e,/* @__PURE__ */ o(B,{...n})]})})})})}H.displayName=`@optiaxiom/react/AxiomProvider`;const U=`ax-axiom-provider`;var W=s(U,H,u,a);export{U as AxiomProvider,W as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{h as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Badge-CONM8DYb.js";const i=`ax-badge`;var a=t(i,r,n,e);export{i as Badge,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{h as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Badge-skOTR7jX.js";const i=`ax-badge`;var a=t(i,r,n,e);export{i as Badge,a as default};
@@ -1 +1 @@
1
- import{D as e,a as t,d as n,k as r,n as i,r as a,t as o}from"../register-Cw2o7_6I.js";import{g as s}from"../propTypes-BuGUXuUg.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as c}from"../recipeRuntime-BkylZxVy.js";import{t as l}from"../Group-BbwOhXsj.js";import{t as u}from"../Icon-szx5dIuP.js";import{t as d}from"../Button-BCJF4Ihp.js";import{t as f}from"../dist-DMk5UOim.js";import{i as p,n as m,r as h,t as g}from"../warning-DhOxLGSr.js";import{t as _}from"../close-Cl1sVgpF.js";r(`@layer optiaxiom.eeki7c;@layer optiaxiom.eeki7c{.bmdg9d{min-height:var(--ax-size-sm)}}`);var v=c({base:[{alignItems:`start`,color:`fg.default`,fontSize:`md`,fontWeight:`500`,gap:`12`,justifyContent:`space-between`,px:`24`,py:`12`}],variants:{intent:{danger:{bg:`bg.error.subtle`},information:{bg:`bg.information.subtle`},neutral:{bg:`bg.tertiary`},success:{bg:`bg.success.subtle`},warning:{bg:`bg.warning.subtle`}}}}),y=c({base:[{flex:`1`,flexDirection:`column`,gap:`8`,justifyContent:`center`},`bmdg9d`]}),b=c({base:[{mt:`4`}],variants:{intent:{danger:{color:`fg.error.strong`},information:{color:`fg.information.strong`},neutral:{color:`fg.tertiary`},success:{color:`fg.success.strong`},warning:{color:`fg.warning.strong`}}}});n();const x={danger:h,information:m,neutral:m,success:p,warning:g},S=t(({children:t,className:n,intent:r=`neutral`,onDismiss:i,...o},s)=>{let c=f();return/* @__PURE__ */ a(l,{"aria-labelledby":c,ref:s,role:`alert`,...v({intent:r},n),...o,children:[/* @__PURE__ */ a(u,{asChild:!0,...b({intent:r}),children:e(x[r],{filled:!0})}),/* @__PURE__ */ a(l,{id:c,...y(),children:t}),!!i&&/* @__PURE__ */ a(d,{appearance:`subtle`,"aria-label":`close`,color:`fg.default`,flex:`none`,icon:/* @__PURE__ */ a(_,{}),onClick:i,size:`sm`})]})});S.displayName=`@optiaxiom/react/Banner`;const C=`ax-banner`;var w=o(C,S,s,i);export{C as Banner,w as default};
1
+ import{D as e,a as t,d as n,k as r,n as i,r as a,t as o}from"../register-Cw2o7_6I.js";import{g as s}from"../propTypes-BuGUXuUg.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as c}from"../recipeRuntime-BkylZxVy.js";import{t as l}from"../Group-DKJlvhys.js";import{t as u}from"../Icon-hDBhzU6C.js";import{t as d}from"../Button-Cs01fDrn.js";import{t as f}from"../dist-DMk5UOim.js";import{i as p,n as m,r as h,t as g}from"../warning-DhOxLGSr.js";import{t as _}from"../close-Cl1sVgpF.js";r(`@layer optiaxiom.hjtpuo;@layer optiaxiom.hjtpuo{._16iffjy{min-height:var(--ax-size-sm)}}`);var v=c({base:[{alignItems:`start`,color:`fg.default`,fontSize:`md`,fontWeight:`500`,gap:`12`,justifyContent:`space-between`,px:`24`,py:`12`}],variants:{intent:{danger:{bg:`bg.error.subtle`},information:{bg:`bg.information.subtle`},neutral:{bg:`bg.tertiary`},success:{bg:`bg.success.subtle`},warning:{bg:`bg.warning.subtle`}}}}),y=c({base:[{flex:`1`,flexDirection:`column`,gap:`8`,justifyContent:`center`},`_16iffjy`]}),b=c({base:[{mt:`4`}],variants:{intent:{danger:{color:`fg.error.strong`},information:{color:`fg.information.strong`},neutral:{color:`fg.tertiary`},success:{color:`fg.success.strong`},warning:{color:`fg.warning.strong`}}}});n();const x={danger:h,information:m,neutral:m,success:p,warning:g},S=t(({children:t,className:n,intent:r=`neutral`,onDismiss:i,...o},s)=>{let c=f();return/* @__PURE__ */ a(l,{"aria-labelledby":c,ref:s,role:`alert`,...v({intent:r},n),...o,children:[/* @__PURE__ */ a(u,{asChild:!0,...b({intent:r}),children:e(x[r],{filled:!0})}),/* @__PURE__ */ a(l,{id:c,...y(),children:t}),!!i&&/* @__PURE__ */ a(d,{appearance:`subtle`,"aria-label":`close`,color:`fg.default`,flex:`none`,icon:/* @__PURE__ */ a(_,{}),onClick:i,size:`sm`})]})});S.displayName=`@optiaxiom/react/Banner`;const C=`ax-banner`;var w=o(C,S,s,i);export{C as Banner,w as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{_ as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Box-CgPf7h9G.js";const i=`ax-box`;var a=t(i,r,n,e);export{i as Box,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{_ as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Box-55YQsWMw.js";const i=`ax-box`;var a=t(i,r,n,e);export{i as Box,a as default};
@@ -1 +1 @@
1
- import{a as e,d as t,k as n,n as r,r as i,t as a,w as o}from"../register-Cw2o7_6I.js";import{v as s}from"../propTypes-BuGUXuUg.js";import{r as c,t as l}from"../Box-CgPf7h9G.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as u}from"../recipeRuntime-BkylZxVy.js";import{t as d}from"../Group-BbwOhXsj.js";import{t as f}from"../Text-CywFc_fE.js";import{t as p}from"../fallbackSpan-CThGSmT4.js";import{t as m}from"../Tooltip-WSf95mog.js";import{t as h}from"../more_horiz-rHqsUkG_.js";import{t as g}from"../Link-D7jzck48.js";import{t as _}from"../Menu-DCOYFw6T.js";import{t as v}from"../MenuContent-Bl413zsx.js";import{t as y}from"../MenuTrigger-DhuDDa69.js";n(`@layer optiaxiom.eeki7c;@layer optiaxiom.eeki7c{._1bobsf{min-height:var(--ax-size-md)}.g6u6la,.g6u6la:visited{color:var(--ax-colors-fg-tertiary)}@media (hover:hover){.g6u6la:hover:not([data-disabled]){color:var(--ax-colors-fg-secondary)}}}`);var b=u({base:`g6u6la`}),x=u({base:[{alignItems:`center`,color:`fg.default`,display:`flex`,fontSize:`md`,gap:`8`},`_1bobsf`]});n(`@layer optiaxiom.eeki7c;@layer optiaxiom.eeki7c{.xqbz28{max-width:calc(var(--ax-styles-scale, 1rem)*10)}.xqbz28:not(:first-child):before{content:"/";color:var(--ax-colors-fg-tertiary);margin-right:calc(var(--ax-styles-scale, 1rem)*.25)}}`);var S=u({base:[{alignItems:`center`,display:`inline-flex`,gap:`4`,whiteSpace:`nowrap`},`xqbz28`]});t();const C=e(({addonAfter:e,children:t,className:n,...r},a)=>{let{boxProps:o,restProps:s}=c(r);return/* @__PURE__ */ i(l,{asChild:!0,...S({},n),...o,children:/* @__PURE__ */ i(`li`,{ref:a,...s,children:[t,e&&/* @__PURE__ */ i(d,{asChild:!0,flex:`none`,gap:`4`,children:p(e)})]})})});C.displayName=`@optiaxiom/react/BreadcrumbNode`,t();const w=e(({className:e,items:t,maxItems:n=3,...r},a)=>{let{boxProps:o,restProps:s}=c(r);return/* @__PURE__ */ i(l,{asChild:!0,className:e,...o,children:/* @__PURE__ */ i(`nav`,{"aria-label":`Breadcrumb`,ref:a,...s,children:/* @__PURE__ */ i(l,{asChild:!0,...x(),children:/* @__PURE__ */ i(`ol`,{children:T(t,n,(e,n)=>/* @__PURE__ */ i(C,{addonAfter:e.addonAfter,children:/* @__PURE__ */ i(m,{auto:!0,content:e.label,children:/* @__PURE__ */ i(f,{asChild:!0,truncate:!0,children:n===t.length-1?/* @__PURE__ */ i(l,{"aria-current":n===t.length-1?`page`:void 0,children:e.label}):e.href?/* @__PURE__ */ i(g,{appearance:`subtle`,href:e.href,...b(),children:e.label}):e.execute?/* @__PURE__ */ i(g,{appearance:`subtle`,asChild:!0,...b(),children:/* @__PURE__ */ i(`button`,{onClick:()=>e.execute?.(),children:e.label})}):null})})}))})})})})});w.displayName=`@optiaxiom/react/Breadcrumb`;const T=(e,t=e.length,n)=>{t<0&&(t=0),(t>e.length||typeof t!=`number`)&&(t=e.length);let r=[0,Math.floor(t/2),e.length-Math.ceil(t/2),e.length];return[...e.slice(r[0],r[1]).map((e,t)=>/* @__PURE__ */ i(o,{children:n(e,t)},`left`+t)),r[2]>r[1]&&/* @__PURE__ */ i(C,{children:/* @__PURE__ */ i(_,{options:e.slice(r[1],r[2]),children:[/* @__PURE__ */ i(y,{appearance:`subtle`,"aria-label":`More items`,icon:/* @__PURE__ */ i(l,{asChild:!0,color:`fg.tertiary`,children:/* @__PURE__ */ i(h,{})})}),/* @__PURE__ */ i(v,{})]})},`ellipsis`),...e.slice(r[2],r[3]).map((e,t)=>/* @__PURE__ */ i(o,{children:n(e,r[2]+t)},`right`+t))]},E=`ax-breadcrumb`;var D=a(E,w,s,r);export{E as Breadcrumb,D as default};
1
+ import{a as e,d as t,k as n,n as r,r as i,t as a,w as o}from"../register-Cw2o7_6I.js";import{v as s}from"../propTypes-BuGUXuUg.js";import{r as c,t as l}from"../Box-55YQsWMw.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as u}from"../recipeRuntime-BkylZxVy.js";import{t as d}from"../Group-DKJlvhys.js";import{t as f}from"../Text-Di0zSuay.js";import{t as p}from"../fallbackSpan-CThGSmT4.js";import{t as m}from"../Tooltip-D_wABW5l.js";import{t as h}from"../more_horiz-rHqsUkG_.js";import{t as g}from"../Link-BVBAKvS5.js";import{t as _}from"../Menu-DCOYFw6T.js";import{t as v}from"../MenuContent-BGmK_H-r.js";import{t as y}from"../MenuTrigger-Dz0hJ2C0.js";n(`@layer optiaxiom.hjtpuo;@layer optiaxiom.hjtpuo{._1cvcovs{min-height:var(--ax-size-md)}._1ncmdrd,._1ncmdrd:visited{color:var(--ax-colors-fg-tertiary)}@media (hover:hover){._1ncmdrd:hover:not([data-disabled]){color:var(--ax-colors-fg-secondary)}}}`);var b=u({base:`_1ncmdrd`}),x=u({base:[{alignItems:`center`,color:`fg.default`,display:`flex`,fontSize:`md`,gap:`8`},`_1cvcovs`]});n(`@layer optiaxiom.hjtpuo;@layer optiaxiom.hjtpuo{._1g95hfi{max-width:calc(var(--ax-styles-scale, 1rem)*10)}._1g95hfi:not(:first-child):before{content:"/";color:var(--ax-colors-fg-tertiary);margin-right:calc(var(--ax-styles-scale, 1rem)*.25)}}`);var S=u({base:[{alignItems:`center`,display:`inline-flex`,gap:`4`,whiteSpace:`nowrap`},`_1g95hfi`]});t();const C=e(({addonAfter:e,children:t,className:n,...r},a)=>{let{boxProps:o,restProps:s}=c(r);return/* @__PURE__ */ i(l,{asChild:!0,...S({},n),...o,children:/* @__PURE__ */ i(`li`,{ref:a,...s,children:[t,e&&/* @__PURE__ */ i(d,{asChild:!0,flex:`none`,gap:`4`,children:p(e)})]})})});C.displayName=`@optiaxiom/react/BreadcrumbNode`,t();const w=e(({className:e,items:t,maxItems:n=3,...r},a)=>{let{boxProps:o,restProps:s}=c(r);return/* @__PURE__ */ i(l,{asChild:!0,className:e,...o,children:/* @__PURE__ */ i(`nav`,{"aria-label":`Breadcrumb`,ref:a,...s,children:/* @__PURE__ */ i(l,{asChild:!0,...x(),children:/* @__PURE__ */ i(`ol`,{children:T(t,n,(e,n)=>/* @__PURE__ */ i(C,{addonAfter:e.addonAfter,children:/* @__PURE__ */ i(m,{auto:!0,content:e.label,children:/* @__PURE__ */ i(f,{asChild:!0,truncate:!0,children:n===t.length-1?/* @__PURE__ */ i(l,{"aria-current":n===t.length-1?`page`:void 0,children:e.label}):e.href?/* @__PURE__ */ i(g,{appearance:`subtle`,href:e.href,...b(),children:e.label}):e.execute?/* @__PURE__ */ i(g,{appearance:`subtle`,asChild:!0,...b(),children:/* @__PURE__ */ i(`button`,{onClick:()=>e.execute?.(),children:e.label})}):null})})}))})})})})});w.displayName=`@optiaxiom/react/Breadcrumb`;const T=(e,t=e.length,n)=>{t<0&&(t=0),(t>e.length||typeof t!=`number`)&&(t=e.length);let r=[0,Math.floor(t/2),e.length-Math.ceil(t/2),e.length];return[...e.slice(r[0],r[1]).map((e,t)=>/* @__PURE__ */ i(o,{children:n(e,t)},`left`+t)),r[2]>r[1]&&/* @__PURE__ */ i(C,{children:/* @__PURE__ */ i(_,{options:e.slice(r[1],r[2]),children:[/* @__PURE__ */ i(y,{appearance:`subtle`,"aria-label":`More items`,icon:/* @__PURE__ */ i(l,{asChild:!0,color:`fg.tertiary`,children:/* @__PURE__ */ i(h,{})})}),/* @__PURE__ */ i(v,{})]})},`ellipsis`),...e.slice(r[2],r[3]).map((e,t)=>/* @__PURE__ */ i(o,{children:n(e,r[2]+t)},`right`+t))]},E=`ax-breadcrumb`;var D=a(E,w,s,r);export{E as Breadcrumb,D as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{b as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Button-BCJF4Ihp.js";const i=`ax-button`;var a=t(i,r,n,e);export{i as Button,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{b as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Button-Cs01fDrn.js";const i=`ax-button`;var a=t(i,r,n,e);export{i as Button,a as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{y as a}from"../propTypes-BuGUXuUg.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as o}from"../recipeRuntime-BkylZxVy.js";import{t as s}from"../Group-BbwOhXsj.js";import"../ButtonGroup.css.ts.vanilla-A3sMS8iF-CUDRiKo3.js";var c=o({base:`o1i0ag`});t();const l=e(({children:e,className:t,gap:n=`0`,orientation:i=`horizontal`,...a},o)=>/* @__PURE__ */ r(s,{"data-orientation":n===`0`?i:void 0,flexDirection:i===`vertical`?`column`:`row`,gap:n,ref:o,...c({},t),...a,children:e}));l.displayName=`@optiaxiom/react/ButtonGroup`;const u=`ax-button-group`;var d=i(u,l,a,n);export{u as ButtonGroup,d as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{y as a}from"../propTypes-BuGUXuUg.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as o}from"../recipeRuntime-BkylZxVy.js";import{t as s}from"../Group-DKJlvhys.js";import"../ToggleInputHiddenInput.css.ts.vanilla-D-kshq_d-ReawEPag.js";var c=o({base:`_8l533s`});t();const l=e(({children:e,className:t,gap:n=`0`,orientation:i=`horizontal`,...a},o)=>/* @__PURE__ */ r(s,{"data-orientation":n===`0`?i:void 0,flexDirection:i===`vertical`?`column`:`row`,gap:n,ref:o,...c({},t),...a,children:e}));l.displayName=`@optiaxiom/react/ButtonGroup`;const u=`ax-button-group`;var d=i(u,l,a,n);export{u as ButtonGroup,d as default};
@@ -1 +1 @@
1
- import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-Cw2o7_6I.js";import{O as o}from"../propTypes-BuGUXuUg.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as s}from"../recipeRuntime-BkylZxVy.js";import{t as c}from"../Group-BbwOhXsj.js";import{t as l}from"../dist-DMk5UOim.js";import"../Cover.css.ts.vanilla-B072yi42-C1R1QS9r.js";import{t as u}from"../ActionsRoot-CjaLLK0g.js";import{t as d}from"../CardContext-CL7gUAn6.js";n(`@layer optiaxiom.eeki7c;@layer optiaxiom.eeki7c{._18x42vn{--_1tyzyj0:var(--ax-borderRadius-lg);border-radius:var(--ax-borderRadius-lg);position:relative}}`);var f=s({base:[`_1v64ulh`,{alignItems:`start`,bg:`bg.default`,border:`1`,borderColor:`border.tertiary`,color:`fg.default`,flexDirection:`column`,fontSize:`md`,gap:`8`,p:`16`},`_18x42vn`]});t();const p=e(({children:e,className:t,...n},r)=>{let a=l(),o=l();return/* @__PURE__ */ i(d,{descriptionId:a,labelId:o,children:/* @__PURE__ */ i(u,{asChild:!0,children:/* @__PURE__ */ i(c,{ref:r,...f({},t),...n,children:e})})})});p.displayName=`@optiaxiom/react/Card`;const m=`ax-card`;var h=a(m,p,o,r);export{m as Card,h as default};
1
+ import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-Cw2o7_6I.js";import{O as o}from"../propTypes-BuGUXuUg.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as s}from"../recipeRuntime-BkylZxVy.js";import{t as c}from"../Group-DKJlvhys.js";import{t as l}from"../dist-DMk5UOim.js";import"../Cover.css.ts.vanilla-DJajfkND-BuAKNded.js";import{t as u}from"../ActionsRoot-ClLU2T6T.js";import{t as d}from"../CardContext-CL7gUAn6.js";n(`@layer optiaxiom.hjtpuo;@layer optiaxiom.hjtpuo{.te7kvq{--_2x7s5x:var(--ax-borderRadius-lg);border-radius:var(--ax-borderRadius-lg);position:relative}}`);var f=s({base:[`_14wb67d`,{alignItems:`start`,bg:`bg.default`,border:`1`,borderColor:`border.tertiary`,color:`fg.default`,flexDirection:`column`,fontSize:`md`,gap:`8`,p:`16`},`te7kvq`]});t();const p=e(({children:e,className:t,...n},r)=>{let a=l(),o=l();return/* @__PURE__ */ i(d,{descriptionId:a,labelId:o,children:/* @__PURE__ */ i(u,{asChild:!0,children:/* @__PURE__ */ i(c,{ref:r,...f({},t),...n,children:e})})})});p.displayName=`@optiaxiom/react/Card`;const m=`ax-card`;var h=a(m,p,o,r);export{m as Card,h as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{x as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../ActionsContent-3ggiPahp.js";t();const s=e(({children:e,...t},n)=>/* @__PURE__ */ r(o,{flex:`1`,ref:n,...t,children:e}));s.displayName=`@optiaxiom/react/CardAction`;const c=`ax-card-action`;var l=i(c,s,a,n);export{c as CardAction,l as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{x as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../ActionsContent-BBtCTJ8i.js";t();const s=e(({children:e,...t},n)=>/* @__PURE__ */ r(o,{flex:`1`,ref:n,...t,children:e}));s.displayName=`@optiaxiom/react/CardAction`;const c=`ax-card-action`;var l=i(c,s,a,n);export{c as CardAction,l as default};
@@ -1 +1 @@
1
- import{E as e,a as t,d as n,k as r,n as i,r as a,t as o,w as s}from"../register-Cw2o7_6I.js";import{S as c}from"../propTypes-BuGUXuUg.js";import{i as l}from"../Box-CgPf7h9G.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as u}from"../recipeRuntime-BkylZxVy.js";import{t as d}from"../dist-CHyzwbg8.js";import{t as f}from"../dist-DMk5UOim.js";import{t as p}from"../VisuallyHidden-DtUBgMX3.js";import{t as m}from"../Checkbox-B7syhyVK.js";import{n as h}from"../CardContext-CL7gUAn6.js";r(`@layer optiaxiom.eeki7c;@layer optiaxiom.eeki7c{._19ugk13{position:relative}._19ugk13:before{content:"";inset:calc(var(--ax-styles-scale, 1rem)*-.5);position:absolute}}`);var g=u({base:[`_19ugk13`]});n(),e();const _=t(({className:e,onChange:t,...n},r)=>{let i=f(),{labelId:o}=h(`@optiaxiom/react/CardCheckbox`),[c,u]=d({caller:`@optiaxiom/react/CardCheckbox`,defaultProp:n.defaultChecked,prop:n.checked});return/* @__PURE__ */ a(s,{children:[/* @__PURE__ */ a(p,{id:i,children:[`Check to `,c?`unselect`:`select`]}),/* @__PURE__ */ a(m,{"aria-labelledby":l(i,o),onChange:e=>{t?.(e),u(e.target.checked)},ref:r,...g({},e),...n})]})});_.displayName=`@optiaxiom/react/CardCheckbox`;const v=`ax-card-checkbox`;var y=o(v,_,c,i);export{v as CardCheckbox,y as default};
1
+ import{E as e,a as t,d as n,k as r,n as i,r as a,t as o,w as s}from"../register-Cw2o7_6I.js";import{S as c}from"../propTypes-BuGUXuUg.js";import{i as l}from"../Box-55YQsWMw.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as u}from"../recipeRuntime-BkylZxVy.js";import{t as d}from"../dist-CHyzwbg8.js";import{t as f}from"../dist-DMk5UOim.js";import{t as p}from"../VisuallyHidden-DtUBgMX3.js";import{t as m}from"../Checkbox-BJW_VV6P.js";import{n as h}from"../CardContext-CL7gUAn6.js";r(`@layer optiaxiom.hjtpuo;@layer optiaxiom.hjtpuo{.avlrni{position:relative}.avlrni:before{content:"";inset:calc(var(--ax-styles-scale, 1rem)*-.5);position:absolute}}`);var g=u({base:[`avlrni`]});n(),e();const _=t(({className:e,onChange:t,...n},r)=>{let i=f(),{labelId:o}=h(`@optiaxiom/react/CardCheckbox`),[c,u]=d({caller:`@optiaxiom/react/CardCheckbox`,defaultProp:n.defaultChecked,prop:n.checked});return/* @__PURE__ */ a(s,{children:[/* @__PURE__ */ a(p,{id:i,children:[`Check to `,c?`unselect`:`select`]}),/* @__PURE__ */ a(m,{"aria-labelledby":l(i,o),onChange:e=>{t?.(e),u(e.target.checked)},ref:r,...g({},e),...n})]})});_.displayName=`@optiaxiom/react/CardCheckbox`;const v=`ax-card-checkbox`;var y=o(v,_,c,i);export{v as CardCheckbox,y as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{C as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-CgPf7h9G.js";t();const s=e(({children:e,...t},n)=>/* @__PURE__ */ r(o,{alignSelf:`stretch`,mt:`auto`,ref:n,...t,children:e}));s.displayName=`@optiaxiom/react/CardFooter`;const c=`ax-card-footer`;var l=i(c,s,a,n);export{c as CardFooter,l as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{C as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-55YQsWMw.js";t();const s=e(({children:e,...t},n)=>/* @__PURE__ */ r(o,{alignSelf:`stretch`,mt:`auto`,ref:n,...t,children:e}));s.displayName=`@optiaxiom/react/CardFooter`;const c=`ax-card-footer`;var l=i(c,s,a,n);export{c as CardFooter,l as default};
@@ -1 +1 @@
1
- import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-Cw2o7_6I.js";import{w as o}from"../propTypes-BuGUXuUg.js";import{t as s}from"../Box-CgPf7h9G.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as c}from"../recipeRuntime-BkylZxVy.js";import{t as l}from"../Group-BbwOhXsj.js";import{t as u}from"../Heading-DsvqX2it.js";import{n as d}from"../CardContext-CL7gUAn6.js";n(`@layer optiaxiom.eeki7c;@layer optiaxiom.eeki7c{.yqy73x{min-height:var(--ax-size-sm)}.rsh1mb{order:3}._1gk85za{order:1}.phxdox{order:2}}`);var f=c({base:[{flex:`none`,gap:`8`}],variants:{slot:{after:`rsh1mb`,before:`_1gk85za`}}}),p=c({base:[{flex:`1`},`phxdox`]}),m=c({base:[{alignSelf:`stretch`,gap:`12`,justifyContent:`space-between`},`yqy73x`]});t();const h=e(({addonAfter:e,addonBefore:t,children:n,className:r,description:a,lineClamp:o,truncate:c,...h},g)=>{let{descriptionId:_,labelId:v}=d(`@optiaxiom/react/CardHeader`);return/* @__PURE__ */ i(l,{ref:g,...m({},r),...h,children:[/* @__PURE__ */ i(s,{...p(),children:[/* @__PURE__ */ i(u,{fontSize:`md`,fontWeight:`500`,id:v,level:`2`,lineClamp:o,truncate:c,children:n}),a&&/* @__PURE__ */ i(s,{color:`fg.tertiary`,fontSize:`sm`,id:_,children:a})]}),t&&/* @__PURE__ */ i(l,{...f({slot:`before`}),children:t}),e&&/* @__PURE__ */ i(l,{...f({slot:`after`}),children:e})]})});h.displayName=`@optiaxiom/react/CardHeader`;const g=`ax-card-header`;var _=a(g,h,o,r);export{g as CardHeader,_ as default};
1
+ import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-Cw2o7_6I.js";import{w as o}from"../propTypes-BuGUXuUg.js";import{t as s}from"../Box-55YQsWMw.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as c}from"../recipeRuntime-BkylZxVy.js";import{t as l}from"../Group-DKJlvhys.js";import{t as u}from"../Heading-DKHqw2RC.js";import{n as d}from"../CardContext-CL7gUAn6.js";n(`@layer optiaxiom.hjtpuo;@layer optiaxiom.hjtpuo{._7f0vn5{min-height:var(--ax-size-sm)}._1wlwyrv{order:3}._119zcyw{order:1}.ic517o{order:2}}`);var f=c({base:[{flex:`none`,gap:`8`}],variants:{slot:{after:`_1wlwyrv`,before:`_119zcyw`}}}),p=c({base:[{flex:`1`},`ic517o`]}),m=c({base:[{alignSelf:`stretch`,gap:`12`,justifyContent:`space-between`},`_7f0vn5`]});t();const h=e(({addonAfter:e,addonBefore:t,children:n,className:r,description:a,lineClamp:o,truncate:c,...h},g)=>{let{descriptionId:_,labelId:v}=d(`@optiaxiom/react/CardHeader`);return/* @__PURE__ */ i(l,{ref:g,...m({},r),...h,children:[/* @__PURE__ */ i(s,{...p(),children:[/* @__PURE__ */ i(u,{fontSize:`md`,fontWeight:`500`,id:v,level:`2`,lineClamp:o,truncate:c,children:n}),a&&/* @__PURE__ */ i(s,{color:`fg.tertiary`,fontSize:`sm`,id:_,children:a})]}),t&&/* @__PURE__ */ i(l,{...f({slot:`before`}),children:t}),e&&/* @__PURE__ */ i(l,{...f({slot:`after`}),children:e})]})});h.displayName=`@optiaxiom/react/CardHeader`;const g=`ax-card-header`;var _=a(g,h,o,r);export{g as CardHeader,_ as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{T as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-CgPf7h9G.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as s}from"../recipeRuntime-BkylZxVy.js";var c=s({base:{objectFit:`cover`,rounded:`inherit`,size:`full`}});t();const l=e(({alt:e=``,asChild:t,children:n,className:i,src:a,...s},l)=>/* @__PURE__ */ r(o,{asChild:!0,ref:l,...c({},i),...s,children:t?n:/* @__PURE__ */ r(`img`,{alt:e,src:a})}));l.displayName=`@optiaxiom/react/CardImage`;const u=`ax-card-image`;var d=i(u,l,a,n);export{u as CardImage,d as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{T as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-55YQsWMw.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as s}from"../recipeRuntime-BkylZxVy.js";var c=s({base:{objectFit:`cover`,rounded:`inherit`,size:`full`}});t();const l=e(({alt:e=``,asChild:t,children:n,className:i,src:a,...s},l)=>/* @__PURE__ */ r(o,{asChild:!0,ref:l,...c({},i),...s,children:t?n:/* @__PURE__ */ r(`img`,{alt:e,src:a})}));l.displayName=`@optiaxiom/react/CardImage`;const u=`ax-card-image`;var d=i(u,l,a,n);export{u as CardImage,d as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{E as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Link-D7jzck48.js";t();const s=e(({...e},t)=>/* @__PURE__ */ r(o,{appearance:`subtle`,cover:!0,ref:t,...e}));s.displayName=`@optiaxiom/react/CardLink`;const c=`ax-card-link`;var l=i(c,s,a,n);export{c as CardLink,l as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{E as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Link-BVBAKvS5.js";t();const s=e(({...e},t)=>/* @__PURE__ */ r(o,{appearance:`subtle`,cover:!0,ref:t,...e}));s.displayName=`@optiaxiom/react/CardLink`;const c=`ax-card-link`;var l=i(c,s,a,n);export{c as CardLink,l as default};
@@ -1 +1 @@
1
- import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-Cw2o7_6I.js";import{D as o}from"../propTypes-BuGUXuUg.js";import{t as s}from"../Box-CgPf7h9G.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as c}from"../recipeRuntime-BkylZxVy.js";n(`@layer optiaxiom.eeki7c;@layer optiaxiom.eeki7c{._1ek4grj{border-top-left-radius:inherit;border-top-right-radius:inherit;margin:calc(var(--ax-styles-scale, 1rem)*-1) calc(var(--ax-styles-scale, 1rem)*-1) calc(var(--ax-styles-scale, 1rem)*.5);position:relative}.lpbnzw{inset:0;padding:calc(var(--ax-styles-scale, 1rem)*1);place-content:space-between;position:absolute}}`);var l=c({base:[{display:`flex`,flexWrap:`wrap`},`lpbnzw`]}),u=c({base:[{alignSelf:`stretch`,display:`grid`,placeItems:`center`},`_1ek4grj`]});t();const d=e(({addonBottomLeft:e,addonBottomRight:t,addonTopLeft:n,addonTopRight:r,children:a,className:o,...c},d)=>/* @__PURE__ */ i(s,{ref:d,...u({},o),...c,children:[a,(n||r)&&/* @__PURE__ */ i(s,{...l(),children:[/* @__PURE__ */ i(s,{alignItems:`center`,alignSelf:`start`,display:`flex`,justifyContent:`space-between`,children:n}),/* @__PURE__ */ i(s,{alignItems:`center`,alignSelf:`start`,display:`flex`,justifyContent:`space-between`,children:r}),/* @__PURE__ */ i(s,{w:`full`}),/* @__PURE__ */ i(s,{alignItems:`center`,alignSelf:`end`,display:`flex`,justifyContent:`space-between`,children:e}),/* @__PURE__ */ i(s,{alignItems:`center`,alignSelf:`end`,display:`flex`,justifyContent:`space-between`,children:t})]})]}));d.displayName=`@optiaxiom/react/CardPreview`;const f=`ax-card-preview`;var p=a(f,d,o,r);export{f as CardPreview,p as default};
1
+ import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-Cw2o7_6I.js";import{D as o}from"../propTypes-BuGUXuUg.js";import{t as s}from"../Box-55YQsWMw.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as c}from"../recipeRuntime-BkylZxVy.js";n(`@layer optiaxiom.hjtpuo;@layer optiaxiom.hjtpuo{._46b7lt{border-top-left-radius:inherit;border-top-right-radius:inherit;margin:calc(var(--ax-styles-scale, 1rem)*-1) calc(var(--ax-styles-scale, 1rem)*-1) calc(var(--ax-styles-scale, 1rem)*.5);position:relative}.nyu5ks{inset:0;padding:calc(var(--ax-styles-scale, 1rem)*1);place-content:space-between;position:absolute}}`);var l=c({base:[{display:`flex`,flexWrap:`wrap`},`nyu5ks`]}),u=c({base:[{alignSelf:`stretch`,display:`grid`,placeItems:`center`},`_46b7lt`]});t();const d=e(({addonBottomLeft:e,addonBottomRight:t,addonTopLeft:n,addonTopRight:r,children:a,className:o,...c},d)=>/* @__PURE__ */ i(s,{ref:d,...u({},o),...c,children:[a,(n||r)&&/* @__PURE__ */ i(s,{...l(),children:[/* @__PURE__ */ i(s,{alignItems:`center`,alignSelf:`start`,display:`flex`,justifyContent:`space-between`,children:n}),/* @__PURE__ */ i(s,{alignItems:`center`,alignSelf:`start`,display:`flex`,justifyContent:`space-between`,children:r}),/* @__PURE__ */ i(s,{w:`full`}),/* @__PURE__ */ i(s,{alignItems:`center`,alignSelf:`end`,display:`flex`,justifyContent:`space-between`,children:e}),/* @__PURE__ */ i(s,{alignItems:`center`,alignSelf:`end`,display:`flex`,justifyContent:`space-between`,children:t})]})]}));d.displayName=`@optiaxiom/react/CardPreview`;const f=`ax-card-preview`;var p=a(f,d,o,r);export{f as CardPreview,p as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{k as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Checkbox-B7syhyVK.js";const i=`ax-checkbox`;var a=t(i,r,n,e);export{i as Checkbox,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{k as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Checkbox-BJW_VV6P.js";const i=`ax-checkbox`;var a=t(i,r,n,e);export{i as Checkbox,a as default};
@@ -1 +1 @@
1
- import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-Cw2o7_6I.js";import{A as o}from"../propTypes-BuGUXuUg.js";import{r as s,t as c}from"../Box-CgPf7h9G.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as l}from"../recipeRuntime-BkylZxVy.js";import{t as u}from"../dist-DI6sImhV.js";n('@layer optiaxiom.eeki7c;@layer optiaxiom.eeki7c{._18e6aik{font-size:.9em;font-variant-ligatures:none}._18e6aik:after,._18e6aik:before{content:"`"}}');var d=l({base:[{fontWeight:`600`},`_18e6aik`]});t();const f=u(`@optiaxiom/react/Code`),p=e(({asChild:e,children:t,className:n,...r},a)=>{let o=e?f:`code`,{boxProps:l,restProps:u}=s(r);return/* @__PURE__ */ i(c,{asChild:!0,...d({},n),...l,children:/* @__PURE__ */ i(o,{ref:a,...u,children:t})})});p.displayName=`@optiaxiom/react/Code`;const m=`ax-code`;var h=a(m,p,o,r);export{m as Code,h as default};
1
+ import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-Cw2o7_6I.js";import{A as o}from"../propTypes-BuGUXuUg.js";import{r as s,t as c}from"../Box-55YQsWMw.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as l}from"../recipeRuntime-BkylZxVy.js";import{t as u}from"../dist-DI6sImhV.js";n('@layer optiaxiom.hjtpuo;@layer optiaxiom.hjtpuo{._71ijp0{font-size:.9em;font-variant-ligatures:none}._71ijp0:after,._71ijp0:before{content:"`"}}');var d=l({base:[{fontWeight:`600`},`_71ijp0`]});t();const f=u(`@optiaxiom/react/Code`),p=e(({asChild:e,children:t,className:n,...r},a)=>{let o=e?f:`code`,{boxProps:l,restProps:u}=s(r);return/* @__PURE__ */ i(c,{asChild:!0,...d({},n),...l,children:/* @__PURE__ */ i(o,{ref:a,...u,children:t})})});p.displayName=`@optiaxiom/react/Code`;const m=`ax-code`;var h=a(m,p,o,r);export{m as Code,h as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{j as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Cover-y-1EBwD7.js";const i=`ax-cover`;var a=t(i,r,n,e);export{i as Cover,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{j as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Cover-BSADh7J8.js";const i=`ax-cover`;var a=t(i,r,n,e);export{i as Cover,a as default};
@@ -1 +1 @@
1
- import{_ as e,a as t,d as n,n as r,r as i,t as a}from"../register-Cw2o7_6I.js";import{L as o}from"../propTypes-BuGUXuUg.js";import{t as s}from"../Group-BbwOhXsj.js";import{t as c}from"../DataTableContext-CkTl7WbX.js";n();const l=t(({children:t,table:n,...r},a)=>{let[o,l]=e(-1);return/* @__PURE__ */ i(s,{flexDirection:`column`,gap:`8`,maxH:`full`,maxW:`full`,ref:a,...r,children:/* @__PURE__ */ i(c,{highlightedIndex:o,setHighlightedIndex:l,table:n,children:t})})});l.displayName=`@optiaxiom/react/DataTable`;const u=`ax-data-table`;var d=a(u,l,o,r);export{u as DataTable,d as default};
1
+ import{_ as e,a as t,d as n,n as r,p as i,r as a,t as o}from"../register-Cw2o7_6I.js";import{L as s}from"../propTypes-BuGUXuUg.js";import{t as c}from"../Group-DKJlvhys.js";import{t as l}from"../DataTableContext-CkTl7WbX.js";n();const u=t(({children:t,table:n,...r},o)=>{let[s,u]=e(-1),d=i(!1);return/* @__PURE__ */ a(c,{flexDirection:`column`,gap:`8`,maxH:`full`,maxW:`full`,ref:o,...r,children:/* @__PURE__ */ a(l,{focusRequestRef:d,highlightedIndex:s,setHighlightedIndex:u,table:n,children:t})})});u.displayName=`@optiaxiom/react/DataTable`;const d=`ax-data-table`;var f=o(d,u,s,r);export{d as DataTable,f as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{M as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../DataTableAction-D2KOvjn7.js";const i=`ax-data-table-action`;var a=t(i,r,n,e);export{i as DataTableAction,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{M as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../DataTableAction-4TJ7M6ln.js";const i=`ax-data-table-action`;var a=t(i,r,n,e);export{i as DataTableAction,a as default};
@@ -1,4 +1,4 @@
1
- import{D as e,_ as t,a as n,d as r,h as i,k as a,n as o,p as s,r as c,t as l,y as u}from"../register-Cw2o7_6I.js";import{N as d}from"../propTypes-BuGUXuUg.js";import{t as f}from"../Box-CgPf7h9G.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as p}from"../recipeRuntime-BkylZxVy.js";import{n as m}from"../dist-9M8M6YRc.js";import{t as h}from"../Icon-szx5dIuP.js";import{t as g}from"../dist-DMk5UOim.js";import{t as _}from"../vanilla-extract-dynamic.esm-BTVburtF.js";import{t as v}from"../VisuallyHidden-DtUBgMX3.js";import{t as y}from"../useEvent-CYI6jbL9.js";import{t as b}from"../Separator-BfYIHZG_.js";import{t as x}from"../Cover-y-1EBwD7.js";import{t as S}from"../withIcon-BPdmWr6f.js";import{t as C}from"../esm-Cp87DntX.js";import{t as w}from"../ActionsRoot-CjaLLK0g.js";import{t as T}from"../ActionsContent-3ggiPahp.js";import{n as E}from"../DataTableContext-CkTl7WbX.js";import{t as D}from"../Table-psiwJXtx.js";import{t as O}from"../TableBody-SMWDi1u4.js";import"../TableRow.css.ts.vanilla-CdLG6x1P-Bb7bYC1g.js";import{t as k}from"../TableCell-BgcL-Pxa.js";import{t as A}from"../TableHeader-sUG1iaGK.js";import{t as j}from"../TableHeaderCell-CqRDkmCn.js";import{t as M}from"../TableRow-B5qT-gHd.js";import{n as N,t as P}from"../DataTableRowContext-CZM-eGaK.js";a(`@property --xyzlrl{syntax:"<color>";inherits:false;initial-value:#0000}@layer optiaxiom.eeki7c;@layer optiaxiom.eeki7c{.qre1nt{position:relative}.qre1nt[data-scroll-timeline]:after{background-image:linear-gradient(270deg,#0000001a,#0000);right:var(--_9f8h0y)}.qre1nt[data-scroll-timeline]:before{background-image:linear-gradient(90deg,#0000001a,#0000);left:var(--hqy0dl)}.qre1nt[data-scroll-timeline]:after,.qre1nt[data-scroll-timeline]:before{content:"";display:block;height:100%;opacity:0;pointer-events:none;position:absolute;top:0;transition:opacity .3s;width:calc(var(--ax-styles-scale, 1rem)*1);z-index:1}.qre1nt[data-scroll-timeline]:not([data-scroll-timeline=left]):before,.qre1nt[data-scroll-timeline]:not([data-scroll-timeline=right]):after{opacity:1}.tc9st7{width:calc(1px*var(--crzapv))}._1bj276q{left:var(--h0lz08)}.mwlldm{right:var(--h0lz08)}.ei5nfy{background-color:var(--ax-colors-bg-default);background-image:linear-gradient(var(--xyzlrl),var(--xyzlrl));transition:--xyzlrl var(--ax-duration-sm) ease}._1jivtpt[data-selected] .ei5nfy{--xyzlrl:var(--ax-colors-bg-accent-subtle)}.jval95{flex-grow:calc(var(--crzapv)/var(--_1med8g2))}@media (hover:hover){._1jivtpt:hover .ei5nfy{--xyzlrl:var(--ax-colors-bg-default-hovered)}._1jivtpt[data-selected]:hover .ei5nfy{--xyzlrl:color-mix(in srgb,var(--ax-colors-bg-accent-subtle),var(--ax-colors-bg-accent-light) 15%)}}}`);var F=p({base:[{alignItems:`start`,display:`flex`},`tc9st7`],variants:{pinned:{left:`_1bj276q`,right:`mwlldm`},pinnedType:{body:`ei5nfy`,header:{}},resizable:{false:{},true:`jval95`}}}),I=`var(--h0lz08)`,L=`var(--crzapv)`,R=`var(--hqy0dl)`,z=`var(--_9f8h0y)`,B=p({base:[{display:`flex`,flexDirection:`column`,maxW:`full`,overflow:`hidden`,rounded:`lg`},`qre1nt`]}),ee=`var(--_1med8g2)`;const te=S({height:12,name:`IconSort`,width:14},/* @__PURE__ */ c(`path`,{d:`M3.88274 5.25H10.0937C10.6562 5.25 10.9609 4.57031 10.539 4.14844L7.44524 0.960938C7.32805 0.820312 7.16399 0.75 6.99993 0.75C6.83586 0.75 6.64836 0.820312 6.53118 0.960938L3.43743 4.14844C3.01555 4.57031 3.32024 5.25 3.88274 5.25ZM10.0937 6.75H3.88274C3.32024 6.75 3.01555 7.45312 3.43743 7.875L6.53118 11.0625C6.64836 11.2031 6.81243 11.25 6.99993 11.25C7.16399 11.25 7.32805 11.2031 7.44524 11.0625L10.539 7.875C10.9609 7.45312 10.6562 6.75 10.0937 6.75Z`,fill:`currentColor`})),ne=S({height:12,name:`IconSortDown`,width:14},/* @__PURE__ */ c(`path`,{d:`M10.5156 5.78906L7.53907 8.78906C7.375 8.92969 7.1875 9 7 9C6.78907 9 6.60157 8.92969 6.46094 8.78906L3.48438 5.78906C3.25 5.57812 3.17969 5.25 3.29688 4.96875C3.41407 4.6875 3.69532 4.5 4 4.5H9.97657C10.2813 4.5 10.5391 4.6875 10.6563 4.96875C10.7734 5.25 10.7266 5.57812 10.5156 5.78906Z`,fill:`currentColor`})),re=S({height:12,name:`IconSortUp`,width:14},/* @__PURE__ */ c(`path`,{d:`M3.46099 6.23438L6.43756 3.23438C6.60162 3.09375 6.78912 3 7.00006 3C7.18756 3 7.37506 3.09375 7.51568 3.23438L10.4922 6.23438C10.7032 6.44531 10.7735 6.77344 10.6563 7.05469C10.5391 7.33594 10.2813 7.5 9.97662 7.5H4.00006C3.69537 7.5 3.41412 7.33594 3.29693 7.05469C3.17974 6.77344 3.25006 6.44531 3.46099 6.23438Z`,fill:`currentColor`}));a(`@layer optiaxiom.eeki7c;@layer optiaxiom.eeki7c{.debvws{color:var(--ax-colors-fg-tertiary);text-decoration:none;-webkit-user-select:none;user-select:none}.debvws:focus-visible{outline:none;z-index:10}.vdt9tk{grid-area:1/1/2/2}.p0g2c9{opacity:0}._1e02v9f{opacity:1}._1eouka5{border-left-width:3px;cursor:col-resize;position:absolute;right:0;top:0;touch-action:none;-webkit-user-select:none;user-select:none}@media (hover:hover){.debvws:hover{color:var(--ax-colors-fg-secondary)}}}`);var V=p({base:[{alignItems:`center`,display:`flex`,gap:`4`,justifyContent:`flex-start`,rounded:`md`,textAlign:`start`,textTransform:`uppercase`,transition:`colors`,w:`full`},`debvws`]}),H=p({base:[{h:`full`,z:`10`},`_1eouka5`],variants:{resizing:{false:{},true:{borderColor:`border.focus`}}}}),U=p({base:[{h:`12`,mx:`2`,transition:`opacity`},`vdt9tk`],variants:{active:{false:`p0g2c9`,true:`_1e02v9f`}}});r();
1
+ import{D as e,_ as t,a as n,d as r,h as i,k as a,n as o,p as s,r as c,t as l,x as u,y as d}from"../register-Cw2o7_6I.js";import{N as f}from"../propTypes-BuGUXuUg.js";import{t as p}from"../Box-55YQsWMw.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as m}from"../recipeRuntime-BkylZxVy.js";import{n as h}from"../dist-9M8M6YRc.js";import{t as g}from"../Icon-hDBhzU6C.js";import{t as _}from"../dist-DMk5UOim.js";import{t as v}from"../vanilla-extract-dynamic.esm-BTVburtF.js";import{t as y}from"../VisuallyHidden-DtUBgMX3.js";import{t as b}from"../useEvent-CYI6jbL9.js";import{t as x}from"../Separator-hdIEC5Sd.js";import{t as S}from"../Cover-BSADh7J8.js";import{t as C}from"../withIcon-BPdmWr6f.js";import{n as w,t as T}from"../esm-QgKqvLOn.js";import{t as E}from"../ActionsRoot-ClLU2T6T.js";import{t as D}from"../ActionsContent-BBtCTJ8i.js";import{n as O}from"../DataTableContext-CkTl7WbX.js";import{t as ee}from"../Table-CR6NxDTe.js";import{t as te}from"../TableBody-XWzhG_pp.js";import"../TableRow.css.ts.vanilla-vkZ1kptU-CA0sSUbt.js";import{t as k}from"../TableCell-Dwub1BfS.js";import{t as ne}from"../TableHeader-1vQtt1e3.js";import{t as A}from"../TableHeaderCell-oEt0FiLi.js";import{t as j}from"../TableRow-B2IVe9m1.js";import{n as M,t as N}from"../DataTableRowContext-DicjSXhd.js";a(`@property --df6uax{syntax:"<color>";inherits:false;initial-value:#0000}@layer optiaxiom.hjtpuo;@layer optiaxiom.hjtpuo{._8974ri{position:relative}._8974ri[data-scroll-timeline]:after{background-image:linear-gradient(270deg,#0000001a,#0000);right:var(--eni9fb)}._8974ri[data-scroll-timeline]:before{background-image:linear-gradient(90deg,#0000001a,#0000);left:var(--zc5q09)}._8974ri[data-scroll-timeline]:after,._8974ri[data-scroll-timeline]:before{content:"";display:block;height:100%;opacity:0;pointer-events:none;position:absolute;top:0;transition:opacity .3s;width:calc(var(--ax-styles-scale, 1rem)*1);z-index:1}._8974ri[data-scroll-timeline]:not([data-scroll-timeline=left]):before,._8974ri[data-scroll-timeline]:not([data-scroll-timeline=right]):after{opacity:1}._1b9wkde{width:calc(1px*var(--i3jnz2))}._1tk6612{left:var(--h1npq9)}._1cuu51x{right:var(--h1npq9)}.wjz385{background-color:var(--ax-colors-bg-default);background-image:linear-gradient(var(--df6uax),var(--df6uax));transition:--df6uax var(--ax-duration-sm) ease}.v43xcm[data-selected] .wjz385{--df6uax:var(--ax-colors-bg-accent-subtle)}.oj2z10{flex-grow:calc(var(--i3jnz2)/var(--_19xwi3c))}@media (hover:hover){.v43xcm:hover .wjz385{--df6uax:var(--ax-colors-bg-default-hovered)}.v43xcm[data-selected]:hover .wjz385{--df6uax:color-mix(in srgb,var(--ax-colors-bg-accent-subtle),var(--ax-colors-bg-accent-light) 15%)}}}`);var P=m({base:[{alignItems:`start`,display:`flex`},`_1b9wkde`],variants:{pinned:{left:`_1tk6612`,right:`_1cuu51x`},pinnedType:{body:`wjz385`,header:{}},resizable:{false:{},true:`oj2z10`}}}),F=`var(--h1npq9)`,I=`var(--i3jnz2)`,re=`var(--zc5q09)`,L=`var(--eni9fb)`,R=m({base:[{display:`flex`,flexDirection:`column`,maxW:`full`,overflow:`hidden`,rounded:`lg`},`_8974ri`]}),z=`var(--_19xwi3c)`;const B=C({height:12,name:`IconSort`,width:14},/* @__PURE__ */ c(`path`,{d:`M3.88274 5.25H10.0937C10.6562 5.25 10.9609 4.57031 10.539 4.14844L7.44524 0.960938C7.32805 0.820312 7.16399 0.75 6.99993 0.75C6.83586 0.75 6.64836 0.820312 6.53118 0.960938L3.43743 4.14844C3.01555 4.57031 3.32024 5.25 3.88274 5.25ZM10.0937 6.75H3.88274C3.32024 6.75 3.01555 7.45312 3.43743 7.875L6.53118 11.0625C6.64836 11.2031 6.81243 11.25 6.99993 11.25C7.16399 11.25 7.32805 11.2031 7.44524 11.0625L10.539 7.875C10.9609 7.45312 10.6562 6.75 10.0937 6.75Z`,fill:`currentColor`})),V=C({height:12,name:`IconSortDown`,width:14},/* @__PURE__ */ c(`path`,{d:`M10.5156 5.78906L7.53907 8.78906C7.375 8.92969 7.1875 9 7 9C6.78907 9 6.60157 8.92969 6.46094 8.78906L3.48438 5.78906C3.25 5.57812 3.17969 5.25 3.29688 4.96875C3.41407 4.6875 3.69532 4.5 4 4.5H9.97657C10.2813 4.5 10.5391 4.6875 10.6563 4.96875C10.7734 5.25 10.7266 5.57812 10.5156 5.78906Z`,fill:`currentColor`})),H=C({height:12,name:`IconSortUp`,width:14},/* @__PURE__ */ c(`path`,{d:`M3.46099 6.23438L6.43756 3.23438C6.60162 3.09375 6.78912 3 7.00006 3C7.18756 3 7.37506 3.09375 7.51568 3.23438L10.4922 6.23438C10.7032 6.44531 10.7735 6.77344 10.6563 7.05469C10.5391 7.33594 10.2813 7.5 9.97662 7.5H4.00006C3.69537 7.5 3.41412 7.33594 3.29693 7.05469C3.17974 6.77344 3.25006 6.44531 3.46099 6.23438Z`,fill:`currentColor`}));a(`@layer optiaxiom.hjtpuo;@layer optiaxiom.hjtpuo{.l8kist{color:var(--ax-colors-fg-tertiary);text-decoration:none;-webkit-user-select:none;user-select:none}.l8kist:focus-visible{outline:none;z-index:10}.bw7749{grid-area:1/1/2/2}._9afjhd{opacity:0}._1bv623l{opacity:1}._1rh1bl2{border-left-width:3px;cursor:col-resize;position:absolute;right:0;top:0;touch-action:none;-webkit-user-select:none;user-select:none}@media (hover:hover){.l8kist:hover{color:var(--ax-colors-fg-secondary)}}}`);var U=m({base:[{alignItems:`center`,display:`flex`,gap:`4`,justifyContent:`flex-start`,rounded:`md`,textAlign:`start`,textTransform:`uppercase`,transition:`colors`,w:`full`},`l8kist`]}),W=m({base:[{h:`full`,z:`10`},`_1rh1bl2`],variants:{resizing:{false:{},true:{borderColor:`border.focus`}}}}),G=m({base:[{h:`12`,mx:`2`,transition:`opacity`},`bw7749`],variants:{active:{false:`_9afjhd`,true:`_1bv623l`}}});r();
2
2
  /**
3
3
  * react-table
4
4
  *
@@ -9,4 +9,4 @@ import{D as e,_ as t,a as n,d as r,h as i,k as a,n as o,p as s,r as c,t as l,y a
9
9
  *
10
10
  * @license MIT
11
11
  */
12
- function W(t,n){return t?G(t)?/*#__PURE__*/ e(t,n):t:null}function G(e){return K(e)||typeof e==`function`||q(e)}function K(e){return typeof e==`function`&&(()=>{let t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function q(e){return typeof e==`object`&&typeof e.$$typeof==`symbol`&&[`react.memo`,`react.forward_ref`].includes(e.$$typeof.description)}r();const J=n(({children:e,header:t,...n},r)=>{let i=t.column.getIsSorted();return/* @__PURE__ */ c(w,{asChild:!0,children:/* @__PURE__ */ c(j,{"aria-sort":t.column.getCanSort()?i===!1?`none`:i===`asc`?`ascending`:`descending`:void 0,colSpan:t.colSpan,ref:r,...n,children:[t.column.getCanResize()&&/* @__PURE__ */ c(T,{visible:t.column.getIsResizing()?`always`:`if-needed`,children:/* @__PURE__ */ c(b,{onDoubleClick:()=>t.column.resetSize(),onMouseDown:t.getResizeHandler(),onTouchStart:t.getResizeHandler(),orientation:`vertical`,style:{transform:t.getContext().table.options.columnResizeMode===`onEnd`&&t.column.getIsResizing()?`translateX(${t.getContext().table.getState().columnSizingInfo.deltaOffset}px)`:``},...H({resizing:t.column.getIsResizing()})})}),t.column.getCanSort()?/* @__PURE__ */ c(x,{asChild:!0,inset:!0,...V(),children:/* @__PURE__ */ c(`button`,{onClick:()=>t.column.toggleSorting(),children:[e,i&&/* @__PURE__ */ c(v,{children:[`sorted `,i===`asc`?`ascending`:`descending`]}),/* @__PURE__ */ c(T,{display:`grid`,placeItems:`center`,visible:i?`always`:`if-needed`,children:[/* @__PURE__ */ c(h,{asChild:!0,...U({active:i===!1}),children:/* @__PURE__ */ c(te,{})}),/* @__PURE__ */ c(h,{asChild:!0,...U({active:i===`asc`}),children:/* @__PURE__ */ c(re,{})}),/* @__PURE__ */ c(h,{asChild:!0,...U({active:i===`desc`}),children:/* @__PURE__ */ c(ne,{})})]})]})}):e]})})});J.displayName=`@optiaxiom/react/DataTableHeaderCell`,r();const Y=n(({children:e,index:n,row:r,...i},a)=>{let{highlightedIndex:o,setHighlightedIndex:l,table:d}=E(`@optiaxiom/react/DataTableRow`),[f,p]=t(-1),h=g(),_=s(null),v=m(_,a);u(()=>{if(o===n)return _.current?.contains((()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})())||_.current?.focus(),()=>p(-1)},[o,n]);let[b,x]=t([]),S=b.find(e=>e.primary),[C,w]=t(),T=!!(C||S),D=y(({primary:e,ref:t})=>(x(n=>[...n,{primary:e,ref:t}]),()=>x(e=>e.filter(e=>e.ref!==t))));return/* @__PURE__ */ c(M,{"aria-labelledby":h,"aria-selected":r.getCanSelect()?r.getIsSelected():void 0,"data-focus-visible":T?``:void 0,"data-selected":r.getIsSelected()?``:void 0,onClick:e=>{e.target instanceof Element&&(Z(e)||X(e)||(r.getCanSelect()?C&&ie(e)!==C.current&&d.setRowSelection({[r.id]:!0}):S?.ref.current?.contains(e.target)||S?.ref.current?.click()))},onDoubleClick:e=>{r.getCanSelect()&&S&&e.target instanceof Element&&(Z(e)||X(e)||S.ref.current?.contains(e.target)||(e.preventDefault(),document.getSelection()?.empty(),S.ref.current?.click()))},onFocus:e=>{T&&(l(n),e.target===e.currentTarget&&p(-1))},onKeyDown:e=>{if(e.defaultPrevented||e.target instanceof HTMLElement&&e.target!==C?.current&&(e.target.isContentEditable||[`input`,`select`,`textarea`].includes(e.target.localName)))return;let{rows:t}=d.getRowModel();if(T&&(e.key===`ArrowDown`||e.key===`ArrowUp`)){let n=e.key===`ArrowDown`?o+1:o-1;if(n>=0&&n<=t.length-1&&(e.preventDefault(),l(n),C)){let i=t[n];e.shiftKey&&r.getCanMultiSelect()?d.setRowSelection(e=>e[i.id]?{...e,[r.id]:!1}:{...e,[i.id]:!0}):d.setRowSelection({[i.id]:!0})}}else if(T&&(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})()===e.currentTarget&&e.key===`ArrowRight`){let t=f+1;t<=b.length-1&&(e.preventDefault(),p(t))}else e.currentTarget===(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})()&&(e.key===` `&&C?(e.preventDefault(),r.toggleSelected()):e.key===`Enter`&&S&&(e.preventDefault(),S.ref.current?.click()))},ref:v,tabIndex:T?(o===-1||o===n)&&f===-1?0:-1:void 0,...i,children:/* @__PURE__ */ c(P,{actions:b.map(({ref:e})=>e),focusManaged:T,highlightedIndex:f,labelId:h,onActionMount:D,row:r,setHighlightedIndex:y(e=>{p(e),e===-1&&_.current?.focus()}),setSelector:w,children:e})})});Y.displayName=`@optiaxiom/react/DataTableRow`;const ie=e=>{if(e.target instanceof Element){let t=e.target.closest(`label`);if(t&&e.currentTarget.contains(t)&&t.control)return t.control}},X=e=>{if(!(e.target instanceof Element))return!1;let t=e.target.closest(`a, button, input, select, textarea, [contenteditable="true"], [role="button"], [role="link"]`);return t&&t!==e.currentTarget},Z=e=>e.target instanceof Element&&!e.currentTarget.contains(e.target);r();const Q=n(({className:e,estimatedRowHeight:t=52,loading:n,style:r,...a},o)=>{let l=s(null),d=m(l,o),{table:p}=E(`@optiaxiom/react/DataTableBody`),{rows:h}=p.getRowModel(),g=i(()=>{let e=0;return h.reduce((t,r)=>(t.push(r),e++,n&&typeof n==`object`&&n[r.id]===`sub-rows`&&t.push(N(p,e++),N(p,e++)),t),[])},[n,h,p]),v=s(g);u(()=>{v.current=g});let y=s(null),b=()=>{if(!l.current||!y.current)return;let{offsetWidth:e,scrollLeft:t,scrollWidth:n}=y.current;n>e?l.current.dataset.scrollTimeline=t===0?`left`:t>=n-e?`right`:`middle`:delete l.current.dataset.scrollTimeline};u(()=>{b();let e=y.current;if(!e)return;let t=new ResizeObserver(b);return t.observe(e),()=>t.disconnect()},[]);let x=p.getCenterVisibleLeafColumns(),S=C({count:x.length,enabled:x.length>20,estimateSize:e=>x[e].getSize(),getItemKey:e=>x[e].id,getScrollElement:()=>y.current,horizontal:!0}),w=S.getVirtualItems(),T=w[0]?.start??0,j=C({count:g.length,enabled:x.length>20||g.length>20,estimateSize:()=>t,getItemKey:e=>g[e].id,getScrollElement:()=>y.current}),P=j.getVirtualItems();return/* @__PURE__ */ c(f,{ref:d,style:{..._({[R]:`${p.getLeftTotalSize()}px`,[z]:`${p.getRightTotalSize()}px`,[ee]:(p.getHeaderGroups()[0]?.headers.reduce((e,t)=>e+(t.column.getCanResize()?t.getSize():0),0)??0).toString()}),...r},...B({},e),...a,children:/* @__PURE__ */ c(D,{layout:`fixed`,onScroll:b,ref:y,children:[/* @__PURE__ */ c(A,{display:`grid`,pinned:!0,children:p.getHeaderGroups().map(e=>/* @__PURE__ */ c(M,{display:`flex`,children:e.headers.map(e=>/* @__PURE__ */ c(J,{header:e,pinned:!!e.column.getIsPinned(),style:{..._({[I]:`${e.column.getStart(e.column.getIsPinned()||`left`)}px`,[L]:`${e.getSize()}`})},...F({pinned:e.column.getIsPinned()||void 0,pinnedType:e.column.getIsPinned()?`header`:void 0,resizable:e.column.getCanResize()}),children:e.isPlaceholder?null:W(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),/* @__PURE__ */ c(O,{display:`grid`,style:j.options.enabled?{height:`${j.getTotalSize()}px`}:void 0,children:(n===!0?Array.from({length:10},(e,t)=>({row:N(p,t),virtualRow:void 0})):j.options.enabled?P.length===0&&g.length>0?v.current.map(e=>({row:e,virtualRow:void 0})):P.map(e=>({row:g[e.index],virtualRow:e})):g.map(e=>({row:e,virtualRow:void 0}))).map(({row:e,virtualRow:t},n)=>/* @__PURE__ */ c(Y,{"data-index":t?.index,display:`flex`,index:t?.index??n,ref:t?j.measureElement:void 0,row:e,style:t?{position:`absolute`,transform:`translateY(${t.start}px)`}:void 0,children:[e.getLeftVisibleCells().map(e=>/* @__PURE__ */ c(k,{pinned:!0,style:{..._({[I]:`${e.column.getStart(`left`)}px`,[L]:`${e.column.getSize()}`})},...F({pinned:`left`,pinnedType:`body`,resizable:e.column.getCanResize()}),children:W(e.column.columnDef.cell,e.getContext())},e.id)),S.options.enabled&&T>0&&/* @__PURE__ */ c(k,{style:{width:T}}),(S.options.enabled?w.map(t=>e.getCenterVisibleCells()[t.index]):e.getCenterVisibleCells()).map(e=>/* @__PURE__ */ c(k,{style:{..._({[L]:`${e.column.getSize()}`})},...F({resizable:e.column.getCanResize()}),children:W(e.column.columnDef.cell,e.getContext())},e.id)),e.getRightVisibleCells().map(e=>/* @__PURE__ */ c(k,{pinned:!0,style:{..._({[I]:`${e.column.getStart(`right`)}px`,[L]:`${e.column.getSize()}`})},...F({pinned:`right`,pinnedType:`body`,resizable:e.column.getCanResize()}),children:W(e.column.columnDef.cell,e.getContext())},e.id))]},e.id))})]})})});Q.displayName=`@optiaxiom/react/DataTableBody`;const $=`ax-data-table-body`;var ae=l($,Q,d,o);export{$ as DataTableBody,ae as default};
12
+ function K(t,n){return t?ie(t)?/*#__PURE__*/ e(t,n):t:null}function ie(e){return ae(e)||typeof e==`function`||oe(e)}function ae(e){return typeof e==`function`&&(()=>{let t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function oe(e){return typeof e==`object`&&typeof e.$$typeof==`symbol`&&[`react.memo`,`react.forward_ref`].includes(e.$$typeof.description)}r();const q=n(({children:e,header:t,...n},r)=>{let i=t.column.getIsSorted();return/* @__PURE__ */ c(E,{asChild:!0,children:/* @__PURE__ */ c(A,{"aria-sort":t.column.getCanSort()?i===!1?`none`:i===`asc`?`ascending`:`descending`:void 0,colSpan:t.colSpan,ref:r,...n,children:[t.column.getCanResize()&&/* @__PURE__ */ c(D,{visible:t.column.getIsResizing()?`always`:`if-needed`,children:/* @__PURE__ */ c(x,{onDoubleClick:()=>t.column.resetSize(),onMouseDown:t.getResizeHandler(),onTouchStart:t.getResizeHandler(),orientation:`vertical`,style:{transform:t.getContext().table.options.columnResizeMode===`onEnd`&&t.column.getIsResizing()?`translateX(${t.getContext().table.getState().columnSizingInfo.deltaOffset}px)`:``},...W({resizing:t.column.getIsResizing()})})}),t.column.getCanSort()?/* @__PURE__ */ c(S,{asChild:!0,inset:!0,...U(),children:/* @__PURE__ */ c(`button`,{onClick:()=>t.column.toggleSorting(),children:[e,i&&/* @__PURE__ */ c(y,{children:[`sorted `,i===`asc`?`ascending`:`descending`]}),/* @__PURE__ */ c(D,{display:`grid`,placeItems:`center`,visible:i?`always`:`if-needed`,children:[/* @__PURE__ */ c(g,{asChild:!0,...G({active:i===!1}),children:/* @__PURE__ */ c(B,{})}),/* @__PURE__ */ c(g,{asChild:!0,...G({active:i===`asc`}),children:/* @__PURE__ */ c(H,{})}),/* @__PURE__ */ c(g,{asChild:!0,...G({active:i===`desc`}),children:/* @__PURE__ */ c(V,{})})]})]})}):e]})})});q.displayName=`@optiaxiom/react/DataTableHeaderCell`,r();const J=n(({children:e,index:n,row:r,...i},a)=>{let{focusRequestRef:o,highlightedIndex:l,setHighlightedIndex:u,table:f}=O(`@optiaxiom/react/DataTableRow`),[p,m]=t(-1),g=_(),[v,y]=t([]),x=v.find(e=>e.primary),[S,C]=t(),w=!!(S||x),T=s(null),E=h(T,a);d(()=>{if(l===n)return w&&o.current&&(o.current=!1,T.current?.focus()),()=>m(-1)},[w,o,l,n]),d(()=>{T.current?.contains((()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})())&&u(n)},[n,u]);let D=b(({primary:e,ref:t})=>(y(n=>[...n,{primary:e,ref:t}]),()=>y(e=>e.filter(e=>e.ref!==t))));return/* @__PURE__ */ c(j,{"aria-labelledby":g,"aria-selected":r.getCanSelect()?r.getIsSelected():void 0,"data-focus-visible":w?``:void 0,"data-selected":r.getIsSelected()?``:void 0,onClick:e=>{e.target instanceof Element&&(X(e)||Y(e)||(r.getCanSelect()?S&&se(e)!==S.current&&f.setRowSelection({[r.id]:!0}):x?.ref.current?.contains(e.target)||x?.ref.current?.click()))},onDoubleClick:e=>{r.getCanSelect()&&x&&e.target instanceof Element&&(X(e)||Y(e)||x.ref.current?.contains(e.target)||(e.preventDefault(),document.getSelection()?.empty(),x.ref.current?.click()))},onFocus:e=>{w&&(u(n),e.target===e.currentTarget&&m(-1))},onKeyDown:e=>{if(e.defaultPrevented||e.target instanceof HTMLElement&&e.target!==S?.current&&(e.target.isContentEditable||[`input`,`select`,`textarea`].includes(e.target.localName)))return;let{rows:t}=f.getRowModel();if(w&&(e.key===`ArrowDown`||e.key===`ArrowUp`)){let n=e.key===`ArrowDown`?l+1:l-1;if(n>=0&&n<=t.length-1&&(e.preventDefault(),o.current=!0,u(n),S)){let i=t[n];e.shiftKey&&r.getCanMultiSelect()?f.setRowSelection(e=>e[i.id]?{...e,[r.id]:!1}:{...e,[i.id]:!0}):f.setRowSelection({[i.id]:!0})}}else if(w&&(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})()===e.currentTarget&&e.key===`ArrowRight`){let t=p+1;t<=v.length-1&&(e.preventDefault(),m(t))}else e.currentTarget===(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})()&&(e.key===` `&&S?(e.preventDefault(),r.toggleSelected()):e.key===`Enter`&&x&&(e.preventDefault(),x.ref.current?.click()))},ref:E,tabIndex:w?(l===-1||l===n)&&p===-1?0:-1:void 0,...i,children:/* @__PURE__ */ c(N,{actions:v.map(({ref:e})=>e),focusManaged:w,highlightedIndex:p,labelId:g,onActionMount:D,row:r,setHighlightedIndex:b(e=>{m(e),e===-1&&T.current?.focus()}),setSelector:C,children:e})})});J.displayName=`@optiaxiom/react/DataTableRow`;const se=e=>{if(e.target instanceof Element){let t=e.target.closest(`label`);if(t&&e.currentTarget.contains(t)&&t.control)return t.control}},Y=e=>{if(!(e.target instanceof Element))return!1;let t=e.target.closest(`a, button, input, select, textarea, [contenteditable="true"], [role="button"], [role="link"]`);return t&&t!==e.currentTarget},X=e=>e.target instanceof Element&&!e.currentTarget.contains(e.target);r();const Z=n(({className:e,estimatedRowHeight:t=52,loading:n,style:r,...a},o)=>{let l=s(null),f=h(l,o),{highlightedIndex:m,table:g}=O(`@optiaxiom/react/DataTableBody`),{rows:_}=g.getRowModel(),y=i(()=>{let e=0;return _.reduce((t,r)=>(t.push(r),e++,n&&typeof n==`object`&&n[r.id]===`sub-rows`&&t.push(M(g,e++),M(g,e++)),t),[])},[n,_,g]),b=s(y);d(()=>{b.current=y});let x=s(null),S=()=>{if(!l.current||!x.current)return;let{offsetWidth:e,scrollLeft:t,scrollWidth:n}=x.current;n>e?l.current.dataset.scrollTimeline=t===0?`left`:t>=n-e?`right`:`middle`:delete l.current.dataset.scrollTimeline};d(()=>{S();let e=x.current;if(!e)return;let t=new ResizeObserver(S);return t.observe(e),()=>t.disconnect()},[]);let C=g.getCenterVisibleLeafColumns(),E=T({count:C.length,enabled:C.length>20,estimateSize:e=>C[e].getSize(),getItemKey:e=>C[e].id,getScrollElement:()=>x.current,horizontal:!0}),D=E.getVirtualItems(),A=u(e=>{let t=w(e);return m>=0&&m<e.count&&!t.includes(m)?[...t,m].sort((e,t)=>e-t):t},[m]),N=T({count:y.length,enabled:C.length>20||y.length>20,estimateSize:()=>t,getItemKey:e=>y[e].id,getScrollElement:()=>x.current,rangeExtractor:A}),B=N.getVirtualItems(),V=g.getHeaderGroups(),H=V[0]?.headers.reduce((e,t)=>e+(t.column.getCanResize()?t.getSize():0),0)??0,U=E.options.enabled?Q(C.slice(0,D[0]?.index??0),H):void 0,W=E.options.enabled?Q(C.slice((D.at(-1)?.index??C.length)+1),H):void 0,G=new Map([...g.getLeftVisibleLeafColumns(),...C,...g.getRightVisibleLeafColumns()].map((e,t)=>[e.id,t+1]));return/* @__PURE__ */ c(p,{ref:f,style:{...v({[re]:`${g.getLeftTotalSize()}px`,[L]:`${g.getRightTotalSize()}px`,[z]:H.toString()}),...r},...R({},e),...a,children:/* @__PURE__ */ c(ee,{"aria-colcount":G.size,"aria-rowcount":V.length+(n===!0?10:y.length),layout:`fixed`,onScroll:S,ref:x,children:[/* @__PURE__ */ c(ne,{display:`grid`,pinned:!0,children:V.map((e,t)=>/* @__PURE__ */ c(j,{"aria-rowindex":t+1,display:`flex`,children:e.headers.map(e=>/* @__PURE__ */ c(q,{"aria-colindex":G.get(e.column.id),header:e,pinned:!!e.column.getIsPinned(),style:{...v({[F]:`${e.column.getStart(e.column.getIsPinned()||`left`)}px`,[I]:`${e.getSize()}`})},...P({pinned:e.column.getIsPinned()||void 0,pinnedType:e.column.getIsPinned()?`header`:void 0,resizable:e.column.getCanResize()}),children:e.isPlaceholder?null:K(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),/* @__PURE__ */ c(te,{display:`grid`,style:N.options.enabled?{height:`${N.getTotalSize()}px`}:void 0,children:(n===!0?Array.from({length:10},(e,t)=>({row:M(g,t),virtualRow:void 0})):N.options.enabled?B.length===0&&y.length>0?b.current.map(e=>({row:e,virtualRow:void 0})):B.map(e=>({row:y[e.index],virtualRow:e})):y.map(e=>({row:e,virtualRow:void 0}))).map(({row:e,virtualRow:t},n)=>/* @__PURE__ */ c(J,{"aria-rowindex":V.length+(t?.index??n)+1,"data-index":t?.index,display:`flex`,index:t?.index??n,ref:t?N.measureElement:void 0,row:e,style:t?{position:`absolute`,transform:`translateY(${t.start}px)`}:void 0,children:[e.getLeftVisibleCells().map(e=>/* @__PURE__ */ c(k,{"aria-colindex":G.get(e.column.id),pinned:!0,style:{...v({[F]:`${e.column.getStart(`left`)}px`,[I]:`${e.column.getSize()}`})},...P({pinned:`left`,pinnedType:`body`,resizable:e.column.getCanResize()}),children:K(e.column.columnDef.cell,e.getContext())},e.id)),U&&/* @__PURE__ */ c(k,{"aria-hidden":!0,p:`0`,style:U}),(E.options.enabled?D.map(t=>e.getCenterVisibleCells()[t.index]):e.getCenterVisibleCells()).map(e=>/* @__PURE__ */ c(k,{"aria-colindex":G.get(e.column.id),style:{...v({[I]:`${e.column.getSize()}`})},...P({resizable:e.column.getCanResize()}),children:K(e.column.columnDef.cell,e.getContext())},e.id)),W&&/* @__PURE__ */ c(k,{"aria-hidden":!0,p:`0`,style:W}),e.getRightVisibleCells().map(e=>/* @__PURE__ */ c(k,{"aria-colindex":G.get(e.column.id),pinned:!0,style:{...v({[F]:`${e.column.getStart(`right`)}px`,[I]:`${e.column.getSize()}`})},...P({pinned:`right`,pinnedType:`body`,resizable:e.column.getCanResize()}),children:K(e.column.columnDef.cell,e.getContext())},e.id))]},e.id))})]})})});Z.displayName=`@optiaxiom/react/DataTableBody`;const Q=(e,t)=>{if(e.length===0)return;let n=0,r=0;for(let t of e)n+=t.getSize(),r+=t.getCanResize()?t.getSize():0;return{flexGrow:t?r/t:0,width:`${n}px`}},$=`ax-data-table-body`;var ce=l($,Z,f,o);export{$ as DataTableBody,ce as default};
@@ -1 +1 @@
1
- import{E as e,a as t,d as n,n as r,p as i,r as a,t as o,w as s,y as c}from"../register-Cw2o7_6I.js";import{P as l}from"../propTypes-BuGUXuUg.js";import{i as u}from"../Box-CgPf7h9G.js";import{n as d}from"../dist-9M8M6YRc.js";import{t as f}from"../dist-DMk5UOim.js";import{n as p}from"../VisuallyHidden-DtUBgMX3.js";import{t as m}from"../Checkbox-B7syhyVK.js";import{n as h}from"../DataTableContext-CkTl7WbX.js";import{r as g}from"../DataTableRowContext-CZM-eGaK.js";import{t as _}from"../DataTableAction-D2KOvjn7.js";n(),e();const v=t(({children:e,disabled:t,visible:n,...r},o)=>{let{table:l}=h(`@optiaxiom/react/DataTableCheckbox`),{labelId:v,row:y,setSelector:b}=g(`@optiaxiom/react/DataTableCheckbox`),x=f(),S=i(null),C=d(S,o);return c(()=>{if(b)return t||b(S),()=>b(void 0)},[t,b]),/* @__PURE__ */ a(s,{children:[y&&/* @__PURE__ */ a(p,{id:x,children:[`Check to `,y.getIsSelected()?`unselect`:`select`]}),/* @__PURE__ */ a(_,{visible:n??(l.getIsSomeRowsSelected()||!y)?`always`:void 0,children:/* @__PURE__ */ a(m,{"aria-label":y?void 0:`Select all`,"aria-labelledby":y&&u(x,v),checked:y?y.getIsSelected():l.getIsAllPageRowsSelected()||l.getIsSomePageRowsSelected(),disabled:t,indeterminate:!y&&l.getIsSomePageRowsSelected(),onChange:y?y.getToggleSelectedHandler():l.getToggleAllPageRowsSelectedHandler(),ref:C,...r,children:e})})]})});v.displayName=`@optiaxiom/react/DataTableCheckbox`;const y=`ax-data-table-checkbox`;var b=o(y,v,l,r);export{y as DataTableCheckbox,b as default};
1
+ import{E as e,a as t,d as n,n as r,p as i,r as a,t as o,w as s,y as c}from"../register-Cw2o7_6I.js";import{P as l}from"../propTypes-BuGUXuUg.js";import{i as u}from"../Box-55YQsWMw.js";import{n as d}from"../dist-9M8M6YRc.js";import{t as f}from"../dist-DMk5UOim.js";import{n as p}from"../VisuallyHidden-DtUBgMX3.js";import{t as m}from"../Checkbox-BJW_VV6P.js";import{n as h}from"../DataTableContext-CkTl7WbX.js";import{r as g}from"../DataTableRowContext-DicjSXhd.js";import{t as _}from"../DataTableAction-4TJ7M6ln.js";n(),e();const v=t(({children:e,disabled:t,visible:n,...r},o)=>{let{table:l}=h(`@optiaxiom/react/DataTableCheckbox`),{labelId:v,row:y,setSelector:b}=g(`@optiaxiom/react/DataTableCheckbox`),x=f(),S=i(null),C=d(S,o);return c(()=>{if(b)return t||b(S),()=>b(void 0)},[t,b]),/* @__PURE__ */ a(s,{children:[y&&/* @__PURE__ */ a(p,{id:x,children:[`Check to `,y.getIsSelected()?`unselect`:`select`]}),/* @__PURE__ */ a(_,{visible:n??(l.getIsSomeRowsSelected()||!y)?`always`:void 0,children:/* @__PURE__ */ a(m,{"aria-label":y?void 0:`Select all`,"aria-labelledby":y&&u(x,v),checked:y?y.getIsSelected():l.getIsAllPageRowsSelected()||l.getIsSomePageRowsSelected(),disabled:t,indeterminate:!y&&l.getIsSomePageRowsSelected(),onChange:y?y.getToggleSelectedHandler():l.getToggleAllPageRowsSelectedHandler(),ref:C,...r,children:e})})]})});v.displayName=`@optiaxiom/react/DataTableCheckbox`;const y=`ax-data-table-checkbox`;var b=o(y,v,l,r);export{y as DataTableCheckbox,b as default};
@@ -1 +1 @@
1
- import{E as e,a as t,d as n,k as r,n as i,r as a,t as o,w as s}from"../register-Cw2o7_6I.js";import{F as c}from"../propTypes-BuGUXuUg.js";import{t as l}from"../Box-CgPf7h9G.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as u}from"../recipeRuntime-BkylZxVy.js";import{t as d}from"../Group-BbwOhXsj.js";import{t as f}from"../Text-CywFc_fE.js";import{t as p}from"../dist-DMk5UOim.js";import{n as m}from"../DataTableContext-CkTl7WbX.js";import{t as h}from"../Pagination-B0IPsz1Z.js";import{t as g}from"../Select-SjpMwXbt.js";import{t as _}from"../SelectContent-CbOyCsqJ.js";import{t as v}from"../SelectTrigger-CESerpgy.js";r(`@layer optiaxiom.eeki7c;@layer optiaxiom.eeki7c{._19r1f36{width:calc(var(--ax-styles-scale, 1rem)*11.25)}}`);var y=u({base:`_19r1f36`,variants:{slot:{after:{textAlign:`end`},before:{}}}});n(),e();const b=[`10`,`20`,`30`,`50`,`100`].map(e=>({label:e,value:e})),x=t(({pageSizeOptions:e=b,showPageSizeOptions:t,...n},r)=>{let{table:i}=m(`@optiaxiom/react/DataTableFooter`),{pagination:o}=i.getState(),c=p();return/* @__PURE__ */ a(d,{alignSelf:`stretch`,fontSize:`md`,gap:`16`,justifyContent:`space-between`,mt:`auto`,ref:r,...n,children:[/* @__PURE__ */ a(l,{...y({slot:`before`}),children:t&&/* @__PURE__ */ a(d,{gap:`8`,children:[/* @__PURE__ */ a(f,{color:`fg.secondary`,id:c,children:`Page Size`}),/* @__PURE__ */ a(g,{onValueChange:e=>e&&i.setPageSize(parseFloat(e)),options:e,value:o.pageSize.toString(),children:[/* @__PURE__ */ a(v,{appearance:`subtle`,"aria-labelledby":c}),/* @__PURE__ */ a(_,{})]})]})}),i.getPageCount()>1&&/* @__PURE__ */ a(h,{onPageChange:e=>i.setPageIndex(e-1),page:o.pageIndex+1,total:i.getPageCount()}),/* @__PURE__ */ a(f,{...y({slot:`after`}),children:i.getRowCount()>0&&/* @__PURE__ */ a(s,{children:[o.pageIndex*o.pageSize+1,` -`,` `,Math.min((o.pageIndex+1)*o.pageSize,i.getRowCount()),` `,`of `,i.getRowCount()]})})]})});x.displayName=`@optiaxiom/react/DataTableFooter`;const S=`ax-data-table-footer`;var C=o(S,x,c,i);export{S as DataTableFooter,C as default};
1
+ import{E as e,a as t,d as n,k as r,n as i,r as a,t as o,w as s}from"../register-Cw2o7_6I.js";import{F as c}from"../propTypes-BuGUXuUg.js";import{t as l}from"../Box-55YQsWMw.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as u}from"../recipeRuntime-BkylZxVy.js";import{t as d}from"../Group-DKJlvhys.js";import{t as f}from"../Text-Di0zSuay.js";import{t as p}from"../dist-DMk5UOim.js";import{n as m}from"../DataTableContext-CkTl7WbX.js";import{t as h}from"../Pagination-CHRpLcn5.js";import{t as g}from"../Select-DUfrgBzl.js";import{t as _}from"../SelectContent-CXyifIzA.js";import{t as v}from"../SelectTrigger-BhDdSGuW.js";r(`@layer optiaxiom.hjtpuo;@layer optiaxiom.hjtpuo{._19mshzi{width:calc(var(--ax-styles-scale, 1rem)*11.25)}}`);var y=u({base:`_19mshzi`,variants:{slot:{after:{textAlign:`end`},before:{}}}});n(),e();const b=[`10`,`20`,`30`,`50`,`100`].map(e=>({label:e,value:e})),x=t(({pageSizeOptions:e=b,showPageSizeOptions:t,...n},r)=>{let{table:i}=m(`@optiaxiom/react/DataTableFooter`),{pagination:o}=i.getState(),c=p();return/* @__PURE__ */ a(d,{alignSelf:`stretch`,fontSize:`md`,gap:`16`,justifyContent:`space-between`,mt:`auto`,ref:r,...n,children:[/* @__PURE__ */ a(l,{...y({slot:`before`}),children:t&&/* @__PURE__ */ a(d,{gap:`8`,children:[/* @__PURE__ */ a(f,{color:`fg.secondary`,id:c,children:`Page Size`}),/* @__PURE__ */ a(g,{onValueChange:e=>e&&i.setPageSize(parseFloat(e)),options:e,value:o.pageSize.toString(),children:[/* @__PURE__ */ a(v,{appearance:`subtle`,"aria-labelledby":c}),/* @__PURE__ */ a(_,{})]})]})}),i.getPageCount()>1&&/* @__PURE__ */ a(h,{onPageChange:e=>i.setPageIndex(e-1),page:o.pageIndex+1,total:i.getPageCount()}),/* @__PURE__ */ a(f,{...y({slot:`after`}),children:i.getRowCount()>0&&/* @__PURE__ */ a(s,{children:[o.pageIndex*o.pageSize+1,` -`,` `,Math.min((o.pageIndex+1)*o.pageSize,i.getRowCount()),` `,`of `,i.getRowCount()]})})]})});x.displayName=`@optiaxiom/react/DataTableFooter`;const S=`ax-data-table-footer`;var C=o(S,x,c,i);export{S as DataTableFooter,C as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{I as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-CgPf7h9G.js";import{r as s}from"../DataTableRowContext-CZM-eGaK.js";t();const c=e((e,t)=>{let{labelId:n}=s(`@optiaxiom/react/DataTableLabel`);return/* @__PURE__ */ r(o,{id:n,ref:t,...e})});c.displayName=`@optiaxiom/react/DataTableLabel`;const l=`ax-data-table-label`;var u=i(l,c,a,n);export{l as DataTableLabel,u as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{I as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-55YQsWMw.js";import{r as s}from"../DataTableRowContext-DicjSXhd.js";t();const c=e((e,t)=>{let{labelId:n}=s(`@optiaxiom/react/DataTableLabel`);return/* @__PURE__ */ r(o,{id:n,ref:t,...e})});c.displayName=`@optiaxiom/react/DataTableLabel`;const l=`ax-data-table-label`;var u=i(l,c,a,n);export{l as DataTableLabel,u as default};
@@ -1 +1 @@
1
- import{_ as e,a as t,d as n,k as r,n as i,p as a,r as o,t as s}from"../register-Cw2o7_6I.js";import{R as c}from"../propTypes-BuGUXuUg.js";import{i as l}from"../Box-CgPf7h9G.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as u}from"../recipeRuntime-BkylZxVy.js";import{n as d}from"../dist-9M8M6YRc.js";import{t as f}from"../dist-CHyzwbg8.js";import{t as p}from"../Button-BCJF4Ihp.js";import{t as m}from"../dist-DMk5UOim.js";import{t as h}from"../calendar_today-CUZs5Wk3.js";import{t as g}from"../close-Cl1sVgpF.js";import{t as _}from"../VisuallyHidden-DtUBgMX3.js";import{t as v}from"../Popover-cd-uopI2.js";import{t as y}from"../PopoverAnchor-DnlYnIOG.js";import{t as b}from"../PopoverContent-DFFag-5I.js";import{t as x}from"../PopoverTrigger-D8kegexp.js";import{n as S}from"../FieldContext-C2JRgpyg.js";import{t as C}from"../Input-B1TDbp0G.js";import{t as w}from"../useObserveValue-BaeIfxWD.js";import{n as T,r as E,t as D}from"../toPlainDate-ZbhhNjT1.js";import{t as O}from"../Calendar-kMYd6092.js";r(`@layer optiaxiom.eeki7c;@layer optiaxiom.eeki7c{._1ewmdem::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}._1casvb2:is(:not(:focus-within):not(:hover),:has(input:disabled)) ._1ntcdul{visibility:hidden}@supports not selector(::-webkit-datetime-edit){._17iq7yk{display:none!important}}}`);var k=u({base:[{size:`sm`},`_1ntcdul`]}),A=u({base:`_1casvb2`}),j=u({base:`_1ewmdem`}),M=u({base:`_17iq7yk`});n();const N=t(({className:t,disabled:n,holiday:r,max:i,min:s,onChange:c,placeholder:u,step:N,type:P=`date`,weekend:F,...I},L)=>{let{labelId:R}=S(`@optiaxiom/react/DateInput`),z=m(),[B,V]=e(!1),H=a(!1),U=a(null),W=a(null),G=d(W,L),[K,q]=f({caller:`@optiaxiom/react/DateInput`,defaultProp:I.defaultValue,prop:I.value}),J=w(W,q),Y=typeof K==`string`?E(K)??null:null,X=i||`2100-12-31`,Z=s||`1900-01-01`,Q=X?E(X):void 0,$=Z?E(Z):void 0;return/* @__PURE__ */ o(v,{onOpenChange:V,open:!n&&B,children:[/* @__PURE__ */ o(y,{children:/* @__PURE__ */ o(C,{addonAfter:K&&!I.readOnly&&!I.required&&/* @__PURE__ */ o(p,{appearance:`subtle`,"aria-label":`Clear`,icon:/* @__PURE__ */ o(g,{}),onPointerDown:e=>{e.preventDefault(),J(``)},tabIndex:-1,...k()}),addonBefore:/* @__PURE__ */ o(x,{"aria-label":`Show date picker`,asChild:!0,onClick:e=>{I.readOnly&&e.preventDefault()},ref:U,role:`img`,...M(),children:/* @__PURE__ */ o(h,{})}),asChild:!0,disabled:n,max:X,min:Z,onChange:e=>{c?.(e),q(e.target.value)},onClick:e=>{CSS.supports(`selector(::-webkit-datetime-edit)`)&&e.preventDefault()},onKeyDown:e=>{CSS.supports(`selector(::-webkit-datetime-edit)`)&&(e.key===` `?(e.preventDefault(),I.readOnly||V(!0)):e.key===`Escape`&&(e.preventDefault(),V(!1)))},ref:G,step:N,type:P,...A({},t),...I,children:/* @__PURE__ */ o(`input`,{...j()})})}),/* @__PURE__ */ o(b,{"aria-labelledby":l(z,R),gap:`8`,onCloseAutoFocus:e=>{H.current?H.current=!1:(e.preventDefault(),W.current?.focus())},onInteractOutside:e=>{e.target instanceof Node&&U.current?.contains(e.target)||(H.current=!0)},children:[/* @__PURE__ */ o(_,{asChild:!0,id:z,children:/* @__PURE__ */ o(`h2`,{children:`Calendar`})}),/* @__PURE__ */ o(O,{holiday:r,max:Q,min:$,onValueChange:e=>{e&&(J(P===`datetime-local`?T(e):D(e)),P===`date`&&V(!1))},placeholder:u,step:N,type:P,value:Y,weekend:F}),P===`datetime-local`&&/* @__PURE__ */ o(p,{flex:`none`,justifyContent:`center`,onClick:()=>V(!1),children:`Done`})]})]})});N.displayName=`@optiaxiom/react/DateInput`;const P=`ax-date-input`;var F=s(P,N,c,i);export{P as DateInput,F as default};
1
+ import{_ as e,a as t,d as n,k as r,n as i,p as a,r as o,t as s}from"../register-Cw2o7_6I.js";import{R as c}from"../propTypes-BuGUXuUg.js";import{i as l}from"../Box-55YQsWMw.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as u}from"../recipeRuntime-BkylZxVy.js";import{n as d}from"../dist-9M8M6YRc.js";import{t as f}from"../dist-CHyzwbg8.js";import{t as p}from"../Button-Cs01fDrn.js";import{t as m}from"../dist-DMk5UOim.js";import{t as h}from"../calendar_today-CUZs5Wk3.js";import{t as g}from"../close-Cl1sVgpF.js";import{t as _}from"../VisuallyHidden-DtUBgMX3.js";import{t as v}from"../Popover-cd-uopI2.js";import{t as y}from"../PopoverAnchor-CFl7nOsu.js";import{t as b}from"../PopoverContent--NdTm-oM.js";import{t as x}from"../PopoverTrigger-Cs_K801r.js";import{n as S}from"../FieldContext-C2JRgpyg.js";import{t as C}from"../Input-DDYJbG2p.js";import{t as w}from"../useObserveValue-BaeIfxWD.js";import{n as T,r as E,t as D}from"../toPlainDate-ZbhhNjT1.js";import{t as O}from"../Calendar-0qmCpJ3T.js";r(`@layer optiaxiom.hjtpuo;@layer optiaxiom.hjtpuo{._7x0nme::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}._1yb6oxz:is(:not(:focus-within):not(:hover),:has(input:disabled)) ._1n1xgyb{visibility:hidden}@supports not selector(::-webkit-datetime-edit){._128190v{display:none!important}}}`);var k=u({base:[{size:`sm`},`_1n1xgyb`]}),A=u({base:`_1yb6oxz`}),j=u({base:`_7x0nme`}),M=u({base:`_128190v`});n();const N=t(({className:t,disabled:n,holiday:r,max:i,min:s,onChange:c,placeholder:u,step:N,type:P=`date`,weekend:F,...I},L)=>{let{labelId:R}=S(`@optiaxiom/react/DateInput`),z=m(),[B,V]=e(!1),H=a(!1),U=a(null),W=a(null),G=d(W,L),[K,q]=f({caller:`@optiaxiom/react/DateInput`,defaultProp:I.defaultValue,prop:I.value}),J=w(W,q),Y=typeof K==`string`?E(K)??null:null,X=i||`2100-12-31`,Z=s||`1900-01-01`,Q=X?E(X):void 0,$=Z?E(Z):void 0;return/* @__PURE__ */ o(v,{onOpenChange:V,open:!n&&B,children:[/* @__PURE__ */ o(y,{children:/* @__PURE__ */ o(C,{addonAfter:K&&!I.readOnly&&!I.required&&/* @__PURE__ */ o(p,{appearance:`subtle`,"aria-label":`Clear`,icon:/* @__PURE__ */ o(g,{}),onPointerDown:e=>{e.preventDefault(),J(``)},tabIndex:-1,...k()}),addonBefore:/* @__PURE__ */ o(x,{"aria-label":`Show date picker`,asChild:!0,onClick:e=>{I.readOnly&&e.preventDefault()},ref:U,role:`img`,...M(),children:/* @__PURE__ */ o(h,{})}),asChild:!0,disabled:n,max:X,min:Z,onChange:e=>{c?.(e),q(e.target.value)},onClick:e=>{CSS.supports(`selector(::-webkit-datetime-edit)`)&&e.preventDefault()},onKeyDown:e=>{CSS.supports(`selector(::-webkit-datetime-edit)`)&&(e.key===` `?(e.preventDefault(),I.readOnly||V(!0)):e.key===`Escape`&&(e.preventDefault(),V(!1)))},ref:G,step:N,type:P,...A({},t),...I,children:/* @__PURE__ */ o(`input`,{...j()})})}),/* @__PURE__ */ o(b,{"aria-labelledby":l(z,R),gap:`8`,onCloseAutoFocus:e=>{H.current?H.current=!1:(e.preventDefault(),W.current?.focus())},onInteractOutside:e=>{e.target instanceof Node&&U.current?.contains(e.target)||(H.current=!0)},children:[/* @__PURE__ */ o(_,{asChild:!0,id:z,children:/* @__PURE__ */ o(`h2`,{children:`Calendar`})}),/* @__PURE__ */ o(O,{holiday:r,max:Q,min:$,onValueChange:e=>{e&&(J(P===`datetime-local`?T(e):D(e)),P===`date`&&V(!1))},placeholder:u,step:N,type:P,value:Y,weekend:F}),P===`datetime-local`&&/* @__PURE__ */ o(p,{flex:`none`,justifyContent:`center`,onClick:()=>V(!1),children:`Done`})]})]})});N.displayName=`@optiaxiom/react/DateInput`;const P=`ax-date-input`;var F=s(P,N,c,i);export{P as DateInput,F as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{z as a}from"../propTypes-BuGUXuUg.js";import{i as o}from"../Box-CgPf7h9G.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as s}from"../recipeRuntime-BkylZxVy.js";import{t as c}from"../Group-BbwOhXsj.js";import{t as l}from"../dist-DMk5UOim.js";import{t as u}from"../VisuallyHidden-DtUBgMX3.js";import{t as d}from"../PopoverContent-DFFag-5I.js";import{n as f}from"../FieldContext-C2JRgpyg.js";import{t as p}from"../Calendar-kMYd6092.js";import{n as m}from"../DateRangePickerContext-DA11Pj-T.js";var h=s({base:[{alignItems:`stretch`,gap:`0`}]});t();const g=e(({addonAfter:e,addonBefore:t,"aria-label":n,children:i,holiday:a,max:s,min:g,today:_,weekend:v,...y},b)=>{let{labelId:x}=f(`@optiaxiom/react/DateRangePickerContent`),{setFrom:S,setOpen:C,setValue:w,triggerRef:T,value:E}=m(`@optiaxiom/react/DateRangePickerContent`),D=l();return/* @__PURE__ */ r(d,{"aria-labelledby":o(x??T.current?.id,D),gap:`8`,maxW:void 0,ref:b,...y,children:[/* @__PURE__ */ r(u,{id:D,children:n||`Calendar`}),/* @__PURE__ */ r(c,{...h(),children:[t,/* @__PURE__ */ r(p,{alignSelf:`start`,holiday:a,max:s,min:g,mode:`range`,onDateSelect:e=>{S(t=>t?void 0:e)},onValueChange:e=>{w(e),requestAnimationFrame(()=>{C(!1)})},today:_,value:E,weekend:v}),e]}),i]})});g.displayName=`@optiaxiom/react/DateRangePickerContent`;const _=`ax-date-range-picker-content`;var v=i(_,g,a,n);export{_ as DateRangePickerContent,v as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{z as a}from"../propTypes-BuGUXuUg.js";import{i as o}from"../Box-55YQsWMw.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as s}from"../recipeRuntime-BkylZxVy.js";import{t as c}from"../Group-DKJlvhys.js";import{t as l}from"../dist-DMk5UOim.js";import{t as u}from"../VisuallyHidden-DtUBgMX3.js";import{t as d}from"../PopoverContent--NdTm-oM.js";import{n as f}from"../FieldContext-C2JRgpyg.js";import{t as p}from"../Calendar-0qmCpJ3T.js";import{n as m}from"../DateRangePickerContext-DA11Pj-T.js";var h=s({base:[{alignItems:`stretch`,gap:`0`}]});t();const g=e(({addonAfter:e,addonBefore:t,"aria-label":n,children:i,holiday:a,max:s,min:g,today:_,weekend:v,...y},b)=>{let{labelId:x}=f(`@optiaxiom/react/DateRangePickerContent`),{setFrom:S,setOpen:C,setValue:w,triggerRef:T,value:E}=m(`@optiaxiom/react/DateRangePickerContent`),D=l();return/* @__PURE__ */ r(d,{"aria-labelledby":o(x??T.current?.id,D),gap:`8`,maxW:void 0,ref:b,...y,children:[/* @__PURE__ */ r(u,{id:D,children:n||`Calendar`}),/* @__PURE__ */ r(c,{...h(),children:[t,/* @__PURE__ */ r(p,{alignSelf:`start`,holiday:a,max:s,min:g,mode:`range`,onDateSelect:e=>{S(t=>t?void 0:e)},onValueChange:e=>{w(e),requestAnimationFrame(()=>{C(!1)})},today:_,value:E,weekend:v}),e]}),i]})});g.displayName=`@optiaxiom/react/DateRangePickerContent`;const _=`ax-date-range-picker-content`;var v=i(_,g,a,n);export{_ as DateRangePickerContent,v as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{V as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-CgPf7h9G.js";import{n as s}from"../dist-9M8M6YRc.js";import{t as c}from"../dist-DMk5UOim.js";import{t as l}from"../calendar_today-CUZs5Wk3.js";import{n as u}from"../LocaleContext-CZYzLj98.js";import{t as d}from"../PopoverTrigger-D8kegexp.js";import{t as f}from"../useFieldLabelTrigger-CZ8dhgfO.js";import{t as p}from"../memoize-Do1I3fC3.js";import{n as m}from"../DateRangePickerContext-DA11Pj-T.js";t();const h=p(e=>new Intl.DateTimeFormat(e,{day:`numeric`,month:`short`,year:`numeric`})),g=e(({"aria-labelledby":e,children:t,formatRange:n,placeholder:i=`Pick a date`,...a},p)=>{let{disabled:g,triggerRef:_,value:v}=m(`@optiaxiom/react/DateRangePickerTrigger`),{locale:y}=u(`@optiaxiom/react/DateRangePickerTrigger`),b=c(),x=s(p,_),S=f(_,e),C=n?{formatRange:n}:h(y);return/* @__PURE__ */ r(d,{"aria-labelledby":S,disabled:g,icon:/* @__PURE__ */ r(l,{}),id:b,justifyContent:`flex-start`,ref:x,...a,children:t??(v?C.formatRange(v.from,v.to):/* @__PURE__ */ r(o,{color:`fg.tertiary`,children:i}))})});g.displayName=`@optiaxiom/react/DateRangePickerTrigger`;const _=`ax-date-range-picker-trigger`;var v=i(_,g,a,n);export{_ as DateRangePickerTrigger,v as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{V as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-55YQsWMw.js";import{n as s}from"../dist-9M8M6YRc.js";import{t as c}from"../dist-DMk5UOim.js";import{t as l}from"../calendar_today-CUZs5Wk3.js";import{n as u}from"../LocaleContext-CZYzLj98.js";import{t as d}from"../PopoverTrigger-Cs_K801r.js";import{t as f}from"../useFieldLabelTrigger-CZ8dhgfO.js";import{t as p}from"../memoize-Do1I3fC3.js";import{n as m}from"../DateRangePickerContext-DA11Pj-T.js";t();const h=p(e=>new Intl.DateTimeFormat(e,{day:`numeric`,month:`short`,year:`numeric`})),g=e(({"aria-labelledby":e,children:t,formatRange:n,placeholder:i=`Pick a date`,...a},p)=>{let{disabled:g,triggerRef:_,value:v}=m(`@optiaxiom/react/DateRangePickerTrigger`),{locale:y}=u(`@optiaxiom/react/DateRangePickerTrigger`),b=c(),x=s(p,_),S=f(_,e),C=n?{formatRange:n}:h(y);return/* @__PURE__ */ r(d,{"aria-labelledby":S,disabled:g,icon:/* @__PURE__ */ r(l,{}),id:b,justifyContent:`flex-start`,ref:x,...a,children:t??(v?C.formatRange(v.from,v.to):/* @__PURE__ */ r(o,{color:`fg.tertiary`,children:i}))})});g.displayName=`@optiaxiom/react/DateRangePickerTrigger`;const _=`ax-date-range-picker-trigger`;var v=i(_,g,a,n);export{_ as DateRangePickerTrigger,v as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{H as a}from"../propTypes-BuGUXuUg.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as o}from"../recipeRuntime-BkylZxVy.js";import{t as s}from"../Group-BbwOhXsj.js";import"../ButtonGroup.css.ts.vanilla-A3sMS8iF-CUDRiKo3.js";var c=o({base:[{flex:`1`,flexDirection:`column`,fontSize:`md`,gap:`16`,px:`24`,py:`16`,z:`0`},`azc06`]});t();const l=e(({children:e,className:t,...n},i)=>/* @__PURE__ */ r(s,{ref:i,...c({},t),...n,children:e}));l.displayName=`@optiaxiom/react/DialogBody`;const u=`ax-dialog-body`;var d=i(u,l,a,n);export{u as DialogBody,d as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{H as a}from"../propTypes-BuGUXuUg.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as o}from"../recipeRuntime-BkylZxVy.js";import{t as s}from"../Group-DKJlvhys.js";import"../ToggleInputHiddenInput.css.ts.vanilla-D-kshq_d-ReawEPag.js";var c=o({base:[{flex:`1`,flexDirection:`column`,fontSize:`md`,gap:`16`,px:`24`,py:`16`,z:`0`},`_1xkyrxn`]});t();const l=e(({children:e,className:t,...n},i)=>/* @__PURE__ */ r(s,{ref:i,...c({},t),...n,children:e}));l.displayName=`@optiaxiom/react/DialogBody`;const u=`ax-dialog-body`;var d=i(u,l,a,n);export{u as DialogBody,d as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{U as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../DialogClose-C-VeBnqV.js";const i=`ax-dialog-close`;var a=t(i,r,n,e);export{i as DialogClose,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{U as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../DialogClose-FDD28PO-.js";const i=`ax-dialog-close`;var a=t(i,r,n,e);export{i as DialogClose,a as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{W as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../DialogContent-Cxh05HyM.js";const i=`ax-dialog-content`;var a=t(i,r,n,e);export{i as DialogContent,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{W as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../DialogContent-Byun5a0z.js";const i=`ax-dialog-content`;var a=t(i,r,n,e);export{i as DialogContent,a as default};
@@ -1 +1 @@
1
- import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-Cw2o7_6I.js";import{G as o}from"../propTypes-BuGUXuUg.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as s}from"../recipeRuntime-BkylZxVy.js";import{n as c}from"../dist-9M8M6YRc.js";import{t as l}from"../Group-BbwOhXsj.js";import{t as u}from"../ButtonContext-CgrgBMf5.js";import{n as d}from"../DialogContext-CDhPyhke.js";n(`@layer optiaxiom.eeki7c;@layer optiaxiom.eeki7c{.pgczxr{bottom:0;position:sticky}}`);var f=s({base:[{bg:`bg.default`,borderColor:`border.secondary`,borderT:`1`,gap:`16`,justifyContent:`flex-end`,px:`24`,py:`20`},`pgczxr`]});t();const p=e(({children:e,className:t,...n},r)=>{let{footerRef:a}=d(`@optiaxiom/react/DialogFooter`),o=c(a,r);return/* @__PURE__ */ i(u,{size:`lg`,children:/* @__PURE__ */ i(l,{ref:o,...f({},t),...n,children:e})})});p.displayName=`@optiaxiom/react/DialogFooter`;const m=`ax-dialog-footer`;var h=a(m,p,o,r);export{m as DialogFooter,h as default};
1
+ import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-Cw2o7_6I.js";import{G as o}from"../propTypes-BuGUXuUg.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as s}from"../recipeRuntime-BkylZxVy.js";import{n as c}from"../dist-9M8M6YRc.js";import{t as l}from"../Group-DKJlvhys.js";import{t as u}from"../ButtonContext-CgrgBMf5.js";import{n as d}from"../DialogContext-CDhPyhke.js";n(`@layer optiaxiom.hjtpuo;@layer optiaxiom.hjtpuo{.wkm5wo{bottom:0;position:sticky}}`);var f=s({base:[{bg:`bg.default`,borderColor:`border.secondary`,borderT:`1`,gap:`16`,justifyContent:`flex-end`,px:`24`,py:`20`},`wkm5wo`]});t();const p=e(({children:e,className:t,...n},r)=>{let{footerRef:a}=d(`@optiaxiom/react/DialogFooter`),o=c(a,r);return/* @__PURE__ */ i(u,{size:`lg`,children:/* @__PURE__ */ i(l,{ref:o,...f({},t),...n,children:e})})});p.displayName=`@optiaxiom/react/DialogFooter`;const m=`ax-dialog-footer`;var h=a(m,p,o,r);export{m as DialogFooter,h as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{K as a}from"../propTypes-BuGUXuUg.js";import{r as o,t as s}from"../Box-CgPf7h9G.js";t();const c=e(({children:e,className:t,...n},i)=>{let{boxProps:a,restProps:c}=o(n);return/* @__PURE__ */ r(s,{asChild:!0,className:t,display:`flex`,flexDirection:`column`,...a,children:/* @__PURE__ */ r(`form`,{ref:i,...c,children:e})})});c.displayName=`@optiaxiom/react/DialogForm`;const l=`ax-dialog-form`;var u=i(l,c,a,n);export{l as DialogForm,u as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{K as a}from"../propTypes-BuGUXuUg.js";import{r as o,t as s}from"../Box-55YQsWMw.js";t();const c=e(({children:e,className:t,...n},i)=>{let{boxProps:a,restProps:c}=o(n);return/* @__PURE__ */ r(s,{asChild:!0,className:t,display:`flex`,flexDirection:`column`,...a,children:/* @__PURE__ */ r(`form`,{ref:i,...c,children:e})})});c.displayName=`@optiaxiom/react/DialogForm`;const l=`ax-dialog-form`;var u=i(l,c,a,n);export{l as DialogForm,u as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{q as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../DialogHeader-CrID93Ku.js";const i=`ax-dialog-header`;var a=t(i,r,n,e);export{i as DialogHeader,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{q as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../DialogHeader-BCQi_6OK.js";const i=`ax-dialog-header`;var a=t(i,r,n,e);export{i as DialogHeader,a as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{Y as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../DialogTrigger-CEPbNdBi.js";const i=`ax-dialog-trigger`;var a=t(i,r,n,e);export{i as DialogTrigger,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{Y as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../DialogTrigger-zPrWWRMg.js";const i=`ax-dialog-trigger`;var a=t(i,r,n,e);export{i as DialogTrigger,a as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{Z as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Disclosure-A_tztzlY.js";const i=`ax-disclosure`;var a=t(i,r,n,e);export{i as Disclosure,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{Z as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Disclosure-Dlbho4sM.js";const i=`ax-disclosure`;var a=t(i,r,n,e);export{i as Disclosure,a as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{X as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../DisclosureContent-BNiBdwyY.js";const i=`ax-disclosure-content`;var a=t(i,r,n,e);export{i as DisclosureContent,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{X as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../DisclosureContent-fwxAK_Ck.js";const i=`ax-disclosure-content`;var a=t(i,r,n,e);export{i as DisclosureContent,a as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{Q as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../DisclosureTrigger-6SVwgOWJ.js";const i=`ax-disclosure-trigger`;var a=t(i,r,n,e);export{i as DisclosureTrigger,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{Q as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../DisclosureTrigger-C3pYSoY2.js";const i=`ax-disclosure-trigger`;var a=t(i,r,n,e);export{i as DisclosureTrigger,a as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{$ as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../ListboxSwitchItem-CTWswZhq.js";import{t as s}from"../dist-Dyz-V9n6.js";t();const c=e(({children:e,...t},n)=>/* @__PURE__ */ r(s,{asChild:!0,ref:n,...t,children:/* @__PURE__ */ r(o,{children:e})}));c.displayName=`@optiaxiom/react/DropdownMenuCheckboxItem`;const l=`ax-dropdown-menu-checkbox-item`;var u=i(l,c,a,n);export{l as DropdownMenuCheckboxItem,u as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{$ as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../ListboxSwitchItem-i4LKxug3.js";import{t as s}from"../dist-Dyz-V9n6.js";t();const c=e(({children:e,...t},n)=>/* @__PURE__ */ r(s,{asChild:!0,ref:n,...t,children:/* @__PURE__ */ r(o,{children:e})}));c.displayName=`@optiaxiom/react/DropdownMenuCheckboxItem`;const l=`ax-dropdown-menu-checkbox-item`;var u=i(l,c,a,n);export{l as DropdownMenuCheckboxItem,u as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{et as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-CgPf7h9G.js";import{t as s}from"../Spinner-B3lkMYO8.js";import{t as c}from"../TransitionGroup-DYfAXTbX.js";import{t as l}from"../Portal-iQZETiXt.js";import{t as u}from"../ModalListbox-NRHpmafQ.js";import{n as d}from"../DropdownMenuContext-DJWkx3Ip.js";import{n as f}from"../dist-Dyz-V9n6.js";t();const p=e(({align:e=`start`,children:t,loading:n,...i},a)=>{let{open:p,presence:m,setPresence:h}=d(`@optiaxiom/react/DropdownMenuContent`);return/* @__PURE__ */ r(c,{onPresenceChange:h,open:p,presence:m,children:/* @__PURE__ */ r(l,{asChild:!0,children:/* @__PURE__ */ r(u,{asChild:!0,...i,children:/* @__PURE__ */ r(f,{align:e,"data-state":m?`open`:`closed`,forceMount:!0,onPointerMove:e=>{p||e.preventDefault()},ref:a,sideOffset:4,children:n?/* @__PURE__ */ r(o,{"aria-hidden":!0,display:`flex`,justifyContent:`center`,p:`16`,children:/* @__PURE__ */ r(s,{})}):t})})})})});p.displayName=`@optiaxiom/react/DropdownMenuContent`;const m=`ax-dropdown-menu-content`;var h=i(m,p,a,n);export{m as DropdownMenuContent,h as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{et as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-55YQsWMw.js";import{t as s}from"../Spinner-BJmboi55.js";import{t as c}from"../TransitionGroup-DYfAXTbX.js";import{t as l}from"../Portal-iQZETiXt.js";import{t as u}from"../ModalListbox-Cywkx4ws.js";import{n as d}from"../DropdownMenuContext-DJWkx3Ip.js";import{n as f}from"../dist-Dyz-V9n6.js";t();const p=e(({align:e=`start`,children:t,loading:n,...i},a)=>{let{open:p,presence:m,setPresence:h}=d(`@optiaxiom/react/DropdownMenuContent`);return/* @__PURE__ */ r(c,{onPresenceChange:h,open:p,presence:m,children:/* @__PURE__ */ r(l,{asChild:!0,children:/* @__PURE__ */ r(u,{asChild:!0,...i,children:/* @__PURE__ */ r(f,{align:e,"data-state":m?`open`:`closed`,forceMount:!0,onPointerMove:e=>{p||e.preventDefault()},ref:a,sideOffset:4,children:n?/* @__PURE__ */ r(o,{"aria-hidden":!0,display:`flex`,justifyContent:`center`,p:`16`,children:/* @__PURE__ */ r(s,{})}):t})})})})});p.displayName=`@optiaxiom/react/DropdownMenuContent`;const m=`ax-dropdown-menu-content`;var h=i(m,p,a,n);export{m as DropdownMenuContent,h as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{tt as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-CgPf7h9G.js";import{r as s}from"../dist-Dyz-V9n6.js";t();const c=e(({children:e,...t},n)=>/* @__PURE__ */ r(o,{asChild:!0,ref:n,...t,children:/* @__PURE__ */ r(s,{children:e})}));c.displayName=`@optiaxiom/react/DropdownMenuGroup`;const l=`ax-dropdown-menu-group`;var u=i(l,c,a,n);export{l as DropdownMenuGroup,u as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{tt as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-55YQsWMw.js";import{r as s}from"../dist-Dyz-V9n6.js";t();const c=e(({children:e,...t},n)=>/* @__PURE__ */ r(o,{asChild:!0,ref:n,...t,children:/* @__PURE__ */ r(s,{children:e})}));c.displayName=`@optiaxiom/react/DropdownMenuGroup`;const l=`ax-dropdown-menu-group`;var u=i(l,c,a,n);export{l as DropdownMenuGroup,u as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{nt as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../ListboxItem-PiS2PQpK.js";import{n as s}from"../DropdownMenuContext-DJWkx3Ip.js";import{i as c}from"../dist-Dyz-V9n6.js";t();const l=e(({asChild:e,children:t,onSelect:n,...i},a)=>{let{open:l}=s(`@optiaxiom/react/DropdownMenuItem`);return/* @__PURE__ */ r(o,{asChild:!0,ref:a,...i,children:/* @__PURE__ */ r(c,{asChild:e,onPointerLeave:e=>{l||e.preventDefault()},onPointerMove:e=>{l||e.preventDefault()},onSelect:n,children:t})})});l.displayName=`@optiaxiom/react/DropdownMenuItem`;const u=`ax-dropdown-menu-item`;var d=i(u,l,a,n);export{u as DropdownMenuItem,d as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{nt as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../ListboxItem-BaXHD6mV.js";import{n as s}from"../DropdownMenuContext-DJWkx3Ip.js";import{i as c}from"../dist-Dyz-V9n6.js";t();const l=e(({asChild:e,children:t,onSelect:n,...i},a)=>{let{open:l}=s(`@optiaxiom/react/DropdownMenuItem`);return/* @__PURE__ */ r(o,{asChild:!0,ref:a,...i,children:/* @__PURE__ */ r(c,{asChild:e,onPointerLeave:e=>{l||e.preventDefault()},onPointerMove:e=>{l||e.preventDefault()},onSelect:n,children:t})})});l.displayName=`@optiaxiom/react/DropdownMenuItem`;const u=`ax-dropdown-menu-item`;var d=i(u,l,a,n);export{u as DropdownMenuItem,d as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{rt as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-CgPf7h9G.js";import{a as s}from"../dist-Dyz-V9n6.js";t();const c=e(({children:e,...t},n)=>/* @__PURE__ */ r(o,{asChild:!0,color:`fg.tertiary`,fontFamily:`mono`,fontSize:`sm`,p:`8`,ref:n,textTransform:`uppercase`,...t,children:/* @__PURE__ */ r(s,{children:e})}));c.displayName=`@optiaxiom/react/DropdownMenuLabel`;const l=`ax-dropdown-menu-label`;var u=i(l,c,a,n);export{l as DropdownMenuLabel,u as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{rt as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-55YQsWMw.js";import{a as s}from"../dist-Dyz-V9n6.js";t();const c=e(({children:e,...t},n)=>/* @__PURE__ */ r(o,{asChild:!0,color:`fg.tertiary`,fontFamily:`mono`,fontSize:`sm`,p:`8`,ref:n,textTransform:`uppercase`,...t,children:/* @__PURE__ */ r(s,{children:e})}));c.displayName=`@optiaxiom/react/DropdownMenuLabel`;const l=`ax-dropdown-menu-label`;var u=i(l,c,a,n);export{l as DropdownMenuLabel,u as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{at as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../ListboxSeparator-d9qQqcbp.js";import{s}from"../dist-Dyz-V9n6.js";t();const c=e((e,t)=>/* @__PURE__ */ r(o,{asChild:!0,...e,children:/* @__PURE__ */ r(s,{ref:t})}));c.displayName=`@optiaxiom/react/DropdownMenuSeparator`;const l=`ax-dropdown-menu-separator`;var u=i(l,c,a,n);export{l as DropdownMenuSeparator,u as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{at as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../ListboxSeparator-CBSPUWDH.js";import{s}from"../dist-Dyz-V9n6.js";t();const c=e((e,t)=>/* @__PURE__ */ r(o,{asChild:!0,...e,children:/* @__PURE__ */ r(s,{ref:t})}));c.displayName=`@optiaxiom/react/DropdownMenuSeparator`;const l=`ax-dropdown-menu-separator`;var u=i(l,c,a,n);export{l as DropdownMenuSeparator,u as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{ot as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../TransitionGroup-DYfAXTbX.js";import{t as s}from"../Portal-iQZETiXt.js";import{t as c}from"../ModalListbox-NRHpmafQ.js";import{l}from"../dist-Dyz-V9n6.js";import{n as u}from"../DropdownMenuSubContext-CG_IijXt.js";t();const d=e(({asChild:e,children:t,...n},i)=>{let{open:a,setPresence:d}=u(`@optiaxiom/react/DropdownMenuSubContent`);return/* @__PURE__ */ r(o,{onPresenceChange:d,open:a,children:/* @__PURE__ */ r(s,{asChild:!0,children:/* @__PURE__ */ r(c,{asChild:!0,...n,children:/* @__PURE__ */ r(l,{alignOffset:-4,asChild:e,ref:i,sideOffset:0,children:t})})})})});d.displayName=`@optiaxiom/react/DropdownMenuSubContent`;const f=`ax-dropdown-menu-sub-content`;var p=i(f,d,a,n);export{f as DropdownMenuSubContent,p as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{ot as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../TransitionGroup-DYfAXTbX.js";import{t as s}from"../Portal-iQZETiXt.js";import{t as c}from"../ModalListbox-Cywkx4ws.js";import{l}from"../dist-Dyz-V9n6.js";import{n as u}from"../DropdownMenuSubContext-CG_IijXt.js";t();const d=e(({asChild:e,children:t,...n},i)=>{let{open:a,setPresence:d}=u(`@optiaxiom/react/DropdownMenuSubContent`);return/* @__PURE__ */ r(o,{onPresenceChange:d,open:a,children:/* @__PURE__ */ r(s,{asChild:!0,children:/* @__PURE__ */ r(c,{asChild:!0,...n,children:/* @__PURE__ */ r(l,{alignOffset:-4,asChild:e,ref:i,sideOffset:0,children:t})})})})});d.displayName=`@optiaxiom/react/DropdownMenuSubContent`;const f=`ax-dropdown-menu-sub-content`;var p=i(f,d,a,n);export{f as DropdownMenuSubContent,p as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{ct as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../AngleMenuButton-Dxsp_287.js";import{n as s}from"../DropdownMenuContext-DJWkx3Ip.js";import{u as c}from"../dist-Dyz-V9n6.js";t();const l=e(({asChild:e,children:t,...n},i)=>{let{open:a,presence:l}=s(`@optiaxiom/react/DropdownMenuTrigger`);return/* @__PURE__ */ r(c,{"aria-expanded":a||l,asChild:!0,"data-state":a||l?`open`:`closed`,ref:i,...n,children:e?t:/* @__PURE__ */ r(o,{children:t})})});l.displayName=`@optiaxiom/react/DropdownMenuTrigger`;const u=`ax-dropdown-menu-trigger`;var d=i(u,l,a,n);export{u as DropdownMenuTrigger,d as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{ct as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../AngleMenuButton-BC0eCFnb.js";import{n as s}from"../DropdownMenuContext-DJWkx3Ip.js";import{u as c}from"../dist-Dyz-V9n6.js";t();const l=e(({asChild:e,children:t,...n},i)=>{let{open:a,presence:l}=s(`@optiaxiom/react/DropdownMenuTrigger`);return/* @__PURE__ */ r(c,{"aria-expanded":a||l,asChild:!0,"data-state":a||l?`open`:`closed`,ref:i,...n,children:e?t:/* @__PURE__ */ r(o,{children:t})})});l.displayName=`@optiaxiom/react/DropdownMenuTrigger`;const u=`ax-dropdown-menu-trigger`;var d=i(u,l,a,n);export{u as DropdownMenuTrigger,d as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{lt as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Button-BCJF4Ihp.js";import{t as s}from"../more_horiz-rHqsUkG_.js";t();const c=e(({children:e,...t},n)=>/* @__PURE__ */ r(o,{icon:/* @__PURE__ */ r(s,{}),iconPosition:`end`,ref:n,...t,children:e}));c.displayName=`@optiaxiom/react/EllipsisMenuButton`;const l=`ax-ellipsis-menu-button`;var u=i(l,c,a,n);export{l as EllipsisMenuButton,u as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{lt as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Button-Cs01fDrn.js";import{t as s}from"../more_horiz-rHqsUkG_.js";t();const c=e(({children:e,...t},n)=>/* @__PURE__ */ r(o,{icon:/* @__PURE__ */ r(s,{}),iconPosition:`end`,ref:n,...t,children:e}));c.displayName=`@optiaxiom/react/EllipsisMenuButton`;const l=`ax-ellipsis-menu-button`;var u=i(l,c,a,n);export{l as EllipsisMenuButton,u as default};
@@ -1 +1 @@
1
- import{_ as e,a as t,d as n,n as r,r as i,t as a,y as o}from"../register-Cw2o7_6I.js";import{dt as s}from"../propTypes-BuGUXuUg.js";import{t as c}from"../Box-CgPf7h9G.js";import{t as l}from"../Group-BbwOhXsj.js";import{t as u}from"../Text-CywFc_fE.js";import{t as d}from"../useSurface-CwymaR5q.js";import{t as f}from"../fallbackSpan-CThGSmT4.js";import{t as p}from"../Button-BCJF4Ihp.js";import{t as m}from"../dist-DMk5UOim.js";import{t as h}from"../Alert-CCuwSCZr.js";import{t as g}from"../warning-DhOxLGSr.js";import{t as _}from"../FieldLabel-BXwHdSNk.js";import{t as v}from"../useEvent-CYI6jbL9.js";import{t as y}from"../useSuggestions-9Sypqdzo.js";import{t as b}from"../FieldContext-C2JRgpyg.js";n();function x({...t}){let n=d(`property`),r=n?.suggestionPopover.registered,a=y(`property`,`message`),s=y(`property`,`value`),[c,f]=e(!1),m=v(n?.suggestionAlert.register??(()=>{}));o(()=>m(),[m]);let g=a?.[0],_=r?void 0:s?.find(e=>e.value!==n?.value),b=g??_;if(!b||!n)return null;let x=b.type===`message`?b.text:n.renderSuggestionValue?n.renderSuggestionValue(b.value):String(b.value),S=b.type===`value`?b.reason:void 0;return/* @__PURE__ */ i(h,{intent:`opal`,onDismiss:()=>n.reject(b.id),...t,children:[/* @__PURE__ */ i(u,{children:x}),S&&/* @__PURE__ */ i(u,{color:`fg.secondary`,children:S}),/* @__PURE__ */ i(l,{gap:`4`,children:/* @__PURE__ */ i(p,{appearance:`primary-opal`,disabled:c,loading:c,onClick:async()=>{if(b.type===`message`&&b.tool){f(!0);try{await n.executeTool(b.tool.name,b.tool.parameters)}finally{f(!1)}}n.accept(b.id)},size:`sm`,children:`Accept`})})]})}x.displayName=`@optiaxiom/react/SuggestionAlert`,n();const S=t(({children:e,description:t,error:n,info:r,inputId:a,label:o,labelId:s,required:u,...d},p)=>{let h=m(a),v=m(),y=m(),S=m(s);return/* @__PURE__ */ i(l,{flexDirection:`column`,gap:`4`,ref:p,...d,children:[o&&/* @__PURE__ */ i(_,{info:r,inputId:h,labelId:S,required:u,children:o}),/* @__PURE__ */ i(b,{descriptionId:t?v:void 0,error:!!n,errorId:n?y:void 0,inputId:h,labelId:o?S:void 0,children:e}),n&&n!==!0&&/* @__PURE__ */ i(l,{alignItems:`start`,color:`fg.error`,fontSize:`sm`,gap:`4`,id:y,role:`alert`,children:[/* @__PURE__ */ i(c,{asChild:!0,flex:`none`,size:`16`,children:/* @__PURE__ */ i(g,{"aria-label":`Error`})}),n]}),t&&/* @__PURE__ */ i(c,{asChild:!0,color:`fg.tertiary`,fontSize:`sm`,id:v,children:f(t)}),/* @__PURE__ */ i(x,{})]})});S.displayName=`@optiaxiom/react/Field`;const C=`ax-field`;var w=a(C,S,s,r);export{C as Field,w as default};
1
+ import{_ as e,a as t,d as n,n as r,r as i,t as a,y as o}from"../register-Cw2o7_6I.js";import{dt as s}from"../propTypes-BuGUXuUg.js";import{t as c}from"../Box-55YQsWMw.js";import{t as l}from"../Group-DKJlvhys.js";import{t as u}from"../Text-Di0zSuay.js";import{t as d}from"../useSurface-CwymaR5q.js";import{t as f}from"../fallbackSpan-CThGSmT4.js";import{t as p}from"../Button-Cs01fDrn.js";import{t as m}from"../dist-DMk5UOim.js";import{t as h}from"../Alert-EG3bqbYx.js";import{t as g}from"../warning-DhOxLGSr.js";import{t as _}from"../FieldLabel-Cy4eM8BC.js";import{t as v}from"../useEvent-CYI6jbL9.js";import{t as y}from"../useSuggestions-9Sypqdzo.js";import{t as b}from"../FieldContext-C2JRgpyg.js";n();function x({...t}){let n=d(`property`),r=n?.suggestionPopover.registered,a=y(`property`,`message`),s=y(`property`,`value`),[c,f]=e(!1),m=v(n?.suggestionAlert.register??(()=>{}));o(()=>m(),[m]);let g=a?.[0],_=r?void 0:s?.find(e=>e.value!==n?.value),b=g??_;if(!b||!n)return null;let x=b.type===`message`?b.text:n.renderSuggestionValue?n.renderSuggestionValue(b.value):String(b.value),S=b.type===`value`?b.reason:void 0;return/* @__PURE__ */ i(h,{intent:`opal`,onDismiss:()=>n.reject(b.id),...t,children:[/* @__PURE__ */ i(u,{children:x}),S&&/* @__PURE__ */ i(u,{color:`fg.secondary`,children:S}),/* @__PURE__ */ i(l,{gap:`4`,children:/* @__PURE__ */ i(p,{appearance:`primary-opal`,disabled:c,loading:c,onClick:async()=>{if(b.type===`message`&&b.tool){f(!0);try{await n.executeTool(b.tool.name,b.tool.parameters)}finally{f(!1)}}n.accept(b.id)},size:`sm`,children:`Accept`})})]})}x.displayName=`@optiaxiom/react/SuggestionAlert`,n();const S=t(({children:e,description:t,error:n,info:r,inputId:a,label:o,labelId:s,required:u,...d},p)=>{let h=m(a),v=m(),y=m(),S=m(s);return/* @__PURE__ */ i(l,{flexDirection:`column`,gap:`4`,ref:p,...d,children:[o&&/* @__PURE__ */ i(_,{info:r,inputId:h,labelId:S,required:u,children:o}),/* @__PURE__ */ i(b,{descriptionId:t?v:void 0,error:!!n,errorId:n?y:void 0,inputId:h,labelId:o?S:void 0,children:e}),n&&n!==!0&&/* @__PURE__ */ i(l,{alignItems:`start`,color:`fg.error`,fontSize:`sm`,gap:`4`,id:y,role:`alert`,children:[/* @__PURE__ */ i(c,{asChild:!0,flex:`none`,size:`16`,children:/* @__PURE__ */ i(g,{"aria-label":`Error`})}),n]}),t&&/* @__PURE__ */ i(c,{asChild:!0,color:`fg.tertiary`,fontSize:`sm`,id:v,children:f(t)}),/* @__PURE__ */ i(x,{})]})});S.displayName=`@optiaxiom/react/Field`;const C=`ax-field`;var w=a(C,S,s,r);export{C as Field,w as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{ut as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../FieldLabel-BXwHdSNk.js";const i=`ax-field-label`;var a=t(i,r,n,e);export{i as FieldLabel,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{ut as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../FieldLabel-Cy4eM8BC.js";const i=`ax-field-label`;var a=t(i,r,n,e);export{i as FieldLabel,a as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{ft as a}from"../propTypes-BuGUXuUg.js";import{a as o,t as s}from"../Box-CgPf7h9G.js";t();const c={column:`stretch`,"column-reverse":`stretch`,row:`center`,"row-reverse":`center`},l=e(({alignItems:e,display:t=`flex`,flexDirection:n=`column`,gap:i=`16`,...a},l)=>/* @__PURE__ */ r(s,{alignItems:e??o(n,e=>c[e]),display:t,flexDirection:n,gap:i,ref:l,...a}));l.displayName=`@optiaxiom/react/Flex`;const u=`ax-flex`;var d=i(u,l,a,n);export{u as Flex,d as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{ft as a}from"../propTypes-BuGUXuUg.js";import{a as o,t as s}from"../Box-55YQsWMw.js";t();const c={column:`stretch`,"column-reverse":`stretch`,row:`center`,"row-reverse":`center`},l=e(({alignItems:e,display:t=`flex`,flexDirection:n=`column`,gap:i=`16`,...a},l)=>/* @__PURE__ */ r(s,{alignItems:e??o(n,e=>c[e]),display:t,flexDirection:n,gap:i,ref:l,...a}));l.displayName=`@optiaxiom/react/Flex`;const u=`ax-flex`;var d=i(u,l,a,n);export{u as Flex,d as default};
@@ -1 +1 @@
1
- import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{pt as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-CgPf7h9G.js";t();const s=e(({display:e=`grid`,gap:t=`16`,gridTemplateColumns:n=`1`,...i},a)=>/* @__PURE__ */ r(o,{display:e,gap:t,gridTemplateColumns:n,ref:a,...i}));s.displayName=`@optiaxiom/react/Grid`;const c=`ax-grid`;var l=i(c,s,a,n);export{c as Grid,l as default};
1
+ import{a as e,d as t,n,r,t as i}from"../register-Cw2o7_6I.js";import{pt as a}from"../propTypes-BuGUXuUg.js";import{t as o}from"../Box-55YQsWMw.js";t();const s=e(({display:e=`grid`,gap:t=`16`,gridTemplateColumns:n=`1`,...i},a)=>/* @__PURE__ */ r(o,{display:e,gap:t,gridTemplateColumns:n,ref:a,...i}));s.displayName=`@optiaxiom/react/Grid`;const c=`ax-grid`;var l=i(c,s,a,n);export{c as Grid,l as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{mt as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Group-BbwOhXsj.js";const i=`ax-group`;var a=t(i,r,n,e);export{i as Group,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{mt as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Group-DKJlvhys.js";const i=`ax-group`;var a=t(i,r,n,e);export{i as Group,a as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{ht as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Heading-DsvqX2it.js";const i=`ax-heading`;var a=t(i,r,n,e);export{i as Heading,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{ht as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Heading-DKHqw2RC.js";const i=`ax-heading`;var a=t(i,r,n,e);export{i as Heading,a as default};
@@ -1 +1 @@
1
- import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-Cw2o7_6I.js";import{gt as o}from"../propTypes-BuGUXuUg.js";import{t as s}from"../Box-CgPf7h9G.js";import"../layers.css.ts.vanilla-_0yplc22-ybrMTv4K.js";import{t as c}from"../recipeRuntime-BkylZxVy.js";import{t as l}from"../dist-DI6sImhV.js";import{t as u}from"../Group-BbwOhXsj.js";import{t as d}from"../Badge-CONM8DYb.js";n(`@layer optiaxiom.eeki7c;@layer optiaxiom.eeki7c{.bz8c98{position:relative}._1s0axmv{--qxzdep:calc(var(--ax-styles-scale, 1rem)*0.125);--_7jou4:50%;position:absolute;right:var(--qxzdep)}.d42wys{--qxzdep:0;--_7jou4:0}.vws98t{bottom:var(--qxzdep);transform:translate(var(--_7jou4),var(--_7jou4))}._446occ{top:var(--qxzdep);transform:translate(var(--_7jou4),calc(var(--_7jou4)*-1))}.odo0x5{position:relative}.odo0x5:empty{aspect-ratio:1}.hcue92:not(:empty){min-width:calc(var(--ax-styles-scale, 1rem)*1)}._17x0pgs{position:absolute}}`);var f=c({base:`odo0x5`,variants:{offset:{false:{px:`0`,py:`0`},true:[{px:`4`,py:`0`},`hcue92`]},ping:{false:{},true:[{animation:`ping`,color:`transparent`,pointerEvents:`none`},`_17x0pgs`]}}}),p=c({base:[{display:`inline-flex`,pointerEvents:`none`,z:`10`},`_1s0axmv`],variants:{offset:{false:`d42wys`,true:{}},position:{"bottom-right":`vws98t`,"top-right":`_446occ`}}}),m=c({base:[{display:`inline-flex`,flexDirection:`column`,gap:`16`},`bz8c98`]});t();const h=l(`@optiaxiom/react/Indicator`),g=e(({asChild:e,children:t,className:n,content:r,disabled:a,intent:o,offset:c=!0,ping:l,position:g=`top-right`,variant:_,...v},y)=>/* @__PURE__ */ i(u,{ref:y,...m({},n),...v,children:[t,!a&&/* @__PURE__ */ i(s,{...p({offset:c,position:g}),children:[l&&/* @__PURE__ */ i(h,{"aria-hidden":`true`,...f({offset:c,ping:!0}),children:e?r:/* @__PURE__ */ i(d,{intent:o,variant:_,children:r})}),/* @__PURE__ */ i(h,{...f({offset:c}),children:e?r:/* @__PURE__ */ i(d,{intent:o,variant:_,children:r})})]})]}));g.displayName=`@optiaxiom/react/Indicator`;const _=`ax-indicator`;var v=a(_,g,o,r);export{_ as Indicator,v as default};
1
+ import{a as e,d as t,k as n,n as r,r as i,t as a}from"../register-Cw2o7_6I.js";import{gt as o}from"../propTypes-BuGUXuUg.js";import{t as s}from"../Box-55YQsWMw.js";import"../layers.css.ts.vanilla-BFWK0cT2-MfWogAlC.js";import{t as c}from"../recipeRuntime-BkylZxVy.js";import{t as l}from"../dist-DI6sImhV.js";import{t as u}from"../Group-DKJlvhys.js";import{t as d}from"../Badge-skOTR7jX.js";n(`@layer optiaxiom.hjtpuo;@layer optiaxiom.hjtpuo{._190oj9z{position:relative}._1oobo8x{--ebue0l:calc(var(--ax-styles-scale, 1rem)*0.125);--_1utx4p7:50%;position:absolute;right:var(--ebue0l)}._1w7tqe{--ebue0l:0;--_1utx4p7:0}._17klkca{bottom:var(--ebue0l);transform:translate(var(--_1utx4p7),var(--_1utx4p7))}._1hoggkl{top:var(--ebue0l);transform:translate(var(--_1utx4p7),calc(var(--_1utx4p7)*-1))}.pt6uk{position:relative}.pt6uk:empty{aspect-ratio:1}._1jd2an9:not(:empty){min-width:calc(var(--ax-styles-scale, 1rem)*1)}._1xpjy04{position:absolute}}`);var f=c({base:`pt6uk`,variants:{offset:{false:{px:`0`,py:`0`},true:[{px:`4`,py:`0`},`_1jd2an9`]},ping:{false:{},true:[{animation:`ping`,color:`transparent`,pointerEvents:`none`},`_1xpjy04`]}}}),p=c({base:[{display:`inline-flex`,pointerEvents:`none`,z:`10`},`_1oobo8x`],variants:{offset:{false:`_1w7tqe`,true:{}},position:{"bottom-right":`_17klkca`,"top-right":`_1hoggkl`}}}),m=c({base:[{display:`inline-flex`,flexDirection:`column`,gap:`16`},`_190oj9z`]});t();const h=l(`@optiaxiom/react/Indicator`),g=e(({asChild:e,children:t,className:n,content:r,disabled:a,intent:o,offset:c=!0,ping:l,position:g=`top-right`,variant:_,...v},y)=>/* @__PURE__ */ i(u,{ref:y,...m({},n),...v,children:[t,!a&&/* @__PURE__ */ i(s,{...p({offset:c,position:g}),children:[l&&/* @__PURE__ */ i(h,{"aria-hidden":`true`,...f({offset:c,ping:!0}),children:e?r:/* @__PURE__ */ i(d,{intent:o,variant:_,children:r})}),/* @__PURE__ */ i(h,{...f({offset:c}),children:e?r:/* @__PURE__ */ i(d,{intent:o,variant:_,children:r})})]})]}));g.displayName=`@optiaxiom/react/Indicator`;const _=`ax-indicator`;var v=a(_,g,o,r);export{_ as Indicator,v as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{yt as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Input-B1TDbp0G.js";const i=`ax-input`;var a=t(i,r,n,e);export{i as Input,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{yt as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../Input-DDYJbG2p.js";const i=`ax-input`;var a=t(i,r,n,e);export{i as Input,a as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{_t as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../InputAddon-HT1sT2FE.js";const i=`ax-input-addon`;var a=t(i,r,n,e);export{i as InputAddon,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{_t as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../InputAddon-Cgk3k5lU.js";const i=`ax-input-addon`;var a=t(i,r,n,e);export{i as InputAddon,a as default};
@@ -1 +1 @@
1
- import{n as e,t}from"../register-Cw2o7_6I.js";import{vt as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../InputControl-CbKVHLpN.js";const i=`ax-input-control`;var a=t(i,r,n,e);export{i as InputControl,a as default};
1
+ import{n as e,t}from"../register-Cw2o7_6I.js";import{vt as n}from"../propTypes-BuGUXuUg.js";import{t as r}from"../InputControl-ChJFJFOO.js";const i=`ax-input-control`;var a=t(i,r,n,e);export{i as InputControl,a as default};