@tesouro/embedded-components-react 0.7.58 → 0.7.59

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 (249) hide show
  1. package/dist/lib/monite-sdk.d.ts +3 -98
  2. package/dist/lib/monite-sdk.js +51 -51
  3. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +56 -56
  4. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +55 -1
  5. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +1 -55
  6. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +153 -1
  7. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1222 -151
  8. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +171 -1219
  9. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +6 -174
  10. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +15 -6
  11. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +5 -17
  12. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +55 -5
  13. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -55
  14. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +1 -0
  15. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +0 -2
  16. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +1 -0
  17. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +10 -2
  18. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +53 -7
  19. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +37 -52
  20. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +71 -38
  21. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +39 -72
  22. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -37
  23. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +7 -8
  24. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +65 -7
  25. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +158 -57
  26. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +7 -172
  27. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +1 -6
  28. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +69 -2
  29. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +1 -76
  30. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +78 -0
  31. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +0 -78
  32. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +35 -1
  33. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1 -35
  34. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +57 -0
  35. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +42 -56
  36. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +1 -44
  37. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +568 -0
  38. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +0 -568
  39. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +1 -1
  40. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +160 -1
  41. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +0 -159
  42. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -0
  43. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +0 -26
  44. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +12 -1
  45. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +2 -2
  46. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +2 -2
  47. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +16 -10
  48. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +19 -16
  49. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +27 -19
  50. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +1 -29
  51. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +26 -1
  52. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +16 -23
  53. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +68 -16
  54. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +24 -68
  55. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +6 -25
  56. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +40 -5
  57. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +48 -40
  58. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +58 -47
  59. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +1 -62
  60. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +30 -0
  61. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +40 -28
  62. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +76 -39
  63. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +4 -80
  64. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -3
  65. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +52 -2
  66. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +66 -37
  67. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +108 -76
  68. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +4 -110
  69. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +10 -5
  70. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +2 -2
  71. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +18 -10
  72. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +73 -16
  73. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +1 -77
  74. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +128 -0
  75. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +0 -128
  76. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +13 -1
  77. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +54 -11
  78. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +5 -56
  79. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +19 -5
  80. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +1 -19
  81. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +64 -1
  82. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +120 -62
  83. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +22 -120
  84. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +6 -22
  85. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +35 -6
  86. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +6 -34
  87. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +56 -7
  88. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +71 -54
  89. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +25 -72
  90. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +1 -28
  91. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +61 -1
  92. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +17 -57
  93. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +19 -18
  94. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +183 -19
  95. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +1 -186
  96. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +31 -0
  97. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +2 -31
  98. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +1 -3
  99. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +39 -1
  100. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +0 -38
  101. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +19 -1
  102. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +17 -16
  103. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +5 -17
  104. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +15 -5
  105. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +18 -12
  106. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +10 -10
  107. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +5 -21
  108. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +3 -3
  109. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +14 -5
  110. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +14 -11
  111. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +9 -20
  112. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +26 -8
  113. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +11 -23
  114. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +8 -12
  115. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +24 -8
  116. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +14 -25
  117. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +81 -14
  118. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +14 -81
  119. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +100 -14
  120. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +42 -98
  121. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +27 -43
  122. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +1 -30
  123. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +105 -0
  124. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -8
  125. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +35 -102
  126. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +166 -32
  127. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +12 -171
  128. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +3 -13
  129. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +70 -4
  130. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +20 -63
  131. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +209 -24
  132. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +88 -208
  133. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +20 -90
  134. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +1 -22
  135. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +19 -1
  136. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +158 -17
  137. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +91 -147
  138. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +42 -100
  139. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +4 -46
  140. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +24 -4
  141. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +73 -20
  142. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +16 -74
  143. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +19 -16
  144. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +5 -19
  145. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +9 -5
  146. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +11 -10
  147. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +131 -11
  148. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +5 -130
  149. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +5 -5
  150. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +5 -8
  151. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +221 -4
  152. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +31 -219
  153. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +11 -31
  154. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +34 -12
  155. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +20 -34
  156. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +72 -18
  157. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +181 -73
  158. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +14 -182
  159. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +204 -14
  160. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +88 -192
  161. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +61 -97
  162. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +54 -63
  163. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +83 -46
  164. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +40 -91
  165. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +75 -39
  166. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +71 -63
  167. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +12 -85
  168. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +24 -12
  169. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +16 -25
  170. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +2 -14
  171. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +23 -4
  172. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +0 -23
  173. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +21 -0
  174. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +32 -22
  175. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +2 -30
  176. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +21 -2
  177. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +15 -33
  178. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +30 -15
  179. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +27 -29
  180. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +2 -31
  181. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +825 -55
  182. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index35.js +20 -930
  183. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +68 -26
  184. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +5 -68
  185. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +6 -5
  186. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -6
  187. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +3 -3
  188. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +14 -6
  189. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +14 -13
  190. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +43 -14
  191. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +21 -41
  192. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +4 -22
  193. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +3 -3
  194. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +2 -6
  195. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +33 -2
  196. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +5 -32
  197. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +8 -5
  198. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +5 -8
  199. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +12 -8
  200. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +8 -12
  201. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +7 -6
  202. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -9
  203. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +6 -1
  204. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +6 -4
  205. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +1 -8
  206. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +21 -1
  207. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +27 -16
  208. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +8 -28
  209. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +69 -9
  210. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +50 -68
  211. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +1 -54
  212. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +21 -1
  213. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +46 -18
  214. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +11 -47
  215. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +16 -11
  216. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +1 -18
  217. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +47 -0
  218. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +35 -43
  219. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +64 -38
  220. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +29 -59
  221. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +32 -26
  222. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +21 -39
  223. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +11 -21
  224. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +15 -12
  225. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +53 -14
  226. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +12 -56
  227. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +26 -12
  228. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +71 -23
  229. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +77 -69
  230. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +1 -82
  231. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +10 -1
  232. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +27 -8
  233. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +2 -27
  234. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +17 -2
  235. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +3 -17
  236. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -5
  237. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +57 -1
  238. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +10 -56
  239. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +37 -10
  240. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +1 -39
  241. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +105 -0
  242. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +0 -105
  243. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +56 -1
  244. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +1 -56
  245. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +55 -1
  246. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +1 -55
  247. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  248. package/package.json +1 -1
  249. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +0 -2
@@ -1,57 +1,94 @@
1
- import { useMoniteContext as e } from "./index37.js";
2
- import { useCurrencies as t } from "./index67.js";
3
- import "./index80.js";
4
- import { Dialog as n } from "./index125.js";
5
- import "./index126.js";
6
- import { useGetFinancedInvoices as r } from "./index245.js";
7
- import "./index246.js";
8
- import { FinancedInvoiceStatusChip as i } from "./index250.js";
9
- import { FinanceDetails as a } from "./index253.js";
10
- import { useState as o } from "react";
11
- import { Fragment as s, jsx as c, jsxs as l } from "@emotion/react/jsx-runtime";
12
- import { Box as u, Skeleton as d, Typography as f, useTheme as p } from "@mui/material";
1
+ import { FinanceBannerWrapper as e } from "./index235.js";
2
+ import { useKanmonContext as t } from "./index241.js";
3
+ import { useGetFinanceOffers as n } from "./index239.js";
4
+ import { useFinancing as r } from "./index242.js";
5
+ import { useFinanceAnInvoice as i } from "./index243.js";
6
+ import { useGetFinancedInvoices as a } from "./index244.js";
7
+ import "./index245.js";
8
+ import { FinanceOverviewCard as o } from "./index257.js";
9
+ import { useState as s } from "react";
10
+ import { jsx as c, jsxs as l } from "@emotion/react/jsx-runtime";
11
+ import { Box as u, Button as d, Tooltip as f, Typography as p } from "@mui/material";
13
12
  import { useLingui as m } from "@lingui/react";
14
13
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js
15
- var h = ({ invoice: h, offers: g }) => {
16
- let { i18n: _ } = m(), v = p(), { locale: y } = e(), [b, x] = o(!1), { formatCurrencyToDisplay: S } = t(), { isLoading: C, data: w } = r({
17
- invoice_id: h.id,
14
+ var h = 5184e5, g = ({ invoice: g }) => {
15
+ let { i18n: _ } = m(), { startFinanceSession: v } = t(), [y, b] = s(!1), x = i(), { isLoading: S, data: C } = a({
16
+ invoice_id: g.id,
18
17
  type: "receivable"
19
- }), T = w?.data?.[0] ?? null, E = y.dateFormat, D = T ? S(T.repayment_schedule?.repayment_amount ?? 0, h.currency) : "—", O = T?.repayment_schedule?.repayment_date ? _.date(T?.repayment_schedule?.repayment_date, E) : "—", k = T?.status;
20
- return C ? /* @__PURE__ */ c(d, {
21
- variant: "rounded",
22
- height: 80
23
- }) : /* @__PURE__ */ l(s, { children: [/* @__PURE__ */ l(u, {
24
- onClick: () => x(!0),
18
+ }), { isLoading: w, isEnabled: T, isServicing: E } = r(), { isLoading: D, data: O } = n(), k = !!C?.data?.find((e) => e?.invoice_id === g.id), A = w || S || D, j = ["issued", "partially_paid"].includes(g.status), M = g.due_date ? new Date(g.due_date).getTime() - ((/* @__PURE__ */ new Date()).getTime() + h) > 0 : !1;
19
+ return !T || !E ? null : k ? /* @__PURE__ */ c(u, { children: /* @__PURE__ */ c(o, {
20
+ invoice: g,
21
+ offers: O ?? null
22
+ }) }) : j && M ? /* @__PURE__ */ c(e, { children: /* @__PURE__ */ l(u, {
25
23
  sx: {
26
- borderRadius: "16px",
27
- px: 3,
28
- py: 2.5,
29
24
  display: "flex",
30
25
  alignItems: "center",
31
- justifyContent: "space-between",
32
- border: `1px solid ${v.palette.divider}`,
33
- cursor: "pointer"
26
+ gap: 2,
27
+ justifyContent: "space-between"
34
28
  },
35
- children: [/* @__PURE__ */ l(u, { children: [/* @__PURE__ */ c(f, {
29
+ children: [/* @__PURE__ */ l(u, {
30
+ sx: { flex: "1 1 0%" },
31
+ children: [/* @__PURE__ */ c(p, {
32
+ variant: "subtitle2",
33
+ children: _._("Don't wait for your client to pay")
34
+ }), /* @__PURE__ */ l(p, {
35
+ variant: "body1",
36
+ children: [
37
+ _._("This invoice can be financed"),
38
+ ".",
39
+ " ",
40
+ /* @__PURE__ */ c(f, {
41
+ arrow: !0,
42
+ title: _._("Invoices that are due within 7 days cannot be financed. Overdue invoices cannot be financed. The loan sum must be within your remaining limit."),
43
+ children: /* @__PURE__ */ c(p, {
44
+ variant: "body1",
45
+ sx: { textDecoration: "underline" },
46
+ component: "span",
47
+ children: _._("Why?")
48
+ })
49
+ })
50
+ ]
51
+ })]
52
+ }), /* @__PURE__ */ c(d, {
53
+ onClick: async () => {
54
+ try {
55
+ b(!0), x.mutate({ invoices: [{
56
+ id: g.id,
57
+ type: "receivable"
58
+ }] }, {
59
+ onError: () => {
60
+ b(!1);
61
+ },
62
+ onSuccess: ({ session_token: e }) => {
63
+ v({
64
+ sessionToken: e,
65
+ component: "SESSION_INVOICE_FLOW_WITH_INVOICE_FILE"
66
+ }), b(!1);
67
+ }
68
+ });
69
+ } catch {
70
+ b(!1);
71
+ }
72
+ },
73
+ disabled: y || A,
74
+ color: "primary",
75
+ variant: "contained",
76
+ sx: {
77
+ px: 2.5,
78
+ py: 1.5
79
+ },
80
+ children: y ? _._("Loading...") : _._("Get paid now")
81
+ })]
82
+ }) }) : /* @__PURE__ */ c(e, { children: /* @__PURE__ */ l(u, {
83
+ sx: { flex: "1 1 0%" },
84
+ children: [/* @__PURE__ */ c(p, {
36
85
  variant: "subtitle2",
37
- children: _._("Funding for {repaymentAmount}", { repaymentAmount: D })
38
- }), /* @__PURE__ */ c(f, {
86
+ children: _._("This invoice can't be financed")
87
+ }), /* @__PURE__ */ c(p, {
39
88
  variant: "body1",
40
- children: _._("Repayment on {repaymentDate}", { repaymentDate: O })
41
- })] }), /* @__PURE__ */ c(u, { children: /* @__PURE__ */ c(i, {
42
- icon: !0,
43
- status: k ?? "DEFAULTED"
44
- }) })]
45
- }), /* @__PURE__ */ c(n, {
46
- open: b,
47
- onClose: () => x(!1),
48
- alignDialog: "right",
49
- children: /* @__PURE__ */ c(a, {
50
- invoice: h,
51
- offers: g?.offers,
52
- financedInvoice: T
53
- })
54
- })] });
89
+ children: _._("It must be in the “Issued” or “Partially paid” statuses and have more than 7 days till overdue.")
90
+ })]
91
+ }) });
55
92
  };
56
93
  //#endregion
57
- export { h as FinanceOverviewCard };
94
+ export { g as FinanceInvoice };
@@ -1,94 +1,43 @@
1
- import { FinanceBannerWrapper as e } from "./index236.js";
2
- import { useKanmonContext as t } from "./index242.js";
3
- import { useGetFinanceOffers as n } from "./index240.js";
4
- import { useFinancing as r } from "./index243.js";
5
- import { useFinanceAnInvoice as i } from "./index244.js";
6
- import { useGetFinancedInvoices as a } from "./index245.js";
7
- import "./index246.js";
8
- import { FinanceOverviewCard as o } from "./index258.js";
9
- import { useState as s } from "react";
10
- import { jsx as c, jsxs as l } from "@emotion/react/jsx-runtime";
11
- import { Box as u, Button as d, Tooltip as f, Typography as p } from "@mui/material";
12
- import { useLingui as m } from "@lingui/react";
1
+ import { Dialog as e } from "./index124.js";
2
+ import "./index125.js";
3
+ import { useKanmonContext as t } from "./index241.js";
4
+ import { FinanceHowItWorks as n } from "./index255.js";
5
+ import { useState as r } from "react";
6
+ import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
7
+ import { Button as o, Stack as s } from "@mui/material";
8
+ import { useLingui as c } from "@lingui/react";
13
9
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js
14
- var h = 5184e5, g = ({ invoice: g }) => {
15
- let { i18n: _ } = m(), { startFinanceSession: v } = t(), [y, b] = s(!1), x = i(), { isLoading: S, data: C } = a({
16
- invoice_id: g.id,
17
- type: "receivable"
18
- }), { isLoading: w, isEnabled: T, isServicing: E } = r(), { isLoading: D, data: O } = n(), k = !!C?.data?.find((e) => e?.invoice_id === g.id), A = w || S || D, j = ["issued", "partially_paid"].includes(g.status), M = g.due_date ? new Date(g.due_date).getTime() - ((/* @__PURE__ */ new Date()).getTime() + h) > 0 : !1;
19
- return !T || !E ? null : k ? /* @__PURE__ */ c(u, { children: /* @__PURE__ */ c(o, {
20
- invoice: g,
21
- offers: O ?? null
22
- }) }) : j && M ? /* @__PURE__ */ c(e, { children: /* @__PURE__ */ l(u, {
23
- sx: {
24
- display: "flex",
25
- alignItems: "center",
26
- gap: 2,
27
- justifyContent: "space-between"
28
- },
29
- children: [/* @__PURE__ */ l(u, {
30
- sx: { flex: "1 1 0%" },
31
- children: [/* @__PURE__ */ c(p, {
32
- variant: "subtitle2",
33
- children: _._("Don't wait for your client to pay")
34
- }), /* @__PURE__ */ l(p, {
35
- variant: "body1",
36
- children: [
37
- _._("This invoice can be financed"),
38
- ".",
39
- " ",
40
- /* @__PURE__ */ c(f, {
41
- arrow: !0,
42
- title: _._("Invoices that are due within 7 days cannot be financed. Overdue invoices cannot be financed. The loan sum must be within your remaining limit."),
43
- children: /* @__PURE__ */ c(p, {
44
- variant: "body1",
45
- sx: { textDecoration: "underline" },
46
- component: "span",
47
- children: _._("Why?")
48
- })
49
- })
50
- ]
51
- })]
52
- }), /* @__PURE__ */ c(d, {
53
- onClick: async () => {
54
- try {
55
- b(!0), x.mutate({ invoices: [{
56
- id: g.id,
57
- type: "receivable"
58
- }] }, {
59
- onError: () => {
60
- b(!1);
61
- },
62
- onSuccess: ({ session_token: e }) => {
63
- v({
64
- sessionToken: e,
65
- component: "SESSION_INVOICE_FLOW_WITH_INVOICE_FILE"
66
- }), b(!1);
67
- }
68
- });
69
- } catch {
70
- b(!1);
71
- }
72
- },
73
- disabled: y || A,
74
- color: "primary",
75
- variant: "contained",
76
- sx: {
77
- px: 2.5,
78
- py: 1.5
79
- },
80
- children: y ? _._("Loading...") : _._("Get paid now")
81
- })]
82
- }) }) : /* @__PURE__ */ c(e, { children: /* @__PURE__ */ l(u, {
83
- sx: { flex: "1 1 0%" },
84
- children: [/* @__PURE__ */ c(p, {
85
- variant: "subtitle2",
86
- children: _._("This invoice can't be financed")
87
- }), /* @__PURE__ */ c(p, {
88
- variant: "body1",
89
- children: _._("It must be in the “Issued” or “Partially paid” statuses and have more than 7 days till overdue.")
90
- })]
91
- }) });
10
+ var l = () => {
11
+ let { i18n: l } = c(), { startFinanceSession: u } = t(), [d, f] = r(!1);
12
+ return /* @__PURE__ */ a(s, {
13
+ direction: "row",
14
+ gap: 1,
15
+ alignItems: "center",
16
+ children: [
17
+ /* @__PURE__ */ i(o, {
18
+ variant: "text",
19
+ onClick: () => f(!0),
20
+ children: l._("How does invoice financing work?")
21
+ }),
22
+ /* @__PURE__ */ i(o, {
23
+ onClick: () => u(),
24
+ variant: "contained",
25
+ color: "primary",
26
+ sx: {
27
+ px: 2.5,
28
+ py: 1.5,
29
+ height: 40
30
+ },
31
+ children: l._("Financing menu")
32
+ }),
33
+ /* @__PURE__ */ i(e, {
34
+ open: d,
35
+ onClose: () => f(!1),
36
+ alignDialog: "right",
37
+ children: /* @__PURE__ */ i(n, {})
38
+ })
39
+ ]
40
+ });
92
41
  };
93
42
  //#endregion
94
- export { g as FinanceInvoice };
43
+ export { l as FinanceMenuButtons };
@@ -1,43 +1,79 @@
1
- import { Dialog as e } from "./index125.js";
2
- import "./index126.js";
3
- import { useKanmonContext as t } from "./index242.js";
4
- import { FinanceHowItWorks as n } from "./index256.js";
5
- import { useState as r } from "react";
6
- import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
7
- import { Button as o, Stack as s } from "@mui/material";
8
- import { useLingui as c } from "@lingui/react";
1
+ import { useMoniteContext as e } from "./index36.js";
2
+ import { useCurrencies as t } from "./index66.js";
3
+ import "./index79.js";
4
+ import { FinanceBannerWrapper as n } from "./index235.js";
5
+ import { FinanceProgressBar as r } from "./index238.js";
6
+ import { FinanceMenuButtons as i } from "./index259.js";
7
+ import { Fragment as a, jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
8
+ import { Box as c, Typography as l, useTheme as u } from "@mui/material";
9
+ import { useLingui as d } from "@lingui/react";
9
10
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js
10
- var l = () => {
11
- let { i18n: l } = c(), { startFinanceSession: u } = t(), [d, f] = r(!1);
12
- return /* @__PURE__ */ a(s, {
13
- direction: "row",
14
- gap: 1,
15
- alignItems: "center",
16
- children: [
17
- /* @__PURE__ */ i(o, {
18
- variant: "text",
19
- onClick: () => f(!0),
20
- children: l._("How does invoice financing work?")
21
- }),
22
- /* @__PURE__ */ i(o, {
23
- onClick: () => u(),
24
- variant: "contained",
25
- color: "primary",
26
- sx: {
27
- px: 2.5,
28
- py: 1.5,
29
- height: 40
30
- },
31
- children: l._("Financing menu")
32
- }),
33
- /* @__PURE__ */ i(e, {
34
- open: d,
35
- onClose: () => f(!1),
36
- alignDialog: "right",
37
- children: /* @__PURE__ */ i(n, {})
38
- })
39
- ]
11
+ var f = ({ offers: f = [] }) => {
12
+ let { componentSettings: p } = e(), { i18n: m } = d(), h = u(), { formatCurrencyToDisplay: g } = t(), _ = f?.[0]?.total_amount ?? 0, v = (f?.[0]?.status === "LATE" ? 0 : f?.[0]?.available_amount) ?? 0, y = v / _ * 100, b = f?.[0]?.status !== "CLOSED" && f?.[0]?.status !== "DEFAULTED";
13
+ return !f || f.length === 0 ? null : /* @__PURE__ */ s(c, {
14
+ maxWidth: "440px",
15
+ width: "100%",
16
+ children: [/* @__PURE__ */ o(l, {
17
+ variant: "subtitle1",
18
+ sx: {
19
+ mb: 3,
20
+ display: "inline-block"
21
+ },
22
+ children: m._("My financing")
23
+ }), /* @__PURE__ */ o(n, { children: /* @__PURE__ */ s(c, {
24
+ sx: {
25
+ display: "flex",
26
+ flexDirection: "column",
27
+ gap: 1.25
28
+ },
29
+ children: [
30
+ /* @__PURE__ */ o(c, { children: b ? /* @__PURE__ */ s(a, { children: [/* @__PURE__ */ o(l, {
31
+ variant: "body1",
32
+ children: m._("Remaining limit")
33
+ }), /* @__PURE__ */ s(c, {
34
+ display: "flex",
35
+ alignItems: "center",
36
+ gap: 1,
37
+ children: [/* @__PURE__ */ o(l, {
38
+ variant: "h2",
39
+ fontSize: 24,
40
+ lineHeight: "32px",
41
+ children: g(v, "USD")
42
+ }), /* @__PURE__ */ s(l, {
43
+ component: "span",
44
+ variant: "subtitle1",
45
+ fontSize: 18,
46
+ color: h.palette.grey[400],
47
+ children: ["/ ", g(_, "USD")]
48
+ })]
49
+ })] }) : /* @__PURE__ */ o(l, {
50
+ variant: "h2",
51
+ fontSize: 24,
52
+ children: m._("Not available")
53
+ }) }),
54
+ /* @__PURE__ */ s(c, {
55
+ display: "flex",
56
+ flexDirection: "column",
57
+ gap: 1.5,
58
+ children: [b && /* @__PURE__ */ o(r, { progress: y }), /* @__PURE__ */ o(l, {
59
+ variant: "body1",
60
+ fontSize: 14,
61
+ lineHeight: "22px",
62
+ fontWeight: 400,
63
+ children: (() => {
64
+ switch (f?.[0]?.status) {
65
+ case "DEFAULTED": return m._("Financing is blocked due to a violation of the agreed-upon terms. Please, contact the provider for further details.");
66
+ case "CLOSED": return m._("Financing is not available for your business anymore. Please, contact the provider for further details.");
67
+ case "LATE": return m._("Due to late payment your financing is currently on hold. Please, contact the provider for further details.");
68
+ default: return m._("Your amount available for financing additional invoices.");
69
+ }
70
+ })()
71
+ })]
72
+ }),
73
+ p?.financing?.enableFinanceWidgetButton && /* @__PURE__ */ o(i, {})
74
+ ]
75
+ }) })]
40
76
  });
41
77
  };
42
78
  //#endregion
43
- export { l as FinanceMenuButtons };
79
+ export { f as FinanceLimits };
@@ -1,79 +1,87 @@
1
- import { useMoniteContext as e } from "./index37.js";
2
- import { useCurrencies as t } from "./index67.js";
3
- import "./index80.js";
4
- import { FinanceBannerWrapper as n } from "./index236.js";
5
- import { FinanceProgressBar as r } from "./index239.js";
6
- import { FinanceMenuButtons as i } from "./index260.js";
7
- import { Fragment as a, jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
8
- import { Box as c, Typography as l, useTheme as u } from "@mui/material";
9
- import { useLingui as d } from "@lingui/react";
1
+ import { Fragment as e } from "react";
2
+ import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
3
+ import { Box as r, List as i, ListItem as a, Typography as o, lighten as s, useTheme as c } from "@mui/material";
4
+ import { useLingui as l } from "@lingui/react";
5
+ import u from "@mui/icons-material/MonetizationOnOutlined";
10
6
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js
11
- var f = ({ offers: f = [] }) => {
12
- let { componentSettings: p } = e(), { i18n: m } = d(), h = u(), { formatCurrencyToDisplay: g } = t(), _ = f?.[0]?.total_amount ?? 0, v = (f?.[0]?.status === "LATE" ? 0 : f?.[0]?.available_amount) ?? 0, y = v / _ * 100, b = f?.[0]?.status !== "CLOSED" && f?.[0]?.status !== "DEFAULTED";
13
- return !f || f.length === 0 ? null : /* @__PURE__ */ s(c, {
14
- maxWidth: "440px",
7
+ var d = ({ offers: d }) => {
8
+ let { i18n: f } = l(), p = c();
9
+ return !d || d.length === 0 ? null : /* @__PURE__ */ n(r, {
15
10
  width: "100%",
16
- children: [/* @__PURE__ */ o(l, {
11
+ children: [/* @__PURE__ */ t(o, {
17
12
  variant: "subtitle1",
18
13
  sx: {
19
14
  mb: 3,
20
15
  display: "inline-block"
21
16
  },
22
- children: m._("My financing")
23
- }), /* @__PURE__ */ o(n, { children: /* @__PURE__ */ s(c, {
17
+ children: f._("Current offer")
18
+ }), /* @__PURE__ */ t(r, {
24
19
  sx: {
25
20
  display: "flex",
26
- flexDirection: "column",
27
- gap: 1.25
21
+ gap: 2,
22
+ flexWrap: "wrap"
28
23
  },
29
- children: [
30
- /* @__PURE__ */ o(c, { children: b ? /* @__PURE__ */ s(a, { children: [/* @__PURE__ */ o(l, {
31
- variant: "body1",
32
- children: m._("Remaining limit")
33
- }), /* @__PURE__ */ s(c, {
34
- display: "flex",
35
- alignItems: "center",
36
- gap: 1,
37
- children: [/* @__PURE__ */ o(l, {
38
- variant: "h2",
24
+ children: d.map((c, l) => c?.pricing_plans?.map((d, m) => /* @__PURE__ */ n(r, {
25
+ width: 232,
26
+ height: 148,
27
+ px: 3,
28
+ py: 2.5,
29
+ sx: {
30
+ backgroundColor: p.palette.background.paper,
31
+ borderRadius: "16px",
32
+ border: `1px solid ${p.palette.divider}`
33
+ },
34
+ children: [/* @__PURE__ */ n(r, {
35
+ sx: {
36
+ display: "flex",
37
+ alignItems: "center",
38
+ gap: 1,
39
+ mb: 2
40
+ },
41
+ children: [/* @__PURE__ */ t(u, { sx: {
39
42
  fontSize: 24,
40
- lineHeight: "32px",
41
- children: g(v, "USD")
42
- }), /* @__PURE__ */ s(l, {
43
- component: "span",
44
- variant: "subtitle1",
45
- fontSize: 18,
46
- color: h.palette.grey[400],
47
- children: ["/ ", g(_, "USD")]
48
- })]
49
- })] }) : /* @__PURE__ */ o(l, {
50
- variant: "h2",
51
- fontSize: 24,
52
- children: m._("Not available")
53
- }) }),
54
- /* @__PURE__ */ s(c, {
55
- display: "flex",
56
- flexDirection: "column",
57
- gap: 1.5,
58
- children: [b && /* @__PURE__ */ o(r, { progress: y }), /* @__PURE__ */ o(l, {
43
+ color: s(p.palette.primary.main, .6)
44
+ } }), /* @__PURE__ */ t(o, {
59
45
  variant: "body1",
60
- fontSize: 14,
61
- lineHeight: "22px",
62
- fontWeight: 400,
63
- children: (() => {
64
- switch (f?.[0]?.status) {
65
- case "DEFAULTED": return m._("Financing is blocked due to a violation of the agreed-upon terms. Please, contact the provider for further details.");
66
- case "CLOSED": return m._("Financing is not available for your business anymore. Please, contact the provider for further details.");
67
- case "LATE": return m._("Due to late payment your financing is currently on hold. Please, contact the provider for further details.");
68
- default: return m._("Your amount available for financing additional invoices.");
69
- }
70
- })()
46
+ fontWeight: 500,
47
+ sx: {
48
+ flex: "1 1 0%",
49
+ width: "100%"
50
+ },
51
+ children: f._("Financing plan")
71
52
  })]
72
- }),
73
- p?.financing?.enableFinanceWidgetButton && /* @__PURE__ */ o(i, {})
74
- ]
75
- }) })]
53
+ }), /* @__PURE__ */ t(i, {
54
+ sx: { p: 0 },
55
+ children: /* @__PURE__ */ n(e, { children: [
56
+ /* @__PURE__ */ t(a, {
57
+ sx: { p: 0 },
58
+ children: /* @__PURE__ */ t(o, {
59
+ variant: "body1",
60
+ fontWeight: 400,
61
+ children: f._("{itemAdvance_rate_percentage}% advance rate", { itemAdvance_rate_percentage: d.advance_rate_percentage / 100 })
62
+ })
63
+ }),
64
+ /* @__PURE__ */ t(a, {
65
+ sx: { p: 0 },
66
+ children: /* @__PURE__ */ t(o, {
67
+ variant: "body1",
68
+ fontWeight: 400,
69
+ children: f._("Pay in {itemRepayment_duration_days} days", { itemRepayment_duration_days: d.repayment_duration_days })
70
+ })
71
+ }),
72
+ /* @__PURE__ */ t(a, {
73
+ sx: { p: 0 },
74
+ children: /* @__PURE__ */ t(o, {
75
+ variant: "body1",
76
+ fontWeight: 400,
77
+ children: f._("{itemFee_percentage}% fee", { itemFee_percentage: d.fee_percentage / 100 })
78
+ })
79
+ })
80
+ ] }, d.advance_rate_percentage)
81
+ })]
82
+ }, `${c.available_amount}-${l}-${c.total_amount}-${m}`)))
83
+ })]
76
84
  });
77
85
  };
78
86
  //#endregion
79
- export { f as FinanceLimits };
87
+ export { d as FinanceOffers };
@@ -1,87 +1,14 @@
1
- import { Fragment as e } from "react";
2
- import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
3
- import { Box as r, List as i, ListItem as a, Typography as o, lighten as s, useTheme as c } from "@mui/material";
4
- import { useLingui as l } from "@lingui/react";
5
- import u from "@mui/icons-material/MonetizationOnOutlined";
1
+ import { FinanceLimits as e } from "./index260.js";
2
+ import { FinanceOffers as t } from "./index261.js";
3
+ import { jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
4
+ import { Box as i } from "@mui/material";
6
5
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js
7
- var d = ({ offers: d }) => {
8
- let { i18n: f } = l(), p = c();
9
- return !d || d.length === 0 ? null : /* @__PURE__ */ n(r, {
10
- width: "100%",
11
- children: [/* @__PURE__ */ t(o, {
12
- variant: "subtitle1",
13
- sx: {
14
- mb: 3,
15
- display: "inline-block"
16
- },
17
- children: f._("Current offer")
18
- }), /* @__PURE__ */ t(r, {
19
- sx: {
20
- display: "flex",
21
- gap: 2,
22
- flexWrap: "wrap"
23
- },
24
- children: d.map((c, l) => c?.pricing_plans?.map((d, m) => /* @__PURE__ */ n(r, {
25
- width: 232,
26
- height: 148,
27
- px: 3,
28
- py: 2.5,
29
- sx: {
30
- backgroundColor: p.palette.background.paper,
31
- borderRadius: "16px",
32
- border: `1px solid ${p.palette.divider}`
33
- },
34
- children: [/* @__PURE__ */ n(r, {
35
- sx: {
36
- display: "flex",
37
- alignItems: "center",
38
- gap: 1,
39
- mb: 2
40
- },
41
- children: [/* @__PURE__ */ t(u, { sx: {
42
- fontSize: 24,
43
- color: s(p.palette.primary.main, .6)
44
- } }), /* @__PURE__ */ t(o, {
45
- variant: "body1",
46
- fontWeight: 500,
47
- sx: {
48
- flex: "1 1 0%",
49
- width: "100%"
50
- },
51
- children: f._("Financing plan")
52
- })]
53
- }), /* @__PURE__ */ t(i, {
54
- sx: { p: 0 },
55
- children: /* @__PURE__ */ n(e, { children: [
56
- /* @__PURE__ */ t(a, {
57
- sx: { p: 0 },
58
- children: /* @__PURE__ */ t(o, {
59
- variant: "body1",
60
- fontWeight: 400,
61
- children: f._("{itemAdvance_rate_percentage}% advance rate", { itemAdvance_rate_percentage: d.advance_rate_percentage / 100 })
62
- })
63
- }),
64
- /* @__PURE__ */ t(a, {
65
- sx: { p: 0 },
66
- children: /* @__PURE__ */ t(o, {
67
- variant: "body1",
68
- fontWeight: 400,
69
- children: f._("Pay in {itemRepayment_duration_days} days", { itemRepayment_duration_days: d.repayment_duration_days })
70
- })
71
- }),
72
- /* @__PURE__ */ t(a, {
73
- sx: { p: 0 },
74
- children: /* @__PURE__ */ t(o, {
75
- variant: "body1",
76
- fontWeight: 400,
77
- children: f._("{itemFee_percentage}% fee", { itemFee_percentage: d.fee_percentage / 100 })
78
- })
79
- })
80
- ] }, d.advance_rate_percentage)
81
- })]
82
- }, `${c.available_amount}-${l}-${c.total_amount}-${m}`)))
83
- })]
84
- });
85
- };
6
+ var a = ({ offers: a }) => /* @__PURE__ */ r(i, {
7
+ sx: {
8
+ display: "flex",
9
+ gap: 2
10
+ },
11
+ children: [/* @__PURE__ */ n(e, { offers: a }), a?.[0]?.status === "CURRENT" && /* @__PURE__ */ n(t, { offers: a })]
12
+ });
86
13
  //#endregion
87
- export { d as FinanceOffers };
14
+ export { a as FinanceWidget };