@apollion-dsi/core 7.10.0 → 7.11.0

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 (308) hide show
  1. package/lib/chunks/{Dropdown.floating-QJAJIFQB.esm.js → Dropdown.floating-CGDK6IQB.esm.js} +1 -1
  2. package/lib/chunks/Notification.group-6ZJ35RFH.esm.js +1 -0
  3. package/lib/chunks/{Tooltip.floating-WYKEOQ4M.esm.js → Tooltip.floating-GCKKBEPS.esm.js} +1 -1
  4. package/lib/chunks/chunk-22L6RHSB.esm.js +1 -0
  5. package/lib/chunks/chunk-2IYNQSEF.esm.js +3 -0
  6. package/lib/chunks/{chunk-ENPBIFMV.esm.js → chunk-2ZPR5X22.esm.js} +1 -1
  7. package/lib/chunks/chunk-33GYYZW5.esm.js +3 -0
  8. package/lib/chunks/chunk-3U45VKPR.esm.js +1 -0
  9. package/lib/chunks/chunk-45IZXEOV.esm.js +1 -0
  10. package/lib/chunks/chunk-4DJF3WKO.esm.js +1 -0
  11. package/lib/chunks/{chunk-E26CL7AQ.esm.js → chunk-4PSGJ4KW.esm.js} +1 -1
  12. package/lib/chunks/{chunk-XUZQE326.esm.js → chunk-5DB2GNDG.esm.js} +1 -1
  13. package/lib/chunks/chunk-5SAWZQF2.esm.js +1 -0
  14. package/lib/chunks/chunk-6DQTCBWZ.esm.js +34 -0
  15. package/lib/chunks/chunk-6DZLOIJM.esm.js +1 -0
  16. package/lib/chunks/chunk-6JKM5LWJ.esm.js +1 -0
  17. package/lib/chunks/chunk-6RDQTTU7.esm.js +1 -0
  18. package/lib/chunks/{chunk-IAZM4W3N.esm.js → chunk-7BPMKNB4.esm.js} +1 -1
  19. package/lib/chunks/chunk-7CP7LKXR.esm.js +1 -0
  20. package/lib/chunks/{chunk-CLBV5RLF.esm.js → chunk-7NRIVJCP.esm.js} +1 -1
  21. package/lib/chunks/chunk-B4C4W4FQ.esm.js +1 -0
  22. package/lib/chunks/chunk-CHV2ZUQD.esm.js +1 -0
  23. package/lib/chunks/{chunk-4YRJLSB2.esm.js → chunk-CQCUYQLG.esm.js} +1 -1
  24. package/lib/chunks/{chunk-2C4RPPWG.esm.js → chunk-DANPODK7.esm.js} +1 -1
  25. package/lib/chunks/chunk-DBQUILKQ.esm.js +1 -0
  26. package/lib/chunks/chunk-DFCTM42P.esm.js +1 -0
  27. package/lib/chunks/chunk-DNTSG7ID.esm.js +1 -0
  28. package/lib/chunks/chunk-DUZ3UYGO.esm.js +4 -0
  29. package/lib/chunks/{chunk-OAMAE3G7.esm.js → chunk-DXPIQ43V.esm.js} +1 -1
  30. package/lib/chunks/chunk-E2WGTSVG.esm.js +1 -0
  31. package/lib/chunks/chunk-EDGTRXXL.esm.js +50 -0
  32. package/lib/chunks/{chunk-QEB4VTKV.esm.js → chunk-ELPFJTKD.esm.js} +1 -1
  33. package/lib/chunks/chunk-EYMARJ4Q.esm.js +1 -0
  34. package/lib/chunks/chunk-FSHKQRLP.esm.js +5 -0
  35. package/lib/chunks/chunk-G245LAH7.esm.js +1 -0
  36. package/lib/chunks/chunk-GC6FOZ4B.esm.js +1 -0
  37. package/lib/chunks/{chunk-T4R2OTIU.esm.js → chunk-GCVC74KG.esm.js} +1 -1
  38. package/lib/chunks/{chunk-BCG4MZZG.esm.js → chunk-GEBN7XFE.esm.js} +1 -1
  39. package/lib/chunks/chunk-GEVUBPWB.esm.js +1 -0
  40. package/lib/chunks/{chunk-IC54RGJD.esm.js → chunk-GNO7BQ3B.esm.js} +1 -1
  41. package/lib/chunks/chunk-GOQVJFQ2.esm.js +1 -0
  42. package/lib/chunks/{chunk-R2QEO3KP.esm.js → chunk-GXYMVUHX.esm.js} +3 -3
  43. package/lib/chunks/chunk-H46LQARX.esm.js +32 -0
  44. package/lib/chunks/{chunk-ZOGV6D7S.esm.js → chunk-HHVRC2P2.esm.js} +1 -1
  45. package/lib/chunks/chunk-HZGZHA72.esm.js +1 -0
  46. package/lib/chunks/chunk-I27NMJ2O.esm.js +1 -0
  47. package/lib/chunks/chunk-I44GUGQY.esm.js +4 -0
  48. package/lib/chunks/{chunk-TCA5DSF6.esm.js → chunk-I4D6F6PH.esm.js} +1 -1
  49. package/lib/chunks/chunk-I4J4D6CA.esm.js +1 -0
  50. package/lib/chunks/chunk-IC3NPVIH.esm.js +1 -0
  51. package/lib/chunks/{chunk-JTXT4BH4.esm.js → chunk-J3B6PNHW.esm.js} +1 -1
  52. package/lib/chunks/chunk-JJNKAIKI.esm.js +9 -0
  53. package/lib/chunks/chunk-K7KSNUEB.esm.js +1 -0
  54. package/lib/chunks/{chunk-T3ANVSKR.esm.js → chunk-LC4BKV7R.esm.js} +1 -1
  55. package/lib/chunks/{chunk-I6XZCSTD.esm.js → chunk-LI27QROV.esm.js} +1 -1
  56. package/lib/chunks/chunk-LKFRVWL5.esm.js +1 -0
  57. package/lib/chunks/chunk-LLAFAJR6.esm.js +1 -0
  58. package/lib/chunks/chunk-M72UQD4Y.esm.js +1 -0
  59. package/lib/chunks/chunk-MZXRPRCH.esm.js +1 -0
  60. package/lib/chunks/{chunk-MSAOOFU2.esm.js → chunk-N3JC6B5N.esm.js} +1 -1
  61. package/lib/chunks/chunk-NE3O7IUH.esm.js +1 -0
  62. package/lib/chunks/{chunk-UWH5IBPA.esm.js → chunk-NKDDPC27.esm.js} +1 -1
  63. package/lib/chunks/chunk-OGH2NV35.esm.js +1 -0
  64. package/lib/chunks/chunk-OGHFYC4K.esm.js +1 -0
  65. package/lib/chunks/chunk-OLGOEEW6.esm.js +1 -0
  66. package/lib/chunks/chunk-PCWBDQWO.esm.js +1 -0
  67. package/lib/chunks/chunk-PK6O55XG.esm.js +1 -0
  68. package/lib/chunks/{chunk-K6R7CVK4.esm.js → chunk-QG3UN4BG.esm.js} +1 -1
  69. package/lib/chunks/chunk-RDBFLIVD.esm.js +2 -0
  70. package/lib/chunks/chunk-RKUT26H6.esm.js +1 -0
  71. package/lib/chunks/chunk-RTA77K7Q.esm.js +1 -0
  72. package/lib/chunks/chunk-S52XSA7Y.esm.js +1 -0
  73. package/lib/chunks/chunk-S56GRIFE.esm.js +1 -0
  74. package/lib/chunks/chunk-S6UGHWWF.esm.js +1 -0
  75. package/lib/chunks/chunk-SGJQOSFT.esm.js +1 -0
  76. package/lib/chunks/{chunk-BASPM3ZG.esm.js → chunk-SYDLB7Y5.esm.js} +1 -1
  77. package/lib/chunks/{chunk-S3XZBMR2.esm.js → chunk-TWCGEBBW.esm.js} +1 -1
  78. package/lib/chunks/chunk-UD76AVXB.esm.js +1 -0
  79. package/lib/chunks/{chunk-GPYKOKB2.esm.js → chunk-UIYDNDCA.esm.js} +1 -1
  80. package/lib/chunks/chunk-VMU4IJ7R.esm.js +1 -0
  81. package/lib/chunks/chunk-WHJ4OP5O.esm.js +2 -0
  82. package/lib/chunks/chunk-WI2SPCLP.esm.js +1 -0
  83. package/lib/chunks/chunk-WM3H2QPO.esm.js +1 -0
  84. package/lib/chunks/{chunk-Z4WWUEI5.esm.js → chunk-X7VN6HII.esm.js} +7 -7
  85. package/lib/chunks/chunk-XM4DKPRG.esm.js +1 -0
  86. package/lib/chunks/chunk-YRKZV6F3.esm.js +1 -0
  87. package/lib/chunks/chunk-Z45XJAEQ.esm.js +1 -0
  88. package/lib/chunks/chunk-Z6JEMXFG.esm.js +1 -0
  89. package/lib/chunks/chunk-ZRUN7ZDR.esm.js +1 -0
  90. package/lib/chunks/chunk-ZTFCZTJC.esm.js +5 -0
  91. package/lib/chunks/chunk-ZUCQD2GN.esm.js +1 -0
  92. package/lib/containers/Base/index.esm.js +1 -1
  93. package/lib/containers/Box/Box.style.d.ts +2 -2
  94. package/lib/containers/Box/index.esm.js +1 -1
  95. package/lib/containers/Card/Card.style.d.ts +8 -8
  96. package/lib/containers/Card/index.esm.js +1 -1
  97. package/lib/containers/Content/index.esm.js +1 -1
  98. package/lib/containers/Flex/Flex.style.d.ts +2 -2
  99. package/lib/containers/Flex/index.esm.js +1 -1
  100. package/lib/containers/Grid/Grid.style.d.ts +2 -2
  101. package/lib/containers/Grid/index.esm.js +1 -1
  102. package/lib/containers/Notification/Notification.style.d.ts +8 -8
  103. package/lib/containers/Notification/index.esm.js +1 -1
  104. package/lib/containers/Paper/Paper.style.d.ts +4 -4
  105. package/lib/containers/Paper/index.esm.js +1 -1
  106. package/lib/containers/Scroll/Scroll.style.d.ts +4 -4
  107. package/lib/containers/Scroll/index.esm.js +1 -1
  108. package/lib/containers/index.esm.js +1 -1
  109. package/lib/dataDisplay/Accordion/Accordion.style.d.ts +13 -13
  110. package/lib/dataDisplay/Accordion/index.esm.js +1 -1
  111. package/lib/dataDisplay/DataTable/DataTable.style.d.ts +9 -9
  112. package/lib/dataDisplay/DataTable/index.esm.js +1 -1
  113. package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
  114. package/lib/dataDisplay/Diff/index.esm.js +1 -1
  115. package/lib/dataDisplay/Meter/Meter.style.d.ts +4 -4
  116. package/lib/dataDisplay/Meter/index.esm.js +1 -1
  117. package/lib/dataDisplay/Sparkline/index.esm.js +1 -1
  118. package/lib/dataDisplay/Steps/Steps.style.d.ts +12 -12
  119. package/lib/dataDisplay/Steps/index.esm.js +1 -1
  120. package/lib/dataDisplay/Table/Table/Table.style.d.ts +4 -4
  121. package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
  122. package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
  123. package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
  124. package/lib/dataDisplay/Table/TableEmpty/TableEmpty.style.d.ts +12 -12
  125. package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
  126. package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
  127. package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
  128. package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -1
  129. package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -1
  130. package/lib/dataDisplay/Table/index.esm.js +1 -1
  131. package/lib/dataDisplay/Tabs/Tabs.style.d.ts +24 -24
  132. package/lib/dataDisplay/Tabs/index.esm.js +1 -1
  133. package/lib/dataDisplay/index.esm.js +1 -1
  134. package/lib/elements/Avatar/index.esm.js +1 -1
  135. package/lib/elements/Button/Button.style.d.ts +4 -4
  136. package/lib/elements/Button/index.esm.js +1 -1
  137. package/lib/elements/Calendar/Calendar.style.d.ts +12 -12
  138. package/lib/elements/Calendar/index.esm.js +1 -1
  139. package/lib/elements/Chip/index.esm.js +1 -1
  140. package/lib/elements/ChipGroup/index.esm.js +1 -1
  141. package/lib/elements/Divider/Divider.style.d.ts +4 -4
  142. package/lib/elements/Divider/index.esm.js +1 -1
  143. package/lib/elements/Dropdown/Dropdown.d.ts +1 -1
  144. package/lib/elements/Dropdown/index.esm.js +1 -1
  145. package/lib/elements/Icon/index.esm.js +1 -1
  146. package/lib/elements/IconButton/IconButton.style.d.ts +16 -16
  147. package/lib/elements/IconButton/index.esm.js +1 -1
  148. package/lib/elements/IconText/index.esm.js +1 -1
  149. package/lib/elements/Image/index.esm.js +1 -1
  150. package/lib/elements/Label/index.esm.js +1 -1
  151. package/lib/elements/Link/Link.style.d.ts +8 -6
  152. package/lib/elements/Link/index.esm.js +1 -1
  153. package/lib/elements/List/List.style.d.ts +4 -4
  154. package/lib/elements/List/index.esm.js +1 -1
  155. package/lib/elements/Modal/Modal.d.ts +1 -1
  156. package/lib/elements/Modal/Modal.style.d.ts +12 -12
  157. package/lib/elements/Modal/index.esm.js +1 -1
  158. package/lib/elements/NavBar/index.esm.js +1 -1
  159. package/lib/elements/NavTabs/index.esm.js +1 -1
  160. package/lib/elements/Popover/index.esm.js +1 -1
  161. package/lib/elements/ProgressBar/ProgressBar.style.d.ts +4 -4
  162. package/lib/elements/ProgressBar/index.esm.js +1 -1
  163. package/lib/elements/Sheet/Sheet.style.d.ts +20 -20
  164. package/lib/elements/Sheet/index.esm.js +1 -1
  165. package/lib/elements/Spinner/index.esm.js +1 -1
  166. package/lib/elements/StatusDot/index.esm.js +1 -1
  167. package/lib/elements/Svg/Svg.d.ts +1 -1
  168. package/lib/elements/Svg/Svg.style.d.ts +1 -1
  169. package/lib/elements/Svg/index.esm.js +1 -1
  170. package/lib/elements/Text/Text.props.d.ts +5 -0
  171. package/lib/elements/Text/index.esm.js +1 -1
  172. package/lib/elements/Tooltip/Tooltip.d.ts +1 -1
  173. package/lib/elements/Tooltip/index.esm.js +1 -1
  174. package/lib/elements/index.esm.js +1 -1
  175. package/lib/factory/ContainerFactory/ContainerFactory.interface.d.ts +5 -0
  176. package/lib/factory/ContainerFactory/index.esm.js +1 -1
  177. package/lib/factory/ContainerQueryFactory/index.esm.js +1 -1
  178. package/lib/factory/MotionFactory/index.esm.js +1 -1
  179. package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
  180. package/lib/factory/System/index.esm.js +1 -1
  181. package/lib/factory/ViewportMediaFactory/index.esm.js +1 -1
  182. package/lib/factory/index.esm.js +1 -1
  183. package/lib/form/Checkbox/Checkbox.d.ts +1 -1
  184. package/lib/form/Checkbox/Checkbox.style.d.ts +14 -14
  185. package/lib/form/Checkbox/index.esm.js +1 -1
  186. package/lib/form/Field/Field.d.ts +1 -1
  187. package/lib/form/Field/Field.style.d.ts +8 -8
  188. package/lib/form/Field/index.esm.js +1 -1
  189. package/lib/form/FieldGroup/index.esm.js +1 -1
  190. package/lib/form/Form/Form.style.d.ts +8 -8
  191. package/lib/form/Form/index.esm.js +1 -1
  192. package/lib/form/Input/Input.style.d.ts +10 -10
  193. package/lib/form/Input/index.esm.js +1 -1
  194. package/lib/form/InputCurrency/InputCurrency.style.d.ts +4 -4
  195. package/lib/form/InputCurrency/index.esm.js +1 -1
  196. package/lib/form/InputDate/index.esm.js +1 -1
  197. package/lib/form/InputMask/index.esm.js +1 -1
  198. package/lib/form/InputRange/InputRange.d.ts +1 -1
  199. package/lib/form/InputRange/InputRange.style.d.ts +18 -16
  200. package/lib/form/InputRange/index.esm.js +1 -1
  201. package/lib/form/InputSelect/index.esm.js +1 -1
  202. package/lib/form/Option/Option.style.d.ts +4 -4
  203. package/lib/form/Option/index.esm.js +1 -1
  204. package/lib/form/Radio/Radio.d.ts +1 -1
  205. package/lib/form/Radio/Radio.style.d.ts +4 -4
  206. package/lib/form/Radio/index.esm.js +1 -1
  207. package/lib/form/Select/index.esm.js +1 -1
  208. package/lib/form/Switch/Switch.d.ts +1 -1
  209. package/lib/form/Switch/Switch.style.d.ts +2 -2
  210. package/lib/form/Switch/index.esm.js +1 -1
  211. package/lib/form/TextArea/TextArea.style.d.ts +12 -12
  212. package/lib/form/TextArea/index.esm.js +1 -1
  213. package/lib/form/UploadCard/UploadCard.style.d.ts +16 -16
  214. package/lib/form/UploadCard/index.esm.js +1 -1
  215. package/lib/form/index.esm.js +1 -1
  216. package/lib/index.d.ts +1 -1
  217. package/lib/index.esm.js +1 -1
  218. package/lib/index.js +1 -1
  219. package/lib/layouts/DefaultLayout/DefaultLayout.d.ts +1 -1
  220. package/lib/layouts/DefaultLayout/DefaultLayout.style.d.ts +10 -10
  221. package/lib/layouts/DefaultLayout/index.esm.js +1 -1
  222. package/lib/layouts/SideBarLayout/SideBarLayout.d.ts +1 -1
  223. package/lib/layouts/SideBarLayout/SideBarLayout.style.d.ts +10 -10
  224. package/lib/layouts/SideBarLayout/index.esm.js +1 -1
  225. package/lib/layouts/index.esm.js +1 -1
  226. package/lib/scenario/CircleComponent/index.esm.js +1 -1
  227. package/lib/scenario/RectComponent/index.esm.js +1 -1
  228. package/lib/scenario/index.esm.js +1 -1
  229. package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.d.ts +1 -1
  230. package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
  231. package/lib/skeleton/TextPreset/TextPreset.d.ts +1 -1
  232. package/lib/skeleton/TextPreset/index.esm.js +1 -1
  233. package/lib/skeleton/index.esm.js +1 -1
  234. package/lib/themes/Animation/index.esm.js +1 -1
  235. package/lib/themes/GlobalStyle/index.esm.js +1 -1
  236. package/lib/themes/Motion/index.esm.js +1 -1
  237. package/lib/themes/Telemetry/index.d.ts +5 -2
  238. package/lib/themes/Telemetry/index.esm.js +1 -1
  239. package/lib/themes/Telemetry/telemetry.config.d.ts +121 -0
  240. package/lib/themes/Telemetry/telemetry.d.ts +179 -52
  241. package/lib/themes/Telemetry/telemetry.runtime.d.ts +74 -0
  242. package/lib/themes/ThemeProvider/ThemeProvider.interface.d.ts +9 -6
  243. package/lib/themes/ThemeProvider/index.esm.js +1 -1
  244. package/lib/themes/index.esm.js +1 -1
  245. package/package.json +2 -2
  246. package/lib/chunks/Notification.group-JTTEYDLD.esm.js +0 -1
  247. package/lib/chunks/chunk-2V52IYQV.esm.js +0 -1
  248. package/lib/chunks/chunk-5YWORBNJ.esm.js +0 -1
  249. package/lib/chunks/chunk-6N6AWZ2R.esm.js +0 -1
  250. package/lib/chunks/chunk-7OHWGCC3.esm.js +0 -34
  251. package/lib/chunks/chunk-7PN2G2NK.esm.js +0 -1
  252. package/lib/chunks/chunk-7SRYVIHL.esm.js +0 -1
  253. package/lib/chunks/chunk-AOMCARXY.esm.js +0 -1
  254. package/lib/chunks/chunk-ATYHOAJ4.esm.js +0 -1
  255. package/lib/chunks/chunk-AXDZFTGE.esm.js +0 -1
  256. package/lib/chunks/chunk-BJBQV6AA.esm.js +0 -1
  257. package/lib/chunks/chunk-C2YDPXJ4.esm.js +0 -32
  258. package/lib/chunks/chunk-CNZXQX3A.esm.js +0 -1
  259. package/lib/chunks/chunk-D6WFXRZX.esm.js +0 -1
  260. package/lib/chunks/chunk-FAPRFOYB.esm.js +0 -1
  261. package/lib/chunks/chunk-FFOBK35P.esm.js +0 -1
  262. package/lib/chunks/chunk-FRN3ZKCH.esm.js +0 -50
  263. package/lib/chunks/chunk-FVTAFMZS.esm.js +0 -1
  264. package/lib/chunks/chunk-G5RULAV3.esm.js +0 -3
  265. package/lib/chunks/chunk-GGICV57H.esm.js +0 -1
  266. package/lib/chunks/chunk-GRUKMZSM.esm.js +0 -1
  267. package/lib/chunks/chunk-I47BDQKT.esm.js +0 -1
  268. package/lib/chunks/chunk-IW3VOOEV.esm.js +0 -1
  269. package/lib/chunks/chunk-IWESXUNV.esm.js +0 -1
  270. package/lib/chunks/chunk-JA7HYODC.esm.js +0 -1
  271. package/lib/chunks/chunk-JLQDS5TS.esm.js +0 -1
  272. package/lib/chunks/chunk-JSVL6DGF.esm.js +0 -1
  273. package/lib/chunks/chunk-KT4BKJVV.esm.js +0 -1
  274. package/lib/chunks/chunk-LH7YQF5N.esm.js +0 -1
  275. package/lib/chunks/chunk-LMFC47WU.esm.js +0 -1
  276. package/lib/chunks/chunk-MNSZ72SE.esm.js +0 -1
  277. package/lib/chunks/chunk-N72LVPOX.esm.js +0 -1
  278. package/lib/chunks/chunk-NDKZV5NA.esm.js +0 -3
  279. package/lib/chunks/chunk-NIUGF5KU.esm.js +0 -1
  280. package/lib/chunks/chunk-NXMJZMST.esm.js +0 -5
  281. package/lib/chunks/chunk-NZIVEBN6.esm.js +0 -1
  282. package/lib/chunks/chunk-OJ4UJIYY.esm.js +0 -1
  283. package/lib/chunks/chunk-P2NXGBL4.esm.js +0 -1
  284. package/lib/chunks/chunk-PER3TT67.esm.js +0 -5
  285. package/lib/chunks/chunk-Q74P6WPH.esm.js +0 -1
  286. package/lib/chunks/chunk-Q7VVMURK.esm.js +0 -1
  287. package/lib/chunks/chunk-QTTSRMOW.esm.js +0 -1
  288. package/lib/chunks/chunk-QYL6LECA.esm.js +0 -1
  289. package/lib/chunks/chunk-R2A3LWQU.esm.js +0 -1
  290. package/lib/chunks/chunk-SICHKJTX.esm.js +0 -1
  291. package/lib/chunks/chunk-SMHXI7DO.esm.js +0 -1
  292. package/lib/chunks/chunk-SSKJNT7I.esm.js +0 -1
  293. package/lib/chunks/chunk-U3YG36FD.esm.js +0 -1
  294. package/lib/chunks/chunk-UCNKTKY7.esm.js +0 -1
  295. package/lib/chunks/chunk-UEH3ETCI.esm.js +0 -1
  296. package/lib/chunks/chunk-UP5QKYFX.esm.js +0 -1
  297. package/lib/chunks/chunk-VQK2V46Q.esm.js +0 -4
  298. package/lib/chunks/chunk-VUZ7WSRT.esm.js +0 -1
  299. package/lib/chunks/chunk-WAFYMVV2.esm.js +0 -1
  300. package/lib/chunks/chunk-XTDZQJU7.esm.js +0 -1
  301. package/lib/chunks/chunk-Y43TNRQI.esm.js +0 -9
  302. package/lib/chunks/chunk-YKMNVUK7.esm.js +0 -1
  303. package/lib/chunks/chunk-YP7EK4TW.esm.js +0 -4
  304. package/lib/chunks/chunk-YYE7N2MT.esm.js +0 -1
  305. package/lib/chunks/chunk-Z65RA27A.esm.js +0 -1
  306. package/lib/chunks/chunk-Z7CRNRPL.esm.js +0 -1
  307. package/lib/chunks/chunk-ZAOQD7HC.esm.js +0 -1
  308. package/lib/chunks/chunk-ZCUESGLP.esm.js +0 -1
@@ -1 +0,0 @@
1
- import{g as e}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var r=e.rect.withConfig({componentId:"sc-ofzrwt-0"})(["stroke:",";fill:",";"],({theme:o})=>o.colors.edge.hairline,({theme:o})=>o.colors.surface.sunken);import{jsx as n}from"react/jsx-runtime";function c(o){return n(r,{...o})}t(c,"RectComponent");c.displayName="Rect";export{r as a,c as b};
@@ -1 +0,0 @@
1
- import{d as g}from"./chunk-T3ANVSKR.esm.js";import{b as T}from"./chunk-WKXEPDPZ.esm.js";import{m as x}from"./chunk-KO5FSKVM.esm.js";import{f as h,g as m}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var c=m(g.span).withConfig({componentId:"sc-29xk67-0"})(["margin:0;font-family:",";line-height:",";&:is(h1,h2,h3,h4,h5,h6){text-wrap:balance;}& a:not([data-ds-link-button]){text-decoration:underline;}& a[data-ds-link-button]{display:inline-flex;vertical-align:middle;}"],({theme:e})=>e.font.fontFamily.main,({theme:e})=>e.font.lineHeight.regular),S=i((e,t)=>T(e,o=>x(o.colors[t],"base")),"tickInk"),y=m(c).withConfig({componentId:"sc-29xk67-1"})(["&[data-tick-settle]{transition:",";}&[data-tick]{transition:none;}&[data-tick='up']{color:",";}&[data-tick='down']{color:",";}@media (prefers-reduced-motion:reduce){&[data-tick-settle]{transition:none;}}"],({theme:e})=>e.animation.transitions.settle,({theme:e})=>S(e,"success"),({theme:e})=>S(e,"danger"));var C={p:{props:{fontSize:"small"}},meta:{tag:"p",props:{fontSize:"micro"}},lead:{tag:"p",props:{fontSize:"medium"}},blockquote:{props:{fontSize:"xxl"}},h1:{props:{fontSize:"xl",md_fontSize:"colossal"}},h2:{props:{fontSize:"large",md_fontSize:"giant"}},h3:{props:{fontSize:"large",fontStyle:"italic",md_fontSize:"xxl",md_fontStyle:"normal"}},h4:{props:{fontSize:"medium",md_fontSize:"xl"}},h5:{props:{fontSize:"medium",fontStyle:"italic",color:"ink.primary",md_fontSize:"large",md_fontStyle:"normal",md_color:"ink.primary"}},h6:{props:{fontSize:"small",color:"ink.primary",textTransform:"uppercase",md_fontSize:"medium",md_textTransform:"normal",md_color:"ink.primary"}},d1:{tag:"h1",props:{fontSize:"xxl",md_fontSize:"gargantua"}},d2:{tag:"h2",props:{fontSize:"xl",md_fontSize:"colossal"}},d3:{tag:"h3",props:{fontSize:"large",md_fontSize:"giant"}},d4:{tag:"h4",props:{fontSize:"medium",md_fontSize:"xxl"}}},I={fontWeight:"bold",lineHeight:"close"},V={fontWeight:"stronger",lineHeight:"close"};function w(e){switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return I;case"d1":case"d2":case"d3":case"d4":return V;default:return{}}}i(w,"getDefaultProps");function z(e,t={}){var a,s;let o=C,{tag:n=e,props:r={}}=o[e]||{};return{tag:n,variantProps:{fontWeight:(a=t.fontWeight)!=null?a:"regular",letterSpacing:"regular",color:(s=t.color)!=null?s:"ink.primary",...t.fontSize&&{fontSize:t.fontSize},...w(e),...r}}}i(z,"getTextProps");import{forwardRef as F}from"react";import{useEffect as E,useRef as D,useState as H}from"react";function k(e){let t=D(e),[o,n]=H(null);return E(()=>{if(e===void 0||t.current===void 0||e===t.current){t.current=e;return}n(e>t.current?"up":"down"),t.current=e;let r=requestAnimationFrame(()=>n(null));return()=>cancelAnimationFrame(r)},[e]),o}i(k,"useTickFlash");import{jsx as B}from"react/jsx-runtime";var _=F(({text:e,children:t,variant:o="span",type:n,tick:r,...a},s)=>{var d;let p=h(),{tag:P,variantProps:f}=z(o,(d=p==null?void 0:p.component)==null?void 0:d.text),l=k(r),b=r===void 0?c:y,R=a.color!==void 0||a.contrast!==void 0?Object.fromEntries(Object.entries(f).filter(([u])=>u!=="color"&&!u.endsWith("_color"))):f;return B(b,{as:P,ignoreResponsive:n==="mobile",enableBreakpoint:n==="desktop"?"md":void 0,...R,...a,"data-tick-settle":r===void 0?void 0:"","data-tick":l!=null?l:void 0,ref:s,children:t||e})});_.displayName="Text";var v=_;export{c as a,y as b,C as c,z as d,v as e};
@@ -1 +0,0 @@
1
- import{g as e}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var c=e.circle.withConfig({componentId:"sc-aqn9mc-0"})([""]),t=e(c).withConfig({componentId:"sc-aqn9mc-1"})(["stroke:",";fill:",";"],({theme:o})=>o.colors.edge.hairline,({theme:o})=>o.colors.surface.sunken);import{jsx as l}from"react/jsx-runtime";function n(o){return l(t,{...o})}r(n,"CircleComponent");n.displayName="Circle";export{c as a,t as b,n as c};
@@ -1 +0,0 @@
1
- import{d as S}from"./chunk-OJ4UJIYY.esm.js";import{a as b}from"./chunk-FFOBK35P.esm.js";import{d as w}from"./chunk-JTXT4BH4.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import v,{Children as z,useCallback as B,useMemo as I}from"react";function N(e){return Array(e).fill("min-content").join(" ")}o(N,"createSpace");function k(e){return e?N(e):"1fr"}o(k,"getGridColumns");var U=["zero","micro","xs","small","medium","large","xl","xxl","giant"],H="Compact",d="micro",W=o(e=>e!==null&&typeof e=="object","isPerAxis"),l=o(e=>e==null||e===""?{}:e===H?{token:d}:typeof e=="string"&&U.includes(e)?{token:e}:{css:e},"resolveAxis");function E(e){return W(e)?{row:l(e.row),column:l(e.column)}:{row:l(e),column:l(e)}}o(E,"resolveGap");import{jsx as J}from"react/jsx-runtime";import{createElement as q}from"react";var Y=o(e=>e.startsWith("aria-")||e.startsWith("data-")||["id","className","style","role","title"].includes(e),"isGroupAttribute"),R=o(e=>{let{name:c,variant:F,gap:f=d,columns:G,value:t,inputs:A,children:P,onChange:u,type:a,area:C,alignSelf:g,justifySelf:h,...L}=e,_=I(()=>k(G),[G]),{row:p,column:m}=I(()=>E(f),[f]),V=Object.fromEntries(Object.entries(L).filter(([n])=>Y(n))),{style:T,...O}=V,y=B((n,r)=>i=>{if(!u||!c)return;let s=null;a==="radio"?s=r:n&&Array.isArray(t)?s=t.filter(M=>M!==r):s=[...t||[],r],u(s)},[c,t,u,a]);function x(n){return Array.isArray(t)?!!t.includes(n):n===t}o(x,"isInputChecked");function j(){let n=a==="radio"?S:b;return A.map(r=>{let i=x(r.value),s=a==="radio"?c:r.name;return q(n,{...r,key:r.value,variant:F,name:s,checked:i,onChange:y(i,r.value)})})}o(j,"renderInputs");function D(){return z.map(P,n=>{if(!v.isValidElement(n))return null;let r=n.props.value,i=x(r);return v.cloneElement(n,{onChange:y(i,r),checked:i})})}return o(D,"renderChildren"),J(w,{role:a==="radio"?"radiogroup":"group",...O,medias:{columns:_,rowGap:p.token,columnGap:m.token},style:{...p.css!==void 0&&{rowGap:p.css},...m.css!==void 0&&{columnGap:m.css},...C&&{gridArea:C},...g&&{alignSelf:g},...h&&{justifySelf:h},...T},children:A?j():D()})},"FieldGroupComponent");R.displayName="FieldGroup";export{R as a};
@@ -1 +0,0 @@
1
- import{c as d}from"./chunk-KZTG5TDM.esm.js";import{a as m}from"./chunk-JSVL6DGF.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";import L,{lazy as M,Suspense as z,useCallback as T,useId as F,useRef as N,useState as E}from"react";import{Fragment as U,jsx as f,jsxs as V}from"react/jsx-runtime";var _=M(()=>import("./Tooltip.floating-WYKEOQ4M.esm.js")),v=40,R=p((e,i)=>typeof e=="string"?f(m,{...i,children:e}):e,"getElement"),h=p(({children:e,position:i="top",content:g,inverted:y,noArrow:S,onDismiss:n,visible:c,motion:x="scale"})=>{if(c!==void 0&&typeof n=="undefined")throw new Error('Tooltip needs an "onDismiss" function when "visible" is set.');let r=c!==void 0,[C,o]=E(!1),s=r?!!c:C,{mounted:w,state:I,ref:O}=d(s),[P,b]=E(null),H=T(l=>b(l),[]),a=N(void 0),u=F(),k=T(l=>{r?!l&&n&&n():o(l)},[r,n]),t={ref:H,"aria-describedby":s?u:void 0};r||(t.onPointerEnter=()=>{clearTimeout(a.current),a.current=setTimeout(()=>o(!0),v)},t.onPointerLeave=()=>{clearTimeout(a.current),o(!1)},t.onFocus=()=>o(!0),t.onBlur=()=>o(!1));let A=R(e),B=L.cloneElement(A,t);return V(U,{children:[B,w&&f(z,{fallback:null,children:f(_,{referenceEl:P,open:s,motion:x,motionState:I,motionRef:O,onOpenChange:k,position:i,inverted:y,noArrow:S,tooltipId:u,content:R(g,{fontSize:"micro",lineHeight:"regular"})})})]})},"TooltipComponent");h.displayName="Tooltip";export{h as a};
@@ -1 +0,0 @@
1
- import{c as X}from"./chunk-DKSFPJ4D.esm.js";import{a as P,c as W}from"./chunk-I6XZCSTD.esm.js";import{b as a}from"./chunk-G5Z7USXC.esm.js";import{b as z,g as v}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";import{forwardRef as st,useCallback as T,useEffect as Q,useLayoutEffect as ct,useRef as p}from"react";var R=v.div.withConfig({componentId:"sc-wsu612-0"})(["position:absolute;top:0;left:0;border-radius:999px;background:",";opacity:0.55;cursor:pointer;touch-action:none;transition:opacity var(--apollion-motion-duration-150,150ms) var(--apollion-motion-easing-standard,ease);&:hover,[data-dragging='true'] > &{opacity:0.85;}"],({theme:t})=>t.colors.ink.muted),l=v.div.withConfig({componentId:"sc-wsu612-1"})(["position:absolute;z-index:1;opacity:0;user-select:none;transition:opacity var(--apollion-motion-duration-300,300ms) var(--apollion-motion-easing-exit,cubic-bezier(0.4,0,1,1));&[data-active='false']{display:none;}&[data-axis='y']{top:2px;inset-inline-end:2px;bottom:2px;width:8px;& > ","{width:100%;}}&[data-axis='x']{right:2px;bottom:2px;left:2px;height:8px;& > ","{height:100%;}}"],R,R),Y=v(P).withConfig({componentId:"sc-wsu612-2"})(["flex:1 1 auto;min-width:0;min-height:0;box-sizing:border-box;scrollbar-width:none;-webkit-overflow-scrolling:touch;&::-webkit-scrollbar{display:none;width:0;height:0;}&[data-axis='y']{overflow-x:hidden;overflow-y:auto;}&[data-axis='x']{overflow-x:auto;overflow-y:hidden;}&[data-axis='both']{overflow:auto;}&[data-overscroll='contain']{overscroll-behavior:contain;}&:focus-visible{","}",""],({theme:t})=>X(t,{tone:"ink",offset:"-2px"}),({$bleed:t,theme:i})=>t&&z(["padding-inline-end:",";"],i.spacing(t))),_=v.div.withConfig({componentId:"sc-wsu612-3"})(["display:flow-root;&[data-axis='x'],&[data-axis='both']{width:fit-content;min-width:100%;}"]),U=v(P).attrs(({display:t})=>({display:t!=null?t:"flex"})).withConfig({componentId:"sc-wsu612-4"})([""," position:relative;flex:1;flex-direction:column;min-width:0;min-height:0;overflow:hidden;&:hover > ",",&:focus-within > ",",&[data-scrolling='true'] > ",",& > ","[data-dragging='true']{opacity:1;transition-timing-function:var(--apollion-motion-easing-enter,cubic-bezier(0,0,0.2,1));}&[data-thumb='always'] > ","{opacity:1;}&[data-axis='both'] > ","[data-axis='y']{bottom:12px;}&[data-axis='both'] > ","[data-axis='x']{right:12px;}",""],W("flex"),l,l,l,l,l,l,l,({$bleed:t,theme:i})=>t&&z(["margin-inline-end:calc(-1 * ",");"],i.spacing(t)));import{jsx as M,jsxs as ft}from"react/jsx-runtime";var lt=24,ut=800,mt=a?ct:Q,q=s((t,i)=>i==="y"?{client:t.clientHeight,size:t.scrollHeight,position:t.scrollTop}:{client:t.clientWidth,size:t.scrollWidth,position:t.scrollLeft},"metrics"),G=s((t,i)=>i==="y"?t.clientHeight:t.clientWidth,"railLength"),j=s((t,i,g)=>Math.min(g,Math.max(lt,t/i*g)),"thumbLength"),J=s(t=>t==="both"?["y","x"]:[t],"axesOf"),K=s((t,i)=>{typeof t=="function"?t(i):t&&(t.current=i)},"assignRef"),pt=st(({children:t,onScroll:i,scrollableRef:g,scrollerProps:V,axis:f="y",thumb:Z="auto",overscroll:tt="auto",bleed:k,...et},A)=>{let N=p(null),x=p(null),B=p(null),H=p({}),C=p({}),I=p(0),S=p(void 0),nt=T(e=>{N.current=e,K(A,e)},[A]),ot=T(e=>{x.current=e,K(g,e)},[g]),E=T(()=>{let e=x.current;e&&J(f).forEach(n=>{let o=H.current[n],r=C.current[n];if(!o||!r)return;let{client:c,size:u,position:m}=q(e,n),y=u-c>1;if(o.dataset.active=String(y),!y)return;let b=G(o,n),w=j(c,u,b),L=m/(u-c)*(b-w);r.style[n==="y"?"height":"width"]=`${w}px`,r.style.transform=n==="y"?`translateY(${L}px)`:`translateX(${L}px)`})},[f]),d=T(()=>{a&&(a.cancelAnimationFrame(I.current),I.current=a.requestAnimationFrame(E))},[E]);mt(()=>{E()},[E,t]),Q(()=>{if(!a)return;let e=[x.current,B.current].filter(o=>!!o),n=typeof ResizeObserver=="undefined"?void 0:new ResizeObserver(d);return e.forEach(o=>n==null?void 0:n.observe(o)),a.addEventListener("resize",d),()=>{var o,r;n==null||n.disconnect(),(o=a)==null||o.removeEventListener("resize",d),(r=a)==null||r.cancelAnimationFrame(I.current),clearTimeout(S.current)}},[d]);let it=T(e=>{i==null||i(e),d();let n=N.current;n&&(n.dataset.scrolling="true",clearTimeout(S.current),S.current=setTimeout(()=>{n.dataset.scrolling="false"},ut))},[i,d]),rt=s(e=>n=>{let o=x.current,r=H.current[e];if(!o||!r||!a||n.button>0)return;n.preventDefault(),n.stopPropagation();let{client:c,size:u,position:m}=q(o,e),y=G(r,e),b=y-j(c,u,y),w=b>0?(u-c)/b:0,L=e==="y"?n.clientY:n.clientX,h=a;r.dataset.dragging="true";let F=s(O=>{let $=(e==="y"?O.clientY:O.clientX)-L;e==="y"?o.scrollTop=m+$*w:o.scrollLeft=m+$*w},"move"),D=s(()=>{r.dataset.dragging="false",h.removeEventListener("pointermove",F),h.removeEventListener("pointerup",D),h.removeEventListener("pointercancel",D)},"stop");h.addEventListener("pointermove",F),h.addEventListener("pointerup",D),h.addEventListener("pointercancel",D)},"startDrag"),at=s(e=>n=>{let o=x.current,r=C.current[e];if(!o||!r||n.button>0)return;let c=r.getBoundingClientRect(),u=e==="y"?n.clientY<c.top:n.clientX<c.left,m=(e==="y"?o.clientHeight:o.clientWidth)*(u?-1:1);e==="y"?o.scrollTop+=m:o.scrollLeft+=m},"pageTowards");return ft(U,{...et,ref:nt,"data-axis":f,"data-thumb":Z,$bleed:k,children:[M(Y,{...V,ref:ot,$bleed:k,"data-axis":f,"data-overscroll":tt,tabIndex:0,onScroll:it,children:M(_,{ref:B,"data-axis":f,children:t})}),J(f).map(e=>M(l,{ref:n=>{H.current[e]=n},"data-axis":e,"data-active":"false","aria-hidden":"true",onPointerDown:at(e),children:M(R,{ref:n=>{C.current[e]=n},onPointerDown:rt(e)})},e))]})});pt.displayName="CustomScroll";export{pt as a};
@@ -1 +0,0 @@
1
- import{a as n}from"./chunk-DVMAC4Z4.esm.js";import{a as i}from"./chunk-I6XZCSTD.esm.js";import{g as e}from"./chunk-AXUWC2WH.esm.js";import s,{forwardRef as c,useMemo as x,useState as y}from"react";var m=e(i).withConfig({componentId:"sc-s0qp5a-0"})(["display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:",";min-width:0;margin:0;padding:0;list-style:none;"],({theme:o})=>o.spacing("xs")),l=e.li.withConfig({componentId:"sc-s0qp5a-1"})(["display:flex;min-width:0;max-width:100%;"]);import{jsx as t}from"react/jsx-runtime";var a=c(({children:o,...C},f)=>{let[p,u]=y(null),h=x(()=>({openId:p,setOpenId:u}),[p]),d=s.Children.toArray(o).filter(s.isValidElement);return t(n.Provider,{value:h,children:t(m,{...C,as:"ul",role:"list",ref:f,children:d.map(r=>t(l,{children:r},r.key))})})});a.displayName="ChipGroup";export{m as a,l as b,a as c};
@@ -1,3 +0,0 @@
1
- import{a as oe}from"./chunk-WPWCWCG7.esm.js";import{a as ne}from"./chunk-MNSZ72SE.esm.js";import{a as ie}from"./chunk-3T2OY4KF.esm.js";import{r as te}from"./chunk-CLOAQN2O.esm.js";import{c as ee}from"./chunk-DKSFPJ4D.esm.js";import{e as Z}from"./chunk-YP7EK4TW.esm.js";import{b as Q}from"./chunk-SAPHWVC7.esm.js";import{a as J}from"./chunk-WKXEPDPZ.esm.js";import{a as z,c as q,d as X,j as x,k as Y,l as v}from"./chunk-KO5FSKVM.esm.js";import{b as E,g as y}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";import{forwardRef as Ce,useCallback as We,useMemo as xe,useRef as $e,useState as Ae}from"react";var Ie=/^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@ ?(.*)$/,Fe=/^Binary files (.+) and (.+) differ$/,$="/dev/null",se=["rename from ","rename old "],re=["rename to ","rename new "];function F(e,t){let n=t.find(o=>e.startsWith(o));return n===void 0?void 0:e.slice(n.length)}a(F,"afterPrefix");var Ne=/^[0-7]{3}/,Me={t:" ",n:`
2
- `,r:"\r",'"':'"',"\\":"\\"};function R(e){var o,s;if(!(e.length>=2&&e.startsWith('"')&&e.endsWith('"')))return e;let t=e.slice(1,-1),n="";for(let i=0;i<t.length;i+=1){let f=t[i];if(f!=="\\"){n+=encodeURIComponent(f);continue}let u=t.slice(i+1),p=Ne.exec(u);p?(n+=`%${parseInt(p[0],8).toString(16).padStart(2,"0")}`,i+=3):(n+=encodeURIComponent((s=(o=Me[u[0]])!=null?o:u[0])!=null?s:""),i+=1)}try{return decodeURIComponent(n)}catch(i){return t}}a(R,"unquote");function Pe(e){let t=/^("(?:[^"\\]|\\.)*"|\S+) ("(?:[^"\\]|\\.)*"|\S+)$/.exec(e);if(t&&(t[1].startsWith('"')||t[2].startsWith('"')))return[R(t[1]),R(t[2])];let n=(e.length-1)/2;if(Number.isInteger(n)&&e[n]===" "){let s=e.slice(0,n),i=e.slice(n+1);if(s.slice(2)===i.slice(2))return[s,i]}let o=e.lastIndexOf(" b/");return o>0?[e.slice(0,o),e.slice(o+1)]:[void 0,void 0]}a(Pe,"gitHeaderPaths");var A=a((e,t)=>e.startsWith(t)?e.slice(t.length):e,"stripPrefix");function ae(e,t){let n=e.startsWith('"')?R(e):e.split(" ")[0];if(n!==$)return A(n,t)}a(ae,"sidePath");function W(e,t){return{oldPath:e,newPath:t,status:"modified",additions:0,deletions:0,hunks:[],minusSeen:!1}}a(W,"newFile");function fe({minusSeen:e,...t}){return t.status==="added"&&delete t.oldPath,t.status==="deleted"&&delete t.newPath,t}a(fe,"finish");function _(e){var g;let t=e.split(`
3
- `).map(c=>c.endsWith("\r")?c.slice(0,-1):c);t[t.length-1]===""&&t.pop();let n=[],o=null,s=null,i=0,f=0,u=0,p=0,b=a(c=>(o&&n.push(fe(o)),o=c,s=null,i=0,f=0,c),"startFile"),k=a((c,r,w)=>{w.lines.push(c),c.type==="added"&&(r.additions+=1),c.type==="removed"&&(r.deletions+=1)},"push"),S=a(()=>{let c=s==null?void 0:s.lines[s.lines.length-1];c&&(c.noNewline=!0)},"markNoNewline");for(let c=0;c<t.length;c+=1){let r=t[c];if(o&&s&&(i>0||f>0)){let m=r[0];if(m===" "||r===""){k({type:"context",content:r.slice(1),oldNumber:u,newNumber:p},o,s),u+=1,p+=1,i-=1,f-=1;continue}if(m==="+"){k({type:"added",content:r.slice(1),newNumber:p},o,s),p+=1,f-=1;continue}if(m==="-"){k({type:"removed",content:r.slice(1),oldNumber:u},o,s),u+=1,i-=1;continue}if(m==="\\"){S();continue}i=0,f=0}if(r.startsWith("\\")){S();continue}if(r.startsWith("diff --git ")){let[m,D]=Pe(r.slice(11));b(W(m&&A(m,"a/"),D&&A(D,"b/")));continue}let w=Ie.exec(r);if(w){let m=o!=null?o:b(W()),[,D,L,Le,j,G]=w,C={header:r,oldStart:Number(D),oldLines:L===void 0?1:Number(L),newStart:Number(Le),newLines:j===void 0?1:Number(j),lines:[]};G&&(C.section=G),m.hunks.push(C),s=C,i=C.oldLines,f=C.newLines,u=C.oldStart,p=C.newStart;continue}if(r.startsWith("--- ")){let m=!o||o.minusSeen||o.hunks.length>0;if(m&&!((g=t[c+1])!=null&&g.startsWith("+++ ")))continue;let D=m?b(W()):o;D.minusSeen=!0;let L=ae(r.slice(4),"a/");L===void 0?D.status="added":D.status!=="renamed"&&D.status!=="copied"&&(D.oldPath=L);continue}if(!o)continue;let l=o;if(r.startsWith("+++ ")){let m=ae(r.slice(4),"b/");m===void 0?l.status="deleted":l.status!=="renamed"&&l.status!=="copied"&&(l.newPath=m)}else if(r.startsWith("new file mode "))l.status="added",l.newMode=r.slice(14);else if(r.startsWith("deleted file mode "))l.status="deleted",l.oldMode=r.slice(18);else if(r.startsWith("old mode "))l.oldMode=r.slice(9);else if(r.startsWith("new mode "))l.newMode=r.slice(9);else if(r.startsWith("similarity index "))l.similarity=parseInt(r.slice(17),10);else if(F(r,se)!==void 0)l.status="renamed",l.oldPath=R(F(r,se));else if(F(r,re)!==void 0)l.status="renamed",l.newPath=R(F(r,re));else if(r.startsWith("copy from "))l.status="copied",l.oldPath=R(r.slice(10));else if(r.startsWith("copy to "))l.status="copied",l.newPath=R(r.slice(8));else if(r==="GIT binary patch")l.binary=!0;else{let m=Fe.exec(r);m&&(l.binary=!0,m[1]===$&&(l.status="added"),m[2]===$&&(l.status="deleted"))}}return o&&n.push(fe(o)),n}a(_,"parseUnifiedDiff");function N(e){var t,n;return(e.status==="renamed"||e.status==="copied")&&e.oldPath&&e.newPath?`${e.oldPath} \u2192 ${e.newPath}`:(n=(t=e.newPath)!=null?t:e.oldPath)!=null?n:""}a(N,"diffFilePath");var He=Q().diff;function de(e,t,n){var i;let o=z(e),s=z(t);return!o||!s?e:(i=q(X([o,s],"oklab")(n)))!=null?i:e}a(de,"mixOklab");var ze=.02,U=a(e=>{var t,n;return(n=(t=e.component)==null?void 0:t.diff)!=null?n:He},"diffTier"),M=a((e,t)=>{let n=e.colors[t];return n&&typeof n=="object"&&"base"in n?n.base:e.colors(t)},"paletteBase");function ue(e,t,n,o){let s=Math.min(1,Math.max(0,n)),i=de(e,t,s);for(;s>0&&o.some(f=>Y(f,i)<x);)s=Math.max(0,s-ze),i=de(e,t,s);return i}a(ue,"resolveTint");function le(e,t,n,o,s){let i=M(e,s.color),f=ue(t,i,s.tint,[n,o]);return{bg:f,marker:v(i,f,x),gutter:v(o,f,x)}}a(le,"tintColors");function O(e){let t=U(e),n=e.colors(t.surface.bgColor),o=e.colors(t.code.color),s=e.colors(t.gutter.color),i=e.colors(t.header.bgColor),f=M(e,t.hunk.color),u=ue(n,f,t.hunk.tint,[s]),p=v(s,u,x);return{ground:n,border:e.colors(t.surface.borderColor),ink:o,gutter:v(s,n,x),added:le(e,n,o,s,t.added),removed:le(e,n,o,s,t.removed),hunk:{bg:u,marker:p,gutter:p},header:{bg:i,ink:v(o,i,x),muted:v(s,i,x),additions:v(M(e,t.added.color),i,x),deletions:v(M(e,t.removed.color),i,x)}}}a(O,"resolveDiffColors");function me(e,t){let n={};for(let[o,s]of Object.entries(e)){let i=t[o];n[o]=typeof s=="string"?J(s,typeof i=="string"?i:s):me(s,i!=null?i:s)}return n}a(me,"zip");var ce=new WeakMap;function pe(e){let t=ce.get(e);if(t)return t;let n=e.modes?me(O(e.modes.light),O(e.modes.dark)):O(e);return ce.set(e,n),n}a(pe,"diffColors");var h=a(e=>pe(e),"colors"),P=a(e=>U(e),"tier"),H=y.span.withConfig({componentId:"sc-s5ev8w-0"})(["",""],ie),he=y.div.withConfig({componentId:"sc-s5ev8w-1"})(["display:flex;flex-direction:column;gap:",";min-inline-size:0;"],({theme:e})=>e.spacing("small")),ge=y.details.withConfig({componentId:"sc-s5ev8w-2"})(["min-inline-size:0;overflow:hidden;background:",";border:"," solid ",";border-radius:",";"],({theme:e})=>h(e).ground,({theme:e})=>e.border.borderWidth.thin,({theme:e})=>h(e).border,({theme:e})=>e.border.borderRadius[P(e).surface.borderRadius]),we=y.summary.withConfig({componentId:"sc-s5ev8w-3"})(["display:flex;flex-wrap:wrap;align-items:center;column-gap:",";row-gap:",";min-block-size:2.75rem;box-sizing:border-box;padding:",";list-style:none;cursor:pointer;background:",";color:",";font-family:",";font-size:",";line-height:",";&::-webkit-details-marker{display:none;}&::marker{content:'';}details[open] > &{border-block-end:"," solid ",";}&:focus-visible{","}"],({theme:e})=>e.spacing("xs"),({theme:e})=>e.spacing("micro"),({theme:e})=>e.spacing("xs","small"),({theme:e})=>h(e).header.bg,({theme:e})=>h(e).header.ink,({theme:e})=>e.font.fontFamily.code,({theme:e})=>e.font.fontSize[P(e).code.fontSize],({theme:e})=>e.font.lineHeight.regular,({theme:e})=>e.border.borderWidth.thin,({theme:e})=>h(e).border,({theme:e})=>ee(e,{ink:h(e).header.ink,offset:"-2px"})),De=y.span.withConfig({componentId:"sc-s5ev8w-4"})(["display:inline-flex;flex:none;line-height:0;color:",";transform:rotate(-90deg);details[open] > summary > &{transform:none;}& svg{fill:currentColor;}"],({theme:e})=>h(e).header.muted),ye=y.span.withConfig({componentId:"sc-s5ev8w-5"})(["flex:1 1 12rem;min-inline-size:0;overflow-wrap:anywhere;font-weight:",";"],({theme:e})=>e.font.fontWeight.bold),be=y.span.withConfig({componentId:"sc-s5ev8w-6"})(["color:",";"],({theme:e})=>h(e).header.muted),ke=y.span.withConfig({componentId:"sc-s5ev8w-7"})(["display:inline-flex;gap:",";margin-inline-start:auto;font-weight:",";"],({theme:e})=>e.spacing("xs"),({theme:e})=>e.font.fontWeight.bold),B=y.span.withConfig({componentId:"sc-s5ev8w-8"})(["color:",";"],({$type:e,theme:t})=>e==="added"?h(t).header.additions:h(t).header.deletions),I=y.div.withConfig({componentId:"sc-s5ev8w-9"})(["padding:",";color:",";font-size:",";line-height:",";"],({theme:e})=>e.spacing("xs","small"),({theme:e})=>h(e).gutter,({theme:e})=>e.font.fontSize[P(e).code.fontSize],({theme:e})=>e.font.lineHeight.regular),Se=y.div.withConfig({componentId:"sc-s5ev8w-10"})(["--diff-num:calc(var(--diff-digits,1) * 1ch + 2 * ",");min-inline-size:100%;inline-size:",";box-sizing:border-box;padding-block:",";color:",";font-family:",";font-size:",";line-height:",";tab-size:4;"],({theme:e})=>e.spacing("xs"),({$wrap:e})=>e?"auto":"max-content",({theme:e})=>e.spacing("micro"),({theme:e})=>h(e).ink,({theme:e})=>e.font.fontFamily.code,({theme:e})=>e.font.fontSize[P(e).code.fontSize],({theme:e})=>e.font.lineHeight.regular),Ee=a((e,t)=>{let n=h(t);if(e==="context")return E(["color:",";"],n.ink);let o=e==="hunk"?n.hunk:n[e];return E(["background:",";& > [data-part='number'],& [data-part='no-newline']{color:",";}& > [data-part='sign']{color:",";}"],o.bg,o.gutter,o.marker)},"rowGround"),V=y.div.withConfig({componentId:"sc-s5ev8w-11"})(["display:grid;grid-template-columns:var(--diff-num) var(--diff-num) 2ch minmax(0,1fr);min-block-size:","em;& > [data-part='number']{padding-inline:",";text-align:end;color:",";user-select:none;}& > [data-part='sign']{text-align:center;user-select:none;}& > [data-part='code']{padding-inline-end:",";white-space:",";overflow-wrap:",";}& [data-part='no-newline']{margin-inline-start:1ch;color:",";}& > [data-part='hunk']{grid-column:1 / -1;padding-inline:",";color:",";white-space:",";overflow-wrap:",";}",""],({theme:e})=>e.font.lineHeight.regular,({theme:e})=>e.spacing("xs"),({theme:e})=>h(e).gutter,({theme:e})=>e.spacing("small"),({$wrap:e})=>e?"pre-wrap":"pre",({$wrap:e})=>e?"anywhere":"normal",({theme:e})=>h(e).gutter,({theme:e})=>e.spacing("xs","small"),({theme:e})=>h(e).hunk.marker,({$wrap:e})=>e?"pre-wrap":"pre",({$wrap:e})=>e?"anywhere":"normal",({$type:e,theme:t})=>Ee(e,t));import{Fragment as Re,jsx as d,jsxs as T}from"react/jsx-runtime";var ve=a((e,t,n)=>`${e} ${e===1?t:n}`,"plural"),_e={added:"added",removed:"removed",newFile:"new file",deletedFile:"deleted",renamed:"renamed",copied:"copied",binary:"Binary file \u2014 not shown.",noLines:"No line changes.",noNewline:"No newline at end of file",empty:"No changes.",counts:a((e,t)=>`${ve(e,"addition","additions")}, ${ve(t,"deletion","deletions")}`,"counts"),region:a(e=>e,"region")},Oe="32rem",Ue=20,Be=8,Ve={width:0,height:512},Ke=a(e=>e.hunks.flatMap(t=>[{kind:"hunk",hunk:t},...t.lines.map(n=>({kind:"line",line:n}))]),"rowsOf"),Te=a(e=>{let t=0;for(let n of e)t=n===" "?t+4-t%4:t+1;return t},"columnsOf"),je=a(e=>{var o,s;let t=0,n=0;for(let i of e.hunks){t=Math.max(t,Te(i.header)),n=Math.max(n,i.oldStart+i.oldLines,i.newStart+i.newLines);for(let f of i.lines)t=Math.max(t,Te(f.content)+(f.noNewline?2:0)),n=Math.max(n,(o=f.oldNumber)!=null?o:0,(s=f.newNumber)!=null?s:0)}return{widest:t,digits:Math.max(1,String(n).length)}},"measure"),Ge=a((e,t)=>{let n=[];return e.status==="added"&&n.push(t.newFile),e.status==="deleted"&&n.push(t.deletedFile),e.status==="renamed"&&n.push(t.renamed),e.status==="copied"&&n.push(t.copied),e.status!=="added"&&e.status!=="deleted"&&e.oldMode&&e.newMode&&n.push(`${e.oldMode} \u2192 ${e.newMode}`),n.length?n.join(" \xB7 "):void 0},"kindOf"),qe={added:"+",removed:"\u2212",context:""},K=Ce(({row:e,wrap:t,labels:n,...o},s)=>{if(e.kind==="hunk")return d(V,{ref:s,$type:"hunk",$wrap:t,"data-type":"hunk",...o,children:d("span",{"data-part":"hunk",children:e.hunk.header})});let{line:i}=e;return T(V,{ref:s,$type:i.type,$wrap:t,"data-type":i.type,...o,children:[d("span",{"data-part":"number","aria-hidden":"true",children:i.oldNumber}),d("span",{"data-part":"number","aria-hidden":"true",children:i.newNumber}),d("span",{"data-part":"sign","aria-hidden":"true",children:qe[i.type]}),T("span",{"data-part":"code",children:[i.type!=="context"?d(H,{children:`${n[i.type]}, `}):null,i.content,i.noNewline?T("span",{"data-part":"no-newline",title:n.noNewline,children:[d("span",{"aria-hidden":"true",children:"\u2298"}),d(H,{children:` (${n.noNewline})`})]}):null]})]})});K.displayName="DiffRow";var Xe=a(({rows:e,wrap:t,labels:n})=>d(Re,{children:e.map((o,s)=>d(K,{row:o,wrap:t,labels:n},s))}),"PlainRows"),Ye=a(({rows:e,wrap:t,labels:n,scrollRef:o})=>{var p,b,k,S;let s=oe({count:e.length,getScrollElement:a(()=>o.current,"getScrollElement"),estimateSize:a(()=>Ue,"estimateSize"),initialRect:Ve,measureElement:a(g=>Math.max(Be,g.getBoundingClientRect().height),"measureElement"),overscan:12}),i=s.getVirtualItems(),f=(b=(p=i[0])==null?void 0:p.start)!=null?b:0,u=s.getTotalSize()-((S=(k=i[i.length-1])==null?void 0:k.end)!=null?S:0);return T(Re,{children:[f>0?d("div",{"aria-hidden":"true",style:{blockSize:f}}):null,i.map(g=>d(K,{ref:s.measureElement,"data-index":g.index,row:e[g.index],wrap:t,labels:n},g.key)),u>0?d("div",{"aria-hidden":"true",style:{blockSize:u}}):null]})},"VirtualRows"),Je=a(({file:e,labels:t,wrap:n,defaultOpen:o,virtualizeAbove:s,maxHeight:i,onFileToggle:f})=>{let[u,p]=Ae(o),b=$e(null),k=N(e),S=Ge(e,t),g=We(r=>{let w=r.currentTarget.open;w!==u&&(p(w),f==null||f(e,w))},[e,f,u]),c=a(()=>{if(e.binary)return d(I,{children:t.binary});let r=Ke(e);if(!r.length)return d(I,{children:t.noLines});let w=r.length>s,{widest:l,digits:m}=je(e),D=i!=null?i:w?Oe:void 0;return d(ne,{axis:D?n?"y":"both":n?"y":"x",maxHeight:D,scrollableRef:b,scrollerProps:{role:"region","aria-label":t.region(k)},children:d(Se,{$wrap:n,style:{"--diff-digits":m,...n?{}:{minInlineSize:`max(100%, calc(2 * var(--diff-num) + ${l+3}ch))`}},children:w?d(Ye,{rows:r,wrap:n,labels:t,scrollRef:b}):d(Xe,{rows:r,wrap:n,labels:t})})})},"body");return T(ge,{open:u,onToggle:g,children:[T(we,{children:[d(De,{"aria-hidden":"true",children:d(Z,{...te,size:"1em",fill:"currentColor"})}),d(ye,{children:k}),S?d(be,{children:S}):null,e.binary?null:T(ke,{children:[T("span",{"aria-hidden":"true",children:[d(B,{$type:"added",children:`+${e.additions}`})," ",d(B,{$type:"removed",children:`\u2212${e.deletions}`})]}),d(H,{children:t.counts(e.additions,e.deletions)})]})]}),u?c():null]})},"FileView"),Qe=Ce(({patch:e,files:t,truncated:n=!1,truncatedLabel:o="The patch is cut here.",wrap:s=!1,defaultCollapsed:i=!1,onFileToggle:f,virtualizeAbove:u=400,maxHeight:p,labels:b,...k},S)=>{let g=xe(()=>t!=null?t:_(e!=null?e:""),[t,e]),c=xe(()=>({..._e,...b}),[b]);return T(he,{ref:S,...k,children:[g.map((r,w)=>d(Je,{file:r,labels:c,wrap:s,defaultOpen:!i,virtualizeAbove:u,maxHeight:p,onFileToggle:f},`${N(r)}-${w}`)),g.length===0?d(I,{children:c.empty}):null,n?d(I,{role:"note",children:o}):null]})});Qe.displayName="Diff";export{_ as a,N as b,_e as c,Qe as d};
@@ -1 +0,0 @@
1
- import{a as k,c as W,d as $}from"./chunk-G6BWM323.esm.js";import{e as z}from"./chunk-FVTAFMZS.esm.js";import{c as B}from"./chunk-DKSFPJ4D.esm.js";import{a as E}from"./chunk-JSVL6DGF.esm.js";import{a as f}from"./chunk-S3XZBMR2.esm.js";import{a as P}from"./chunk-I6XZCSTD.esm.js";import{b as D}from"./chunk-WKXEPDPZ.esm.js";import{m as R}from"./chunk-KO5FSKVM.esm.js";import{b as A,g as b}from"./chunk-AXUWC2WH.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";import{forwardRef as H,useEffect as J,useId as Q,useMemo as X,useRef as O}from"react";var F=b(f).withConfig({componentId:"sc-1hkckjr-0"})(["border-bottom:1px solid ",";& > ","{transform:translateY(1px);}> ","{overflow-x:scroll;overflow-y:hidden;&::-webkit-scrollbar{display:none;}}","{> ","{overflow-x:visible;overflow-y:visible;}}"],({theme:t})=>t.colors.edge.hairline,f,f,({theme:t})=>t.breakpoints.up("sm"),f),K=b(z).attrs(t=>{var e,n;return{borderRadius:(e=t.borderRadius)!=null?e:"straight",borderWidth:(n=t.borderWidth)!=null?n:"none"}}).withConfig({componentId:"sc-1hkckjr-1"})(["flex-shrink:0;position:relative;z-index:1;touch-action:manipulation;-webkit-tap-highlight-color:transparent;&::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:1px;background:",";transition:",";}&&&,&&&:focus,&&&:focus-visible,&&&:active,&&&:hover{box-shadow:none;text-decoration:none;}&&&:focus-visible{","}"],({isActive:t,theme:e,color:n})=>t?D(e,m=>R(m.colors[n],"base")):"transparent",({theme:t})=>t.animation.transitions.short,({theme:t,color:e="primary"})=>B(t,{tone:e==="neutral"?"quiet":e,offset:"-2px"})),G="2.75rem",_=b(P).withConfig({componentId:"sc-1hkckjr-2"})(["display:block;min-width:0;"]),j=b.ul.withConfig({componentId:"sc-1hkckjr-3"})(["position:relative;display:flex;gap:",";margin:0;padding:0;list-style:none;box-shadow:inset 0 -1px 0 ",";overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;&::-webkit-scrollbar{display:none;}",""],({theme:t})=>t.spacing("medium"),({theme:t})=>t.colors.edge.hairline,({$snap:t})=>t&&A(["scroll-snap-type:x proximity;& > li{scroll-snap-align:start;}"])),q=b.li.withConfig({componentId:"sc-1hkckjr-4"})(["display:flex;flex-shrink:0;"]),C=b.a.withConfig({componentId:"sc-1hkckjr-5"})(["position:relative;display:inline-flex;align-items:center;min-height:",";box-sizing:border-box;margin:0;padding:",";border:0;background:transparent;color:",";font-family:",";font-size:",";font-weight:",";white-space:nowrap;text-decoration:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:",";&::after{content:'';position:absolute;inset-inline:0;bottom:0;height:2px;border-radius:1px;background:",";transition:",";}&:hover{background:",";}&:active{background:",";}&:focus-visible{","}"],G,({theme:t})=>{let{py:e,px:n}=t.component.button.size.medium;return t.spacing(e,n)},({$color:t,theme:e})=>k(e,t),({theme:t})=>t.font.fontFamily.main,({theme:t})=>t.font.fontSize[t.component.button.size.medium.fontSize],({theme:t})=>t.font.fontWeight.bold,({theme:t})=>t.animation.transitions.short,({$current:t,$color:e,theme:n})=>t?k(n,e):"transparent",({theme:t})=>t.animation.transitions.short,({theme:t})=>t.colors.wash.hover,({theme:t})=>t.colors.wash.pressed,({$color:t,theme:e})=>B(e,{ink:k(e,t),offset:"-2px"}));import{jsx as a,jsxs as et}from"react/jsx-runtime";function Z({isActive:t,tabTitle:e,color:n="primary",buttonProps:m}){return a(K,{as:"button",variant:"linked",isActive:t,color:n,...m,children:a(E,{fontWeight:"bold",lineHeight:"tight",children:e})})}p(Z,"TabButton");var U=H(({mode:t,selectedIndex:e=0,onChange:n,tabs:m,tabHeaderProps:d,tabContentProps:w,...I},T)=>{var M;let u=Q(),o=X(()=>m.map((r,s)=>({...r,id:`${u}-${s}`})),[m,u]),c=O(null),S=p(r=>e===r,"isCurrentIndex"),h=p(r=>`tab-${r}`,"tabId"),y=p(r=>`tabpanel-${r}`,"panelId"),l=(M=o[e])!=null?M:o[0],v=p(r=>{var i,x;n==null||n(r);let s=(i=c.current)==null?void 0:i.querySelectorAll('[role="tab"]');(x=s==null?void 0:s[r])==null||x.focus()},"selectTab");return et(f,{...I,ref:T,children:[a(F,{...d,children:a(f,{flexDirection:"row",width:"100%",gap:"medium",pageShell:!0,position:"relative",alignItems:"end",role:"tablist",onKeyDown:p(r=>{let s=o.length-1,i=null;r.key==="ArrowRight"?i=e>=s?0:e+1:r.key==="ArrowLeft"?i=e<=0?s:e-1:r.key==="Home"?i=0:r.key==="End"&&(i=s),i!==null&&(r.preventDefault(),v(i))},"handleKeyDown"),ref:c,children:o.map(({id:r,buttonProps:s,handleClick:i,...x},g)=>{let L=S(g);return a(Z,{isActive:L,...x,buttonProps:{...s,id:h(r),role:"tab","aria-selected":L,"aria-controls":y(r),tabIndex:L?0:-1,onClick:p(Y=>{g!==e&&(i==null||i(g,Y),n==null||n(g))},"onClick")}},r)})})}),a(f,{flex:"fluid",pageShell:!0,width:"100%",role:"tabpanel",id:l?y(l.id):void 0,"aria-labelledby":l?h(l.id):void 0,...w,children:l==null?void 0:l.content})]})}),V=H(({mode:t,tabs:e,linkAs:n,snap:m=!1,onChange:d,...w},I)=>{let T=O(null),u=e.findIndex(o=>o.current);return J(()=>{let o=T.current,c=u>=0?o==null?void 0:o.children[u]:void 0;!o||!c||(o.scrollLeft=c.offsetLeft-(o.clientWidth-c.offsetWidth)/2)},[u]),a(_,{...w,as:"nav",ref:I,children:a(j,{ref:T,$snap:m,children:e.map((o,c)=>{var l;let S=o.onClick||d?v=>{var N;(N=o.onClick)==null||N.call(o,v),o.current||d==null||d(c,v)}:void 0,{as:h,props:y}=$({...o,onClick:S},n);return a(q,{children:a(C,{...y,as:h,$current:!!o.current,$color:(l=o.color)!=null?l:"primary",children:a(E,{fontWeight:"bold",lineHeight:"tight",children:o.tabTitle})})},W({...o,label:o.tabTitle},c))})})})}),tt=H((t,e)=>t.mode==="nav"?a(V,{...t,ref:e}):a(U,{...t,ref:e}));U.displayName="TabsContent";V.displayName="TabsNav";tt.displayName="Tabs";export{F as a,K as b,G as c,_ as d,j as e,q as f,C as g,Z as h,tt as i};
@@ -1,5 +0,0 @@
1
- import{d as n}from"./chunk-JTXT4BH4.esm.js";import{a as m}from"./chunk-S3XZBMR2.esm.js";import{a as d}from"./chunk-I6XZCSTD.esm.js";import{g as a}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var t={columns:"minmax(0, 1fr)",rows:"100%",areas:`
2
- "content"
3
- `},i={md:{columns:"200px minmax(0, 1fr)",rows:"100%",areas:`
4
- "sidebar content"
5
- `}},c={xs:t,md:i.md};var s=a(n).attrs({medias:t,viewportMedias:i}).withConfig({componentId:"sc-191lt0b-0"})(["height:100%;"]);import{jsx as e,jsxs as f}from"react/jsx-runtime";function p({layoutComponents:r}){return f(s,{children:[r.sidebar&&e(d,{area:"sidebar",display:"none",md_display:"flex",children:e(r.sidebar,{})}),e(m,{area:"content",width:"100%",justifyContent:"center",md_justifyContent:"start",children:r.content&&e(r.content,{})})]})}o(p,"SideBarLayout");p.displayName="SideBarLayout";export{t as a,i as b,c,s as d,p as e};
@@ -1 +0,0 @@
1
- import{a as p}from"./chunk-JSVL6DGF.esm.js";import{a as s}from"./chunk-S3XZBMR2.esm.js";import{a as l}from"./chunk-I6XZCSTD.esm.js";import{g as n}from"./chunk-AXUWC2WH.esm.js";import{a as f}from"./chunk-GZONWSRB.esm.js";import{forwardRef as g}from"react";var h=n(l).withConfig({componentId:"sc-1ulk0ua-0"})(["display:flex;flex-shrink:0;margin:0;",""],({$orientation:i})=>i==="vertical"?"border-top-width: 0; border-right-width: 0; border-bottom-width: 0;":"border-right-width: 0; border-bottom-width: 0; border-left-width: 0;"),c=n(s).withConfig({componentId:"sc-1ulk0ua-1"})(["width:100%;"]);import{jsx as v,jsxs as u}from"react/jsx-runtime";var y=g(({orientation:i="horizontal",tone:D="hairline",color:t,thickness:w="thin",spacing:o="micro",label:e,...a},m)=>{let r=i==="vertical",x=t!=null?t:`edge.${D}`,d=f((b={})=>v(h,{as:r?"div":"hr",$orientation:i,role:r?"separator":void 0,"aria-orientation":r?"vertical":void 0,borderStyle:"solid",borderWidth:w,borderPosition:r?"left":"top",borderColor:x,...r?{alignSelf:"stretch",mx:o,minHeight:"1em"}:{width:"100%",my:o},...b}),"line");return e&&!r?u(c,{role:"separator","aria-label":typeof e=="string"?e:void 0,flexDirection:"row",alignItems:"center",gap:"small",my:o,...a,ref:m,children:[d({flex:"fluid",my:0}),typeof e=="string"?v(p,{fontSize:"micro",lineHeight:"tight",color:"ink.secondary",whiteSpace:"nowrap",children:e}):e,d({flex:"fluid",my:0})]}):d({...a,ref:m})});y.displayName="Divider";export{h as a,c as b,y as c};
@@ -1 +0,0 @@
1
- import{c as m,d as b}from"./chunk-BCG4MZZG.esm.js";import{c as f}from"./chunk-DKSFPJ4D.esm.js";import{a as l}from"./chunk-JSVL6DGF.esm.js";import{a as p}from"./chunk-I6XZCSTD.esm.js";import{b as d,g as s}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var a=s.input.withConfig({componentId:"sc-truao3-0"})(["position:absolute;left:0;top:0;margin:0;z-index:1;opacity:0;"]);a.displayName="input";var r=s(p).attrs(o=>({borderRadius:"md",borderWidth:"regular",borderStyle:"solid",borderColor:"primary",deep:-1,...o})).withConfig({componentId:"sc-truao3-1"})(["--size:20px;--checked-size:calc(var(--size) * 0.5);width:var(--size);height:var(--size);flex-shrink:0;&::before{content:'';border-radius:50%;display:inline-block;width:var(--checked-size);height:var(--checked-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);opacity:0;}"]);function k({variant:o,$color:e,theme:i}){let t=m(i,o,e);return d(["color:",";& > ","{border:2px solid ",";&::before{background:",";}}&:hover > ","{border-color:",";}& > ",":focus-visible ~ ","{","}& > ",":checked ~ ","{border-color:",";box-shadow:",";}"],t.dark,r,t.dark,t.base,r,t.action,a,r,f(i,{tone:b(o,e)}),a,r,t.base,i.depth("level-zero"))}n(k,"inputVariantStyle");function v(o){return d(["color:",";& > ",":disabled{cursor:default;& ~ ","{background-color:",";border-color:",";&::before{background:",";}}}"],o.colors.disabled.color,a,r,o.colors.disabled.fill,o.colors.disabled.fill,o.colors.disabled.color)}n(v,"getDisabledStyle");var u=s(l).withConfig({componentId:"sc-truao3-2"})(["cursor:pointer;position:relative;display:inline-flex;flex-direction:row;align-items:center;gap:",";margin:",";"," "," & ",":checked ~ ","::before{opacity:1;}"],({theme:o})=>o.spacing("micro"),({theme:o})=>o.spacing(0,"xs","xs",0),k,({theme:o,disabled:e})=>e&&v(o),a,r);import{jsx as c,jsxs as z}from"react/jsx-runtime";var y=n(({id:o,disabled:e,label:i=null,labelProps:t,variant:g="default",color:x,area:R,alignSelf:h,justifySelf:S,...C})=>z(u,{as:"label",htmlFor:o,variant:g,$color:x,disabled:e,area:R,alignSelf:h,justifySelf:S,children:[c(a,{...C,type:"radio",id:o,disabled:e}),c(r,{}),typeof i=="string"?c(l,{fontSize:"small",color:"ink.primary",...t,children:i}):i]}),"RadioComponent");y.displayName="Radio";export{a,r as b,u as c,y as d};
@@ -1 +0,0 @@
1
- import{h as Y}from"./chunk-GGICV57H.esm.js";import{a as se}from"./chunk-XTDZQJU7.esm.js";import{a as le}from"./chunk-FFOBK35P.esm.js";import{e as Le}from"./chunk-BCG4MZZG.esm.js";import{a as ft}from"./chunk-WPWCWCG7.esm.js";import{a as ze}from"./chunk-MNSZ72SE.esm.js";import{a as Ve}from"./chunk-3T2OY4KF.esm.js";import{b as ae}from"./chunk-VQK2V46Q.esm.js";import{b as V}from"./chunk-2V52IYQV.esm.js";import{R as ie,ea as pt,ja as ut,ka as gt,la as mt,r as st,t as ct,z as dt}from"./chunk-CLOAQN2O.esm.js";import{f as be}from"./chunk-FVTAFMZS.esm.js";import{a as lt}from"./chunk-2FQC32AA.esm.js";import{e as E}from"./chunk-JSVL6DGF.esm.js";import{a as D}from"./chunk-S3XZBMR2.esm.js";import{a as b}from"./chunk-I6XZCSTD.esm.js";import{g as Ee}from"./chunk-6G22RNUO.esm.js";import{f as it,g as R}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import P from"react";import Q from"react";var J=R(b).withConfig({componentId:"sc-npwc89-0"})(({theme:e})=>({margin:0,padding:e.spacing("zero","xs"),minHeight:40,lineHeight:e.font.lineHeight.close,display:"flex",flexDirection:"row",alignItems:"center",color:e.colors.ink.primary,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",fontFamily:e.font.fontFamily.main})),_=R(b).withConfig({componentId:"sc-npwc89-1"})(["display:flex;flex-direction:row;align-items:stretch;min-width:max-content;border-bottom:1px solid transparent;border-left:1px solid transparent;"]),xt=R(_).attrs(e=>({bgColor:"muted",...e})).withConfig({componentId:"sc-npwc89-2"})([""]),bt=R(b).withConfig({componentId:"sc-npwc89-3"})(({theme:e})=>({display:"flex",width:"100%",minWidth:"max-content",background:e.colors.surface.sunken,borderBottom:`1px solid ${e.colors.edge.border}`})),Ct=R(b).withConfig({componentId:"sc-npwc89-4"})(({theme:e})=>({position:"sticky",left:0,flex:"0 0 auto",boxSizing:"border-box",width:"var(--datatable-viewport, 100%)",padding:e.spacing("small","medium"),color:e.colors.ink.primary,fontFamily:e.font.fontFamily.main,lineHeight:e.font.lineHeight.regular,whiteSpace:"normal"})),Rt=R.span.withConfig({componentId:"sc-npwc89-5"})(["",""],Ve),wt=R(b).withConfig({componentId:"sc-npwc89-6"})(["& ",":hover{border-bottom-color:"," !important;border-left-color:"," !important;}"],_,({theme:e})=>e.colors.edge.strong,({theme:e})=>e.colors.primary.base),He=R(_).withConfig({componentId:"sc-npwc89-7"})(["position:sticky;top:0;z-index:1;background:",";"],({theme:e})=>e.colors.surface.paper),ht=R(ze).withConfig({componentId:"sc-npwc89-8"})(["flex:0 1 auto;border-spacing:0;border-top:2px solid ",";border-bottom:1px solid ",";isolation:isolate;--datatable-indent:",";& ","{margin:0;}&[data-border='true'] ","{border-right:1px solid ",";border-left-color:",";border-bottom-color:",";}&[data-border='true'] ",":not(:last-child){border-right:1px solid ",";}&[data-default='true'] ","{border-bottom-color:",";}& "," > ","{font-weight:",";align-items:center;justify-content:space-between;gap:",";padding-right:",";color:",";}"],({theme:e})=>e.colors.edge.border,({theme:e})=>e.colors.edge.border,({theme:e})=>e.spacing("medium"),Le,_,({theme:e})=>e.colors.edge.border,({theme:e})=>e.colors.edge.border,({theme:e})=>e.colors.edge.border,J,({theme:e})=>e.colors.edge.border,_,({theme:e})=>e.colors.muted,He,J,({theme:e})=>e.font.fontWeight.bold,({theme:e})=>e.spacing("xs"),({theme:e})=>e.spacing("xs"),({theme:e})=>e.colors.ink.secondary),yt=R(b).withConfig({componentId:"sc-npwc89-9"})(["display:inline-flex;align-items:center;flex-shrink:0;&:not(:focus-within){","}","{&:not(:focus-within){position:static;inline-size:auto;block-size:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;}}"],Ve,({theme:e})=>e.breakpoints.up("sm")),Tt=R(b).withConfig({componentId:"sc-npwc89-10"})(["cursor:col-resize;display:inline-block;width:10px;height:100%;position:absolute;right:0;top:0;transform:translateX(50%);z-index:1;touch-action:none;"]),St=R(b).attrs(e=>({bgColor:"surface.sunken",...e})).withConfig({componentId:"sc-npwc89-11"})(({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",color:e.colors.ink.primary})),Ft=R(b).withConfig({componentId:"sc-npwc89-12"})(({theme:e})=>({display:"flex",justifyContent:"space-between",alignItems:"center",padding:`${e.spacing("xs")} ${e.spacing("small")}`,borderTop:`1px solid ${e.colors.muted}`,gap:e.spacing("small")})),Pt=R(b).withConfig({componentId:"sc-npwc89-13"})(({theme:e})=>({display:"inline-flex",flexDirection:"row",alignItems:"center",gap:e.spacing("xs"),flexShrink:0})),Ce=R(b).withConfig({componentId:"sc-npwc89-14"})(({theme:e})=>({display:"flex",flexDirection:"column",gap:e.spacing("xs"),minWidth:"200px",padding:e.spacing("xs"),[`& ${Le}`]:{margin:0}})),vt=R(ze).attrs({maxHeight:"240px",overscroll:"contain"}).withConfig({componentId:"sc-npwc89-15"})([""]);import{jsx as F,jsxs as Dt}from"react/jsx-runtime";var kt={select:"arrIncludesSome",range:"inNumberRange",text:"includesString"};function It(e,o){let t=Q.useRef(null);return Q.useCallback((...a)=>{t.current&&clearTimeout(t.current),t.current=setTimeout(()=>e(...a),o)},[e,o])}i(It,"useDebounce");var Ne=i(e=>{var o,t;return((t=(o=e.columnDef)==null?void 0:o.meta)==null?void 0:t.label)||e.id},"columnTitle"),fn=i(({column:e,labels:o})=>{var r,c;let t=Q.useMemo(()=>Array.from(e.getFacetedUniqueValues().entries()).sort(([l],[f])=>String(l).localeCompare(String(f))),[e,e.getFilterValue()]),a=(r=e.getFilterValue())!=null?r:[];return F(vt,{children:Dt(Ce,{children:[t.length===0&&F(E,{variant:"meta",text:(c=o==null?void 0:o.filterNoValues)!=null?c:"Sem valores"}),t.map(([l,f])=>{let g=String(l),x=a.includes(g);return F(le,{checked:x,onChange:()=>{let d=x?a.filter(z=>z!==g):[...a,g];e.setFilterValue(d.length?d:void 0)},label:F(E,{variant:"meta",text:`${g} (${f})`})},g)})]})})},"SelectFilter"),xn=i(({column:e,labels:o})=>{var T,G,q,A;let[t,a]=(T=e.getFacetedMinMaxValues())!=null?T:[0,0],r=o!=null&&o.filterRangeMin?o.filterRangeMin(t):`min (${t})`,c=o!=null&&o.filterRangeMax?o.filterRangeMax(a):`max (${a})`,l=(G=e.getFilterValue())!=null?G:[void 0,void 0],f=It(w=>{let[y,L]=w,O=y===void 0&&L===void 0;e.setFilterValue(O?void 0:w)},200),[g,x]=Q.useState(l[0]!==void 0?String(l[0]):""),[d,z]=Q.useState(l[1]!==void 0?String(l[1]):"");return F(Ce,{children:Dt(D,{flexDirection:"row",gap:"xs",alignItems:"center",children:[F(Y,{type:"number",placeholder:r,"aria-label":((q=o==null?void 0:o.filterRangeMinLabel)!=null?q:(w=>`M\xEDnimo de ${w}`))(Ne(e)),value:g,onChange:w=>{let y=w.target.value;x(y),f([y===""?void 0:Number(y),d===""?void 0:Number(d)])}}),F(E,{variant:"meta",text:"\u2014"}),F(Y,{type:"number",placeholder:c,"aria-label":((A=o==null?void 0:o.filterRangeMaxLabel)!=null?A:(w=>`M\xE1ximo de ${w}`))(Ne(e)),value:d,onChange:w=>{let y=w.target.value;z(y),f([g===""?void 0:Number(g),y===""?void 0:Number(y)])}})]})})},"RangeFilter"),bn=i(({column:e,labels:o})=>{var l,f,g;let t=(l=e.getFilterValue())!=null?l:"",[a,r]=Q.useState(t),c=It(x=>{e.setFilterValue(x||void 0)},200);return F(Ce,{children:F(Y,{placeholder:(f=o==null?void 0:o.filterPlaceholder)!=null?f:"Filtrar...","aria-label":((g=o==null?void 0:o.filterTextLabel)!=null?g:(x=>`Filtrar ${x}`))(Ne(e)),value:a,onChange:x=>{let d=x.target.value;r(d),c(d)}})})},"TextFilter"),Mt=i((e,o,t,a)=>{switch(e){case"select":return F(fn,{column:o,onClose:t,labels:a});case"range":return F(xn,{column:o,onClose:t,labels:a});case"text":return F(bn,{column:o,onClose:t,labels:a})}},"filterUIForVariant");import ce,{forwardRef as Cn}from"react";import{Fragment as wn,jsx as C,jsxs as Ae}from"react/jsx-runtime";var zt=Cn((e,o)=>C(Tt,{...e,ref:o})),Lt=i(e=>e==="asc"?mt:e==="desc"?gt:ut,"getSortIcon");function Vt(e,o,t){return e?{id:"expand",size:o!=null?o:48,enableSorting:!1,enableResizing:!1,header:i(()=>{var r;return C(Rt,{children:(r=t==null?void 0:t.expandColumn)!=null?r:"Expandir"})},"header"),cell:i(({row:r})=>{var c,l;return r.getCanExpand()?C(ae,{type:"button",variant:"ghost",color:"neutral",size:"small",icon:C(V,{icon:r.getIsExpanded()?st:ct}),label:r.getIsExpanded()?(c=t==null?void 0:t.collapseRow)!=null?c:"Recolher linha":(l=t==null?void 0:t.expandRow)!=null?l:"Expandir linha","aria-expanded":r.getIsExpanded(),onClick:r.getToggleExpandedHandler(),style:{marginInlineStart:Et(r.depth)}}):C("span",{style:{display:"inline-block",marginInlineStart:Et(r.depth)}})},"cell"),meta:{selectable:!1,align:void 0}}:null}i(Vt,"buildExpandColumnDef");var Et=i(e=>`calc(${e} * var(--datatable-indent, 1rem))`,"indent");function Ht(e,o,t){return e?{id:"checkbox",size:o!=null?o:64,enableSorting:!1,enableResizing:!1,header:i(({table:r})=>{var c;return C(le,{checked:r.getIsAllRowsSelected(),indeterminate:r.getIsSomeRowsSelected(),onChange:r.getToggleAllRowsSelectedHandler(),"aria-label":Ee(e)?void 0:(c=t==null?void 0:t.selectAllRows)!=null?c:"Selecionar todas as linhas",label:Ee(e)?e:void 0})},"header"),cell:i(({row:r})=>{var c,l,f;return C(le,{checked:r.getIsSelected(),indeterminate:(l=(c=r.getIsSomeSelected)==null?void 0:c.call(r))!=null?l:!1,onChange:r.getToggleSelectedHandler(),"aria-label":(f=t==null?void 0:t.selectRow)!=null?f:"Selecionar linha"})},"cell"),meta:{selectable:!1,align:void 0}}:null}i(Ht,"buildSelectableColumnDef");function Rn(e,o){let t=ce.useRef(null);return ce.useCallback((...a)=>{t.current&&clearTimeout(t.current),t.current=setTimeout(()=>e(...a),o)},[e,o])}i(Rn,"useDebounce");var Nt=i(({globalFilter:e,setGlobalFilter:o,placeholder:t})=>{let[a,r]=ce.useState(e),c=Rn(l=>{o(l||"")},200);return C(Y,{clearable:!0,width:"250px",size:"compact",reset:()=>{r(""),c("")},value:a||"",onChange:l=>{r(l.target.value),c(l.target.value)},placeholder:t,"aria-label":t!=null?t:"Search",icon:C(V,{icon:pt})})},"GlobalFilter"),At=i(({height:e,emptyIcon:o,emptyTitle:t="Nada foi encontrado",emptyDescription:a})=>C(St,{style:{height:e},children:Ae(D,{gap:"medium",justifyContent:"center",alignItems:"center",width:"80%",style:{height:e},children:[o,C(E,{textAlign:"center",variant:"h5",text:t}),a&&C(E,{textAlign:"center",variant:"p",text:a})]})}),"EmptyTable");function Re(e,o,t){let[a,r]=ce.useState(t),c=e!==void 0,l=c?e:a,f=ce.useCallback(g=>{let x=typeof g=="function"?g(l):g;c||r(x),o==null||o(x)},[c,o,l]);return[l,f]}i(Re,"useHybridState");var Bt=i(({pageIndex:e,pageSize:o,pageCount:t,rowCount:a,canPreviousPage:r,canNextPage:c,pageSizeOptions:l,onPrevious:f,onNext:g,onPageSizeChange:x,labels:d})=>{var w,y,L,O,pe;let z=a===0?0:e*o+1,T=Math.min((e+1)*o,a),G=(w=d==null?void 0:d.showingRange)!=null?w:((S,B,he)=>`Mostrando ${S}-${B} de ${he}`),q=(y=d==null?void 0:d.perPageOption)!=null?y:(S=>`${S} por p\xE1gina`),A=(L=d==null?void 0:d.perPageTrigger)!=null?L:(S=>`${S} / p\xE1gina`);return Ae(wn,{children:[C(E,{variant:"meta",text:G(z,T,a)}),Ae(D,{flexDirection:"row",gap:"small",alignItems:"center",children:[l.length>1&&C(se,{position:"right",options:l.map(S=>({title:q(S),action:i(()=>x(S),"action")})),children:C(be,{variant:"linked",size:"small",text:A(o)})}),C(be,{variant:"linked",size:"small",disabled:!r,onClick:f,text:(O=d==null?void 0:d.previous)!=null?O:"Anterior"}),C(E,{variant:"meta",text:`${e+1} / ${Math.max(t,1)}`}),C(be,{variant:"linked",size:"small",disabled:!c,onClick:g,text:(pe=d==null?void 0:d.next)!=null?pe:"Pr\xF3ximo"})]})]})},"PaginationControls");var hn=(r=>(r.primary="primary",r.success="success",r.alert="warning",r.error="danger",r))(hn||{}),yn=(a=>(a.left="flex-start",a.center="center",a.right="flex-end",a))(yn||{});var de={minWidth:30,width:150,maxWidth:400};import{flexRender as we,getCoreRowModel as $t,getExpandedRowModel as Ot,getFacetedMinMaxValues as Wt,getFacetedRowModel as Ut,getFacetedUniqueValues as _t,getFilteredRowModel as Gt,getPaginationRowModel as qt,getSortedRowModel as jt,useReactTable as Kt}from"@tanstack/react-table";import{Fragment as Xt,jsx as u,jsxs as H}from"react/jsx-runtime";var Tn={asc:"ascending",desc:"descending",none:"none"};function Sn(e,o){return e.map(t=>{var c,l,f,g,x,d,z;let a=t.accessor?String(t.accessor):void 0,r={id:(c=t.id)!=null?c:a||void 0,header:i(()=>t.Header,"header"),footer:t.Footer?T=>t.Footer({table:T.table}):void 0,enableSorting:!t.disableSortBy,enableResizing:!0,enableColumnFilter:t.disableFilters?!1:!!t.filterVariant,...t.filterVariant&&{filterFn:(l=t.filterFn)!=null?l:kt[t.filterVariant]},size:(f=t.width)!=null?f:o.width,minSize:(g=t.minWidth)!=null?g:o.minWidth,maxSize:(x=t.maxWidth)!=null?x:o.maxWidth,meta:{align:t.align,selectable:t.selectable,filterVariant:t.filterVariant,label:typeof t.Header=="string"?t.Header:(z=(d=t.id)!=null?d:a)!=null?z:""}};return a?r.accessorKey=a:r.accessorFn=()=>null,t.Cell&&(r.cell=T=>t.Cell({row:T.row,value:T.getValue()})),r})}i(Sn,"toTanstackColumns");function Do(e){var tt,nt,ot,rt,at;let{data:o,columns:t,onRowSelect:a,onRowClick:r,selectableColumnWidth:c,selectableColumn:l,setRowColor:f,title:g,striped:x,bordered:d,searchPlaceholder:z,hasHeader:T,hasFooter:G,hasSpacingMenu:q,inputSearchComponent:A,headerLeftComponent:w=null,headerRightComponent:y=null,lastRowComponent:L,height:O=400,spacing:pe=0,paginated:S=!1,initialPagination:B,pagination:he,onPaginationChange:Yt,pageSizeOptions:Be=[10,25,50,100],getSubRows:ue,renderExpandedContent:Z,getRowCanExpand:W,expandedContentHeight:Jt=160,expandedColumnWidth:ge,initialExpanded:ye,expanded:Qt,onExpandedChange:Zt,initialColumnFilters:Te,columnFilters:en,onColumnFiltersChange:tn,labels:m,emptyIcon:Fn,emptyTitle:Pn,emptyDescription:vn,...Se}=e,$=!!Z,ee=!!ue||$,$e=m==null?void 0:m.expandColumn,Oe=m==null?void 0:m.expandRow,We=m==null?void 0:m.collapseRow,Ue=m==null?void 0:m.selectRow,_e=m==null?void 0:m.selectAllRows,nn=(tt=m==null?void 0:m.sortColumn)!=null?tt:(n=>`Ordenar por ${n}`),on=(nt=m==null?void 0:m.filterColumn)!=null?nt:(n=>`Filtrar ${n}`),Fe=P.useMemo(()=>t.some(n=>n.filterVariant&&!n.disableFilters),[t]),[rn,Pe]=P.useState(48),[an,ln]=P.useState([]),[Ge,qe]=P.useState(""),[je,sn]=P.useState({}),[ve,cn]=Re(he,Yt,()=>{var n,p,s;return{pageIndex:(n=B==null?void 0:B.pageIndex)!=null?n:0,pageSize:(s=(p=B==null?void 0:B.pageSize)!=null?p:Be[0])!=null?s:10}}),[Ke,dn]=Re(Qt,Zt,()=>ye!=null?ye:{}),[pn,un]=Re(en,tn,()=>Te!=null?Te:[]),gn=P.useMemo(()=>{let n=Sn(t,de),p=Ht(l,c,{selectRow:Ue,selectAllRows:_e}),s=Vt(ee,ge!=null?ge:c,{expandColumn:$e,expandRow:Oe,collapseRow:We}),h=[];return s&&h.push(s),p&&h.push(p),[...h,...n]},[t,l,c,ee,ge,$e,Oe,We,Ue,_e]),v=Kt({data:o,columns:gn,state:{sorting:an,globalFilter:Ge,rowSelection:je,...S&&{pagination:ve},...ee&&{expanded:Ke},...Fe&&{columnFilters:pn}},enableRowSelection:!!l,enableExpanding:ee,...ue&&{getSubRows:ue},...$&&{getRowCanExpand:i(n=>{var p;return n.subRows.length>0||((p=W==null?void 0:W(n.original))!=null?p:!0)},"getRowCanExpand")},onSortingChange:ln,onGlobalFilterChange:qe,onRowSelectionChange:sn,...S&&{onPaginationChange:cn},...ee&&{onExpandedChange:dn},...Fe&&{onColumnFiltersChange:un},getCoreRowModel:$t(),getSortedRowModel:jt(),getFilteredRowModel:Gt(),...S&&{getPaginationRowModel:qt()},...ue&&{getExpandedRowModel:Ot()},...Fe&&{getFacetedRowModel:Ut(),getFacetedUniqueValues:_t(),getFacetedMinMaxValues:Wt()},columnResizeMode:"onChange",defaultColumn:{size:de.width,minSize:de.minWidth,maxSize:de.maxWidth}}),k=v.getRowModel().rows,ke=v.getVisibleLeafColumns().length,Xe=L?1:0,Ie=i(n=>{var p;return $&&n.getIsExpanded()&&((p=W==null?void 0:W(n.original))!=null?p:!0)},"hasOpenPanel"),Ye=[],te=0;for(let n of k)Ye.push(te),Ie(n)&&(te+=1);lt(()=>{a&&a(v.getSelectedRowModel().flatRows.map(n=>n.original))},[je]);let U=it(),Me=k.length+(L?1:0),Je=P.useCallback((n,p)=>{let s=f&&f(n),h=x&&p%2===0,I=U.colors.surface.paper;return s?I=U.colors[s].light:n.getIsSelected()&&a?I=U.colors.muted:h&&(I=U.colors.surface.sunken),{backgroundColor:I}},[f,x,U,a]),me=rn+pe,fe=P.useCallback(({align:n="flex-start",cellProps:p={},header:s,hasCheckbox:h,selectable:I})=>Object.assign(p,{title:void 0,style:{height:me,overflow:"hidden",display:"flex",alignItems:s?"flex-end":"center",justifyContent:n,paddingLeft:h?U.spacing("small"):void 0,cursor:I?"pointer":void 0}}),[me,U]),mn=P.useCallback(({index:n,style:p})=>{if(L&&n===Me-1)return u(b,{role:"row","aria-rowindex":k.length+2+te,style:{height:"100%"},children:u(b,{role:"cell","aria-colspan":ke,style:{height:"100%"},children:P.cloneElement(L,{style:p})})});let s=k[n],h=n+2+Ye[n],I={...p,...Je(s,n)},oe=u(_,{role:"row","aria-rowindex":h,style:I,children:s.getVisibleCells().map(N=>{var M;let j=(M=N.column.columnDef.meta)!=null?M:{},K=N.column.id,X;r?X=i(()=>r(s.original),"onClickAction"):a&&(X=i(()=>s.toggleSelected(),"onClickAction"));let re=fe({align:j.align,hasCheckbox:K==="checkbox",selectable:(a||r)&&j.selectable!==!1,cellProps:j.selectable!==!1?{onClick:X}:void 0});return u(J,{...re,role:"cell",style:{...re.style,width:N.column.getSize(),flex:`${N.column.getSize()} 0 auto`},children:we(N.column.columnDef.cell,N.getContext())},N.id)})});return Ie(s)?H(Xt,{children:[oe,u(bt,{role:"row","aria-rowindex":h+1,"data-testid":"datatable-expanded-row",children:u(Ct,{role:"cell","aria-colspan":ke,children:Z==null?void 0:Z(s.original)})})]}):oe},[k,Ke,fe,L,r,a,Je,Me,ke,Z,W]),xe=!!k.length,Qe=G&&xe&&t.some(n=>"Footer"in n),De=P.useRef(null),ne=ft({count:Me,getScrollElement:i(()=>De.current,"getScrollElement"),estimateSize:i(n=>me+(k[n]&&Ie(k[n])?Jt:0),"estimateSize"),overscan:5,...$&&{getItemKey:i(n=>{var p,s;return(s=(p=k[n])==null?void 0:p.id)!=null?s:"last-row"},"getItemKey")}});P.useEffect(()=>{let n=De.current;if(!$||!n||typeof ResizeObserver=="undefined")return;let p=i(()=>n.style.setProperty("--datatable-viewport",`${n.clientWidth}px`),"sync");p();let s=new ResizeObserver(p);return s.observe(n),()=>s.disconnect()},[$]),P.useEffect(()=>{ne.measure()},[me,ne]);let Ze=H(ht,{...!T&&Se,axis:"both",scrollableRef:De,scrollerProps:{role:"region","aria-label":(rt=(ot=m==null?void 0:m.scrollRegion)!=null?ot:g)!=null?rt:"Tabela"},style:{...!T&&Se.style,maxHeight:O},bgColor:"baseLight","data-border":d,"data-default":!x&&!d,children:[H(b,{role:"table","aria-label":g,"aria-rowcount":k.length+1+te+Xe+(Qe?1:0),children:[u(He,{role:"row","aria-rowindex":1,children:v.getFlatHeaders().map(n=>{var re;let p=(re=n.column.columnDef.meta)!=null?re:{},s=n.column.getCanSort(),h=n.column.getCanResize(),I=n.column.getIsSorted(),oe=!!p.filterVariant&&n.column.getCanFilter(),N=n.column.getIsFiltered(),j=p.label||n.column.id,K=n.column.getToggleSortingHandler(),X=fe({align:p.align,header:!0,hasCheckbox:n.column.id==="checkbox"});return H(J,{...X,role:"columnheader","aria-sort":s?Tn[I||"none"]:void 0,style:{...X.style,width:n.getSize(),flex:`${n.getSize()} 0 auto`,cursor:s?"pointer":void 0,position:"relative"},onClick:s?K:void 0,children:[n.isPlaceholder?null:we(n.column.columnDef.header,n.getContext()),(oe||s)&&H(Pt,{children:[oe&&u("span",{role:"presentation",onClick:M=>M.stopPropagation(),children:u(se,{content:({close:M})=>Mt(p.filterVariant,n.column,M,m),children:u(ae,{type:"button",variant:"ghost",size:"small",color:N?"primary":"neutral",icon:u(V,{icon:dt}),label:on(j)})})}),s&&u(yt,{children:u(ae,{type:"button",variant:"ghost",size:"small",color:"neutral",icon:u(V,{icon:Lt(I)}),label:nn(j),onClick:M=>{M.stopPropagation(),K==null||K(M)}})})]}),h&&u(zt,{onMouseDown:n.getResizeHandler(),onTouchStart:n.getResizeHandler(),onClick:M=>M.stopPropagation()})]},n.id)})}),xe&&u(wt,{style:{height:ne.getTotalSize(),position:"relative",minWidth:"max-content"},children:ne.getVirtualItems().map(n=>u(b,{...$&&{ref:ne.measureElement,"data-index":n.index},style:{position:"absolute",top:0,left:0,width:"100%",height:$?void 0:n.size,transform:`translateY(${n.start}px)`},children:mn({index:n.index,style:{}})},n.key))}),Qe&&u(b,{children:u(xt,{role:"row","aria-rowindex":k.length+2+te+Xe,children:(at=v.getFooterGroups()[0])==null?void 0:at.headers.map(n=>{var h;let p=(h=n.column.columnDef.meta)!=null?h:{},s=fe({align:p.align});return u(J,{...s,role:"cell",style:{...s.style,width:n.getSize(),flex:`${n.getSize()} 0 auto`},children:n.isPlaceholder?null:we(n.column.columnDef.footer,n.getContext())},n.id)})})})]}),!xe&&u(At,{...e,height:O})]}),et=S&&xe&&u(Ft,{children:u(Bt,{pageIndex:ve.pageIndex,pageSize:ve.pageSize,pageCount:v.getPageCount(),rowCount:v.getFilteredRowModel().rows.length,canPreviousPage:v.getCanPreviousPage(),canNextPage:v.getCanNextPage(),pageSizeOptions:Be,onPrevious:()=>v.previousPage(),onNext:()=>v.nextPage(),onPageSizeChange:n=>v.setPageSize(n),labels:m})});return T?H(D,{...Se,gap:"medium",children:[H(D,{flexDirection:"row",alignItems:"center",justifyContent:"between",children:[H(D,{flexDirection:"row",gap:"medium",children:[g&&u(E,{variant:"h5",color:"primary.dark",text:g}),w]}),H(D,{flexDirection:"row",gap:"medium",children:[A!=null?A:u(Nt,{globalFilter:Ge,setGlobalFilter:qe,placeholder:z}),y,q?u(D,{alignSelf:"center",children:u(se,{position:"right",options:[{icon:u(V,{icon:ie}),title:"Layout Compacto",action:i(()=>Pe(32),"action")},{icon:u(V,{icon:ie}),title:"Layout Padr\xE3o",action:i(()=>Pe(48),"action")},{icon:u(V,{icon:ie}),title:"Layout Expandido",action:i(()=>Pe(64),"action")}],children:u(V,{size:5,icon:ie,color:"primary.action",style:{alignSelf:"center",cursor:"pointer"}})})}):null]})]}),Ze,et]}):H(Xt,{children:[Ze,et]})}i(Do,"DataTable");export{hn as a,yn as b,Do as c};
@@ -1,5 +0,0 @@
1
- import{c as y}from"./chunk-TCA5DSF6.esm.js";import{a as g}from"./chunk-JSVL6DGF.esm.js";import{d as f}from"./chunk-RWLJNXLX.esm.js";import{b as p}from"./chunk-IK5Z5C2R.esm.js";import{b as d}from"./chunk-VCMHX5VK.esm.js";import{b as c}from"./chunk-WKXEPDPZ.esm.js";import{g as u}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";function L(o){return o==="default"?"primary":o==="info"?"information":o}a(L,"getColorVariant");function S(o,t,n){let e=L(t),r=o.colors[e];if(n){let i=r==null?void 0:r.action;return{backgroundColor:i,color:i&&c(o,l=>{var m;let s=(m=l.colors[e])==null?void 0:m.action;return s&&l.colors.getContrastColor(s)})}}return{backgroundColor:r==null?void 0:r.light,color:r==null?void 0:r.onLight}}a(S,"getColor");var b=u(g).withConfig({componentId:"sc-dznqj7-0"})(["display:inline;"," "," "," "," ",""],({$withStatus:o,theme:t})=>o&&`
2
- display: inline-flex;
3
- align-items: center;
4
- gap: ${t.spacing("micro")};
5
- `,p({fontSize:"micro",lineHeight:"close"}),d({px:"small",py:"xs"}),f({borderRadius:"micro"}),({theme:o,variant:t,inverted:n})=>S(o,t,n));import{jsx as C,jsxs as h}from"react/jsx-runtime";function x(o){let{variant:t="default",text:n,children:e,alignSelf:r="start",status:i,...l}=o;return h(b,{variant:t,alignSelf:r,$withStatus:i!==void 0,...l,children:[i!==void 0&&C(y,{as:"span","aria-hidden":!0,$status:i,$size:"small"}),e||n]})}a(x,"Label");x.displayName="Label";export{b as a,x as b};
@@ -1 +0,0 @@
1
- import{f as de}from"./chunk-GGICV57H.esm.js";import{a as se}from"./chunk-MNSZ72SE.esm.js";import{d as L}from"./chunk-JTXT4BH4.esm.js";import{a as ee,b as te}from"./chunk-VQK2V46Q.esm.js";import{b as O}from"./chunk-2V52IYQV.esm.js";import{b as J}from"./chunk-U3YG36FD.esm.js";import{L as re,M as ae,qa as le,ua as z}from"./chunk-CLOAQN2O.esm.js";import{f as Q}from"./chunk-FVTAFMZS.esm.js";import{a as ne}from"./chunk-B772QSAK.esm.js";import{b as ie}from"./chunk-4MMTXWN6.esm.js";import{a as oe}from"./chunk-BE2JDTVA.esm.js";import{e as I}from"./chunk-JSVL6DGF.esm.js";import{b as Y}from"./chunk-ZAOQD7HC.esm.js";import{a as k}from"./chunk-LCCVFIPZ.esm.js";import{a as v}from"./chunk-S3XZBMR2.esm.js";import{a as S}from"./chunk-I6XZCSTD.esm.js";import{l as V}from"./chunk-6G22RNUO.esm.js";import{e as K}from"./chunk-QXV2TDLZ.esm.js";import{g as h}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var me=i(({theme:e,readOnly:t,disabled:o,active:r})=>{if(t||o)return null;let c=e.colors.primary.base;return{borderWidth:1,borderStyle:"dashed",borderColor:r?c:"transparent","&:hover":{borderColor:c}}},"activeStyle"),ce=i(({disabled:e,readOnly:t})=>(e||t)&&{cursor:"not-allowed",pointerEvents:"none",userSelect:"none"},"disabledStyle"),pe=h(S).withConfig({componentId:"sc-1erdx9t-0"})([""," "," container-type:inline-size;"],me,ce),q=h(S).withConfig({componentId:"sc-1erdx9t-1"})(["pointer-events:none;display:flex;justify-content:center;align-items:center;"]),$=h(S).withConfig({componentId:"sc-1erdx9t-2"})(["opacity:0.95;"]),D=h(L).withConfig({componentId:"sc-1erdx9t-3"})(["& ","{padding:0;svg{width:0.8rem;height:0.8rem;}}"],ee),fe=h(se).withConfig({componentId:"sc-1erdx9t-4"})(["min-width:0;& ","{padding:"," 0;}& "," + & ","{margin-top:",";}"],D,({theme:e})=>e.spacing("xs"),D,D,({theme:e})=>e.spacing("medium")),ue=h(I).withConfig({componentId:"sc-1erdx9t-5"})(["flex:1;width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]),Fe=h(S).attrs(e=>({borderRadius:"micro",bgColor:"surface.sunken",...e})).withConfig({componentId:"sc-1erdx9t-6"})(["--fillColor:",";height:4px;background-image:linear-gradient(var(--fillColor),var(--fillColor));background-repeat:no-repeat;background-size:0%;transition:all var(--apollion-motion-duration-100,100ms) var(--apollion-motion-easing-linear,cubic-bezier(0,0,1,1));"],({theme:e})=>e.colors.information.base),j=8,Ne=j*.8,B=h(S).attrs(e=>({borderRadius:"micro",...e})).withConfig({componentId:"sc-1erdx9t-7"})(["align-self:center;overflow:hidden;width:",";height:",";font-size:",";color:",";"],({theme:e})=>k(e,j),({theme:e})=>k(e,j),({theme:e})=>k(e,Ne),({theme:e})=>e.colors.primary.base),ge=h(S).withConfig({componentId:"sc-1erdx9t-8"})(["container-type:inline-size;"," ",""],me,ce),Ce=h(S).withConfig({componentId:"sc-1erdx9t-9"})(["display:flex;flex-direction:column;"]),ye=h(L).withConfig({componentId:"sc-1erdx9t-10"})(["",""],K({flex:"fluid"}));import{forwardRef as He,useCallback as We,useEffect as _e,useImperativeHandle as Ge,useRef as Ze,useState as Xe}from"react";function M(e){let t=Math.floor(Math.log(e)/Math.log(1e3));return`${(e/1e3**t).toFixed(2)} ${["B","kB","MB","GB","TB"][t]}`}i(M,"fileSize");function H(e,t){let o=t||15728640;return(Array.isArray(e)?e:[e]).filter(c=>c.size<=o)}i(H,"filterFiles");function W(e){return e.map(t=>({id:Y(),file:t,fileName:t.name,fileSize:M(t.size)}))}i(W,"convertFileToFileItem");function xe(e){let{fieldName:t,file:o,requestConfig:r}=e,{endpoint:c,timeout:b,auth:u,params:C,withCredentials:m,responseType:d,headers:f,formDataParams:s}=r;return new Promise((p,x)=>{let a=new XMLHttpRequest;a.timeout=b;let y=new FormData;y.append(t,o,o.name),s&&s.forEach(l=>{y.append(l.key,l.value)});let R=new URL(c);if(C&&Object.keys(C).forEach(l=>{R.searchParams.append(l,C[l])}),a.open("post",R.href),"setRequestHeader"in a){let l={...f};if(u){let F=u.username||"",U=unescape(encodeURIComponent(u.password))||"",T=`${F}:${U}`;l.Authorization=`Basic ${btoa(T)}`}Object.keys(l).forEach(F=>{let U=l[F];U!==void 0&&a.setRequestHeader(F,U)})}m!==void 0&&(a.withCredentials=!!m),a.responseType=d||"json";let P=0;a.upload.addEventListener("progress",l=>{e.onProgress&&(P=l.loaded,e.onProgress(l.loaded))}),a.onreadystatechange=()=>{var F;if(!a||a.readyState!==4||a.status===0&&((F=a==null?void 0:a.responseURL)==null?void 0:F.indexOf("file:"))!==0)return;let l={response:a.response,status:a.status,statusText:a.statusText};e.onProgress&&e.onProgress(P,!0,l),p(l),a=null},a.onerror=()=>{e.onProgress&&e.onProgress(P,!1),x(),a=null},a.send(y)})}i(xe,"uploadFile");import{useEffect as Ve,useState as je}from"react";function he(e,t){let[o,r]=je(null);return Ve(()=>{let c="";return e&&t&&t(e)&&(c=URL.createObjectURL(e),r(c)),()=>{URL.revokeObjectURL(c)}},[e,t]),o}i(he,"useObjectUrl");import{Fragment as $e,jsx as n,jsxs as g}from"react/jsx-runtime";function be(e){let{disabled:t,acceptLabel:o,isDragging:r,events:c,files:b,removeFile:u,removeFileLabel:C,openFileDialogButton:m,readOnly:d,style:f,className:s,inputFile:p}=e,x=b.length>0,a=x&&n(fe,{children:n(v,{flexDirection:"column",p:"large",children:b.map(y=>n(Ie,{removeFile:u,removeFileLabel:C,readOnly:d,...y},y.id))})});return g(pe,{...c,style:f,className:s,active:r,disabled:t,readOnly:d,borderRadius:"md",bgColor:"surface.sunken",overflow:"hidden",deep:2,children:[p,g(v,{cq:{md:{flexDirection:"row",height:300,maxHeight:300}},children:[g(Ce,{gap:"small",flex:"fluid",cq:x?{md:{flex:"initial"}}:void 0,p:"large",bgColor:"deepLight",justifyContent:"center",alignItems:"center",children:[g(v,{gap:"xs",alignItems:"center",children:[n(O,{icon:z,size:16,color:d||t?"ink.disabled":"secondary"}),o&&n(I,{variant:"meta",fontWeight:"bold",children:o})]}),!d&&g($e,{children:[n(I,{variant:"p",children:"Arraste e solte aqui"}),n(I,{variant:"p",fontWeight:"bold",children:"ou"}),m]})]}),a]}),r&&g(q,{absoluteFill:!0,children:[n($,{absoluteFill:!0,bgColor:"surface.paper"}),g(v,{gap:"small",justifyContent:"center",alignItems:"center",p:8,children:[n(O,{icon:z,color:"information.dark",size:9}),n(I,{variant:"p",color:"information.dark",children:"Arraste e solte aqui"})]})]})]})}i(be,"UploadCardRegular");function ve(e){let{disabled:t,isDragging:o,events:r,files:c,removeFile:b,removeFileLabel:u,style:C,className:m,readOnly:d,openFileDialogButton:f,inputFile:s}=e;return g(ge,{...r,style:C,className:m,active:o,disabled:t,readOnly:d,borderRadius:"md",bgColor:"surface.sunken",overflow:"hidden",p:"large",children:[s,g(L,{medias:{gap:"large"},cq:{md:{columns:"max-content 1fr"}},children:[n(v,{flexDirection:"row",justifyContent:"start",alignItems:"start",children:f}),n(ye,{medias:{gap:"medium",columns:"repeat(auto-fill, minmax(240px, 1fr))"},children:c.map(p=>n(Ie,{removeFile:b,removeFileLabel:u,readOnly:d,...p},p.id))})]}),o&&g(q,{children:[n($,{}),g(v,{flexDirection:"row",gap:"small",justifyContent:"center",alignItems:"center",children:[n(O,{icon:z,color:"information.dark",size:6}),n(I,{variant:"p",children:"Arraste e solte aqui"})]})]})]})}i(ve,"UploadCardCompact");function Ie({removeFile:e,removeFileLabel:t="Remover arquivo",readOnly:o,...r}){let c=r.uploadLoaded?`${r.uploadLoaded} de`:"";return g(D,{medias:{gap:"micro",columns:"2rem 1fr"},children:[n(qe,{...r}),g(v,{children:[g(v,{flexDirection:"row",justifyContent:"between",children:[n(ue,{variant:"meta",children:n("b",{children:r.fileName})}),!o&&n(te,{onClick:()=>e(r.id),icon:n(O,{icon:le}),label:`${t} ${r.fileName}`,variant:"linked"})]}),r.uploadPercentage&&n(Fe,{style:{backgroundSize:r.uploadPercentage}}),g(v,{flexDirection:"row",justifyContent:"between",children:[n(I,{variant:"meta",children:`${c} ${r.fileSize}`}),r.uploadPercentage&&n(I,{variant:"meta",children:`Enviando ${r.uploadPercentage}`})]})]})]})}i(Ie,"FileItemComponent");function qe({file:e}){let t=he(e,o=>o.type.startsWith("image"));return t?n(B,{children:n(J,{src:t,cover:!0})}):e.name.endsWith(".pdf")?n(B,{children:n(O,{icon:ae})}):n(B,{children:n(O,{icon:re})})}i(qe,"Preview");import{useState as Me}from"react";function Pe(e){let[t,o]=Me({files:[],type:null,payload:null});return{files:t,setInitialFiles:i(m=>{var p;let d=H(m,e.maxSize),s={files:W(d),type:"ADD_INITIAL_FILES"};(p=e.onChange)==null||p.call(e,s),o(s)},"setInitialFiles"),removeFile:i(m=>{var f;let d={type:"REMOVE",files:t.files.filter(s=>s.id!==m),payload:t.files.find(s=>s.id===m)};(f=e.onChange)==null||f.call(e,d),o(d)},"removeFile"),removeAll:i(()=>{var d;let m={files:[],type:"REMOVE"};(d=e.onChange)==null||d.call(e,m),o(m)},"removeAll"),addFiles:i(m=>{var x;let d=H(m,e.maxSize),f=W(d),s=[...t.files,...f],p={files:s,type:"ADD",payload:f};e.single&&(s=f,p={files:s,type:"REPLACE",payload:s[0]}),(x=e.onChange)==null||x.call(e,p),o(p)},"addFiles"),updateFileProgress:i((m,d,f,s)=>{var l;let p=t.files.find(F=>F.id===m),x=i(()=>({uploadCompleted:f,uploadError:!f,uploadResponse:s||void 0}),"uploadResponse"),y={...p,...d!==void 0?i(()=>({uploadLoaded:M(d),uploadPercentage:`${Math.min(d/p.file.size*100,100).toFixed(0)}%`}),"progressStatus")():{},...f!==void 0?x():{}},P={files:t.files.map(F=>F.id===y.id?y:F),type:"UPDATE",payload:y};(l=e.onChange)==null||l.call(e,P),o(P)},"updateFileProgress")}}i(Pe,"useFileState");import{jsx as A}from"react/jsx-runtime";var Ke=He((e,t)=>{let{accept:o,maxSize:r,singleFile:c,uploadConfig:b,onUnsupportedFile:u,customButton:C,style:m,className:d,onChange:f,initialFiles:s,name:p}=e,[x,a]=Xe(!1),{active:y,enable:R,disable:P}=oe(),{files:l,setInitialFiles:F,addFiles:U,removeFile:T,removeAll:Ue,updateFileProgress:_}=Pe({single:c,maxSize:r,onChange:f}),{getFiles:Se}=ne({accept:o,single:c,onFilesSelect:U,onUnsupportedFile:u}),{isDragging:G,events:Oe}=ie({accept:o,single:c,onDrop:U});_e(()=>{let w=Array.isArray(s)?s.length>0:!!s;!x&&!l.files.length&&w&&(a(!0),F(s))},[x,a,s,F,l.files]);let Re=We(async w=>{if(l.files.length){R();let De=l.files.map(({id:Ee,file:ke})=>xe({file:ke,fieldName:(w==null?void 0:w.formDataFileKey)||"file",requestConfig:{...b,...w},onProgress:i((ze,Be,Ae)=>{_(Ee,ze,Be,Ae)},"onProgress")})),Te=await Promise.all(De);return P(),Te}return[]},[l.files,b,R,_,P]);Ge(t,()=>({submit:Re,addFiles:U,removeFile:T,removeAll:Ue,files:l.files}));let E=Ze(null),N=i(()=>{var w;(w=E==null?void 0:E.current)==null||w.click()},"openFileDialog"),Le=C?C({files:l.files,isDragging:G,openFileDialog:N,isSubmitting:y}):A(Q,{onClick:N,variant:"outlined",color:"secondary",size:"small",disabled:e.readOnly||e.disabled||y,isLoading:y,type:"button",children:e.buttonText||"Enviar arquivos"}),Z={...e,...!e.readOnly&&{events:Oe,isDragging:G},files:l.files,style:m,className:d,removeFile:T,openFileDialog:N,openFileDialogButton:Le,name:p},X=A(de,{type:"file",isHidden:!0,position:"absolute",name:p,id:p,ref:E,onChange:Se,multiple:!c,accept:Array.isArray(o)?o.join(","):void 0});return e.compact?A(ve,{...Z,inputFile:X}):A(be,{...Z,inputFile:X})});Ke.displayName="UploadCard";import{useCallback as Ye,useState as we}from"react";var Wt=i(()=>{let[e,t]=we([]),[o,r]=we([]);return{onFilesChange:Ye(u=>{if(!u.payload)return;let{payload:C}=u;u.type==="ADD"?r(m=>V(m,C)):u.type==="REMOVE"&&t(m=>V(m,C))},[]),removedFiles:e,addedFiles:o,clear:i(u=>{u==="removedFiles"&&t([]),u==="addedFiles"&&r([])},"clear")}},"useFileControl");export{pe as a,q as b,$ as c,D as d,fe as e,ue as f,Fe as g,B as h,ge as i,Ce as j,ye as k,Ke as l,Wt as m};
@@ -1 +0,0 @@
1
- import{a as M,b as z}from"./chunk-VQK2V46Q.esm.js";import{c as A}from"./chunk-SSKJNT7I.esm.js";import{a as B,b as T}from"./chunk-2V52IYQV.esm.js";import{qa as F}from"./chunk-CLOAQN2O.esm.js";import{f as V}from"./chunk-HSKYQ6VP.esm.js";import{c as L}from"./chunk-KZTG5TDM.esm.js";import{a as R,e as v}from"./chunk-JSVL6DGF.esm.js";import{g as W}from"./chunk-UGIYAS67.esm.js";import{a as E}from"./chunk-2C4RPPWG.esm.js";import{a as C}from"./chunk-S3XZBMR2.esm.js";import{a as y}from"./chunk-I6XZCSTD.esm.js";import{c as b}from"./chunk-G5Z7USXC.esm.js";import{b as I,c as w,f as P,g as s}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var _=w(["0%{width:0;}100%{width:100%;}"]),x=s(y).withConfig({componentId:"sc-6lckl1-0"})(["display:flex;--time:15;width:0;height:0.25rem;background-color:var(--baseColor);animation:"," calc(var(--time,15) * 1s) normal forwards;"],_),$=s(C).withConfig({componentId:"sc-6lckl1-1"})(["position:absolute;top:0.25rem;left:0.5rem;right:0.5rem;"]);function J({variant:e,theme:a}){let t=a.colors[e];return I(["--baseColor:",";--lightColor:",";--darkColor:",";--activeColor:",";--actionColor:",";--inkColor:",";position:relative;background-color:var(--lightColor);border-color:var(--baseColor);",":not(button *){color:var(--inkColor);}& ","{width:intrinsic;color:var(--darkColor);&:hover{background:var(--activeColor);}&:active ","{color:var(--actionColor);}}&:hover ","{animation-play-state:paused;}"],t.base,t.light,t.dark,t.active,t.action,t.onLight,R,M,B,x)}n(J,"getWrapperStyle");var N=s(y).withConfig({componentId:"sc-6lckl1-2"})(J);N.displayName="div";var j=s(C).withConfig({componentId:"sc-6lckl1-3"})(["color:var(--darkColor);svg{width:2rem;height:2rem;}"]);import q,{useEffect as K,useState as X}from"react";import{createPortal as Y}from"react-dom";import{jsx as o,jsxs as G}from"react/jsx-runtime";var H=q.forwardRef(n(function({type:a="block",variant:t="primary",visible:p=!0,closable:d=!0,autoClose:f=null,message:i=null,action:l=null,icon:c=null,link:m,onDismiss:r,closeLabel:u="Fechar notifica\xE7\xE3o",...h},O){let{isMobile:S}=V(),Q=n(()=>{let g=l;return typeof l=="function"&&(g=l({close:r})),g?q.cloneElement(g,{color:t,alignSelf:"center",justifySelf:"center"}):null},"renderActionButton"),U=n(()=>typeof i=="function"?i({close:r}):typeof i=="string"?o(v,{text:i,variant:"p",fontSize:"xs"}):i,"renderMessage"),k=t==="danger",Z=k?"alert":"status";return p?G(N,{ref:O,p:"medium",pr:9,round:S?0:"xs",borderWidth:S?"none":"thin",borderStyle:"solid",variant:t,"data-testid":`notification-${a}`,role:Z,"aria-live":k?"assertive":"polite","aria-atomic":"true",...h,children:[f&&o($,{children:o(x,{round:"micro",style:{"--time":f},onAnimationEnd:r})}),G(E,{contentGap:"medium",opener:c&&o(j,{pt:"xs",alignSelf:"start",children:c}),closer:Q(),children:[h.title&&o(v,{text:h.title,variant:"h3",fontSize:"small",fontWeight:"stronger",type:"mobile"}),U(),m&&o(A,{...m,target:"_blank"})]}),d&&o(z,{p:"xs",borderWidth:"none",icon:o(T,{size:"small",icon:F}),"aria-label":u,variant:"linked",onClick:r,alignSelf:"start",position:"absolute",right:"0.5rem",top:"0.5rem"})]}):null},"BaseNotification")),D=n(e=>{let a=P(),[t,p]=X(!1);K(()=>{p(!0)},[]);let d=e.visible!==!1,{mounted:f,state:i,ref:l}=L(d),{pageOffset:c=0,...m}=e,r=e.pagePosition==="top",u=r?{top:c}:{bottom:c};return!t||!b?null:Y(f?o(H,{...m,ref:l,round:0,borderWidth:"thin",borderPosition:r?"bottom":"top",motion:r?"sheet-top":"sheet","data-state":i,"aria-hidden":i==="closing"||void 0,visible:!0,style:{...u,zIndex:W(a).toast,margin:0,position:"fixed",right:0,left:0}}):null,b)},"PageNotification"),tt=n(e=>e.type==="page"?o(D,{...e}):o(H,{...e}),"NotificationComponent");tt.displayName="Notification";export{x as a,$ as b,N as c,j as d,tt as e};
@@ -1 +0,0 @@
1
- import{d as u}from"./chunk-JTXT4BH4.esm.js";import{a as m}from"./chunk-JSVL6DGF.esm.js";import{a as t}from"./chunk-S3XZBMR2.esm.js";import{b as f}from"./chunk-WKXEPDPZ.esm.js";import{m as c}from"./chunk-KO5FSKVM.esm.js";import{b as h,g as l}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";var I=h(["cursor:pointer;&:hover,&:focus-within{border-color:",";box-shadow:",";transform:translateY(-2px);}@media (prefers-reduced-motion:reduce){&:hover,&:focus-within{transform:none;}}"],({theme:e})=>f(e,r=>c(r.colors.primary,"base")),({theme:e})=>e.depth("level-three")),g=l(u).withConfig({componentId:"sc-mtfzzn-0"})(["transition:",";",""],({theme:e})=>e.animation.transitions.short,({$interactive:e})=>e&&I),C=l(t).withConfig({componentId:"sc-mtfzzn-1"})(["margin:",";overflow:hidden;border-top-left-radius:inherit;border-top-right-radius:inherit;"],({theme:e,$pad:r})=>{let o=`calc(${e.spacing(r)} * -1)`;return`${o} ${o} 0`});import{jsx as a,jsxs as y}from"react/jsx-runtime";var B=s(e=>{let r=[],o=[];return e.media&&(r.push("media"),o.push("auto")),e.title&&(r.push("title"),o.push("auto")),r.push("content"),o.push(e.action?"1fr":"auto"),e.action&&(r.push("action"),o.push("auto")),{columns:"1fr",rows:o.join(" "),areas:r.map(i=>`"${i}"`).join(" ")}},"cardTemplate"),x=s(({media:e,title:r,description:o,subtitle:i,actionComponent:n,children:b,interactive:p=!1,medias:S,p:d="large",...w})=>{let v=typeof r=="string"?a(m,{as:"h4",fontSize:"small",fontWeight:"bold",lineHeight:"regular",color:"ink.primary",children:r}):r,z=typeof o=="string"?a(m,{as:"p",fontSize:"micro",lineHeight:"wild",color:"ink.secondary",children:o}):o,F=B({media:!!e,title:!!r,action:!!n});return y(g,{borderRadius:"md",borderWidth:"thin",borderColor:"edge.hairline",bgColor:"surface.paper",overflow:p?"visible":"hidden",p:d,medias:{...F,gap:"large",...S},$interactive:p,containment:"inline-size",...w,children:[e&&a(C,{area:"media",$pad:d,children:e}),r&&a(t,{area:"title",children:v}),y(t,{area:"content",gap:"xs",children:[z,i,b]}),n&&a(t,{area:"action",children:n})]})},"CardComponent");x.displayName="Card";export{x as a};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-GZONWSRB.esm.js";var j=["area","padding","margin","isHidden","truncate","container","pageShell","containment","overflow","overflowX","overflowY","absoluteFill","position","display","cursor","top","bottom","left","right","zIndex","transform"],A=a(i=>l=>{var r,n;let{area:p,padding:s,margin:c,zIndex:m,display:d,isHidden:f,truncate:g,overflow:y,overflowX:h,overflowY:w,absoluteFill:u,position:v,left:x,right:b,top:C,bottom:S,container:F,pageShell:P,containment:e,cursor:T,transform:O,theme:t}={...i,...l},o=typeof e=="string"?e.split(" "):[];return{cursor:T,padding:s,margin:c,zIndex:m,display:d,overflow:y,overflowX:h,overflowY:w,position:v,left:x,right:b,top:C,bottom:S,transform:O,gridArea:p,...f&&{visibility:"hidden"},...g&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},...(P||F)&&{margin:"0 auto",maxWidth:(n=(r=t==null?void 0:t.layout)==null?void 0:r.pageMaxWidth)!=null?n:1366},...o.length>0&&{containerType:o[0],...o[1]&&{containerName:o[1]}},...u&&{position:"absolute",top:0,bottom:0,right:0,left:0}}},"ContainerFactory");export{j as a,A as b};
@@ -1 +0,0 @@
1
- import{a as F}from"./chunk-43YSWDK6.esm.js";import{a as w,c as E}from"./chunk-ATYHOAJ4.esm.js";import{f as N,h as k}from"./chunk-GGICV57H.esm.js";import{a as T}from"./chunk-JSVL6DGF.esm.js";import{a as v}from"./chunk-S3XZBMR2.esm.js";import{g as b}from"./chunk-AXUWC2WH.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";import{forwardRef as H,useEffect as V,useMemo as A,useState as U}from"react";function a(e){return e.replace(/\D/g,"")}c(a,"removeNonDigits");function B(e,r="."){return a(e).replace(/\B(?=(\d{3})+(?!\d))/g,r)}c(B,"formatNumber");function g(e,r){let t=e;if(r!=null&&r.prefix&&t&&(t=e.replaceAll(r.prefix,"").trim()),t==="")return t;let{decimal:i,thousand:n,validate:m}=r!=null?r:{},l=t.indexOf(i);if(l>=0){let f=t.substring(0,l),u=t.substring(l);f=B(f,n),m&&(u=`${u}00`),u=a(u).substring(0,2),t=`${f}${i}${u}`}else t=B(t,n),m&&(t+=`${i}00`);return t}c(g,"formatCurrency");function G(e,r=","){if(typeof e=="number")return e;try{let t=e.indexOf(r);if(t>=0){let i=a(e.substring(0,t)),n=a(e.substring(t));return+`${i}.${n}`}return Number(a(e))}catch(t){return console.log("Failed to convert string to Number"),0}}c(G,"currencyToNumber");function p(e,r){let t=e;return typeof t=="number"&&(t=t.toLocaleString("pt-BR",{style:"decimal"})),g(t,{validate:!0,...r})}c(p,"getInitialCurrencyValue");var M=b(T).withConfig({componentId:"sc-1xhba8m-0"})(["position:absolute;right:1em;align-self:center;pointer-events:none;color:var(--icon-color);z-index:1;"]),P=b(v).withConfig({componentId:"sc-1xhba8m-1"})(["","{border-bottom-left-radius:0;border-bottom-right-radius:0;}","{border-top-left-radius:0;border-top-right-radius:0;}"],N,w);import{jsx as y,jsxs as q}from"react/jsx-runtime";var W=H(({onChange:e,value:r,decimal:t=",",thousand:i=".",prefix:n="R$",suffix:m,options:l,optionValue:f,onOptionChange:u,optionsLabel:R="Percent of balance",...z},D)=>{let[x,d]=U(()=>r?p(r,{decimal:t,thousand:i,prefix:n}):"");V(()=>{d(o=>{let s=r?p(r,{decimal:t,thousand:i,prefix:n}):"";return s!==o?s:o})},[r,t,i,n]);let S=A(()=>F(o=>e==null?void 0:e(o),250),[e]),I=c((o,s)=>{var h;let $=g((h=o.target.value)!=null?h:"",{validate:s,decimal:t,thousand:i,prefix:n});d($),S($)},"handleChange"),L=c(()=>{d(""),S("")},"resetValues"),O=n?`${n} ${x}`:x,C=y(k,{...z,...m&&{icon:y(M,{fontSize:"xs",fontWeight:"bold","data-testid":"input-currency-suffix",children:m})},ref:D,reset:L,value:O,onChange:I,onBlur:o=>I(o,!0)});return l!=null&&l.length?q(P,{flexDirection:"column",width:"100%",children:[C,y(E,{size:"small",label:R,options:l,value:f!=null?f:"",onChange:o=>u==null?void 0:u(o)})]}):C});W.displayName="InputCurrency";export{g as a,G as b,p as c,W as d};
@@ -1 +0,0 @@
1
- import{a as B,b as K,c as N}from"./chunk-IMS5TWF3.esm.js";import{a as A}from"./chunk-MNSZ72SE.esm.js";import{a as x,b as F}from"./chunk-VQK2V46Q.esm.js";import{b as D}from"./chunk-2V52IYQV.esm.js";import{qa as V}from"./chunk-CLOAQN2O.esm.js";import{f as E}from"./chunk-FVTAFMZS.esm.js";import{a as _}from"./chunk-P3SIJHYM.esm.js";import{f as W}from"./chunk-HSKYQ6VP.esm.js";import{a as G}from"./chunk-BE2JDTVA.esm.js";import{c as O}from"./chunk-KZTG5TDM.esm.js";import{a as H,e as P}from"./chunk-JSVL6DGF.esm.js";import{g as k}from"./chunk-UGIYAS67.esm.js";import{a as L}from"./chunk-2C4RPPWG.esm.js";import{a as h}from"./chunk-S3XZBMR2.esm.js";import{a as u}from"./chunk-I6XZCSTD.esm.js";import{a as R}from"./chunk-J6F4PMW4.esm.js";import{c as S}from"./chunk-G5Z7USXC.esm.js";import{b as M,g as c}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var so=M(["width:",";"],K);function po({size:o}){var n;let e=(n=B[o!=null?o:"base"])!=null?n:B.base;return M(["max-width:",";min-width:min(",",100%);"],e.max,e.min)}a(po,"modalSize");function fo({variant:o,theme:e}){let n=e.colors[o];return M(["--baseColor:",";--lightColor:",";--actionColor:",";"],n.base,n.light,n.action)}a(fo,"modalVariantColor");var Q=c(u).attrs({p:"large",borderRadius:"md",bgColor:"surface.overlay"}).withConfig({componentId:"sc-8jjm43-0"})(["",";",";","{",";}"],so,fo,({theme:o})=>o.breakpoints.up("sm"),po),U=c(h).withConfig({componentId:"sc-8jjm43-1"})(["max-height:",";min-height:0;"],N),X=c(h).withConfig({componentId:"sc-8jjm43-2"})(["& ","{flex:1;}& ","{padding:",";color:var(--baseColor);&:only-child{margin-left:auto;}}& ",":active{color:var(--actionColor);background-color:var(--lightColor);}& ",":hover{background-color:var(--lightColor);}"],H,x,({theme:o})=>o.spacing("micro"),x,x),Y=c(u).withConfig({componentId:"sc-8jjm43-3"})(["flex:1;display:flex;min-width:0;min-height:0;"]),Z=c(u).attrs({borderRadius:"circular"}).withConfig({componentId:"sc-8jjm43-4"})(["display:flex;background-color:var(--lightColor);& svg{color:var(--baseColor);width:1.25rem;height:1.25rem;g{fill:var(--baseColor);}}"]),$=c(u).withConfig({componentId:"sc-8jjm43-5"})(["z-index:",";display:flex;justify-content:center;align-items:center;position:fixed;inset:0;html:has(&){overflow:hidden;}"],({theme:o})=>k(o).modal),q=c(u).withConfig({componentId:"sc-8jjm43-6"})(["opacity:0.8;will-change:opacity;"]);import b,{cloneElement as uo,isValidElement as go,useEffect as ho,useRef as Co,useState as yo}from"react";import{createPortal as Mo}from"react-dom";import{Fragment as vo,jsx as r,jsxs as C}from"react/jsx-runtime";var z=a(({isOpen:o,onDismiss:e,...n})=>{if(!o&&!e)throw new Error('You must provide "isOpen" and "onDismiss" if not using "trigger" prop.');let[l,m]=yo(!1),i=Co(null),{mounted:t,state:d,ref:s}=O(o!=null?o:!1);return ho(()=>{m(!0)},[]),_(i,{active:!!(o&&l&&t),onEscape:e}),!l||!S?null:Mo(t?C($,{"data-testid":"modal-container",children:[r(q,{absoluteFill:!0,bgColor:"surface.scrim","data-testid":"modal-overlay",onClick:e,motion:"fade","data-state":d}),r(bo,{ref:f=>{i.current=f,s(f)},motionState:d,onDismiss:e,...n})]}):null,S)},"ModalBaseComponent"),xo=a(({defaultOpen:o,trigger:e,isOpen:n,onDismiss:l,onModalOpen:m,...i})=>{let{active:t,disable:d,enable:s,toggle:f}=G(o,{onActive:m});return(n||l)&&R.warn('"isOpen" and "onDismiss" has no effect while using "trigger" prop'),C(vo,{children:[a(()=>{let p=null;if(typeof e=="function"&&(p=e({isOpen:t,open:s})),go(e)&&(p=uo(e,{onClick:f})),p===null)throw new Error('"trigger" prop is not a valid element');return p},"renderTrigger")(),r(z,{isOpen:t,onDismiss:d,...i})]})},"ModalTriggerVariant"),bo=b.forwardRef(a(function({noCloseButton:e,primaryButton:n,secondaryButton:l,primaryText:m,secondaryText:i,onDismiss:t,primaryAction:d,secondaryAction:s,children:f,tagline:v,variant:p,footer:w,title:y,size:oo,icon:j,motionState:eo,closeLabel:to="Fechar",role:ro="dialog","aria-label":no,"aria-labelledby":ao},lo){let{isMobile:I}=W(),T=b.useId(),io=a(()=>{d({close:t})},"handlePrimary"),co=a(()=>{s({close:t})},"handleSecondary"),mo=a(()=>{let g={onClick:io,fullWidth:w==="full"||I,"data-testid":"modal-confirm-button"};return n?b.cloneElement(n,g):r(E,{color:p,...g,children:m})},"renderPrimaryButton");return r(Q,{ref:lo,role:ro,"aria-modal":"true","aria-labelledby":y?T:ao,"aria-label":y?void 0:no,tabIndex:-1,size:oo,variant:p,motion:"sheet","data-state":eo,children:C(U,{gap:"medium",children:[C(X,{gap:"xs",children:[r(L,{opener:j&&r(Z,{justifyContent:"center",alignItems:"center",p:"micro",children:j}),closer:!e&&r(F,{onClick:t,"data-testid":"modal-close-button","aria-label":to,icon:r(D,{icon:V}),variant:"linked",color:"secondary",size:"large",alignSelf:"start"}),children:y&&r(P,{id:T,variant:"h4",area:"title",color:"ink.primary",text:y})}),v&&r(P,{variant:"meta",color:"secondary.dark",area:"tagline",children:v})]}),r(Y,{py:"medium",children:r(A,{overscroll:"contain",bleed:"large",children:f})}),(d||s)&&C(h,{flexDirection:I?"column-reverse":"row",justifyContent:w==="expanded"?"between":"end",gap:"medium",children:[s&&a(()=>{if(w==="full")return null;let g={onClick:co,fullWidth:I,"data-testid":"modal-cancel-button"};return typeof l=="function"?l({close:a(()=>t==null?void 0:t(),"close")}):l?b.cloneElement(l,g):r(E,{variant:"outlined",color:"secondary",...g,children:i})},"renderSecondaryButton")(),d&&mo()]})]})})},"ModalDialog")),J=a(({noCloseButton:o=!1,secondaryText:e="Cancelar",primaryText:n="Confirmar",variant:l="primary",footer:m="right",...i})=>{let t={noCloseButton:o,secondaryText:e,primaryText:n,variant:l,footer:m,...i};return t!=null&&t.trigger?r(xo,{...t}):r(z,{...t})},"ModalComponent");J.displayName="Modal";export{Q as a,U as b,X as c,Y as d,Z as e,$ as f,q as g,J as h};
@@ -1 +0,0 @@
1
- import{a as S}from"./chunk-OAMAE3G7.esm.js";import{_ as R,r as P}from"./chunk-CLOAQN2O.esm.js";import{c as k}from"./chunk-DKSFPJ4D.esm.js";import{e as T}from"./chunk-YP7EK4TW.esm.js";import{a as w}from"./chunk-JSVL6DGF.esm.js";import{b as C}from"./chunk-SAPHWVC7.esm.js";import{a as g}from"./chunk-I6XZCSTD.esm.js";import{b as c,h as b,k as v}from"./chunk-R2QEO3KP.esm.js";import{b as a,g as i}from"./chunk-AXUWC2WH.esm.js";import{a as d}from"./chunk-GZONWSRB.esm.js";import{forwardRef as Q}from"react";var z=v(b),G=C().accordion,l=d(o=>{var n,e;return(e=(n=o.component)==null?void 0:n.accordion)!=null?e:G},"tier"),q=["bgColor","borderColor","borderRadius","borderWidth","borderPosition"],I=d((o,n)=>{let e={...l(o).surface};for(let r of q)n[r]!==void 0&&(e[r]=n[r]);return e},"surfaceAttrs"),$=i(g).attrs(({theme:o,$variant:n,...e})=>n==="divided"?I(o,e):{}).withConfig({componentId:"sc-wxmnzx-0"})(["display:flex;flex-direction:column;min-width:0;",""],({$variant:o,theme:n})=>o==="divided"?a(["overflow:hidden;"]):a(["gap:",";"],n.spacing("small"))),E=i(g).attrs(({theme:o,$variant:n,$surface:e={}})=>n==="separated"?{...I(o,e),overflow:"hidden"}:{}).withConfig({componentId:"sc-wxmnzx-1"})(["display:block;min-width:0;"," ",""],({$variant:o,theme:n})=>o==="divided"&&a(["& + &{border-top:"," solid ",";}"],n.border.borderWidth.thin,n.colors.edge.hairline),({theme:o})=>{var r;let n=(r=o.motion)!=null?r:z,e=d(p=>`${c(n,p,"duration")} ${c(n,p,"easing")}`,"timing");return a(["&::details-content{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows ",",opacity ",",content-visibility "," allow-discrete;}&[open]::details-content{grid-template-rows:1fr;opacity:1;transition-duration:",";transition-timing-function:",";}"],e("exit"),e("exit"),e("exit"),c(n,"emphasis","duration"),c(n,"emphasis","easing"))}),D=i("summary").withConfig({componentId:"sc-wxmnzx-2"})(["display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:",";row-gap:",";list-style:none;cursor:pointer;min-block-size:2.75rem;box-sizing:border-box;padding:",";&::-webkit-details-marker{display:none;}&::marker{content:'';}&:hover{background:",";}&:active{background:",";}&:focus-visible{","}"],({theme:o})=>o.spacing("small"),({theme:o})=>o.spacing("micro"),({theme:o})=>o.spacing("small","medium"),({theme:o})=>{var n;return(n=o.colors.wash)==null?void 0:n.hover},({theme:o})=>{var n;return(n=o.colors.wash)==null?void 0:n.pressed},({theme:o})=>k(o,{offset:"-2px"})),B=i(w).attrs(({theme:o})=>{let{fontSize:n,fontWeight:e,color:r}=l(o).title;return{fontSize:n,fontWeight:e,color:r,lineHeight:"regular"}}).withConfig({componentId:"sc-wxmnzx-3"})(["grid-column:1;"]),L=i(w).attrs(({theme:o})=>{let{fontSize:n,color:e}=l(o).description;return{fontSize:n,color:e,lineHeight:"regular"}}).withConfig({componentId:"sc-wxmnzx-4"})(["grid-column:1;"]),J={chevron:"180deg",plus:"45deg"},W=i(g).attrs(({theme:o})=>({as:"span",color:l(o).indicator.color,fontSize:l(o).title.fontSize,"aria-hidden":!0})).withConfig({componentId:"sc-wxmnzx-5"})(["grid-column:2;grid-row:1 / -1;display:inline-flex;line-height:0;transition:transform ",";& svg{fill:currentColor;stroke:currentColor;stroke-width:0;}details[open] > summary > &{transform:rotate(",");}"],({theme:o})=>{var e;let n=(e=o.motion)!=null?e:z;return`${c(n,"emphasis","duration")} ${c(n,"emphasis","easing")}`},({$indicator:o})=>J[o]),N=i(S).withConfig({componentId:"sc-wxmnzx-6"})(["min-height:0;overflow:hidden;"]),H=i(S).withConfig({componentId:"sc-wxmnzx-7"})(["padding:",";"],({theme:o})=>o.spacing("zero","medium","medium"));import{jsx as s,jsxs as U}from"react/jsx-runtime";var X={chevron:P,plus:R},Z=["bgColor","borderColor","borderRadius","borderWidth","borderPosition"],M="data-apollion-accordion-seen",oo=Q(({items:o,type:n="multiple",name:e,defaultValue:r,headingLevel:p=3,indicator:A="chevron",variant:h="divided",onItemToggle:m,..._},F)=>{let O=new Set(r===void 0?[]:Array.isArray(r)?r:[r]),K=n==="single"?e:void 0,Y=`h${p}`,f={..._},x={};if(h==="separated")for(let t of Z)f[t]!==void 0&&(x[t]=f[t],delete f[t]);let V=d((t,u)=>j=>{let y=j.currentTarget;!y.hasAttribute(M)&&(y.setAttribute(M,""),y.open===u)||m==null||m(t,y.open)},"handleToggle");return s($,{ref:F,$variant:h,...f,children:o.map(t=>{let u=O.has(t.value);return U(E,{as:"details",$variant:h,$surface:x,name:K,open:u||void 0,onToggle:m?V(t.value,u):void 0,children:[U(D,{children:[typeof t.title=="string"?s(B,{as:Y,children:t.title}):t.title,typeof t.description=="string"?s(L,{children:t.description}):t.description,s(W,{$indicator:A,children:s(T,{...X[A],size:"1em",fill:"currentColor"})})]}),s(N,{children:s(H,{children:t.content})})]},t.value)})})});oo.displayName="Accordion";export{oo as a};
@@ -1 +0,0 @@
1
- import{d as C}from"./chunk-FVTAFMZS.esm.js";import{a as B}from"./chunk-JSVL6DGF.esm.js";import{b as p}from"./chunk-IK5Z5C2R.esm.js";import{b as g}from"./chunk-3BR6IVVX.esm.js";import{b as x}from"./chunk-QYL6LECA.esm.js";import{b as y}from"./chunk-WKXEPDPZ.esm.js";import{l as u}from"./chunk-KO5FSKVM.esm.js";import{b as h,g as L}from"./chunk-AXUWC2WH.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";import{forwardRef as F}from"react";var R=5,v=c(t=>{let e=g(t),n=e(t);if(!(n!=null&&n.color)||t.contrast)return n;let a=y(t.theme,r=>{var i,s;let o=(i=e({...t,theme:r}))==null?void 0:i.color;return o&&u(o,(s=r.colors.baseLight)!=null?s:"#FFFFFF",R)});return{...n,color:a}},"readableLinkColor"),b=L.a.withConfig({componentId:"sc-jsghq-0"})(["",";",";",";",""],v,x({cursor:"pointer"}),p({textDecoration:"underline",fontFamily:"main"}),({textDecoration:t})=>t==="none"&&h(["&:hover,&:focus-visible{text-decoration:underline;}"])),E=L.a.attrs({"data-ds-link-button":""}).withConfig({componentId:"sc-jsghq-1"})(["",";",";text-decoration:none;",""],C,p({lineHeight:"tight"}),({variant:t})=>t==="linked"&&"padding: 0;");import{jsx as k}from"react/jsx-runtime";var I=c(t=>t?/^(https?:)?\/\//i.test(t)||/^(mailto|tel|sms):/i.test(t):!1,"isExternalHref"),w=["noopener","noreferrer"],S=c(t=>{let e=(t!=null?t:"").toLowerCase().split(/\s+/).filter(Boolean);return[...new Set([...w,...e])].join(" ")},"mergeRel"),A={target:"_blank"},H=F(({as:t,text:e,children:n,variant:a="contained",color:r="primary",href:o,rel:i,...s},l)=>{let f=I(o),m=f?"a":t,T=f?{...A,rel:S(i)}:{rel:i};return k(E,{...s,...T,as:m,variant:a,color:r,href:o,ref:l,children:k(B,{fontWeight:a==="linked"?void 0:"bold",lineHeight:"tight",children:n||e})})}),d=F(({as:t,text:e,children:n,color:a="primary",href:r,rel:o,...i},s)=>{let l=I(r),f=l?"a":t,m=l?{...A,rel:S(o)}:{rel:o};return k(b,{...i,...m,as:f,color:a,href:r,ref:s,children:n||e})});d.Button=H;d.displayName="Link";export{b as a,E as b,d as c};
@@ -1 +0,0 @@
1
- import{a as l}from"./chunk-5YWORBNJ.esm.js";import{b as I}from"./chunk-JLQDS5TS.esm.js";import{a as s}from"./chunk-7JYI2AQK.esm.js";import{a as g}from"./chunk-JWNC52FT.esm.js";import{b as f}from"./chunk-T3ANVSKR.esm.js";import{b as c}from"./chunk-6G22RNUO.esm.js";import{g as i}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var C=r(({cover:e,height:t,width:o})=>e&&{width:o!=null?o:"100%",height:t!=null?t:"100%",objectFit:"cover"},"imageCover"),d=r(e=>e?c(e):"fit-content","getSizeValue"),p=i("img").withConfig({shouldForwardProp:f}).withConfig({componentId:"sc-swtbvc-0"})(["display:block;width:",";height:",";",";&[src='']{visibility:hidden;position:absolute;}",""],({full:e,width:t})=>e?"100%":d(t),({height:e})=>d(e),C,g({}));import L,{forwardRef as h,useState as F}from"react";import{jsx as n,jsxs as z}from"react/jsx-runtime";var u=h(({src:e,...t},o)=>n(p,{src:e,ref:o,...t})),x=r(({width:e=60,height:t=60})=>n(l,{height:t,width:e,children:n(I,{width:e,height:t})}),"ImageDefaultContentLoader");function R(e){return new Promise((t,o)=>{let a=new Image;a.onload=t,a.onerror=o,a.src=e})}r(R,"loadImage");var y=r(({src:e,fallback:t,threshold:o,...a})=>{let[m,S]=F(),[w]=s({threshold:o},()=>{R(e).then(()=>S(e)).catch(()=>console.warn(`[Failed]: error on loading image: ${e}`))}),b=typeof m=="undefined";return z(L.Fragment,{children:[b?t||n(x,{...a}):null,n(u,{src:m||"",ref:w,...a})]})},"ImageLazy");y.displayName="ImageLazy";export{p as a,u as b,y as c};
@@ -1 +0,0 @@
1
- import{a as o,c as t}from"./chunk-I6XZCSTD.esm.js";import{g as r}from"./chunk-AXUWC2WH.esm.js";var p=r(o).attrs(({flat:a,display:e,...f})=>({p:"medium",borderRadius:"micro",...a?{}:{bgColor:"surface.paper",deep:2},...f,display:e!=null?e:"flex"})).withConfig({componentId:"sc-5vfy6v-0"})(["",""],t("flex"));export{p as a};
@@ -1 +0,0 @@
1
- import{e as k}from"./chunk-YP7EK4TW.esm.js";import{a as d}from"./chunk-I6XZCSTD.esm.js";import{g as c}from"./chunk-AXUWC2WH.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";import{forwardRef as C}from"react";function m(r,o,e){let n=Math.min(...r),a=Math.max(...r)-n||1,s=(o-1.75*2)/(r.length-1);return r.map((i,f)=>{let x=1.75+f*s,g=1.75+(1-(i-n)/a)*(e-1.75*2);return`${f?"L":"M"}${x.toFixed(1)} ${g.toFixed(1)}`}).join(" ")}p(m,"sparklinePath");var u=c(d).withConfig({componentId:"sc-tll6c3-0"})(["display:inline-flex;vertical-align:middle;flex:none;"]);import{jsx as S}from"react/jsx-runtime";var R=p((r,o,e)=>{if(o)return o;let t=r[r.length-1]-r[0];return e===void 0||t===0?"ink.secondary":t>0===e?"success":"danger"},"lineColor"),b=C(({values:r,label:o,color:e,higherIsBetter:t,width:n=64,height:l=20,...a},s)=>{let i=r.filter(Number.isFinite);return i.length<2?null:S(u,{as:"span",color:R(i,e,t),...a,ref:s,children:S(k,{viewBox:`0 0 ${n} ${l}`,dimensions:{width:n,height:l},role:"img","aria-label":o,fill:"none",paths:[{d:m(i,n,l),fill:"none",stroke:"currentColor",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round"}]})})});b.displayName="Sparkline";export{m as a,b};
@@ -1 +0,0 @@
1
- import{a as o}from"./chunk-GZONWSRB.esm.js";import v from"react";var M="7.10.0",S="https://apollion.com.br/_t",A=.01,m="apollion-telemetry-sampled",I=64,Y=1e4,B=2048,C=new Set(["__proto__","prototype","constructor","toString","valueOf","hasOwnProperty"]),E=new Map,f=new Map,l=!1,u=!1,p=null,r=null,w=o(e=>{let n=e.replace(/[^A-Za-z0-9_.-]/g,"").slice(0,48);return n&&!C.has(n)?n:""},"cleanId"),N=o(e=>e.startsWith("https://")||e.startsWith("/"),"isValidEndpoint"),L=o((e,n)=>{var s;if(!l||u||!n)return;let t=w(n);if(!t)return;let i=(s=e.get(t))!=null?s:0;i===0&&e.size>=I||i<Y&&e.set(t,i+1)},"bump"),D=o(()=>l,"isTelemetrySampled"),T=o(e=>L(E,e),"recordComponentMount"),R=o((e,n)=>L(f,e),"recordComponentError"),x=o(()=>{let e=r!=null&&r.app?w(r.app):void 0;return{v:M,...e?{app:e}:{},c:Object.fromEntries(E),e:Object.fromEntries(f)}},"getTelemetrySnapshot"),b=o(e=>Object.entries(e).map(([n,t])=>`${n}:${t}`).join(","),"encodeMap"),U=o(e=>{try{if(typeof window!="undefined"&&typeof window.fetch=="function"){window.fetch(e,{method:"GET",mode:"no-cors",credentials:"omit",cache:"no-store",keepalive:!0}).catch(()=>{});return}typeof navigator!="undefined"&&typeof navigator.sendBeacon=="function"&&navigator.sendBeacon(e)}catch(n){}},"transmitBeacon");function y(){var t,i;if(!l||u||!E.size&&!f.size)return null;u=!0;let e=x();try{(t=r==null?void 0:r.onReport)==null||t.call(r,e)}catch(s){}let n=(i=r==null?void 0:r.endpoint)!=null?i:S;if(n&&N(n)){let s=b(e.c),a=b(e.e),d=[`v=${encodeURIComponent(e.v)}`,e.app?`app=${encodeURIComponent(e.app)}`:"",s?`c=${encodeURIComponent(s)}`:"",a?`e=${encodeURIComponent(a)}`:""].filter(Boolean).join("&").slice(0,B);U(`${n}${n.includes("?")?"&":"?"}${d}`)}return e}o(y,"flushTelemetry");function O(){var e;E.clear(),f.clear(),l=!1,u=!1,p=null,r=null;try{typeof window!="undefined"&&((e=window.sessionStorage)==null||e.removeItem(m))}catch(n){}}o(O,"disableTelemetry");function F(e){var a,d,_;if(!(e!=null&&e.enabled)||typeof window=="undefined")return O(),()=>{};let n=Math.max(0,Math.min(1,(a=e.sampleRate)!=null?a:A)),t;if(n>=1)t=!0;else if(n<=0)t=!1;else try{let c=(d=window.sessionStorage)==null?void 0:d.getItem(m);c==="1"||c==="0"?t=c==="1":(t=Math.random()<n,(_=window.sessionStorage)==null||_.setItem(m,t?"1":"0"))}catch(c){p===null&&(p=Math.random()<n),t=p}if(l=t,r=t?e:null,!t)return()=>{};let i=o(()=>{y()},"onHide"),s=o(()=>{typeof document!="undefined"&&document.visibilityState==="hidden"&&y()},"onVis");return window.addEventListener("pagehide",i),typeof document!="undefined"&&document.addEventListener("visibilitychange",s),()=>{window.removeEventListener("pagehide",i),typeof document!="undefined"&&document.removeEventListener("visibilitychange",s),l=!1,r=null}}o(F,"configureTelemetry");function $(e){return v.useEffect(()=>{e&&T(e)},[e]),{isSampled:l,recordMount:T,recordError:R}}o($,"useTelemetry");var g=class g extends v.Component{constructor(){super(...arguments);this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){R(this.props.component,t==null?void 0:t.name)}render(){var t,i;return this.state.hasError?(t=this.props.fallback)!=null?t:null:(i=this.props.children)!=null?i:null}};o(g,"ApollionTelemetryBoundary");var h=g;export{M as a,S as b,A as c,m as d,D as e,T as f,R as g,x as h,y as i,O as j,F as k,$ as l,h as m};
@@ -1,4 +0,0 @@
1
- import{e as s}from"./chunk-FVTAFMZS.esm.js";import{g as m}from"./chunk-I47BDQKT.esm.js";import{d as t}from"./chunk-RWLJNXLX.esm.js";import{b as r}from"./chunk-IK5Z5C2R.esm.js";import{b as e}from"./chunk-VCMHX5VK.esm.js";import{g as i}from"./chunk-AXUWC2WH.esm.js";import{a as u}from"./chunk-GZONWSRB.esm.js";import{forwardRef as z}from"react";function b({size:o}){switch(o){case"extraSmall":return[e({p:"micro"}),t({borderRadius:"micro"}),r({fontSize:"micro"})];case"small":return[e({p:"xs"}),t({borderRadius:"circular"}),r({fontSize:"xs"})];case"large":return[e({p:"medium"}),t({borderRadius:"circular"}),r({fontSize:"medium"})];default:return[e({p:"small"}),t({borderRadius:"circular"}),r({fontSize:"small"})]}}u(b,"iconButtonSize");var x=i(s).withConfig({componentId:"sc-1uzpf1p-0"})(b),f=i(x).withConfig({componentId:"sc-1uzpf1p-1"})(["",""],({variant:o,theme:n})=>o==="linked"&&`
2
- &&:hover, &&:focus-visible { text-decoration: none; background: ${n.colors.wash.hover}; }
3
- &&:active { text-decoration: none; background: ${n.colors.wash.pressed}; }
4
- `);import{jsx as p}from"react/jsx-runtime";var l=z(({color:o="primary",size:n="medium",variant:d="contained",icon:I=null,label:B,isLoading:a,loadingComponent:c,...S},y)=>p(f,{"aria-label":B,...S,...a&&{"aria-busy":!0,onClick:void 0},color:o,size:n,variant:d,as:"button",ref:y,children:a?c!=null?c:p(m,{"data-testid":"icon-spinner"}):I}));l.displayName="IconButton";export{f as a,l as b};
@@ -1 +0,0 @@
1
- import{c as r,d as n,e as m,f as T,g as b,i as p}from"./chunk-NIUGF5KU.esm.js";import{a as o}from"./chunk-J6F4PMW4.esm.js";import{b as s}from"./chunk-G5Z7USXC.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import{forwardRef as _,useEffect as I,useMemo as y}from"react";import{jsx as x}from"react/jsx-runtime";var i="apl_deprecated_NavTabs",S=t(()=>{let a=s;!a||a[i]||(a[i]=!0,o.warn('[NavTabs] is deprecated and will be removed in the next major \u2014 use <Tabs mode="nav"> from @apollion-dsi/core/data-display/tabs (items: `label` \u2192 `tabTitle`).'))},"warnDeprecatedOnce"),N=_(({items:a,color:e="primary",onChange:L,...v},f)=>{I(S,[]);let l=y(()=>a.map(({label:d,...c})=>({...c,tabTitle:d,color:e})),[a,e]);return x(p,{...v,mode:"nav",tabs:l,ref:f})});N.displayName="NavTabs";var h=r,G=n,V=m,D=T,K=b;export{N as a,h as b,G as c,V as d,D as e,K as f};
@@ -1 +0,0 @@
1
- import{a as r}from"./chunk-JSVL6DGF.esm.js";import{a as f}from"./chunk-I6XZCSTD.esm.js";import{g as n}from"./chunk-AXUWC2WH.esm.js";import{forwardRef as I}from"react";var m=n(f).withConfig({componentId:"sc-1x3so2v-0"})(["display:inline-flex;font-family:",";& > svg,& > [class*='icon']{flex-shrink:0;}"],({theme:e})=>e.font.fontFamily.main);import{jsx as T,jsxs as y}from"react/jsx-runtime";var a=I(({icon:e,text:s,children:t,iconPosition:o="left",align:x="center",gap:p="xs",as:c="span",...i},l)=>y(m,{as:c,flexDirection:"row",alignItems:x,gap:p,...i,ref:l,children:[o==="left"&&e,T(r,{as:"span",children:t!=null?t:s}),o==="right"&&e]}));a.displayName="IconText";export{m as a,a as b};
@@ -1 +0,0 @@
1
- import{j as T}from"./chunk-AOMCARXY.esm.js";import{a as w}from"./chunk-BE2JDTVA.esm.js";import{c as D}from"./chunk-KZTG5TDM.esm.js";import{d as p}from"./chunk-6G22RNUO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import W,{lazy as B,Suspense as I,useCallback as O,useEffect as h,useState as C}from"react";import{Fragment as G,jsx as c,jsxs as J}from"react/jsx-runtime";var q=B(()=>import("./Dropdown.floating-QJAJIFQB.esm.js")),P=t(({children:s,options:e,content:o,hoverable:m=!1,position:b="left",width:i,full:d,motion:y="scale",distance:v=4})=>{if(!e&&!o)throw new Error('Dropdown needs a "content" or an "options" prop.');let f=p(s),g=e?"menu":"dialog",[n,x]=C(null),[S,k]=C(),{active:r,enable:u,disable:R,toggle:E}=w(!1),{mounted:F,state:L,ref:M}=D(r),N=O(a=>x(a),[]);h(()=>{d&&n&&k(n.getBoundingClientRect().width)},[d,n]);let H=t(()=>{let a=f?s({isOpen:r,open:u,toggle:E}):s,l={ref:N,"aria-haspopup":g,"aria-expanded":r};return f||(l.onClick=E),m&&(l.onPointerEnter=A=>{A.pointerType==="mouse"&&u()}),W.cloneElement(a,l)},"renderTrigger"),z=t(()=>Array.isArray(e)?c(T,{gap:"zero",color:"primary.action",exclusive:!0,content:e}):p(o)?o({close:R}):o,"renderMenuContent");return J(G,{children:[H(),F&&c(I,{fallback:null,children:c(q,{referenceEl:n,open:r,motionState:L,motionRef:M,onClose:R,position:b,hoverable:m,role:g,width:i!=null?i:S,motion:y,distance:v,children:z()})})]})},"DropdownComponent");P.displayName="Dropdown";export{P as a};
@@ -1,9 +0,0 @@
1
- import{f as s}from"./chunk-ZAOQD7HC.esm.js";import{b as l}from"./chunk-TLIKQFOT.esm.js";import{e as m}from"./chunk-R2QEO3KP.esm.js";import{c as i,h as n}from"./chunk-CRSMYEKV.esm.js";import{a}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var c="apollion.reset";function f(){return`
2
- @media (forced-colors: active) {
3
- :focus-visible {
4
- outline: 2px solid Highlight;
5
- outline-offset: 2px;
6
- }
7
- }
8
- `}r(f,"forcedColorsFocusCss");import{normalize as p}from"styled-normalize";import{jsx as d}from"react/jsx-runtime";var b=a(["@layer ","{"," *,*::before,*::after{box-sizing:inherit;}button,input,select,textarea{font:inherit;}}[hidden]{display:none;}html{font-size:100%;color-scheme:light;}html[","='dark']{color-scheme:dark;}"," html,body{margin:0;padding:0;box-sizing:border-box;background-color:",";color:",";font-family:",";","}"," "," ",";"],c,p,({$attribute:o=l})=>o,({$system:o,$attribute:e=l})=>o?`@media (prefers-color-scheme: dark) { html:not([${e}]) { color-scheme: dark; } }`:"",({theme:o})=>{var e,t;return(t=(e=o.colors.surface)==null?void 0:e.canvas)!=null?t:o.colors.baseLight},({theme:o})=>{var e,t;return(t=(e=o.colors.ink)==null?void 0:e.primary)!=null?t:o.colors.baseDark},({theme:o})=>o.font.fontFamily.main,({theme:o})=>Object.entries(n(o,i)).map(([e,t])=>`${e}: ${t};`).join(`
9
- `),({theme:o})=>o.motion?m(o.motion):"",f(),({extend:o})=>o);function u(o){let e=s();return d(b,{...o,$attribute:e==null?void 0:e.attribute,$system:(e==null?void 0:e.mode)==="system"})}r(u,"GlobalStyle");export{b as a,u as b};
@@ -1 +0,0 @@
1
- import{c as t,d as n}from"./chunk-TCA5DSF6.esm.js";import{forwardRef as S}from"react";import{jsx as o}from"react/jsx-runtime";var u=S(({status:e,label:a,size:r="medium",announce:f=!1,...s},m)=>f?o(t,{...s,as:"span",role:"status",$status:e,$size:r,ref:m,children:o(n,{children:a})}):o(t,{...s,as:"span",role:"img","aria-label":a,$status:e,$size:r,ref:m}));u.displayName="StatusDot";export{u as a};
@@ -1,4 +0,0 @@
1
- import{a as u}from"./chunk-JWNC52FT.esm.js";import{b as p,c as f}from"./chunk-T3ANVSKR.esm.js";import{g}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var D=o(({size:e,dimensions:r})=>{if(e)return{width:e,height:e};if(r){let{width:t,height:n,ratio:i}=r;if(n)return{width:t,height:n};if(i)return typeof t=="number"?{width:t,height:t/i}:t.endsWith("px")?{width:t,height:`calc(${t} / ${i})`}:{width:t,height:"auto"}}return{width:"1em",height:"1em"}},"getComputedSize"),l=o(e=>typeof e=="number"&&Number.isFinite(e)?e:void 0,"toNativeLength"),b=o(({size:e,dimensions:r})=>{if(e!==void 0){let t=l(e);return t===void 0?{}:{width:t,height:t}}if(r){let t=l(r.width);if(t===void 0)return{};if(r.height!==void 0){let n=l(r.height);return n===void 0?{}:{width:t,height:n}}if(r.ratio)return{width:t,height:t/r.ratio}}return{}},"getNativeDims"),c=g("svg").attrs(e=>b(e)).withConfig({shouldForwardProp:p}).withConfig({componentId:"sc-16f7fwn-0"})([""," ",""],e=>({...D(e)}),u({})),x=o(e=>`transform: ${e};`,"getTransformProps"),s=f("g").withConfig({componentId:"apollion-svg-g"})`
2
- fill: ${({fill:e,$error:r,theme:t})=>r?t.colors.getColor(t.colors.danger):e||t.colors.getColor(t.colors.main)};
3
- ${({transform:e})=>e&&x(e)}
4
- `,d=f("path").withConfig({componentId:"apollion-svg-path"})``;import{jsx as m,jsxs as G}from"react/jsx-runtime";import{createElement as C}from"react";var S=o(({transform:e,fill:r,paths:t,fillAll:n,error:i,viewBox:y,title:a,...v})=>G(c,{viewBox:y,...v,children:[a&&m("title",{children:a}),m(s,{transform:e,fill:r,$error:!!i,children:o(()=>t&&t.map(h=>{let{fill:w,...P}=h,I=n?void 0:w;return C(d,{...P,key:h.d,fill:I})}),"RenderPaths")()})]}),"SvgComponent");S.displayName="Svg";export{b as a,c as b,s as c,d,S as e};
@@ -1 +0,0 @@
1
- import{a as z}from"./chunk-7SRYVIHL.esm.js";import{d as v}from"./chunk-JTXT4BH4.esm.js";import{f as C}from"./chunk-FVTAFMZS.esm.js";import{a as w}from"./chunk-S3XZBMR2.esm.js";import{f as T,m as E}from"./chunk-6G22RNUO.esm.js";import{g as c}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";var g=c(w).attrs({as:"form",width:"100%"}).withConfig({componentId:"sc-1vzg0wj-0"})([""]),j=c(v).attrs({as:"form",width:"100%"}).withConfig({componentId:"sc-1vzg0wj-1"})([""]);import{z as d,ZodError as P}from"zod";function B(e){var o;return(o=e==null?void 0:e.value)!=null?o:e}s(B,"normalizeValues");function Z(e,o,i){let r=E(B,e);i(r,o)}s(Z,"prepareSubmit");function k(e){let o=Object.keys(e).reduce((i,r)=>{var t;let l=(t=e[r].validation)!=null?t:d.unknown().optional();return{...i,[r]:l}},{});return d.object(o)}s(k,"getValidationSchema");function O(e,o){return{...Object.keys(e).reduce((r,l)=>{var p;let t=(p=e[l].inputProps)==null?void 0:p.type;return r[l]=t==="checkbox"||t==="radio"?!1:"",r},{}),...o}}s(O,"buildDefaultValues");var ue=s(e=>e,"newField");import{forwardRef as Q,useEffect as W,useImperativeHandle as X,useState as Y}from"react";import U from"fast-deep-equal";var y=U;import{Controller as L,useFieldArray as J,useForm as x,useFormContext as M}from"react-hook-form";import{zodResolver as b}from"@hookform/resolvers/zod";import{jsx as K,jsxs as re}from"react/jsx-runtime";import{createElement as ee}from"react";var _=s((e,o)=>{let{initialValues:i,children:r,submitLabel:l,fields:t,handleSubmit:p,conditionalFields:R,mode:u,medias:S,onError:f,...D}=e,q=k(t),m=x({defaultValues:O(t,i),resolver:b(q),mode:u!=null?u:"onSubmit"});X(o,()=>m);let F=m.watch(),a=m.formState.errors,[V,G]=Y(()=>a);W(()=>{f&&!y(V,a)&&(T(a)||f(a),G(a))},[V,a,f]);let N=S?j:g,A=m.handleSubmit(n=>Z(n,m,p)),H=s(()=>typeof r=="undefined"?K(C,{disabled:m.formState.isSubmitting,type:"submit",text:l||"Enviar",color:"primary",area:"button"}):typeof r=="function"?r(F):r,"renderChildren");return re(N,{medias:S,...D,onSubmit:A,children:[Object.keys(t).map(n=>{let h=ee(z,{...t[n],key:n,name:n,area:n,value:F[n],errors:a[n],setFieldValue:m.setValue}),I=R&&R[n];return I?I(F)?h:null:h}),H()]})},"FormInputComponent"),$=Q(_);export{g as a,j as b,B as c,Z as d,k as e,O as f,ue as g,$ as h};
@@ -1 +0,0 @@
1
- import{a as m}from"./chunk-LMFC47WU.esm.js";import{e as r}from"./chunk-JSVL6DGF.esm.js";import{a as i}from"./chunk-S3XZBMR2.esm.js";import{a as o}from"./chunk-I6XZCSTD.esm.js";import{g as p}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var a=p(o).withConfig({componentId:"sc-qi04g0-0"})(["display:flex;flex-direction:column;"]);import{jsx as t,jsxs as l}from"react/jsx-runtime";var d=n(({children:c,icon:f,title:x,description:s,...e})=>{let v=e.inverted?"ink.primary":"surface.paper";return t(m,{content:t(o,{p:"xs",children:l(a,{gap:"medium",maxWidth:400,color:v,children:[l(i,{flexDirection:"row",alignItems:"center",gap:"medium",children:[f,t(r,{variant:"h4",text:x,color:null})]}),t(r,{variant:"p",text:s,color:null})]})}),...e,children:c})},"Popover");d.displayName="Popover";export{d as a};
@@ -1 +0,0 @@
1
- import{a as O,c as U}from"./chunk-T4R2OTIU.esm.js";import{a as q}from"./chunk-LMFC47WU.esm.js";import{a as E}from"./chunk-3T2OY4KF.esm.js";import{c as v}from"./chunk-DKSFPJ4D.esm.js";import{e as x}from"./chunk-JSVL6DGF.esm.js";import{a as D}from"./chunk-S3XZBMR2.esm.js";import{a as k}from"./chunk-I6XZCSTD.esm.js";import{f as j,g as a}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";import{forwardRef as oo,useId as to}from"react";var I=a(D).withConfig({componentId:"sc-10ipxtd-0"})([""," width:100%;"],U),z=a(O).withConfig({componentId:"sc-10ipxtd-1"})(["margin-bottom:0;&:has(button:focus-visible){","}"],({theme:e})=>v(e,{tone:"ink"})),A=a(k).withConfig({componentId:"sc-10ipxtd-2"})(["position:absolute;top:0;bottom:0;background:var(--bg-progress);"]),G=a(k).withConfig({componentId:"sc-10ipxtd-3"})(["position:absolute;top:0;bottom:0;width:2px;background:var(--text-color);"]),J=a.button.withConfig({componentId:"sc-10ipxtd-4"})(["position:absolute;top:0;bottom:0;margin:0;padding:0;border:0;border-radius:0;appearance:none;font:inherit;cursor:help;background:var(--bg-progress);&:focus-visible{z-index:1;","}"],({theme:e})=>v(e,{tone:"ink",offset:"-2px"})),K=a.span.withConfig({componentId:"sc-10ipxtd-5"})(["",""],E),Q=a.span.withConfig({componentId:"sc-10ipxtd-6"})(["display:flex;flex-direction:column;gap:",";max-width:32ch;"],({theme:e})=>e.spacing("micro"));import{jsx as i,jsxs as y}from"react/jsx-runtime";var eo=s(e=>e.toLocaleString("en-US"),"defaultFormat"),ro=s((e,r)=>`${(e/r*100).toFixed(1)}%`,"percent"),u=s(e=>Number.isFinite(e.value)?Math.max(0,e.value):0,"amount"),no=oo(({label:e,min:r=0,max:l,value:S,segments:f,shares:b,format:p=eo,ticks:g,color:F="primary",size:B="medium",border:N,...$},R)=>{let V=j(),H=to(),M=b!=null,T=M?b.reduce((o,n)=>o+u(n),0):0,m=M?Math.max(l!=null?l:r+T,r+T):l!=null?l:100,h=m-r,c=s(o=>h>0?Math.min(100,Math.max(0,(o-r)/h*100)):0,"pct"),C=!M&&S!=null,X=f!=null&&f.length?f:C?[{from:r,to:S}]:[],L=g==null?void 0:g.map((o,n)=>i(G,{"aria-hidden":"true",style:{left:`calc(${c(o.at)}% - 1px)`,...o.color&&{background:o.color}}},`${o.at}-${n}`));if(M){let o=h>0?h:1,n=r,Y=b.map(t=>{let d=n;return n+=u(t),{share:t,from:d,to:n}}),Z=`${b.map(t=>`${t.label} ${p(u(t))}`).join(", ")}. Total ${p(T)} of ${p(m)}.`,_=[$["aria-describedby"],H].filter(Boolean).join(" ");return y(I,{color:F,role:"group","aria-label":e,...$,"aria-describedby":_,ref:R,children:[i(K,{id:H,children:Z}),y(z,{size:B,border:N,children:[Y.map(({share:t,from:d,to:w})=>{var W;if(w<=d)return null;let P=ro(w-d,o);return i(q,{content:y(Q,{children:[i(x,{text:t.label,fontSize:"xs",fontWeight:"bold",color:"currentColor"}),i(x,{text:`${p(u(t))} \xB7 ${P} of ${p(m)}`,fontSize:"micro",fontFamily:"code",color:"currentColor"}),typeof t.description=="string"?i(x,{text:t.description,fontSize:"micro",color:"currentColor"}):t.description]}),children:i(J,{type:"button","data-share":t.id,"aria-label":`${t.label}: ${p(u(t))} (${P})`,style:{left:`${c(d)}%`,width:`${Math.max(c(w)-c(d),0)}%`,background:(W=V.colors(t.color))!=null?W:void 0}})},t.id)}),L]})]})}return i(I,{color:F,role:C?"meter":"img","aria-label":e,...C&&{"aria-valuemin":r,"aria-valuemax":m,"aria-valuenow":Math.min(m,Math.max(r,S))},...$,ref:R,children:y(z,{size:B,border:N,children:[X.map((o,n)=>i(A,{"aria-hidden":"true",style:{left:`${c(o.from)}%`,width:`${Math.max(c(o.to)-c(o.from),0)}%`,...o.color&&{background:o.color}}},`${o.from}-${o.to}-${n}`)),L]})})});no.displayName="Meter";export{no as a};
@@ -1 +0,0 @@
1
- import{a as Fe,b as Ge,d as Ve,e as Be,f as ge,g as Ue,h as Ze,i as H,m as Qe,p as Xe,q as $e}from"./chunk-TLIKQFOT.esm.js";import{a as U}from"./chunk-NYKFDMIM.esm.js";import{b as eo}from"./chunk-HAYP3N7C.esm.js";import{j as to,k as no}from"./chunk-UP5QKYFX.esm.js";import{a as we}from"./chunk-FLYTTTRD.esm.js";import{d as Ye,e as _e}from"./chunk-LCCVFIPZ.esm.js";import{a as De,b as Ce}from"./chunk-TG5BCBO4.esm.js";import{b as Oe,c as Le,e as g}from"./chunk-WB5XXCKL.esm.js";import{b as xe}from"./chunk-JOKVE3IX.esm.js";import{a as ze}from"./chunk-PFLBU7HG.esm.js";import{a as Ae}from"./chunk-XUZQE326.esm.js";import{a as ye}from"./chunk-3DUB5C4Z.esm.js";import{b as oo}from"./chunk-HVFI7FHR.esm.js";import{a as qe,b as He,c as je,d as Je,e as Ke,f as We}from"./chunk-UGIYAS67.esm.js";import{a as Re,b as ke}from"./chunk-SAPHWVC7.esm.js";import{b as Me,c as be}from"./chunk-KT6QQ3UJ.esm.js";import{a as Se}from"./chunk-4SDDAQ6N.esm.js";import{h as Ne,k as Ie}from"./chunk-R2QEO3KP.esm.js";import{c as Ee,d as Te,e as ve}from"./chunk-WKXEPDPZ.esm.js";import{c as le}from"./chunk-4JM5PL3S.esm.js";import{a as B,b as ue,g as pe,h as me}from"./chunk-UGA75LGY.esm.js";import{d as Pe,e as he}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";function Z(n={}){let{colors:r,breakpoints:t,containerSizes:i,layout:f,zIndex:b,spacing:u,border:m,font:N,dimension:R,textSize:D,typeWeight:I,component:C,motion:v}=Re({colors:B,spacing:De,font:Ye,border:ye,breakpoints:Me,containerSizes:qe,layout:He,zIndex:Ke,motion:Ne,dimension:xe,textSize:g,typeWeight:"regular",component:{}},n),p=ue(r),l=Ce(u,R),O=_e(N,{textSize:D,typeWeight:I,alias:u.alias}),L=eo({colors:p,spacing:l});return{font:O,border:m,animation:Ae,colors:p,breakpoints:be(t),containerSizes:je(i),layout:Je(f),zIndex:We(b),motion:Ie(v),spacing:l,depth:le(p),deep:we(p),semantic:L,foundation:ze(L),component:ke(C)}}s(Z,"createTheme");import{createContext as lo,lazy as Eo,Suspense as To,useContext as vo,useReducer as Po,useRef as ho}from"react";import{nanoid as ro}from"nanoid";import{Fragment as So,jsx as j,jsxs as Ao}from"react/jsx-runtime";var No=Eo(()=>import("./Notification.group-JTTEYDLD.esm.js")),io=lo({});function Io(n,{type:r,payload:t}){switch(r){case"ADD":return[t,...n];case"REMOVE":return n.filter(i=>i.id!==t.id);default:return n}}s(Io,"NotificationReducer");var co=s(n=>{let[r,t]=Po(Io,[]),i=ho(!1),f=s(u=>{t({type:"REMOVE",payload:{id:u}})},"removeNotification"),b=s(u=>{if(t({type:"ADD",payload:{id:ro(),...u}}),r.length>=3){let[m]=r.slice(-1);setTimeout(()=>f(m.id),0)}},"showNotification");return r.length>0&&(i.current=!0),j(io.Provider,{value:{notifications:r,removeNotification:f,showNotification:b},children:Ao(So,{children:[n.children,i.current&&j(To,{fallback:null,children:j(No,{})})]})})},"NotificationsProvider");function qo(){let n=vo(io);if(n===void 0)throw new Error("cant use useNotification hook outside of <NotificationsProvider />");return n}s(qo,"useNotification");import o from"react";import{jsx as x}from"react/jsx-runtime";function yo(n,r){return typeof r=="string"?Se(n):!0}s(yo,"shouldForwardProp");var so=typeof window=="undefined"?o.useEffect:o.useLayoutEffect,Q=o.createContext(null);function ut(){let n=o.useContext(Q);if(n===null)throw new Error("useApollionTheme deve ser usado dentro de um <ApollionProvider>.");return n}s(ut,"useApollionTheme");function pt(){return o.useContext(Q)}s(pt,"useApollionThemeOptional");var mt=s(({children:n,theme:r,lightTheme:t,darkTheme:i,colors:f,useSystemPreference:b=!1,themeMode:u,onThemeModeChange:m,mode:N,defaultMode:R,initialMode:D,onModeChange:I,persist:C=!1,storageKey:v=Fe,syncDocument:p=!0,attribute:l=Ge,a11y:O,defaultA11y:L=null,onA11yChange:Y,surface:_="positive",dimension:S,textSize:A,typeWeight:y,telemetry:c})=>{var ae,fe;let d=o.useMemo(()=>Qe(C),[C]),z=Be(v),F=N!==void 0||u!==void 0,ao=R!=null?R:b?"system":"light",[fo,J]=o.useState(ao),M=(ae=N!=null?N:u)!=null?ae:fo,[X,K]=o.useState(()=>D!==void 0?D==="dark":M==="system"&&Ze()),a=H(M,X),k=O!==void 0,[uo,W]=o.useState(L),P=k?O:uo;so(()=>{if(d){if(!F){let e=d.read(v);ge(e)&&J(e)}if(!k){let e=d.read(z);if(e===null||e==="")return;W(Ue(e)?e:null)}}},[d,v,z,F,k]),o.useEffect(()=>{var w;if(M!=="system")return;let e=typeof window!="undefined"?(w=window.matchMedia)==null?void 0:w.call(window,Ve):void 0;if(!e)return;K(e.matches);let T=s(mo=>K(mo.matches),"handleChange");return e.addEventListener("change",T),()=>e.removeEventListener("change",T)},[M]),o.useEffect(()=>{if(!(!p||typeof document=="undefined"))return Xe(document.documentElement,{mode:a,a11y:P},{attribute:l}),()=>$e(document.documentElement,{attribute:l})},[p,a,P,l]);let G=o.useCallback(e=>{F||J(e),d==null||d.write(v,e),I==null||I(e),m==null||m(H(e,X))},[F,d,v,I,m,X]),ee=o.useCallback(e=>{k||W(e),d==null||d.write(z,e),Y==null||Y(e)},[k,d,z,Y]),oe=o.useCallback(e=>G(e!=null?e:a==="dark"?"light":"dark"),[G,a]),te=o.useMemo(()=>{if(r||t||i)return null;let e=f!=null?f:B,T=P?me[P](e):e,w={colors:T,...S!==void 0&&{dimension:S},...y!==void 0&&{typeWeight:y},...A!==void 0&&{textSize:A}};return{light:Z(w),dark:Z({...w,colors:pe(T)})}},[r,t,i,f,S,y,A,P]),E=o.useMemo(()=>t&&i?{light:t,dark:i}:t||i||r?null:te,[t,i,r,te]),$=o.useMemo(()=>{var e,T;return E?a==="dark"?E.dark:E.light:(T=(e=t!=null?t:i)!=null?e:r)!=null?T:Z({...S!==void 0&&{dimension:S},...y!==void 0&&{typeWeight:y},...A!==void 0&&{textSize:A}})},[E,a,t,i,r,S,y,A]),V=o.useContext(Q)!==null,ne=(fe=$.font.textSize)!=null?fe:g;o.useEffect(()=>{if(!(!p||V||typeof document=="undefined"))return Oe(document.documentElement,ne),()=>Le(document.documentElement)},[p,V,ne]);let q=c==null?void 0:c.enabled,re=c==null?void 0:c.sampleRate,ie=c==null?void 0:c.endpoint,ce=c==null?void 0:c.app,se=c==null?void 0:c.onReport;so(()=>{if(!V){if(!q){to();return}return no({enabled:q,sampleRate:re,endpoint:ie,app:ce,onReport:se})}},[V,q,re,ie,ce,se]);let h=o.useMemo(()=>{if(!E)return ve(U($,_));let e={light:U(E.light,_,"light"),dark:U(E.dark,_,"dark")};return Ee(e)},[E,$,_]),de=o.useMemo(()=>h.modes?Te(a==="dark"?h.modes.dark:h.modes.light,h.modes):h,[h,a]),po=o.useMemo(()=>({theme:de,mode:M,resolvedMode:a,setMode:G,a11y:P,setA11y:ee,attribute:l,themeMode:a,toggleTheme:oe}),[de,M,a,G,P,ee,l,oe]);return x(Pe,{shouldForwardProp:yo,children:x(Q.Provider,{value:po,children:x(he,{theme:h,children:x(oo,{children:x(co,{children:n})})})})})},"ApollionProvider");export{Z as a,ro as b,co as c,qo as d,ut as e,pt as f,mt as g};
@@ -1 +0,0 @@
1
- import{a,b as s,d as t}from"./chunk-T4R2OTIU.esm.js";import{a as o}from"./chunk-JSVL6DGF.esm.js";import{forwardRef as x}from"react";import{jsx as n,jsxs as m}from"react/jsx-runtime";var i=x(({color:f="primary",border:l,size:g="medium",progress:c=0,showProgressLabel:p=!1,...P},u)=>{let e=Number(c),r=Number.isFinite(e)?Math.min(100,Math.max(0,e)):0,B=r-100;return m(t,{color:f,justifyContent:"center",alignItems:"center",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":r,...P,ref:u,children:[n(a,{size:g,border:l,children:n(s,{style:{transform:`translateX(${B}%)`}})}),p&&m(o,{children:[r,"%"]})]})});i.displayName="ProgressBar";export{i as a};