@tesouro/embedded-components-react 0.2.108 → 0.2.109

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 (402) hide show
  1. package/dist/lib/ReceivablesWidget.js +23 -23
  2. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +23 -23
  3. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +21 -21
  4. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
  5. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
  6. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
  7. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
  8. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
  9. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
  10. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
  11. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
  12. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
  13. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
  14. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +13 -2
  15. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +23 -2
  16. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +2 -24
  17. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
  18. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +2 -8
  19. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +23 -25
  20. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +9 -8
  21. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +9 -46
  22. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +32 -75
  23. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +34 -57
  24. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -197
  25. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -12
  26. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +25 -14
  27. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -38
  28. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
  29. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +59 -25
  30. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +398 -82
  31. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +69 -9
  32. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +2 -80
  33. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +406 -28
  34. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +8 -63
  35. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +43 -39
  36. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +75 -6
  37. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +58 -5
  38. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +195 -116
  39. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
  40. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +11 -69
  41. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +14 -190
  42. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +39 -31
  43. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +21 -106
  44. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +74 -129
  45. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +9 -20
  46. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +78 -19
  47. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +28 -22
  48. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +62 -25
  49. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +42 -183
  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 +7 -13
  52. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +5 -22
  53. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +116 -48
  54. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +70 -4
  55. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +190 -5
  56. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +29 -86
  57. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +108 -34
  58. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +135 -6
  59. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +18 -45
  60. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +19 -48
  61. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +20 -202
  62. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +19 -419
  63. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +183 -24
  64. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +11 -25
  65. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +19 -10
  66. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +48 -18
  67. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +7 -20
  68. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +4 -2
  69. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +25 -11
  70. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +5 -22
  71. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +56 -44
  72. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +37 -6
  73. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +6 -20
  74. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +47 -27
  75. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +37 -104
  76. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +197 -62
  77. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +427 -33
  78. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +24 -15
  79. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +76 -14
  80. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +5 -11
  81. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +33 -23
  82. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +32 -10
  83. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +8 -5
  84. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +12 -35
  85. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +26 -4
  86. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +14 -2
  87. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +12 -25
  88. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +120 -1270
  89. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +10 -30
  90. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +48 -11
  91. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
  92. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +49 -12
  93. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +10 -22
  94. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +44 -12
  95. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +15 -12
  96. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +11 -121
  97. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +150 -10
  98. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +50 -42
  99. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +70 -48
  100. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +27 -12
  101. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +3 -46
  102. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
  103. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +99 -11
  104. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +57 -152
  105. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +25 -55
  106. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +13 -71
  107. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +17 -26
  108. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +21 -3
  109. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +2 -99
  110. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +12 -57
  111. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +20 -24
  112. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +19 -93
  113. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +27 -101
  114. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +113 -14
  115. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +68 -12
  116. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +8 -8
  117. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +12 -33
  118. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +25 -12
  119. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +96 -36
  120. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +100 -50
  121. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +18 -34
  122. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +14 -66
  123. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +13 -345
  124. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +7 -2
  125. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +33 -18
  126. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +100 -13
  127. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +26 -14
  128. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +6 -14
  129. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +12 -14
  130. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +7 -21
  131. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +9 -36
  132. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +209 -32
  133. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +10 -15
  134. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +11 -16
  135. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +12 -248
  136. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +2 -12
  137. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +34 -17
  138. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +51 -26
  139. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +34 -40
  140. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +66 -58
  141. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +345 -51
  142. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +2 -30
  143. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
  144. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +19 -97
  145. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +12 -45
  146. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +11 -144
  147. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +11 -106
  148. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +13 -100
  149. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +21 -26
  150. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +37 -6
  151. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +37 -12
  152. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +15 -7
  153. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +17 -10
  154. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
  155. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +243 -209
  156. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +12 -10
  157. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +19 -12
  158. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +26 -12
  159. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +36 -43
  160. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +56 -27
  161. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +52 -5
  162. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +28 -75
  163. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +98 -32
  164. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +46 -19
  165. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
  166. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +137 -136
  167. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +109 -86
  168. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +142 -22
  169. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +86 -60
  170. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +25 -397
  171. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +61 -67
  172. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +28 -2
  173. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +125 -405
  174. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +44 -22
  175. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +72 -56
  176. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
  177. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +39 -27
  178. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +340 -53
  179. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +301 -18
  180. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +97 -61
  181. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +162 -2
  182. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +267 -7
  183. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +23 -33
  184. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +19 -23
  185. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +7 -41
  186. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +157 -70
  187. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
  188. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +28 -149
  189. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +29 -10
  190. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +76 -17
  191. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +6 -6
  192. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +4 -4
  193. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +1 -1
  194. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +6 -6
  195. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
  196. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +487 -17
  197. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +162 -37
  198. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +2 -14
  199. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +93 -77
  200. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +95 -39
  201. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +190 -345
  202. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +13 -302
  203. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +71 -94
  204. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +76 -161
  205. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +41 -264
  206. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
  207. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
  208. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +149 -25
  209. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +19 -20
  210. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +17 -484
  211. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +24 -158
  212. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +62 -74
  213. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +41 -42
  214. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +24 -62
  215. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +138 -25
  216. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +112 -127
  217. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +80 -158
  218. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
  219. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +285 -28
  220. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +48 -28
  221. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +15 -78
  222. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +86 -2
  223. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +223 -94
  224. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +35 -93
  225. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +10 -191
  226. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +6 -29
  227. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +8 -62
  228. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +11 -42
  229. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
  230. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +6 -24
  231. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +2 -141
  232. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +17 -108
  233. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +42 -81
  234. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +22 -285
  235. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +55 -47
  236. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +28 -14
  237. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +57 -83
  238. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +18 -223
  239. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +90 -33
  240. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
  241. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +17 -11
  242. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +82 -8
  243. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +17 -11
  244. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +49 -11
  245. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +11 -6
  246. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +50 -2
  247. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +17 -93
  248. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +29 -16
  249. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +37 -80
  250. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +63 -17
  251. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
  252. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +92 -46
  253. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +110 -10
  254. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +85 -47
  255. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +65 -18
  256. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +45 -28
  257. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +20 -33
  258. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +5 -63
  259. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +74 -93
  260. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +32 -112
  261. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +19 -87
  262. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +1 -1
  263. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +1 -1
  264. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +3 -3
  265. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
  266. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +1 -1
  267. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +1 -1
  268. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
  269. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +2 -2
  270. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +1 -1
  271. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +5 -5
  272. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +1 -1
  273. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
  274. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +30 -9
  275. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +120 -13
  276. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +18 -24
  277. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +16 -50
  278. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +16 -7
  279. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +16 -54
  280. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +16 -18
  281. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +69 -65
  282. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -47
  283. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
  284. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +16 -28
  285. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +16 -22
  286. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +11 -32
  287. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +9 -27
  288. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +91 -33
  289. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +33 -118
  290. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +35 -18
  291. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +22 -16
  292. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +67 -16
  293. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +19 -16
  294. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
  295. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
  296. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +21 -16
  297. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +14 -94
  298. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +15 -32
  299. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +8 -29
  300. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +63 -69
  301. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +21 -16
  302. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +2 -16
  303. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +5 -16
  304. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +32 -11
  305. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +5 -5
  306. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
  307. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +127 -32
  308. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +12 -5
  309. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +29 -127
  310. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +23 -21
  311. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +38 -66
  312. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +32 -18
  313. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +85 -21
  314. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +24 -16
  315. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +11 -21
  316. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +103 -12
  317. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
  318. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +107 -62
  319. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +22 -21
  320. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +28 -2
  321. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +37 -9
  322. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +68 -32
  323. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +47 -85
  324. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +27 -23
  325. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +31 -102
  326. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +53 -111
  327. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +36 -12
  328. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
  329. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +25 -28
  330. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +8 -24
  331. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +7 -39
  332. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +49 -70
  333. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +17 -67
  334. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +70 -34
  335. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +68 -54
  336. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +35 -32
  337. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +29 -26
  338. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +66 -31
  339. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
  340. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +57 -8
  341. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +41 -29
  342. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +14 -67
  343. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +21 -54
  344. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +48 -39
  345. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +71 -17
  346. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +83 -31
  347. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +51 -92
  348. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +52 -14
  349. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +54 -74
  350. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
  351. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +29 -21
  352. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +57 -9
  353. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +37 -54
  354. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +44 -69
  355. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +72 -21
  356. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +21 -19
  357. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +50 -48
  358. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +81 -57
  359. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +39 -32
  360. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +33 -82
  361. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
  362. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +95 -39
  363. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +16 -30
  364. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +75 -54
  365. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +20 -41
  366. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +9 -37
  367. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +41 -14
  368. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +35 -72
  369. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +13 -83
  370. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +16 -52
  371. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +49 -52
  372. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
  373. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +56 -52
  374. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +28 -35
  375. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +50 -43
  376. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +12 -49
  377. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +19 -15
  378. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +9 -64
  379. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +64 -9
  380. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +51 -47
  381. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +53 -49
  382. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +35 -48
  383. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
  384. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +17 -40
  385. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +48 -20
  386. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
  387. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
  388. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
  389. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -1
  390. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
  391. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
  392. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
  393. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
  394. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
  395. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
  396. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
  397. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +5 -5
  398. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
  399. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +22 -22
  400. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  401. package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +23 -23
  402. package/package.json +1 -1
@@ -1,51 +1,59 @@
1
- import { jsx as c } from "@emotion/react/jsx-runtime";
2
- import { Badge as g } from "./index217.js";
3
- import { cn as w } from "./index100.js";
4
- import { useLingui as u } from "@lingui/react";
5
- import { cva as _ } from "class-variance-authority";
6
- import { isBillOverdue as f } from "./index200.js";
7
- function m(t) {
8
- return t === "waiting_to_be_paid" || t === "partially_paid" ? "ready_to_pay" : t === "new" || t === "draft" ? "draft" : t === "approve_in_progress" ? "pending_approval" : t === "rejected" ? "rejected" : t === "paid" ? "paid" : "cancelled";
9
- }
10
- function v(t, a, r) {
11
- const e = {
12
- overdue: t._("Overdue"),
13
- ready_to_pay: t._("Ready to pay"),
14
- pending_approval: t._("Pending approval"),
15
- rejected: t._("Rejected"),
16
- draft: t._("New"),
17
- paid: t._("Paid"),
18
- cancelled: t._("Cancelled")
19
- };
20
- return r ? e.overdue : e[a];
21
- }
22
- const b = _("", {
1
+ import { jsxs as c, jsx as e } from "@emotion/react/jsx-runtime";
2
+ import { useState as g } from "react";
3
+ import { Button as f } from "./index84.js";
4
+ import { cn as l } from "./index100.js";
5
+ import { cva as p } from "class-variance-authority";
6
+ import { X as u } from "lucide-react";
7
+ const b = p("ttw:relative ttw:w-full ttw:rounded-lg ttw:pl-4 ttw:pt-3 ttw:pr-3 ttw:pb-4 ttw:flex ttw:items-start ttw:gap-4", {
23
8
  variants: {
24
9
  variant: {
25
- overdue: "ttw:bg-red-100 ttw:text-red-700",
26
- ready_to_pay: "ttw:bg-green-100 ttw:text-green-700",
27
- pending_approval: "ttw:bg-blue-100 ttw:text-blue-700",
28
- rejected: "ttw:bg-orange-100 ttw:text-orange-700",
29
- draft: "ttw:bg-neutral-100 ttw:text-neutral-700",
30
- paid: "ttw:bg-white ttw:text-green-700",
31
- cancelled: "ttw:bg-white ttw:text-neutral-400"
10
+ default: "ttw:bg-background ttw:text-foreground",
11
+ info: "ttw:bg-blue-50 ttw:text-blue-900 ttw:dark:bg-blue-950 ttw:dark:text-blue-100",
12
+ warning: "ttw:bg-yellow-50 ttw:text-yellow-900 ttw:dark:bg-yellow-950 ttw:dark:text-yellow-100",
13
+ error: "ttw:bg-red-50 ttw:text-red-900 ttw:dark:bg-red-950 ttw:dark:text-red-100",
14
+ success: "ttw:bg-green-50 ttw:text-green-900 ttw:dark:bg-green-950 ttw:dark:text-green-100"
32
15
  }
16
+ },
17
+ defaultVariants: {
18
+ variant: "default"
33
19
  }
34
- }), C = ({
35
- status: t,
36
- dueDate: a,
20
+ }), x = ({
37
21
  className: r,
38
- showBadgeBackground: e = !0,
39
- showOverdueBadge: i = !1,
40
- ref: o
22
+ variant: a,
23
+ icon: t,
24
+ children: w,
25
+ ref: n,
26
+ onClose: s,
27
+ enableClose: i = !0,
28
+ ...o
41
29
  }) => {
42
- const {
43
- i18n: p
44
- } = u(), l = f(t, a), n = m(t), d = n === "paid", s = d ? !1 : e;
45
- return /* @__PURE__ */ c(g, { ref: o, className: w("ttw:inline-flex ttw:items-center ttw:gap-1", b({
46
- variant: l ? "overdue" : n
47
- }), !e && !d && "ttw:text-zinc-950!", r), showBadgeBackground: s, children: v(p, n, i) });
30
+ const [d, m] = g(!1);
31
+ return d ? null : /* @__PURE__ */ c("div", { ref: n, role: "alert", className: l(b({
32
+ variant: a
33
+ }), r), ...o, children: [
34
+ t && /* @__PURE__ */ e("div", { className: "ttw:shrink-0 ttw:h-8 ttw:w-8 ttw:mt-1", children: t }),
35
+ /* @__PURE__ */ e("div", { className: "ttw:flex-1", children: w }),
36
+ i && /* @__PURE__ */ e(f, { variant: "ghost", size: "icon", className: "ttw:h-8 ttw:w-8 ttw:rounded-md ttw:bg-transparent ttw:opacity-70 ttw:hover:opacity-100", onClick: () => {
37
+ s && s(), m(!0);
38
+ }, "aria-label": "Close alert", children: /* @__PURE__ */ e(u, {}) })
39
+ ] });
48
40
  };
41
+ x.displayName = "Alert";
42
+ const h = ({
43
+ className: r,
44
+ ref: a,
45
+ ...t
46
+ }) => /* @__PURE__ */ e("h3", { ref: a, className: l("ttw:mb-1 ttw:font-medium ttw:leading-none ttw:tracking-tight", r), ...t });
47
+ h.displayName = "AlertTitle";
48
+ const k = ({
49
+ className: r,
50
+ ref: a,
51
+ ...t
52
+ }) => /* @__PURE__ */ e("p", { ref: a, className: l("ttw:text-sm ttw:[&_p]:leading-relaxed ttw:font-normal", r), ...t });
53
+ k.displayName = "AlertDescription";
49
54
  export {
50
- C as PayableStatusChip
55
+ x as Alert,
56
+ k as AlertDescription,
57
+ h as AlertTitle,
58
+ b as alertVariants
51
59
  };
@@ -1,51 +1,73 @@
1
- import { jsx as t, Fragment as u, jsxs as a } from "@emotion/react/jsx-runtime";
2
- import { Button as c } from "./index84.js";
3
- import { Typography as o } from "./index85.js";
4
- import { useLingui as b } from "@lingui/react";
5
- import { Landmark as x, Plus as y } from "lucide-react";
6
- import { useState as k } from "react";
7
- import { twMerge as N } from "tailwind-merge";
8
- import { CounterpartBankFormContent as C } from "./index346.js";
9
- import { CounterpartBankForm as h } from "./index347.js";
10
- const E = ({
11
- isStandalone: f,
12
- counterpartId: i,
13
- bankAccount: e,
14
- isUpdateAllowed: d,
15
- isDeleteAllowed: w,
16
- onRemoveClick: g,
17
- isLoading: m
18
- }) => {
19
- const {
20
- i18n: r
21
- } = b(), [v, l] = k(!1), p = !!e, s = p && (!e?.account_holder_name || !e?.account_number || !e?.routing_number), n = () => {
22
- l(!1);
23
- };
24
- return v ? /* @__PURE__ */ t(u, { children: f && i ? /* @__PURE__ */ t(u, { children: e ? /* @__PURE__ */ t(h, { bankAccount: e, handleClose: n, counterpartId: i, onUpdate: n, isStandalone: !0 }) : /* @__PURE__ */ t(h, { handleClose: n, counterpartId: i, onCreate: n, isStandalone: !0 }) }) : /* @__PURE__ */ t(C, { hasExistingBankAccount: !1, handleCancel: n, isLoading: m, isStandalone: !1 }) }) : /* @__PURE__ */ a("div", { className: N("ttw:flex ttw:items-start ttw:gap-3 ttw:p-3 ttw:rounded-lg ttw:border ttw:border-border", s ? "ttw:border-danger" : "ttw:border-border"), children: [
25
- /* @__PURE__ */ t("div", { className: "ttw:p-2 ttw:text-white ttw:flex ttw:items-center ttw:justify-center ttw:bg-primary ttw:rounded-lg", children: /* @__PURE__ */ t(x, { className: "ttw:size-4" }) }),
26
- p ? /* @__PURE__ */ a("div", { className: "ttw:flex ttw:items-center ttw:flex-1 ttw:gap-0.5", children: [
27
- /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5 ttw:flex-1", children: [
28
- /* @__PURE__ */ t(o, { variant: "body2", className: "ttw:leading-5", children: r._("ACH bank transfer") }),
29
- /* @__PURE__ */ t(o, { variant: "caption", color: s ? "destructive" : "muted", className: "ttw:leading-4", children: s ? r._("Incomplete") : r._("Account ending in {last4}", {
30
- last4: e?.account_number?.slice(e.account_number?.length - 4)
31
- }) })
32
- ] }),
33
- (d || w) && /* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-3 ttw:items-center", children: [
34
- d && /* @__PURE__ */ t(c, { type: "button", variant: "ghost", className: "ttw:text-primary ttw:p-0 ttw:hover:text-primary ttw:hover:underline ttw:w-fit ttw:hover:bg-transparent", onClick: () => l(!0), children: r._("Edit") }),
35
- w && /* @__PURE__ */ t(c, { type: "button", variant: "ghost", className: "ttw:text-primary ttw:p-0 ttw:hover:text-primary ttw:hover:underline ttw:w-fit ttw:hover:bg-transparent", onClick: () => g?.(), children: r._("Remove") })
36
- ] })
37
- ] }) : /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
38
- /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
39
- /* @__PURE__ */ t(o, { variant: "body2", className: "ttw:leading-5", children: r._("ACH bank transfer") }),
40
- /* @__PURE__ */ t(o, { variant: "caption", color: "muted", className: "ttw:leading-4", children: r._("Fast, direct deposit to the vendor's bank. Arrives in 1–3 business days.") })
41
- ] }),
42
- /* @__PURE__ */ a(c, { type: "button", variant: "ghost", className: "ttw:text-primary ttw:hover:text-primary/70 ttw:w-fit ttw:px-0 ttw:has-[>svg]:px-0 ttw:py-2 ttw:hover:bg-transparent", onClick: () => l(!0), disabled: m, children: [
43
- /* @__PURE__ */ t(y, {}),
44
- r._("Add bank account")
45
- ] })
46
- ] })
1
+ import { jsx as l, jsxs as f } from "@emotion/react/jsx-runtime";
2
+ import { useMemo as c } from "react";
3
+ import { cva as w } from "class-variance-authority";
4
+ import { cn as o } from "./index100.js";
5
+ import { Label as m } from "./index278.js";
6
+ import "radix-ui";
7
+ const u = w("ttw:group/field ttw:flex ttw:w-full ttw:gap-3 ttw:data-[invalid=true]:text-destructive", {
8
+ variants: {
9
+ orientation: {
10
+ vertical: ["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],
11
+ horizontal: ["flex-row items-center", "[&>[data-slot=field-label]]:flex-auto", "has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"],
12
+ responsive: ["flex-col @md/field-group:flex-row @md/field-group:items-center [&>*]:w-full @md/field-group:[&>*]:w-auto [&>.sr-only]:w-auto", "@md/field-group:[&>[data-slot=field-label]]:flex-auto", "@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"]
13
+ }
14
+ },
15
+ defaultVariants: {
16
+ orientation: "vertical"
17
+ }
18
+ });
19
+ function N({
20
+ className: e,
21
+ orientation: t = "vertical",
22
+ ...a
23
+ }) {
24
+ return /* @__PURE__ */ l("div", { role: "group", "data-slot": "field", "data-orientation": t, className: o(u({
25
+ orientation: t
26
+ }), e), ...a });
27
+ }
28
+ function k({
29
+ className: e,
30
+ ...t
31
+ }) {
32
+ return /* @__PURE__ */ l("div", { "data-slot": "field-content", className: o("ttw:group/field-content ttw:flex ttw:flex-1 ttw:flex-col ttw:gap-1.5 ttw:leading-snug", e), ...t });
33
+ }
34
+ function y({
35
+ className: e,
36
+ required: t,
37
+ children: a,
38
+ ...i
39
+ }) {
40
+ return /* @__PURE__ */ f(m, { "data-slot": "field-label", className: o("ttw:group/field-label ttw:peer/field-label ttw:flex ttw:w-fit ttw:items-center ttw:gap-2 ttw:leading-snug ttw:group-data-[disabled=true]/field:opacity-50", "ttw:has-[>[data-slot=field]]:w-full ttw:has-[>[data-slot=field]]:flex-col ttw:has-[>[data-slot=field]]:rounded-md ttw:has-[>[data-slot=field]]:border ttw:[&>*]:data-[slot=field]:p-4", "ttw:has-data-[state=checked]:border-primary ttw:has-data-[state=checked]:bg-primary/5 ttw:dark:has-data-[state=checked]:bg-primary/10", e), ...i, children: [
41
+ a,
42
+ t && /* @__PURE__ */ l("span", { "aria-hidden": "true", className: "ttw:size-2 ttw:-ml-1 ttw:block ttw:-mt-1 ttw:rounded-full ttw:bg-destructive ttw:shrink-0" })
47
43
  ] });
48
- };
44
+ }
45
+ function F({
46
+ className: e,
47
+ ...t
48
+ }) {
49
+ return /* @__PURE__ */ l("p", { "data-slot": "field-description", className: o("ttw:text-sm ttw:leading-normal ttw:font-normal ttw:text-muted-foreground ttw:group-has-[[data-orientation=horizontal]]/field:text-balance", "ttw:last:mt-0 ttw:nth-last-2:-mt-1 ttw:[[data-variant=legend]+&]:-mt-1.5", "ttw:[&>a]:underline ttw:[&>a]:underline-offset-4 ttw:[&>a:hover]:text-primary", e), ...t });
50
+ }
51
+ function z({
52
+ className: e,
53
+ children: t,
54
+ errors: a,
55
+ ...i
56
+ }) {
57
+ const d = c(() => {
58
+ if (t)
59
+ return t;
60
+ if (!a?.length)
61
+ return null;
62
+ const s = [...new Map(a.map((r) => [r?.message, r])).values()];
63
+ return s?.length == 1 ? s[0]?.message : /* @__PURE__ */ l("ul", { className: "ttw:ml-4 ttw:flex ttw:list-disc ttw:flex-col ttw:gap-1", children: s.map((r, n) => r?.message && /* @__PURE__ */ l("li", { children: r.message }, n)) });
64
+ }, [t, a]);
65
+ return d ? /* @__PURE__ */ l("div", { role: "alert", "data-slot": "field-error", className: o("ttw:text-sm ttw:font-normal ttw:text-destructive", e), ...i, children: d }) : null;
66
+ }
49
67
  export {
50
- E as CounterpartBankSection
68
+ N as Field,
69
+ k as FieldContent,
70
+ F as FieldDescription,
71
+ z as FieldError,
72
+ y as FieldLabel
51
73
  };
@@ -1,16 +1,31 @@
1
- import { useMoniteContext as n } from "./index57.js";
2
- const o = (t) => {
1
+ import { jsxs as l, jsx as e } from "@emotion/react/jsx-runtime";
2
+ import { Select as s, SelectTrigger as o, SelectValue as c, SelectContent as m, SelectItem as i } from "./index269.js";
3
+ import { Input as d } from "./index122.js";
4
+ import { useLingui as u } from "@lingui/react";
5
+ import { FILTER_TYPE_SEARCH as w, FILTER_TYPE_TYPE as h } from "./index199.js";
6
+ const T = ({
7
+ onChangeFilter: r,
8
+ isDisabled: n
9
+ }) => {
3
10
  const {
4
- api: e
5
- } = n();
6
- return e.finops.getCounterpartsIdBankAccounts.useQuery({
7
- path: {
8
- counterpart_id: t ?? ""
9
- }
10
- }, {
11
- enabled: !!t
12
- });
11
+ i18n: t
12
+ } = u();
13
+ return /* @__PURE__ */ l("div", { className: "ttw:flex ttw:justify-between ttw:items-center ttw:gap-4 ttw:px-4", children: [
14
+ /* @__PURE__ */ e(d, { className: "ttw:max-w-100 ttw:w-full", placeholder: t._("Search by name"), onChange: (a) => {
15
+ r(w, a.target.value);
16
+ }, disabled: n }),
17
+ /* @__PURE__ */ l(s, { defaultValue: "all", onValueChange: (a) => {
18
+ r(h, a);
19
+ }, children: [
20
+ /* @__PURE__ */ e(o, { className: "ttw:max-w-40 ttw:w-full", children: /* @__PURE__ */ e(c, {}) }),
21
+ /* @__PURE__ */ l(m, { children: [
22
+ /* @__PURE__ */ e(i, { value: "all", children: t._("All types") }),
23
+ /* @__PURE__ */ e(i, { value: "individual", children: t._("Individuals") }),
24
+ /* @__PURE__ */ e(i, { value: "organization", children: t._("Companies") })
25
+ ] })
26
+ ] })
27
+ ] });
13
28
  };
14
29
  export {
15
- o as useCounterpartsBankAccountsList
30
+ T as CounterpartTableFilters
16
31
  };
@@ -1,48 +1,5 @@
1
- import { jsx as t, Fragment as f, jsxs as r } from "@emotion/react/jsx-runtime";
2
- import { Button as h } from "./index84.js";
3
- import { Typography as a } from "./index85.js";
4
- import { useLingui as g } from "@lingui/react";
5
- import { Plus as b } from "lucide-react";
6
- import { useState as N } from "react";
7
- import { CounterpartAddressFormContent as C } from "./index348.js";
8
- import { CounterpartAddressForm as y } from "./index349.js";
9
- import { twMerge as A } from "tailwind-merge";
10
- const k = ({
11
- isStandalone: p,
12
- counterpartId: n,
13
- counterpartAddress: e,
14
- isUpdateAllowed: v,
15
- isLoading: u,
16
- customerType: d
17
- }) => {
18
- const {
19
- i18n: o
20
- } = g(), [x, i] = N(!p), l = !!e, m = e?.city || "", c = e?.state || "", w = e?.postal_code || "", s = () => {
21
- i(!1);
22
- };
23
- return x ? /* @__PURE__ */ t(f, { children: p && n ? /* @__PURE__ */ t(f, { children: e ? /* @__PURE__ */ t(y, { address: e, handleClose: s, counterpartId: n, onUpdate: s, isStandalone: !0, customerType: d }) : /* @__PURE__ */ t(y, { handleClose: s, counterpartId: n, onCreate: s, isStandalone: !0, customerType: d }) }) : /* @__PURE__ */ t(C, { hasExistingAddress: !1, isLoading: u, isStandalone: !1, customerType: d }) }) : /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
24
- /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7", children: [
25
- /* @__PURE__ */ r(a, { variant: "body1", className: "ttw:font-medium", children: [
26
- o._("Address"),
27
- " ",
28
- /* @__PURE__ */ t("span", { className: "ttw:text-muted-foreground", children: o._("(optional)") })
29
- ] }),
30
- l && v && /* @__PURE__ */ t(h, { type: "button", variant: "ghost", className: "ttw:text-primary ttw:p-0 ttw:hover:text-primary ttw:hover:underline ttw:w-fit ttw:hover:bg-transparent", onClick: () => i(!0), children: o._("Edit") })
31
- ] }),
32
- /* @__PURE__ */ t("div", { className: A("ttw:flex ttw:items-start ttw:rounded-lg", l ? "ttw:border-none" : "ttw:border ttw:border-border ttw:p-3"), children: l ? /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: [
33
- /* @__PURE__ */ t(a, { variant: "body2", className: "ttw:font-medium", children: e?.line1 }),
34
- e?.line2 && /* @__PURE__ */ t(a, { variant: "body2", className: "ttw:font-medium", children: e.line2 }),
35
- /* @__PURE__ */ t(a, { variant: "body2", className: "ttw:font-medium", children: `${m && m}${m && (c || w) && ","} ${c && c} ${w && w}` }),
36
- /* @__PURE__ */ t(a, { variant: "body2", className: "ttw:font-medium", children: e?.country })
37
- ] }) : /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
38
- /* @__PURE__ */ t(a, { variant: "body2", className: "ttw:leading-5", children: o._("No address on file") }),
39
- /* @__PURE__ */ r(h, { type: "button", variant: "ghost", className: "ttw:text-primary ttw:hover:text-primary/70 ttw:w-fit ttw:px-0 ttw:has-[>svg]:px-0 ttw:py-2 ttw:hover:bg-transparent", onClick: () => i(!0), disabled: u, children: [
40
- /* @__PURE__ */ t(b, {}),
41
- o._("Add address")
42
- ] })
43
- ] }) })
44
- ] });
45
- };
1
+ const E = "search", T = "type";
46
2
  export {
47
- k as CounterpartAddressSection
3
+ E as FILTER_TYPE_SEARCH,
4
+ T as FILTER_TYPE_TYPE
48
5
  };
@@ -1,27 +1,27 @@
1
1
  import { jsx as t, jsxs as r, Fragment as h } from "@emotion/react/jsx-runtime";
2
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 "./index170.js";
4
- import { LoadingSpinner as $t } from "./index171.js";
3
+ import { Sheet as H, SheetContent as q, SheetHeader as Tt, SheetTitle as At, SheetDescription as It, SheetClose as Lt } from "./index178.js";
4
+ import { LoadingSpinner as $t } from "./index179.js";
5
5
  import { useLingui as kt } from "@lingui/react";
6
6
  import { getCounterpartName as T } from "./index7.js";
7
- import { Skeleton as c } from "./index132.js";
7
+ import { Skeleton as c } from "./index145.js";
8
8
  import { useMoniteContext as Bt } from "./index57.js";
9
- import { DropdownMenu as jt, DropdownMenuTrigger as Mt, DropdownMenuContent as Ot, DropdownMenuItem as Ut } from "./index176.js";
9
+ import { DropdownMenu as jt, DropdownMenuTrigger as Mt, DropdownMenuContent as Ot, DropdownMenuItem as Ut } from "./index180.js";
10
10
  import { Button as f } from "./index84.js";
11
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 "./index188.js";
12
+ import { DeleteCounterpartModal as Wt } from "./index181.js";
13
13
  import { useState as A, useCallback as zt, Fragment as Gt } from "react";
14
14
  import { Typography as i } from "./index85.js";
15
15
  import { useCurrencies as Ht } from "./index58.js";
16
- import { Separator as qt } from "./index189.js";
17
- import { CounterpartContactDetailLine as m } from "./index190.js";
16
+ import { Separator as qt } from "./index182.js";
17
+ import { CounterpartContactDetailLine as m } from "./index183.js";
18
18
  import "react-hot-toast";
19
19
  import "date-fns";
20
- import { useDeleteCounterpartBank as Yt } from "./index191.js";
21
- import { useCounterpartAddressesById as Qt } from "./index192.js";
22
- import { useGetCounterpartPayables as Xt } from "./index193.js";
23
- import { EditCounterpart as Zt } from "./index194.js";
24
- import { useUserPermissions as Jt } from "./index120.js";
20
+ import { useDeleteCounterpartBank as Yt } from "./index184.js";
21
+ import { useCounterpartAddressesById as Qt } from "./index185.js";
22
+ import { useGetCounterpartPayables as Xt } from "./index186.js";
23
+ import { EditCounterpart as Zt } from "./index187.js";
24
+ import { useUserPermissions as Jt } from "./index166.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";
@@ -29,20 +29,20 @@ import "@tanstack/react-query";
29
29
  import "../../shared/data-access/dist/lib/rest/zod.gen.js";
30
30
  import { Scope as y } from "../../shared/data-access/dist/lib/scopes.js";
31
31
  import { useGetPayablesAnalytics as I } from "./index35.js";
32
- import { useGetReceivables as Kt } from "./index127.js";
33
- import { useGetReceivablesAnalytics as Y } from "./index195.js";
32
+ import { useGetReceivables as Kt } from "./index140.js";
33
+ import { useGetReceivablesAnalytics as Y } from "./index188.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 "./index196.js";
39
- import { CounterpartBankSection as te } from "./index197.js";
40
- import { useCounterpartsBankAccountsList as ee } from "./index198.js";
38
+ import { PayableStatusChip as Q } from "./index189.js";
39
+ import { CounterpartBankSection as te } from "./index190.js";
40
+ import { useCounterpartsBankAccountsList as ee } from "./index191.js";
41
41
  import { MoniteScopedProviders as ae } from "./index83.js";
42
42
  import { InvoiceStatusChip as re } from "./index55.js";
43
- import { CounterpartAddressSection as ie } from "./index199.js";
44
- import { NotFound as oe } from "./index177.js";
45
- import { isBillOverdue as ne } from "./index200.js";
43
+ import { CounterpartAddressSection as ie } from "./index192.js";
44
+ import { NotFound as oe } from "./index193.js";
45
+ import { isBillOverdue as ne } from "./index194.js";
46
46
  const Ke = (n) => /* @__PURE__ */ t(ae, { children: /* @__PURE__ */ t(de, { ...n }) }), de = ({
47
47
  counterpartId: n,
48
48
  customerType: u,
@@ -1,13 +1,101 @@
1
- const r = /* @__PURE__ */ new Set(["new", "approve_in_progress", "waiting_to_be_paid", "partially_paid"]);
2
- function i(s, e) {
3
- if (e && r.has(s)) {
4
- const t = /* @__PURE__ */ new Date();
5
- t.setUTCHours(0, 0, 0, 0);
6
- const n = new Date(e);
7
- return n.setUTCHours(0, 0, 0, 0), n.getTime() < t.getTime();
8
- }
9
- return !1;
10
- }
1
+ import { jsx as t, jsxs as r } from "@emotion/react/jsx-runtime";
2
+ import { useState as f } from "react";
3
+ import { toast as n } from "react-hot-toast";
4
+ import "./index57.js";
5
+ import { useLingui as _ } from "@lingui/react";
6
+ import "./index92.js";
7
+ import { useFileInput as z } from "./index61.js";
8
+ import "react-dom";
9
+ import "@mui/x-data-grid";
10
+ import { Button as s } from "./index84.js";
11
+ import { Popover as D, PopoverTrigger as P, PopoverContent as k } from "./index381.js";
12
+ import { cn as F } from "./index100.js";
13
+ import { ChevronUpIcon as I, ChevronDownIcon as U, CloudUpload as j, Copy as A, Plus as E } from "lucide-react";
14
+ const K = ({
15
+ isCreateAllowed: u,
16
+ onCreateInvoice: h,
17
+ handleFileUpload: w
18
+ }) => {
19
+ const {
20
+ i18n: e
21
+ } = _(), [c, a] = f(!1), {
22
+ FileInput: x,
23
+ openFileInput: b,
24
+ checkFileError: y
25
+ } = z(), [g, i] = f(!1), v = (l) => {
26
+ l.preventDefault(), i(!0);
27
+ }, N = (l) => {
28
+ l.preventDefault(), i(!1);
29
+ }, d = 10, C = (l) => {
30
+ l.preventDefault(), i(!1);
31
+ const o = Array.from(l.dataTransfer.files);
32
+ if (o.length > d) {
33
+ n.error(e._("You can only upload up to {fileCount} files at a time", {
34
+ fileCount: d
35
+ })), a(!1);
36
+ return;
37
+ }
38
+ o.forEach((m) => {
39
+ const p = y(m);
40
+ if (p) {
41
+ n.error(p);
42
+ return;
43
+ }
44
+ w(m);
45
+ }), a(!1);
46
+ };
47
+ return /* @__PURE__ */ t("div", { className: "Monite-Payables", children: /* @__PURE__ */ r(D, { open: c, onOpenChange: a, children: [
48
+ /* @__PURE__ */ t(P, { asChild: !0, children: /* @__PURE__ */ r(s, { size: "lg", disabled: !u, children: [
49
+ e._("Add new bill"),
50
+ c ? /* @__PURE__ */ t(I, {}) : /* @__PURE__ */ t(U, {})
51
+ ] }) }),
52
+ /* @__PURE__ */ r(k, { align: "end", className: "ttw:w-auto ttw:min-w-110 ttw:border-none ttw:p-6", children: [
53
+ /* @__PURE__ */ r("div", { className: "ttw:w-110 ttw:flex ttw:flex-col ttw:gap-4", onClick: (l) => {
54
+ l.preventDefault(), l.stopPropagation();
55
+ }, children: [
56
+ /* @__PURE__ */ r("div", { children: [
57
+ /* @__PURE__ */ t("h3", { className: "ttw:text-xl ttw:font-semibold ttw:text-zinc-950", children: e._("Upload bills") }),
58
+ /* @__PURE__ */ t("p", { className: "ttw:text-sm ttw:font-normal ttw:text-zinc-500", children: e._("Upload your bills and we'll automatically pull the details so you can review and approve.") })
59
+ ] }),
60
+ /* @__PURE__ */ t("div", { className: F("ttw:box-border ttw:cursor-pointer ttw:w-full ttw:h-36.5 ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:text-center ttw:border ttw:rounded-lg ttw:border-dashed ttw:border-zinc-200 ttw:bg-zinc-50", g && "ttw:bg-transparent"), onDragOver: v, onDragLeave: N, onDrop: C, onClick: b, children: /* @__PURE__ */ r("div", { className: "ttw:mx-auto ttw:flex ttw:flex-col ttw:items-center ttw:gap-2", children: [
61
+ /* @__PURE__ */ t("div", { className: "ttw:w-11 ttw:h-11 ttw:rounded-full ttw:bg-primary ttw:flex ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(j, { className: "ttw:text-white ttw:size-5" }) }),
62
+ /* @__PURE__ */ r("p", { className: "ttw:text-sm ttw:font-medium ttw:text-zinc-950", children: [
63
+ e._("Drop your files here, or"),
64
+ " ",
65
+ /* @__PURE__ */ t("span", { className: "ttw:text-primary ttw:underline", children: e._("click to browse") })
66
+ ] }),
67
+ /* @__PURE__ */ t("p", { className: "ttw:text-xs ttw:font-normal ttw:text-zinc-500", children: e._("PDF, PNG or JPG (max. 20MB)") })
68
+ ] }) }),
69
+ /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
70
+ /* @__PURE__ */ t("h3", { className: "ttw:text-primary ttw:text-sm ttw:font-semibold", children: e._("Send via email") }),
71
+ /* @__PURE__ */ t("p", { className: "ttw:text-zinc-500 ttw:font-normal ttw:text-sm", children: e._("Email your bills here and they'll appear in your bill pay inbox, ready to review and pay.") })
72
+ ] }),
73
+ /* @__PURE__ */ r("div", { className: "ttw:px-3 ttw:h-14 ttw:border ttw:border-zinc-200 ttw:rounded-lg ttw:flex ttw:items-center ttw:justify-between ttw:gap-6", children: [
74
+ /* @__PURE__ */ t("span", { children: e._("bills@business-banking.com") }),
75
+ /* @__PURE__ */ r(s, { type: "button", variant: "ghost", size: "sm", className: "ttw:text-primary ttw:hover:bg-primary-foreground ttw:hover:text-primary", onClick: () => {
76
+ navigator.clipboard.writeText("bills@business-banking.com"), n.success(e._("Email address copied to clipboard"));
77
+ }, children: [
78
+ /* @__PURE__ */ t(A, {}),
79
+ e._("Copy")
80
+ ] })
81
+ ] }),
82
+ /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
83
+ /* @__PURE__ */ t("h3", { className: "ttw:text-sm ttw:font-semibold ttw:text-primary", children: e._("Or add bill manually") }),
84
+ /* @__PURE__ */ r(s, { onClick: () => {
85
+ a(!1), h();
86
+ }, className: "ttw:w-fit ttw:bg-primary-foreground ttw:hover:bg-primary-foreground ttw:text-primary", children: [
87
+ /* @__PURE__ */ t(E, {}),
88
+ e._("Add new bill")
89
+ ] })
90
+ ] })
91
+ ] }),
92
+ /* @__PURE__ */ t(x, { "aria-label": e._("Upload payable files"), multiple: !0, onChange: (l) => {
93
+ const o = l.target.files;
94
+ o && w(o), a(!1);
95
+ } })
96
+ ] })
97
+ ] }) });
98
+ };
11
99
  export {
12
- i as isBillOverdue
100
+ K as CreatePayableMenu
13
101
  };