@apollion-dsi/core 7.4.0 → 7.5.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 (255) hide show
  1. package/lib/chunks/Dropdown.floating-BZADQ5AX.esm.js +1 -0
  2. package/lib/chunks/Notification.group-BC3U4UX6.esm.js +1 -0
  3. package/lib/chunks/Tooltip.floating-LDFMVRIA.esm.js +1 -0
  4. package/lib/chunks/{chunk-76VCAI6X.esm.js → chunk-2BWCWW2Q.esm.js} +1 -1
  5. package/lib/chunks/{chunk-66KNGOWM.esm.js → chunk-3PLVWHLK.esm.js} +1 -1
  6. package/lib/chunks/{chunk-ORJ6YPNR.esm.js → chunk-3VZTMO2Z.esm.js} +1 -1
  7. package/lib/chunks/{chunk-3CKHLCIB.esm.js → chunk-3WXII2F3.esm.js} +1 -1
  8. package/lib/chunks/{chunk-AJ7JAO2E.esm.js → chunk-46CG3ZZX.esm.js} +1 -1
  9. package/lib/chunks/chunk-4KW43QHY.esm.js +1 -0
  10. package/lib/chunks/{chunk-EX5BLQCC.esm.js → chunk-4MZWYLJH.esm.js} +1 -1
  11. package/lib/chunks/{chunk-DCIALXT7.esm.js → chunk-52O36B6T.esm.js} +1 -1
  12. package/lib/chunks/chunk-5PLSFFP6.esm.js +1 -0
  13. package/lib/chunks/chunk-7PHMFL32.esm.js +1 -0
  14. package/lib/chunks/chunk-A4QGVHIH.esm.js +1 -0
  15. package/lib/chunks/chunk-A77KMXEI.esm.js +5 -0
  16. package/lib/chunks/{chunk-25A3FLAS.esm.js → chunk-A7STAO6C.esm.js} +1 -1
  17. package/lib/chunks/{chunk-W2QR36MB.esm.js → chunk-AAZFRX52.esm.js} +1 -1
  18. package/lib/chunks/{chunk-RCBLISG5.esm.js → chunk-ATYYPKUP.esm.js} +1 -1
  19. package/lib/chunks/{chunk-DUCEY62P.esm.js → chunk-BKMH5ZKN.esm.js} +1 -1
  20. package/lib/chunks/{chunk-CAL43X4O.esm.js → chunk-BZNSA3AA.esm.js} +1 -1
  21. package/lib/chunks/{chunk-WBRRRDIA.esm.js → chunk-C7U4X56I.esm.js} +1 -1
  22. package/lib/chunks/chunk-CPQPRAAV.esm.js +1 -0
  23. package/lib/chunks/chunk-DA65U576.esm.js +1 -0
  24. package/lib/chunks/chunk-DXCL3MVA.esm.js +30 -0
  25. package/lib/chunks/{chunk-4DW5H7JW.esm.js → chunk-DYLFA33G.esm.js} +1 -1
  26. package/lib/chunks/{chunk-H7FLNZDA.esm.js → chunk-EJ245MA7.esm.js} +1 -1
  27. package/lib/chunks/{chunk-PJX5WGQP.esm.js → chunk-EYAGAJRL.esm.js} +1 -1
  28. package/lib/chunks/chunk-F3SAEVZJ.esm.js +1 -0
  29. package/lib/chunks/{chunk-UU62HUHC.esm.js → chunk-FNYS25ZX.esm.js} +1 -1
  30. package/lib/chunks/chunk-FUVFPMSI.esm.js +39 -0
  31. package/lib/chunks/{chunk-I3SLGOSW.esm.js → chunk-G5L6INCM.esm.js} +1 -1
  32. package/lib/chunks/{chunk-LWX5K4ZB.esm.js → chunk-GAQ3CPOM.esm.js} +1 -1
  33. package/lib/chunks/{chunk-5V3QEYAS.esm.js → chunk-GQZGW3EG.esm.js} +1 -1
  34. package/lib/chunks/chunk-GXGV64D2.esm.js +9 -0
  35. package/lib/chunks/{chunk-M7LEQKER.esm.js → chunk-H5EZPFXA.esm.js} +1 -1
  36. package/lib/chunks/chunk-HTYWYOZQ.esm.js +1 -0
  37. package/lib/chunks/{chunk-WB65GPFO.esm.js → chunk-IFSAA4OC.esm.js} +1 -1
  38. package/lib/chunks/{chunk-ERQXQRK3.esm.js → chunk-IQQH6HMG.esm.js} +1 -1
  39. package/lib/chunks/chunk-ITSDQBLF.esm.js +1 -0
  40. package/lib/chunks/chunk-IZHCHFTU.esm.js +1 -0
  41. package/lib/chunks/{chunk-6O6KKD7F.esm.js → chunk-J4VMAQM3.esm.js} +5 -5
  42. package/lib/chunks/{chunk-ZLURBVJC.esm.js → chunk-JNV3RCLH.esm.js} +1 -1
  43. package/lib/chunks/{chunk-O3XQX2DB.esm.js → chunk-JVFVXNCA.esm.js} +1 -1
  44. package/lib/chunks/{chunk-AIT3ZFAZ.esm.js → chunk-JVJJNNK3.esm.js} +1 -1
  45. package/lib/chunks/{chunk-TBHGVERY.esm.js → chunk-JWNC52FT.esm.js} +1 -1
  46. package/lib/chunks/{chunk-YYRMAERR.esm.js → chunk-JYFJX4EO.esm.js} +1 -1
  47. package/lib/chunks/{chunk-EJ7K3DWH.esm.js → chunk-KE4YU2FM.esm.js} +1 -1
  48. package/lib/chunks/chunk-KITEZ7OW.esm.js +1 -0
  49. package/lib/chunks/chunk-KW62FBMI.esm.js +1 -0
  50. package/lib/chunks/chunk-KXRGSB6P.esm.js +1 -0
  51. package/lib/chunks/{chunk-QW5DJCRR.esm.js → chunk-LA7VVT23.esm.js} +1 -1
  52. package/lib/chunks/{chunk-ITRAQ6Q2.esm.js → chunk-LDOM2UUN.esm.js} +1 -1
  53. package/lib/chunks/chunk-LN65BGR5.esm.js +1 -0
  54. package/lib/chunks/{chunk-XCA2HUTU.esm.js → chunk-M4EIGJZZ.esm.js} +1 -1
  55. package/lib/chunks/{chunk-ZYQJYJIC.esm.js → chunk-MKGWYKH6.esm.js} +1 -1
  56. package/lib/chunks/{chunk-F3PGPFO5.esm.js → chunk-MTJOR4UX.esm.js} +1 -1
  57. package/lib/chunks/{chunk-XBPV4MKV.esm.js → chunk-MYU2IAR3.esm.js} +1 -1
  58. package/lib/chunks/{chunk-27BUTGEI.esm.js → chunk-NGCCXGDN.esm.js} +1 -1
  59. package/lib/chunks/{chunk-F4JJQGPH.esm.js → chunk-O5TS2XER.esm.js} +1 -1
  60. package/lib/chunks/{chunk-OCOVNG7J.esm.js → chunk-OC7CKHRF.esm.js} +1 -1
  61. package/lib/chunks/{chunk-6RVYBZSW.esm.js → chunk-ODL5JUYM.esm.js} +1 -1
  62. package/lib/chunks/chunk-OOYR6EZR.esm.js +1 -0
  63. package/lib/chunks/{chunk-4D6MGQNS.esm.js → chunk-P3XOIBAC.esm.js} +1 -1
  64. package/lib/chunks/{chunk-FKMOI3V2.esm.js → chunk-PB7O2NHF.esm.js} +1 -1
  65. package/lib/chunks/{chunk-VZICXIVQ.esm.js → chunk-PCLKWRMD.esm.js} +1 -1
  66. package/lib/chunks/{chunk-XU2XD26O.esm.js → chunk-PRQOVSM6.esm.js} +4 -4
  67. package/lib/chunks/{chunk-OUNXOMM6.esm.js → chunk-Q3XFSLPE.esm.js} +1 -1
  68. package/lib/chunks/chunk-QXV2TDLZ.esm.js +1 -0
  69. package/lib/chunks/chunk-REPFMEFA.esm.js +1 -0
  70. package/lib/chunks/{chunk-VIFWWZ3H.esm.js → chunk-SPN5664Z.esm.js} +1 -1
  71. package/lib/chunks/chunk-TF3JNXQO.esm.js +1 -0
  72. package/lib/chunks/{chunk-IRI77QBK.esm.js → chunk-TWZWNWBQ.esm.js} +1 -1
  73. package/lib/chunks/chunk-U3GZABRG.esm.js +1 -0
  74. package/lib/chunks/{chunk-LZEBVXWL.esm.js → chunk-UAXSZ3UE.esm.js} +1 -1
  75. package/lib/chunks/{chunk-7DO5M7YG.esm.js → chunk-V2GA7W66.esm.js} +1 -1
  76. package/lib/chunks/{chunk-TNKYQI5Z.esm.js → chunk-VFCCRDG4.esm.js} +1 -1
  77. package/lib/chunks/chunk-VFM3QFOU.esm.js +4 -0
  78. package/lib/chunks/{chunk-AZXLTCJK.esm.js → chunk-VJ5GIFXO.esm.js} +1 -1
  79. package/lib/chunks/chunk-VR23WM3F.esm.js +1 -0
  80. package/lib/chunks/chunk-VYHY4SSS.esm.js +1 -0
  81. package/lib/chunks/{chunk-B6OC4RV2.esm.js → chunk-W4NSHFN4.esm.js} +1 -1
  82. package/lib/chunks/chunk-WCJC5AG7.esm.js +1 -0
  83. package/lib/chunks/{chunk-EF3LT3PN.esm.js → chunk-WDGATQZG.esm.js} +1 -1
  84. package/lib/chunks/{chunk-BUT67NEF.esm.js → chunk-X62RTM6B.esm.js} +1 -1
  85. package/lib/chunks/chunk-XKACWIWC.esm.js +1 -0
  86. package/lib/chunks/{chunk-3OILM5EQ.esm.js → chunk-XSULIEOF.esm.js} +1 -1
  87. package/lib/chunks/chunk-YBKS2HAY.esm.js +1 -0
  88. package/lib/chunks/chunk-Z23O3NNN.esm.js +1 -0
  89. package/lib/chunks/{chunk-YKWTGDHO.esm.js → chunk-ZDB7ECI3.esm.js} +1 -1
  90. package/lib/chunks/{chunk-PUTYJU2Z.esm.js → chunk-ZJT2WQTR.esm.js} +1 -1
  91. package/lib/containers/Base/index.esm.js +1 -1
  92. package/lib/containers/Box/index.esm.js +1 -1
  93. package/lib/containers/Card/Card.style.d.ts +16 -8
  94. package/lib/containers/Card/index.esm.js +1 -1
  95. package/lib/containers/Content/Content.interface.d.ts +7 -1
  96. package/lib/containers/Content/index.esm.js +1 -1
  97. package/lib/containers/Flex/Flex.interface.d.ts +10 -0
  98. package/lib/containers/Flex/Flex.style.d.ts +9 -4
  99. package/lib/containers/Flex/index.esm.js +1 -1
  100. package/lib/containers/Grid/index.esm.js +1 -1
  101. package/lib/containers/Notification/Notification.style.d.ts +32 -16
  102. package/lib/containers/Notification/index.esm.js +1 -1
  103. package/lib/containers/Paper/index.esm.js +1 -1
  104. package/lib/containers/Scroll/index.esm.js +1 -1
  105. package/lib/containers/index.esm.js +1 -1
  106. package/lib/dataDisplay/Accordion/index.esm.js +1 -1
  107. package/lib/dataDisplay/DataTable/DataTable.interface.d.ts +8 -0
  108. package/lib/dataDisplay/DataTable/index.esm.js +1 -1
  109. package/lib/dataDisplay/DescriptionList/DescriptionList.interface.d.ts +7 -1
  110. package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
  111. package/lib/dataDisplay/Meter/Meter.style.d.ts +16 -8
  112. package/lib/dataDisplay/Meter/index.esm.js +1 -1
  113. package/lib/dataDisplay/Steps/Steps.interface.d.ts +7 -0
  114. package/lib/dataDisplay/Steps/Steps.style.d.ts +48 -24
  115. package/lib/dataDisplay/Steps/index.esm.js +1 -1
  116. package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
  117. package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
  118. package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
  119. package/lib/dataDisplay/Table/TableEmpty/TableEmpty.style.d.ts +34 -18
  120. package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
  121. package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
  122. package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
  123. package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -1
  124. package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -1
  125. package/lib/dataDisplay/Table/index.esm.js +1 -1
  126. package/lib/dataDisplay/Tabs/Tabs.interface.d.ts +7 -1
  127. package/lib/dataDisplay/Tabs/Tabs.style.d.ts +80 -40
  128. package/lib/dataDisplay/Tabs/index.esm.js +1 -1
  129. package/lib/dataDisplay/index.esm.js +1 -1
  130. package/lib/elements/Avatar/index.esm.js +1 -1
  131. package/lib/elements/Button/Button.style.d.ts +16 -8
  132. package/lib/elements/Button/index.esm.js +1 -1
  133. package/lib/elements/Calendar/index.esm.js +1 -1
  134. package/lib/elements/Divider/Divider.style.d.ts +16 -8
  135. package/lib/elements/Divider/index.esm.js +1 -1
  136. package/lib/elements/Dropdown/index.esm.js +1 -1
  137. package/lib/elements/Icon/index.esm.js +1 -1
  138. package/lib/elements/IconButton/IconButton.style.d.ts +64 -32
  139. package/lib/elements/IconButton/index.esm.js +1 -1
  140. package/lib/elements/IconText/index.esm.js +1 -1
  141. package/lib/elements/Image/index.esm.js +1 -1
  142. package/lib/elements/Label/index.esm.js +1 -1
  143. package/lib/elements/Link/index.esm.js +1 -1
  144. package/lib/elements/List/List.style.d.ts +16 -8
  145. package/lib/elements/List/index.esm.js +1 -1
  146. package/lib/elements/Modal/Modal.interface.d.ts +5 -1
  147. package/lib/elements/Modal/Modal.style.d.ts +34 -18
  148. package/lib/elements/Modal/index.esm.js +1 -1
  149. package/lib/elements/Popover/index.esm.js +1 -1
  150. package/lib/elements/ProgressBar/ProgressBar.interface.d.ts +2 -2
  151. package/lib/elements/ProgressBar/ProgressBar.style.d.ts +16 -8
  152. package/lib/elements/ProgressBar/index.esm.js +1 -1
  153. package/lib/elements/Sheet/Sheet.style.d.ts +34 -18
  154. package/lib/elements/Sheet/index.esm.js +1 -1
  155. package/lib/elements/Spinner/Spinner.style.d.ts +2 -3
  156. package/lib/elements/Spinner/index.esm.js +1 -1
  157. package/lib/elements/Svg/Svg.style.d.ts +6 -4
  158. package/lib/elements/Svg/index.esm.js +1 -1
  159. package/lib/elements/Text/index.esm.js +1 -1
  160. package/lib/elements/Tooltip/index.esm.js +1 -1
  161. package/lib/elements/index.esm.js +1 -1
  162. package/lib/factory/BackgroundFactory/index.esm.js +1 -1
  163. package/lib/factory/ColorFactory/index.esm.js +1 -1
  164. package/lib/factory/ContainerQueryFactory/index.esm.js +1 -1
  165. package/lib/factory/DeepFactory/index.esm.js +1 -1
  166. package/lib/factory/FlexFactory/FlexFactory.d.ts +7 -2
  167. package/lib/factory/FlexFactory/index.esm.js +1 -1
  168. package/lib/factory/PlacementFactory/index.esm.js +1 -1
  169. package/lib/factory/ResponsiveFactory/ResponsiveFactory.channel.d.ts +14 -0
  170. package/lib/factory/ResponsiveFactory/ResponsiveFactory.d.ts +1 -1
  171. package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
  172. package/lib/factory/System/index.esm.js +1 -1
  173. package/lib/factory/ViewportMediaFactory/index.esm.js +1 -1
  174. package/lib/factory/index.esm.js +1 -1
  175. package/lib/form/Checkbox/Checkbox.style.d.ts +34 -18
  176. package/lib/form/Checkbox/index.esm.js +1 -1
  177. package/lib/form/Field/Field.style.d.ts +16 -8
  178. package/lib/form/Field/index.esm.js +1 -1
  179. package/lib/form/FieldGroup/index.esm.js +1 -1
  180. package/lib/form/Form/Form.style.d.ts +16 -8
  181. package/lib/form/Form/index.esm.js +1 -1
  182. package/lib/form/Input/Input.style.d.ts +16 -8
  183. package/lib/form/Input/index.esm.js +1 -1
  184. package/lib/form/InputCurrency/InputCurrency.style.d.ts +16 -8
  185. package/lib/form/InputCurrency/index.esm.js +1 -1
  186. package/lib/form/InputDate/index.esm.js +1 -1
  187. package/lib/form/InputMask/index.esm.js +1 -1
  188. package/lib/form/InputRange/index.esm.js +1 -1
  189. package/lib/form/InputSelect/index.esm.js +1 -1
  190. package/lib/form/Option/Option.style.d.ts +16 -8
  191. package/lib/form/Option/index.esm.js +1 -1
  192. package/lib/form/Radio/index.esm.js +1 -1
  193. package/lib/form/Select/index.esm.js +1 -1
  194. package/lib/form/Switch/Switch.style.d.ts +1 -2
  195. package/lib/form/Switch/index.esm.js +1 -1
  196. package/lib/form/TextArea/TextArea.style.d.ts +16 -8
  197. package/lib/form/TextArea/index.esm.js +1 -1
  198. package/lib/form/UploadCard/UploadCard.interface.d.ts +8 -0
  199. package/lib/form/UploadCard/UploadCard.style.d.ts +16 -8
  200. package/lib/form/UploadCard/index.esm.js +1 -1
  201. package/lib/form/index.esm.js +1 -1
  202. package/lib/index.d.ts +1 -1
  203. package/lib/index.esm.js +1 -1
  204. package/lib/index.js +1 -1
  205. package/lib/layouts/DefaultLayout/index.esm.js +1 -1
  206. package/lib/layouts/SideBarLayout/index.esm.js +1 -1
  207. package/lib/layouts/index.esm.js +1 -1
  208. package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
  209. package/lib/skeleton/TextPreset/index.esm.js +1 -1
  210. package/lib/skeleton/index.esm.js +1 -1
  211. package/lib/themes/Colors/Colors.helpers.d.ts +42 -10
  212. package/lib/themes/Colors/index.esm.js +1 -1
  213. package/lib/themes/Deep/index.esm.js +1 -1
  214. package/lib/themes/Depth/index.esm.js +1 -1
  215. package/lib/themes/GlobalStyle/GlobalStyle.forcedColors.d.ts +8 -0
  216. package/lib/themes/GlobalStyle/GlobalStyle.helpers.d.ts +0 -8
  217. package/lib/themes/GlobalStyle/index.esm.js +1 -1
  218. package/lib/themes/Ground/index.esm.js +1 -1
  219. package/lib/themes/Semantic/index.esm.js +1 -1
  220. package/lib/themes/Surface/index.esm.js +1 -1
  221. package/lib/themes/ThemeProvider/index.esm.js +1 -1
  222. package/lib/themes/index.esm.js +1 -1
  223. package/package.json +9 -5
  224. package/lib/chunks/Dropdown.floating-4F6FTG44.esm.js +0 -1
  225. package/lib/chunks/Notification.group-CQZ3M4FD.esm.js +0 -1
  226. package/lib/chunks/Tooltip.floating-FNRDGVZA.esm.js +0 -1
  227. package/lib/chunks/chunk-2TQTHAFO.esm.js +0 -1
  228. package/lib/chunks/chunk-3A7CFAN2.esm.js +0 -1
  229. package/lib/chunks/chunk-3HLIX4CZ.esm.js +0 -1
  230. package/lib/chunks/chunk-56PN4PGS.esm.js +0 -1
  231. package/lib/chunks/chunk-5JB5IV5W.esm.js +0 -1
  232. package/lib/chunks/chunk-6HQICTWR.esm.js +0 -1
  233. package/lib/chunks/chunk-AIIBSKW7.esm.js +0 -1
  234. package/lib/chunks/chunk-EIISM5F6.esm.js +0 -1
  235. package/lib/chunks/chunk-EWFZ5Y47.esm.js +0 -1
  236. package/lib/chunks/chunk-F5TUC4YS.esm.js +0 -39
  237. package/lib/chunks/chunk-FAWI4OCG.esm.js +0 -1
  238. package/lib/chunks/chunk-HLFGUNIS.esm.js +0 -1
  239. package/lib/chunks/chunk-IW7XVGH3.esm.js +0 -1
  240. package/lib/chunks/chunk-IXLTHMIQ.esm.js +0 -1
  241. package/lib/chunks/chunk-K6S7ZGCD.esm.js +0 -1
  242. package/lib/chunks/chunk-LDGYJOVP.esm.js +0 -5
  243. package/lib/chunks/chunk-MFYH5ECV.esm.js +0 -9
  244. package/lib/chunks/chunk-PBYT3TNP.esm.js +0 -1
  245. package/lib/chunks/chunk-QMB5TYEI.esm.js +0 -1
  246. package/lib/chunks/chunk-SFWLFQTS.esm.js +0 -1
  247. package/lib/chunks/chunk-VKOURTRN.esm.js +0 -4
  248. package/lib/chunks/chunk-VLUHVGID.esm.js +0 -1
  249. package/lib/chunks/chunk-VLWBOXKC.esm.js +0 -1
  250. package/lib/chunks/chunk-XAZ7GAG6.esm.js +0 -1
  251. package/lib/chunks/chunk-XEGNBICC.esm.js +0 -33
  252. package/lib/chunks/chunk-XTY6DXMK.esm.js +0 -1
  253. package/lib/chunks/chunk-Y33MAO4J.esm.js +0 -1
  254. package/lib/chunks/chunk-ZUSD6565.esm.js +0 -1
  255. package/lib/chunks/chunk-ZXGZNZQN.esm.js +0 -1
@@ -1 +0,0 @@
1
- import{a as c,b as T}from"./chunk-YKWTGDHO.esm.js";import{a as p,b as f}from"./chunk-4D6MGQNS.esm.js";import{ga as g,o as B}from"./chunk-DAT6GD4T.esm.js";import{a as v}from"./chunk-MFYH5ECV.esm.js";import{a as P}from"./chunk-ZXGZNZQN.esm.js";import{d as w}from"./chunk-66KNGOWM.esm.js";import{b as y}from"./chunk-6RVYBZSW.esm.js";import{b as u}from"./chunk-WBRRRDIA.esm.js";import{a as S}from"./chunk-H7FLNZDA.esm.js";import{j as x}from"./chunk-2TQTHAFO.esm.js";import{b as l,f as C,g as I}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";function N(){return l(["color:var(--dark-color);border-color:var(--border-color);"," &:focus,&:hover{","}&:focus + ","{color:var(--base-color);}"],u({deep:-1}),u({deep:0}),p)}s(N,"inputVariantStyle");var $=l(["&::placeholder{color:",";}&:disabled{&::placeholder{color:var(--disabled-color);}}"],({theme:o})=>o.colors.ink.muted),L=l(["&:disabled,&:read-only{border:1px solid var(--disabled-bg);background-color:var(--disabled-bg);color:var(--disabled-color);}&:read-only{","}"],u({deep:0}));function j({theme:o,$variantExplicit:r}){var e,i,n;if(r)return null;let t=(n=(i=(e=o.colors.danger)==null?void 0:e.base)!=null?i:o.colors.baseDark)!=null?n:"#000";return l(["&:user-invalid{border-color:",";}"],t)}s(j,"userInvalidBorderStyle");function q({iconPosition:o}){return o==="left"?l(["& ~ ",",& ~ ","{left:1em;right:unset;}"],c,p):null}s(q,"invertIconPosition");var G=l(["&:disabled ~ ","{color:var(--disabled-color);}&:disabled ~ ","{pointer-events:none;","}& ~ ","{width:intrinsic;","}& ~ ",",& ~ ","{color:var(--icon-color);z-index:100;position:absolute;align-self:center;right:1em;& > g{fill:var(--icon-color);}}"],p,c,y(()=>({bgColor:"wash.hover"})),c,y(()=>({bgColor:"wash.pressed"})),c,p),F=I(w.input).attrs(o=>({fontFamily:"main",lineHeight:"tight",bgColor:"surface.paper",borderWidth:"thin",borderStyle:"solid",px:"small",...o})).withConfig({componentId:"sc-8elel8-0"})(["-webkit-appearance:none;display:block;width:100%;outline:none;transition:",";"," "," "," ",";",";",";",";&[type='date']::-webkit-calendar-picker-indicator{position:absolute;top:0;left:0;right:0;bottom:0;width:auto;height:auto;opacity:0;}&[type='number']::-webkit-outer-spin-button,&[type='number']::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}&[type='number']{-moz-appearance:textfield;}"],({theme:o})=>o.animation.transitions.short,v(),N,j,G,q,L,$),h=I(P).withConfig({componentId:"sc-8elel8-1"})(({theme:o,variant:r})=>{let t=o.colors.primary;r==="error"?t=o.colors.danger:r==="success"&&(t=o.colors.success);let{base:e,dark:i}=t;return{display:"flex",position:"relative","--base-color":e,"--dark-color":r==="default"?o.colors.ink.primary:S(o,n=>{var a,d;return x((d=(a=n.colors[r==="error"?"danger":"success"])==null?void 0:a.dark)!=null?d:n.colors.ink.primary,n.colors.surface.paper)}),"--disabled-bg":o.colors.disabled.fill,"--disabled-color":o.colors.disabled.color,"--icon-color":r==="default"?o.colors.ink.muted:e,"--border-color":r==="default"?o.colors.edge.border:e}});h.displayName="input";import{forwardRef as J}from"react";import{jsx as m}from"react/jsx-runtime";function W({icon:o,variant:r,clearable:t,reset:e,value:i,readOnly:n}){return t&&e&&i&&!n?m(T,{p:"micro",type:"button",borderWidth:"none",variant:"linked",onClick:e,"data-testid":"input-reset-button",icon:m(f,{size:"small",color:"grayscale.0",icon:g})}):o||(r==="error"?m(f,{icon:g,"data-testid":"input-icon-error"}):r==="success"?m(f,{icon:B,"data-testid":"input-icon-success"}):null)}s(W,"getIconComponent");import{jsx as K,jsxs as O}from"react/jsx-runtime";var D=J(({value:o,variant:r,iconPosition:t="right",size:e="medium",...i},n)=>{let{disabled:a,width:d,style:Q,area:E,alignSelf:R,justifySelf:z,...A}=i,V=C(),H=r!==void 0,b=r!=null?r:"default",k=W({...i,value:o,variant:b,size:e,iconPosition:t}),M={...V.component.input.size[e],...k&&{[t==="right"?"pr":"pl"]:"xl"}};return O(h,{variant:b,width:d,flexDirection:"row",area:E,alignSelf:R,justifySelf:z,children:[K(F,{iconPosition:t,disabled:a,variant:b,$variantExplicit:H,...M,...A,...o!==void 0&&{value:o},ref:n}),k]})});D.displayName="Input";export{N as a,$ as b,L as c,j as d,q as e,F as f,h as g,D as h};
@@ -1,5 +0,0 @@
1
- import{b as a}from"./chunk-LWX5K4ZB.esm.js";import{a as e}from"./chunk-ZXGZNZQN.esm.js";import{g as i}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var d={xs:{columns:"1fr",rows:"100%",areas:`
2
- "content"
3
- `},md:{columns:"200px 1fr",rows:"100%",areas:`
4
- "sidebar content"
5
- `}};var m=i(a).attrs({medias:d}).withConfig({componentId:"sc-191lt0b-0"})(["height:100%;"]);import{jsx as t,jsxs as s}from"react/jsx-runtime";function n({layoutComponents:r}){return s(m,{children:[r.sidebar&&t(e,{area:"sidebar",display:"none",md_display:"flex",children:t(r.sidebar,{})}),t(e,{area:"content",width:"100%",justifyContent:"center",md_justifyContent:"start",children:r.content&&t(r.content,{})})]})}o(n,"SideBarLayout");n.displayName="SideBarLayout";export{d as a,m as b,n as c};
@@ -1,9 +0,0 @@
1
- import{f as c}from"./chunk-B6OC4RV2.esm.js";import{b as l}from"./chunk-TLIKQFOT.esm.js";import{e as m}from"./chunk-R2QEO3KP.esm.js";import{c as s,h as i}from"./chunk-3CKHLCIB.esm.js";import{a as n,b as a}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var f="apollion.reset";function p(){return`
2
- @media (forced-colors: active) {
3
- :focus-visible {
4
- outline: 2px solid Highlight;
5
- outline-offset: 2px;
6
- }
7
- }
8
- `}r(p,"forcedColorsFocusCss");function g(o="2px"){return a(["@media (forced-colors:active){&:focus-visible{outline:2px solid Highlight;outline-offset:",";}}"],o)}r(g,"forcedColorsFocusRestoreCss");import{normalize as u}from"styled-normalize";import{jsx as h}from"react/jsx-runtime";var b=n(["@layer ","{"," *,*::before,*::after{box-sizing: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:",";","}"," "," ",";"],f,u,({$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})=>Object.entries(i(o,s)).map(([e,t])=>`${e}: ${t};`).join(`
9
- `),({theme:o})=>o.motion?m(o.motion):"",p(),({extend:o})=>o);function d(o){let e=c();return h(b,{...o,$attribute:e==null?void 0:e.attribute,$system:(e==null?void 0:e.mode)==="system"})}r(d,"GlobalStyle");export{g as a,b,d as c};
@@ -1 +0,0 @@
1
- import{a as k}from"./chunk-PJX5WGQP.esm.js";import{a as h}from"./chunk-MFYH5ECV.esm.js";import{a as S}from"./chunk-LZEBVXWL.esm.js";import{a as v}from"./chunk-EWFZ5Y47.esm.js";import{a as C}from"./chunk-ZXGZNZQN.esm.js";import{d as p}from"./chunk-RWLJNXLX.esm.js";import{b as B}from"./chunk-IK5Z5C2R.esm.js";import{e as g}from"./chunk-XTY6DXMK.esm.js";import{b as x}from"./chunk-VCMHX5VK.esm.js";import{e as m}from"./chunk-3CKHLCIB.esm.js";import{a as u}from"./chunk-H7FLNZDA.esm.js";import{j as f}from"./chunk-2TQTHAFO.esm.js";import{b as l,g as y}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import{forwardRef as A}from"react";var N=5,O=n(({size:t="medium",theme:o})=>{var e;let r=(e=o.component.button.size[t])!=null?e:o.component.button.size.medium;return[B({fontWeight:r.fontWeight,fontSize:r.fontSize,...r.textTransform!==void 0&&{textTransform:r.textTransform}}),x({py:r.py,px:r.px}),p({borderRadius:r.borderRadius})]},"buttonSize"),d=n((t,o)=>o==="neutral"?t.colors.quiet:t.colors[o],"buttonPalette"),I=n((t,o,r)=>d(t,o)[r],"stopOf"),s=n((t,o,r)=>u(t,e=>e.colors.getContrastColor(I(e,o,r))),"contrastInk"),a=n((t,o,r)=>{let e=u(t,c=>{var i;return f(I(c,o,r),(i=c.colors.baseLight)!=null?i:"#FFFFFF",N)});return r==="base"?m(e,"tx",o):e},"readableInk"),L=n((t,o)=>{let r=d(o,t);return l(["color:",";background:",";border-color:",";box-shadow:",";&:hover{color:",";background:",";border-color:",";box-shadow:",";}&:focus{color:",";background:",";border-color:",";&:hover{border-color:",";}}&:active{&,&:hover,&:focus{color:",";background:",";border-color:",";}}&:disabled{background:",";border-color:",";color:",";box-shadow:",";cursor:default;}"],s(o,t,"base"),r.base,r.base,e=>e.theme.depth("level-two"),s(o,t,"action"),r.action,r.action,e=>e.theme.depth("level-zero"),s(o,t,"action"),r.action,r.active,r.action,s(o,t,"active"),r.active,r.light,o.colors.disabled.fill,o.colors.disabled.fill,o.colors.disabled.color,e=>e.theme.depth("level-zero"))},"ButtonContained"),M=n((t,o)=>{let r=d(o,t);return l(["background:transparent;color:",";border-color:",";&:hover{color:",";background:",";border-color:",";}&:focus{color:",";background:",";border-color:",";box-shadow:",";&:hover{border-color:",";}}&:active{&,&:hover,&:focus{background-color:transparent;color:",";border-color:",";box-shadow:",";}}&:disabled{color:",";background:",";border-color:",";cursor:default;}"],a(o,t,"base"),r.base,s(o,t,"action"),r.action,r.action,s(o,t,"action"),r.action,r.active,e=>e.theme.depth("level-two"),r.action,r.dark,r.light,e=>e.theme.depth("level-two"),o.colors.disabled.color,o.colors.disabled.fill,o.colors.disabled.fill)},"ButtonOutlined"),_=n((t,o)=>{let r=d(o,t);return l(["background:transparent;color:",";border-color:transparent;border-radius:none;&:hover{color:",";text-decoration:underline;}&:focus{color:",";text-decoration:underline;}&:active{color:",";text-decoration:underline;}&:disabled{color:",";text-decoration:none;cursor:default;}"],a(o,t,"base"),a(o,t,"action"),a(o,t,"base"),a(o,t,"active"),o.colors.disabled.color)},"ButtonLinked"),H=n((t,o)=>l(["background:transparent;border-color:transparent;box-shadow:none;color:",";&:hover{background:",";color:",";text-decoration:none;}&:focus-visible{background:",";outline:2px solid ",";outline-offset:1px;}&:active{background:",";color:",";}&:disabled{background:transparent;color:",";cursor:default;}"],a(o,t,"base"),o.colors.wash.hover,a(o,t,"action"),o.colors.wash.hover,a(o,t,"base"),o.colors.wash.pressed,a(o,t,"active"),o.colors.disabled.color),"ButtonGhost"),V=n(({color:t,variant:o,theme:r})=>{let e;switch(o){case"outlined":e=M(t,r);break;case"linked":e=_(t,r);break;case"ghost":e=H(t,r);break;default:e=L(t,r)}return l(["&&{","}"],e)},"buttonVariant"),j=n(({fullWidth:t})=>({width:t?"100%":"fit-content"}),"isFullWidth"),q=l(["outline:0;"," cursor:pointer;transition:",";"," "," "," "," ",""],h("1px"),({theme:t})=>t.animation.transitions.short,p({borderWidth:"regular",borderStyle:"solid"}),g({gap:"xs",flexDirection:"row",alignItems:"center",justifyContent:"center"}),j,O,V),T=y(C).withConfig({componentId:"sc-12djmz6-0"})([""," ","{width:1em;height:1em;}"],q,v);import{jsx as b}from"react/jsx-runtime";var w=A(({children:t,text:o,isLoading:r,icon:e=null,iconPosition:c="left",color:i="primary",size:P="medium",variant:F="contained",fullWidth:z=!1,...R},W)=>b(T,{...R,color:i,size:P,variant:F,fullWidth:z,as:"button",ref:W,children:b(S,{loading:r,...c==="right"?{closer:e}:{opener:e},children:b(k,{fontWeight:"bold",lineHeight:"tight",fontFamily:"main",children:t||o})})}));w.displayName="Button";export{O as a,d as b,V as c,q as d,T as e,w as f};
@@ -1 +0,0 @@
1
- import{f as se}from"./chunk-K6S7ZGCD.esm.js";import{a as le,b as j}from"./chunk-LWX5K4ZB.esm.js";import{a as Y,b as ee}from"./chunk-YKWTGDHO.esm.js";import{a as ie}from"./chunk-A3OJEVGQ.esm.js";import{b as oe}from"./chunk-KR2X2UQG.esm.js";import{a as te}from"./chunk-BE2JDTVA.esm.js";import{b as O}from"./chunk-4D6MGQNS.esm.js";import{b as J}from"./chunk-EF3LT3PN.esm.js";import{I as ne,J as re,ga as ae,ja as B}from"./chunk-DAT6GD4T.esm.js";import{f as Q}from"./chunk-PBYT3TNP.esm.js";import{e as I}from"./chunk-PJX5WGQP.esm.js";import{b as X}from"./chunk-B6OC4RV2.esm.js";import{a as k}from"./chunk-LCCVFIPZ.esm.js";import{a as v}from"./chunk-ZXGZNZQN.esm.js";import{a as U}from"./chunk-3HLIX4CZ.esm.js";import{e as K}from"./chunk-XTY6DXMK.esm.js";import{l as V}from"./chunk-6G22RNUO.esm.js";import{g as x}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var de=i(({theme:e,readOnly:t,disabled:o,active:c})=>{if(t||o)return null;let d=e.colors.primary.base;return{borderWidth:1,borderStyle:"dashed",borderColor:c?d:"transparent","&:hover":{borderColor:d}}},"activeStyle"),me=i(({disabled:e,readOnly:t})=>(e||t)&&{cursor:"not-allowed",pointerEvents:"none",userSelect:"none"},"disabledStyle"),ce=x(U).withConfig({componentId:"sc-1erdx9t-0"})([""," "," container-type:inline-size;"],de,me),N=x(U).withConfig({componentId:"sc-1erdx9t-1"})(["pointer-events:none;display:flex;justify-content:center;align-items:center;"]),q=x(U).withConfig({componentId:"sc-1erdx9t-2"})(["opacity:0.95;"]),D=x(j).withConfig({componentId:"sc-1erdx9t-3"})(["& ","{padding:0;svg{width:0.8rem;height:0.8rem;}}"],Y),pe=x(v).withConfig({componentId:"sc-1erdx9t-4"})(["min-width:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;& ","{padding:"," 0;}& "," + & ","{margin-top:",";}"],D,({theme:e})=>e.spacing("xs"),D,D,({theme:e})=>e.spacing("medium")),fe=x(I).withConfig({componentId:"sc-1erdx9t-5"})(["flex:1;width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]),ue=x(U).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),z=x(U).attrs(e=>({borderRadius:"micro",...e})).withConfig({componentId:"sc-1erdx9t-7"})(["align-self:center;overflow:hidden;width:",";height:",";font-size:",";color:",";"],({theme:e})=>k(e,8),({theme:e})=>k(e,8),({theme:e})=>k(e,6.4),({theme:e})=>e.colors.primary.base),ge=x(U).withConfig({componentId:"sc-1erdx9t-8"})(["display:grid;"," "," ",""],le,de,me),Fe=x(U).withConfig({componentId:"sc-1erdx9t-9"})(["display:flex;flex-direction:column;"]),Ce=x(j).withConfig({componentId:"sc-1erdx9t-10"})(["",""],K({flex:"fluid"}));import{forwardRef as Me,useCallback as $e,useEffect as He,useImperativeHandle as We,useRef as Ge,useState as Ze}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 $(e,t){let o=t||15728640;return(Array.isArray(e)?e:[e]).filter(d=>d.size<=o)}i($,"filterFiles");function H(e){return e.map(t=>({id:X(),file:t,fileName:t.name,fileSize:M(t.size)}))}i(H,"convertFileToFileItem");function xe(e){let{fieldName:t,file:o,requestConfig:c}=e,{endpoint:d,timeout:y,auth:f,params:F,withCredentials:r,responseType:m,headers:p,formDataParams:l}=c;return new Promise((u,h)=>{let a=new XMLHttpRequest;a.timeout=y;let b=new FormData;b.append(t,o,o.name),l&&l.forEach(s=>{b.append(s.key,s.value)});let R=new URL(d);if(F&&Object.keys(F).forEach(s=>{R.searchParams.append(s,F[s])}),a.open("post",R.href),"setRequestHeader"in a){let s={...p};if(f){let g=f.username||"",P=unescape(encodeURIComponent(f.password))||"",T=`${g}:${P}`;s.Authorization=`Basic ${btoa(T)}`}Object.keys(s).forEach(g=>{let P=s[g];P!==void 0&&a.setRequestHeader(g,P)})}r!==void 0&&(a.withCredentials=!!r),a.responseType=m||"json";let w=0;a.upload.addEventListener("progress",s=>{e.onProgress&&(w=s.loaded,e.onProgress(s.loaded))}),a.onreadystatechange=()=>{var g;if(!a||a.readyState!==4||a.status===0&&((g=a==null?void 0:a.responseURL)==null?void 0:g.indexOf("file:"))!==0)return;let s={response:a.response,status:a.status,statusText:a.statusText};e.onProgress&&e.onProgress(w,!0,s),u(s),a=null},a.onerror=()=>{e.onProgress&&e.onProgress(w,!1),h(),a=null},a.send(b)})}i(xe,"uploadFile");import{useEffect as Ee,useState as Ve}from"react";function ye(e,t){let[o,c]=Ve(null);return Ee(()=>{let d="";return e&&t&&t(e)&&(d=URL.createObjectURL(e),c(d)),()=>{URL.revokeObjectURL(d)}},[e,t]),o}i(ye,"useObjectUrl");import{Fragment as Ne,jsx as n,jsxs as C}from"react/jsx-runtime";function he(e){let{disabled:t,acceptLabel:o,isDragging:c,events:d,files:y,removeFile:f,openFileDialogButton:F,readOnly:r,style:m,className:p,inputFile:l}=e,u=y.length>0,h=u&&n(pe,{flexDirection:"column",flex:"fluid",p:"large",children:y.map(a=>n(ve,{removeFile:f,readOnly:r,...a},a.id))});return C(ce,{...d,style:m,className:p,active:c,disabled:t,readOnly:r,borderRadius:"md",bgColor:"surface.sunken",overflow:"hidden",deep:2,children:[l,C(v,{cq:{md:{flexDirection:"row",height:300,maxHeight:300}},children:[C(Fe,{gap:"small",flex:"fluid",cq:u?{md:{flex:"initial"}}:void 0,p:"large",bgColor:"deepLight",justifyContent:"center",alignItems:"center",children:[C(v,{gap:"xs",alignItems:"center",children:[n(O,{icon:B,size:16,color:r||t?"ink.disabled":"secondary"}),o&&n(I,{variant:"meta",fontWeight:"bold",children:o})]}),!r&&C(Ne,{children:[n(I,{variant:"p",children:"Arraste e solte aqui"}),n(I,{variant:"p",fontWeight:"bold",children:"ou"}),F]})]}),h]}),c&&C(N,{absoluteFill:!0,children:[n(q,{absoluteFill:!0,bgColor:"surface.paper"}),C(v,{gap:"small",justifyContent:"center",alignItems:"center",p:8,children:[n(O,{icon:B,color:"information.dark",size:9}),n(I,{variant:"p",color:"information.dark",children:"Arraste e solte aqui"})]})]})]})}i(he,"UploadCardRegular");function be(e){let{disabled:t,isDragging:o,events:c,files:d,removeFile:y,style:f,className:F,readOnly:r,openFileDialogButton:m,inputFile:p}=e;return C(ge,{...c,style:f,className:F,active:o,disabled:t,readOnly:r,borderRadius:"md",bgColor:"surface.sunken",overflow:"hidden",p:"large",medias:{xs:{gap:"large"},sm:{columns:"max-content 1fr"}},children:[p,n(v,{flexDirection:"row",justifyContent:"start",alignItems:"start",children:m}),n(Ce,{medias:{xs:{gap:"medium",columns:"repeat(auto-fill, minmax(240px, 1fr))"}},children:d.map(l=>n(ve,{removeFile:y,readOnly:r,...l},l.id))}),o&&C(N,{children:[n(q,{}),C(v,{flexDirection:"row",gap:"small",justifyContent:"center",alignItems:"center",children:[n(O,{icon:B,color:"information.dark",size:6}),n(I,{variant:"p",children:"Arraste e solte aqui"})]})]})]})}i(be,"UploadCardCompact");function ve({removeFile:e,readOnly:t,...o}){let c=o.uploadLoaded?`${o.uploadLoaded} de`:"";return C(D,{medias:{xs:{gap:"micro",columns:"2rem 1fr"}},children:[n(je,{...o}),C(v,{children:[C(v,{flexDirection:"row",justifyContent:"between",children:[n(fe,{variant:"meta",children:n("b",{children:o.fileName})}),!t&&n(ee,{onClick:()=>e(o.id),icon:n(O,{icon:ae}),variant:"linked"})]}),o.uploadPercentage&&n(ue,{style:{backgroundSize:o.uploadPercentage}}),C(v,{flexDirection:"row",justifyContent:"between",children:[n(I,{variant:"meta",children:`${c} ${o.fileSize}`}),o.uploadPercentage&&n(I,{variant:"meta",children:`Enviando ${o.uploadPercentage}`})]})]})]})}i(ve,"FileItemComponent");function je({file:e}){let t=ye(e,o=>o.type.startsWith("image"));return t?n(z,{children:n(J,{src:t,cover:!0})}):e.name.endsWith(".pdf")?n(z,{children:n(O,{icon:re})}):n(z,{children:n(O,{icon:ne})})}i(je,"Preview");import{useState as qe}from"react";function Ie(e){let[t,o]=qe({files:[],type:null,payload:null});return{files:t,setInitialFiles:i(r=>{var u;let m=$(r,e.maxSize),l={files:H(m),type:"ADD_INITIAL_FILES"};(u=e.onChange)==null||u.call(e,l),o(l)},"setInitialFiles"),removeFile:i(r=>{var p;let m={type:"REMOVE",files:t.files.filter(l=>l.id!==r),payload:t.files.find(l=>l.id===r)};(p=e.onChange)==null||p.call(e,m),o(m)},"removeFile"),removeAll:i(()=>{var m;let r={files:[],type:"REMOVE"};(m=e.onChange)==null||m.call(e,r),o(r)},"removeAll"),addFiles:i(r=>{var h;let m=$(r,e.maxSize),p=H(m),l=[...t.files,...p],u={files:l,type:"ADD",payload:p};e.single&&(l=p,u={files:l,type:"REPLACE",payload:l[0]}),(h=e.onChange)==null||h.call(e,u),o(u)},"addFiles"),updateFileProgress:i((r,m,p,l)=>{var s;let u=t.files.find(g=>g.id===r),h=i(()=>({uploadCompleted:p,uploadError:!p,uploadResponse:l||void 0}),"uploadResponse"),b={...u,...m!==void 0?i(()=>({uploadLoaded:M(m),uploadPercentage:`${Math.min(m/u.file.size*100,100).toFixed(0)}%`}),"progressStatus")():{},...p!==void 0?h():{}},w={files:t.files.map(g=>g.id===b.id?b:g),type:"UPDATE",payload:b};(s=e.onChange)==null||s.call(e,w),o(w)},"updateFileProgress")}}i(Ie,"useFileState");import{jsx as A}from"react/jsx-runtime";var _e=Me((e,t)=>{let{accept:o,maxSize:c,singleFile:d,uploadConfig:y,onUnsupportedFile:f,customButton:F,style:r,className:m,onChange:p,initialFiles:l,name:u}=e,[h,a]=Ze(!1),{active:b,enable:R,disable:w}=te(),{files:s,setInitialFiles:g,addFiles:P,removeFile:T,removeAll:Pe,updateFileProgress:W}=Ie({single:d,maxSize:c,onChange:p}),{getFiles:Ue}=ie({accept:o,single:d,onFilesSelect:P,onUnsupportedFile:f}),{isDragging:G,events:Se}=oe({accept:o,single:d,onDrop:P});He(()=>{let S=Array.isArray(l)?l.length>0:!!l;!h&&!s.files.length&&S&&(a(!0),g(l))},[h,a,l,g,s.files]);let Oe=$e(async S=>{if(s.files.length){R();let De=s.files.map(({id:Le,file:ke})=>xe({file:ke,fieldName:S.formDataFileKey||"file",requestConfig:{...y,...S},onProgress:i((Be,ze,Ae)=>{W(Le,Be,ze,Ae)},"onProgress")})),Te=await Promise.all(De);return w(),Te}return[]},[s.files,y,R,W,w]);We(t,()=>({submit:Oe,addFiles:P,removeFile:T,removeAll:Pe,files:s.files}));let L=Ge(null),E=i(()=>{var S;(S=L==null?void 0:L.current)==null||S.click()},"openFileDialog"),Re=F?F({files:s.files,isDragging:G,openFileDialog:E,isSubmitting:b}):A(Q,{onClick:E,variant:"outlined",color:"secondary",size:"small",disabled:e.readOnly||e.disabled||b,isLoading:b,type:"button",children:e.buttonText||"Enviar arquivos"}),Z={...e,...!e.readOnly&&{events:Se,isDragging:G},files:s.files,style:r,className:m,removeFile:T,openFileDialog:E,openFileDialogButton:Re,name:u},_=A(se,{type:"file",isHidden:!0,position:"absolute",name:u,id:u,ref:L,onChange:Ue,multiple:!d,accept:Array.isArray(o)?o.join(","):void 0});return e.compact?A(be,{...Z,inputFile:_}):A(he,{...Z,inputFile:_})});_e.displayName="UploadCard";import{useCallback as Ke,useState as we}from"react";var $t=i(()=>{let[e,t]=we([]),[o,c]=we([]);return{onFilesChange:Ke(f=>{if(!f.payload)return;let{payload:F}=f;f.type==="ADD"?c(r=>V(r,F)):f.type==="REMOVE"&&t(r=>V(r,F))},[]),removedFiles:e,addedFiles:o,clear:i(f=>{f==="removedFiles"&&t([]),f==="addedFiles"&&c([])},"clear")}},"useFileControl");export{ce as a,N as b,q as c,D as d,pe as e,fe as f,ue as g,z as h,ge as i,Fe as j,Ce as k,_e as l,$t as m};
@@ -1 +0,0 @@
1
- import{b as u}from"./chunk-IK5Z5C2R.esm.js";import{e as p}from"./chunk-XTY6DXMK.esm.js";import{b as C}from"./chunk-BNB3KNKE.esm.js";import{b as S}from"./chunk-VCMHX5VK.esm.js";import{b as c}from"./chunk-6RVYBZSW.esm.js";import{b as y}from"./chunk-W2QR36MB.esm.js";import{b as f}from"./chunk-QYL6LECA.esm.js";import{b as s}from"./chunk-WBRRRDIA.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var d=["cq"],h=["xs","sm","md","lg","xl"],Q=t((r,e)=>{let o={theme:e};return{...C(r)(),...f(r)(o),...c(r)(o),...S(r)(o),...y(r)(o),...p(r)(o),...u(r)(o),...s(r)(o)}},"getStyles"),j=t(r=>e=>{let{theme:o,...F}={...r,...e},{cq:n}=F;if(!n)return{};let i={};return h.forEach(m=>{let a=n[m];a&&(i[o.containerSizes.up(m)]=Q(a,o))}),i},"ContainerQueryFactory");export{d as a,j as b};
@@ -1,4 +0,0 @@
1
- import{a as g}from"./chunk-TBHGVERY.esm.js";import{b as p,c as f}from"./chunk-66KNGOWM.esm.js";import{g as u}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var I=o(({size:t,dimensions:r})=>{if(t)return{width:t,height:t};if(r){let{width:e,height:n,ratio:i}=r;if(n)return{width:e,height:n};if(i)return typeof e=="number"?{width:e,height:e/i}:e.endsWith("px")?{width:e,height:`calc(${e} / ${i})`}:{width:e,height:"auto"}}return{width:"1em",height:"1em"}},"getComputedSize"),x=o(t=>`fill: ${t.colors.getColor(t.colors.danger)};`,"getFillProps"),l=o(t=>typeof t=="number"&&Number.isFinite(t)?t:void 0,"toNativeLength"),C=o(({size:t,dimensions:r})=>{if(t!==void 0){let e=l(t);return e===void 0?{}:{width:e,height:e}}if(r){let e=l(r.width);if(e===void 0)return{};if(r.height!==void 0){let n=l(r.height);return n===void 0?{}:{width:e,height:n}}if(r.ratio)return{width:e,height:e/r.ratio}}return{}},"getNativeDims"),c=u("svg").attrs(t=>C(t)).withConfig({shouldForwardProp:p}).withConfig({componentId:"sc-16f7fwn-0"})([""," "," ",""],t=>({...I(t)}),({error:t,theme:r})=>t&&x(r),g({})),b=o(t=>`transform: ${t};`,"getTransformProps"),m=f("g").withConfig({componentId:"apollion-svg-g"})`
2
- fill: ${({fill:t,theme:r})=>t||r.colors.getColor(r.colors.main)};
3
- ${({transform:t})=>t&&b(t)}
4
- `,s=f("path").withConfig({componentId:"apollion-svg-path"})``;import{jsx as d,jsxs as G}from"react/jsx-runtime";import{createElement as F}from"react";var S=o(({transform:t,fill:r,paths:e,fillAll:n,error:i,viewBox:v,title:h,...y})=>G(c,{viewBox:v,error:i,...y,children:[h&&d("title",{children:h}),d(m,{transform:t,fill:r,children:o(()=>e&&e.map(a=>{let{fill:w,...D}=a,P=n?void 0:w;return F(s,{...D,key:a.d,fill:P})}),"RenderPaths")()})]}),"SvgComponent");S.displayName="Svg";export{C as a,c as b,m as c,s as d,S as e};
@@ -1 +0,0 @@
1
- import{a as d}from"./chunk-PJX5WGQP.esm.js";import{a as f}from"./chunk-ZXGZNZQN.esm.js";import{i as H}from"./chunk-6G22RNUO.esm.js";import{g as c}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var A=n(({theme:t,disabled:y,variant:r})=>{let e=t.colors.ink.primary,a=t.colors.ink.secondary;if(r!=="default"){let{base:g,dark:l}=r==="success"?t.colors.success:t.colors.danger;e=l,a=g}return y&&(e=t.colors.ink.disabled),{"--colorLabel":e,"--colorHint":a}},"getFieldColor"),v=c(f).withConfig({componentId:"sc-1iiu1tt-0"})(["width:100%;justify-content:center;",";"],A),k=c(d).withConfig({componentId:"sc-1iiu1tt-1"})(["color:var(--color-label);"]),I=c(d).withConfig({componentId:"sc-1iiu1tt-2"})(["color:var(--color-label);"]),L=c(d).withConfig({componentId:"sc-1iiu1tt-3"})(["color:var(--color-hint);min-height:","em;"],({theme:t})=>t.font.lineHeight.tight);import{jsx as s,jsxs as O}from"react/jsx-runtime";var j=n(({name:t,value:y,label:r,inputProps:e,hintText:a,variant:g,setFieldValue:l,readOnly:m,readOnlyText:z="apenas leitura",hintErrorText:E="Something went wrong",hintSuccessText:R="Everything is alright",...o})=>{var w;let V=o.component,x=!!o.errors||o.error,b=!!o.success,h=(w=e==null?void 0:e.readOnly)!=null?w:m,u=n(i=>{if(!m&&(e!=null&&e.onChange&&e.onChange(i),l)){let S=i;H(i)&&(S=i.target.type==="checkbox"||i.target.type==="radio"?i.target.checked:i.target.value),l(t,S)}},"onChange"),D=n(()=>{if(m)return;if(typeof(e==null?void 0:e.reset)=="function"){e.reset();return}let i=e==null?void 0:e.type;l&&l(t,i==="checkbox"||i==="radio"?!1:"")},"resetField"),B=typeof o.errors=="string"?o.errors:E,C=x&&B||b&&R||a,F=g||x&&"error"||b&&"success"||"default",N=!r||o.hideLabel,W=h||o.optionalText,q=h?z:o.optionalText,T=e&&e.disabled;return O(v,{area:o.area,alignSelf:o.alignSelf,justifySelf:o.justifySelf,variant:F,disabled:T,gap:"micro",...o.fieldProps,children:[O(f,{flexDirection:"row",justifyContent:"between",isHidden:N,children:[s(k,{as:"label",htmlFor:t,fontSize:"xs",fontWeight:"bold",lineHeight:"regular",children:r}),W&&s(I,{fontStyle:"italic",lineHeight:"tight",fontSize:"micro",children:q})]}),s(V,{...e,id:t,name:t,value:y,variant:F,readOnly:h,onChange:u,reset:D}),s(L,{lineHeight:"tight",fontSize:"micro",isHidden:T||!C,children:C})]})},"FieldComponent");j.displayName="Field";export{j as a};
@@ -1 +0,0 @@
1
- import{a as i,b as A,c as K}from"./chunk-IMS5TWF3.esm.js";import{a as V}from"./chunk-4DW5H7JW.esm.js";import{a as x,b as F}from"./chunk-YKWTGDHO.esm.js";import{c as O}from"./chunk-KZTG5TDM.esm.js";import{a as _}from"./chunk-P3SIJHYM.esm.js";import{f as z}from"./chunk-HSKYQ6VP.esm.js";import{a as G}from"./chunk-BE2JDTVA.esm.js";import{b as k}from"./chunk-4D6MGQNS.esm.js";import{ga as W}from"./chunk-DAT6GD4T.esm.js";import{f as E}from"./chunk-PBYT3TNP.esm.js";import{a as H,e as P}from"./chunk-PJX5WGQP.esm.js";import{g as R}from"./chunk-L7A7RA56.esm.js";import{a as L}from"./chunk-LZEBVXWL.esm.js";import{a as y}from"./chunk-ZXGZNZQN.esm.js";import{a as h}from"./chunk-3HLIX4CZ.esm.js";import{a as T}from"./chunk-J6F4PMW4.esm.js";import{c as B}from"./chunk-G5Z7USXC.esm.js";import{b as f,g as s}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var io=f(["max-width:",";min-width:",";"],i.small.max,i.small.min),mo=f(["max-width:",";min-width:",";"],i.base.max,i.base.min),so=f(["max-width:",";min-width:",";"],i.medium.max,i.medium.min),co=f(["max-width:",";min-width:",";"],i.large.max,i.large.min),po=f(["width:",";"],A);function uo({size:o}){switch(o){case"small":return io;case"medium":return so;case"large":return co;default:return mo}}r(uo,"modalSize");function fo({variant:o,theme:t}){let a=t.colors[o];return f(["--baseColor:",";--lightColor:",";--actionColor:",";"],a.base,a.light,a.action)}r(fo,"modalVariantColor");var N=s(h).attrs({p:"large",borderRadius:"md",bgColor:"surface.overlay"}).withConfig({componentId:"sc-8jjm43-0"})(["",";",";","{",";}"],po,fo,({theme:o})=>o.breakpoints.up("sm"),uo),Q=s(y).withConfig({componentId:"sc-8jjm43-1"})(["max-height:",";overflow:hidden;"],K),U=s(y).withConfig({componentId:"sc-8jjm43-2"})(["& ","{flex:1;}& ","{padding:0.3rem;color:var(--baseColor);&:only-child{margin-left:auto;}}& ",":active{color:var(--actionColor);background-color:var(--lightColor);}& ",":hover{background-color:var(--lightColor);}"],H,x,x,x),X=s(h).withConfig({componentId:"sc-8jjm43-3"})(["flex:1;display:flex;overscroll-behavior:none;overflow:hidden;"]),Y=s(h).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);}}"]),Z=s(h).withConfig({componentId:"sc-8jjm43-5"})(["z-index:",";display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;right:0;bottom:0;"],({theme:o})=>R(o).modal),$=s(h).withConfig({componentId:"sc-8jjm43-6"})(["opacity:0.8;will-change:opacity;"]);import b,{cloneElement as go,isValidElement as ho,useEffect as Co,useRef as yo,useState as Mo}from"react";import{createPortal as xo}from"react-dom";import{Fragment as vo,jsx as e,jsxs as M}from"react/jsx-runtime";var q=r(({isOpen:o,onDismiss:t,...a})=>{if(!o&&!t)throw new Error('You must provide "isOpen" and "onDismiss" if not using "trigger" prop.');let[l,c]=Mo(!1),d=yo(null),{mounted:n,state:m,ref:p}=O(o!=null?o:!1);return Co(()=>{c(!0)},[]),_(d,{active:!!(o&&l&&n),onEscape:t}),!l||!B?null:xo(n?M(Z,{"data-testid":"modal-container",children:[e($,{absoluteFill:!0,bgColor:"surface.scrim","data-testid":"modal-overlay",onClick:t,motion:"fade","data-state":m}),e(wo,{ref:g=>{d.current=g,p(g)},motionState:m,onDismiss:t,...a})]}):null,B)},"ModalBaseComponent"),bo=r(({defaultOpen:o,trigger:t,isOpen:a,onDismiss:l,onModalOpen:c,...d})=>{let{active:n,disable:m,enable:p,toggle:g}=G(o,{onActive:c});return(a||l)&&T.warn('"isOpen" and "onDismiss" has no effect while using "trigger" prop'),M(vo,{children:[r(()=>{let u=null;if(typeof t=="function"&&(u=t({isOpen:n,open:p})),ho(t)&&(u=go(t,{onClick:g})),u===null)throw new Error('"trigger" prop is not a valid element');return u},"renderTrigger")(),e(q,{isOpen:n,onDismiss:m,...d})]})},"ModalTriggerVariant"),wo=b.forwardRef(r(function({noCloseButton:t,primaryButton:a,secondaryButton:l,primaryText:c,secondaryText:d,onDismiss:n,primaryAction:m,secondaryAction:p,children:g,tagline:w,variant:u,footer:v,title:S,size:oo,icon:D,motionState:eo,closeLabel:to="Fechar"},no){let{isMobile:I}=z(),j=b.useId(),ro=r(()=>{m({close:n})},"handlePrimary"),ao=r(()=>{p({close:n})},"handleSecondary"),lo=r(()=>{let C={onClick:ro,fullWidth:v==="full"||I,"data-testid":"modal-confirm-button"};return a?b.cloneElement(a,C):e(E,{color:u,...C,children:c})},"renderPrimaryButton");return e(N,{ref:no,role:"dialog","aria-modal":"true","aria-labelledby":S?j:void 0,tabIndex:-1,size:oo,variant:u,motion:"sheet","data-state":eo,children:M(Q,{gap:"medium",children:[M(U,{gap:"xs",children:[e(L,{opener:D&&e(Y,{justifyContent:"center",alignItems:"center",p:"micro",children:D}),closer:!t&&e(F,{onClick:n,"data-testid":"modal-close-button","aria-label":to,icon:e(k,{icon:W}),variant:"linked",color:"secondary",size:"large",alignSelf:"start"}),children:S&&e(P,{id:j,variant:"h4",area:"title",color:"ink.primary",text:S})}),w&&e(P,{variant:"meta",color:"secondary.dark",area:"tagline",children:w})]}),e(X,{py:"medium",children:e(V,{children:g})}),(m||p)&&M(y,{flexDirection:I?"column-reverse":"row",justifyContent:v==="expanded"?"between":"end",gap:"medium",children:[p&&r(()=>{if(v==="full")return null;let C={onClick:ao,fullWidth:I,"data-testid":"modal-cancel-button"};return l?b.cloneElement(l,C):e(E,{variant:"outlined",color:"secondary",...C,children:d})},"renderSecondaryButton")(),m&&lo()]})]})})},"ModalDialog")),J=r(({noCloseButton:o=!1,secondaryText:t="Cancelar",primaryText:a="Confirmar",variant:l="primary",footer:c="right",...d})=>{let n={noCloseButton:o,secondaryText:t,primaryText:a,variant:l,footer:c,...d};return n!=null&&n.trigger?e(bo,{...n}):e(q,{...n})},"ModalComponent");J.displayName="Modal";export{N as a,Q as b,U as c,X as d,Y as e,Z as f,$ as g,J as h};
@@ -1 +0,0 @@
1
- import{c as f}from"./chunk-6O6KKD7F.esm.js";import{a as s}from"./chunk-PJX5WGQP.esm.js";import{a as p}from"./chunk-3HLIX4CZ.esm.js";import{b as d,g as l}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var a=l.input.withConfig({componentId:"sc-truao3-0"})(["position:absolute;left:0;top:0;margin:0;z-index:1;opacity:0;"]);a.displayName="input";var r=l(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 S({variant:o,$color:i,theme:t}){let e=f(t,o,i);return d(["color:",";& > ","{border:2px solid ",";&::before{background:",";}}&:hover > ",",&:focus > ","{border-color:",";}& > ",":checked ~ ","{border-color:",";box-shadow:",";}"],e.dark,r,e.dark,e.base,r,r,e.action,a,r,e.base,t.depth("level-zero"))}n(S,"inputVariantStyle");function C(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(C,"getDisabledStyle");var m=l(s).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),S,({theme:o,disabled:i})=>i&&C(o),a,r);import{jsx as c,jsxs as k}from"react/jsx-runtime";var b=n(({id:o,disabled:i,label:t=null,labelProps:e,variant:u="default",color:y,area:g,alignSelf:h,justifySelf:x,...R})=>k(m,{as:"label",htmlFor:o,variant:u,$color:y,disabled:i,area:g,alignSelf:h,justifySelf:x,children:[c(a,{...R,type:"radio",id:o,disabled:i}),c(r,{}),typeof t=="string"?c(s,{fontSize:"small",color:"ink.primary",...e,children:t}):t]}),"RadioComponent");b.displayName="Radio";export{a,r as b,m as c,b as d};
@@ -1,33 +0,0 @@
1
- import{a as A,b as $,c as z,d as C,g as I}from"./chunk-K6S7ZGCD.esm.js";import{a as g}from"./chunk-MFYH5ECV.esm.js";import{a as b}from"./chunk-ZXGZNZQN.esm.js";import{c as f}from"./chunk-66KNGOWM.esm.js";import{d as y}from"./chunk-RWLJNXLX.esm.js";import{b as S}from"./chunk-IK5Z5C2R.esm.js";import{b as T}from"./chunk-VCMHX5VK.esm.js";import{b as h}from"./chunk-6RVYBZSW.esm.js";import{b as p}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";function w({theme:e,autoResize:l,rows:t,maxRows:a}){if(!l)return null;let r=e.spacing("small"),s=e.border.borderWidth.thin,o=n(m=>`calc((${m} * 1lh) + (2 * ${r}) + (2 * ${s}))`,"blockSize");return p(["field-sizing:content;min-block-size:",";",""],o(t!=null?t:2),a?p(["max-block-size:",";"],o(a)):null)}n(w,"autoResizeStyle");var F=f("textarea").withConfig({componentId:"apollion-textarea"})`
2
- -webkit-appearance: none;
3
- width: 100%;
4
- outline: none;
5
- display: block;
6
- transition: ${({theme:e})=>e.animation.transitions.short};
7
-
8
- /* Focus is otherwise a border-color change alone, invisible in forced-colors mode. */
9
- ${g()}
10
-
11
- ${w}
12
-
13
- ${A}
14
-
15
- ${C}
16
-
17
- ${z}
18
-
19
- ${$}
20
-
21
- ${y({borderRadius:"xs",borderWidth:"thin",borderStyle:"solid"})}
22
- ${S({fontFamily:"main"})}
23
- ${T({p:"small"})}
24
- ${h({bgColor:"surface.paper"})}
25
- `,R=f(b).withConfig({componentId:"apollion-textarea-counter"})`
26
- position: absolute;
27
- right: 0;
28
- bottom: 0;
29
- line-height: 1.2rem;
30
- font-size: ${({theme:e})=>e.font.fontSize.micro};
31
- transform: translateY(100%);
32
- color: ${({theme:e})=>e.colors.ink.primary};
33
- `;import{forwardRef as M,useState as N}from"react";import{jsx as j,jsxs as k}from"react/jsx-runtime";var Y={expansive:{fontSize:"medium",py:"medium"},medium:{fontSize:"medium",py:"small"},compact:{fontSize:"medium",py:"xs"},micro:{py:"micro",fontSize:"small",borderRadius:"micro"}},P=M(({value:e,defaultValue:l,onChange:t,maxLengthHint:a="characters left",variant:r,resize:s=!1,autoResize:o=!1,maxRows:m,size:V="medium",area:D,alignSelf:E,justifySelf:W,...c},L)=>{let v=r!==void 0,u=r!=null?r:"default",i=e!==void 0,[d,B]=N(l||""),H=i?e:d;return k(I,{variant:u,area:D,alignSelf:E,justifySelf:W,children:[j(F,{value:i?e:d,defaultValue:void 0,variant:u,$variantExplicit:v,autoResize:o,maxRows:m,onChange:n(x=>{i||B(x.target.value),t&&t(x)},"handleChange"),...Y[V],...c,ref:L,style:{resize:o?"none":s?"both":"none"}}),c.maxLength&&k(R,{children:[Number(c.maxLength)-(H||"").length," ",a]})]})});P.displayName="TextArea";export{F as a,R as b,P as c};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-GZONWSRB.esm.js";var k=["flex","gap","flexDirection","flexBasis","justifyContent","alignItems","alignContent","justifyItems","placeItems","wrap","alignSelf","grow","shrink","order","justifySelf"],C={auto:"1 1 auto",fluid:"1 1 0%",initial:"0 1 auto",none:"none"},S={start:"flex-start",end:"flex-end",center:"center",between:"space-between",around:"space-around",evenly:"space-evenly"},w={start:"flex-start",end:"flex-end",center:"center",baseline:"baseline",stretch:"stretch"},h={start:"flex-start",end:"flex-end",center:"center",between:"space-between",around:"space-around",evenly:"space-evenly",stretch:"stretch"},p={start:"start",end:"end",center:"center",stretch:"stretch"},A={"flex-start":"start","flex-end":"end","space-between":"between","space-around":"around","space-evenly":"evenly"},o=a((e,t,l)=>{var s;if(t==null)return;let r=(s=A[t])!=null?s:t,n=l[r];return n},"resolveAlignment"),b=a(e=>{let t=o("justifyContent",e.justifyContent,S),l=o("alignItems",e.alignItems,w),r=o("alignContent",e.alignContent,h),n=o("justifyItems",e.justifyItems,p),s=o("placeItems",e.placeItems,p);return{...t&&{justifyContent:t},...l&&{alignItems:l},...r&&{alignContent:r},...n&&{justifyItems:n},...s&&{placeItems:s}}},"alignmentCss"),v={wrap:"wrap",nowrap:"nowrap",reverse:"wrap-reverse"},O={start:"flex-start",end:"flex-end",auto:"auto",center:"center",stretch:"stretch"},P=a(e=>typeof e=="string"?{first:-999,last:999}[e]:e,"flexOrderMap"),T=a(e=>({theme:t,...l})=>{let{flex:r,flexDirection:n,flexBasis:s,gap:i,justifyContent:g,alignItems:d,alignContent:u,justifyItems:m,placeItems:y,wrap:c,justifySelf:F,alignSelf:f,grow:I,shrink:j,order:x}={...e,...l};return{...i!=null?{gap:t.spacing(i)}:void 0,...r&&{flex:C[r]},...b({justifyContent:g,alignItems:d,alignContent:u,justifyItems:m,placeItems:y}),...f&&{alignSelf:o("alignSelf",f,O)},...c&&{flexWrap:v[c]},...x&&{order:P(x)},...j&&{flexShrink:1},...I&&{flexGrow:1},...n?{flexDirection:n}:{flexDirection:"column"},flexBasis:s,justifySelf:F}},"FlexFactory");export{k as a,o as b,b as c,O as d,T as e};
@@ -1 +0,0 @@
1
- import{c as E}from"./chunk-25A3FLAS.esm.js";import{a as D}from"./chunk-BE2JDTVA.esm.js";import{d as p}from"./chunk-6G22RNUO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import M,{lazy as N,Suspense as H,useCallback as S,useEffect as z,useState as T}from"react";import{Fragment as W,jsx as c,jsxs as B}from"react/jsx-runtime";var A=N(()=>import("./Dropdown.floating-4F6FTG44.esm.js")),b=t(({children:s,options:e,content:o,hoverable:d=!1,position:C="left",width:i,full:g,motion:P="scale"})=>{if(!e&&!o)throw new Error('Dropdown deve receber "content" ou "options" props');let m=p(s),u=e?"menu":"dialog",[r,v]=T(null),[y,k]=T(),{active:n,enable:f,disable:R,toggle:w}=D(!1),x=S(a=>v(a),[]);z(()=>{g&&r&&k(r.getBoundingClientRect().width)},[g,r]);let F=t(()=>{let a=m?s({isOpen:n,open:f,toggle:w}):s,l={ref:x,"aria-haspopup":u,"aria-expanded":n};return m||(l.onClick=w),d&&(l.onPointerEnter=f),M.cloneElement(a,l)},"renderTrigger"),L=t(()=>Array.isArray(e)?c(E,{gap:"zero",color:"primary.action",exclusive:!0,content:e}):p(o)?o({close:R}):o,"renderMenuContent");return B(W,{children:[F(),n&&c(H,{fallback:null,children:c(A,{referenceEl:r,open:n,onClose:R,position:C,hoverable:d,role:u,width:i!=null?i:y,motion:P,children:L()})})]})},"DropdownComponent");b.displayName="Dropdown";export{b as a};
@@ -1 +0,0 @@
1
- import{b as c}from"./chunk-4D6MGQNS.esm.js";import{b as g}from"./chunk-EF3LT3PN.esm.js";import{e as h}from"./chunk-PJX5WGQP.esm.js";import{a as s}from"./chunk-LCCVFIPZ.esm.js";import{a as f}from"./chunk-3HLIX4CZ.esm.js";import{g as p}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";function u(t){return t==="extraLarge"?"xl":t==="giant"?"xxl":t}a(u,"getIconSize");function x({theme:t,size:i,$label:n}){let{fontSize:o}=t.font,e=(n==null?void 0:n.length)||0;switch(i){case"small":{let r=s(t,"medium");return{width:r,height:r,fontSize:o.micro}}case"large":{let r=s(t,"xl");return{width:r,height:r,fontSize:e===1?o.xxl:o.large}}case"extraLarge":{let r=s(t,"xxl");return{width:r,height:r,fontSize:e===1?o.gargantua:o.giant}}case"giant":{let r=s(t,"giant");return{width:r,height:r,fontSize:o.gargantua}}default:{let r=s(t,"large");return{width:r,height:r,fontSize:e===1?o.medium:o.xs}}}}a(x,"getSizes");var d=p(f).withConfig({componentId:"sc-k7r87e-0"})(["display:flex;",""],x);import{jsx as m}from"react/jsx-runtime";function l({imgSrc:t,icon:i,size:n,label:o,alt:e}){return t?m(g,{width:"100%",height:"100%",src:t,alt:e!=null?e:"","data-testid":"avatar-image"}):i?m(c,{icon:i,size:u(n),"data-testid":"avatar-icon"}):m(h,{textTransform:"uppercase",children:o})}a(l,"getContent");var v=a(({size:t,icon:i,imgSrc:n,label:o,alt:e,...r})=>m(d,{alignItems:"center",justifyContent:"center",overflow:"hidden",borderRadius:"circular",bgColor:"surface.sunken",color:"primary.base",$label:o,size:t,...!n&&!i&&!!o&&{role:"img","aria-label":e!=null?e:o},...r,children:l({size:t,icon:i,imgSrc:n,label:o,alt:e})}),"Avatar");v.displayName="Avatar";export{v as a};
@@ -1 +0,0 @@
1
- import{b as t}from"./chunk-3HLIX4CZ.esm.js";import{g as o}from"./chunk-AXUWC2WH.esm.js";var e=o(t).withConfig({componentId:"sc-atg43m-0"})(["display:flex;"]);export{e as a};