@tesouro/embedded-components-react 0.2.117 → 0.2.118

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 (433) hide show
  1. package/dist/lib/ReceivablesWidget.js +26 -26
  2. package/dist/lib/monite-sdk.d.ts +13 -0
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +26 -26
  4. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +23 -23
  5. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
  6. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
  7. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
  8. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
  9. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
  10. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
  11. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
  12. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
  13. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
  14. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
  15. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +10 -13
  16. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +9 -24
  17. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +24 -10
  18. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
  19. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +2 -9
  20. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -35
  21. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +23 -4
  22. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +13 -2
  23. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +33 -25
  24. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -2
  25. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -1271
  26. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -2
  27. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +25 -23
  28. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -32
  29. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
  30. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +97 -58
  31. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +8 -398
  32. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +57 -69
  33. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +26 -2
  34. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +26 -406
  35. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +12 -7
  36. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +19 -25
  37. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +76 -93
  38. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +39 -57
  39. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +21 -9
  40. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
  41. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +5 -46
  42. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +2 -76
  43. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +9 -55
  44. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +21 -196
  45. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +76 -12
  46. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +6 -14
  47. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +19 -36
  48. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +27 -26
  49. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +111 -76
  50. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +70 -9
  51. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
  52. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +33 -80
  53. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +9 -29
  54. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +15 -64
  55. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +13 -41
  56. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +12 -7
  57. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +32 -5
  58. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +12 -118
  59. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +12 -70
  60. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +24 -188
  61. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +13 -30
  62. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +10 -109
  63. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +114 -130
  64. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +216 -18
  65. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +9 -18
  66. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +9 -20
  67. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +47 -25
  68. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +49 -183
  69. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +13 -12
  70. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +43 -19
  71. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +11 -50
  72. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +152 -4
  73. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +57 -5
  74. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +58 -75
  75. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +24 -32
  76. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +3 -8
  77. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +59 -42
  78. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +24 -48
  79. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +83 -192
  80. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +95 -421
  81. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +15 -21
  82. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +12 -25
  83. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +12 -11
  84. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +9 -20
  85. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +44 -19
  86. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +76 -2
  87. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +55 -9
  88. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +14 -22
  89. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +24 -74
  90. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +80 -6
  91. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +28 -21
  92. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
  93. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +42 -27
  94. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +7 -117
  95. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +114 -66
  96. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +70 -33
  97. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +190 -15
  98. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +30 -13
  99. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +111 -12
  100. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +135 -24
  101. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +17 -93
  102. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +18 -98
  103. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +172 -163
  104. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +21 -16
  105. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +23 -10
  106. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +183 -14
  107. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +11 -30
  108. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +22 -12
  109. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +50 -12
  110. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +4 -26
  111. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +5 -14
  112. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +88 -12
  113. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +31 -115
  114. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +6 -10
  115. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +44 -46
  116. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +44 -43
  117. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +202 -11
  118. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +420 -39
  119. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +24 -11
  120. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +59 -151
  121. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +396 -55
  122. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +66 -68
  123. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +2 -29
  124. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +407 -3
  125. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +7 -2
  126. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +34 -100
  127. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +99 -24
  128. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +25 -5
  129. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +5 -11
  130. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +11 -6
  131. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +7 -10
  132. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +7 -211
  133. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +214 -10
  134. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +9 -11
  135. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +11 -11
  136. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +12 -7
  137. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +2 -35
  138. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +146 -36
  139. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +85 -50
  140. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +26 -34
  141. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +47 -66
  142. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +28 -345
  143. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +5 -2
  144. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
  145. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +75 -18
  146. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +32 -14
  147. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +19 -13
  148. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +2 -14
  149. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +94 -12
  150. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +96 -20
  151. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +211 -35
  152. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +149 -37
  153. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +8 -13
  154. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +18 -16
  155. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
  156. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +36 -243
  157. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +346 -11
  158. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +301 -17
  159. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +99 -22
  160. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +158 -36
  161. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +261 -52
  162. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +22 -49
  163. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +20 -30
  164. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +23 -97
  165. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +31 -44
  166. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
  167. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +38 -143
  168. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +59 -106
  169. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +29 -45
  170. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +113 -28
  171. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +22 -5
  172. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +41 -74
  173. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +57 -32
  174. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +488 -17
  175. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +162 -140
  176. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +73 -86
  177. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
  178. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +44 -26
  179. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +17 -39
  180. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +27 -59
  181. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +40 -29
  182. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +62 -113
  183. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +95 -21
  184. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +109 -41
  185. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +84 -53
  186. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +48 -488
  187. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +62 -167
  188. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
  189. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +22 -2
  190. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +16 -94
  191. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +19 -97
  192. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +164 -206
  193. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +130 -61
  194. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +66 -43
  195. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +158 -21
  196. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +9 -138
  197. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +18 -111
  198. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +62 -81
  199. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
  200. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +63 -280
  201. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +54 -43
  202. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +8 -15
  203. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +8 -83
  204. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +55 -218
  205. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +21 -36
  206. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +63 -11
  207. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +14 -11
  208. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +22 -11
  209. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +55 -10
  210. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +23 -22
  211. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
  212. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +29 -7
  213. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +60 -2
  214. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +20 -149
  215. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +66 -72
  216. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +36 -96
  217. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +34 -17
  218. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +345 -84
  219. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +2 -17
  220. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +17 -47
  221. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +10 -8
  222. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
  223. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +9 -45
  224. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +13 -62
  225. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +12 -26
  226. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +20 -126
  227. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +37 -44
  228. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +33 -156
  229. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +15 -28
  230. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +16 -28
  231. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +244 -74
  232. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +10 -8
  233. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
  234. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +17 -17
  235. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +23 -21
  236. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +37 -31
  237. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +53 -36
  238. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +48 -343
  239. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +28 -301
  240. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +92 -97
  241. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +42 -157
  242. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +135 -255
  243. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +107 -23
  244. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
  245. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +19 -18
  246. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +43 -22
  247. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +14 -57
  248. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +78 -27
  249. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +74 -57
  250. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +42 -18
  251. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +157 -17
  252. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +27 -29
  253. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +27 -40
  254. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +78 -63
  255. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
  256. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +24 -92
  257. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +127 -112
  258. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +62 -85
  259. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +42 -21
  260. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +22 -15
  261. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +139 -17
  262. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +102 -161
  263. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +81 -133
  264. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +278 -155
  265. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +47 -10
  266. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +15 -19
  267. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +83 -60
  268. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +221 -64
  269. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +33 -54
  270. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +11 -8
  271. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +4 -4
  272. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +8 -59
  273. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +11 -23
  274. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +6 -62
  275. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +2 -14
  276. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +67 -64
  277. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +255 -67
  278. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +92 -17
  279. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +16 -42
  280. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +85 -14
  281. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +17 -80
  282. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +49 -45
  283. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +8 -36
  284. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +44 -28
  285. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +31 -7
  286. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +4 -34
  287. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +15 -15
  288. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +125 -26
  289. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +93 -40
  290. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +31 -18
  291. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +33 -72
  292. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +115 -89
  293. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +18 -37
  294. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +16 -10
  295. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +16 -11
  296. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +14 -75
  297. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +16 -44
  298. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +14 -14
  299. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +54 -255
  300. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +36 -32
  301. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +21 -11
  302. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +71 -22
  303. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +16 -50
  304. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +16 -11
  305. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +16 -123
  306. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +11 -18
  307. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +34 -16
  308. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -16
  309. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
  310. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +24 -16
  311. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +50 -16
  312. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +11 -12
  313. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +19 -64
  314. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +27 -66
  315. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +36 -71
  316. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +32 -16
  317. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +69 -16
  318. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +47 -16
  319. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +28 -11
  320. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
  321. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +43 -34
  322. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +7 -29
  323. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +53 -23
  324. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +17 -38
  325. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +5 -32
  326. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +21 -4
  327. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +64 -124
  328. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +18 -32
  329. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +21 -85
  330. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +16 -24
  331. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +19 -103
  332. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +40 -39
  333. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +26 -110
  334. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +21 -71
  335. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +32 -66
  336. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +38 -37
  337. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +46 -2
  338. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +37 -8
  339. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +6 -20
  340. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +14 -5
  341. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +66 -18
  342. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +21 -21
  343. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
  344. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +2 -16
  345. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +29 -15
  346. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +41 -12
  347. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +74 -21
  348. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +94 -19
  349. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +9 -27
  350. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +9 -37
  351. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +10 -9
  352. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +31 -94
  353. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +85 -38
  354. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
  355. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +24 -35
  356. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +102 -31
  357. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +109 -23
  358. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +12 -7
  359. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +8 -54
  360. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +28 -17
  361. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +23 -53
  362. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +38 -35
  363. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +69 -63
  364. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +66 -45
  365. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
  366. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +35 -24
  367. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +19 -29
  368. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +49 -67
  369. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +56 -54
  370. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +29 -41
  371. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +31 -18
  372. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +49 -48
  373. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +91 -35
  374. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +16 -47
  375. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +75 -74
  376. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
  377. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +20 -84
  378. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +9 -55
  379. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +52 -49
  380. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +67 -50
  381. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +21 -30
  382. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +31 -54
  383. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +14 -70
  384. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +19 -20
  385. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +50 -80
  386. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +39 -39
  387. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
  388. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +44 -93
  389. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +42 -15
  390. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +37 -75
  391. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +13 -19
  392. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +74 -9
  393. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +83 -31
  394. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +52 -51
  395. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +52 -41
  396. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +53 -35
  397. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +29 -15
  398. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
  399. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +56 -18
  400. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +81 -49
  401. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +39 -58
  402. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +67 -31
  403. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +39 -14
  404. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +64 -9
  405. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +9 -64
  406. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +47 -51
  407. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +36 -52
  408. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +50 -41
  409. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
  410. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +54 -18
  411. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +40 -37
  412. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +20 -48
  413. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
  414. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
  415. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
  416. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
  417. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
  418. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
  419. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
  420. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
  421. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
  422. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
  423. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
  424. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
  425. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
  426. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
  427. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
  428. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
  429. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
  430. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +25 -25
  431. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +8 -8
  432. package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +26 -26
  433. package/package.json +1 -1
@@ -1,274 +1,283 @@
1
- import { jsx as t, jsxs as r, Fragment as f } from "@emotion/react/jsx-runtime";
2
- import { useCounterpartById as At } from "./index70.js";
3
- import { Sheet as q, SheetContent as K, SheetHeader as It, SheetTitle as Lt, SheetDescription as $t, SheetClose as kt } from "./index187.js";
4
- import { LoadingSpinner as Bt } from "./index188.js";
5
- import { useLingui as jt } from "@lingui/react";
1
+ import { jsx as t, jsxs as i, Fragment as _ } from "@emotion/react/jsx-runtime";
2
+ import { useCounterpartById as Lt } from "./index70.js";
3
+ import { Sheet as X, SheetContent as Y, SheetHeader as $t, SheetTitle as Et, SheetDescription as Rt, SheetClose as Ut } from "./index144.js";
4
+ import { LoadingSpinner as kt } from "./index145.js";
5
+ import { useLingui as Bt } from "@lingui/react";
6
6
  import { getCounterpartName as T } from "./index7.js";
7
- import { Skeleton as c } from "./index149.js";
8
- import { useMoniteContext as Mt } from "./index57.js";
9
- import { DropdownMenu as Pt, DropdownMenuTrigger as Ut, DropdownMenuContent as Et, DropdownMenuItem as Ot } from "./index193.js";
10
- import { Button as _ } from "./index84.js";
11
- import { MoreVerticalIcon as Rt, Trash2 as Vt, X as Ft, EyeOff as Wt, Eye as zt } from "lucide-react";
12
- import { DeleteCounterpartModal as Gt } from "./index203.js";
13
- import { useState as A, useCallback as Ht, Fragment as qt } from "react";
14
- import { Typography as i } from "./index85.js";
15
- import { useCurrencies as Kt } from "./index58.js";
16
- import { Separator as Xt } from "./index204.js";
17
- import { CounterpartContactDetailLine as m } from "./index205.js";
7
+ import { Skeleton as c } from "./index151.js";
8
+ import { useMoniteContext as jt } from "./index57.js";
9
+ import { DropdownMenu as Mt, DropdownMenuTrigger as Ot, DropdownMenuContent as Pt, DropdownMenuItem as Vt } from "./index150.js";
10
+ import { Button as v } from "./index84.js";
11
+ import { MoreVerticalIcon as Ft, Trash2 as Wt, X as zt, EyeOff as Gt, Eye as Ht } from "lucide-react";
12
+ import { DeleteCounterpartModal as qt } from "./index155.js";
13
+ import { useState as A, useCallback as Xt, Fragment as Yt } from "react";
14
+ import { Typography as r } from "./index85.js";
15
+ import { useCurrencies as Jt } from "./index58.js";
16
+ import { Separator as Kt } from "./index156.js";
17
+ import { CounterpartContactDetailLine as m } from "./index157.js";
18
18
  import "react-hot-toast";
19
19
  import "date-fns";
20
- import { useDeleteCounterpartBank as Yt } from "./index206.js";
21
- import { useCounterpartAddressesById as Jt } from "./index207.js";
22
- import { useGetCounterpartPayables as Qt } from "./index208.js";
23
- import { EditCounterpart as Zt } from "./index209.js";
24
- import { useUserPermissions as te } from "./index135.js";
20
+ import { useDeleteCounterpartBank as Qt } from "./index158.js";
21
+ import { useCounterpartAddressesById as Zt } from "./index159.js";
22
+ import { useGetCounterpartPayables as te } from "./index160.js";
23
+ import { EditCounterpart as ee } from "./index161.js";
24
+ import { useUserPermissions as ae } from "./index131.js";
25
25
  import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
26
26
  import "../../shared/data-access/dist/lib/EmbedApiContext.js";
27
27
  import "../../shared/data-access/dist/lib/rest/client.gen.js";
28
28
  import "@tanstack/react-query";
29
29
  import "../../shared/data-access/dist/lib/rest/zod.gen.js";
30
- import { Scope as v } from "../../shared/data-access/dist/lib/scopes.js";
30
+ import { Scope as w } from "../../shared/data-access/dist/lib/scopes.js";
31
31
  import { useGetPayablesAnalytics as I } from "./index35.js";
32
- import { useGetReceivables as ee } from "./index144.js";
33
- import { useGetReceivablesAnalytics as X } from "./index210.js";
32
+ import { AR_DEFAULT_STATUSES as ie } from "./index162.js";
33
+ import { useGetReceivables as re } from "./index163.js";
34
+ import { useGetReceivablesAnalytics as J } from "./index164.js";
34
35
  import "./index92.js";
35
36
  import "react-dom";
36
37
  import "@mui/x-data-grid";
37
38
  import "react-hook-form";
38
- import { PayableStatusChip as Y } from "./index211.js";
39
- import { CounterpartBankSection as ae } from "./index212.js";
40
- import { useCounterpartsBankAccountsList as re } from "./index213.js";
41
- import { MoniteScopedProviders as ie } from "./index83.js";
42
- import { InvoiceStatusChip as oe } from "./index55.js";
43
- import { CounterpartAddressSection as ne } from "./index214.js";
44
- import { NotFound as de } from "./index194.js";
45
- import { isBillOverdue as se } from "./index215.js";
46
- const ea = (n) => /* @__PURE__ */ t(ie, { children: /* @__PURE__ */ t(le, { ...n }) }), le = ({
47
- counterpartId: n,
39
+ import { PayableStatusChip as K } from "./index165.js";
40
+ import { CounterpartBankSection as oe } from "./index166.js";
41
+ import { useCounterpartsBankAccountsList as ne } from "./index167.js";
42
+ import { MoniteScopedProviders as se } from "./index83.js";
43
+ import { InvoiceStatusChip as de } from "./index55.js";
44
+ import { CounterpartAddressSection as le } from "./index168.js";
45
+ import { NotFound as ce } from "./index152.js";
46
+ import { isBillOverdue as me } from "./index169.js";
47
+ const oa = (o) => /* @__PURE__ */ t(se, { children: /* @__PURE__ */ t(ue, { ...o }) }), ue = ({
48
+ counterpartId: o,
48
49
  customerType: u,
49
50
  open: L,
50
- isEditMode: J = !1,
51
- showActionsMenu: Q = !0,
51
+ isEditMode: Q = !1,
52
+ showActionsMenu: Z = !0,
52
53
  onClose: g,
53
54
  onPayVendor: $,
54
- onCreateInvoiceForCustomer: k,
55
- onViewVendorBills: B
55
+ onCreateInvoiceForCustomer: E,
56
+ onViewVendorBills: R,
57
+ onViewCustomerInvoices: U
56
58
  }) => {
57
59
  const {
58
60
  i18n: a
59
- } = jt(), {
60
- locale: j
61
- } = Mt(), p = te(), {
62
- formatCurrencyToDisplay: w
63
- } = Kt(), [M, b] = A(!1), [P, Z] = A(!1), [U, N] = A(J), e = u === "vendor", tt = e && !!$ && p.has(v.PayableWriteOrg), et = !e && !!k && p.has(v.InvoiceWriteOrg), at = e && !!B && p.has(v.PayableReadOrg), {
64
- data: o,
61
+ } = Bt(), {
62
+ locale: k
63
+ } = jt(), p = ae(), {
64
+ formatCurrencyToDisplay: h
65
+ } = Jt(), [B, b] = A(!1), [j, tt] = A(!1), [M, N] = A(Q), e = u === "vendor", et = e && !!$ && p.has(w.PayableWriteOrg), at = !e && !!E && p.has(w.InvoiceWriteOrg), it = e && !!R && p.has(w.PayableReadOrg), rt = !e && !!U && p.has(w.InvoiceReadOrg), {
66
+ data: n,
65
67
  isLoading: l,
66
- isFetching: rt
67
- } = At(n), {
68
- data: it,
69
- isLoading: ot
70
- } = Jt(n), {
68
+ isFetching: ot
69
+ } = Lt(o), {
71
70
  data: nt,
72
- isLoading: dt
73
- } = re(n), {
74
- mutate: st
75
- } = Yt(n), {
76
- data: lt,
77
- isLoading: E
71
+ isLoading: st
72
+ } = Zt(o), {
73
+ data: dt,
74
+ isLoading: lt
75
+ } = ne(o), {
76
+ mutate: ct
77
+ } = Qt(o), {
78
+ data: mt,
79
+ isLoading: O
78
80
  } = I({
79
81
  dimension: "counterpart_id",
80
82
  metric: "total_amount",
81
83
  aggregation_function: "summary",
82
84
  status__in: ["new", "approve_in_progress", "waiting_to_be_paid", "partially_paid", "paid"],
83
- counterpart_id__in: [n]
85
+ counterpart_id__in: [o]
84
86
  }, e), {
85
- data: ct,
86
- isLoading: O
87
+ data: ut,
88
+ isLoading: P
87
89
  } = I({
88
90
  dimension: "counterpart_id",
89
91
  metric: "amount_due",
90
92
  aggregation_function: "summary",
91
93
  status__in: ["new", "approve_in_progress", "waiting_to_be_paid", "partially_paid"],
92
- counterpart_id__in: [n]
94
+ counterpart_id__in: [o]
93
95
  }, e), {
94
- data: mt,
95
- isLoading: ut
96
+ data: pt,
97
+ isLoading: wt
96
98
  } = I({
97
99
  dimension: "counterpart_id",
98
100
  metric: "total_amount",
99
101
  aggregation_function: "summary",
100
102
  status__in: ["rejected"],
101
- counterpart_id__in: [n]
103
+ counterpart_id__in: [o]
102
104
  }, e), {
103
- data: pt
104
- } = Qt({
105
- counterpart_id: n,
105
+ data: ht
106
+ } = te({
107
+ counterpart_id: o,
106
108
  sort: "created_at",
107
109
  order: "desc",
108
110
  limit: 4
109
111
  }, e), {
110
- data: wt,
111
- isLoading: R
112
- } = X({
112
+ data: ft,
113
+ isLoading: V
114
+ } = J({
113
115
  dimension: "counterpart_id",
114
116
  metric: "total_amount",
115
117
  aggregation_function: "summary",
116
118
  type: "invoice",
117
119
  status__in: ["issued", "overdue", "partially_paid", "paid"],
118
- counterpart_id__in: [n]
120
+ counterpart_id__in: [o]
119
121
  }, !e), {
120
- data: ht,
121
- isLoading: V
122
- } = X({
122
+ data: _t,
123
+ isLoading: F
124
+ } = J({
123
125
  dimension: "counterpart_id",
124
126
  metric: "amount_due",
125
127
  aggregation_function: "summary",
126
128
  type: "invoice",
127
129
  status__in: ["issued", "overdue", "partially_paid"],
128
- counterpart_id__in: [n]
130
+ counterpart_id__in: [o]
129
131
  }, !e), {
130
- data: ft
131
- } = ee({
132
- counterpart_id: n,
132
+ data: vt
133
+ } = re({
134
+ // Match the destination invoices list, whose "View all" link this section
135
+ // owns: invoice type only (not quotes / credit notes) and the same default
136
+ // statuses useInvoicesFilter applies (AR_DEFAULT_STATUSES, which drops
137
+ // recurring / canceled). Keeping both constraints in sync means the CTA
138
+ // only shows when the filtered list it opens will actually have rows.
139
+ type: "invoice",
140
+ status__in: [...ie],
141
+ counterpart_id: o,
133
142
  sort: "created_at",
134
143
  order: "desc",
135
144
  limit: 4
136
- }, !e), x = p.has(v.CounterpartWriteOrg), F = p.has(v.CounterpartWriteOrg), _t = Ht(() => o && "individual" in o ? [o.individual?.email ?? "-", o.individual?.phone ?? "-"] : [o?.organization?.email ?? "-", o?.organization?.phone ?? "-"], [o]), W = nt?.data?.[0], z = e ? ct?.data?.[0]?.metric_value ?? 0 : ht?.data?.[0]?.metric_value ?? 0, G = e ? lt?.data?.[0]?.metric_value ?? 0 : wt?.data?.[0]?.metric_value ?? 0, vt = G - z, yt = e ? O : V, gt = e ? E : R, bt = e ? O || E : R || V, Nt = e ? mt?.data?.[0]?.metric_value ?? 0 : 0, xt = e ? ut : !1, y = e ? pt?.data : ft?.data, s = it?.data?.[0], C = s?.city || "", S = s?.state || "", D = s?.postal_code || "", h = o?.tax_id, Ct = h ? P ? h : h.slice(0, 3).padEnd(h.length, "•") : "-", [St, Dt] = _t();
137
- return !l && !rt && !o ? /* @__PURE__ */ t(q, { open: L, onOpenChange: g, children: /* @__PURE__ */ t(K, { showCloseButton: !0, className: "ttw:gap-0", children: /* @__PURE__ */ t("div", { className: "ttw:w-3/4 ttw:m-auto ttw:p-4", children: /* @__PURE__ */ t(de, { title: a._("{customerType} not found", {
145
+ }, !e), x = p.has(w.CounterpartWriteOrg), W = p.has(w.CounterpartWriteOrg), yt = Xt(() => n && "individual" in n ? [n.individual?.email ?? "-", n.individual?.phone ?? "-"] : [n?.organization?.email ?? "-", n?.organization?.phone ?? "-"], [n]), z = dt?.data?.[0], G = e ? ut?.data?.[0]?.metric_value ?? 0 : _t?.data?.[0]?.metric_value ?? 0, H = e ? mt?.data?.[0]?.metric_value ?? 0 : ft?.data?.[0]?.metric_value ?? 0, gt = H - G, bt = e ? P : F, Nt = e ? O : V, xt = e ? P || O : V || F, Ct = e ? pt?.data?.[0]?.metric_value ?? 0 : 0, St = e ? wt : !1, y = e ? ht?.data : vt?.data, d = nt?.data?.[0], C = d?.city || "", S = d?.state || "", D = d?.postal_code || "", f = n?.tax_id, Dt = f ? j ? f : f.slice(0, 3).padEnd(f.length, "•") : "-", [Tt, At] = yt();
146
+ return !l && !ot && !n ? /* @__PURE__ */ t(X, { open: L, onOpenChange: g, children: /* @__PURE__ */ t(Y, { showCloseButton: !0, className: "ttw:gap-0", children: /* @__PURE__ */ t("div", { className: "ttw:w-3/4 ttw:m-auto ttw:p-4", children: /* @__PURE__ */ t(ce, { title: a._("{customerType} not found", {
138
147
  customerType: u === "vendor" ? "Vendor" : "Customer"
139
148
  }), description: a._("Something went wrong while fetching this {customerType}", {
140
149
  customerType: u
141
- }) }) }) }) }) : /* @__PURE__ */ r(f, { children: [
142
- /* @__PURE__ */ t(q, { open: L, onOpenChange: g, children: /* @__PURE__ */ r(K, { showCloseButton: !1, className: "ttw:gap-0", children: [
143
- /* @__PURE__ */ r(It, { className: "ttw:pt-6 ttw:pl-6 ttw:pb-7 ttw:flex-row ttw:gap-3 ttw:border-b ttw:border-border", children: [
144
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:w-[85%]", children: [
145
- /* @__PURE__ */ t(Lt, { asChild: l, className: "ttw:text-2xl", children: l ? /* @__PURE__ */ t(c, { className: "ttw:w-40" }) : T(o) }),
146
- /* @__PURE__ */ t($t, { asChild: l, children: l ? /* @__PURE__ */ t(c, { className: "ttw:w-60" }) : a._("{customerType} · Added {createdAt}", {
147
- createdAt: a.date(o?.created_at, j.dateFormat),
150
+ }) }) }) }) }) : /* @__PURE__ */ i(_, { children: [
151
+ /* @__PURE__ */ t(X, { open: L, onOpenChange: g, children: /* @__PURE__ */ i(Y, { showCloseButton: !1, className: "ttw:gap-0", children: [
152
+ /* @__PURE__ */ i($t, { className: "ttw:pt-6 ttw:pl-6 ttw:pb-7 ttw:flex-row ttw:gap-3 ttw:border-b ttw:border-border", children: [
153
+ /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:w-[85%]", children: [
154
+ /* @__PURE__ */ t(Et, { asChild: l, className: "ttw:text-2xl", children: l ? /* @__PURE__ */ t(c, { className: "ttw:w-40" }) : T(n) }),
155
+ /* @__PURE__ */ t(Rt, { asChild: l, children: l ? /* @__PURE__ */ t(c, { className: "ttw:w-60" }) : a._("{customerType} · Added {createdAt}", {
156
+ createdAt: a.date(n?.created_at, k.dateFormat),
148
157
  customerType: e ? "Vendor" : "Customer"
149
158
  }) })
150
159
  ] }),
151
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:gap-2", children: [
152
- Q && F && /* @__PURE__ */ r(Pt, { children: [
153
- /* @__PURE__ */ t(Ut, { asChild: !0, children: /* @__PURE__ */ t(_, { type: "button", variant: "outline", className: "ttw:p-2 ttw:size-9 ttw:border-none ttw:bg-muted", children: /* @__PURE__ */ t(Rt, {}) }) }),
154
- /* @__PURE__ */ t(Et, { align: "end", children: /* @__PURE__ */ r(Ot, { onClick: () => b(!0), variant: "destructive", children: [
155
- /* @__PURE__ */ t(Vt, {}),
160
+ /* @__PURE__ */ i("div", { className: "ttw:flex ttw:gap-2", children: [
161
+ Z && W && /* @__PURE__ */ i(Mt, { children: [
162
+ /* @__PURE__ */ t(Ot, { asChild: !0, children: /* @__PURE__ */ t(v, { type: "button", variant: "outline", className: "ttw:p-2 ttw:size-9 ttw:border-none ttw:bg-muted", children: /* @__PURE__ */ t(Ft, {}) }) }),
163
+ /* @__PURE__ */ t(Pt, { align: "end", children: /* @__PURE__ */ i(Vt, { onClick: () => b(!0), variant: "destructive", children: [
164
+ /* @__PURE__ */ t(Wt, {}),
156
165
  a._("Delete {customerType}", {
157
166
  customerType: u
158
167
  })
159
168
  ] }) })
160
169
  ] }),
161
- /* @__PURE__ */ t(kt, { className: "ttw:size-9 ttw:bg-muted ttw:p-2 ttw:flex ttw:items-center ttw:justify-center ttw:rounded-md ttw:cursor-pointer", children: /* @__PURE__ */ t(Ft, { className: "ttw:size-4" }) })
170
+ /* @__PURE__ */ t(Ut, { className: "ttw:size-9 ttw:bg-muted ttw:p-2 ttw:flex ttw:items-center ttw:justify-center ttw:rounded-md ttw:cursor-pointer", children: /* @__PURE__ */ t(zt, { className: "ttw:size-4" }) })
162
171
  ] })
163
172
  ] }),
164
- l ? /* @__PURE__ */ t("div", { className: "ttw:flex ttw:w-full ttw:h-full ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(Bt, {}) }) : /* @__PURE__ */ r("main", { className: "ttw:p-6 ttw:overflow-auto ttw:flex ttw:flex-col ttw:gap-4", children: [
165
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:pb-3", children: [
166
- /* @__PURE__ */ r("div", { className: "ttw:p-5 ttw:flex ttw:flex-col ttw:gap-4 ttw:bg-muted ttw:rounded-xl", children: [
167
- /* @__PURE__ */ t(i, { variant: "body2", color: "muted", children: a._("Amount due") }),
168
- yt ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(i, { variant: "h1", className: "ttw:font-semibold", children: w(z, "USD") }),
169
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:gap-8", children: [
170
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
171
- /* @__PURE__ */ t(i, { variant: "caption", color: "muted", children: a._("Billed") }),
172
- gt ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(i, { variant: "body1", className: "ttw:font-semibold", children: w(G, "USD") })
173
+ l ? /* @__PURE__ */ t("div", { className: "ttw:flex ttw:w-full ttw:h-full ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(kt, {}) }) : /* @__PURE__ */ i("main", { className: "ttw:p-6 ttw:overflow-auto ttw:flex ttw:flex-col ttw:gap-4", children: [
174
+ /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:pb-3", children: [
175
+ /* @__PURE__ */ i("div", { className: "ttw:p-5 ttw:flex ttw:flex-col ttw:gap-4 ttw:bg-muted ttw:rounded-xl", children: [
176
+ /* @__PURE__ */ t(r, { variant: "body2", color: "muted", children: a._("Amount due") }),
177
+ bt ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(r, { variant: "h1", className: "ttw:font-semibold", children: h(G, "USD") }),
178
+ /* @__PURE__ */ i("div", { className: "ttw:flex ttw:gap-8", children: [
179
+ /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
180
+ /* @__PURE__ */ t(r, { variant: "caption", color: "muted", children: a._("Billed") }),
181
+ Nt ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(r, { variant: "body1", className: "ttw:font-semibold", children: h(H, "USD") })
173
182
  ] }),
174
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
175
- /* @__PURE__ */ t(i, { variant: "caption", color: "muted", children: e ? a._("Paid") : a._("Received") }),
176
- bt ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(i, { variant: "body1", className: "ttw:text-green-600 ttw:font-semibold", children: w(vt, "USD") })
183
+ /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
184
+ /* @__PURE__ */ t(r, { variant: "caption", color: "muted", children: e ? a._("Paid") : a._("Received") }),
185
+ xt ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(r, { variant: "body1", className: "ttw:text-green-600 ttw:font-semibold", children: h(gt, "USD") })
177
186
  ] }),
178
- e && /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
179
- /* @__PURE__ */ t(i, { variant: "caption", color: "muted", children: a._("Rejected") }),
180
- xt ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(i, { variant: "body1", className: "ttw:font-semibold", children: w(Nt, "USD") })
187
+ e && /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
188
+ /* @__PURE__ */ t(r, { variant: "caption", color: "muted", children: a._("Rejected") }),
189
+ St ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(r, { variant: "body1", className: "ttw:font-semibold", children: h(Ct, "USD") })
181
190
  ] })
182
191
  ] })
183
192
  ] }),
184
- /* @__PURE__ */ t(_, { className: "ttw:px-6 ttw:py-2 ttw:w-60", disabled: e ? !tt : !et, onClick: () => e ? $?.(n) : k?.(n), children: e ? a._("Send a payment") : a._("Issue an invoice") })
193
+ /* @__PURE__ */ t(v, { className: "ttw:px-6 ttw:py-2 ttw:w-60", disabled: e ? !et : !at, onClick: () => e ? $?.(o) : E?.(o), children: e ? a._("Send a payment") : a._("Issue an invoice") })
185
194
  ] }),
186
- y && y.length > 0 && /* @__PURE__ */ r("div", { className: "ttw:border-t ttw:border-border ttw:flex ttw:flex-col", children: [
187
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7", children: [
188
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: [
189
- /* @__PURE__ */ t(i, { variant: "body1", className: "ttw:font-medium", children: a._("Recent {document}", {
195
+ y && y.length > 0 && /* @__PURE__ */ i("div", { className: "ttw:border-t ttw:border-border ttw:flex ttw:flex-col", children: [
196
+ /* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7", children: [
197
+ /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: [
198
+ /* @__PURE__ */ t(r, { variant: "body1", className: "ttw:font-medium", children: a._("Recent {document}", {
190
199
  document: e ? "bills" : "invoices"
191
200
  }) }),
192
- /* @__PURE__ */ t(i, { variant: "body2", color: "muted", children: e ? a._("Sorted by issue date") : a._("Latest activity") })
201
+ /* @__PURE__ */ t(r, { variant: "body2", color: "muted", children: e ? a._("Sorted by issue date") : a._("Latest activity") })
193
202
  ] }),
194
- at && /* @__PURE__ */ t(_, { variant: "ghost", className: "ttw:text-primary ttw:hover:text-primary", onClick: () => B?.(n), children: a._("View all") })
203
+ (it || rt) && /* @__PURE__ */ t(v, { variant: "ghost", className: "ttw:text-primary ttw:hover:text-primary", onClick: () => e ? R?.(o) : U?.(o), children: a._("View all") })
195
204
  ] }),
196
- /* @__PURE__ */ t("div", { className: "ttw:border ttw:border-border ttw:rounded-lg ttw:p-4 ttw:flex ttw:flex-col ttw:gap-3", children: y.map((d, Tt) => {
197
- const H = e ? se(d?.status, d?.due_date) : void 0;
198
- return /* @__PURE__ */ r(qt, { children: [
199
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-start ttw:justify-between", children: [
200
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: [
201
- /* @__PURE__ */ t(i, { variant: "h5", className: "ttw:font-medium", children: w(d.total_amount ?? 0, d.currency ?? "USD") }),
202
- /* @__PURE__ */ t(i, { variant: "body2", color: H ? "destructive" : "muted", children: a.date("issued_at" in d ? d.issued_at : d.created_at, j.dateFormat) })
205
+ /* @__PURE__ */ t("div", { className: "ttw:border ttw:border-border ttw:rounded-lg ttw:p-4 ttw:flex ttw:flex-col ttw:gap-3", children: y.map((s, It) => {
206
+ const q = e ? me(s?.status, s?.due_date) : void 0;
207
+ return /* @__PURE__ */ i(Yt, { children: [
208
+ /* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-start ttw:justify-between", children: [
209
+ /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: [
210
+ /* @__PURE__ */ t(r, { variant: "h5", className: "ttw:font-medium", children: h(s.total_amount ?? 0, s.currency ?? "USD") }),
211
+ /* @__PURE__ */ t(r, { variant: "body2", color: q ? "destructive" : "muted", children: a.date("issued_at" in s ? s.issued_at : s.created_at, k.dateFormat) })
203
212
  ] }),
204
- e ? /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
205
- H && /* @__PURE__ */ t(Y, { status: d.status, dueDate: "due_date" in d ? d.due_date : void 0, showOverdueBadge: !0 }),
206
- /* @__PURE__ */ t(Y, { status: d.status, dueDate: "due_date" in d ? d.due_date : void 0 })
207
- ] }) : /* @__PURE__ */ t(oe, { status: d.status })
213
+ e ? /* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
214
+ q && /* @__PURE__ */ t(K, { status: s.status, dueDate: "due_date" in s ? s.due_date : void 0, showOverdueBadge: !0 }),
215
+ /* @__PURE__ */ t(K, { status: s.status, dueDate: "due_date" in s ? s.due_date : void 0 })
216
+ ] }) : /* @__PURE__ */ t(de, { status: s.status })
208
217
  ] }),
209
- Tt < y.length - 1 && /* @__PURE__ */ t(Xt, {})
210
- ] }, d.id);
218
+ It < y.length - 1 && /* @__PURE__ */ t(Kt, {})
219
+ ] }, s.id);
211
220
  }) })
212
221
  ] }),
213
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
214
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border", children: [
215
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: [
216
- /* @__PURE__ */ t(i, { variant: "body1", className: "ttw:font-medium", children: a._("{customerType} details", {
222
+ /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
223
+ /* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border", children: [
224
+ /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: [
225
+ /* @__PURE__ */ t(r, { variant: "body1", className: "ttw:font-medium", children: a._("{customerType} details", {
217
226
  customerType: e ? "Vendor" : "Customer"
218
227
  }) }),
219
- /* @__PURE__ */ t(i, { variant: "body2", color: "muted", children: e ? a._("Who are you paying?") : a._("Who are you billing?") })
228
+ /* @__PURE__ */ t(r, { variant: "body2", color: "muted", children: e ? a._("Who are you paying?") : a._("Who are you billing?") })
220
229
  ] }),
221
- !U && x && /* @__PURE__ */ t(_, { type: "button", variant: "ghost", className: "ttw:text-primary ttw:hover:text-primary", onClick: () => N(!0), children: a._("Edit") })
230
+ !M && x && /* @__PURE__ */ t(v, { type: "button", variant: "ghost", className: "ttw:text-primary ttw:hover:text-primary", onClick: () => N(!0), children: a._("Edit") })
222
231
  ] }),
223
- U && o ? /* @__PURE__ */ t(Zt, { customerType: u, counterpart: o, counterpartAddress: s, handleClose: () => N(!1), onUpdate: () => N(!1) }) : /* @__PURE__ */ r("ul", { className: "ttw:list-none", children: [
224
- /* @__PURE__ */ t(m, { label: a._("Type"), value: o?.type === "individual" ? "Person" : "Business" }),
225
- /* @__PURE__ */ t(m, { label: a._("Name"), value: T(o) }),
226
- /* @__PURE__ */ t(m, { label: a._("Email"), value: St }),
227
- !e && /* @__PURE__ */ t(m, { label: a._("Payment reminders"), value: o?.reminders_enabled ? "Enabled" : "Disabled" }),
228
- /* @__PURE__ */ t(m, { label: a._("Phone"), value: Dt }),
232
+ M && n ? /* @__PURE__ */ t(ee, { customerType: u, counterpart: n, counterpartAddress: d, handleClose: () => N(!1), onUpdate: () => N(!1) }) : /* @__PURE__ */ i("ul", { className: "ttw:list-none", children: [
233
+ /* @__PURE__ */ t(m, { label: a._("Type"), value: n?.type === "individual" ? "Person" : "Business" }),
234
+ /* @__PURE__ */ t(m, { label: a._("Name"), value: T(n) }),
235
+ /* @__PURE__ */ t(m, { label: a._("Email"), value: Tt }),
236
+ !e && /* @__PURE__ */ t(m, { label: a._("Payment reminders"), value: n?.reminders_enabled ? "Enabled" : "Disabled" }),
237
+ /* @__PURE__ */ t(m, { label: a._("Phone"), value: At }),
229
238
  /* @__PURE__ */ t(m, { label: a._("Tax ID / {documentType}", {
230
- documentType: o?.type === "individual" ? "SSN" : "EIN"
231
- }), value: /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
232
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
233
- /* @__PURE__ */ t(i, { variant: "body2", className: "ttw:font-medium", children: Ct }),
234
- h && /* @__PURE__ */ t(_, { onClick: () => Z((d) => !d), type: "button", size: "sm", variant: "outline", className: "ttw:border-border ttw:h-5 ttw:p-2", children: P ? /* @__PURE__ */ r(f, { children: [
235
- /* @__PURE__ */ t(Wt, {}),
239
+ documentType: n?.type === "individual" ? "SSN" : "EIN"
240
+ }), value: /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
241
+ /* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
242
+ /* @__PURE__ */ t(r, { variant: "body2", className: "ttw:font-medium", children: Dt }),
243
+ f && /* @__PURE__ */ t(v, { onClick: () => tt((s) => !s), type: "button", size: "sm", variant: "outline", className: "ttw:border-border ttw:h-5 ttw:p-2", children: j ? /* @__PURE__ */ i(_, { children: [
244
+ /* @__PURE__ */ t(Gt, {}),
236
245
  a._("Hide")
237
- ] }) : /* @__PURE__ */ r(f, { children: [
238
- /* @__PURE__ */ t(zt, {}),
246
+ ] }) : /* @__PURE__ */ i(_, { children: [
247
+ /* @__PURE__ */ t(Ht, {}),
239
248
  a._("Show")
240
249
  ] }) })
241
250
  ] }),
242
- /* @__PURE__ */ t(i, { variant: "body2", color: "muted", children: e ? a._("Required only if you'll file a 1099 IRS form for this vendor at year-end.") : a._("Required only if you'll issue a 1099 IRS form at year-end.") })
251
+ /* @__PURE__ */ t(r, { variant: "body2", color: "muted", children: e ? a._("Required only if you'll file a 1099 IRS form for this vendor at year-end.") : a._("Required only if you'll issue a 1099 IRS form at year-end.") })
243
252
  ] }) }),
244
- e && /* @__PURE__ */ t(m, { label: a._("Address"), isLast: !0, value: /* @__PURE__ */ t("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: ot ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(f, { children: s ? /* @__PURE__ */ r(f, { children: [
245
- /* @__PURE__ */ t(i, { variant: "body2", className: "ttw:font-medium", children: s?.line1 }),
246
- s?.line2 && /* @__PURE__ */ t(i, { variant: "body2", className: "ttw:font-medium", children: s.line2 }),
247
- /* @__PURE__ */ t(i, { variant: "body2", className: "ttw:font-medium", children: `${C && C}${C && (S || D) && ","} ${S && S} ${D && D}` }),
248
- /* @__PURE__ */ t(i, { variant: "body2", className: "ttw:font-medium", children: s?.country })
249
- ] }) : /* @__PURE__ */ t(i, { variant: "body2", className: "ttw:font-medium", children: "-" }) }) }) })
253
+ e && /* @__PURE__ */ t(m, { label: a._("Address"), isLast: !0, value: /* @__PURE__ */ t("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: st ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(_, { children: d ? /* @__PURE__ */ i(_, { children: [
254
+ /* @__PURE__ */ t(r, { variant: "body2", className: "ttw:font-medium", children: d?.line1 }),
255
+ d?.line2 && /* @__PURE__ */ t(r, { variant: "body2", className: "ttw:font-medium", children: d.line2 }),
256
+ /* @__PURE__ */ t(r, { variant: "body2", className: "ttw:font-medium", children: `${C && C}${C && (S || D) && ","} ${S && S} ${D && D}` }),
257
+ /* @__PURE__ */ t(r, { variant: "body2", className: "ttw:font-medium", children: d?.country })
258
+ ] }) : /* @__PURE__ */ t(r, { variant: "body2", className: "ttw:font-medium", children: "-" }) }) }) })
250
259
  ] })
251
260
  ] }),
252
- !e && /* @__PURE__ */ t(ne, { isStandalone: !0, isLoading: l, counterpartAddress: s, customerType: u, counterpartId: o?.id, isUpdateAllowed: x }),
253
- e && /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:border-t ttw:border-border", children: [
254
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-6 ttw:pb-7", children: [
255
- /* @__PURE__ */ t(i, { variant: "body1", className: "ttw:font-medium", children: a._("Accepted payment methods") }),
256
- /* @__PURE__ */ t(i, { variant: "body2", color: "muted", children: a._("How and where will the money be sent. Don't have these yet? No problem. You can save this vendor and add their payment details later - you just won't be able to send payments until you do.") })
261
+ !e && /* @__PURE__ */ t(le, { isStandalone: !0, isLoading: l, counterpartAddress: d, customerType: u, counterpartId: n?.id, isUpdateAllowed: x }),
262
+ e && /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:border-t ttw:border-border", children: [
263
+ /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-6 ttw:pb-7", children: [
264
+ /* @__PURE__ */ t(r, { variant: "body1", className: "ttw:font-medium", children: a._("Accepted payment methods") }),
265
+ /* @__PURE__ */ t(r, { variant: "body2", color: "muted", children: a._("How and where will the money be sent. Don't have these yet? No problem. You can save this vendor and add their payment details later - you just won't be able to send payments until you do.") })
257
266
  ] }),
258
- /* @__PURE__ */ t(ae, { counterpartId: o?.id, bankAccount: W, isUpdateAllowed: x, isDeleteAllowed: F, isStandalone: !0, isLoading: dt, onRemoveClick: () => st({
267
+ /* @__PURE__ */ t(oe, { counterpartId: n?.id, bankAccount: z, isUpdateAllowed: x, isDeleteAllowed: W, isStandalone: !0, isLoading: lt, onRemoveClick: () => ct({
259
268
  path: {
260
- bank_account_id: W?.id || "",
261
- counterpart_id: n
269
+ bank_account_id: z?.id || "",
270
+ counterpart_id: o
262
271
  }
263
272
  }) })
264
273
  ] })
265
274
  ] })
266
275
  ] }) }),
267
- n && M && /* @__PURE__ */ t(Gt, { counterpartId: n, counterpartName: T(o), isOpen: M, onDelete: () => {
276
+ o && B && /* @__PURE__ */ t(qt, { counterpartId: o, counterpartName: T(n), isOpen: B, onDelete: () => {
268
277
  g?.(), b(!1);
269
278
  }, onCancel: () => b(!1) })
270
279
  ] });
271
280
  };
272
281
  export {
273
- ea as CounterpartDetails
282
+ oa as CounterpartDetails
274
283
  };
@@ -1,20 +1,25 @@
1
- import { jsxs as t, jsx as n } from "@emotion/react/jsx-runtime";
2
- import { ConfirmationModal as s } from "./index173.js";
3
- import { Typography as i } from "./index85.js";
4
- import { useLingui as l } from "@lingui/react";
5
- const d = ({
6
- open: a,
7
- onClose: e,
8
- onContinue: r
9
- }) => {
1
+ import { useMoniteContext as s } from "./index57.js";
2
+ import { useLingui as n } from "@lingui/react";
3
+ import { toast as r } from "react-hot-toast";
4
+ import { getCounterpartName as i } from "./index7.js";
5
+ const c = () => {
10
6
  const {
11
- i18n: o
12
- } = l();
13
- return /* @__PURE__ */ t(s, { open: a, title: o._("You have unsaved changes"), confirmLabel: o._("Quit without saving"), cancelLabel: o._("Cancel"), onClose: e, onConfirm: r, children: [
14
- /* @__PURE__ */ n(i, { variant: "body1", children: o._("Any unsaved changes will be lost.") }),
15
- /* @__PURE__ */ n(i, { variant: "body1", children: o._("Are you sure you want to quit without saving?") })
16
- ] });
7
+ i18n: t
8
+ } = n(), {
9
+ api: e,
10
+ queryClient: o
11
+ } = s();
12
+ return e.finops.postCounterparts.useMutation({}, {
13
+ onSuccess: async (a) => {
14
+ await e.finops.getCounterparts.invalidateQueries(o), r.success(t._("{name} has been added to the list.", {
15
+ name: i(a)
16
+ }));
17
+ },
18
+ onError: () => {
19
+ r.error(t._("Failed to create Counterpart."));
20
+ }
21
+ });
17
22
  };
18
23
  export {
19
- d as DiscardChangesModal
24
+ c as useCreateCounterpart
20
25
  };
@@ -1,16 +1,29 @@
1
- import { useMoniteContext as i } from "./index57.js";
2
- const o = (t, e = !0) => {
1
+ import { toast as a } from "react-hot-toast";
2
+ import { useMoniteContext as o } from "./index57.js";
3
+ import { useLingui as n } from "@lingui/react";
4
+ const p = () => {
3
5
  const {
4
- api: n
5
- } = i();
6
- return n.finops.getEntitiesIdSettings.useQuery({
7
- path: {
8
- entity_id: t
6
+ i18n: t
7
+ } = n(), {
8
+ api: e,
9
+ queryClient: s
10
+ } = o();
11
+ return e.finops.postReceivablesIdIssue.useMutation(void 0, {
12
+ onSuccess: async (i) => {
13
+ e.finops.getReceivablesId.setQueryData({
14
+ path: {
15
+ receivable_id: i.id
16
+ }
17
+ }, i, s), await Promise.all([e.finops.getReceivables.invalidateQueries(s), e.finops.getReceivablesIdPdfLink.resetQueries({
18
+ parameters: {
19
+ path: {
20
+ receivable_id: i.id
21
+ }
22
+ }
23
+ }, s)]), a.success(t._("Invoice has been issued"));
9
24
  }
10
- }, {
11
- enabled: e && !!t
12
25
  });
13
26
  };
14
27
  export {
15
- o as useGetEntitySettings
28
+ p as useIssueReceivableById
16
29
  };