@tesouro/embedded-components-react 0.2.116 → 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 (419) 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 -24
  16. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +6 -7
  17. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +24 -9
  18. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +9 -9
  19. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +2 -35
  20. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -4
  21. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +23 -2
  22. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +13 -25
  23. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +33 -2
  24. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +34 -1270
  25. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -23
  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 -13
  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 +12 -12
  30. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +98 -7
  31. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +8 -26
  32. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +56 -75
  33. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +26 -6
  34. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +27 -9
  35. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +13 -33
  36. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +17 -29
  37. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +80 -10
  38. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +39 -12
  39. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +18 -23
  40. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +11 -11
  41. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +5 -14
  42. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +2 -12
  43. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +10 -119
  44. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +20 -10
  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 -49
  47. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +20 -47
  48. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +27 -14
  49. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +111 -40
  50. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +70 -15
  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 +32 -10
  53. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +9 -152
  54. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +15 -57
  55. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +13 -70
  56. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +12 -29
  57. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +32 -3
  58. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +12 -64
  59. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +12 -39
  60. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +23 -79
  61. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +14 -5
  62. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +10 -97
  63. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +121 -57
  64. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +216 -25
  65. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +10 -11
  66. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +10 -18
  67. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +47 -19
  68. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +49 -2
  69. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +10 -8
  70. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +42 -18
  71. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +11 -22
  72. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +152 -27
  73. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +54 -114
  74. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +71 -70
  75. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +27 -12
  76. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +3 -12
  77. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +62 -24
  78. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +25 -95
  79. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +93 -98
  80. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +98 -15
  81. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +16 -12
  82. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +5 -5
  83. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +14 -9
  84. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +9 -46
  85. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +45 -75
  86. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +75 -57
  87. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +57 -196
  88. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1 -1
  89. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +3 -3
  90. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
  91. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +2 -2
  92. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +9 -9
  93. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +3 -3
  94. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +2 -2
  95. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +8 -8
  96. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +16 -16
  97. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +1 -1
  98. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +1 -1
  99. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +172 -163
  100. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +5 -5
  101. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +1 -1
  102. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +2 -2
  103. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +1 -1
  104. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +5 -5
  105. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +2 -2
  106. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +8 -8
  107. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +37 -37
  108. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +2 -2
  109. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +56 -97
  110. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +397 -25
  111. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +69 -6
  112. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +2 -12
  113. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +407 -7
  114. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +7 -10
  115. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +34 -213
  116. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +100 -9
  117. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +25 -11
  118. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +5 -11
  119. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +12 -60
  120. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +7 -398
  121. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +9 -68
  122. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +214 -2
  123. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +10 -407
  124. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +12 -2
  125. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +12 -7
  126. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +2 -35
  127. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +7 -7
  128. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +2 -2
  129. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +1 -1
  130. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
  131. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +3 -3
  132. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +2 -36
  133. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +96 -51
  134. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +95 -32
  135. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +213 -66
  136. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +149 -346
  137. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +10 -2
  138. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +19 -20
  139. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
  140. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +38 -11
  141. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +344 -11
  142. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +299 -10
  143. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +98 -9
  144. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +159 -18
  145. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +264 -34
  146. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +22 -34
  147. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +20 -15
  148. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +24 -17
  149. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +30 -244
  150. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
  151. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +42 -12
  152. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +62 -19
  153. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +29 -24
  154. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +113 -39
  155. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +21 -57
  156. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +40 -48
  157. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +56 -29
  158. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +483 -90
  159. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +164 -43
  160. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +72 -146
  161. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
  162. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +44 -109
  163. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +17 -39
  164. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +27 -59
  165. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +40 -29
  166. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +62 -113
  167. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +95 -21
  168. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +109 -41
  169. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +84 -53
  170. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +49 -12
  171. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +62 -79
  172. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
  173. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +22 -77
  174. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +15 -41
  175. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +19 -73
  176. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +168 -17
  177. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +132 -28
  178. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +66 -42
  179. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +158 -59
  180. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +10 -94
  181. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +18 -111
  182. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +61 -86
  183. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
  184. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +60 -483
  185. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +55 -163
  186. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +8 -22
  187. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +9 -55
  188. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +60 -27
  189. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +22 -58
  190. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +60 -17
  191. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +14 -63
  192. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +22 -160
  193. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +57 -28
  194. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +23 -22
  195. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
  196. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +28 -28
  197. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +58 -76
  198. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +17 -62
  199. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +66 -42
  200. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +36 -25
  201. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +34 -141
  202. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +341 -107
  203. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +2 -82
  204. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +17 -282
  205. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +11 -46
  206. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
  207. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +14 -15
  208. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +11 -83
  209. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +11 -222
  210. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +19 -37
  211. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +37 -11
  212. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +31 -5
  213. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +15 -11
  214. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +17 -12
  215. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +247 -6
  216. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +12 -2
  217. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
  218. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +19 -22
  219. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +24 -16
  220. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +38 -17
  221. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +53 -166
  222. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +47 -129
  223. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +29 -161
  224. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +97 -11
  225. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +46 -18
  226. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +142 -58
  227. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +102 -61
  228. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
  229. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +16 -55
  230. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +41 -6
  231. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +14 -11
  232. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +73 -55
  233. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +76 -23
  234. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +41 -60
  235. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +160 -14
  236. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +28 -21
  237. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +26 -40
  238. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +78 -149
  239. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
  240. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +24 -92
  241. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +126 -16
  242. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +60 -80
  243. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +43 -17
  244. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +23 -48
  245. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +138 -9
  246. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +108 -46
  247. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +79 -21
  248. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +282 -31
  249. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +45 -63
  250. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +15 -2
  251. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +83 -93
  252. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +223 -95
  253. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +39 -213
  254. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +11 -41
  255. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +8 -344
  256. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +8 -300
  257. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +10 -101
  258. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +6 -161
  259. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +2 -267
  260. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +66 -63
  261. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +255 -25
  262. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +94 -18
  263. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +17 -44
  264. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +85 -10
  265. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +12 -14
  266. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +48 -26
  267. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +12 -127
  268. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +50 -255
  269. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +30 -44
  270. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +4 -39
  271. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
  272. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +125 -32
  273. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +94 -6
  274. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +30 -27
  275. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +26 -19
  276. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +120 -40
  277. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +18 -25
  278. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +16 -74
  279. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +16 -97
  280. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +16 -37
  281. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +16 -10
  282. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +10 -10
  283. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +53 -10
  284. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +36 -32
  285. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +26 -11
  286. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +71 -14
  287. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +16 -24
  288. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +16 -50
  289. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +16 -123
  290. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +11 -18
  291. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +34 -16
  292. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -16
  293. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +2 -2
  294. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +24 -16
  295. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +50 -16
  296. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +11 -73
  297. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +22 -16
  298. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +28 -16
  299. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +38 -16
  300. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +32 -11
  301. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +66 -31
  302. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +47 -7
  303. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +24 -50
  304. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
  305. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +41 -32
  306. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +7 -18
  307. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +53 -53
  308. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +15 -33
  309. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +5 -26
  310. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +22 -5
  311. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +64 -19
  312. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +16 -64
  313. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +17 -15
  314. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +13 -18
  315. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +18 -13
  316. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +40 -39
  317. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +23 -16
  318. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +18 -7
  319. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +33 -66
  320. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +40 -21
  321. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +46 -2
  322. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +36 -9
  323. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +8 -33
  324. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +14 -85
  325. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +67 -24
  326. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +20 -104
  327. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
  328. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +2 -112
  329. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +35 -12
  330. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +42 -28
  331. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +70 -20
  332. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +94 -36
  333. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +9 -74
  334. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +10 -68
  335. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +10 -38
  336. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +33 -8
  337. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +85 -32
  338. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
  339. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +24 -5
  340. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +105 -127
  341. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +106 -90
  342. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +12 -38
  343. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +8 -35
  344. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +28 -68
  345. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +20 -43
  346. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +38 -27
  347. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +72 -19
  348. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +67 -27
  349. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
  350. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +36 -35
  351. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +19 -29
  352. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +49 -67
  353. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +56 -54
  354. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +29 -41
  355. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +31 -18
  356. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +53 -29
  357. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +94 -81
  358. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +15 -52
  359. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +75 -40
  360. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
  361. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +21 -46
  362. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +9 -40
  363. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +52 -69
  364. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +69 -83
  365. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +21 -55
  366. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +30 -50
  367. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +12 -51
  368. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +18 -55
  369. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +49 -68
  370. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +40 -21
  371. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
  372. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +44 -93
  373. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +42 -15
  374. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +37 -75
  375. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +13 -19
  376. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +74 -9
  377. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +83 -31
  378. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +53 -41
  379. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +52 -35
  380. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +52 -13
  381. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +30 -19
  382. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
  383. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +55 -49
  384. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +81 -57
  385. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +39 -32
  386. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +67 -52
  387. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +39 -14
  388. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +64 -9
  389. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +9 -64
  390. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +48 -20
  391. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +36 -48
  392. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +49 -53
  393. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
  394. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +48 -35
  395. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +40 -37
  396. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +20 -48
  397. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
  398. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
  399. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
  400. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
  401. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
  402. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
  403. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
  404. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
  405. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
  406. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
  407. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +2 -2
  408. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
  409. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
  410. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
  411. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
  412. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
  413. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
  414. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +25 -25
  415. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
  416. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/expectedApiNotFound.js +9 -0
  417. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/interceptor.js +38 -33
  418. package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +26 -26
  419. 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 "./index132.js";
4
- import { LoadingSpinner as Bt } from "./index133.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 "./index134.js";
8
- import { useMoniteContext as Mt } from "./index57.js";
9
- import { DropdownMenu as Pt, DropdownMenuTrigger as Ut, DropdownMenuContent as Et, DropdownMenuItem as Ot } from "./index135.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 "./index136.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 "./index137.js";
17
- import { CounterpartContactDetailLine as m } from "./index138.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 "./index139.js";
21
- import { useCounterpartAddressesById as Jt } from "./index140.js";
22
- import { useGetCounterpartPayables as Qt } from "./index141.js";
23
- import { EditCounterpart as Zt } from "./index142.js";
24
- import { useUserPermissions as te } from "./index130.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 "./index143.js";
33
- import { useGetReceivablesAnalytics as X } from "./index144.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 "./index145.js";
39
- import { CounterpartBankSection as ae } from "./index146.js";
40
- import { useCounterpartsBankAccountsList as re } from "./index147.js";
41
- import { MoniteScopedProviders as ie } from "./index83.js";
42
- import { InvoiceStatusChip as oe } from "./index55.js";
43
- import { CounterpartAddressSection as ne } from "./index148.js";
44
- import { NotFound as de } from "./index149.js";
45
- import { isBillOverdue as se } from "./index150.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,16 +1,16 @@
1
1
  import { useMemo as A } from "react";
2
2
  import { useLingui as E } from "@lingui/react";
3
- import { useUserPermissions as k } from "./index130.js";
3
+ import { useUserPermissions as k } from "./index131.js";
4
4
  import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
5
5
  import "../../shared/data-access/dist/lib/EmbedApiContext.js";
6
6
  import "../../shared/data-access/dist/lib/rest/client.gen.js";
7
7
  import "@tanstack/react-query";
8
8
  import "../../shared/data-access/dist/lib/rest/zod.gen.js";
9
9
  import { Scope as i } from "../../shared/data-access/dist/lib/scopes.js";
10
- import { getLineLabel as u } from "./index341.js";
11
- import { useGetEmbeddedBankAccounts as f } from "./index344.js";
12
- import { useGetEntityBankAccounts as L } from "./index345.js";
13
- import { useGetExternalBankAccounts as g } from "./index346.js";
10
+ import { getLineLabel as u } from "./index362.js";
11
+ import { useGetEmbeddedBankAccounts as f } from "./index365.js";
12
+ import { useGetEntityBankAccounts as L } from "./index366.js";
13
+ import { useGetExternalBankAccounts as g } from "./index367.js";
14
14
  const V = (t = !0) => {
15
15
  const {
16
16
  i18n: o
@@ -1,4 +1,4 @@
1
- import { toMinorUnits as r, fromMinorUnits as a } from "./index126.js";
1
+ import { toMinorUnits as r, fromMinorUnits as a } from "./index122.js";
2
2
  const s = (o) => a(o), t = (o) => r(o);
3
3
  export {
4
4
  t as rateMajorToMinor,
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "@emotion/react/jsx-runtime";
2
- import { CenteredContentBox as r } from "./index232.js";
3
- import { LoadingSpinner as n } from "./index133.js";
2
+ import { CenteredContentBox as r } from "./index221.js";
3
+ import { LoadingSpinner as n } from "./index145.js";
4
4
  const m = () => /* @__PURE__ */ o(r, { children: /* @__PURE__ */ o(n, {}) });
5
5
  export {
6
6
  m as LoadingPage
@@ -1,5 +1,5 @@
1
1
  import { jsx as o, jsxs as n } from "@emotion/react/jsx-runtime";
2
- import { LoadingSpinner as f } from "./index133.js";
2
+ import { LoadingSpinner as f } from "./index145.js";
3
3
  import { Button as t } from "./index84.js";
4
4
  import { Dialog as C, DialogContent as u, DialogHeader as D, DialogTitle as b, DialogDescription as w, DialogFooter as L } from "./index208.js";
5
5
  import { useLingui as x } from "@lingui/react";
@@ -1,12 +1,12 @@
1
1
  import { jsxs as e, jsx as t } from "@emotion/react/jsx-runtime";
2
2
  import { Typography as l } from "./index85.js";
3
3
  import { useLingui as m } from "@lingui/react";
4
- import { PaymentSection as c } from "./index311.js";
4
+ import { PaymentSection as c } from "./index351.js";
5
5
  import { useFormContext as p, Controller as w } from "react-hook-form";
6
- import { Field as f, FieldContent as h, FieldLabel as u, FieldError as b } from "./index153.js";
7
- import { Input as g } from "./index118.js";
8
- import { RecurrenceSection as x } from "./index312.js";
9
- import { RemindersSection as y } from "./index313.js";
6
+ import { Field as f, FieldContent as h, FieldLabel as u, FieldError as b } from "./index172.js";
7
+ import { Input as g } from "./index117.js";
8
+ import { RecurrenceSection as x } from "./index352.js";
9
+ import { RemindersSection as y } from "./index353.js";
10
10
  const j = ({
11
11
  paymentTerms: n,
12
12
  disabled: i,
@@ -2,8 +2,8 @@ import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
2
2
  import { Typography as i } from "./index85.js";
3
3
  import { useLingui as w } from "@lingui/react";
4
4
  import { useFormContext as f, Controller as s } from "react-hook-form";
5
- import { Field as d, FieldContent as c, FieldLabel as m, FieldDescription as h, FieldError as p } from "./index153.js";
6
- import { Textarea as u } from "./index119.js";
5
+ import { Field as d, FieldContent as c, FieldLabel as m, FieldDescription as h, FieldError as p } from "./index172.js";
6
+ import { Textarea as u } from "./index118.js";
7
7
  const _ = ({
8
8
  disabled: n
9
9
  }) => {
@@ -5,8 +5,8 @@ import { useLingui as tt } from "@lingui/react";
5
5
  import { Trash2 as et, Loader2 as at, FileText as rt, X as it, ImageIcon as lt } from "lucide-react";
6
6
  import { Typography as n } from "./index85.js";
7
7
  import { Button as S } from "./index84.js";
8
- import { Checkbox as nt } from "./index314.js";
9
- import { Separator as st } from "./index137.js";
8
+ import { Checkbox as nt } from "./index354.js";
9
+ import { Separator as st } from "./index156.js";
10
10
  import { cn as ot } from "./index100.js";
11
11
  import "./index57.js";
12
12
  import "react-hot-toast";
@@ -14,12 +14,12 @@ import "./index92.js";
14
14
  import { useFileInput as ct } from "./index61.js";
15
15
  import "react-dom";
16
16
  import "@mui/x-data-grid";
17
- import { ATTACHMENT_ACCEPTED_FORMATS as k, ATTACHMENT_MAX_FILE_SIZE_MB as P, ATTACHMENT_MAX_FILE_COUNT as dt, ATTACHMENT_ACCEPTED_EXTENSIONS as mt } from "./index246.js";
18
- import { useDeleteFile as ut } from "./index315.js";
19
- import { useUploadReceivableAttachment as wt } from "./index316.js";
20
- import { validateAttachmentFile as pt } from "./index317.js";
21
- import { formatFileSize as ft } from "./index318.js";
22
- import { toFileArray as B } from "./index319.js";
17
+ import { ATTACHMENT_ACCEPTED_FORMATS as k, ATTACHMENT_MAX_FILE_SIZE_MB as P, ATTACHMENT_MAX_FILE_COUNT as dt, ATTACHMENT_ACCEPTED_EXTENSIONS as mt } from "./index285.js";
18
+ import { useDeleteFile as ut } from "./index355.js";
19
+ import { useUploadReceivableAttachment as wt } from "./index356.js";
20
+ import { validateAttachmentFile as pt } from "./index357.js";
21
+ import { formatFileSize as ft } from "./index358.js";
22
+ import { toFileArray as B } from "./index359.js";
23
23
  const Ot = ({
24
24
  disabled: c,
25
25
  onUploadingChange: u