@apollion-dsi/core 4.2.0 → 4.3.1

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 (356) hide show
  1. package/CHANGELOG.md +1363 -0
  2. package/lib/chunks/{chunk-IRNKRTAS.esm.js → chunk-2KJKXHNI.esm.js} +1 -1
  3. package/lib/chunks/chunk-2SHYFDQJ.esm.js +1 -0
  4. package/lib/chunks/chunk-2SPVSCZD.esm.js +1 -0
  5. package/lib/chunks/chunk-2UZJN6MC.esm.js +1 -0
  6. package/lib/chunks/chunk-2XDK6NU7.esm.js +1 -0
  7. package/lib/chunks/chunk-2YY7A36W.esm.js +7 -0
  8. package/lib/chunks/chunk-36DSWGPF.esm.js +1 -0
  9. package/lib/chunks/{chunk-647HGDL2.esm.js → chunk-3DBECAG6.esm.js} +1 -1
  10. package/lib/chunks/chunk-3EOSES4S.esm.js +1 -0
  11. package/lib/chunks/chunk-3GNAZ6RE.esm.js +1 -0
  12. package/lib/chunks/chunk-3MTWHDSL.esm.js +1 -0
  13. package/lib/chunks/chunk-3XA4AMQO.esm.js +1 -0
  14. package/lib/chunks/chunk-3XYKHZQ7.esm.js +1 -0
  15. package/lib/chunks/chunk-45A4O6KJ.esm.js +1 -0
  16. package/lib/chunks/chunk-465GVD4M.esm.js +1 -0
  17. package/lib/chunks/chunk-4CULNDXB.esm.js +1 -0
  18. package/lib/chunks/chunk-4KIBOLH7.esm.js +1 -0
  19. package/lib/chunks/chunk-4QTXOCPV.esm.js +1 -0
  20. package/lib/chunks/chunk-4U3WQPBJ.esm.js +1 -0
  21. package/lib/chunks/chunk-4YCPDIRM.esm.js +1 -0
  22. package/lib/chunks/chunk-54QUAVTF.esm.js +1 -0
  23. package/lib/chunks/chunk-54SSYOYD.esm.js +3 -0
  24. package/lib/chunks/chunk-5JVXGQDO.esm.js +1 -0
  25. package/lib/chunks/chunk-5LDDQB4W.esm.js +39 -0
  26. package/lib/chunks/chunk-5MYNYSMN.esm.js +1 -0
  27. package/lib/chunks/chunk-5NJB5W4I.esm.js +5 -0
  28. package/lib/chunks/chunk-5REIPBPG.esm.js +1 -0
  29. package/lib/chunks/chunk-64KQOQC4.esm.js +1 -0
  30. package/lib/chunks/chunk-6G72BOTI.esm.js +1 -0
  31. package/lib/chunks/chunk-6JRXJ7MG.esm.js +1 -0
  32. package/lib/chunks/chunk-6NL46PCZ.esm.js +1 -0
  33. package/lib/chunks/chunk-6R7YWF2Z.esm.js +1 -0
  34. package/lib/chunks/chunk-6RPTXDUB.esm.js +1 -0
  35. package/lib/chunks/chunk-6SZWWC4Q.esm.js +1 -0
  36. package/lib/chunks/chunk-6TWTLAW6.esm.js +1 -0
  37. package/lib/chunks/chunk-7LP5XKKC.esm.js +1 -0
  38. package/lib/chunks/chunk-7OVK4XCS.esm.js +1 -0
  39. package/lib/chunks/chunk-7UZDT7GB.esm.js +1 -0
  40. package/lib/chunks/{chunk-UV4JLDXM.esm.js → chunk-7XEMCDIL.esm.js} +1 -1
  41. package/lib/chunks/{chunk-ML7UT5D4.esm.js → chunk-A2YKZFIC.esm.js} +1 -1
  42. package/lib/chunks/chunk-A7O6RO5P.esm.js +1 -0
  43. package/lib/chunks/chunk-AAZAZG7P.esm.js +1 -0
  44. package/lib/chunks/chunk-ADBW3XWG.esm.js +26 -0
  45. package/lib/chunks/{chunk-HZ2SC3K5.esm.js → chunk-AEQRNR7W.esm.js} +1 -1
  46. package/lib/chunks/chunk-AN3NCXEO.esm.js +1 -0
  47. package/lib/chunks/chunk-ASSLJNIX.esm.js +1 -0
  48. package/lib/chunks/{chunk-WOAHMAHX.esm.js → chunk-AUYB77M7.esm.js} +1 -1
  49. package/lib/chunks/chunk-AVZENFPL.esm.js +1 -0
  50. package/lib/chunks/chunk-AZBWA3B4.esm.js +1 -0
  51. package/lib/chunks/chunk-B7OYYZKE.esm.js +1 -0
  52. package/lib/chunks/chunk-BHNSYSNP.esm.js +1 -0
  53. package/lib/chunks/chunk-BRASYKXY.esm.js +1 -0
  54. package/lib/chunks/chunk-BT6SPTZZ.esm.js +1 -0
  55. package/lib/chunks/chunk-BVDH4EAW.esm.js +1 -0
  56. package/lib/chunks/chunk-C3Q2NI5Y.esm.js +1 -0
  57. package/lib/chunks/chunk-CI3LQ5Z4.esm.js +1 -0
  58. package/lib/chunks/chunk-CK44WPHP.esm.js +1 -0
  59. package/lib/chunks/chunk-COECHEDM.esm.js +1 -0
  60. package/lib/chunks/chunk-CVGYBYMT.esm.js +1 -0
  61. package/lib/chunks/chunk-CYURSPLT.esm.js +1 -0
  62. package/lib/chunks/chunk-DHT35FQI.esm.js +1 -0
  63. package/lib/chunks/chunk-DLSSYVEF.esm.js +1 -0
  64. package/lib/chunks/chunk-DNHRB3DD.esm.js +1 -0
  65. package/lib/chunks/chunk-DOTMXDHA.esm.js +1 -0
  66. package/lib/chunks/chunk-DX5SUG7X.esm.js +1 -0
  67. package/lib/chunks/chunk-E54PSDQJ.esm.js +1 -0
  68. package/lib/chunks/chunk-E7BQGRVC.esm.js +1 -0
  69. package/lib/chunks/chunk-ECG53OTX.esm.js +1 -0
  70. package/lib/chunks/chunk-EET35TCO.esm.js +1 -0
  71. package/lib/chunks/chunk-F4EQMQVX.esm.js +1 -0
  72. package/lib/chunks/{chunk-U52YU5MJ.esm.js → chunk-F4W6VVDR.esm.js} +1 -1
  73. package/lib/chunks/chunk-F6G4T4BC.esm.js +1 -0
  74. package/lib/chunks/chunk-FJYSLGUG.esm.js +1 -0
  75. package/lib/chunks/chunk-FU2BNX4H.esm.js +1 -0
  76. package/lib/chunks/chunk-GFWFGNY2.esm.js +1 -0
  77. package/lib/chunks/chunk-GHDTMBCC.esm.js +1 -0
  78. package/lib/chunks/chunk-GU2BMTY3.esm.js +1 -0
  79. package/lib/chunks/chunk-H3I27KWU.esm.js +1 -0
  80. package/lib/chunks/chunk-H6SPQGDR.esm.js +1 -0
  81. package/lib/chunks/chunk-H7A2HNAK.esm.js +1 -0
  82. package/lib/chunks/chunk-HALV3U5Q.esm.js +1 -0
  83. package/lib/chunks/chunk-HBNFXZF6.esm.js +1 -0
  84. package/lib/chunks/chunk-HGISQ7M2.esm.js +1 -0
  85. package/lib/chunks/chunk-HMF62LQQ.esm.js +34 -0
  86. package/lib/chunks/chunk-HVDUAZYD.esm.js +1 -0
  87. package/lib/chunks/chunk-HVWC77NL.esm.js +1 -0
  88. package/lib/chunks/chunk-HYYPCRHW.esm.js +1 -0
  89. package/lib/chunks/chunk-HZN744T5.esm.js +11 -0
  90. package/lib/chunks/chunk-I3GVQWLB.esm.js +1 -0
  91. package/lib/chunks/chunk-I4U5XMHR.esm.js +34 -0
  92. package/lib/chunks/chunk-I7ZFKBFU.esm.js +1 -0
  93. package/lib/chunks/chunk-IKTV35RB.esm.js +1 -0
  94. package/lib/chunks/chunk-ISAOLKJT.esm.js +11 -0
  95. package/lib/chunks/chunk-IWA4TZOX.esm.js +1 -0
  96. package/lib/chunks/chunk-JA3DGZX4.esm.js +1 -0
  97. package/lib/chunks/chunk-JCTTBIBO.esm.js +3 -0
  98. package/lib/chunks/chunk-JFUYVECK.esm.js +1 -0
  99. package/lib/chunks/chunk-JH5RXKZ2.esm.js +1 -0
  100. package/lib/chunks/chunk-JHHNSZJ4.esm.js +1 -0
  101. package/lib/chunks/chunk-JI7MAUMF.esm.js +1 -0
  102. package/lib/chunks/chunk-JQBQ6X4L.esm.js +1 -0
  103. package/lib/chunks/chunk-JR7YIS3H.esm.js +1 -0
  104. package/lib/chunks/chunk-JSUB6SAI.esm.js +1 -0
  105. package/lib/chunks/chunk-JURNGRC2.esm.js +1 -0
  106. package/lib/chunks/chunk-JXUDEW5J.esm.js +1 -0
  107. package/lib/chunks/chunk-JYC747DK.esm.js +1 -0
  108. package/lib/chunks/chunk-JYJB3XFZ.esm.js +1 -0
  109. package/lib/chunks/chunk-JZ2GRYKU.esm.js +1 -0
  110. package/lib/chunks/chunk-K4OTLUX6.esm.js +1 -0
  111. package/lib/chunks/chunk-K7LQ6B4H.esm.js +1 -0
  112. package/lib/chunks/chunk-KBGPPCMN.esm.js +1 -0
  113. package/lib/chunks/chunk-KFZOV7RP.esm.js +1 -0
  114. package/lib/chunks/chunk-KHRRTVU5.esm.js +1 -0
  115. package/lib/chunks/chunk-KLZX757F.esm.js +1 -0
  116. package/lib/chunks/chunk-KRF3FMDH.esm.js +1 -0
  117. package/lib/chunks/chunk-KUDPW647.esm.js +1 -0
  118. package/lib/chunks/chunk-KVDN4KYZ.esm.js +1 -0
  119. package/lib/chunks/chunk-KVKG7TA6.esm.js +1 -0
  120. package/lib/chunks/{chunk-KZAT23YY.esm.js → chunk-KWNMOR3V.esm.js} +1 -1
  121. package/lib/chunks/chunk-KY47BE3L.esm.js +11 -0
  122. package/lib/chunks/chunk-L5HTMWK3.esm.js +34 -0
  123. package/lib/chunks/chunk-LDAIPDF4.esm.js +1 -0
  124. package/lib/chunks/chunk-LF7E7QNQ.esm.js +39 -0
  125. package/lib/chunks/chunk-LJB6XGSJ.esm.js +1 -0
  126. package/lib/chunks/chunk-LJBLVEW3.esm.js +1 -0
  127. package/lib/chunks/chunk-LL6B4Q4R.esm.js +1 -0
  128. package/lib/chunks/chunk-LNZUAANS.esm.js +1 -0
  129. package/lib/chunks/chunk-LQLFJFW5.esm.js +1 -0
  130. package/lib/chunks/chunk-LVZPZN7J.esm.js +1 -0
  131. package/lib/chunks/chunk-M3FW2CUQ.esm.js +1 -0
  132. package/lib/chunks/chunk-M42E74U7.esm.js +7 -0
  133. package/lib/chunks/chunk-M4RSCRNV.esm.js +1 -0
  134. package/lib/chunks/chunk-MELVMDJS.esm.js +1 -0
  135. package/lib/chunks/chunk-MOVHB5R6.esm.js +1 -0
  136. package/lib/chunks/chunk-MQ6O5OZV.esm.js +1 -0
  137. package/lib/chunks/chunk-MRYAZXVW.esm.js +1 -0
  138. package/lib/chunks/chunk-MSYUZESJ.esm.js +1 -0
  139. package/lib/chunks/chunk-MWA2LY4C.esm.js +1 -0
  140. package/lib/chunks/chunk-NCDS76KS.esm.js +34 -0
  141. package/lib/chunks/chunk-NDJBKY6S.esm.js +1 -0
  142. package/lib/chunks/chunk-NEZEK6DI.esm.js +1 -0
  143. package/lib/chunks/chunk-NFH2KYS6.esm.js +39 -0
  144. package/lib/chunks/chunk-NKAD33SH.esm.js +7 -0
  145. package/lib/chunks/chunk-NNMANTYE.esm.js +1 -0
  146. package/lib/chunks/chunk-NQHACZA2.esm.js +1 -0
  147. package/lib/chunks/chunk-NRVKDR2H.esm.js +1 -0
  148. package/lib/chunks/chunk-NVFKTKHY.esm.js +1 -0
  149. package/lib/chunks/chunk-NWFODMOU.esm.js +1 -0
  150. package/lib/chunks/chunk-NZ7IRFNC.esm.js +3 -0
  151. package/lib/chunks/chunk-NZXX3OP5.esm.js +1 -0
  152. package/lib/chunks/chunk-O4SSOOVR.esm.js +1 -0
  153. package/lib/chunks/chunk-ODLNO4ZY.esm.js +1 -0
  154. package/lib/chunks/chunk-OFRYNRTE.esm.js +1 -0
  155. package/lib/chunks/chunk-OJ57H6MJ.esm.js +1 -0
  156. package/lib/chunks/chunk-OLURMBK7.esm.js +1 -0
  157. package/lib/chunks/chunk-OT6DKXSK.esm.js +1 -0
  158. package/lib/chunks/chunk-OURRSDSK.esm.js +1 -0
  159. package/lib/chunks/chunk-P2GR72UO.esm.js +3 -0
  160. package/lib/chunks/chunk-PBY237H5.esm.js +1 -0
  161. package/lib/chunks/chunk-PDLC7ADP.esm.js +1 -0
  162. package/lib/chunks/chunk-PLD34GGH.esm.js +1 -0
  163. package/lib/chunks/chunk-PLNB3X4T.esm.js +1 -0
  164. package/lib/chunks/chunk-PU64MH2S.esm.js +1 -0
  165. package/lib/chunks/chunk-QERJQEN4.esm.js +1 -0
  166. package/lib/chunks/chunk-QHTVTYNN.esm.js +1 -0
  167. package/lib/chunks/chunk-QNM5SXM3.esm.js +1 -0
  168. package/lib/chunks/chunk-QNPYZUVO.esm.js +1 -0
  169. package/lib/chunks/chunk-QS6Q6GHV.esm.js +11 -0
  170. package/lib/chunks/chunk-R2DFEC3N.esm.js +1 -0
  171. package/lib/chunks/chunk-R2GYRTGM.esm.js +1 -0
  172. package/lib/chunks/chunk-R4QAAHWP.esm.js +26 -0
  173. package/lib/chunks/chunk-R5SPL4S3.esm.js +1 -0
  174. package/lib/chunks/chunk-RHUIIG22.esm.js +1 -0
  175. package/lib/chunks/chunk-RKDE2LI7.esm.js +1 -0
  176. package/lib/chunks/chunk-RPBY7HBP.esm.js +1 -0
  177. package/lib/chunks/chunk-RUPBMPEV.esm.js +1 -0
  178. package/lib/chunks/chunk-RY7RJOZL.esm.js +1 -0
  179. package/lib/chunks/chunk-S2U4FRYY.esm.js +1 -0
  180. package/lib/chunks/chunk-SB25H273.esm.js +1 -0
  181. package/lib/chunks/chunk-SBYW6WBS.esm.js +1 -0
  182. package/lib/chunks/chunk-SIYL7VBP.esm.js +1 -0
  183. package/lib/chunks/chunk-SK2A2ORL.esm.js +1 -0
  184. package/lib/chunks/chunk-SKGADW2H.esm.js +1 -0
  185. package/lib/chunks/chunk-SWQTC4EJ.esm.js +1 -0
  186. package/lib/chunks/chunk-T3WYK7NJ.esm.js +1 -0
  187. package/lib/chunks/chunk-T5V5Q4OQ.esm.js +1 -0
  188. package/lib/chunks/chunk-T72PRHJO.esm.js +5 -0
  189. package/lib/chunks/chunk-TLVEHSRT.esm.js +1 -0
  190. package/lib/chunks/chunk-TXM2WOJQ.esm.js +11 -0
  191. package/lib/chunks/chunk-U2HIWP77.esm.js +1 -0
  192. package/lib/chunks/chunk-U66SZKJD.esm.js +39 -0
  193. package/lib/chunks/{chunk-YDNT43PU.esm.js → chunk-UCG2YEOT.esm.js} +1 -1
  194. package/lib/chunks/chunk-UTKTY7FV.esm.js +34 -0
  195. package/lib/chunks/chunk-UUPTRQIY.esm.js +1 -0
  196. package/lib/chunks/chunk-UZ7XKTKF.esm.js +26 -0
  197. package/lib/chunks/chunk-V3ULKCWJ.esm.js +1 -0
  198. package/lib/chunks/chunk-VASGJ75E.esm.js +5 -0
  199. package/lib/chunks/chunk-VCZTIJKQ.esm.js +1 -0
  200. package/lib/chunks/chunk-VM7X3PSR.esm.js +1 -0
  201. package/lib/chunks/chunk-VU67Q7IC.esm.js +1 -0
  202. package/lib/chunks/chunk-VUNN4DHK.esm.js +1 -0
  203. package/lib/chunks/chunk-VV4MXKUA.esm.js +1 -0
  204. package/lib/chunks/chunk-W7YMNIET.esm.js +1 -0
  205. package/lib/chunks/chunk-WAQEMQ3B.esm.js +1 -0
  206. package/lib/chunks/{chunk-2SJJL3C4.esm.js → chunk-WBATNNAP.esm.js} +1 -1
  207. package/lib/chunks/chunk-WHBPGXIC.esm.js +1 -0
  208. package/lib/chunks/chunk-WM2CMDXP.esm.js +1 -0
  209. package/lib/chunks/chunk-WOALLU3S.esm.js +39 -0
  210. package/lib/chunks/chunk-WOU7QPMN.esm.js +1 -0
  211. package/lib/chunks/chunk-WOZVCKNG.esm.js +1 -0
  212. package/lib/chunks/chunk-WU7I2JQ5.esm.js +1 -0
  213. package/lib/chunks/chunk-WWQY2YDB.esm.js +1 -0
  214. package/lib/chunks/chunk-WWZ35IZM.esm.js +1 -0
  215. package/lib/chunks/chunk-X2LHYMPI.esm.js +1 -0
  216. package/lib/chunks/chunk-X3NMNOPQ.esm.js +1 -0
  217. package/lib/chunks/chunk-XEUQ2ZZ7.esm.js +1 -0
  218. package/lib/chunks/chunk-XMBJFIWC.esm.js +1 -0
  219. package/lib/chunks/chunk-XNGGM6D6.esm.js +1 -0
  220. package/lib/chunks/chunk-XQFKZ32H.esm.js +5 -0
  221. package/lib/chunks/chunk-XSVOUWBC.esm.js +1 -0
  222. package/lib/chunks/chunk-Y23HEGMY.esm.js +1 -0
  223. package/lib/chunks/chunk-Y36YHL7V.esm.js +1 -0
  224. package/lib/chunks/chunk-YD3Z2NRS.esm.js +1 -0
  225. package/lib/chunks/chunk-YEDGHVZP.esm.js +1 -0
  226. package/lib/chunks/chunk-YHC57GR4.esm.js +1 -0
  227. package/lib/chunks/chunk-YHU6QYT4.esm.js +1 -0
  228. package/lib/chunks/chunk-YLANWXT5.esm.js +1 -0
  229. package/lib/chunks/chunk-YRGWNW2J.esm.js +1 -0
  230. package/lib/chunks/chunk-YYXB4LM2.esm.js +1 -0
  231. package/lib/chunks/chunk-ZMINZ3YX.esm.js +1 -0
  232. package/lib/chunks/chunk-ZOKGGTX5.esm.js +1 -0
  233. package/lib/chunks/chunk-ZQDA6U5L.esm.js +1 -0
  234. package/lib/chunks/chunk-ZWHJNG4B.esm.js +26 -0
  235. package/lib/containers/Base/index.esm.js +1 -1
  236. package/lib/containers/Card/index.esm.js +1 -1
  237. package/lib/containers/Content/index.esm.js +1 -1
  238. package/lib/containers/Flex/index.esm.js +1 -1
  239. package/lib/containers/Grid/index.esm.js +1 -1
  240. package/lib/containers/Notification/index.esm.js +1 -1
  241. package/lib/containers/Paper/index.esm.js +1 -1
  242. package/lib/containers/Scroll/index.esm.js +1 -1
  243. package/lib/containers/index.esm.js +1 -1
  244. package/lib/dataDisplay/DataTable/index.esm.js +1 -1
  245. package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
  246. package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
  247. package/lib/dataDisplay/Table/TableBody/index.esm.js +1 -1
  248. package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
  249. package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
  250. package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
  251. package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
  252. package/lib/dataDisplay/Table/TableHeader/index.esm.js +1 -1
  253. package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
  254. package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -1
  255. package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -1
  256. package/lib/dataDisplay/Table/TableRow/index.esm.js +1 -1
  257. package/lib/dataDisplay/Table/index.esm.js +1 -1
  258. package/lib/dataDisplay/Tabs/index.esm.js +1 -1
  259. package/lib/dataDisplay/index.esm.js +1 -1
  260. package/lib/elements/Avatar/index.esm.js +1 -1
  261. package/lib/elements/Button/index.esm.js +1 -1
  262. package/lib/elements/Calendar/index.esm.js +1 -1
  263. package/lib/elements/Dropdown/index.esm.js +1 -1
  264. package/lib/elements/Icon/index.esm.js +1 -1
  265. package/lib/elements/IconButton/index.esm.js +1 -1
  266. package/lib/elements/Image/index.esm.js +1 -1
  267. package/lib/elements/Label/index.esm.js +1 -1
  268. package/lib/elements/Link/index.esm.js +1 -1
  269. package/lib/elements/List/index.esm.js +1 -1
  270. package/lib/elements/Modal/index.esm.js +1 -1
  271. package/lib/elements/Popover/index.esm.js +1 -1
  272. package/lib/elements/ProgressBar/index.esm.js +1 -1
  273. package/lib/elements/Spinner/index.esm.js +1 -1
  274. package/lib/elements/Svg/index.esm.js +1 -1
  275. package/lib/elements/Text/index.esm.js +1 -1
  276. package/lib/elements/Tooltip/index.esm.js +1 -1
  277. package/lib/elements/index.esm.js +1 -1
  278. package/lib/factory/DeepFactory/index.esm.js +1 -1
  279. package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
  280. package/lib/factory/System/index.esm.js +1 -1
  281. package/lib/factory/index.esm.js +1 -1
  282. package/lib/form/Checkbox/index.esm.js +1 -1
  283. package/lib/form/Field/index.esm.js +1 -1
  284. package/lib/form/FieldGroup/index.esm.js +1 -1
  285. package/lib/form/Form/index.esm.js +1 -1
  286. package/lib/form/Input/index.esm.js +1 -1
  287. package/lib/form/InputCurrency/index.esm.js +1 -1
  288. package/lib/form/InputDate/index.esm.js +1 -1
  289. package/lib/form/InputMask/index.esm.js +1 -1
  290. package/lib/form/InputRange/index.esm.js +1 -1
  291. package/lib/form/Radio/index.esm.js +1 -1
  292. package/lib/form/TextArea/index.esm.js +1 -1
  293. package/lib/form/UploadCard/index.esm.js +1 -1
  294. package/lib/form/index.esm.js +1 -1
  295. package/lib/layouts/DefaultLayout/index.esm.js +1 -1
  296. package/lib/layouts/SideBarLayout/index.esm.js +1 -1
  297. package/lib/layouts/index.esm.js +1 -1
  298. package/lib/scenario/CircleComponent/index.esm.js +1 -1
  299. package/lib/scenario/RectComponent/index.esm.js +1 -1
  300. package/lib/scenario/index.esm.js +1 -1
  301. package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
  302. package/lib/skeleton/TextPreset/index.esm.js +1 -1
  303. package/lib/skeleton/index.esm.js +1 -1
  304. package/lib/themes/Colors/Colors.helpers.d.ts +25 -0
  305. package/lib/themes/Colors/index.esm.js +1 -1
  306. package/lib/themes/Deep/index.esm.js +1 -1
  307. package/lib/themes/Foundation/Foundation.interface.d.ts +9 -2
  308. package/lib/themes/Foundation/index.esm.js +1 -1
  309. package/lib/themes/GlobalStyle/index.esm.js +1 -1
  310. package/lib/themes/Semantic/Semantic.helpers.d.ts +3 -2
  311. package/lib/themes/Semantic/index.esm.js +1 -1
  312. package/lib/themes/Surface/index.esm.js +1 -1
  313. package/lib/themes/ThemeProvider/index.esm.js +1 -1
  314. package/lib/themes/index.esm.js +1 -1
  315. package/package.json +8 -5
  316. package/lib/chunks/chunk-34F43UAI.esm.js +0 -4
  317. package/lib/chunks/chunk-3G44UWJ3.esm.js +0 -14
  318. package/lib/chunks/chunk-5CDHJUBN.esm.js +0 -142
  319. package/lib/chunks/chunk-7SSQAIVJ.esm.js +0 -5
  320. package/lib/chunks/chunk-AQWUWDYL.esm.js +0 -6
  321. package/lib/chunks/chunk-BYMHL227.esm.js +0 -31
  322. package/lib/chunks/chunk-CRO25GIC.esm.js +0 -38
  323. package/lib/chunks/chunk-DOPF46NH.esm.js +0 -4
  324. package/lib/chunks/chunk-EEBGH4FW.esm.js +0 -23
  325. package/lib/chunks/chunk-EFCEA4WI.esm.js +0 -15
  326. package/lib/chunks/chunk-FB72RHNJ.esm.js +0 -1
  327. package/lib/chunks/chunk-FFOBJZ76.esm.js +0 -1
  328. package/lib/chunks/chunk-FY5FWJIU.esm.js +0 -1
  329. package/lib/chunks/chunk-GHXWAD3W.esm.js +0 -178
  330. package/lib/chunks/chunk-H4YFLKIO.esm.js +0 -30
  331. package/lib/chunks/chunk-HF6HXLPY.esm.js +0 -15
  332. package/lib/chunks/chunk-HUARPPTU.esm.js +0 -1
  333. package/lib/chunks/chunk-IEWJDYK3.esm.js +0 -5
  334. package/lib/chunks/chunk-IPCIH4BX.esm.js +0 -1
  335. package/lib/chunks/chunk-ISSNH3TI.esm.js +0 -1
  336. package/lib/chunks/chunk-JSSNVE3F.esm.js +0 -6
  337. package/lib/chunks/chunk-KB2USQJE.esm.js +0 -1
  338. package/lib/chunks/chunk-MJ7ZMPLR.esm.js +0 -6
  339. package/lib/chunks/chunk-MVAPKABV.esm.js +0 -67
  340. package/lib/chunks/chunk-NXMXRM34.esm.js +0 -72
  341. package/lib/chunks/chunk-PEGONLQF.esm.js +0 -61
  342. package/lib/chunks/chunk-Q6KSPMLW.esm.js +0 -1
  343. package/lib/chunks/chunk-QMKN6U3H.esm.js +0 -7
  344. package/lib/chunks/chunk-SYDKD6ZW.esm.js +0 -126
  345. package/lib/chunks/chunk-TYA6JUO6.esm.js +0 -1
  346. package/lib/chunks/chunk-UCVUWBX3.esm.js +0 -40
  347. package/lib/chunks/chunk-VEX7WGRY.esm.js +0 -85
  348. package/lib/chunks/chunk-VNJ4PLQC.esm.js +0 -3
  349. package/lib/chunks/chunk-WCJ6LD6J.esm.js +0 -81
  350. package/lib/chunks/chunk-WM5234H7.esm.js +0 -104
  351. package/lib/chunks/chunk-XD7WY5I4.esm.js +0 -7
  352. package/lib/chunks/chunk-XQJ3HDFC.esm.js +0 -130
  353. package/lib/chunks/chunk-YHXA7QVE.esm.js +0 -9
  354. package/lib/chunks/chunk-ZFHA5XO4.esm.js +0 -4
  355. package/lib/chunks/chunk-ZVKUIDOM.esm.js +0 -94
  356. package/lib/chunks/chunk-ZYU4YFQL.esm.js +0 -5
@@ -1,67 +0,0 @@
1
- import{a as Lo}from"./chunk-V5ZKDMDH.esm.js";import{a as To,b as wo}from"./chunk-TG5BCBO4.esm.js";import{a as Eo}from"./chunk-76C7AHBV.esm.js";import{b as yo,c as So}from"./chunk-KT6QQ3UJ.esm.js";import{a as vo}from"./chunk-3ODQCN3J.esm.js";import{b as No}from"./chunk-IT4J7I6H.esm.js";import{b as Po}from"./chunk-JOKVE3IX.esm.js";import{a as ko}from"./chunk-Z5OQHLDW.esm.js";import{a as bo}from"./chunk-TVJISBND.esm.js";import{a as Io}from"./chunk-NQBO2D7L.esm.js";import{a as ho}from"./chunk-3DUB5C4Z.esm.js";import{a as go}from"./chunk-TDVKGVGD.esm.js";import{c as Mo}from"./chunk-ZFHA5XO4.esm.js";import{d as Bo}from"./chunk-ON4INUFW.esm.js";import{a as Fo,b as $o}from"./chunk-IPCIH4BX.esm.js";import{a as Co}from"./chunk-UI6CJPP3.esm.js";import{e as O}from"./chunk-7UIH7PNC.esm.js";import{b as Ao}from"./chunk-GK6CPN6F.esm.js";import{a as Do}from"./chunk-IWMEDT6U.esm.js";import{a as uo,d as Y}from"./chunk-ZYU4YFQL.esm.js";import{a as xo}from"./chunk-WOAHMAHX.esm.js";import{a as F}from"./chunk-VNJ4PLQC.esm.js";import{a as A,c as L,d as B}from"./chunk-BMUHQ5OQ.esm.js";import{a as ao,b as po}from"./chunk-U5ZZXNQW.esm.js";import{c as S,k as no,l as io}from"./chunk-ZLZK7X6F.esm.js";import{a as oo,c as eo,k as to,l as ro}from"./chunk-XJ7EBVG3.esm.js";import{b as W,c as y}from"./chunk-G5Z7USXC.esm.js";import{b as mo,c as co,d as so,e as lo,f as fo,g as u}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import p from"react";import Ro from"deepmerge";var z=Ro;function G(o={}){let{colors:e,breakpoints:t,spacing:n,border:a,font:i,dimension:m}=z({colors:no,spacing:To,font:ko,border:ho,breakpoints:yo,dimension:Po},o),c=io(e),s=wo(n,m),f=Lo({colors:c,spacing:s});return{font:i,border:a,animation:Io,colors:c,breakpoints:So(t),spacing:s,depth:No(c),deep:vo(c),semantic:f,foundation:bo(f)}}r(G,"createTheme");import l,{useEffect as Ce,useState as Ie}from"react";import{createPortal as he}from"react-dom";var T=u(L)(({theme:o,size:e})=>({fontSize:e?o.spacing(e):"inherit",display:"inline-block",lineHeight:0,"& svg":{stroke:"currentColor",fill:"currentColor",strokeWidth:0,"& g":{fill:"currentColor"}}}));import P,{forwardRef as q,useEffect as fe,useState as pe}from"react";function Vo(o,e){if(typeof window!="undefined")try{window.fetch(o).then(t=>t.text()).then(t=>to(t,"svg")).then(ro).then(e)}catch(t){oo.warn(`[ICON] Failed to load icon from: ${o}`)}}r(Vo,"getIconFromUrl");var oe=r(({cover:o,height:e,width:t})=>o&&{width:t!=null?t:"100%",height:e!=null?e:"100%",objectFit:"cover"},"imageCover"),Wo=r(o=>o?eo(o):"fit-content","getSizeValue"),Yo=po("img")`
2
- display: block;
3
- width: ${({full:o,width:e})=>o?"100%":Wo(e)};
4
- height: ${({height:o})=>Wo(o)};
5
- ${oe};
6
-
7
- &[src=''] {
8
- visibility: hidden;
9
- position: absolute;
10
- }
11
- `;import C,{forwardRef as me,useState as ce}from"react";var Oo=u.rect`
12
- stroke: ${({theme:o})=>S(o.colors.neutral[20])};
13
- fill: ${({theme:o})=>S(o.colors.neutral[5])};
14
- `;import ee from"react";function v(o){return ee.createElement(Oo,{...o})}r(v,"RectComponent");v.displayName="Rect";import te from"react";import zo,{BulletList as H,Code as _,Facebook as j,List as U}from"react-content-loader";var Q=zo;function N({children:o,...e}){let{colors:t}=fo();return te.createElement(Q,{...e,viewBox:`0 0 ${e.width} ${e.height}`,backgroundColor:S(e.backgroundColor||t.neutral[10]),foregroundColor:S(e.foregroundColor||t.neutral[30])},o)}r(N,"ComposedSkeletonComponent");N.displayName="Skeleton";var re=U,ne=H,ie=_,ae=j;import Go from"react";function K({width:o,height:e=13}){return Go.createElement(N,{width:o,height:e},Go.createElement(v,{x:0,y:0,width:o,height:e}))}r(K,"TextPresetComponent");K.displayName="TextPreset";var $=me(({src:o,...e},t)=>C.createElement(Yo,{src:o,ref:t,...e})),se=r(({width:o=60,height:e=60})=>C.createElement(N,{height:e,width:o},C.createElement(v,{width:o,height:e})),"ImageDefaultContentLoader");function le(o){return new Promise((e,t)=>{let n=new Image;n.onload=e,n.onerror=t,n.src=o})}r(le,"loadImage");var Ho=r(({src:o,fallback:e,threshold:t,...n})=>{let[a,i]=ce(),[m]=Co({threshold:t},()=>{le(o).then(()=>i(o)).catch(()=>console.warn(`[Failed]: error on loading image: ${o}`))}),c=typeof a=="undefined";return C.createElement(C.Fragment,null,c?e||C.createElement(se,{...n}):null,C.createElement($,{src:a||"",ref:m,...n}))},"ImageLazy");Ho.displayName="ImageLazy";var M=r((o,e)=>P.cloneElement(o,e),"createIcon"),de=q(({icon:o,name:e,iconProps:t,svgProps:n,children:a,...i},m)=>{let c=r(()=>{let s=null;return a?s=M(a,n):e?s=M(go[e],n):o?s=M(o,n):t&&(s=Bo(n)),s},"getIcon");return P.createElement(T,{...i,ref:m},c())}),ue=q(({title:o,src:e,svgProps:t,...n},a)=>{let[i,m]=pe(()=>P.createElement($,{height:"1em",width:"1em",alt:o}));return fe(()=>{Vo(e,c=>{m(M(c,t))})},[e]),P.createElement(T,{...n,ref:a},i)}),D=q(({title:o,...e},t)=>{let n={...e.iconProps||{},title:o,stroke:"currentColor",fill:"currentColor",strokeWidth:"0",height:"1em",width:"1em"};return e.src?P.createElement(ue,{...e,svgProps:n,ref:t}):P.createElement(de,{...e,svgProps:n,ref:t})});D.displayName="Icon";var xe=co`
15
- 0% { width: 0; }
16
- 100% { width: 100%; }
17
- `,J=u(F)`
18
- --time: 15;
19
-
20
- width: 0;
21
- height: 0.25rem;
22
- background-color: var(--baseColor);
23
- animation: ${xe} calc(var(--time, 15) * 1s) normal forwards;
24
- `,_o=u(F)`
25
- position: absolute;
26
- top: 0.25rem;
27
- left: 0.5rem;
28
- right: 0.5rem;
29
- `;function ge({variant:o,theme:e}){let t=e.colors[o];return mo`
30
- --baseColor: ${t.base};
31
- --lightColor: ${t.light};
32
- --darkColor: ${t.dark};
33
- --activeColor: ${t.active};
34
- --actionColor: ${t.action};
35
-
36
- position: relative;
37
- background-color: var(--lightColor);
38
- border-color: var(--baseColor);
39
-
40
- ${uo} {
41
- color: var(--darkColor);
42
- }
43
-
44
- & ${Fo} {
45
- width: intrinsic;
46
- color: var(--darkColor);
47
-
48
- &:hover {
49
- background: var(--activeColor);
50
- }
51
-
52
- &:active ${T} {
53
- color: var(--actionColor);
54
- }
55
- }
56
-
57
- &:hover ${J} {
58
- animation-play-state: paused;
59
- }
60
- `}r(ge,"getWrapperStyle");var X=u(B)(ge);X.displayName="div";var jo=u(F)`
61
- color: var(--darkColor);
62
-
63
- svg {
64
- width: 2rem;
65
- height: 2rem;
66
- }
67
- `;var Uo=r(({type:o="block",variant:e="primary",visible:t=!0,closable:n=!0,autoClose:a=null,message:i=null,action:m=null,icon:c=null,link:s,onDismiss:f,...k})=>{let{isMobile:I}=O(),d=r(()=>{let h=m;return typeof m=="function"&&(h=m({close:f})),h?l.cloneElement(h,{color:e,alignSelf:"center",justifySelf:"center"}):null},"renderActionButton"),w=r(()=>typeof i=="function"?i({close:f}):typeof i=="string"?l.createElement(Y,{text:i,variant:"p",fontSize:"xs"}):i,"renderMessage");return t?l.createElement(X,{p:"medium",pr:9,round:I?0:"xs",borderWidth:I?"none":"thin",borderStyle:"solid",variant:e,"data-testid":`notification-${o}`,...k},a&&l.createElement(_o,null,l.createElement(J,{round:"micro",style:{"--time":a},onAnimationEnd:f})),l.createElement(xo,{contentGap:"medium",opener:c&&l.createElement(jo,{pt:"xs",alignSelf:"start"},c),closer:d()},k.title&&l.createElement(Y,{text:k.title,variant:"h3",fontSize:"small",fontWeight:"stronger",type:"mobile"}),w(),s&&l.createElement(Mo,{...s,target:"_blank"})),n&&l.createElement($o,{p:"xs",borderWidth:"none",icon:l.createElement(D,{size:"small",name:"times"}),variant:"linked",onClick:f,alignSelf:"start",position:"absolute",right:"0.5rem",top:"0.5rem"})):null},"BaseNotification"),ye=r(o=>{let{isMobile:e}=O(),[t,n]=Ie(!1);Ce(()=>{n(!0)},[]);let a=o.pagePosition==="top"?{top:0}:{bottom:0};if(!t||!y)return null;let i=o.visible!==!1;return he(l.createElement(A,null,i?l.createElement(Uo,{...o,initial:{y:"-100%",opacity:0},animate:{y:0,opacity:1},exit:{y:"-100%",opacity:0},style:{...a,zIndex:1e3,margin:e?0:"1rem",position:"fixed",right:0,left:0}}):null),y)},"PageNotification"),R=r(o=>o.type==="page"?l.createElement(ye,{...o}):l.createElement(Uo,{...o}),"NotificationComponent");R.displayName="Notification";import x,{createContext as Se,useContext as ve,useEffect as Ne,useReducer as Pe,useState as ke}from"react";import{createPortal as be}from"react-dom";var Qo=Se({});function Le(o,{type:e,payload:t}){switch(e){case"ADD":return[t,...o];case"REMOVE":return o.filter(n=>n.id!==t.id);default:return o}}r(Le,"NotificationReducer");var Ko=r(o=>{let[e,t]=Pe(Le,[]),n=r(i=>{t({type:"REMOVE",payload:{id:i}})},"removeNotification"),a=r(i=>{if(t({type:"ADD",payload:{id:Do(),...i}}),e.length>=3){let[m]=e.slice(-1);setTimeout(()=>n(m.id),0)}},"showNotification");return x.createElement(Qo.Provider,{value:{notifications:e,removeNotification:n,showNotification:a}},x.createElement(x.Fragment,null,o.children,x.createElement(we,null)))},"NotificationsProvider");function Te(){let o=ve(Qo);if(o===void 0)throw new Error("cant use useNotification hook outside of <NotificationsProvider />");return o}r(Te,"useNotification");var we=r(()=>{let{notifications:o,removeNotification:e}=Te(),[t,n]=ke(!1);return Ne(()=>{n(!0)},[]),!t||!y?null:be(x.createElement(L,{style:{position:"fixed",bottom:"1rem",right:"1rem"}},x.createElement(A,null,o.map(({id:a,...i})=>x.createElement(B,{key:a,initial:{x:"100%",opacity:0},animate:{x:0,opacity:1},exit:{scale:0,opacity:0,height:0},style:{minWidth:300,maxWidth:"30vw",zIndex:100}},x.createElement(L,{style:{margin:"0.5rem"}},x.createElement(R,{...i,visible:!0,closable:!0,onDismiss:()=>e(a)})))))),y)},"NotificationGroup");function Ee(o,e){return typeof e=="string"?ao(o):!0}r(Ee,"shouldForwardProp");var qo="(prefers-color-scheme: dark)";function Ae(){var o,e;return!!((e=(o=W)==null?void 0:o.matchMedia)!=null&&e.call(o,qo).matches)}r(Ae,"prefersDarkScheme");var Jo=p.createContext(null);function Be(){let o=p.useContext(Jo);if(o===null)throw new Error("useApollionTheme deve ser usado dentro de um <ApollionProvider>.");return o}r(Be,"useApollionTheme");var Fe=r(({children:o,theme:e,lightTheme:t,darkTheme:n,useSystemPreference:a=!1,themeMode:i,onThemeModeChange:m,surface:c="positive",dimension:s})=>{let f=i!==void 0,[k,I]=p.useState(()=>a&&Ae()?"dark":"light"),d=f?i:k;p.useEffect(()=>{var E,Z;if(f||!a)return;let g=(Z=(E=W)==null?void 0:E.matchMedia)==null?void 0:Z.call(E,qo);if(!g)return;I(g.matches?"dark":"light");let b=r(Zo=>{I(Zo.matches?"dark":"light")},"handleChange");return g.addEventListener("change",b),()=>g.removeEventListener("change",b)},[f,a]);let w=p.useCallback(g=>{let b=g!=null?g:d==="dark"?"light":"dark";f||I(b),m==null||m(b)},[d,f,m]),h=p.useMemo(()=>t&&n?d==="dark"?n:t:t||n||(e!=null?e:G(s!==void 0?{dimension:s}:void 0)),[t,n,e,s,d]),V=p.useMemo(()=>Eo(h,c,d),[h,c,d]),Xo=p.useMemo(()=>({theme:V,themeMode:d,toggleTheme:w}),[V,d,w]);return p.createElement(so,{shouldForwardProp:Ee},p.createElement(Jo.Provider,{value:Xo},p.createElement(lo,{theme:V},p.createElement(Ao,null,p.createElement(Ko,null,o)))))},"ApollionProvider");export{T as a,Yo as b,G as c,Be as d,Fe as e,Oo as f,v as g,N as h,re as i,ne as j,ie as k,ae as l,K as m,$ as n,Ho as o,D as p,J as q,_o as r,X as s,jo as t,R as u,Ko as v,Te as w,we as x};
@@ -1,72 +0,0 @@
1
- import{a as c,p as h}from"./chunk-MVAPKABV.esm.js";import{a as b}from"./chunk-ZYU4YFQL.esm.js";import{a as m}from"./chunk-VNJ4PLQC.esm.js";import{b as p}from"./chunk-U5ZZXNQW.esm.js";import{b as l}from"./chunk-JB7G6UGV.esm.js";import{b as a,g as d}from"./chunk-APD22JEO.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var n=p("input")`
2
- position: absolute;
3
- left: 0;
4
- top: 0;
5
- margin: 0;
6
- opacity: 0;
7
- cursor: pointer;
8
- `,t=d(m).attrs(o=>({alignItems:"center",justifyContent:"center",borderRadius:"micro",borderWidth:"thin",boderStyle:"solid",borderColor:"information",deep:-1,mr:"small",...o}))`
9
- width: 20px;
10
- height: 20px;
11
- flex-shrink: 0;
12
- transition: ${({theme:o})=>o.animation.transitions.short};
13
- `;function k({variant:o,theme:e}){let r=e.colors.information;return o==="success"&&(r=e.colors.success),o==="error"&&(r=e.colors.danger),a`
14
- color: ${r.dark};
15
-
16
- & > ${t} {
17
- border: 1px solid ${r.dark};
18
- }
19
-
20
- &:hover > ${t}, &:focus > ${t} {
21
- border-color: ${r.action};
22
- box-shadow: ${e.depth("level-zero")};
23
- }
24
-
25
- & > ${n}:checked ~ ${t} {
26
- border-color: ${r.base};
27
- background-color: ${r.base};
28
- box-shadow: ${e.depth("level-zero")};
29
- }
30
- `}i(k,"checkboxVariantStyle");function y({theme:o,disabled:e}){return e&&a`
31
- color: ${o.colors.neutral[50]};
32
-
33
- & > ${n}:disabled {
34
- cursor: default;
35
-
36
- & ~ ${t} {
37
- background-color: ${o.colors.neutral[10]};
38
- border-color: ${o.colors.neutral[10]};
39
- box-shadow: none;
40
-
41
- & > ${c} {
42
- ${l({color:"neutral.50"})}
43
- }
44
- }
45
- }
46
- `}i(y,"disabledStyle");var u=p("label")`
47
- position: relative;
48
- display: inline-flex;
49
- flex-direction: row;
50
- cursor: pointer;
51
- align-items: center;
52
- gap: ${({theme:o})=>o.spacing("xs")};
53
- /* Margin pre-v4 era \`spacing(0, 8, 'medium', 0)\` (32px right + 16px bottom)
54
- — excessivo, sobrescrevia layout do consumer. v4 mantém só um respiro
55
- pequeno (xs = 8px) horizontal+vertical, suficiente p/ uso inline sem
56
- ditar layout. Parent com Flex gap adiciona mais quando necessário. */
57
- margin: ${({theme:o})=>o.spacing(0,"xs","xs",0)};
58
- transition: ${({theme:o})=>o.animation.transitions.short};
59
-
60
- & > ${n} ~ ${t} > ${c} {
61
- ${l({color:"neutral.0"})}
62
- opacity: 0;
63
- }
64
-
65
- /* Mostra o check quando o input nativo está :checked */
66
- & > ${n}:checked ~ ${t} > ${c} {
67
- opacity: 1;
68
- }
69
-
70
- ${k}
71
- ${y}
72
- `;import s from"react";var f=i(({label:o=null,labelProps:e,variant:r="default",...x})=>s.createElement(u,{variant:r,disabled:x.disabled},s.createElement(n,{...x,type:"checkbox",hidden:!0}),s.createElement(t,null,s.createElement(h,{name:"check",size:"small"})),typeof o=="string"?s.createElement(b,{fontSize:"small",color:"neutral.180",...e},o):o),"CheckboxComponent");f.displayName="Checkbox";export{n as a,t as b,u as c,f as d};
@@ -1,61 +0,0 @@
1
- import{e as ie}from"./chunk-WM5234H7.esm.js";import{b as $}from"./chunk-7SSQAIVJ.esm.js";import{n as K,p as S}from"./chunk-MVAPKABV.esm.js";import{a as X,b as J}from"./chunk-IPCIH4BX.esm.js";import{e as Q}from"./chunk-SYDKD6ZW.esm.js";import{a as R}from"./chunk-A3OJEVGQ.esm.js";import{b as Z}from"./chunk-KR2X2UQG.esm.js";import{e as ee}from"./chunk-7UIH7PNC.esm.js";import{a as Y}from"./chunk-BE2JDTVA.esm.js";import{a as te}from"./chunk-IWMEDT6U.esm.js";import{d as v}from"./chunk-ZYU4YFQL.esm.js";import{a as b}from"./chunk-VNJ4PLQC.esm.js";import{a as oe}from"./chunk-BYMHL227.esm.js";import{c as O}from"./chunk-BMUHQ5OQ.esm.js";import{b as _}from"./chunk-WXS2V6GM.esm.js";import{m as V}from"./chunk-XJ7EBVG3.esm.js";import{g as h}from"./chunk-APD22JEO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var ne=n(({theme:e,readOnly:o,disabled:i,active:p})=>{if(o||i)return null;let d=e.colors.primary.base;return{borderWidth:1,borderStyle:"dashed",borderColor:p?d:"transparent","&:hover":{borderColor:d}}},"activeStyle"),re=n(({disabled:e,readOnly:o})=>(e||o)&&{cursor:"not-allowed",pointerEvents:"none",userSelect:"none"},"disabledStyle"),le=h(O)`
2
- ${ne}
3
- ${re}
4
-
5
- ${({theme:e})=>e.breakpoints.up("sm")} {
6
- display: flex;
7
- height: 300px;
8
- max-height: 300px;
9
- }
10
- `,j=h(O)`
11
- pointer-events: none;
12
- display: flex;
13
- justify-content: center;
14
- align-items: center;
15
- `,k=h(O)`
16
- opacity: 0.95;
17
- `,T=h($)`
18
- & ${X} {
19
- padding: 0;
20
-
21
- svg {
22
- width: 0.8rem;
23
- height: 0.8rem;
24
- }
25
- }
26
- `,ae=h(b)`
27
- & ${T} {
28
- padding: ${({theme:e})=>e.spacing("xs")} 0;
29
- }
30
-
31
- & ${T} + & ${T} {
32
- margin-top: ${({theme:e})=>e.spacing("medium")};
33
- }
34
- `,se=h(v)`
35
- flex: 1;
36
- width: 140px;
37
- white-space: nowrap;
38
- overflow: hidden;
39
- text-overflow: ellipsis;
40
- `,de=h(O).attrs(e=>({borderRadius:"micro",bgColor:"neutral.20",...e}))`
41
- --fillColor: ${({theme:e})=>e.colors.information.base};
42
-
43
- height: 4px;
44
- background-image: linear-gradient(var(--fillColor), var(--fillColor));
45
- background-repeat: no-repeat;
46
- background-size: 0%;
47
- transition: all 100ms linear;
48
- `,A=h(O).attrs(e=>({borderRadius:"micro",...e}))`
49
- align-self: center;
50
- overflow: hidden;
51
-
52
- width: 2rem;
53
- height: 2rem;
54
- font-size: 1.6rem;
55
- color: ${({theme:e})=>e.colors.primary.base};
56
- `,me=h($)`
57
- ${ne}
58
- ${re}
59
- `,pe=h($)`
60
- ${_({flex:"fluid"})}
61
- `;import B,{forwardRef as Ee,useCallback as Ve,useEffect as je,useImperativeHandle as ke,useRef as ze,useState as Ne}from"react";function z(e){let o=Math.floor(Math.log(e)/Math.log(1e3));return`${(e/1e3**o).toFixed(2)} ${["B","kB","MB","GB","TB"][o]}`}n(z,"fileSize");function N(e,o){let i=o||15728640;return(Array.isArray(e)?e:[e]).filter(d=>d.size<=i)}n(N,"filterFiles");function M(e){return e.map(o=>({id:te(),file:o,fileName:o.name,fileSize:z(o.size)}))}n(M,"convertFileToFileItem");function ue(e){let{fieldName:o,file:i,requestConfig:p}=e,{endpoint:d,timeout:C,auth:f,params:g,withCredentials:r,responseType:m,headers:u,formDataParams:a}=p;return new Promise((c,y)=>{let l=new XMLHttpRequest;l.timeout=C;let x=new FormData;x.append(o,i,i.name),a&&a.forEach(s=>{x.append(s.key,s.value)});let w=new URL(d);if(g&&Object.keys(g).forEach(s=>{w.searchParams.append(s,g[s])}),l.open("post",w.href),"setRequestHeader"in l){let s={...u};if(f){let F=f.username||"",I=unescape(encodeURIComponent(f.password))||"",L=`${F}:${I}`;s.Authorization=`Basic ${btoa(L)}`}Object.keys(s).forEach(F=>{let I=s[F];I!==void 0&&l.setRequestHeader(F,I)})}r!==void 0&&(l.withCredentials=!!r),l.responseType=m||"json";let P=0;l.upload.addEventListener("progress",s=>{e.onProgress&&(P=s.loaded,e.onProgress(s.loaded))}),l.onreadystatechange=()=>{var F;if(!l||l.readyState!==4||l.status===0&&((F=l==null?void 0:l.responseURL)==null?void 0:F.indexOf("file:"))!==0)return;let s={response:l.response,status:l.status,statusText:l.statusText};e.onProgress&&e.onProgress(P,!0,s),c(s),l=null},l.onerror=()=>{e.onProgress&&e.onProgress(P,!1),y(),l=null},l.send(x)})}n(ue,"uploadFile");import t from"react";import{useEffect as De,useState as $e}from"react";function fe(e,o){let[i,p]=$e(null);return De(()=>{let d="";return e&&o&&o(e)&&(d=URL.createObjectURL(e),p(d)),()=>{URL.revokeObjectURL(d)}},[e,o]),i}n(fe,"useObjectUrl");function ce(e){let{disabled:o,acceptLabel:i,isDragging:p,events:d,files:C,removeFile:f,openFileDialogButton:g,readOnly:r,style:m,className:u,inputFile:a}=e,{isMobile:c}=ee(),y=c&&C.length===0?null:t.createElement(ae,{flex:"fluid",p:"large"},t.createElement(oe,null,C.map(l=>t.createElement(ge,{key:l.id,removeFile:f,readOnly:r,...l}))));return t.createElement(le,{...d,style:m,className:u,active:p,disabled:o,readOnly:r,borderRadius:"md",bgColor:"neutral.5",overflow:"hidden",deep:2},a,t.createElement(b,{gap:"small",flex:"fluid",p:"large",bgColor:"deepLight",justifyContent:"center",alignItems:"center"},t.createElement(b,{gap:"xs",alignItems:"center"},t.createElement(S,{name:"upload",size:16,color:r||o?"neutral.30":"secondary"}),i&&t.createElement(v,{variant:"meta",fontWeight:"bold"},i)),!r&&t.createElement(t.Fragment,null,t.createElement(v,{variant:"p"},"Arraste e solte aqui"),t.createElement(v,{variant:"p",fontWeight:"bold"},"ou"),g)),y,p&&t.createElement(j,{absoluteFill:!0},t.createElement(k,{absoluteFill:!0,bgColor:"neutral.0"}),t.createElement(b,{gap:"small",justifyContent:"center",alignItems:"center",p:8},t.createElement(S,{name:"upload",color:"information.dark",size:9}),t.createElement(v,{variant:"p",color:"information.dark"},"Arraste e solte aqui"))))}n(ce,"UploadCardRegular");function Fe(e){let{disabled:o,isDragging:i,events:p,files:d,removeFile:C,style:f,className:g,readOnly:r,openFileDialogButton:m,inputFile:u}=e;return t.createElement(me,{...p,style:f,className:g,active:i,disabled:o,readOnly:r,borderRadius:"md",bgColor:"neutral.5",overflow:"hidden",p:"large",medias:{xs:{gap:"large"},sm:{columns:"max-content 1fr"}}},u,t.createElement(b,{flexDirection:"row",justifyContent:"start",alignItems:"start"},m),t.createElement(pe,{medias:{xs:{gap:"medium",columns:"repeat(auto-fill, minmax(240px, 1fr))"}}},d.map(a=>t.createElement(ge,{key:a.id,removeFile:C,readOnly:r,...a}))),i&&t.createElement(j,null,t.createElement(k,null),t.createElement(b,{flexDirection:"row",gap:"small",justifyContent:"center",alignItems:"center"},t.createElement(S,{name:"upload",color:"information.dark",size:6}),t.createElement(v,{variant:"p"},"Arraste e solte aqui"))))}n(Fe,"UploadCardCompact");function ge({removeFile:e,readOnly:o,...i}){let p=i.uploadLoaded?`${i.uploadLoaded} de`:"";return t.createElement(T,{medias:{xs:{gap:"micro",columns:"2rem 1fr"}}},t.createElement(Ae,{...i}),t.createElement(b,null,t.createElement(b,{flexDirection:"row",justifyContent:"between"},t.createElement(se,{variant:"meta"},t.createElement("b",null,i.fileName)),!o&&t.createElement(J,{onClick:()=>e(i.id),icon:t.createElement(S,{name:"times"}),variant:"linked"})),i.uploadPercentage&&t.createElement(de,{style:{backgroundSize:i.uploadPercentage}}),t.createElement(b,{flexDirection:"row",justifyContent:"between"},t.createElement(v,{variant:"meta"},`${p} ${i.fileSize}`),i.uploadPercentage&&t.createElement(v,{variant:"meta"},`Enviando ${i.uploadPercentage}`))))}n(ge,"FileItemComponent");function Ae({file:e}){let o=fe(e,i=>i.type.startsWith("image"));return o?t.createElement(A,null,t.createElement(K,{src:o,cover:!0})):e.name.endsWith(".pdf")?t.createElement(A,null,t.createElement(S,{name:"filePdf"})):t.createElement(A,null,t.createElement(S,{name:"file"}))}n(Ae,"Preview");import{useState as Be}from"react";function Ce(e){let[o,i]=Be({files:[],type:null,payload:null});return{files:o,setInitialFiles:n(r=>{var c;let m=N(r,e.maxSize),a={files:M(m),type:"ADD_INITIAL_FILES"};(c=e.onChange)==null||c.call(e,a),i(a)},"setInitialFiles"),removeFile:n(r=>{var u;let m={type:"REMOVE",files:o.files.filter(a=>a.id!==r),payload:o.files.find(a=>a.id===r)};(u=e.onChange)==null||u.call(e,m),i(m)},"removeFile"),removeAll:n(()=>{var m;let r={files:[],type:"REMOVE"};(m=e.onChange)==null||m.call(e,r),i(r)},"removeAll"),addFiles:n(r=>{var y;let m=N(r,e.maxSize),u=M(m),a=[...o.files,...u],c={files:a,type:"ADD",payload:u};e.single&&(a=u,c={files:a,type:"REPLACE",payload:a[0]}),(y=e.onChange)==null||y.call(e,c),i(c)},"addFiles"),updateFileProgress:n((r,m,u,a)=>{var s;let c=o.files.find(F=>F.id===r),y=n(()=>({uploadCompleted:u,uploadError:!u,uploadResponse:a||void 0}),"uploadResponse"),x={...c,...m!==void 0?n(()=>({uploadLoaded:z(m),uploadPercentage:`${Math.min(m/c.file.size*100,100).toFixed(0)}%`}),"progressStatus")():{},...u!==void 0?y():{}},P={files:o.files.map(F=>F.id===x.id?x:F),type:"UPDATE",payload:x};(s=e.onChange)==null||s.call(e,P),i(P)},"updateFileProgress")}}n(Ce,"useFileState");var Me=Ee((e,o)=>{let{accept:i,maxSize:p,singleFile:d,uploadConfig:C,onUnsupportedFile:f,customButton:g,style:r,className:m,onChange:u,initialFiles:a,name:c}=e,[y,l]=Ne(!1),{active:x,enable:w,disable:P}=Y(),{files:s,setInitialFiles:F,addFiles:I,removeFile:L,removeAll:xe,updateFileProgress:q}=Ce({single:d,maxSize:p,onChange:u}),{getFiles:he}=R({accept:i,single:d,onFilesSelect:I,onUnsupportedFile:f}),{isDragging:W,events:be}=Z({accept:i,single:d,onDrop:I});je(()=>{let U=Array.isArray(a)?a.length>0:!!a;!y&&!s.files.length&&U&&(l(!0),F(a))},[y,l,a,F,s.files]);let ve=Ve(async U=>{if(s.files.length){w();let Ie=s.files.map(({id:Se,file:we})=>ue({file:we,fieldName:U.formDataFileKey||"file",requestConfig:{...C,...U},onProgress:n((Oe,Te,Le)=>{q(Se,Oe,Te,Le)},"onProgress")})),Ue=await Promise.all(Ie);return P(),Ue}return[]},[s.files,C,w,q,P]);ke(o,()=>({submit:ve,addFiles:I,removeFile:L,removeAll:xe,files:s.files}));let D=ze(null),E=n(()=>{var U;(U=D==null?void 0:D.current)==null||U.click()},"openFileDialog"),Pe=g?g({files:s.files,isDragging:W,openFileDialog:E,isSubmitting:x}):B.createElement(Q,{onClick:E,variant:"outlined",color:"secondary",size:"small",disabled:e.readOnly||e.disabled||x,isLoading:x,type:"button"},e.buttonText||"Enviar arquivos"),H={...e,...!e.readOnly&&{events:be,isDragging:W},files:s.files,style:r,className:m,removeFile:L,openFileDialog:E,openFileDialogButton:Pe,name:c},G=B.createElement(ie,{type:"file",isHidden:!0,position:"absolute",name:c,id:c,ref:D,onChange:he,multiple:!d,accept:Array.isArray(i)?i.join(","):void 0});return e.compact?B.createElement(Fe,{...H,inputFile:G}):B.createElement(ce,{...H,inputFile:G})});Me.displayName="UploadCard";import{useCallback as qe,useState as ye}from"react";var St=n(()=>{let[e,o]=ye([]),[i,p]=ye([]);return{onFilesChange:qe(f=>{if(!f.payload)return;let{payload:g}=f;f.type==="ADD"?p(r=>V(r,g)):f.type==="REMOVE"&&o(r=>V(r,g))},[]),removedFiles:e,addedFiles:i,clear:n(f=>{f==="removedFiles"&&o([]),f==="addedFiles"&&p([])},"clear")}},"useFileControl");export{le as a,j as b,k as c,T as d,ae as e,se as f,de as g,A as h,me as i,pe as j,Me as k,St as l};
@@ -1 +0,0 @@
1
- import{g as r}from"./chunk-APD22JEO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import l from"react";var a=r.tr``;var o=t(e=>l.createElement(a,{...e},e.children),"TableRowComponent");o.displayName="TableRow";export{a,o as b};
@@ -1,7 +0,0 @@
1
- import{b as a}from"./chunk-7SSQAIVJ.esm.js";import{e as m}from"./chunk-7UIH7PNC.esm.js";import{a as d}from"./chunk-VNJ4PLQC.esm.js";import{g as i}from"./chunk-APD22JEO.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import e from"react";var n={xs:{columns:"1fr",rows:"100%",areas:`
2
- "content"
3
- `},md:{columns:"200px 1fr",rows:"100%",areas:`
4
- "sidebar content"
5
- `}};var s=i(a).attrs({medias:n})`
6
- height: 100%;
7
- `;function f({layoutComponents:r}){let{isMobile:t}=m();return e.createElement(s,null,!t&&r.sidebar&&e.createElement(r.sidebar,null),e.createElement(d,{area:"content",width:"100%",justifyContent:t?"center":void 0},r.content&&e.createElement(r.content,null)))}o(f,"SideBarLayout");f.displayName="SideBarLayout";export{n as a,s as b,f as c};
@@ -1,126 +0,0 @@
1
- import{a as p}from"./chunk-ZYU4YFQL.esm.js";import{a as $}from"./chunk-WOAHMAHX.esm.js";import{a as f}from"./chunk-H4YFLKIO.esm.js";import{a as b}from"./chunk-VNJ4PLQC.esm.js";import{b as d}from"./chunk-WXS2V6GM.esm.js";import{b as l}from"./chunk-752Z7BQF.esm.js";import{b as c}from"./chunk-4MBWRDIJ.esm.js";import{d as a}from"./chunk-U27SLYIV.esm.js";import{b as s,g as u}from"./chunk-APD22JEO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import i,{forwardRef as C}from"react";var w=n(({size:o})=>{switch(o){case"extraSmall":return[l({textTransform:"uppercase",fontWeight:"bold",fontSize:"micro"}),c({py:"micro",px:"medium"}),a({borderRadius:"micro"})];case"small":return[l({fontWeight:"bold",fontSize:"small"}),c({py:"xs",px:"medium"}),a({borderRadius:"large"})];case"large":return[l({fontWeight:"bold",fontSize:"medium"}),c({py:"medium",px:"xl"}),a({borderRadius:"large"})];default:return[l({fontWeight:"bold",fontSize:"small"}),c({py:"small",px:"large"}),a({borderRadius:"large"})]}},"buttonSize"),P=n((o,t)=>s`
2
- color: ${t.colors.getContrastColor(o.base)};
3
- background: ${o.base};
4
- border-color: ${o.base};
5
- box-shadow: ${r=>r.theme.depth("level-two")};
6
-
7
- &:hover {
8
- color: ${t.colors.getContrastColor(o.action)};
9
- background: ${o.action};
10
- border-color: ${o.action};
11
- box-shadow: ${r=>r.theme.depth("level-zero")};
12
- }
13
-
14
- &:focus {
15
- color: ${t.colors.getContrastColor(o.action)};
16
- background: ${o.action};
17
- border-color: ${o.active};
18
-
19
- &:hover {
20
- border-color: ${o.action};
21
- }
22
- }
23
-
24
- &:active {
25
- &,
26
- &:hover,
27
- &:focus {
28
- color: ${t.colors.getContrastColor(o.active)};
29
- background: ${o.active};
30
- border-color: ${o.light};
31
- }
32
- }
33
-
34
- &:disabled {
35
- background: ${t.colors.neutral[10]};
36
- border-color: ${t.colors.neutral[10]};
37
- color: ${t.colors.neutral[40]};
38
- box-shadow: ${r=>r.theme.depth("level-zero")};
39
- cursor: default;
40
- }
41
- `,"ButtonContained"),F=n((o,t)=>s`
42
- background: transparent;
43
- color: ${o.base};
44
- border-color: ${o.base};
45
-
46
- &:hover {
47
- color: ${t.colors.getContrastColor(o.action)};
48
- background: ${o.action};
49
- border-color: ${o.action};
50
- }
51
-
52
- &:focus {
53
- color: ${t.colors.getContrastColor(o.action)};
54
- background: ${o.action};
55
- border-color: ${o.active};
56
- box-shadow: ${r=>r.theme.depth("level-two")};
57
-
58
- &:hover {
59
- border-color: ${o.action};
60
- }
61
- }
62
-
63
- &:active {
64
- &,
65
- &:hover,
66
- &:focus {
67
- background-color: transparent;
68
- color: ${o.dark};
69
- border-color: ${o.light};
70
- box-shadow: ${r=>r.theme.depth("level-two")};
71
- }
72
- }
73
-
74
- &:disabled {
75
- color: ${t.colors.getContrastColor(t.colors.neutral[10])};
76
- background: ${t.colors.neutral[10]};
77
- border-color: ${t.colors.neutral[10]};
78
- cursor: default;
79
- }
80
- `,"ButtonOutlined"),z=n((o,t)=>s`
81
- background: transparent;
82
- color: ${o.base};
83
- border-color: transparent;
84
- border-radius: none;
85
-
86
- &:hover {
87
- color: ${o.action};
88
- text-decoration: underline;
89
- }
90
-
91
- &:focus {
92
- color: ${o.base};
93
- text-decoration: underline;
94
- }
95
-
96
- &:active {
97
- color: ${o.active};
98
- text-decoration: underline;
99
- }
100
-
101
- &:disabled {
102
- color: ${t.colors.getContrastColor(t.colors.neutral[10])};
103
- text-decoration: none;
104
- cursor: default;
105
- }
106
- `,"ButtonLinked"),T=n(({color:o,variant:t,theme:r})=>{let e=r.colors[o];switch(t){case"outlined":return F(e,r);case"linked":return z(e,r);default:return P(e,r)}},"buttonVariant"),W=n(({fullWidth:o})=>({width:o?"100%":"fit-content"}),"isFullWidth"),h=s`
107
- outline: 0;
108
- cursor: pointer;
109
- transition: ${({theme:o})=>o.animation.transitions.short};
110
-
111
- ${a({borderWidth:"regular",borderStyle:"solid"})}
112
-
113
- ${d({gap:"xs",flexDirection:"row",alignItems:"center",justifyContent:"center"})}
114
-
115
- ${W}
116
- ${w}
117
- ${T}
118
- `,g=u(b)`
119
- ${h}
120
-
121
- /* Handle Loading Icon */
122
- ${f} {
123
- width: 1em;
124
- height: 1em;
125
- }
126
- `;var x=C(({children:o,text:t,isLoading:r,icon:e=null,iconPosition:y="left",color:B="primary",size:m="medium",variant:S="contained",fullWidth:v=!1,...I},k)=>i.createElement(g,{...I,color:B,size:m,variant:S,fullWidth:v,as:"button",ref:k},i.createElement($,{loading:r,...y==="right"?{closer:e}:{opener:e}},i.createElement(p,{fontWeight:"bold",lineHeight:"tight",fontFamily:"main"},o||t))));x.displayName="Button";export{w as a,T as b,h as c,g as d,x as e};
@@ -1 +0,0 @@
1
- import{a as e}from"./chunk-VNJ4PLQC.esm.js";import{g as r}from"./chunk-APD22JEO.esm.js";var t=r(e).attrs(o=>({p:"medium",borderRadius:"micro",bgColor:"neutral.0",deep:2,...o}))``;export{t as a};
@@ -1,40 +0,0 @@
1
- import{d as u}from"./chunk-SYDKD6ZW.esm.js";import{a as c}from"./chunk-IWMEDT6U.esm.js";import{a as f}from"./chunk-ZYU4YFQL.esm.js";import{a as e}from"./chunk-VNJ4PLQC.esm.js";import{c as p}from"./chunk-ZLZK7X6F.esm.js";import{g as b}from"./chunk-APD22JEO.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";import a,{forwardRef as g,useMemo as F}from"react";var x=b(e)`
2
- border-bottom: 1px solid ${({theme:o})=>o.colors.grayscale[30]};
3
-
4
- & > ${e} {
5
- transform: translateY(1px);
6
- }
7
-
8
- ${({theme:o})=>o.breakpoints.down("sm")} {
9
- > ${e} {
10
- overflow-x: scroll;
11
- overflow-y: hidden;
12
-
13
- &::-webkit-scrollbar {
14
- display: none;
15
- }
16
- }
17
- }
18
- `,T=b(u).attrs(o=>{var t,r;return{borderRadius:(t=o.borderRadius)!=null?t:"straight",borderWidth:(r=o.borderWidth)!=null?r:"none"}})`
19
- flex-shrink: 0;
20
-
21
- /*
22
- * Em mobile, o cabeçalho rolável (parent com overflow-x) + a borda inferior
23
- * do header podiam interceptar o tap antes do botão. position:relative + z-index
24
- * garante a hit-zone do botão acima do border-bottom do parent, e
25
- * touch-action:manipulation desabilita o delay de 300 ms herdado do double-tap.
26
- */
27
- position: relative;
28
- z-index: 1;
29
- touch-action: manipulation;
30
-
31
- border-bottom: 2px solid
32
- ${({isActive:o,theme:t,color:r})=>o?p(t.colors[r],"base"):"transparent"};
33
-
34
- &:focus,
35
- &:active,
36
- &:hover {
37
- box-shadow: none;
38
- text-decoration: none;
39
- }
40
- `;function H({isActive:o,tabTitle:t,color:r="primary",buttonProps:m}){return a.createElement(T,{as:"button",variant:"linked",isActive:o,color:r,...m},a.createElement(f,{fontWeight:"bold",lineHeight:"tight"},t))}s(H,"TabButton");var $=g(({selectedIndex:o=0,onChange:t,tabs:r,tabHeaderProps:m,tabContentProps:y,...v},B)=>{let d=F(()=>r.map(i=>({...i,id:c()})),[r]),h=s(i=>o===i,"isCurrentIndex");return a.createElement(e,{...v,ref:B},a.createElement(x,{...m},a.createElement(e,{flexDirection:"row",width:"100%",gap:"medium",container:!0,position:"relative",alignItems:"end",as:"section"},d.map(({id:i,buttonProps:w,handleClick:l,...I},n)=>a.createElement(H,{key:i,isActive:h(n),...I,buttonProps:{...w,onClick:s(S=>{n!==o&&(l==null||l(n,S),t==null||t(n))},"onClick")}})))),a.createElement(e,{flex:"fluid",as:"section",container:!0,width:"100%",...y},d[o].content))});$.displayName="Tabs";export{x as a,T as b,H as c,$ as d};
@@ -1,85 +0,0 @@
1
- import{a as n}from"./chunk-ZYU4YFQL.esm.js";import{c}from"./chunk-BMUHQ5OQ.esm.js";import{b as d,g as s}from"./chunk-APD22JEO.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var t=s.input`
2
- position: absolute;
3
- left: 0;
4
- top: 0;
5
- margin: 0;
6
- z-index: 1;
7
- opacity: 0;
8
- `;t.displayName="input";var i=s(c).attrs(o=>({borderRadius:"md",borderWidth:"regular",borderStyle:"solid",borderColor:"information",deep:-1,...o}))`
9
- --size: 20px;
10
- --checked-size: calc(var(--size) * 0.5);
11
-
12
- width: var(--size);
13
- height: var(--size);
14
- flex-shrink: 0;
15
-
16
- margin-right: ${({theme:o})=>o.spacing("small")};
17
-
18
- &::before {
19
- content: '';
20
- border-radius: 50%;
21
- display: inline-block;
22
- width: var(--checked-size);
23
- height: var(--checked-size);
24
-
25
- position: absolute;
26
- top: 50%;
27
- left: 50%;
28
- transform: translate(-50%, -50%);
29
-
30
- opacity: 0;
31
- }
32
- `;function x({variant:o,theme:e}){let r=e.colors.information;return o==="success"&&(r=e.colors.success),o==="error"&&(r=e.colors.danger),d`
33
- color: ${r.dark};
34
-
35
- & > ${i} {
36
- border: 2px solid ${r.dark};
37
-
38
- &::before {
39
- background: ${r.base};
40
- }
41
- }
42
-
43
- &:hover > ${i}, &:focus > ${i} {
44
- border-color: ${r.action};
45
- }
46
-
47
- & > ${t}:checked ~ ${i} {
48
- border-color: ${r.base};
49
- box-shadow: ${e.depth("level-zero")};
50
- }
51
- `}a(x,"inputVariantStyle");function y(o){return d`
52
- color: ${o.colors.neutral[50]};
53
-
54
- & > ${t}:disabled {
55
- cursor: default;
56
-
57
- & ~ ${i} {
58
- background-color: ${o.colors.neutral[10]};
59
- border-color: ${o.colors.neutral[10]};
60
-
61
- &::before {
62
- background: ${o.colors.neutral[50]};
63
- }
64
- }
65
- }
66
- `}a(y,"getDisabledStyle");var p=s(n)`
67
- cursor: pointer;
68
- position: relative;
69
- display: inline-flex;
70
- flex-direction: row;
71
- align-items: center;
72
- gap: ${({theme:o})=>o.spacing("xs")};
73
- /* v4: respiro pequeno (xs) p/ uso inline sem ditar layout pesado. Pre-v4
74
- era 32px right + 16px bottom embutido — sobrescrevia spacing do
75
- consumer e "encavalava" labels longos no próximo radio. */
76
- margin: ${({theme:o})=>o.spacing(0,"xs","xs",0)};
77
-
78
- ${x}
79
- ${({theme:o,disabled:e})=>e&&y(o)}
80
-
81
- /* Revela o disco interno quando o input nativo está :checked */
82
- & ${t}:checked ~ ${i}::before {
83
- opacity: 1;
84
- }
85
- `;import l from"react";var m=a(({id:o,disabled:e,label:r=null,labelProps:u,variant:f="default",...b})=>l.createElement(p,{as:"label",htmlFor:o,variant:f,disabled:e},l.createElement(t,{...b,type:"radio",id:o,disabled:e}),l.createElement(i,null),typeof r=="string"?l.createElement(n,{fontSize:"small",color:"neutral.180",...u},r):r),"RadioComponent");m.displayName="Radio";export{t as a,i as b,p as c,m as d};
@@ -1,3 +0,0 @@
1
- import{b as t,c as o}from"./chunk-BMUHQ5OQ.esm.js";import{g as e}from"./chunk-APD22JEO.esm.js";var r=e(o)`
2
- display: flex;
3
- `,l=t.create(r);export{r as a,l as b};
@@ -1,81 +0,0 @@
1
- import{p as D}from"./chunk-MVAPKABV.esm.js";import{a as y,b as F}from"./chunk-IPCIH4BX.esm.js";import{e as S}from"./chunk-SYDKD6ZW.esm.js";import{e as z}from"./chunk-7UIH7PNC.esm.js";import{a as T}from"./chunk-BE2JDTVA.esm.js";import{a as k,d as P}from"./chunk-ZYU4YFQL.esm.js";import{a as I}from"./chunk-WOAHMAHX.esm.js";import{a as p}from"./chunk-VNJ4PLQC.esm.js";import{a as O}from"./chunk-BYMHL227.esm.js";import{a as $,c as v,d as b}from"./chunk-BMUHQ5OQ.esm.js";import{a as E}from"./chunk-XJ7EBVG3.esm.js";import{c as h}from"./chunk-G5Z7USXC.esm.js";import{b as c,g as i}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var U=c`
2
- max-width: 30rem;
3
- min-width: 20rem;
4
- `,X=c`
5
- max-width: 40rem;
6
- min-width: 20rem;
7
- `,Z=c`
8
- max-width: 55rem;
9
- min-width: 40rem;
10
- `,_=c`
11
- max-width: 75rem;
12
- min-width: 40rem;
13
- `,R=c`
14
- width: 95%;
15
- `;function oo({size:t}){switch(t){case"small":return U;case"medium":return Z;case"large":return _;default:return X}}r(oo,"modalSize");function eo({variant:t,theme:e}){let n=e.colors[t];return c`
16
- --baseColor: ${n.base};
17
- --lightColor: ${n.light};
18
- --actionColor: ${n.action};
19
- `}r(eo,"modalVariantColor");var j=i(b).attrs({p:"large",borderRadius:"md",bgColor:"neutral.0"})`
20
- ${R};
21
-
22
- ${eo};
23
-
24
- ${({theme:t})=>t.breakpoints.up("sm")} {
25
- ${oo};
26
- }
27
- `,H=i(p)`
28
- max-height: 84vh;
29
- overflow: hidden;
30
- `,V=i(p)`
31
- & ${k} {
32
- flex: 1;
33
- }
34
-
35
- & ${y} {
36
- padding: 0.3rem;
37
- color: var(--baseColor);
38
-
39
- &:only-child {
40
- margin-left: auto;
41
- }
42
- }
43
-
44
- & ${y}:active {
45
- color: var(--actionColor);
46
- background-color: var(--lightColor);
47
- }
48
-
49
- & ${y}:hover {
50
- background-color: var(--lightColor);
51
- }
52
- `,G=i(v)`
53
- flex: 1;
54
- display: flex;
55
- overscroll-behavior: none;
56
- overflow: hidden;
57
- `,L=i(p).attrs({borderRadius:"circular"})`
58
- background-color: var(--lightColor);
59
-
60
- & svg {
61
- color: var(--baseColor);
62
- width: 1.25rem;
63
- height: 1.25rem;
64
-
65
- g {
66
- fill: var(--baseColor);
67
- }
68
- }
69
- `,W=i(v)`
70
- z-index: 9999;
71
- display: flex;
72
- justify-content: center;
73
- align-items: center;
74
- position: fixed;
75
- top: 0;
76
- left: 0;
77
- right: 0;
78
- bottom: 0;
79
- `,N=i(b)`
80
- will-change: opacity;
81
- `;import o,{cloneElement as to,isValidElement as ro,useEffect as no,useState as lo}from"react";import{createPortal as ao}from"react-dom";var Q=r(({isOpen:t,onDismiss:e,...n})=>{if(!t&&!e)throw new Error('You must provide "isOpen" and "onDismiss" if not using "trigger" prop.');let[d,s]=lo(!1);return no(()=>{s(!0)},[]),!d||!h?null:ao(o.createElement($,null,t?o.createElement(W,{"data-testid":"modal-container"},o.createElement(N,{absoluteFill:!0,bgColor:"neutral.180","data-testid":"modal-overlay",onClick:e,initial:{opacity:0},animate:{opacity:.8},exit:{opacity:0}}),o.createElement(so,{onDismiss:e,...n})):null),h)},"ModalBaseComponent"),io=r(({defaultOpen:t,trigger:e,isOpen:n,onDismiss:d,onModalOpen:s,...m})=>{let{active:l,disable:u,enable:C,toggle:g}=T(t,{onActive:s});return(n||d)&&E.warn('"isOpen" and "onDismiss" has no effect while using "trigger" prop'),o.createElement(o.Fragment,null,r(()=>{let a=null;if(typeof e=="function"&&(a=e({isOpen:l,open:C})),ro(e)&&(a=to(e,{onClick:g})),a===null)throw new Error('"trigger" prop is not a valid element');return a},"renderTrigger")(),o.createElement(Q,{isOpen:l,onDismiss:u,...m}))},"ModalTriggerVariant"),so=r(({noCloseButton:t,primaryButton:e,secondaryButton:n,primaryText:d,secondaryText:s,onDismiss:m,primaryAction:l,secondaryAction:u,children:C,tagline:g,variant:M,footer:a,title:w,size:q,icon:B})=>{let{isMobile:x}=z(),A=r(()=>{l({close:m})},"handlePrimary"),J=r(()=>{u({close:m})},"handleSecondary"),K=r(()=>{let f={onClick:A,fullWidth:a==="full"||x,"data-testid":"modal-confirm-button"};return e?o.cloneElement(e,f):o.createElement(S,{color:M,...f},d)},"renderPrimaryButton");return o.createElement(j,{size:q,variant:M,initial:{y:"100%",opacity:0},animate:{y:0,opacity:1},exit:{y:"200%",opacity:0}},o.createElement(H,{gap:"medium"},o.createElement(V,{gap:"xs"},o.createElement(I,{opener:B&&o.createElement(L,{justifyContent:"center",alignItems:"center",p:"micro"},B),closer:!t&&o.createElement(F,{onClick:m,"data-testid":"modal-close-button",icon:o.createElement(D,{name:"times"}),variant:"linked",color:"secondary",size:"large",alignSelf:"start"})},w&&o.createElement(P,{variant:"h4",area:"title",color:"neutral.170",text:w})),g&&o.createElement(P,{variant:"meta",color:"secondary.dark",area:"tagline"},g)),o.createElement(G,{py:"medium"},o.createElement(O,null,C)),(l||u)&&o.createElement(p,{flexDirection:x?"column-reverse":"row",justifyContent:a==="expanded"?"between":"end",gap:"medium"},u&&r(()=>{if(a==="full")return null;let f={onClick:J,fullWidth:x,"data-testid":"modal-cancel-button"};return n?o.cloneElement(n,f):o.createElement(S,{variant:"outlined",color:"secondary",...f},s)},"renderSecondaryButton")(),l&&K())))},"ModalDialog"),Y=r(({noCloseButton:t=!1,secondaryText:e="Cancelar",primaryText:n="Confirmar",variant:d="primary",footer:s="right",...m})=>{let l={noCloseButton:t,secondaryText:e,primaryText:n,variant:d,footer:s,...m};return l!=null&&l.trigger?o.createElement(io,{...l}):o.createElement(Q,{...l})},"ModalComponent");Y.displayName="Modal";export{j as a,H as b,V as c,G as d,L as e,W as f,N as g,Y as h};