@apollion-dsi/core 3.0.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 (569) hide show
  1. package/README.md +119 -0
  2. package/lib/chunks/chunk-2B3RKGV2.esm.js +1 -0
  3. package/lib/chunks/chunk-2FQC32AA.esm.js +1 -0
  4. package/lib/chunks/chunk-2ROOI4B2.esm.js +0 -0
  5. package/lib/chunks/chunk-3DUB5C4Z.esm.js +1 -0
  6. package/lib/chunks/chunk-3HHYBI4E.esm.js +1 -0
  7. package/lib/chunks/chunk-3QSPHURU.esm.js +1 -0
  8. package/lib/chunks/chunk-3V3ZEGHO.esm.js +1 -0
  9. package/lib/chunks/chunk-3XS7RVYS.esm.js +30 -0
  10. package/lib/chunks/chunk-44EW3LMK.esm.js +1 -0
  11. package/lib/chunks/chunk-4H6GW4MC.esm.js +0 -0
  12. package/lib/chunks/chunk-4PCG2KFF.esm.js +1 -0
  13. package/lib/chunks/chunk-4WBZAWFH.esm.js +0 -0
  14. package/lib/chunks/chunk-4Z3FXC7B.esm.js +5 -0
  15. package/lib/chunks/chunk-5337L6ZX.esm.js +0 -0
  16. package/lib/chunks/chunk-5OKRFXLL.esm.js +0 -0
  17. package/lib/chunks/chunk-5XXISYUW.esm.js +126 -0
  18. package/lib/chunks/chunk-6H6SEPAI.esm.js +130 -0
  19. package/lib/chunks/chunk-6KYLIXBS.esm.js +1 -0
  20. package/lib/chunks/chunk-6RNKPTEX.esm.js +40 -0
  21. package/lib/chunks/chunk-752Z7BQF.esm.js +1 -0
  22. package/lib/chunks/chunk-7PD7R2RB.esm.js +15 -0
  23. package/lib/chunks/chunk-7VYSPE3B.esm.js +14 -0
  24. package/lib/chunks/chunk-A3OJEVGQ.esm.js +1 -0
  25. package/lib/chunks/chunk-A6Z2M2XU.esm.js +1 -0
  26. package/lib/chunks/chunk-BE2JDTVA.esm.js +1 -0
  27. package/lib/chunks/chunk-BKF5RIHP.esm.js +1 -0
  28. package/lib/chunks/chunk-BNB3KNKE.esm.js +1 -0
  29. package/lib/chunks/chunk-BYYMKYCC.esm.js +6 -0
  30. package/lib/chunks/chunk-CDRLVSLF.esm.js +1 -0
  31. package/lib/chunks/chunk-CH7BVIBG.esm.js +1 -0
  32. package/lib/chunks/chunk-CSVGEHXH.esm.js +1 -0
  33. package/lib/chunks/chunk-D43MLNCQ.esm.js +26 -0
  34. package/lib/chunks/chunk-DAFBKFTS.esm.js +67 -0
  35. package/lib/chunks/chunk-DEAAQK5J.esm.js +5 -0
  36. package/lib/chunks/chunk-DP6AXK72.esm.js +1 -0
  37. package/lib/chunks/chunk-E4GPRFIB.esm.js +1 -0
  38. package/lib/chunks/chunk-EKTJ3A6R.esm.js +1 -0
  39. package/lib/chunks/chunk-ELYUJKST.esm.js +1 -0
  40. package/lib/chunks/chunk-ERLPEOAG.esm.js +7 -0
  41. package/lib/chunks/chunk-EWFUWYNO.esm.js +81 -0
  42. package/lib/chunks/chunk-FPQPDMPB.esm.js +0 -0
  43. package/lib/chunks/chunk-FVRWVTQD.esm.js +7 -0
  44. package/lib/chunks/chunk-G3IXCOJI.esm.js +1 -0
  45. package/lib/chunks/chunk-G3PLMKGA.esm.js +6 -0
  46. package/lib/chunks/chunk-G5M2X3TX.esm.js +7 -0
  47. package/lib/chunks/chunk-GP7NECT4.esm.js +1 -0
  48. package/lib/chunks/chunk-GWCDFVWM.esm.js +1 -0
  49. package/lib/chunks/chunk-GXCDUA3V.esm.js +0 -0
  50. package/lib/chunks/chunk-GZONWSRB.esm.js +1 -0
  51. package/lib/chunks/chunk-HK3DHNXU.esm.js +38 -0
  52. package/lib/chunks/chunk-I2E5B4NH.esm.js +1 -0
  53. package/lib/chunks/chunk-IA7RR4C7.esm.js +136 -0
  54. package/lib/chunks/chunk-JB7G6UGV.esm.js +1 -0
  55. package/lib/chunks/chunk-JIDBKHKA.esm.js +9 -0
  56. package/lib/chunks/chunk-JTQYUIZP.esm.js +1 -0
  57. package/lib/chunks/chunk-KDYOOGW7.esm.js +7 -0
  58. package/lib/chunks/chunk-KEQXETSP.esm.js +1 -0
  59. package/lib/chunks/chunk-KFFUMDHD.esm.js +1 -0
  60. package/lib/chunks/chunk-KQQ7V7VG.esm.js +1 -0
  61. package/lib/chunks/chunk-KR2X2UQG.esm.js +1 -0
  62. package/lib/chunks/chunk-KT6QQ3UJ.esm.js +1 -0
  63. package/lib/chunks/chunk-L4PVKG62.esm.js +0 -0
  64. package/lib/chunks/chunk-L6UB7RUM.esm.js +104 -0
  65. package/lib/chunks/chunk-LKD55J4V.esm.js +0 -0
  66. package/lib/chunks/chunk-LXG3BZB5.esm.js +1 -0
  67. package/lib/chunks/chunk-LZTZMWTK.esm.js +67 -0
  68. package/lib/chunks/chunk-NGODVNJB.esm.js +61 -0
  69. package/lib/chunks/chunk-NQBO2D7L.esm.js +1 -0
  70. package/lib/chunks/chunk-OEH5ARPF.esm.js +1 -0
  71. package/lib/chunks/chunk-OMBZMCKV.esm.js +1 -0
  72. package/lib/chunks/chunk-OXD4QSRP.esm.js +1 -0
  73. package/lib/chunks/chunk-PZYCW5IZ.esm.js +4 -0
  74. package/lib/chunks/chunk-Q3FXXXUX.esm.js +1 -0
  75. package/lib/chunks/chunk-QUHHEZMP.esm.js +1 -0
  76. package/lib/chunks/chunk-QZYXRYI7.esm.js +4 -0
  77. package/lib/chunks/chunk-RMTAUQ4Q.esm.js +0 -0
  78. package/lib/chunks/chunk-SAVXHMAA.esm.js +6 -0
  79. package/lib/chunks/chunk-SHDMTEPB.esm.js +46 -0
  80. package/lib/chunks/chunk-SKV75I6W.esm.js +1 -0
  81. package/lib/chunks/chunk-SPHHNZVP.esm.js +1 -0
  82. package/lib/chunks/chunk-SR7ARLZ4.esm.js +1 -0
  83. package/lib/chunks/chunk-TAVNLEMI.esm.js +31 -0
  84. package/lib/chunks/chunk-TGTH3E4X.esm.js +1 -0
  85. package/lib/chunks/chunk-TR4PVAXI.esm.js +1 -0
  86. package/lib/chunks/chunk-U27SLYIV.esm.js +1 -0
  87. package/lib/chunks/chunk-UJDBHSL7.esm.js +1 -0
  88. package/lib/chunks/chunk-V5AWVNU6.esm.js +1 -0
  89. package/lib/chunks/chunk-V77X6UJ2.esm.js +1 -0
  90. package/lib/chunks/chunk-VTRVGJA6.esm.js +3 -0
  91. package/lib/chunks/chunk-W663AGNE.esm.js +1 -0
  92. package/lib/chunks/chunk-WAHR5LIT.esm.js +1 -0
  93. package/lib/chunks/chunk-WOI7ZDPE.esm.js +94 -0
  94. package/lib/chunks/chunk-WTRTFZV6.esm.js +1 -0
  95. package/lib/chunks/chunk-WTWPQ4EL.esm.js +1 -0
  96. package/lib/chunks/chunk-WZALORLW.esm.js +1 -0
  97. package/lib/chunks/chunk-XFQI4QU6.esm.js +1 -0
  98. package/lib/chunks/chunk-XNBK5E7D.esm.js +5 -0
  99. package/lib/chunks/chunk-XNCMA56H.esm.js +81 -0
  100. package/lib/chunks/chunk-XW52MLHU.esm.js +15 -0
  101. package/lib/chunks/chunk-Z5OQHLDW.esm.js +1 -0
  102. package/lib/containers/Base/Base.interface.d.ts +14 -0
  103. package/lib/containers/Base/Base.style.d.ts +742 -0
  104. package/lib/containers/Base/index.d.ts +13 -0
  105. package/lib/containers/Base/index.esm.js +1 -0
  106. package/lib/containers/Card/Card.d.ts +24 -0
  107. package/lib/containers/Card/Card.interface.d.ts +37 -0
  108. package/lib/containers/Card/index.d.ts +11 -0
  109. package/lib/containers/Card/index.esm.js +1 -0
  110. package/lib/containers/Content/Content.d.ts +29 -0
  111. package/lib/containers/Content/Content.interface.d.ts +40 -0
  112. package/lib/containers/Content/index.d.ts +11 -0
  113. package/lib/containers/Content/index.esm.js +1 -0
  114. package/lib/containers/Flex/Flex.interface.d.ts +25 -0
  115. package/lib/containers/Flex/Flex.style.d.ts +747 -0
  116. package/lib/containers/Flex/index.d.ts +12 -0
  117. package/lib/containers/Flex/index.esm.js +1 -0
  118. package/lib/containers/Grid/Grid.interface.d.ts +78 -0
  119. package/lib/containers/Grid/Grid.style.d.ts +26 -0
  120. package/lib/containers/Grid/index.d.ts +14 -0
  121. package/lib/containers/Grid/index.esm.js +1 -0
  122. package/lib/containers/Notification/Notification.context.d.ts +54 -0
  123. package/lib/containers/Notification/Notification.d.ts +56 -0
  124. package/lib/containers/Notification/Notification.interface.d.ts +117 -0
  125. package/lib/containers/Notification/Notification.style.d.ts +5893 -0
  126. package/lib/containers/Notification/index.d.ts +18 -0
  127. package/lib/containers/Notification/index.esm.js +1 -0
  128. package/lib/containers/Paper/Paper.interface.d.ts +10 -0
  129. package/lib/containers/Paper/Paper.style.d.ts +47 -0
  130. package/lib/containers/Paper/index.d.ts +11 -0
  131. package/lib/containers/Paper/index.esm.js +1 -0
  132. package/lib/containers/Scroll/Scroll.d.ts +20 -0
  133. package/lib/containers/Scroll/Scroll.helpers.d.ts +23 -0
  134. package/lib/containers/Scroll/Scroll.interface.d.ts +10 -0
  135. package/lib/containers/Scroll/Scroll.style.d.ts +49 -0
  136. package/lib/containers/Scroll/index.d.ts +11 -0
  137. package/lib/containers/Scroll/index.esm.js +1 -0
  138. package/lib/containers/index.d.ts +8 -0
  139. package/lib/containers/index.esm.js +1 -0
  140. package/lib/dataDisplay/DataTable/DataTable.d.ts +18 -0
  141. package/lib/dataDisplay/DataTable/DataTable.helpers.d.ts +57 -0
  142. package/lib/dataDisplay/DataTable/DataTable.interface.d.ts +175 -0
  143. package/lib/dataDisplay/DataTable/DataTable.props.d.ts +25 -0
  144. package/lib/dataDisplay/DataTable/DataTable.style.d.ts +121 -0
  145. package/lib/dataDisplay/DataTable/index.d.ts +10 -0
  146. package/lib/dataDisplay/DataTable/index.esm.js +1 -0
  147. package/lib/dataDisplay/Table/Table/Table.d.ts +17 -0
  148. package/lib/dataDisplay/Table/Table/Table.interface.d.ts +89 -0
  149. package/lib/dataDisplay/Table/Table/Table.style.d.ts +2 -0
  150. package/lib/dataDisplay/Table/Table/index.d.ts +11 -0
  151. package/lib/dataDisplay/Table/Table/index.esm.js +1 -0
  152. package/lib/dataDisplay/Table/Table.context.d.ts +37 -0
  153. package/lib/dataDisplay/Table/Table.shared.d.ts +12 -0
  154. package/lib/dataDisplay/Table/TableBody/TableBody.d.ts +10 -0
  155. package/lib/dataDisplay/Table/TableBody/TableBody.interface.d.ts +10 -0
  156. package/lib/dataDisplay/Table/TableBody/TableBody.style.d.ts +8 -0
  157. package/lib/dataDisplay/Table/TableBody/index.d.ts +10 -0
  158. package/lib/dataDisplay/Table/TableBody/index.esm.js +1 -0
  159. package/lib/dataDisplay/Table/TableCell/TableCell.d.ts +14 -0
  160. package/lib/dataDisplay/Table/TableCell/TableCell.interface.d.ts +18 -0
  161. package/lib/dataDisplay/Table/TableCell/TableCell.style.d.ts +9 -0
  162. package/lib/dataDisplay/Table/TableCell/index.d.ts +9 -0
  163. package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -0
  164. package/lib/dataDisplay/Table/TableCheckboxCell/TableCheckboxCell.d.ts +14 -0
  165. package/lib/dataDisplay/Table/TableCheckboxCell/TableCheckboxCell.interface.d.ts +10 -0
  166. package/lib/dataDisplay/Table/TableCheckboxCell/TableCheckboxCell.style.d.ts +15 -0
  167. package/lib/dataDisplay/Table/TableCheckboxCell/index.d.ts +9 -0
  168. package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -0
  169. package/lib/dataDisplay/Table/TableEmpty/TableEmpty.d.ts +10 -0
  170. package/lib/dataDisplay/Table/TableEmpty/TableEmpty.interface.d.ts +17 -0
  171. package/lib/dataDisplay/Table/TableEmpty/TableEmpty.style.d.ts +45 -0
  172. package/lib/dataDisplay/Table/TableEmpty/index.d.ts +8 -0
  173. package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -0
  174. package/lib/dataDisplay/Table/TableFooter/TableFooter.d.ts +14 -0
  175. package/lib/dataDisplay/Table/TableFooter/TableFooter.interface.d.ts +12 -0
  176. package/lib/dataDisplay/Table/TableFooter/TableFooter.style.d.ts +8 -0
  177. package/lib/dataDisplay/Table/TableFooter/index.d.ts +9 -0
  178. package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -0
  179. package/lib/dataDisplay/Table/TableHeader/TableHeader.d.ts +13 -0
  180. package/lib/dataDisplay/Table/TableHeader/TableHeader.interface.d.ts +8 -0
  181. package/lib/dataDisplay/Table/TableHeader/TableHeader.style.d.ts +9 -0
  182. package/lib/dataDisplay/Table/TableHeader/index.d.ts +9 -0
  183. package/lib/dataDisplay/Table/TableHeader/index.esm.js +1 -0
  184. package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.d.ts +14 -0
  185. package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.interface.d.ts +13 -0
  186. package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.style.d.ts +9 -0
  187. package/lib/dataDisplay/Table/TableHeaderCell/index.d.ts +9 -0
  188. package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -0
  189. package/lib/dataDisplay/Table/TableHeaderCheckboxCell/TableHeaderCheckboxCell.d.ts +13 -0
  190. package/lib/dataDisplay/Table/TableHeaderCheckboxCell/TableHeaderCheckboxCell.interface.d.ts +11 -0
  191. package/lib/dataDisplay/Table/TableHeaderCheckboxCell/TableHeaderCheckboxCell.style.d.ts +11 -0
  192. package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.d.ts +9 -0
  193. package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -0
  194. package/lib/dataDisplay/Table/TablePagination/TablePagination.d.ts +17 -0
  195. package/lib/dataDisplay/Table/TablePagination/TablePagination.interface.d.ts +20 -0
  196. package/lib/dataDisplay/Table/TablePagination/index.d.ts +7 -0
  197. package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -0
  198. package/lib/dataDisplay/Table/TableRow/TableRow.d.ts +12 -0
  199. package/lib/dataDisplay/Table/TableRow/TableRow.interface.d.ts +10 -0
  200. package/lib/dataDisplay/Table/TableRow/TableRow.style.d.ts +7 -0
  201. package/lib/dataDisplay/Table/TableRow/index.d.ts +9 -0
  202. package/lib/dataDisplay/Table/TableRow/index.esm.js +1 -0
  203. package/lib/dataDisplay/Table/index.d.ts +23 -0
  204. package/lib/dataDisplay/Table/index.esm.js +1 -0
  205. package/lib/dataDisplay/Tabs/Tabs.d.ts +34 -0
  206. package/lib/dataDisplay/Tabs/Tabs.interface.d.ts +69 -0
  207. package/lib/dataDisplay/Tabs/Tabs.style.d.ts +113 -0
  208. package/lib/dataDisplay/Tabs/index.d.ts +11 -0
  209. package/lib/dataDisplay/Tabs/index.esm.js +1 -0
  210. package/lib/dataDisplay/index.d.ts +3 -0
  211. package/lib/dataDisplay/index.esm.js +1 -0
  212. package/lib/elements/Avatar/Avatar.d.ts +21 -0
  213. package/lib/elements/Avatar/Avatar.helpers.d.ts +13 -0
  214. package/lib/elements/Avatar/Avatar.interface.d.ts +53 -0
  215. package/lib/elements/Avatar/Avatar.style.d.ts +28 -0
  216. package/lib/elements/Avatar/index.d.ts +9 -0
  217. package/lib/elements/Avatar/index.esm.js +1 -0
  218. package/lib/elements/Button/Button.d.ts +24 -0
  219. package/lib/elements/Button/Button.interface.d.ts +119 -0
  220. package/lib/elements/Button/Button.style.d.ts +1064 -0
  221. package/lib/elements/Button/index.d.ts +14 -0
  222. package/lib/elements/Button/index.esm.js +1 -0
  223. package/lib/elements/Dropdown/Dropdown.d.ts +32 -0
  224. package/lib/elements/Dropdown/Dropdown.interface.d.ts +77 -0
  225. package/lib/elements/Dropdown/index.d.ts +9 -0
  226. package/lib/elements/Dropdown/index.esm.js +1 -0
  227. package/lib/elements/Icon/Icon.d.ts +22 -0
  228. package/lib/elements/Icon/Icon.helpers.d.ts +15 -0
  229. package/lib/elements/Icon/Icon.interface.d.ts +80 -0
  230. package/lib/elements/Icon/Icon.style.d.ts +19 -0
  231. package/lib/elements/Icon/index.d.ts +11 -0
  232. package/lib/elements/Icon/index.esm.js +1 -0
  233. package/lib/elements/IconButton/IconButton.d.ts +19 -0
  234. package/lib/elements/IconButton/IconButton.interface.d.ts +24 -0
  235. package/lib/elements/IconButton/IconButton.style.d.ts +51 -0
  236. package/lib/elements/IconButton/index.d.ts +11 -0
  237. package/lib/elements/IconButton/index.esm.js +1 -0
  238. package/lib/elements/Image/Image.d.ts +35 -0
  239. package/lib/elements/Image/Image.interface.d.ts +49 -0
  240. package/lib/elements/Image/Image.style.d.ts +9 -0
  241. package/lib/elements/Image/index.d.ts +10 -0
  242. package/lib/elements/Image/index.esm.js +1 -0
  243. package/lib/elements/Label/Label.d.ts +25 -0
  244. package/lib/elements/Label/Label.interface.d.ts +28 -0
  245. package/lib/elements/Label/Label.style.d.ts +28 -0
  246. package/lib/elements/Label/index.d.ts +10 -0
  247. package/lib/elements/Label/index.esm.js +1 -0
  248. package/lib/elements/Link/Link.d.ts +34 -0
  249. package/lib/elements/Link/Link.interface.d.ts +36 -0
  250. package/lib/elements/Link/Link.style.d.ts +1318 -0
  251. package/lib/elements/Link/index.d.ts +10 -0
  252. package/lib/elements/Link/index.esm.js +1 -0
  253. package/lib/elements/List/List.d.ts +23 -0
  254. package/lib/elements/List/List.interface.d.ts +81 -0
  255. package/lib/elements/List/List.style.d.ts +54 -0
  256. package/lib/elements/List/index.d.ts +9 -0
  257. package/lib/elements/List/index.esm.js +1 -0
  258. package/lib/elements/Modal/Modal.d.ts +47 -0
  259. package/lib/elements/Modal/Modal.interface.d.ts +121 -0
  260. package/lib/elements/Modal/Modal.style.d.ts +21945 -0
  261. package/lib/elements/Modal/index.d.ts +10 -0
  262. package/lib/elements/Modal/index.esm.js +1 -0
  263. package/lib/elements/Popover/Popover.d.ts +24 -0
  264. package/lib/elements/Popover/Popover.interface.d.ts +34 -0
  265. package/lib/elements/Popover/index.d.ts +8 -0
  266. package/lib/elements/Popover/index.esm.js +1 -0
  267. package/lib/elements/ProgressBar/ProgressBar.d.ts +21 -0
  268. package/lib/elements/ProgressBar/ProgressBar.interface.d.ts +44 -0
  269. package/lib/elements/ProgressBar/ProgressBar.style.d.ts +48 -0
  270. package/lib/elements/ProgressBar/index.d.ts +9 -0
  271. package/lib/elements/ProgressBar/index.esm.js +1 -0
  272. package/lib/elements/Spinner/Spinner.d.ts +22 -0
  273. package/lib/elements/Spinner/Spinner.interface.d.ts +22 -0
  274. package/lib/elements/Spinner/Spinner.style.d.ts +28 -0
  275. package/lib/elements/Spinner/index.d.ts +10 -0
  276. package/lib/elements/Spinner/index.esm.js +1 -0
  277. package/lib/elements/Svg/Svg.d.ts +28 -0
  278. package/lib/elements/Svg/Svg.interface.d.ts +67 -0
  279. package/lib/elements/Svg/Svg.style.d.ts +19 -0
  280. package/lib/elements/Svg/index.d.ts +10 -0
  281. package/lib/elements/Svg/index.esm.js +1 -0
  282. package/lib/elements/Text/Text.d.ts +27 -0
  283. package/lib/elements/Text/Text.interface.d.ts +94 -0
  284. package/lib/elements/Text/Text.props.d.ts +478 -0
  285. package/lib/elements/Text/Text.style.d.ts +21 -0
  286. package/lib/elements/Text/index.d.ts +12 -0
  287. package/lib/elements/Text/index.esm.js +1 -0
  288. package/lib/elements/Tooltip/Tooltip.d.ts +29 -0
  289. package/lib/elements/Tooltip/Tooltip.interface.d.ts +46 -0
  290. package/lib/elements/Tooltip/Tooltip.style.d.ts +32 -0
  291. package/lib/elements/Tooltip/index.d.ts +10 -0
  292. package/lib/elements/Tooltip/index.esm.js +1 -0
  293. package/lib/elements/index.d.ts +16 -0
  294. package/lib/elements/index.esm.js +1 -0
  295. package/lib/entities/debounce.d.ts +18 -0
  296. package/lib/entities/index.d.ts +11 -0
  297. package/lib/entities/index.esm.js +1 -0
  298. package/lib/entities/timer.d.ts +34 -0
  299. package/lib/entities/window.d.ts +22 -0
  300. package/lib/factory/BackgroundFactory/BackgroundFactory.d.ts +28 -0
  301. package/lib/factory/BackgroundFactory/BackgroundFactory.interface.d.ts +27 -0
  302. package/lib/factory/BackgroundFactory/index.d.ts +9 -0
  303. package/lib/factory/BackgroundFactory/index.esm.js +1 -0
  304. package/lib/factory/BorderFactory/BorderFactory.d.ts +1065 -0
  305. package/lib/factory/BorderFactory/BorderFactory.interface.d.ts +47 -0
  306. package/lib/factory/BorderFactory/index.d.ts +9 -0
  307. package/lib/factory/BorderFactory/index.esm.js +1 -0
  308. package/lib/factory/ColorFactory/ColorFactory.d.ts +31 -0
  309. package/lib/factory/ColorFactory/ColorFactory.interface.d.ts +31 -0
  310. package/lib/factory/ColorFactory/index.d.ts +8 -0
  311. package/lib/factory/ColorFactory/index.esm.js +1 -0
  312. package/lib/factory/ContainerFactory/ContainerFactory.d.ts +23 -0
  313. package/lib/factory/ContainerFactory/ContainerFactory.interface.d.ts +65 -0
  314. package/lib/factory/ContainerFactory/index.d.ts +8 -0
  315. package/lib/factory/ContainerFactory/index.esm.js +1 -0
  316. package/lib/factory/DeepFactory/DeepFactory.d.ts +26 -0
  317. package/lib/factory/DeepFactory/DeepFactory.interface.d.ts +41 -0
  318. package/lib/factory/DeepFactory/index.d.ts +8 -0
  319. package/lib/factory/DeepFactory/index.esm.js +1 -0
  320. package/lib/factory/FlexFactory/FlexFactory.d.ts +22 -0
  321. package/lib/factory/FlexFactory/FlexFactory.interface.d.ts +63 -0
  322. package/lib/factory/FlexFactory/index.d.ts +9 -0
  323. package/lib/factory/FlexFactory/index.esm.js +1 -0
  324. package/lib/factory/FontFactory/FontFactory.d.ts +21 -0
  325. package/lib/factory/FontFactory/FontFactory.interface.d.ts +32 -0
  326. package/lib/factory/FontFactory/index.d.ts +8 -0
  327. package/lib/factory/FontFactory/index.esm.js +1 -0
  328. package/lib/factory/ResponsiveFactory/ResponsiveFactory.d.ts +22 -0
  329. package/lib/factory/ResponsiveFactory/ResponsiveFactory.interface.d.ts +42 -0
  330. package/lib/factory/ResponsiveFactory/index.d.ts +8 -0
  331. package/lib/factory/ResponsiveFactory/index.esm.js +1 -0
  332. package/lib/factory/SizeFactory/SizeFactory.d.ts +23 -0
  333. package/lib/factory/SizeFactory/SizeFactory.interface.d.ts +26 -0
  334. package/lib/factory/SizeFactory/index.d.ts +7 -0
  335. package/lib/factory/SizeFactory/index.esm.js +1 -0
  336. package/lib/factory/SpacingFactory/SpacingFactory.d.ts +21 -0
  337. package/lib/factory/SpacingFactory/SpacingFactory.interface.d.ts +25 -0
  338. package/lib/factory/SpacingFactory/index.d.ts +8 -0
  339. package/lib/factory/SpacingFactory/index.esm.js +1 -0
  340. package/lib/factory/System/System.d.ts +24 -0
  341. package/lib/factory/System/System.interface.d.ts +49 -0
  342. package/lib/factory/System/index.d.ts +9 -0
  343. package/lib/factory/System/index.esm.js +1 -0
  344. package/lib/factory/index.d.ts +22 -0
  345. package/lib/factory/index.esm.js +1 -0
  346. package/lib/form/Checkbox/Checkbox.d.ts +25 -0
  347. package/lib/form/Checkbox/Checkbox.interface.d.ts +28 -0
  348. package/lib/form/Checkbox/Checkbox.style.d.ts +58 -0
  349. package/lib/form/Checkbox/index.d.ts +9 -0
  350. package/lib/form/Checkbox/index.esm.js +1 -0
  351. package/lib/form/Field/Field.d.ts +27 -0
  352. package/lib/form/Field/Field.interface.d.ts +34 -0
  353. package/lib/form/Field/Field.style.d.ts +83 -0
  354. package/lib/form/Field/index.d.ts +11 -0
  355. package/lib/form/Field/index.esm.js +1 -0
  356. package/lib/form/FieldGroup/FieldGroup.d.ts +35 -0
  357. package/lib/form/FieldGroup/FieldGroup.helpers.d.ts +19 -0
  358. package/lib/form/FieldGroup/FieldGroup.interface.d.ts +75 -0
  359. package/lib/form/FieldGroup/index.d.ts +8 -0
  360. package/lib/form/FieldGroup/index.esm.js +1 -0
  361. package/lib/form/Form/Form.d.ts +5 -0
  362. package/lib/form/Form/Form.helpers.d.ts +45 -0
  363. package/lib/form/Form/Form.interface.d.ts +122 -0
  364. package/lib/form/Form/Form.style.d.ts +46 -0
  365. package/lib/form/Form/index.d.ts +12 -0
  366. package/lib/form/Form/index.esm.js +1 -0
  367. package/lib/form/Input/Input.d.ts +22 -0
  368. package/lib/form/Input/Input.helpers.d.ts +21 -0
  369. package/lib/form/Input/Input.interface.d.ts +93 -0
  370. package/lib/form/Input/Input.style.d.ts +122 -0
  371. package/lib/form/Input/index.d.ts +11 -0
  372. package/lib/form/Input/index.esm.js +1 -0
  373. package/lib/form/InputCurrency/InputCurrency.d.ts +21 -0
  374. package/lib/form/InputCurrency/InputCurrency.helpers.d.ts +34 -0
  375. package/lib/form/InputCurrency/InputCurrency.interface.d.ts +36 -0
  376. package/lib/form/InputCurrency/index.d.ts +11 -0
  377. package/lib/form/InputCurrency/index.esm.js +1 -0
  378. package/lib/form/InputDate/InputDate.d.ts +21 -0
  379. package/lib/form/InputDate/index.d.ts +7 -0
  380. package/lib/form/InputDate/index.esm.js +1 -0
  381. package/lib/form/InputMask/InputMask.d.ts +24 -0
  382. package/lib/form/InputMask/InputMask.interface.d.ts +25 -0
  383. package/lib/form/InputMask/index.d.ts +8 -0
  384. package/lib/form/InputMask/index.esm.js +1 -0
  385. package/lib/form/InputRange/InputRange.d.ts +26 -0
  386. package/lib/form/InputRange/InputRange.helpers.d.ts +32 -0
  387. package/lib/form/InputRange/InputRange.interface.d.ts +12 -0
  388. package/lib/form/InputRange/InputRange.style.d.ts +115 -0
  389. package/lib/form/InputRange/index.d.ts +10 -0
  390. package/lib/form/InputRange/index.esm.js +1 -0
  391. package/lib/form/InputSelect/DropdownIndicator.d.ts +12 -0
  392. package/lib/form/InputSelect/InputSelect.d.ts +5 -0
  393. package/lib/form/InputSelect/InputSelect.helpers.d.ts +23 -0
  394. package/lib/form/InputSelect/InputSelect.interface.d.ts +33 -0
  395. package/lib/form/InputSelect/InputSelect.style.d.ts +44 -0
  396. package/lib/form/InputSelect/index.d.ts +10 -0
  397. package/lib/form/InputSelect/index.esm.js +1 -0
  398. package/lib/form/Radio/Radio.d.ts +23 -0
  399. package/lib/form/Radio/Radio.interface.d.ts +26 -0
  400. package/lib/form/Radio/Radio.style.d.ts +52 -0
  401. package/lib/form/Radio/index.d.ts +9 -0
  402. package/lib/form/Radio/index.esm.js +1 -0
  403. package/lib/form/TextArea/TextArea.d.ts +22 -0
  404. package/lib/form/TextArea/TextArea.interface.d.ts +56 -0
  405. package/lib/form/TextArea/TextArea.style.d.ts +78 -0
  406. package/lib/form/TextArea/index.d.ts +10 -0
  407. package/lib/form/TextArea/index.esm.js +1 -0
  408. package/lib/form/UploadCard/UploadCard.d.ts +37 -0
  409. package/lib/form/UploadCard/UploadCard.helpers.d.ts +32 -0
  410. package/lib/form/UploadCard/UploadCard.interface.d.ts +203 -0
  411. package/lib/form/UploadCard/UploadCard.style.d.ts +140 -0
  412. package/lib/form/UploadCard/UploadCard.variant.d.ts +4 -0
  413. package/lib/form/UploadCard/index.d.ts +13 -0
  414. package/lib/form/UploadCard/index.esm.js +1 -0
  415. package/lib/form/UploadCard/useFileControl.d.ts +30 -0
  416. package/lib/form/UploadCard/useFileState.d.ts +18 -0
  417. package/lib/form/UploadCard/useObjectUrl.d.ts +11 -0
  418. package/lib/form/index.d.ts +13 -0
  419. package/lib/form/index.esm.js +1 -0
  420. package/lib/hooks/index.d.ts +12 -0
  421. package/lib/hooks/index.esm.js +1 -0
  422. package/lib/hooks/useClickOutside/index.d.ts +7 -0
  423. package/lib/hooks/useClickOutside/index.esm.js +1 -0
  424. package/lib/hooks/useClickOutside/useClickOutside.d.ts +21 -0
  425. package/lib/hooks/useClipboard/index.d.ts +7 -0
  426. package/lib/hooks/useClipboard/index.esm.js +1 -0
  427. package/lib/hooks/useClipboard/useClipboard.d.ts +25 -0
  428. package/lib/hooks/useClipboard/useClipboard.helpers.d.ts +23 -0
  429. package/lib/hooks/useDrag/index.d.ts +11 -0
  430. package/lib/hooks/useDrag/index.esm.js +1 -0
  431. package/lib/hooks/useDrag/useDrag.d.ts +26 -0
  432. package/lib/hooks/useDrag/useDrag.helpers.d.ts +15 -0
  433. package/lib/hooks/useDrag/useDrag.interface.d.ts +35 -0
  434. package/lib/hooks/useEventCallback/index.d.ts +8 -0
  435. package/lib/hooks/useEventCallback/index.esm.js +1 -0
  436. package/lib/hooks/useEventCallback/useEventCallback.d.ts +34 -0
  437. package/lib/hooks/useFileDialog/index.d.ts +7 -0
  438. package/lib/hooks/useFileDialog/index.esm.js +1 -0
  439. package/lib/hooks/useFileDialog/useFileDialog.d.ts +43 -0
  440. package/lib/hooks/useIntersect/index.d.ts +7 -0
  441. package/lib/hooks/useIntersect/index.esm.js +1 -0
  442. package/lib/hooks/useIntersect/useIntersect.d.ts +25 -0
  443. package/lib/hooks/useLazyEffect/index.d.ts +7 -0
  444. package/lib/hooks/useLazyEffect/index.esm.js +1 -0
  445. package/lib/hooks/useLazyEffect/useLazyEffect.d.ts +21 -0
  446. package/lib/hooks/useMediaQuery/index.d.ts +11 -0
  447. package/lib/hooks/useMediaQuery/index.esm.js +1 -0
  448. package/lib/hooks/useMediaQuery/useMediaQuery.d.ts +19 -0
  449. package/lib/hooks/useMediaQuery/useMediaQuery.helpers.d.ts +26 -0
  450. package/lib/hooks/useMediaQuery/useMediaQuery.interface.d.ts +24 -0
  451. package/lib/hooks/useProgress/index.d.ts +7 -0
  452. package/lib/hooks/useProgress/index.esm.js +1 -0
  453. package/lib/hooks/useProgress/useProgress.d.ts +31 -0
  454. package/lib/hooks/useScript/index.d.ts +7 -0
  455. package/lib/hooks/useScript/index.esm.js +1 -0
  456. package/lib/hooks/useScript/useScript.d.ts +25 -0
  457. package/lib/hooks/useToggle/index.d.ts +7 -0
  458. package/lib/hooks/useToggle/index.esm.js +1 -0
  459. package/lib/hooks/useToggle/useToggle.d.ts +45 -0
  460. package/lib/hooks/useUnload/index.d.ts +7 -0
  461. package/lib/hooks/useUnload/index.esm.js +1 -0
  462. package/lib/hooks/useUnload/useUnload.d.ts +32 -0
  463. package/lib/icons/Icons/categoryAlert.d.ts +13 -0
  464. package/lib/icons/Icons/categoryAlign.d.ts +13 -0
  465. package/lib/icons/Icons/categoryArrow.d.ts +22 -0
  466. package/lib/icons/Icons/categoryEmoji.d.ts +17 -0
  467. package/lib/icons/Icons/categoryFile.d.ts +14 -0
  468. package/lib/icons/Icons/categoryInterface.d.ts +28 -0
  469. package/lib/icons/Icons/categoryMedia.d.ts +10 -0
  470. package/lib/icons/Icons/categorySocial.d.ts +13 -0
  471. package/lib/icons/Icons/categoryStatus.d.ts +14 -0
  472. package/lib/icons/Icons/categoryUser.d.ts +19 -0
  473. package/lib/icons/Icons/index.d.ts +87 -0
  474. package/lib/icons/Icons/index.esm.js +1 -0
  475. package/lib/icons/index.d.ts +7 -0
  476. package/lib/icons/index.esm.js +1 -0
  477. package/lib/index.d.ts +14 -0
  478. package/lib/index.esm.js +1 -0
  479. package/lib/index.js +1262 -0
  480. package/lib/layouts/DefaultLayout/DefaultLayout.d.ts +16 -0
  481. package/lib/layouts/DefaultLayout/DefaultLayout.interface.d.ts +23 -0
  482. package/lib/layouts/DefaultLayout/DefaultLayout.props.d.ts +9 -0
  483. package/lib/layouts/DefaultLayout/DefaultLayout.style.d.ts +44 -0
  484. package/lib/layouts/DefaultLayout/index.d.ts +13 -0
  485. package/lib/layouts/DefaultLayout/index.esm.js +1 -0
  486. package/lib/layouts/SideBarLayout/SideBarLayout.d.ts +16 -0
  487. package/lib/layouts/SideBarLayout/SideBarLayout.interface.d.ts +17 -0
  488. package/lib/layouts/SideBarLayout/SideBarLayout.props.d.ts +11 -0
  489. package/lib/layouts/SideBarLayout/SideBarLayout.style.d.ts +43 -0
  490. package/lib/layouts/SideBarLayout/index.d.ts +13 -0
  491. package/lib/layouts/SideBarLayout/index.esm.js +1 -0
  492. package/lib/layouts/index.d.ts +2 -0
  493. package/lib/layouts/index.esm.js +1 -0
  494. package/lib/scenario/CircleComponent/CircleComponent.d.ts +18 -0
  495. package/lib/scenario/CircleComponent/CircleComponent.style.d.ts +14 -0
  496. package/lib/scenario/CircleComponent/index.d.ts +11 -0
  497. package/lib/scenario/CircleComponent/index.esm.js +1 -0
  498. package/lib/scenario/RectComponent/RectComponent.d.ts +20 -0
  499. package/lib/scenario/RectComponent/RectComponent.style.d.ts +6 -0
  500. package/lib/scenario/RectComponent/index.d.ts +11 -0
  501. package/lib/scenario/RectComponent/index.esm.js +1 -0
  502. package/lib/scenario/index.d.ts +2 -0
  503. package/lib/scenario/index.esm.js +1 -0
  504. package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.d.ts +37 -0
  505. package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.interface.d.ts +33 -0
  506. package/lib/skeleton/ComposedSkeleton/index.d.ts +13 -0
  507. package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -0
  508. package/lib/skeleton/TextPreset/TextPreset.d.ts +19 -0
  509. package/lib/skeleton/TextPreset/index.d.ts +9 -0
  510. package/lib/skeleton/TextPreset/index.esm.js +1 -0
  511. package/lib/skeleton/index.d.ts +2 -0
  512. package/lib/skeleton/index.esm.js +1 -0
  513. package/lib/themes/Animation/Animation.interface.d.ts +21 -0
  514. package/lib/themes/Animation/Animation.props.d.ts +10 -0
  515. package/lib/themes/Animation/index.d.ts +9 -0
  516. package/lib/themes/Animation/index.esm.js +1 -0
  517. package/lib/themes/Border/Border.interface.d.ts +63 -0
  518. package/lib/themes/Border/Border.props.d.ts +2 -0
  519. package/lib/themes/Border/index.d.ts +10 -0
  520. package/lib/themes/Border/index.esm.js +1 -0
  521. package/lib/themes/Breakpoints/Breakpoints.interface.d.ts +22 -0
  522. package/lib/themes/Breakpoints/Breakpoints.props.d.ts +4 -0
  523. package/lib/themes/Breakpoints/index.d.ts +8 -0
  524. package/lib/themes/Breakpoints/index.esm.js +1 -0
  525. package/lib/themes/Colors/Colors.helpers.d.ts +43 -0
  526. package/lib/themes/Colors/Colors.interface.d.ts +57 -0
  527. package/lib/themes/Colors/Colors.props.d.ts +3 -0
  528. package/lib/themes/Colors/index.d.ts +9 -0
  529. package/lib/themes/Colors/index.esm.js +1 -0
  530. package/lib/themes/Deep/Deep.interface.d.ts +36 -0
  531. package/lib/themes/Deep/Deep.props.d.ts +3 -0
  532. package/lib/themes/Deep/index.d.ts +8 -0
  533. package/lib/themes/Deep/index.esm.js +1 -0
  534. package/lib/themes/Depth/Depth.interface.d.ts +3 -0
  535. package/lib/themes/Depth/Depth.props.d.ts +6 -0
  536. package/lib/themes/Depth/index.d.ts +8 -0
  537. package/lib/themes/Depth/index.esm.js +1 -0
  538. package/lib/themes/Font/Font.interface.d.ts +47 -0
  539. package/lib/themes/Font/Font.props.d.ts +2 -0
  540. package/lib/themes/Font/index.d.ts +8 -0
  541. package/lib/themes/Font/index.esm.js +1 -0
  542. package/lib/themes/GlobalStyle/GlobalStyle.d.ts +7 -0
  543. package/lib/themes/GlobalStyle/index.d.ts +4 -0
  544. package/lib/themes/GlobalStyle/index.esm.js +1 -0
  545. package/lib/themes/Spacing/Spacing.interface.d.ts +7 -0
  546. package/lib/themes/Spacing/Spacing.props.d.ts +3 -0
  547. package/lib/themes/Spacing/index.d.ts +8 -0
  548. package/lib/themes/Spacing/index.esm.js +1 -0
  549. package/lib/themes/ThemeProvider/ThemeProvider.d.ts +3 -0
  550. package/lib/themes/ThemeProvider/ThemeProvider.interface.d.ts +41 -0
  551. package/lib/themes/ThemeProvider/ThemeProvider.props.d.ts +2 -0
  552. package/lib/themes/ThemeProvider/index.d.ts +15 -0
  553. package/lib/themes/ThemeProvider/index.esm.js +1 -0
  554. package/lib/themes/index.d.ts +10 -0
  555. package/lib/themes/index.esm.js +1 -0
  556. package/lib/utils/components/Breakpoints/Breakpoints.d.ts +24 -0
  557. package/lib/utils/components/Breakpoints/Breakpoints.interface.d.ts +19 -0
  558. package/lib/utils/components/Breakpoints/index.d.ts +8 -0
  559. package/lib/utils/components/Breakpoints/index.esm.js +1 -0
  560. package/lib/utils/components/index.d.ts +8 -0
  561. package/lib/utils/components/index.esm.js +1 -0
  562. package/lib/utils/index.d.ts +12 -0
  563. package/lib/utils/index.esm.js +1 -0
  564. package/lib/utils/logger.d.ts +12 -0
  565. package/lib/utils/mask.d.ts +42 -0
  566. package/lib/utils/object.d.ts +59 -0
  567. package/lib/utils/typeUtils.d.ts +49 -0
  568. package/lib/utils/utils.d.ts +80 -0
  569. package/package.json +319 -0
@@ -0,0 +1,26 @@
1
+ import{a as x,b as y,c as T,f as h}from"./chunk-L6UB7RUM.esm.js";import{a as c}from"./chunk-VTRVGJA6.esm.js";import{a as o}from"./chunk-ELYUJKST.esm.js";import{b as f}from"./chunk-752Z7BQF.esm.js";import{b as d}from"./chunk-W663AGNE.esm.js";import{b as p}from"./chunk-A6Z2M2XU.esm.js";import{d as u}from"./chunk-U27SLYIV.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";var S=o("textarea")`
2
+ -webkit-appearance: none;
3
+ width: 100%;
4
+ outline: none;
5
+ display: block;
6
+ transition: ${({theme:e})=>e.animation.transitions.short};
7
+
8
+ ${x}
9
+
10
+ ${T}
11
+
12
+ ${y}
13
+
14
+ ${u({borderRadius:"xs",borderWidth:"thin",borderStyle:"solid"})}
15
+ ${f({fontFamily:"main"})}
16
+ ${d({p:"small"})}
17
+ ${p({bgColor:"grayscale.0"})}
18
+ `,A=o(c)`
19
+ position: absolute;
20
+ right: 0;
21
+ bottom: 0;
22
+ line-height: 1.2rem;
23
+ font-size: 0.6875rem;
24
+ transform: translateY(100%);
25
+ color: ${({theme:e})=>e.colors.neutral[170]};
26
+ `;import a,{forwardRef as k,useState as V}from"react";var D={expansive:{fontSize:"medium",py:"medium"},medium:{fontSize:"medium",py:"small"},compact:{fontSize:"medium",py:"xs"},micro:{py:"micro",fontSize:"small",borderRadius:"micro"}},g=k(({value:e,defaultValue:b,onChange:n,maxLengthHint:C="characters left",variant:i="default",resize:I=!1,size:z="medium",...r},F)=>{let t=e!==void 0,[l,$]=V(b||""),P=t?e:l;return a.createElement(h,{variant:i},a.createElement(S,{value:t?e:l,defaultValue:void 0,variant:i,onChange:s(m=>{t||$(m.target.value),n&&n(m)},"handleChange"),...D[z],...r,ref:F,style:{resize:I?"both":"none"}}),r.maxLength&&a.createElement(A,null,Number(r.maxLength)-(P||"").length," ",C))});g.displayName="TextArea";export{S as a,A as b,g as c};
@@ -0,0 +1,67 @@
1
+ import{a as i,o as x}from"./chunk-LZTZMWTK.esm.js";import{a as p}from"./chunk-XNBK5E7D.esm.js";import{a as d}from"./chunk-VTRVGJA6.esm.js";import{a}from"./chunk-ELYUJKST.esm.js";import{b as s}from"./chunk-JB7G6UGV.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";import f,{css as b}from"styled-components";var n=a("input")`
2
+ position: absolute;
3
+ left: 0;
4
+ top: 0;
5
+ margin: 0;
6
+ opacity: 0;
7
+ cursor: pointer;
8
+ `,t=f(d).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:r}){let e=r.colors.information;return o==="success"&&(e=r.colors.success),o==="error"&&(e=r.colors.danger),b`
14
+ color: ${e.dark};
15
+
16
+ & > ${t} {
17
+ border: 1px solid ${e.dark};
18
+ }
19
+
20
+ &:hover > ${t}, &:focus > ${t} {
21
+ border-color: ${e.action};
22
+ box-shadow: ${r.depth("level-zero")};
23
+ }
24
+
25
+ & > ${n}:checked ~ ${t} {
26
+ border-color: ${e.base};
27
+ background-color: ${e.base};
28
+ box-shadow: ${r.depth("level-zero")};
29
+ }
30
+ `}c(k,"checkboxVariantStyle");function $({theme:o,disabled:r}){return r&&b`
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
+ & > ${i} {
42
+ ${s({color:"neutral.50"})}
43
+ }
44
+ }
45
+ }
46
+ `}c($,"disabledStyle");var h=a("label")`
47
+ position: relative;
48
+ display: inline-flex;
49
+ flex-direction: row;
50
+ cursor: pointer;
51
+ align-items: center;
52
+ margin: ${({theme:o})=>o.spacing(0,8,"medium",0)};
53
+ transition: ${({theme:o})=>o.animation.transitions.short};
54
+
55
+ & > ${n} ~ ${t} > ${i} {
56
+ ${s({color:"neutral.0"})}
57
+ opacity: 0;
58
+ }
59
+
60
+ /* Mostra o check quando o input nativo está :checked */
61
+ & > ${n}:checked ~ ${t} > ${i} {
62
+ opacity: 1;
63
+ }
64
+
65
+ ${k}
66
+ ${$}
67
+ `;import l from"react";var m=c(({label:o=null,variant:r="default",...e})=>l.createElement(h,{variant:r,disabled:e.disabled},l.createElement(n,{...e,type:"checkbox",hidden:!0}),l.createElement(t,null,l.createElement(x,{name:"check",size:"small"})),typeof o=="string"?l.createElement(p,{color:null},o):o),"CheckboxComponent");m.displayName="Checkbox";export{n as a,t as b,h as c,m as d};
@@ -0,0 +1,5 @@
1
+ import{a}from"./chunk-WTWPQ4EL.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import o from"styled-components";var n=i((r,e)=>({gridTemplateColumns:e.columns,gridTemplateRows:e.rows,gridTemplateAreas:e.areas,gap:e.gap?r.spacing(e.gap):void 0,gridColumnGap:e.columnGap?r.spacing(e.columnGap):void 0,gridRowGap:e.rowGap?r.spacing(e.rowGap):void 0}),"getGridProps"),f=i(({medias:r,theme:e})=>r?"xs"in r?Object.keys(r).reduce((d,t)=>({...d,[e.breakpoints.up(t)]:n(e,r[t])}),{}):n(e,r):{},"setGridBreakpoints"),G=o(a)`
2
+ display: grid;
3
+
4
+ ${f}
5
+ `;export{f as a,G as b};
@@ -0,0 +1 @@
1
+ import{a as e}from"./chunk-GZONWSRB.esm.js";var i={multiplier:.25,alias:{zero:0,micro:1,xs:2,small:3,medium:4,large:7,xl:11,xxl:18,giant:29}};function c({multiplier:t=.25,alias:r}){return(...p)=>p.map(n=>{let a=typeof n=="string"?r[n]:n;return`${t*a}rem`}).join(" ")}e(c,"createSpacing");export{i as a,c as b};
@@ -0,0 +1 @@
1
+ import a from"react";import y from"styled-components";var e=y.tbody``;var o=a.forwardRef((t,r)=>a.createElement(e,{ref:r},t.children));o.displayName="TableBody";export{e as a,o as b};
@@ -0,0 +1 @@
1
+ import{a as p}from"./chunk-BE2JDTVA.esm.js";import{c as i,d as l}from"./chunk-V5AWVNU6.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";import{useCallback as f,useEffect as y}from"react";function d(n,r){let t,e,o,s=!1;try{if(o=i.document.createRange(),t=i.document.getSelection(),e=i.document.createElement("span"),e.textContent=n,e.style.all="unset",e.style.position="fixed",e.style.top="0",e.style.clip="rect(0, 0, 0, 0)",e.style.whiteSpace="pre",e.style.userSelect="text",e.addEventListener("copy",c=>{c.stopPropagation(),r.format&&(c.preventDefault(),c.clipboardData.clearData(),c.clipboardData.setData(r.format,n))}),l.appendChild(e),o.selectNodeContents(e),t.addRange(o),s=i.document.execCommand("copy"),!s)throw new Error("copy command was unsuccessful")}catch(c){r.debug&&console.error("unable to copy using execCommand: ",c)}finally{t&&(typeof t.removeRange=="function"?t.removeRange(o):t.removeAllRanges()),e&&l.removeChild(e)}return s}a(d,"copyExecCommand");async function m(n,r){var e,o;let t=!1;try{if(navigator&&navigator.clipboard)await((o=(e=navigator==null?void 0:navigator.clipboard)==null?void 0:e.writeText)==null?void 0:o.call(e,n)),t=!0;else throw new Error("browser does not support clipboard API")}catch(s){r.debug&&console.error("unable to copy using Clipboard API: ",s)}return t}a(m,"copyAsync");async function u(n,{onCopy:r,onFailed:t,...e}={}){await m(n,e)||d(n,e)?r==null||r():t==null||t()}a(u,"copy");function x(n,r=2e3){let{active:t,enable:e,disable:o}=p(!1),s=f(()=>{u(n,{debug:!0,onCopy:e,onFailed:o})},[n,e,o]);return y(()=>{let c;return t&&(c=setTimeout(o,r)),()=>clearTimeout(c)},[r,t,o]),{onCopy:s,hasCopied:t}}a(x,"useClipboard");export{x as a};
@@ -0,0 +1 @@
1
+ import{a as A}from"./chunk-TGTH3E4X.esm.js";import{a as c,b as f}from"./chunk-752Z7BQF.esm.js";import{a as K,b as g}from"./chunk-BNB3KNKE.esm.js";import{a as u,b as x}from"./chunk-W663AGNE.esm.js";import{a as t,b as e}from"./chunk-A6Z2M2XU.esm.js";import{a,d as i}from"./chunk-U27SLYIV.esm.js";import{a as n,b as s}from"./chunk-JB7G6UGV.esm.js";import{a as m,b as p}from"./chunk-GP7NECT4.esm.js";import{a as y,b as l}from"./chunk-WAHR5LIT.esm.js";import{a as d,b as F}from"./chunk-OEH5ARPF.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import S from"@emotion/is-prop-valid";import v from"styled-components";var h=new Set([...m,...t,...u,...a,...n,...y,...c,...d,...K,"variant","active"]),P=r(o=>!h.has(o)&&S(o),"shouldForwardProp"),b=r((o=>v(o).withConfig({shouldForwardProp:P})),"styled"),w=["a","div","span","input","button"],C={};w.forEach(o=>{C[o]=b(o)(p({position:"relative"}),F,x,i,e,f,s,l,g,A)});export{b as a,C as b};
@@ -0,0 +1,7 @@
1
+ import{a as r}from"./chunk-GZONWSRB.esm.js";import d from"react";import t from"styled-components";var o=t.thead`
2
+ width: 100%;
3
+ background: ${({theme:a})=>a.colors.neutral[0]};
4
+ position: sticky;
5
+ top: 0;
6
+ z-index: 1;
7
+ `;var e=r(a=>d.createElement(o,{...a},a.children),"TableHeaderComponent");e.displayName="TableHeader";export{o as a,e as b};
@@ -0,0 +1,81 @@
1
+ import{o as I}from"./chunk-LZTZMWTK.esm.js";import{a as y,b as D}from"./chunk-6KYLIXBS.esm.js";import{e as S}from"./chunk-5XXISYUW.esm.js";import{e as T}from"./chunk-V77X6UJ2.esm.js";import{a as F}from"./chunk-BE2JDTVA.esm.js";import{a as $,d as P}from"./chunk-XNBK5E7D.esm.js";import{a as k}from"./chunk-3HHYBI4E.esm.js";import{a as c}from"./chunk-VTRVGJA6.esm.js";import{a as z}from"./chunk-TAVNLEMI.esm.js";import{a as v,b}from"./chunk-WTWPQ4EL.esm.js";import{a as E}from"./chunk-44EW3LMK.esm.js";import{d as h}from"./chunk-V5AWVNU6.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import s,{css as p}from"styled-components";var K=p`
2
+ max-width: 30rem;
3
+ min-width: 20rem;
4
+ `,U=p`
5
+ max-width: 40rem;
6
+ min-width: 20rem;
7
+ `,X=p`
8
+ max-width: 55rem;
9
+ min-width: 40rem;
10
+ `,Z=p`
11
+ max-width: 75rem;
12
+ min-width: 40rem;
13
+ `,_=p`
14
+ width: 95%;
15
+ `;function R({size:t}){switch(t){case"small":return K;case"medium":return X;case"large":return Z;default:return U}}r(R,"modalSize");function oo({variant:t,theme:e}){let n=e.colors[t];return p`
16
+ --baseColor: ${n.base};
17
+ --lightColor: ${n.light};
18
+ --actionColor: ${n.action};
19
+ `}r(oo,"modalVariantColor");var O=s(b).attrs({p:"large",borderRadius:"md",bgColor:"neutral.0"})`
20
+ ${_};
21
+
22
+ ${oo};
23
+
24
+ ${({theme:t})=>t.breakpoints.up("sm")} {
25
+ ${R};
26
+ }
27
+ `,j=s(c)`
28
+ max-height: 84vh;
29
+ overflow: hidden;
30
+ `,H=s(c)`
31
+ & ${$} {
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
+ `,V=s(v)`
53
+ flex: 1;
54
+ display: flex;
55
+ overscroll-behavior: none;
56
+ overflow: hidden;
57
+ `,G=s(c).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
+ `,L=s(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
+ `,W=s(b)`
80
+ will-change: opacity;
81
+ `;import o,{cloneElement as eo,isValidElement as to,useEffect as ro,useState as no}from"react";import{createPortal as lo}from"react-dom";import{AnimatePresence as ao}from"framer-motion";var N=r(({isOpen:t,onDismiss:e,...n})=>{if(!t&&!e)throw new Error('You must provide "isOpen" and "onDismiss" if not using "trigger" prop.');let[i,d]=no(!1);return ro(()=>{d(!0)},[]),!i||!h?null:lo(o.createElement(ao,null,t?o.createElement(L,{"data-testid":"modal-container"},o.createElement(W,{absoluteFill:!0,bgColor:"neutral.180","data-testid":"modal-overlay",onClick:e,initial:{opacity:0},animate:{opacity:.8},exit:{opacity:0}}),o.createElement(mo,{onDismiss:e,...n})):null),h)},"ModalBaseComponent"),io=r(({defaultOpen:t,trigger:e,isOpen:n,onDismiss:i,onModalOpen:d,...m})=>{let{active:l,disable:u,enable:C,toggle:g}=F(t,{onActive:d});return(n||i)&&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})),to(e)&&(a=eo(e,{onClick:g})),a===null)throw new Error('"trigger" prop is not a valid element');return a},"renderTrigger")(),o.createElement(N,{isOpen:l,onDismiss:u,...m}))},"ModalTriggerVariant"),mo=r(({noCloseButton:t,primaryButton:e,secondaryButton:n,primaryText:i,secondaryText:d,onDismiss:m,primaryAction:l,secondaryAction:u,children:C,tagline:g,variant:M,footer:a,title:w,size:Y,icon:B})=>{let{isMobile:x}=T(),q=r(()=>{l({close:m})},"handlePrimary"),A=r(()=>{u({close:m})},"handleSecondary"),J=r(()=>{let f={onClick:q,fullWidth:a==="full"||x,"data-testid":"modal-confirm-button"};return e?o.cloneElement(e,f):o.createElement(S,{color:M,...f},i)},"renderPrimaryButton");return o.createElement(O,{size:Y,variant:M,initial:{y:"100%",opacity:0},animate:{y:0,opacity:1},exit:{y:"200%",opacity:0}},o.createElement(j,{gap:"medium"},o.createElement(H,{gap:"xs"},o.createElement(k,{opener:B&&o.createElement(G,{justifyContent:"center",alignItems:"center",p:"micro"},B),closer:!t&&o.createElement(D,{onClick:m,"data-testid":"modal-close-button",icon:o.createElement(I,{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(V,{py:"medium"},o.createElement(z,null,C)),(l||u)&&o.createElement(c,{flexDirection:x?"column-reverse":"row",justifyContent:a==="expanded"?"between":"end",gap:"medium"},u&&r(()=>{if(a==="full")return null;let f={onClick:A,fullWidth:x,"data-testid":"modal-cancel-button"};return n?o.cloneElement(n,f):o.createElement(S,{variant:"outlined",color:"secondary",...f},d)},"renderSecondaryButton")(),l&&J())))},"ModalDialog"),Q=r(({noCloseButton:t=!1,secondaryText:e="Cancelar",primaryText:n="Confirmar",variant:i="primary",footer:d="right",...m})=>{let l={noCloseButton:t,secondaryText:e,primaryText:n,variant:i,footer:d,...m};return l!=null&&l.trigger?o.createElement(io,{...l}):o.createElement(N,{...l})},"ModalComponent");Q.displayName="Modal";export{O as a,j as b,H as c,V as d,G as e,L as f,W as g,Q as h};
File without changes
@@ -0,0 +1,7 @@
1
+ import{c as p}from"./chunk-5XXISYUW.esm.js";import{a as k}from"./chunk-XNBK5E7D.esm.js";import{a as L}from"./chunk-ELYUJKST.esm.js";import{b as l}from"./chunk-752Z7BQF.esm.js";import{b as c}from"./chunk-JB7G6UGV.esm.js";import{b as y}from"./chunk-GP7NECT4.esm.js";import{a as f}from"./chunk-GZONWSRB.esm.js";import o,{forwardRef as h}from"react";import{Link as x}from"react-router-dom";import B from"styled-components";var S=L(x)(c,y({cursor:"pointer"}),l({textDecoration:"underline",fontFamily:"main"})),g=B.a(c,y({cursor:"pointer"}),l({textDecoration:"underline",fontFamily:"main"})),E=L(x)`
2
+ ${p};
3
+ ${l({lineHeight:"tight"})};
4
+ `,I=B.a`
5
+ ${p};
6
+ ${l({lineHeight:"tight"})};
7
+ `;var d=f(({href:t,to:n})=>t?{pathname:t}:n,"getRoute"),H=f(t=>t?/^(https?:)?\/\//i.test(t)||/^(mailto|tel|sms):/i.test(t):!1,"isExternalHref"),b={target:"_blank",rel:"noopener noreferrer"},F=h(({text:t,children:n,variant:r="contained",color:m="primary",to:i,href:e,...a},s)=>{if(H(e))return o.createElement(I,{...a,...b,variant:r,color:m,href:e,ref:s},o.createElement(k,{fontWeight:"bold",lineHeight:"tight"},n||t));let C=d({href:e,to:i});return o.createElement(E,{...a,variant:r,color:m,to:C,ref:s},o.createElement(k,{fontWeight:"bold",lineHeight:"tight"},n||t))}),u=h(({text:t,children:n,color:r="primary",to:m,href:i,...e},a)=>{if(H(i))return o.createElement(g,{...e,...b,color:r,href:i,ref:a},n||t);let s=d({href:i,to:m});return o.createElement(S,{...e,color:r,to:s,ref:a},n||t)});u.Button=F;u.displayName="Link";export{S as a,g as b,E as c,I as d,u as e};
@@ -0,0 +1 @@
1
+ import{a as e}from"./chunk-QUHHEZMP.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";function n(r){return{position:{outter:"",internal:"inset"},distance:{flat:0,micro:4,xs:8,sm:16,md:28,lg:44,xl:72},intensity:{low:.05,medium:.15,high:.3},proximity:{flat:0,close:-2,medium:-4,distant:-8},color:{deep:e(r.baseDark),regular:e(r.grayscale[50]),smooth:e(r.grayscale[30]),light:e(r.baseLight),primary:e(r.primary.base),success:e(r.success.base),warning:e(r.warning.base),danger:e(r.danger.base)}}}a(n,"createDeepTheme");export{n as a};
@@ -0,0 +1,6 @@
1
+ import{a as b,b as f}from"./chunk-XFQI4QU6.esm.js";import{b as n}from"./chunk-4Z3FXC7B.esm.js";import{a as T}from"./chunk-CDRLVSLF.esm.js";import{d as a}from"./chunk-XNBK5E7D.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";import o from"react";import d from"styled-components";var i=d.tfoot`
2
+ width: 100%;
3
+ & > ${b} {
4
+ background-color: ${({theme:r})=>r.colors.getColor(r.colors.neutral[20])};
5
+ }
6
+ `;var l=m(r=>{let{columnSum:e}=o.useContext(T),p=e.index!==void 0?o.createElement(f,null,Array.from({length:e.index+1},(s,t)=>e.index===t?o.createElement(n,{key:t},o.createElement(a,{variant:"h6"},e.sum)):e.index-1===t?o.createElement(n,{key:t},o.createElement(a,{variant:"h6"},"Total:")):o.createElement(n,{key:t},"\xA0"))):r.children;return o.createElement(i,{isSum:e.index!==void 0,...r},p)},"TableFooterComponent");l.displayName="TableFooter";export{i as a,l as b};
@@ -0,0 +1,7 @@
1
+ import{b as d}from"./chunk-DEAAQK5J.esm.js";import{e as a}from"./chunk-V77X6UJ2.esm.js";import{a as i}from"./chunk-VTRVGJA6.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import e from"react";import s from"styled-components";var m={xs:{columns:"1fr",rows:"100%",areas:`
2
+ "content"
3
+ `},md:{columns:"200px 1fr",rows:"100%",areas:`
4
+ "sidebar content"
5
+ `}};var n=s(d).attrs({medias:m})`
6
+ height: 100%;
7
+ `;function f({layoutComponents:r}){let{isMobile:t}=a();return e.createElement(n,null,!t&&r.sidebar&&e.createElement(r.sidebar,null),e.createElement(i,{area:"content",width:"100%",justifyContent:t?"center":void 0},r.content&&e.createElement(r.content,null)))}o(f,"SideBarLayout");f.displayName="SideBarLayout";export{m as a,n as b,f as c};
@@ -0,0 +1 @@
1
+ import{a as o}from"./chunk-GZONWSRB.esm.js";var x=["area","padding","margin","isHidden","truncate","container","overflow","overflowX","overflowY","absoluteFill","position","display","cursor","top","bottom","left","right","zIndex"],C=o(r=>t=>{let{area:e,padding:i,margin:n,zIndex:a,display:p,isHidden:s,truncate:l,overflow:d,overflowX:c,overflowY:f,absoluteFill:m,position:y,left:w,right:b,top:g,bottom:h,container:u,cursor:v}={...r,...t};return{cursor:v,padding:i,margin:n,zIndex:a,display:p,overflow:d,overflowX:c,overflowY:f,position:y,left:w,right:b,top:g,bottom:h,gridArea:e,...s&&{visibility:"hidden"},...l&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},...u&&{margin:"0 auto",maxWidth:1366},...m&&{position:"absolute",top:0,bottom:0,right:0,left:0}}},"ContainerFactory");export{x as a,C as b};
@@ -0,0 +1 @@
1
+ import{c as f}from"./chunk-V5AWVNU6.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";import y,{createContext as d,useEffect as m,useState as k}from"react";import{useTheme as v}from"styled-components";var C=d({}),w=c(({children:x})=>{let{breakpoints:o}=v(),[l,h]=k({isLaptop:!1,isMobile:!1,isTablet:!1,isPortrait:!1}),n={isMobile:`(max-width: ${o.values.md}px)`,isTablet:`(min-width: ${o.values.md}px) and (max-width: ${o.values.lg}px)`,isLaptop:`(min-width: ${o.values.lg}px) and (max-width: ${o.values.xl}px)`,isPortrait:"(orientation: portrait)"};return m(()=>{var u;let t={},a=Object.keys(n),i=c(()=>{let e=a.reduce((r,s)=>(r[s]=!!(t[s]&&t[s].matches),r),{});h(e)},"handleQueryListener");if(!((u=f)!=null&&u.matchMedia))return;let p={};return a.forEach(e=>{typeof n[e]=="string"?(t[e]=f.matchMedia(n[e]),p[e]=t[e].matches):p[e]=!1}),h(p),a.forEach(e=>{if(typeof n[e]=="string")try{t[e].addEventListener("change",i)}catch(r){t[e].addListener(i)}}),()=>{a.forEach(e=>{var r,s;if(typeof n[e]=="string")try{(r=t[e])==null||r.removeEventListener("change",i)}catch(B){(s=t[e])==null||s.removeListener(i)}})}},[]),y.createElement(C.Provider,{value:l},x)},"BreakpointsProvider");export{C as a,w as b};
File without changes
@@ -0,0 +1 @@
1
+ var c=Object.defineProperty;var d=(a,b)=>c(a,"name",{value:b,configurable:!0});export{d as a};
@@ -0,0 +1,38 @@
1
+ import{a as l}from"./chunk-XNBK5E7D.esm.js";import{a as i}from"./chunk-WTWPQ4EL.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import p from"react";import y from"@tippyjs/react/headless";import c from"styled-components";function u({inverted:r,theme:o}){return r?{"--background":o.colors.grayscale[0],"--color":o.colors.neutral[170]}:{"--background":o.colors.grayscale[80],"--color":o.colors.grayscale[0]}}t(u,"getContainerStyle");var e=c(i)`
2
+ position: absolute;
3
+ width: 8px;
4
+ height: 8px;
5
+ z-index: -1;
6
+
7
+ &::before {
8
+ content: '';
9
+ transform: rotate(45deg);
10
+ background: var(--background);
11
+ position: absolute;
12
+ width: 8px;
13
+ height: 8px;
14
+ z-index: -1;
15
+ }
16
+ `,s=c(i)`
17
+ ${u}
18
+
19
+ color: var(--color);
20
+ background-color: var(--background);
21
+ line-height: 1;
22
+
23
+ &[data-placement^='top'] > ${e} {
24
+ bottom: -3px;
25
+ }
26
+
27
+ &[data-placement^='bottom'] > ${e} {
28
+ top: -3px;
29
+ }
30
+
31
+ &[data-placement^='left'] > ${e} {
32
+ right: -4px;
33
+ }
34
+
35
+ &[data-placement^='right'] > ${e} {
36
+ left: -4px;
37
+ }
38
+ `;var d=t((r,o)=>typeof r=="string"?p.createElement(l,{...o},r):r,"getElement"),m=t(({children:r,position:o="top",content:f,inverted:x,noArrow:T,onDismiss:n,...a})=>{if(a.visible&&typeof n=="undefined")throw new Error('Voc\xEA deve fornecer a fun\xE7\xE3o "onDismiss" quando utilizar a prop "visible"');return p.createElement(y,{render:t(g=>p.createElement(s,{inverted:x,deep:2,p:"xs",borderRadius:"xs",...g},d(f,{fontSize:"micro",lineHeight:"regular"}),!T&&p.createElement(e,{"data-popper-arrow":""})),"renderTooltip"),placement:o,onClickOutside:n,...a},d(r))},"TooltipComponent");m.displayName="Tooltip";export{e as a,s as b,m as c};
@@ -0,0 +1 @@
1
+ import{a as r}from"./chunk-GZONWSRB.esm.js";import{useEffect as a,useState as d}from"react";import{sha1 as p}from"object-hash";var u=r(({src:s})=>{let e=document,o=p(s),[i,n]=d(!0),c=e.getElementById(o);return a(()=>{if(c)n(!1);else{let t=e.createElement("script");t.async=!0,t.id=o,t.src=s,t.onload=()=>{n(!1)},e.body.appendChild(t)}},[]),{isLoadingScript:i}},"useScript");export{u as a};
@@ -0,0 +1,136 @@
1
+ import{a as c}from"./chunk-PZYCW5IZ.esm.js";import{a as B}from"./chunk-WTRTFZV6.esm.js";import{g as H}from"./chunk-L6UB7RUM.esm.js";import{a as F}from"./chunk-E4GPRFIB.esm.js";import{a as s}from"./chunk-UJDBHSL7.esm.js";import{b as z}from"./chunk-SR7ARLZ4.esm.js";import{a as T}from"./chunk-XFQI4QU6.esm.js";import{a as v}from"./chunk-OMBZMCKV.esm.js";import{a}from"./chunk-4Z3FXC7B.esm.js";import{a as L}from"./chunk-CDRLVSLF.esm.js";import{o as $}from"./chunk-LZTZMWTK.esm.js";import{a as k,d as C}from"./chunk-XNBK5E7D.esm.js";import{a as m}from"./chunk-VTRVGJA6.esm.js";import{b as S}from"./chunk-A6Z2M2XU.esm.js";import{d as A}from"./chunk-U27SLYIV.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import t,{useEffect as ne,useState as p}from"react";import Q,{css as d}from"styled-components";function U(e){switch(e){case"Compact":return d`
2
+ & ${c} {
3
+ padding: ${({theme:n})=>n.spacing("micro")};
4
+ }
5
+ & ${a}, ${s} {
6
+ padding: ${({theme:n})=>n.spacing("micro")};
7
+ }
8
+ `;case"Expansive":return d`
9
+ & ${c} {
10
+ padding: ${({theme:n})=>n.spacing("large")};
11
+ }
12
+ & ${a}, ${s} {
13
+ padding: ${({theme:n})=>n.spacing("large")};
14
+ }
15
+ `;default:return d`
16
+ & ${c} {
17
+ padding: ${({theme:n})=>n.spacing("medium")};
18
+ }
19
+ & ${a}, ${s} {
20
+ padding: ${({theme:n})=>n.spacing("medium")};
21
+ }
22
+ `}}r(U,"getSizeStyle");function P(e){switch(e){case"left":return"flex-start";case"right":return"flex-end";default:return"center"}}r(P,"getAlignDirection");function V(e){if(typeof e=="object"){let n=e.reduce((u,l)=>{let b=`
23
+ & ${a}, ${s}, ${c} {
24
+ &:nth-child(${l.target}) {
25
+ ${m} {
26
+ text-align: ${l.direction};
27
+ align-items: ${P(l.direction)}
28
+ }
29
+ }
30
+ }
31
+ `;return`${u} ${b}`},"");return d`
32
+ & ${a}, ${s}, ${c} {
33
+ ${m} {
34
+ text-align: center;
35
+ align-items: ${P("center")};
36
+ }
37
+ }
38
+
39
+ ${n}
40
+ `}return e!==void 0?d`
41
+ & ${a}, ${s}, ${c} {
42
+ ${m} {
43
+ text-align: ${e};
44
+ align-items: ${P(e)};
45
+ }
46
+ }
47
+ `:d`
48
+ & ${a}, ${s}, ${c} {
49
+ ${m} {
50
+ text-align: center;
51
+ align-items: center;
52
+ }
53
+ }
54
+ `}r(V,"getAlignStyle");function X(e){if(e===void 0)return d``;let n=e.map((u,l)=>u&&(u.type===void 0?`
55
+ &:nth-child(${l+1}) {
56
+ width: ${u.width}px;
57
+ }
58
+ `:`
59
+ &:nth-child(${l+1}) {
60
+ ${u.type}-width: ${u.width}px;
61
+ }
62
+ `));return d`
63
+ & ${a}, ${s}, ${c} {
64
+ ${n}
65
+ }
66
+ `}r(X,"getColumnSizeStyle");function Z(){return d`
67
+ & ${a}, ${s}, ${c} {
68
+ & ${k} {
69
+ width: 100px;
70
+ white-space: nowrap;
71
+ overflow: hidden;
72
+ text-overflow: ellipsis;
73
+ }
74
+ }
75
+ `}r(Z,"getEllipsisStyle");function _(e){return e.map(n=>d`
76
+ & ${T} {
77
+ &:nth-child(${n+1}) {
78
+ ${S({bgColor:"neutral.10"})};
79
+ }
80
+ }
81
+ `)}r(_,"getSelectedStyle");var R=`
82
+ & ${c} {
83
+ position: sticky;
84
+ top: 0;
85
+ }
86
+ `,ee=d`
87
+ ${F} {
88
+ & ${T} {
89
+ &:nth-child(odd) {
90
+ ${S({bgColor:"neutral.5"})};
91
+ }
92
+ }
93
+ & ${a}, ${s} {
94
+ ${A({borderWidth:"none"})};
95
+ }
96
+ }
97
+ & ${c} {
98
+ z-index: 10;
99
+ }
100
+ `,te=r(e=>`
101
+ & ${T}{
102
+ &:hover{
103
+ & ${a}, ${s}{
104
+ &:first-child{
105
+ border-left: 1px solid ${e.colors.getColor(e.colors.primary,"base")};
106
+ }
107
+ border-bottom: 1px solid ${e.colors.getColor(e.colors.neutral[40])};
108
+ }}}
109
+ }
110
+ `,"getHoverableProps"),I=Q.table`
111
+ position: relative;
112
+ border-collapse: collapse;
113
+ display: table;
114
+
115
+ width: ${({width:e})=>e||"100%"};
116
+
117
+ ${({stickyHeader:e})=>e&&R}
118
+
119
+ ${({striped:e})=>e&&ee}
120
+
121
+ ${({hoverable:e,theme:n})=>e&&te(n)};
122
+
123
+ ${({selected:e})=>_(e)}
124
+
125
+ ${({ellipsis:e})=>e?Z():""}
126
+
127
+ ${({columnSize:e})=>X(e)}
128
+
129
+ ${({align:e})=>V(e)}
130
+
131
+ ${({rowSize:e})=>U(e)}
132
+
133
+ ${({theme:e})=>e.breakpoints.down("sm")} {
134
+ overflow-x: scroll;
135
+ }
136
+ `;var j=r(e=>{let[n,u]=p(""),[l,b]=p([]),[E,h]=p([]),[M,w]=p("Default"),x=t.createRef();ne(()=>{let i=Array.from(x.current.children);b(i)},[]);let O=t.Children.map(e.children,(i,f)=>f===1?t.cloneElement(i,{ref:x}):i),q=r(i=>{if(i.key==="Enter"){let f=l.map((o,g)=>{let y=x.current.children[g];return n===""&&(y.style.display=""),o.innerText.toLowerCase().includes(n.toLowerCase())||(y.style.display="none"),o});b(f)}},"getFilterData"),K=l.every(i=>i.style.display==="none"),W=l.length,Y=r((i,f)=>{f&&h(o=>[...o,i]),f||h(E.filter(o=>o!==i))},"getSelected"),G=r(i=>(l.forEach((f,o)=>{let g=f.children[0].querySelectorAll("input")[0];return i&&(g.checked=!0,h(y=>[...y,o])),i||(g.checked=!1,h([])),null}),i),"getAllSelected"),J=r(i=>l.map(o=>parseInt(o.children[i].innerText,10)).reduce((o,g)=>o+g,0),"getAddLines"),N=e.initialPagination&&e.finalPagination&&e.totalPagination&&e.linesPerPage;function D(i){switch(i){case"normal":if(W<=1)return"visible";if(e.stickyHeader||e.columnSize)return"scroll";break;case"y":if(e.columnSize&&!e.stickyHeader)return"hidden";break;default:return"visible"}return"visible"}return r(D,"getOverflow"),t.createElement(m,{overflow:D("normal"),overflowY:D("y"),gap:4},t.createElement(m,{flexDirection:"row",justifyContent:"between",alignItems:"center"},e.title&&t.createElement(C,{color:"primary",variant:"h5","aria-hidden":"true"},e.title),t.createElement(m,{flexDirection:"row",justifyContent:"end",alignItems:"end",gap:2},e.searching&&t.createElement(m,{width:"230px"},t.createElement(H,{placeholder:"Pesquisar",type:"text",value:n,name:"search",onChange:i=>u(i.target.value),onKeyDown:i=>q(i),width:"230",icon:t.createElement($,{name:"edit"}),role:"search"})),e.rowTypes&&t.createElement(v,{options:[{icon:t.createElement($,{name:"menuBars"}),title:"Layout Condensado",action:r(()=>w("Compact"),"action")},{icon:t.createElement($,{name:"menuBars"}),title:"Layout Padr\xE3o",action:r(()=>w("Expansive"),"action")},{icon:t.createElement($,{name:"menuBars"}),title:"Layout Expandido",action:r(()=>w("Default"),"action")}]},t.createElement($,{name:"menuBars",color:"primary"})),e.share&&t.createElement(v,{options:[{icon:t.createElement($,{name:"envelope"}),title:"Enviar por email",action:e.share.email},{icon:t.createElement($,{name:"shareAlt"}),title:"Compartilhar",action:e.share.social}]},t.createElement($,{name:"ellipsisH",color:"primary"})))),N&&t.createElement(B,{initialPagination:e.initialPagination,finalPagination:e.finalPagination,totalPagination:e.totalPagination,linesPerPage:e.linesPerPage}),t.createElement(I,{stickyHeader:e.stickyHeader,striped:e.striped,rowSize:M||e.rowSize,align:e.align,columnSize:e.columnSize,width:e.width,ellipsis:e.ellipsis,hoverable:e.hoverable,selected:E,...e},t.createElement(C,{as:"caption","aria-hidden":"false",hidden:!0},e.title),t.createElement(L.Provider,{value:{ellipsis:e.ellipsis,getSelected:Y,getAllSelected:G,columnSum:e.columnSum!==void 0?{index:e.columnSum,sum:J(e.columnSum)}:{index:void 0,sum:void 0}}},O)),K&&t.createElement(z,null))},"TableComponent");export{I as a,j as b};
@@ -0,0 +1 @@
1
+ import{a as c}from"./chunk-GZONWSRB.esm.js";var p=["color","contrast"],a=c(l=>s=>{let{theme:t,...o}={...l,...s},r;if(o.contrast?r=t.colors.getContrastColor(t.colors(o.contrast)):o.color&&(r=t.colors(o.color)),!o.opacity)return{color:r};let e;return o.opacity==="high"?e=.9:e=o.opacity==="md"?.5:.1,{color:r,opacity:e}},"ColorFactory");export{p as a,a as b};
@@ -0,0 +1,9 @@
1
+ import{a as p}from"./chunk-XNBK5E7D.esm.js";import{b as n}from"./chunk-752Z7BQF.esm.js";import{b as m}from"./chunk-W663AGNE.esm.js";import{d as l}from"./chunk-U27SLYIV.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import y from"react";import s from"styled-components";function c(r){return r==="default"?"primary":r==="info"?"information":r}t(c,"getColorVariant");function b(r,o){var a,i;let e=c(o);return{backgroundColor:(a=r.colors[e])==null?void 0:a.light,color:(i=r.colors[e])==null?void 0:i.action}}t(b,"getColor");var f=s(p)`
2
+ display: inline;
3
+ align-self: flex-start;
4
+
5
+ ${n({fontSize:"micro",lineHeight:"close"})}
6
+ ${m({px:"small",py:"xs"})}
7
+ ${l({borderRadius:"micro"})}
8
+ ${({theme:r,variant:o})=>b(r,o)}
9
+ `;function u(r){let{variant:o="default",text:e,children:a}=r;return y.createElement(f,{variant:o},a||e)}t(u,"Label");u.displayName="Label";export{f as a,u as b};
@@ -0,0 +1 @@
1
+ import{a as r}from"./chunk-VTRVGJA6.esm.js";import o from"styled-components";var t=o(r).attrs(e=>({p:"medium",borderRadius:"micro",bgColor:"neutral.0",deep:2,...e}))``;export{t as a};
@@ -0,0 +1,7 @@
1
+ import{a as i}from"./chunk-ELYUJKST.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var v=o(({size:t,dimensions:r})=>{if(t)return{width:t,height:t};if(r){let{width:e,height:f,ratio:l}=r;if(f)return{width:e,height:f};if(l)return typeof e=="number"?{width:e,height:e/l}:e.endsWith("px")?{width:e,height:`calc(${e} / ${l})`}:{width:e,height:"auto"}}return{width:"1em",height:"1em"}},"getComputedSize"),d=o(t=>`fill: ${t.colors.getColor(t.colors.danger)};`,"getFillProps"),g=i("svg")`
2
+ ${t=>({...v(t)})}
3
+ ${({error:t,theme:r})=>t&&d(r)}
4
+ `,D=o(t=>`transform: ${t};`,"getTransformProps"),m=i("g")`
5
+ fill: ${({fill:t,theme:r})=>t||r.colors.getColor(r.colors.main)};
6
+ ${({transform:t})=>t&&D(t)}
7
+ `,u=i("path")``;import a from"react";var s=o(({transform:t,fill:r,paths:e,fillAll:f,error:l,viewBox:h,title:p,...S})=>{let c=o(()=>e&&e.map(y=>{let n=y;return f&&delete n.fill,a.createElement(u,{...n,key:n.d,fill:n.fill})}),"RenderPaths");return a.createElement(g,{viewBox:h,error:l,...S},p&&a.createElement("title",null,p),a.createElement(m,{transform:t,fill:r},c()))},"SvgComponent");s.displayName="Svg";export{g as a,m as b,u as c,s as d};
@@ -0,0 +1 @@
1
+ import{g as t}from"./chunk-L6UB7RUM.esm.js";import n,{forwardRef as a}from"react";var e=a((p,r)=>n.createElement(t,{type:"date",pattern:"[0-9]{2}-[0-9]{2}-[0-9]{4}",ref:r,...p}));e.displayName="InputDate";export{e as a};
@@ -0,0 +1 @@
1
+ import{c as n}from"./chunk-V5AWVNU6.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import{useEffect as b,useRef as l,useState as d}from"react";function O({root:i=null,threshold:s=.5,rootMargin:c="0px"},r){let[t,u]=d(null),e=l(null);return b(()=>("IntersectionObserver"in n?(e.current&&e.current.disconnect(),n.IntersectionObserver&&(e.current=new n.IntersectionObserver(f=>{f.forEach(({isIntersecting:v})=>{v&&r&&r()})},{root:i,rootMargin:c,threshold:s})),t&&e.current.observe(t)):r&&r(),()=>{e.current&&e.current.disconnect()}),[t]),[u]}o(O,"useIntersect");export{O as a};
@@ -0,0 +1 @@
1
+ import{a as o}from"./chunk-GZONWSRB.esm.js";import{useEffect as d,useRef as s}from"react";var u=o(n=>{let e=s(n);d(()=>{e.current=n},[n]),d(()=>{let r=o(f=>{var t;return(t=e.current)==null?void 0:t.call(e,f)},"onUnload");return window.addEventListener("beforeunload",r),()=>window.removeEventListener("beforeunload",r)},[])},"useUnload");export{u as a};
@@ -0,0 +1 @@
1
+ import{a as m}from"./chunk-BE2JDTVA.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import{useCallback as v}from"react";function o(e,a){let c=e.name||"",t=e.type||"",l=t.replace(/\/.*$/,"");return(Array.isArray(a)?a:[a]).some(g=>{let r=g.trim();return r.charAt(0)==="."?c.toLowerCase().endsWith(r.toLowerCase()):r.endsWith("/*")?l===r.replace(/\/.*$/,""):t===r})}n(o,"acceptableFile");var L=n(e=>{let{active:a,enable:c,disable:t}=m(),l=v(r=>{r.stopPropagation(),r.preventDefault(),r.dataTransfer&&!a&&(r.dataTransfer.dropEffect="copy",e.onDragOver&&(e==null||e.onDragOver()),c())},[a,c,e]),f=v(r=>{r.stopPropagation(),r.preventDefault(),e.onDragLeave&&(e==null||e.onDragLeave()),t()},[t,e]),g=v(r=>{r.stopPropagation(),r.preventDefault();let D=r.dataTransfer&&r.dataTransfer.files;if(D&&Array.isArray(e.accept)){let i=Array.from(D).filter(s=>o(s,e.accept));e.single&&i.length>1?e==null||e.onDrop([i[0]]):e==null||e.onDrop(i)}t()},[e,t]);return{isDragging:a,events:{onDragOver:l,onDragLeave:f,onDrop:g,onDragEnd:f}}},"useDrag");export{o as a,L as b};
@@ -0,0 +1 @@
1
+ import{a as r}from"./chunk-GZONWSRB.esm.js";var x=["xs","sm","md","lg","xl"],B={unit:"px",step:4,values:{xs:0,sm:575,md:767,lg:990,xl:1200}},f=r(d=>{let{values:t,unit:o,step:i}=d,n=Object.keys(t),p=r(e=>`@media (min-width:${typeof t[e]=="number"?t[e]:e}${o})`,"up"),m=r(e=>`@media (max-width:${(typeof t[e]=="number"?t[e]:Number(e))-i/100}${o})`,"down"),a=r((e,s)=>{let u=n.indexOf(s)+1;return u===n.length?p(e):`@media (min-width:${t[e]}${o}) and (max-width:${t[n[u]]-i/100}${o})`},"between");return{up:p,down:m,between:a,only:r(e=>n.indexOf(e)+1<n.length?a(e,n[n.indexOf(e)+1]):p(e),"only"),width:r(e=>t[e],"width"),values:t}},"createBreakpoints");export{x as a,B as b,f as c};
File without changes
@@ -0,0 +1,104 @@
1
+ import{a as l,o as c}from"./chunk-LZTZMWTK.esm.js";import{a as p,b as g}from"./chunk-6KYLIXBS.esm.js";import{a as I}from"./chunk-VTRVGJA6.esm.js";import{b as y}from"./chunk-ELYUJKST.esm.js";import{b as m}from"./chunk-A6Z2M2XU.esm.js";import{b as s}from"./chunk-WAHR5LIT.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import h,{css as a}from"styled-components";function T(){return a`
2
+ color: var(--dark-color);
3
+ border-color: var(--border-color);
4
+
5
+ ${s({deep:-1})}
6
+
7
+ &:focus, &:hover {
8
+ ${s({deep:0})}
9
+ }
10
+
11
+ &:focus + ${l} {
12
+ color: var(--base-color);
13
+ }
14
+ `}i(T,"inputVariantStyle");var W=a`
15
+ &::placeholder {
16
+ color: ${({theme:o})=>o.colors.neutral[70]};
17
+ }
18
+
19
+ &:disabled {
20
+ &::placeholder {
21
+ color: var(--disabled-color);
22
+ }
23
+ }
24
+ `,F=a`
25
+ &:disabled,
26
+ &:read-only {
27
+ border: 1px solid var(--disabled-bg);
28
+ background-color: var(--disabled-bg);
29
+ color: var(--disabled-color);
30
+ }
31
+ &:read-only {
32
+ ${s({deep:0})}
33
+ }
34
+ `;function A({iconPosition:o}){return o==="left"?a`
35
+ & + ${p}, & + ${l} {
36
+ left: 1em;
37
+ right: unset;
38
+ }
39
+ `:null}i(A,"invertIconPosition");var B=a`
40
+ &:disabled + ${l} {
41
+ color: var(--disabled-color);
42
+ }
43
+
44
+ &:disabled + ${p} {
45
+ pointer-events: none;
46
+ ${m(()=>({bgColor:"grayscale.10"}))}
47
+ }
48
+
49
+ & + ${p} {
50
+ width: intrinsic;
51
+ ${m(()=>({bgColor:"grayscale.40"}))}
52
+ }
53
+
54
+ & + ${p}, & + ${l} {
55
+ color: var(--icon-color);
56
+ z-index: 100;
57
+ position: absolute;
58
+ align-self: center;
59
+ right: 1em;
60
+
61
+ & > g {
62
+ fill: var(--icon-color);
63
+ }
64
+ }
65
+ `,x=h(y.input).attrs(o=>({fontFamily:"main",lineHeight:"tight",bgColor:"grayscale.0",borderWidth:"thin",borderStyle:"solid",px:"small",...o}))`
66
+ -webkit-appearance: none;
67
+ display: block;
68
+
69
+ width: 100%;
70
+
71
+ outline: none;
72
+ transition: ${({theme:o})=>o.animation.transitions.short};
73
+
74
+ ${T}
75
+
76
+ ${B};
77
+
78
+ ${A};
79
+
80
+ ${F};
81
+
82
+ ${W};
83
+
84
+ &[type='date']::-webkit-calendar-picker-indicator {
85
+ position: absolute;
86
+ top: 0;
87
+ left: 0;
88
+ right: 0;
89
+ bottom: 0;
90
+ width: auto;
91
+ height: auto;
92
+ opacity: 0;
93
+ }
94
+
95
+ &[type='number']::-webkit-outer-spin-button,
96
+ &[type='number']::-webkit-inner-spin-button {
97
+ -webkit-appearance: none;
98
+ margin: 0;
99
+ }
100
+
101
+ &[type='number'] {
102
+ -moz-appearance: textfield;
103
+ }
104
+ `,f=h(I)(({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:n}=t;return{display:"flex","--base-color":e,"--dark-color":n,"--disabled-bg":o.colors.neutral[10],"--disabled-color":o.colors.neutral[50],"--icon-color":r==="default"?o.colors.neutral[100]:e,"--border-color":r==="default"?o.colors.neutral[40]:e}});f.displayName="input";import S,{forwardRef as D}from"react";import d from"react";var k={expansive:{py:"medium",fontSize:"small",borderRadius:"xs",height:54},medium:{py:"small",fontSize:"small",borderRadius:"xs",height:46},compact:{py:"xs",fontSize:"small",borderRadius:"xs",height:38},micro:{py:"micro",fontSize:"micro",borderRadius:"micro",height:26}};function $({icon:o,variant:r,clearable:t,reset:e,value:n,readOnly:u}){return t&&e&&n&&!u?d.createElement(g,{p:"micro",type:"button",borderWidth:"none",variant:"linked",onClick:e,"data-testid":"input-reset-button",icon:d.createElement(c,{size:"small",color:"grayscale.0",name:"times"})}):o||(r==="error"?d.createElement(c,{name:"times","data-testid":"input-icon-error"}):r==="success"?d.createElement(c,{name:"check","data-testid":"input-icon-success"}):null)}i($,"getIconComponent");var P=D(({value:o="",variant:r="default",iconPosition:t="right",size:e="medium",...n},u)=>{let{disabled:w,width:v,style:H,...C}=n,b=$({...n,value:o,variant:r,size:e,iconPosition:t}),z={...k[e],...b&&{[t==="right"?"pr":"pl"]:"xl"}};return S.createElement(f,{variant:r,width:v,flexDirection:"row"},S.createElement(x,{iconPosition:t,disabled:w,variant:r,value:o,...z,...C,ref:u}),b)});P.displayName="Input";export{T as a,W as b,F as c,A as d,x as e,f,P as g};
File without changes
@@ -0,0 +1 @@
1
+ import{a as V}from"./chunk-XW52MLHU.esm.js";import{b as S}from"./chunk-DEAAQK5J.esm.js";import{e as b}from"./chunk-5XXISYUW.esm.js";import{a as x}from"./chunk-VTRVGJA6.esm.js";import{g as c,n as y}from"./chunk-44EW3LMK.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import h from"styled-components";var v=h(x).attrs({as:"form",width:"100%"})``,T=h(S).attrs({as:"form",width:"100%"})``;import*as I from"yup";function N(r){return r.value||r}t(N,"normalizeValues");function k(r,n,a){let i=y(N,r);a(i,n)}t(k,"prepareSubmit");function C(r){return Object.keys(r).reduce((n,a)=>{let i=r[a].validation||I.string();return{...n,[a]:i}},{})}t(C,"getValidationSchema");var _=t(r=>r,"newField");import p,{forwardRef as z,useEffect as q,useImperativeHandle as L,useState as P}from"react";import A from"fast-deep-equal";import{useFormik as D}from"formik";import*as E from"yup";var J=t((r,n)=>{let{initialValues:a,children:i,submitLabel:R,fields:s,handleSubmit:O,conditionalFields:d,validateOnChange:w,validateOnBlur:g,medias:u,onError:l,...j}=r,Y=C(s),e=D({initialValues:{...a},validateOnBlur:g||!1,validateOnChange:w||!1,validationSchema:E.object().shape(Y),onSubmit:t((o,m)=>k(o,m,O),"onSubmit")});L(n,()=>e);let[F,B]=P(()=>e.errors);q(()=>{l&&!A(F,e.errors)&&(c(e.errors)||l(e.errors),B(e.errors))},[F,e.errors,l]);let G=u?T:v,H=t(()=>typeof i=="undefined"?p.createElement(b,{disabled:e.isSubmitting,type:"submit",text:R||"Enviar",color:"primary",area:"button"}):typeof i=="function"?i(e.values):i,"renderChildren");return p.createElement(G,{medias:u,...j,onSubmit:e.handleSubmit},Object.keys(s).map(o=>{let m=p.createElement(V,{...s[o],key:o,name:o,area:o,value:e.values[o],errors:e.errors[o],setFieldValue:e.setFieldValue}),f=d&&d[o];return f?f(e.values)?m:null:m}),H())},"FormInputComponent"),M=z(J);export{v as a,T as b,N as c,k as d,C as e,_ as f,M as g};