@tesouro/embedded-components-react 0.2.112 → 0.2.114

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