@tesouro/embedded-components-react 0.2.198 → 0.2.200

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 (427) hide show
  1. package/dist/index.d.ts +3 -2
  2. package/dist/lib/InvoicingWidget.d.ts +3 -2
  3. package/dist/lib/ReceivablesWidget.js +23 -23
  4. package/dist/lib/monite-sdk.d.ts +3 -2
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +23 -23
  6. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +6 -17
  7. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
  8. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
  9. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +17 -6
  10. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +20 -20
  11. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
  12. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
  13. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
  14. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
  15. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
  16. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
  17. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
  18. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
  19. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
  20. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +24 -2
  21. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +10 -2
  22. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +9 -9
  23. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +9 -23
  24. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +32 -23
  25. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -10
  26. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -9
  27. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +22 -34
  28. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -4
  29. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -2
  30. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -25
  31. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +23 -1269
  32. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -32
  33. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +13 -13
  34. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +7 -78
  35. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +26 -6
  36. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +27 -9
  37. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +13 -33
  38. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +17 -29
  39. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +11 -11
  40. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +80 -10
  41. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +39 -12
  42. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +18 -23
  43. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +5 -14
  44. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +2 -12
  45. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +10 -119
  46. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +21 -7
  47. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +77 -216
  48. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +6 -12
  49. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +19 -9
  50. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
  51. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +27 -49
  52. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +111 -43
  53. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +68 -12
  54. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +33 -46
  55. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +9 -15
  56. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +15 -11
  57. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +12 -150
  58. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +12 -26
  59. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +30 -55
  60. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +10 -69
  61. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +12 -29
  62. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +26 -3
  63. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +12 -62
  64. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +10 -37
  65. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +118 -79
  66. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +217 -4
  67. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +10 -97
  68. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +12 -57
  69. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +46 -24
  70. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +46 -10
  71. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +12 -18
  72. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +44 -19
  73. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +11 -2
  74. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +150 -10
  75. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +55 -20
  76. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +70 -21
  77. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +29 -27
  78. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +3 -117
  79. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +58 -64
  80. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +96 -11
  81. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +57 -12
  82. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +1 -1
  83. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +3 -3
  84. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +3 -3
  85. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +1 -1
  86. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +3 -3
  87. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +2 -2
  88. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
  89. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +2 -2
  90. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +23 -23
  91. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +12 -12
  92. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +281 -273
  93. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +3 -3
  94. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +4 -4
  95. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +6 -6
  96. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +1 -1
  97. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
  98. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +7 -101
  99. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +35 -26
  100. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +2 -6
  101. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +100 -11
  102. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +25 -6
  103. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +6 -10
  104. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +12 -214
  105. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +6 -9
  106. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +10 -12
  107. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +214 -12
  108. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +10 -7
  109. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +12 -35
  110. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +12 -2
  111. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +7 -7
  112. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +2 -2
  113. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +35 -36
  114. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +50 -52
  115. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +82 -29
  116. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +33 -4
  117. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +66 -77
  118. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +361 -32
  119. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +2 -20
  120. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +117 -36
  121. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +6 -51
  122. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +20 -82
  123. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +14 -34
  124. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +14 -66
  125. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +13 -355
  126. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +14 -2
  127. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +21 -117
  128. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +22 -6
  129. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +53 -17
  130. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +23 -10
  131. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +30 -7
  132. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +31 -8
  133. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
  134. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +15 -14
  135. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +28 -19
  136. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +17 -22
  137. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +107 -24
  138. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +12 -37
  139. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +19 -37
  140. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +26 -15
  141. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +36 -26
  142. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +59 -17
  143. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +47 -103
  144. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
  145. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +27 -9
  146. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +97 -18
  147. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +43 -22
  148. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +143 -36
  149. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +101 -51
  150. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +31 -46
  151. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +51 -28
  152. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +26 -95
  153. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -47
  154. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +69 -139
  155. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
  156. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +32 -109
  157. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +20 -10
  158. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +66 -72
  159. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +149 -44
  160. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +10 -20
  161. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +19 -30
  162. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +6 -40
  163. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +22 -61
  164. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +44 -96
  165. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +72 -111
  166. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
  167. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +31 -85
  168. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +22 -14
  169. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +53 -76
  170. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +27 -75
  171. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +58 -42
  172. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +20 -22
  173. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +37 -53
  174. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +344 -26
  175. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +299 -56
  176. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +100 -17
  177. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
  178. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +162 -2
  179. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +263 -92
  180. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +22 -94
  181. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +20 -213
  182. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +5 -63
  183. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +2 -5
  184. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +93 -488
  185. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +96 -167
  186. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +212 -41
  187. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +61 -60
  188. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
  189. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +159 -30
  190. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +27 -118
  191. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +28 -22
  192. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +78 -44
  193. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +16 -53
  194. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +28 -19
  195. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +33 -34
  196. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +59 -37
  197. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +92 -343
  198. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +107 -298
  199. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
  200. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
  201. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +83 -98
  202. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +25 -162
  203. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +119 -258
  204. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +47 -23
  205. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +117 -18
  206. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +111 -25
  207. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +43 -121
  208. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +197 -41
  209. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +68 -117
  210. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +16 -106
  211. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
  212. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +38 -45
  213. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +14 -205
  214. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +76 -66
  215. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +77 -22
  216. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +41 -15
  217. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +18 -15
  218. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +16 -169
  219. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +17 -132
  220. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +163 -154
  221. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +132 -10
  222. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
  223. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +161 -18
  224. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +10 -61
  225. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +18 -67
  226. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +57 -54
  227. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +66 -6
  228. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +58 -9
  229. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +6 -60
  230. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +9 -22
  231. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +53 -54
  232. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +24 -14
  233. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
  234. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +63 -149
  235. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +14 -19
  236. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +489 -6
  237. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +165 -28
  238. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +42 -4
  239. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +59 -17
  240. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +30 -37
  241. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +118 -30
  242. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +22 -33
  243. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +41 -29
  244. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
  245. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +55 -48
  246. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +27 -12
  247. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +127 -67
  248. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +29 -22
  249. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +4 -28
  250. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +19 -126
  251. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +34 -156
  252. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +30 -27
  253. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +33 -28
  254. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +32 -78
  255. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +12 -33
  256. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +28 -7
  257. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +11 -255
  258. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +255 -46
  259. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +6 -34
  260. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +11 -28
  261. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +14 -41
  262. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +14 -15
  263. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +45 -69
  264. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +16 -96
  265. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +5 -5
  266. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +44 -31
  267. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +11 -9
  268. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +49 -10
  269. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +45 -15
  270. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +25 -14
  271. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +26 -48
  272. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +43 -11
  273. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +25 -32
  274. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +73 -6
  275. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +94 -19
  276. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +4 -4
  277. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +33 -8
  278. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +9 -49
  279. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +10 -49
  280. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +68 -16
  281. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +45 -65
  282. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +26 -17
  283. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +12 -11
  284. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +94 -14
  285. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +32 -15
  286. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +29 -8
  287. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +4 -4
  288. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +30 -65
  289. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +5 -21
  290. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +126 -117
  291. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +7 -82
  292. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +54 -2
  293. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +16 -9
  294. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +5 -11
  295. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +34 -7
  296. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +53 -53
  297. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +33 -15
  298. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +2 -2
  299. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +25 -31
  300. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +27 -4
  301. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +36 -125
  302. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +21 -53
  303. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +65 -34
  304. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +16 -23
  305. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +16 -29
  306. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +14 -121
  307. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +21 -18
  308. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +14 -16
  309. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
  310. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +24 -24
  311. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +67 -16
  312. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +21 -16
  313. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +118 -16
  314. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +81 -95
  315. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +2 -38
  316. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +7 -31
  317. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +9 -72
  318. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +10 -16
  319. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +85 -16
  320. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +17 -16
  321. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +86 -3
  322. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +269 -11
  323. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +35 -81
  324. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +65 -17
  325. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +42 -84
  326. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +21 -265
  327. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +138 -35
  328. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +91 -60
  329. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +11 -43
  330. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +2 -25
  331. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
  332. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +276 -133
  333. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +46 -93
  334. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +15 -12
  335. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +123 -2
  336. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +15 -282
  337. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +16 -49
  338. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +16 -15
  339. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +16 -5
  340. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +16 -69
  341. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +71 -44
  342. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
  343. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +16 -28
  344. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +16 -22
  345. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +16 -28
  346. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +3 -38
  347. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +11 -10
  348. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +20 -29
  349. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +29 -69
  350. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +48 -36
  351. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +46 -30
  352. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +39 -18
  353. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
  354. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +43 -8
  355. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +35 -72
  356. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +13 -83
  357. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +51 -52
  358. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +92 -50
  359. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +14 -53
  360. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +75 -30
  361. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +20 -55
  362. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +9 -40
  363. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +54 -44
  364. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
  365. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +1 -1
  366. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +15 -49
  367. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +50 -15
  368. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +56 -93
  369. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +32 -15
  370. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +32 -73
  371. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +8 -22
  372. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +33 -9
  373. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +81 -79
  374. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
  375. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +23 -42
  376. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +100 -32
  377. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +108 -12
  378. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +72 -16
  379. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +66 -49
  380. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +36 -56
  381. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +12 -33
  382. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +28 -53
  383. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +23 -33
  384. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +37 -37
  385. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
  386. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +15 -32
  387. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +74 -85
  388. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +84 -22
  389. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +51 -101
  390. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +49 -107
  391. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +49 -69
  392. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +30 -68
  393. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +35 -34
  394. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +46 -11
  395. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +52 -28
  396. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
  397. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +81 -22
  398. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +37 -37
  399. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +1 -1
  400. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +2 -2
  401. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +48 -20
  402. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +36 -48
  403. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +49 -53
  404. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +48 -35
  405. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +40 -37
  406. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +20 -48
  407. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
  408. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
  409. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +3 -3
  410. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
  411. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
  412. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
  413. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
  414. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
  415. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
  416. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
  417. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
  418. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
  419. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
  420. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
  421. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
  422. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
  423. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
  424. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +23 -23
  425. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +2 -2
  426. package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +23 -23
  427. package/package.json +1 -1
@@ -1,144 +1,152 @@
1
- import { jsx as e, jsxs as r, Fragment as $e } from "@emotion/react/jsx-runtime";
2
- import { MoniteScopedProviders as ct } from "./index83.js";
3
- import { useMoniteContext as dt } from "./index57.js";
4
- import { useCurrencies as mt } from "./index58.js";
5
- import { useMemo as Te, useState as w, useCallback as h } from "react";
1
+ import { jsx as e, jsxs as r, Fragment as Fe } from "@emotion/react/jsx-runtime";
2
+ import { MoniteScopedProviders as wt } from "./index83.js";
3
+ import { useMoniteContext as ft } from "./index57.js";
4
+ import { useCurrencies as ht } from "./index58.js";
5
+ import { useMemo as z, useState as w, useCallback as h } from "react";
6
6
  import "./index92.js";
7
- import { useLingui as ut } from "@lingui/react";
7
+ import { useLingui as vt } from "@lingui/react";
8
8
  import "react-dom";
9
9
  import "@mui/x-data-grid";
10
- import { useComponentSettings as pt } from "./index67.js";
11
- import { useGetReceivableById as wt } from "./index82.js";
12
- import { useCounterpartById as ft } from "./index70.js";
10
+ import { useComponentSettings as bt } from "./index67.js";
11
+ import { useGetReceivableById as yt } from "./index82.js";
12
+ import { useCounterpartById as gt } from "./index70.js";
13
13
  import "@tanstack/react-query";
14
- import { useCounterpartAddresses as ht } from "./index72.js";
15
- import { getCounterpartEmail as Pe } from "./index7.js";
16
- import { useMyEntity as vt } from "./index78.js";
14
+ import { useCounterpartAddresses as _t } from "./index72.js";
15
+ import { getCounterpartEmail as Oe } from "./index7.js";
16
+ import { useMyEntity as Nt } from "./index78.js";
17
17
  import { toast as u } from "react-hot-toast";
18
- import { useUserPermissions as bt } from "./index146.js";
18
+ import { useUserPermissions as It } from "./index135.js";
19
19
  import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
20
20
  import "../../shared/data-access/dist/lib/EmbedApiContext.js";
21
21
  import "../../shared/data-access/dist/lib/rest/client.gen.js";
22
22
  import "../../shared/data-access/dist/lib/rest/zod.gen.js";
23
- import { Scope as D } from "../../shared/data-access/dist/lib/scopes.js";
24
- import { AccessRestriction as yt } from "./index157.js";
25
- import { Accordion as gt, AccordionItem as B, AccordionTrigger as z, AccordionContent as V } from "./index227.js";
26
- import { Badge as $ } from "./index228.js";
27
- import { Button as j } from "./index84.js";
28
- import { DialogTitle as T } from "./index229.js";
29
- import { Sheet as _t, SheetContent as xt, SheetDescription as Nt, SheetHeader as It, SheetTitle as Ct } from "./index135.js";
30
- import { TooltipProvider as Lt, Tooltip as ke, TooltipTrigger as Se, TooltipContent as Fe } from "./index230.js";
31
- import { Typography as s } from "./index85.js";
23
+ import { Scope as P } from "../../shared/data-access/dist/lib/scopes.js";
24
+ import { AccessRestriction as xt } from "./index136.js";
25
+ import { Accordion as Ct, AccordionItem as j, AccordionTrigger as H, AccordionContent as U } from "./index220.js";
26
+ import { Badge as T } from "./index221.js";
27
+ import { Button as V } from "./index84.js";
28
+ import { DialogTitle as $ } from "./index222.js";
29
+ import { Sheet as Lt, SheetContent as Rt, SheetDescription as At, SheetHeader as Dt, SheetTitle as Pt } from "./index147.js";
30
+ import { TooltipProvider as Tt, Tooltip as Be, TooltipTrigger as Ee, TooltipContent as Me } from "./index223.js";
31
+ import { Typography as o } from "./index85.js";
32
32
  import { cn as G } from "./index100.js";
33
- import { LoadingSpinner as Ee } from "./index136.js";
34
- import { NotFound as Oe } from "./index154.js";
35
- import { ChevronLeft as Rt, Eye as At, Repeat as Me, CircleAlert as Dt } from "lucide-react";
36
- import { headerIconButtonClass as P, STATUS_ICON as $t, ACTION_ICON as Tt, HEADER_TOOLTIP_DELAY as Pt, amountValueToneClass as kt } from "./index231.js";
37
- import { buildInvoiceDetailsView as St } from "./index232.js";
38
- import { preventTooltipFocusOpen as Be } from "./index233.js";
39
- import { buildEditInvoiceFormValues as Ft } from "./index234.js";
40
- import { isPrimaryActionDisabled as Et } from "./index235.js";
41
- import { getInvoiceValidationSchema as Ot } from "./index191.js";
42
- import { useDuplicateInvoice as Mt } from "./index236.js";
43
- import { useGetOverdueReminderById as Bt } from "./index237.js";
44
- import { useGetPaymentRecords as zt } from "./index238.js";
45
- import { useGetPaymentReminderById as Vt } from "./index239.js";
46
- import { useGetRecurrenceById as jt } from "./index240.js";
47
- import { useGetReceivablePDFById as Gt } from "./index241.js";
48
- import { useGetInvoiceRequiredFields as Ht } from "./index242.js";
49
- import { useIssueReceivableById as Ut } from "./index243.js";
50
- import { usePauseRecurrence as qt } from "./index244.js";
51
- import { useResumeRecurrence as Wt } from "./index245.js";
52
- import { InvoiceDetailsAmountCell as Yt } from "./index246.js";
53
- import { InvoiceDetailsAttachments as Jt } from "./index247.js";
54
- import { InvoiceDetailsCloseButton as ze } from "./index248.js";
55
- import { ActionsModal as Kt } from "./index195.js";
56
- import { EditInvoiceDetails as Qt } from "./index249.js";
57
- import { InvoiceDetailsInfoRow as Ve } from "./index250.js";
58
- import { InvoiceDetailsCustomerRow as Xt } from "./index251.js";
59
- import { CounterpartDetails as Zt } from "./index2.js";
60
- import { InvoiceCancelModal as ei } from "./index252.js";
61
- import { InvoiceDeleteModal as ti } from "./index253.js";
62
- import { InvoiceDetailsTabScheduledInvoices as ii } from "./index254.js";
63
- import { InvoiceRecurrenceStatusChip as ri } from "./index182.js";
64
- import { InvoiceStatusChip as ni } from "./index55.js";
65
- import { MarkAsUncollectibleModal as ai } from "./index255.js";
66
- import { InvoiceDetailsOverflowMenu as si } from "./index256.js";
67
- import { RecordManualPaymentModal as oi } from "./index257.js";
68
- import { RecurrenceCancelModal as li } from "./index258.js";
69
- const Ir = (d) => /* @__PURE__ */ e(ct, { children: /* @__PURE__ */ e(ci, { ...d }) }), ci = ({
33
+ import { LoadingSpinner as ze } from "./index148.js";
34
+ import { NotFound as je } from "./index155.js";
35
+ import { ChevronLeft as $t, Eye as kt, Repeat as He, CircleAlert as St } from "lucide-react";
36
+ import { headerIconButtonClass as k, STATUS_ICON as Ft, ACTION_ICON as Ot, HEADER_TOOLTIP_DELAY as Bt, amountValueToneClass as Et } from "./index224.js";
37
+ import { buildInvoiceDetailsView as Mt } from "./index225.js";
38
+ import { preventTooltipFocusOpen as Ue } from "./index226.js";
39
+ import { buildEditInvoiceFormValues as zt } from "./index227.js";
40
+ import { isPrimaryActionDisabled as jt } from "./index228.js";
41
+ import { getInvoiceValidationSchema as Ht } from "./index191.js";
42
+ import { useDuplicateInvoice as Ut } from "./index229.js";
43
+ import { useGetOverdueReminderById as Vt } from "./index230.js";
44
+ import { useGetPaymentRecords as Gt } from "./index231.js";
45
+ import { useGetPaymentReminderById as qt } from "./index232.js";
46
+ import { useGetRecurrenceById as Wt } from "./index233.js";
47
+ import { useGetReceivablePDFById as Yt } from "./index234.js";
48
+ import { useGetInvoiceRequiredFields as Kt } from "./index235.js";
49
+ import { useSelectableBankAccounts as Qt } from "./index236.js";
50
+ import { useIssueReceivableById as Xt } from "./index237.js";
51
+ import { usePauseRecurrence as Zt } from "./index238.js";
52
+ import { useResumeRecurrence as Jt } from "./index239.js";
53
+ import { InvoiceDetailsAmountCell as ei } from "./index240.js";
54
+ import { InvoiceDetailsAttachments as ti } from "./index241.js";
55
+ import { InvoiceDetailsCloseButton as Ve } from "./index242.js";
56
+ import { ActionsModal as ii } from "./index195.js";
57
+ import { EditInvoiceDetails as ri } from "./index243.js";
58
+ import { InvoiceDetailsInfoRow as Ge } from "./index244.js";
59
+ import { InvoiceDetailsCustomerRow as ni } from "./index245.js";
60
+ import { CounterpartDetails as ai } from "./index2.js";
61
+ import { InvoiceCancelModal as oi } from "./index246.js";
62
+ import { InvoiceDeleteModal as si } from "./index247.js";
63
+ import { InvoiceDetailsTabScheduledInvoices as li } from "./index248.js";
64
+ import { InvoiceRecurrenceStatusChip as ci } from "./index182.js";
65
+ import { InvoiceStatusChip as di } from "./index55.js";
66
+ import { MarkAsUncollectibleModal as mi } from "./index249.js";
67
+ import { InvoiceDetailsOverflowMenu as ui } from "./index250.js";
68
+ import { RecordManualPaymentModal as pi } from "./index251.js";
69
+ import { RecurrenceCancelModal as wi } from "./index252.js";
70
+ const Tr = (d) => /* @__PURE__ */ e(wt, { children: /* @__PURE__ */ e(fi, { ...d }) }), fi = ({
70
71
  invoiceId: d,
71
- open: je,
72
- onCloseInvoiceDetails: _,
73
- onDuplicate: Ge,
74
- openInvoiceDetails: k
72
+ open: qe,
73
+ onCloseInvoiceDetails: N,
74
+ onDuplicate: We,
75
+ openInvoiceDetails: S,
76
+ embeddedBankName: Ye
75
77
  }) => {
76
78
  const {
77
79
  i18n: t
78
- } = ut(), {
79
- locale: H,
80
- componentSettings: He
81
- } = dt(), U = !!He?.receivables?.enableEntityBankAccount, {
82
- formatCurrencyToDisplay: q
83
- } = mt(), {
84
- receivablesCallbacks: Ue
85
- } = pt(), {
80
+ } = vt(), {
81
+ locale: q,
82
+ componentSettings: Ke
83
+ } = ft(), y = !!Ke?.receivables?.enableEntityBankAccount, {
84
+ formatCurrencyToDisplay: W
85
+ } = ht(), {
86
+ receivablesCallbacks: Qe
87
+ } = bt(), {
86
88
  data: i,
87
- isLoading: W
88
- } = wt(d, !0), y = i?.type === "invoice" ? i.counterpart_id : void 0, S = i?.type === "invoice" ? i.counterpart_billing_address?.id : void 0, {
89
+ isLoading: Y
90
+ } = yt(d, !0), g = i?.type === "invoice" ? i.counterpart_id : void 0, F = i?.type === "invoice" ? i.counterpart_billing_address?.id : void 0, {
89
91
  data: v,
90
92
  isLoading: f
91
- } = ft(y), x = !!Pe(v), {
92
- data: Y
93
- } = ht(y), qe = Te(() => Y?.data?.find((o) => o.id === S) ?? (i?.type === "invoice" ? i.counterpart_billing_address : void 0), [Y?.data, i, S]), {
94
- data: J,
95
- isFetching: We,
96
- isLoading: Ye
97
- } = vt(), {
98
- data: Je,
99
- isFetching: Ke,
100
- isLoading: Qe
101
- } = Ht({
102
- counterpart_billing_address_id: S,
103
- counterpart_country: qe?.country,
104
- counterpart_id: y,
105
- counterpart_type: v?.id === y && v?.type || void 0
106
- }), K = Je?.entity?.tax_id?.required, Q = !!(i?.type === "invoice" && (i.payment_reminder_id || i.overdue_reminder_id)), F = !!y && f || Ye || We || Qe || Ke, {
107
- data: Xe
108
- } = Gt(d, i?.type === "invoice"), X = Xe?.file_url, {
93
+ } = gt(g), I = !!Oe(v), {
94
+ data: K
95
+ } = _t(g), Xe = z(() => K?.data?.find((s) => s.id === F) ?? (i?.type === "invoice" ? i.counterpart_billing_address : void 0), [K?.data, i, F]), {
96
+ data: Q,
97
+ isFetching: Ze,
98
+ isLoading: Je
99
+ } = Nt(), {
100
+ data: et,
101
+ isFetching: tt,
102
+ isLoading: it
103
+ } = Kt({
104
+ counterpart_billing_address_id: F,
105
+ counterpart_country: Xe?.country,
106
+ counterpart_id: g,
107
+ counterpart_type: v?.id === g && v?.type || void 0
108
+ }), X = et?.entity?.tax_id?.required, Z = !!(i?.type === "invoice" && (i.payment_reminder_id || i.overdue_reminder_id)), O = !!g && f || Je || Ze || it || tt, {
109
+ data: rt
110
+ } = Yt(d, i?.type === "invoice"), J = rt?.file_url, {
109
111
  data: p,
110
- isLoading: Z
111
- } = jt(i?.type === "invoice" ? i?.recurrence_id : void 0), {
112
- data: ee,
113
- isLoading: te
114
- } = zt(i?.id), {
115
- data: ie
116
- } = Vt(i?.type === "invoice" ? i?.payment_reminder_id : void 0), {
112
+ isLoading: ee
113
+ } = Wt(i?.type === "invoice" ? i?.recurrence_id : void 0), {
114
+ data: te,
115
+ isLoading: ie
116
+ } = Gt(i?.id), {
117
117
  data: re
118
- } = Bt(i?.type === "invoice" ? i?.overdue_reminder_id : void 0), [E, N] = w(!1), [ne, I] = w("edit"), [g, b] = w(null), [ae, se] = w(!1), [oe, le] = w(!1), [ce, de] = w(!1), [me, ue] = w(!1), [pe, we] = w(!1), C = bt(), fe = C.has(D.InvoiceReadOrg), he = C.has(D.InvoiceWriteOrg), ve = C.has(D.CounterpartReadOrg), be = C.has(D.CounterpartWriteOrg), {
119
- mutateAsync: L,
120
- isPending: Ze
121
- } = Ut(), {
122
- mutate: ye,
123
- isPending: et
124
- } = Mt(Ge), {
125
- mutate: ge,
126
- isPending: tt
127
- } = qt(p?.id ?? "", d), {
128
- mutate: _e,
129
- isPending: it
130
- } = Wt(p?.id ?? "", d), rt = je && !E, nt = fe && !W && !Z && !!i && i.type === "invoice", n = Te(() => {
118
+ } = qt(i?.type === "invoice" ? i?.payment_reminder_id : void 0), {
119
+ data: ne
120
+ } = Vt(i?.type === "invoice" ? i?.overdue_reminder_id : void 0), {
121
+ bankAccounts: ae,
122
+ isIncomplete: oe
123
+ } = Qt(y), se = i?.type === "invoice" ? i.bank_account_id : void 0, le = z(() => y ? {
124
+ account: ae.find((s) => s.id === se),
125
+ isListIncomplete: oe
126
+ } : void 0, [y, ae, se, oe]), [B, x] = w(!1), [ce, C] = w("edit"), [_, b] = w(null), [de, me] = w(!1), [ue, pe] = w(!1), [we, fe] = w(!1), [he, ve] = w(!1), [be, ye] = w(!1), L = It(), ge = L.has(P.InvoiceReadOrg), _e = L.has(P.InvoiceWriteOrg), Ne = L.has(P.CounterpartReadOrg), Ie = L.has(P.CounterpartWriteOrg), {
127
+ mutateAsync: R,
128
+ isPending: nt
129
+ } = Xt(), {
130
+ mutate: xe,
131
+ isPending: at
132
+ } = Ut(We), {
133
+ mutate: Ce,
134
+ isPending: ot
135
+ } = Zt(p?.id ?? "", d), {
136
+ mutate: Le,
137
+ isPending: st
138
+ } = Jt(p?.id ?? "", d), lt = qe && !B, ct = ge && !Y && !ee && !!i && i.type === "invoice", n = z(() => {
131
139
  if (!(!i || i.type !== "invoice"))
132
- return St(i, p, ee?.data ?? [], {
140
+ return Mt(i, p, te?.data ?? [], {
133
141
  i18n: t,
134
- formatCurrencyToDisplay: q,
135
- locale: H
136
- }, te, {
137
- paymentReminder: ie,
138
- overdueReminder: re
139
- });
140
- }, [i, p, ee, te, ie, re, t, q, H]), O = (o) => {
141
- switch (o) {
142
+ formatCurrencyToDisplay: W,
143
+ locale: q
144
+ }, ie, {
145
+ paymentReminder: re,
146
+ overdueReminder: ne
147
+ }, le);
148
+ }, [i, p, te, ie, re, ne, le, t, W, q]), E = (s) => {
149
+ switch (s) {
142
150
  case "edit":
143
151
  return t._("Edit");
144
152
  case "issue":
@@ -164,27 +172,27 @@ const Ir = (d) => /* @__PURE__ */ e(ct, { children: /* @__PURE__ */ e(ci, { ...d
164
172
  case "cancelRecurrence":
165
173
  return t._("Cancel series");
166
174
  }
167
- }, m = h((o) => {
168
- he ? o() : u.error(t._("You don't have permission to update this document. Please, contact your system administrator for details."));
169
- }, [he, t]), xe = h((o) => {
170
- I(o), N(!0);
171
- }, []), Ne = h(() => {
175
+ }, m = h((s) => {
176
+ _e ? s() : u.error(t._("You don't have permission to update this document. Please, contact your system administrator for details."));
177
+ }, [_e, t]), Re = h((s) => {
178
+ C(s), x(!0);
179
+ }, []), Ae = h(() => {
172
180
  if (!i || i.type !== "invoice") return !1;
173
- const o = Ft(i, p);
174
- return Ot(t, U, be).safeParse(o).success;
175
- }, [i, p, t, U, be]), R = h((o) => {
176
- if (!Ne())
177
- return xe(o), !1;
178
- if (F) return !1;
179
- if (K && !J?.tax_id)
181
+ const s = zt(i, p);
182
+ return Ht(t, y, Ie).safeParse(s).success;
183
+ }, [i, p, t, y, Ie]), A = h((s) => {
184
+ if (!Ae())
185
+ return Re(s), !1;
186
+ if (O) return !1;
187
+ if (X && !Q?.tax_id)
180
188
  return u.error(t._("Set your organization's Tax ID to issue invoice")), !1;
181
- if (!Q) return !0;
182
- const l = Pe(v), c = v?.reminders_enabled;
189
+ if (!Z) return !0;
190
+ const l = Oe(v), c = v?.reminders_enabled;
183
191
  return !c && l ? (u.error(t._("Payment reminders are disabled for this customer. Please enable them in the customer details or turn them off.")), !1) : !l && c ? (u.error(t._("No email address is added for the selected customer. Please add it to the customer details or turn off the reminders.")), !1) : !c && !l ? (u.error(t._("Reminders are disabled for this customer, and no email address has been added for it. Please update the details or turn off reminders.")), !1) : !0;
184
- }, [v, J?.tax_id, Q, t, K, F, Ne, xe]), Ie = h(async () => {
185
- if (R("issue"))
192
+ }, [v, Q?.tax_id, Z, t, X, O, Ae, Re]), De = h(async () => {
193
+ if (A("issue"))
186
194
  try {
187
- await L({
195
+ await R({
188
196
  path: {
189
197
  receivable_id: d
190
198
  }
@@ -192,15 +200,15 @@ const Ir = (d) => /* @__PURE__ */ e(ct, { children: /* @__PURE__ */ e(ci, { ...d
192
200
  } catch {
193
201
  u.error(t._("Failed to issue invoice. Add any missing information to your draft invoice and try again."));
194
202
  }
195
- }, [R, L, d, t]), Ce = h(async () => {
203
+ }, [A, R, d, t]), Pe = h(async () => {
196
204
  if (i?.counterpart_id && !f) {
197
- if (!x) {
205
+ if (!I) {
198
206
  u.error(t._("This customer has no email address. Add one in the customer details to send the invoice."));
199
207
  return;
200
208
  }
201
- if (R("issueAndSend")) {
209
+ if (A("issueAndSend")) {
202
210
  try {
203
- await L({
211
+ await R({
204
212
  path: {
205
213
  receivable_id: d
206
214
  }
@@ -221,20 +229,20 @@ const Ir = (d) => /* @__PURE__ */ e(ct, { children: /* @__PURE__ */ e(ci, { ...d
221
229
  });
222
230
  }
223
231
  }
224
- }, [i?.counterpart_id, x, f, R, L, d, t]), Le = h((o) => {
225
- switch (o) {
232
+ }, [i?.counterpart_id, I, f, A, R, d, t]), Te = h((s) => {
233
+ switch (s) {
226
234
  case "edit":
227
235
  return m(() => {
228
- I("edit"), N(!0);
236
+ C("edit"), x(!0);
229
237
  });
230
238
  case "issue":
231
- return m(Ie);
239
+ return m(De);
232
240
  case "issueAndSend":
233
- return m(Ce);
241
+ return m(Pe);
234
242
  case "send":
235
243
  return m(() => {
236
244
  if (!f) {
237
- if (!x) {
245
+ if (!I) {
238
246
  u.error(t._("This customer has no email address. Add one in the customer details to send the invoice."));
239
247
  return;
240
248
  }
@@ -251,239 +259,239 @@ const Ir = (d) => /* @__PURE__ */ e(ct, { children: /* @__PURE__ */ e(ci, { ...d
251
259
  }
252
260
  });
253
261
  case "clone":
254
- return m(() => ye({
262
+ return m(() => xe({
255
263
  path: {
256
264
  receivable_id: d
257
265
  }
258
266
  }));
259
267
  case "cancel":
260
- return m(() => se(!0));
268
+ return m(() => me(!0));
261
269
  case "delete":
262
- return m(() => le(!0));
270
+ return m(() => pe(!0));
263
271
  case "markUncollectible":
264
- return m(() => de(!0));
272
+ return m(() => fe(!0));
265
273
  case "pauseRecurrence":
266
- return m(() => ge(void 0));
274
+ return m(() => Ce(void 0));
267
275
  case "resumeRecurrence":
268
- return m(() => _e(void 0));
276
+ return m(() => Le(void 0));
269
277
  case "cancelRecurrence":
270
- return m(() => ue(!0));
278
+ return m(() => ve(!0));
271
279
  case "recordPayment":
272
280
  return;
273
281
  }
274
- }, [m, Ie, Ce, x, f, i?.counterpart_id, ye, d, ge, _e, t]), at = () => {
275
- if (W || Z)
282
+ }, [m, De, Pe, I, f, i?.counterpart_id, xe, d, Ce, Le, t]), dt = () => {
283
+ if (Y || ee)
276
284
  return /* @__PURE__ */ r("div", { className: "ttw:flex ttw:w-full ttw:items-center ttw:justify-center ttw:h-full", children: [
277
- /* @__PURE__ */ e(T, { hidden: !0, children: t._("Loading invoice details") }),
278
- /* @__PURE__ */ e(Ee, {})
285
+ /* @__PURE__ */ e($, { hidden: !0, children: t._("Loading invoice details") }),
286
+ /* @__PURE__ */ e(ze, {})
279
287
  ] });
280
- if (!fe)
288
+ if (!ge)
281
289
  return /* @__PURE__ */ r("div", { className: "ttw:w-3/4 ttw:m-auto", children: [
282
- /* @__PURE__ */ e(T, { hidden: !0, children: t._("Access restricted") }),
283
- /* @__PURE__ */ e(yt, {})
290
+ /* @__PURE__ */ e($, { hidden: !0, children: t._("Access restricted") }),
291
+ /* @__PURE__ */ e(xt, {})
284
292
  ] });
285
293
  if (i && i.type !== "invoice")
286
294
  return /* @__PURE__ */ r("div", { className: "ttw:w-3/4 ttw:m-auto", children: [
287
- /* @__PURE__ */ e(T, { hidden: !0, children: t._("Receivable type not supported") }),
288
- /* @__PURE__ */ e(Oe, { title: t._("Receivable type not supported"), description: t._("Receivable type {type} is not supported. Only invoice is supported.", {
295
+ /* @__PURE__ */ e($, { hidden: !0, children: t._("Receivable type not supported") }),
296
+ /* @__PURE__ */ e(je, { title: t._("Receivable type not supported"), description: t._("Receivable type {type} is not supported. Only invoice is supported.", {
289
297
  type: i.type
290
298
  }) })
291
299
  ] });
292
300
  if (!i || !n)
293
301
  return /* @__PURE__ */ r("div", { className: "ttw:w-3/4 ttw:m-auto", children: [
294
- /* @__PURE__ */ e(T, { hidden: !0, children: t._("Invoice not found") }),
295
- /* @__PURE__ */ e(Oe, { title: t._("Invoice not found"), description: t._("There is no invoice for the provided id: {invoiceId}", {
302
+ /* @__PURE__ */ e($, { hidden: !0, children: t._("Invoice not found") }),
303
+ /* @__PURE__ */ e(je, { title: t._("Invoice not found"), description: t._("There is no invoice for the provided id: {invoiceId}", {
296
304
  invoiceId: d
297
305
  }) })
298
306
  ] });
299
- const o = $t[n.status], l = n.amountTone === "danger", c = n.recurringSeries, A = !!c, M = i.counterpart_name, st = i.counterpart_id && ve ? () => we(!0) : void 0, Re = n.primaryActions.length > 0 ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:items-center ttw:gap-2 ttw:border-t ttw:border-border ttw:pt-3", children: n.primaryActions.map((a, ot) => {
300
- const Ae = Tt[a], De = ot === n.primaryActions.length - 1 ? "default" : "outline";
301
- return a === "recordPayment" && i.type === "invoice" ? /* @__PURE__ */ e(oi, { invoice: i, children: ({
302
- openModal: lt
303
- }) => /* @__PURE__ */ r(j, { type: "button", size: "sm", variant: De, onClick: () => m(lt), children: [
304
- /* @__PURE__ */ e(Ae, { className: "ttw:size-4" }),
305
- O(a)
306
- ] }) }, a) : /* @__PURE__ */ r(j, { type: "button", size: "sm", variant: De, disabled: Et(a, {
307
- isIssuing: Ze,
308
- isIssuePreflightLoading: F,
307
+ const s = Ft[n.status], l = n.amountTone === "danger", c = n.recurringSeries, D = !!c, M = i.counterpart_name, mt = i.counterpart_id && Ne ? () => ye(!0) : void 0, $e = n.primaryActions.length > 0 ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:items-center ttw:gap-2 ttw:border-t ttw:border-border ttw:pt-3", children: n.primaryActions.map((a, ut) => {
308
+ const ke = Ot[a], Se = ut === n.primaryActions.length - 1 ? "default" : "outline";
309
+ return a === "recordPayment" && i.type === "invoice" ? /* @__PURE__ */ e(pi, { invoice: i, children: ({
310
+ openModal: pt
311
+ }) => /* @__PURE__ */ r(V, { type: "button", size: "sm", variant: Se, onClick: () => m(pt), children: [
312
+ /* @__PURE__ */ e(ke, { className: "ttw:size-4" }),
313
+ E(a)
314
+ ] }) }, a) : /* @__PURE__ */ r(V, { type: "button", size: "sm", variant: Se, disabled: jt(a, {
315
+ isIssuing: nt,
316
+ isIssuePreflightLoading: O,
309
317
  isCounterpartLoading: f
310
- }), onClick: () => Le(a), children: [
311
- /* @__PURE__ */ e(Ae, { className: "ttw:size-4" }),
312
- O(a)
318
+ }), onClick: () => Te(a), children: [
319
+ /* @__PURE__ */ e(ke, { className: "ttw:size-4" }),
320
+ E(a)
313
321
  ] }, a);
314
322
  }) }) : null;
315
- return /* @__PURE__ */ r($e, { children: [
316
- n.seriesLink ? /* @__PURE__ */ e("div", { className: "ttw:border-b ttw:border-border ttw:px-6 ttw:py-3", children: /* @__PURE__ */ r("button", { type: "button", onClick: () => n.seriesLink && k?.(n.seriesLink.invoiceId), className: "ttw:flex ttw:items-center ttw:gap-1 ttw:text-sm ttw:text-primary ttw:hover:underline", children: [
317
- /* @__PURE__ */ e(Rt, { className: "ttw:size-4", "aria-hidden": "true" }),
323
+ return /* @__PURE__ */ r(Fe, { children: [
324
+ n.seriesLink ? /* @__PURE__ */ e("div", { className: "ttw:border-b ttw:border-border ttw:px-6 ttw:py-3", children: /* @__PURE__ */ r("button", { type: "button", onClick: () => n.seriesLink && S?.(n.seriesLink.invoiceId), className: "ttw:flex ttw:items-center ttw:gap-1 ttw:text-sm ttw:text-primary ttw:hover:underline", children: [
325
+ /* @__PURE__ */ e($t, { className: "ttw:size-4", "aria-hidden": "true" }),
318
326
  t._("Back to {title} recurring series", {
319
327
  title: n.seriesLink.title
320
328
  })
321
329
  ] }) }) : null,
322
- /* @__PURE__ */ r(It, { className: "ttw:flex ttw:flex-row ttw:items-start ttw:justify-between ttw:gap-2 ttw:space-y-0 ttw:px-6 ttw:py-4", children: [
330
+ /* @__PURE__ */ r(Dt, { className: "ttw:flex ttw:flex-row ttw:items-start ttw:justify-between ttw:gap-2 ttw:space-y-0 ttw:px-6 ttw:py-4", children: [
323
331
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
324
- /* @__PURE__ */ e(Ct, { className: "ttw:text-xl ttw:font-semibold ttw:text-foreground", children: n.title }),
325
- n.subtitle ? /* @__PURE__ */ e(s, { variant: "body2", color: "muted", children: n.subtitle }) : null
332
+ /* @__PURE__ */ e(Pt, { className: "ttw:text-xl ttw:font-semibold ttw:text-foreground", children: n.title }),
333
+ n.subtitle ? /* @__PURE__ */ e(o, { variant: "body2", color: "muted", children: n.subtitle }) : null
326
334
  ] }),
327
- /* @__PURE__ */ e(Lt, { delayDuration: Pt, children: /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-center ttw:gap-1.5", children: [
328
- X ? /* @__PURE__ */ r(ke, { children: [
329
- /* @__PURE__ */ e(Se, { asChild: !0, onFocus: Be, children: /* @__PURE__ */ e(j, { asChild: !0, variant: "ghost", size: "icon", className: P, children: /* @__PURE__ */ e("a", { href: X, target: "_blank", rel: "noreferrer", "aria-label": t._("View PDF"), children: /* @__PURE__ */ e(At, { className: "ttw:size-4" }) }) }) }),
330
- /* @__PURE__ */ e(Fe, { children: t._("View PDF") })
335
+ /* @__PURE__ */ e(Tt, { delayDuration: Bt, children: /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-center ttw:gap-1.5", children: [
336
+ J ? /* @__PURE__ */ r(Be, { children: [
337
+ /* @__PURE__ */ e(Ee, { asChild: !0, onFocus: Ue, children: /* @__PURE__ */ e(V, { asChild: !0, variant: "ghost", size: "icon", className: k, children: /* @__PURE__ */ e("a", { href: J, target: "_blank", rel: "noreferrer", "aria-label": t._("View PDF"), children: /* @__PURE__ */ e(kt, { className: "ttw:size-4" }) }) }) }),
338
+ /* @__PURE__ */ e(Me, { children: t._("View PDF") })
331
339
  ] }) : null,
332
- n.overflowActions.length > 0 ? /* @__PURE__ */ e(si, { actions: n.overflowActions, triggerLabel: t._("More actions"), getActionLabel: O, onSelect: Le, isActionDisabled: (a) => a === "clone" && et || a === "pauseRecurrence" && tt || a === "resumeRecurrence" && it || // "Resend" needs the customer email, so wait for it to load.
333
- a === "send" && f, className: P }) : null,
334
- /* @__PURE__ */ r(ke, { children: [
335
- /* @__PURE__ */ e(Se, { asChild: !0, onFocus: Be, children: /* @__PURE__ */ e(ze, { label: t._("Close"), onClose: _, className: P }) }),
336
- /* @__PURE__ */ e(Fe, { children: t._("Close") })
340
+ n.overflowActions.length > 0 ? /* @__PURE__ */ e(ui, { actions: n.overflowActions, triggerLabel: t._("More actions"), getActionLabel: E, onSelect: Te, isActionDisabled: (a) => a === "clone" && at || a === "pauseRecurrence" && ot || a === "resumeRecurrence" && st || // "Resend" needs the customer email, so wait for it to load.
341
+ a === "send" && f, className: k }) : null,
342
+ /* @__PURE__ */ r(Be, { children: [
343
+ /* @__PURE__ */ e(Ee, { asChild: !0, onFocus: Ue, children: /* @__PURE__ */ e(Ve, { label: t._("Close"), onClose: N, className: k }) }),
344
+ /* @__PURE__ */ e(Me, { children: t._("Close") })
337
345
  ] })
338
346
  ] }) })
339
347
  ] }),
340
348
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
341
- /* @__PURE__ */ e("div", { className: "ttw:px-6", children: A && c ? (
349
+ /* @__PURE__ */ e("div", { className: "ttw:px-6", children: D && c ? (
342
350
  // Recurring series master: recurring amount + series status +
343
351
  // start/end, in place of the per-invoice amount rows. The card
344
352
  // takes a violet tint (vs the neutral invoice card) to signal a
345
353
  // recurrence, matching the Recurring badge.
346
354
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-violet-50 ttw:p-4", children: [
347
355
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
348
- /* @__PURE__ */ e(s, { variant: "caption", color: "muted", children: t._("Recurring amount") }),
356
+ /* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: t._("Recurring amount") }),
349
357
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-baseline ttw:gap-1.5", children: [
350
- /* @__PURE__ */ e(s, { component: "span", variant: "h3", className: kt[n.amountTone], children: c.amountLabel }),
351
- /* @__PURE__ */ e(s, { component: "span", variant: "body2", color: "muted", children: c.amountPeriodLabel })
358
+ /* @__PURE__ */ e(o, { component: "span", variant: "h3", className: Et[n.amountTone], children: c.amountLabel }),
359
+ /* @__PURE__ */ e(o, { component: "span", variant: "body2", color: "muted", children: c.amountPeriodLabel })
352
360
  ] })
353
361
  ] }),
354
362
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
355
- /* @__PURE__ */ r($, { variant: "outline", className: "ttw:gap-1 ttw:border-violet-200 ttw:bg-violet-50 ttw:text-violet-700", children: [
356
- /* @__PURE__ */ e(Me, { className: "ttw:size-3" }),
363
+ /* @__PURE__ */ r(T, { variant: "outline", className: "ttw:gap-1 ttw:border-violet-200 ttw:bg-violet-50 ttw:text-violet-700", children: [
364
+ /* @__PURE__ */ e(He, { className: "ttw:size-3" }),
357
365
  t._("Recurring")
358
366
  ] }),
359
- /* @__PURE__ */ e(ri, { status: c.status, showIcon: !0 })
367
+ /* @__PURE__ */ e(ci, { status: c.status, showIcon: !0 })
360
368
  ] }),
361
369
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:gap-12", children: [
362
370
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
363
- /* @__PURE__ */ e(s, { variant: "caption", color: "muted", children: t._("Starts on") }),
364
- /* @__PURE__ */ e(s, { component: "span", variant: "body2", children: c.startsOnLabel })
371
+ /* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: t._("Starts on") }),
372
+ /* @__PURE__ */ e(o, { component: "span", variant: "body2", children: c.startsOnLabel })
365
373
  ] }),
366
374
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
367
- /* @__PURE__ */ e(s, { variant: "caption", color: "muted", children: t._("Ends on") }),
368
- /* @__PURE__ */ e(s, { component: "span", variant: "body2", children: c.endsOnLabel })
375
+ /* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: t._("Ends on") }),
376
+ /* @__PURE__ */ e(o, { component: "span", variant: "body2", children: c.endsOnLabel })
369
377
  ] })
370
378
  ] }),
371
- Re
379
+ $e
372
380
  ] })
373
381
  ) : /* @__PURE__ */ r("div", { className: G("ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted ttw:p-4", l && "ttw:border ttw:border-red-200"), children: [
374
- /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-row ttw:flex-wrap ttw:gap-x-12 ttw:gap-y-2", children: n.amountRows.map((a) => /* @__PURE__ */ e(Yt, { row: a, defaultTone: n.amountTone }, a.label)) }),
382
+ /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-row ttw:flex-wrap ttw:gap-x-12 ttw:gap-y-2", children: n.amountRows.map((a) => /* @__PURE__ */ e(ei, { row: a, defaultTone: n.amountTone }, a.label)) }),
375
383
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
376
384
  n.overdueLabel ? /* @__PURE__ */ r("span", { className: "ttw:inline-flex ttw:items-center ttw:gap-1 ttw:rounded-full ttw:bg-red-100 ttw:px-2.5 ttw:py-0.5 ttw:text-xs ttw:font-medium ttw:text-red-700", children: [
377
- /* @__PURE__ */ e(Dt, { className: "ttw:size-3" }),
385
+ /* @__PURE__ */ e(St, { className: "ttw:size-3" }),
378
386
  n.overdueLabel
379
- ] }) : /* @__PURE__ */ e(ni, { status: n.status, variant: "outline", label: n.statusLabel, icon: o ? /* @__PURE__ */ e(o, { className: "ttw:size-3" }) : void 0 }),
380
- n.recurring ? /* @__PURE__ */ r($, { variant: "outline", className: "ttw:gap-1 ttw:border-violet-200 ttw:bg-violet-50 ttw:text-violet-700", children: [
381
- /* @__PURE__ */ e(Me, { className: "ttw:size-3" }),
387
+ ] }) : /* @__PURE__ */ e(di, { status: n.status, variant: "outline", label: n.statusLabel, icon: s ? /* @__PURE__ */ e(s, { className: "ttw:size-3" }) : void 0 }),
388
+ n.recurring ? /* @__PURE__ */ r(T, { variant: "outline", className: "ttw:gap-1 ttw:border-violet-200 ttw:bg-violet-50 ttw:text-violet-700", children: [
389
+ /* @__PURE__ */ e(He, { className: "ttw:size-3" }),
382
390
  t._("Recurring")
383
391
  ] }) : null
384
392
  ] }),
385
393
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:gap-12", children: [
386
394
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
387
- /* @__PURE__ */ e(s, { variant: "caption", color: "muted", children: t._("Invoice date") }),
388
- /* @__PURE__ */ e(s, { component: "span", variant: "body2", children: n.invoiceDateLabel })
395
+ /* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: t._("Invoice date") }),
396
+ /* @__PURE__ */ e(o, { component: "span", variant: "body2", children: n.invoiceDateLabel })
389
397
  ] }),
390
398
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
391
- /* @__PURE__ */ e(s, { variant: "caption", color: "muted", children: n.dueDateCaption }),
392
- /* @__PURE__ */ e(s, { component: "span", variant: "body2", children: n.dueDateLabel })
399
+ /* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: n.dueDateCaption }),
400
+ /* @__PURE__ */ e(o, { component: "span", variant: "body2", children: n.dueDateLabel })
393
401
  ] })
394
402
  ] }),
395
- Re
403
+ $e
396
404
  ] }) }),
397
405
  /* @__PURE__ */ r("div", { className: "ttw:px-6", children: [
398
406
  n.paymentHistory ? /* @__PURE__ */ r("section", { "aria-label": t._("Payment history"), className: "ttw:border-b ttw:border-border ttw:py-4", children: [
399
- /* @__PURE__ */ e(s, { component: "h3", variant: "body2", className: "ttw:mb-3 ttw:font-medium", children: t._("Payment history") }),
400
- n.paymentHistory.loading ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:py-2", children: /* @__PURE__ */ e(Ee, { className: "ttw:h-5 ttw:w-5 ttw:border-2" }) }) : n.paymentHistory.rows.length === 0 ? /* @__PURE__ */ e(s, { variant: "body2", className: n.paymentHistory.emptyTone === "danger" ? "ttw:text-red-600" : "ttw:text-muted-foreground", children: t._("You've received no payments yet.") }) : /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
407
+ /* @__PURE__ */ e(o, { component: "h3", variant: "body2", className: "ttw:mb-3 ttw:font-medium", children: t._("Payment history") }),
408
+ n.paymentHistory.loading ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:py-2", children: /* @__PURE__ */ e(ze, { className: "ttw:h-5 ttw:w-5 ttw:border-2" }) }) : n.paymentHistory.rows.length === 0 ? /* @__PURE__ */ e(o, { variant: "body2", className: n.paymentHistory.emptyTone === "danger" ? "ttw:text-red-600" : "ttw:text-muted-foreground", children: t._("You've received no payments yet.") }) : /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
401
409
  n.paymentHistory.rows.map((a) => /* @__PURE__ */ r("div", { className: "ttw:flex ttw:justify-between ttw:border-b ttw:border-border ttw:py-2", children: [
402
- /* @__PURE__ */ e(s, { component: "span", variant: "body2", children: a.dateLabel }),
403
- /* @__PURE__ */ e(s, { component: "span", variant: "body2", children: a.amountLabel })
410
+ /* @__PURE__ */ e(o, { component: "span", variant: "body2", children: a.dateLabel }),
411
+ /* @__PURE__ */ e(o, { component: "span", variant: "body2", children: a.amountLabel })
404
412
  ] }, a.id)),
405
413
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:justify-between ttw:py-2 ttw:font-medium", children: [
406
- /* @__PURE__ */ e(s, { component: "span", variant: "body2", children: t._("Total received") }),
407
- /* @__PURE__ */ e(s, { component: "span", variant: "body2", children: n.paymentHistory.totalLabel })
414
+ /* @__PURE__ */ e(o, { component: "span", variant: "body2", children: t._("Total received") }),
415
+ /* @__PURE__ */ e(o, { component: "span", variant: "body2", children: n.paymentHistory.totalLabel })
408
416
  ] })
409
417
  ] })
410
418
  ] }) : null,
411
419
  M || n.customerContact.length > 0 ? /* @__PURE__ */ r("section", { "aria-label": t._("Customer details"), className: "ttw:border-b ttw:border-border ttw:py-4", children: [
412
- /* @__PURE__ */ e(s, { component: "h3", variant: "body2", className: "ttw:mb-3 ttw:font-medium", children: t._("Customer details") }),
420
+ /* @__PURE__ */ e(o, { component: "h3", variant: "body2", className: "ttw:mb-3 ttw:font-medium", children: t._("Customer details") }),
413
421
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
414
- M ? /* @__PURE__ */ e(Xt, { label: t._("Name"), name: M, onOpenCounterpart: st }) : null,
415
- n.customerContact.map((a) => /* @__PURE__ */ e(Ve, { ...a }, a.label))
422
+ M ? /* @__PURE__ */ e(ni, { label: t._("Name"), name: M, onOpenCounterpart: mt }) : null,
423
+ n.customerContact.map((a) => /* @__PURE__ */ e(Ge, { ...a }, a.label))
416
424
  ] })
417
425
  ] }) : null,
418
- /* @__PURE__ */ r(gt, { type: "multiple", defaultValue: ["attachments"], className: "ttw:w-full", children: [
419
- /* @__PURE__ */ r(B, { value: "billing", children: [
420
- /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e("span", { className: "ttw:group-hover:underline", children: t._("Billing details") }) }),
421
- /* @__PURE__ */ e(V, { children: /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
422
- n.billingItems.map((a) => /* @__PURE__ */ e(Ve, { ...a }, a.label)),
426
+ /* @__PURE__ */ r(Ct, { type: "multiple", defaultValue: ["attachments"], className: "ttw:w-full", children: [
427
+ /* @__PURE__ */ r(j, { value: "billing", children: [
428
+ /* @__PURE__ */ e(H, { children: /* @__PURE__ */ e("span", { className: "ttw:group-hover:underline", children: t._("Billing details") }) }),
429
+ /* @__PURE__ */ e(U, { children: /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
430
+ n.billingItems.map((a) => /* @__PURE__ */ e(Ge, { ...a }, a.label)),
423
431
  n.seriesLink ? /* @__PURE__ */ r("div", { className: "ttw:flex ttw:gap-4 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0", children: [
424
- /* @__PURE__ */ e(s, { component: "span", variant: "body2", color: "muted", className: "ttw:w-40 ttw:shrink-0", children: t._("Recurring series") }),
425
- /* @__PURE__ */ e("button", { type: "button", onClick: () => n.seriesLink && k?.(n.seriesLink.invoiceId), className: "ttw:text-left ttw:text-primary ttw:hover:underline", children: n.seriesLink.title })
432
+ /* @__PURE__ */ e(o, { component: "span", variant: "body2", color: "muted", className: "ttw:w-40 ttw:shrink-0", children: t._("Recurring series") }),
433
+ /* @__PURE__ */ e("button", { type: "button", onClick: () => n.seriesLink && S?.(n.seriesLink.invoiceId), className: "ttw:text-left ttw:text-primary ttw:hover:underline", children: n.seriesLink.title })
426
434
  ] }) : null
427
435
  ] }) })
428
436
  ] }),
429
- A ? null : /* @__PURE__ */ r(B, { value: "line-items", children: [
430
- /* @__PURE__ */ e(z, { children: /* @__PURE__ */ r("span", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
437
+ D ? null : /* @__PURE__ */ r(j, { value: "line-items", children: [
438
+ /* @__PURE__ */ e(H, { children: /* @__PURE__ */ r("span", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
431
439
  /* @__PURE__ */ e("span", { className: "ttw:group-hover:underline", children: t._("Line items") }),
432
- /* @__PURE__ */ e($, { variant: "secondary", className: "ttw:rounded-full", children: n.lineItems.length })
440
+ /* @__PURE__ */ e(T, { variant: "secondary", className: "ttw:rounded-full", children: n.lineItems.length })
433
441
  ] }) }),
434
- /* @__PURE__ */ e(V, { children: /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
435
- n.lineItems.length === 0 ? /* @__PURE__ */ e(s, { variant: "body2", color: "muted", className: "ttw:py-3", children: t._("No line items.") }) : n.lineItems.map((a) => /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-start ttw:justify-between ttw:border-b ttw:border-border ttw:py-3", children: [
442
+ /* @__PURE__ */ e(U, { children: /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
443
+ n.lineItems.length === 0 ? /* @__PURE__ */ e(o, { variant: "body2", color: "muted", className: "ttw:py-3", children: t._("No line items.") }) : n.lineItems.map((a) => /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-start ttw:justify-between ttw:border-b ttw:border-border ttw:py-3", children: [
436
444
  /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
437
- /* @__PURE__ */ e(s, { component: "span", variant: "body2", className: "ttw:font-medium", children: a.name }),
438
- /* @__PURE__ */ e(s, { component: "span", variant: "body2", color: "muted", children: t._("{quantity} x {price} ea", {
445
+ /* @__PURE__ */ e(o, { component: "span", variant: "body2", className: "ttw:font-medium", children: a.name }),
446
+ /* @__PURE__ */ e(o, { component: "span", variant: "body2", color: "muted", children: t._("{quantity} x {price} ea", {
439
447
  quantity: a.quantityLabel,
440
448
  price: a.unitPriceLabel
441
449
  }) })
442
450
  ] }),
443
- /* @__PURE__ */ e(s, { component: "span", variant: "body2", children: a.totalLabel })
451
+ /* @__PURE__ */ e(o, { component: "span", variant: "body2", children: a.totalLabel })
444
452
  ] }, a.id)),
445
453
  n.lineItemTotals.length > 0 ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-1 ttw:py-3", children: n.lineItemTotals.map((a) => /* @__PURE__ */ r("div", { className: G("ttw:flex ttw:justify-between", a.emphasis && "ttw:font-medium"), children: [
446
- /* @__PURE__ */ e(s, { component: "span", variant: "body2", children: a.label }),
447
- /* @__PURE__ */ e(s, { component: "span", variant: "body2", children: a.value })
454
+ /* @__PURE__ */ e(o, { component: "span", variant: "body2", children: a.label }),
455
+ /* @__PURE__ */ e(o, { component: "span", variant: "body2", children: a.value })
448
456
  ] }, a.label)) }) : null
449
457
  ] }) })
450
458
  ] }),
451
- !A && n.notes ? /* @__PURE__ */ r(B, { value: "notes", children: [
452
- /* @__PURE__ */ e(z, { children: /* @__PURE__ */ r("span", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
459
+ !D && n.notes ? /* @__PURE__ */ r(j, { value: "notes", children: [
460
+ /* @__PURE__ */ e(H, { children: /* @__PURE__ */ r("span", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
453
461
  /* @__PURE__ */ e("span", { className: "ttw:group-hover:underline", children: t._("Notes") }),
454
- /* @__PURE__ */ e($, { variant: "secondary", className: "ttw:rounded-full", children: [n.notes.opening, n.notes.closing].filter(Boolean).length })
462
+ /* @__PURE__ */ e(T, { variant: "secondary", className: "ttw:rounded-full", children: [n.notes.opening, n.notes.closing].filter(Boolean).length })
455
463
  ] }) }),
456
- /* @__PURE__ */ e(V, { children: /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-3", children: [{
464
+ /* @__PURE__ */ e(U, { children: /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-3", children: [{
457
465
  label: t._("Opening note to customer"),
458
466
  text: n.notes.opening
459
467
  }, {
460
468
  label: t._("Closing note to customer"),
461
469
  text: n.notes.closing
462
470
  }].filter((a) => a.text).map((a) => /* @__PURE__ */ r("div", { children: [
463
- /* @__PURE__ */ e(s, { variant: "body2", className: "ttw:mb-1 ttw:font-medium", children: a.label }),
464
- /* @__PURE__ */ e(s, { variant: "body2", color: "muted", children: a.text })
471
+ /* @__PURE__ */ e(o, { variant: "body2", className: "ttw:mb-1 ttw:font-medium", children: a.label }),
472
+ /* @__PURE__ */ e(o, { variant: "body2", color: "muted", children: a.text })
465
473
  ] }, a.label)) }) })
466
474
  ] }) : null,
467
- /* @__PURE__ */ e(Jt, { attachments: i.attachments ?? [] })
475
+ /* @__PURE__ */ e(ti, { attachments: i.attachments ?? [] })
468
476
  ] }),
469
- A && c && p ? /* @__PURE__ */ r("section", { "aria-label": c.scheduleTitle, className: "ttw:border-t ttw:border-border ttw:py-4", children: [
470
- /* @__PURE__ */ e(s, { component: "h3", variant: "body2", className: "ttw:mb-3 ttw:font-medium", children: c.scheduleTitle }),
471
- /* @__PURE__ */ e(ii, { invoice: i, recurrence: p, openInvoiceDetails: k })
477
+ D && c && p ? /* @__PURE__ */ r("section", { "aria-label": c.scheduleTitle, className: "ttw:border-t ttw:border-border ttw:py-4", children: [
478
+ /* @__PURE__ */ e(o, { component: "h3", variant: "body2", className: "ttw:mb-3 ttw:font-medium", children: c.scheduleTitle }),
479
+ /* @__PURE__ */ e(li, { invoice: i, recurrence: p, openInvoiceDetails: S })
472
480
  ] }) : null
473
481
  ] })
474
482
  ] })
475
483
  ] });
476
484
  };
477
- return /* @__PURE__ */ r($e, { children: [
478
- E && i && /* @__PURE__ */ e(Qt, { isOpen: E, invoice: i, issueIntent: ne !== "edit", onUpdated: (o, l) => {
479
- N(!1);
480
- const c = ne !== "issue";
481
- I("edit"), Ue?.onUpdate?.(o.id, o), l.issued && c && l.hasCustomerEmail ? b({
485
+ return /* @__PURE__ */ r(Fe, { children: [
486
+ B && i && /* @__PURE__ */ e(ri, { isOpen: B, invoice: i, issueIntent: ce !== "edit", embeddedBankName: Ye, onUpdated: (s, l) => {
487
+ x(!1);
488
+ const c = ce !== "issue";
489
+ C("edit"), Qe?.onUpdate?.(s.id, s), l.issued && c && l.hasCustomerEmail ? b({
482
490
  action: "issue",
483
491
  isEditFlow: !1,
484
492
  inlineLineItems: l.inlineLineItems,
485
493
  issue: {
486
- receivableId: o.id,
494
+ receivableId: s.id,
487
495
  counterpartId: l.counterpartId
488
496
  }
489
497
  }) : l.issued && l.inlineLineItems.length > 0 ? b({
@@ -496,38 +504,38 @@ const Ir = (d) => /* @__PURE__ */ e(ct, { children: /* @__PURE__ */ e(ci, { ...d
496
504
  inlineLineItems: l.inlineLineItems
497
505
  });
498
506
  }, onCancel: () => {
499
- N(!1), I("edit");
507
+ x(!1), C("edit");
500
508
  } }),
501
- /* @__PURE__ */ e(_t, { open: rt, modal: !1, onOpenChange: _, children: /* @__PURE__ */ r(
502
- xt,
509
+ /* @__PURE__ */ e(Lt, { open: lt, modal: !1, onOpenChange: N, children: /* @__PURE__ */ r(
510
+ Rt,
503
511
  {
504
512
  showCloseButton: !1,
505
513
  layer: "under-dialogs",
506
514
  className: "ttw:overflow-y-auto ttw:p-0",
507
515
  children: [
508
- /* @__PURE__ */ e(Nt, { hidden: !0, children: t._("Invoice details") }),
509
- nt ? null : /* @__PURE__ */ e(ze, { label: t._("Close"), onClose: _, className: G(P, "ttw:absolute ttw:right-4 ttw:top-4 ttw:z-10") }),
510
- at(),
511
- ae && /* @__PURE__ */ e(ei, { invoiceId: i?.id ?? "", open: ae, onClose: () => se(!1) }),
512
- oe && /* @__PURE__ */ e(ti, { open: oe, onClose: () => le(!1), invoiceId: i?.id ?? "", documentId: i?.type === "invoice" ? i?.document_id : void 0, onDelete: _ }),
513
- ce && /* @__PURE__ */ e(ai, { invoiceId: i?.id ?? "", open: ce, onClose: () => de(!1) }),
514
- me && i?.type === "invoice" && /* @__PURE__ */ e(li, { invoice: i, open: me, onClose: () => ue(!1) }),
515
- pe && i?.counterpart_id && ve && /* @__PURE__ */ e(
516
- Zt,
516
+ /* @__PURE__ */ e(At, { hidden: !0, children: t._("Invoice details") }),
517
+ ct ? null : /* @__PURE__ */ e(Ve, { label: t._("Close"), onClose: N, className: G(k, "ttw:absolute ttw:right-4 ttw:top-4 ttw:z-10") }),
518
+ dt(),
519
+ de && /* @__PURE__ */ e(oi, { invoiceId: i?.id ?? "", open: de, onClose: () => me(!1) }),
520
+ ue && /* @__PURE__ */ e(si, { open: ue, onClose: () => pe(!1), invoiceId: i?.id ?? "", documentId: i?.type === "invoice" ? i?.document_id : void 0, onDelete: N }),
521
+ we && /* @__PURE__ */ e(mi, { invoiceId: i?.id ?? "", open: we, onClose: () => fe(!1) }),
522
+ he && i?.type === "invoice" && /* @__PURE__ */ e(wi, { invoice: i, open: he, onClose: () => ve(!1) }),
523
+ be && i?.counterpart_id && Ne && /* @__PURE__ */ e(
524
+ ai,
517
525
  {
518
526
  counterpartId: i.counterpart_id,
519
- open: pe,
520
- onClose: () => we(!1),
527
+ open: be,
528
+ onClose: () => ye(!1),
521
529
  showActionsMenu: !1,
522
530
  customerType: "customer"
523
531
  }
524
532
  ),
525
- g && /* @__PURE__ */ e(Kt, { open: !0, isEditFlow: g.isEditFlow, action: g.action, issue: g.issue, inlineLineItems: g.inlineLineItems, onClose: () => b(null) })
533
+ _ && /* @__PURE__ */ e(ii, { open: !0, isEditFlow: _.isEditFlow, action: _.action, issue: _.issue, inlineLineItems: _.inlineLineItems, onClose: () => b(null) })
526
534
  ]
527
535
  }
528
536
  ) })
529
537
  ] });
530
538
  };
531
539
  export {
532
- Ir as InvoiceDetailsPanel
540
+ Tr as InvoiceDetailsPanel
533
541
  };