@tesouro/embedded-components-react 0.2.155 → 0.2.158

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 (359) hide show
  1. package/dist/index.d.ts +10 -1
  2. package/dist/lib/ReceivablesWidget.js +17 -17
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +17 -17
  4. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +15 -15
  5. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
  6. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
  7. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
  8. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
  9. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
  10. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -23
  11. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +9 -24
  12. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +7 -7
  13. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +24 -2
  14. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +23 -2
  15. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -10
  16. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -9
  17. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +12 -12
  18. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +7 -78
  19. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +26 -6
  20. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +73 -3
  21. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +6 -33
  22. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +9 -32
  23. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +7 -7
  24. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +28 -7
  25. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +32 -12
  26. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +12 -26
  27. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +12 -14
  28. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +23 -9
  29. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +12 -119
  30. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +11 -7
  31. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +119 -216
  32. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +217 -11
  33. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +7 -7
  34. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +3 -3
  35. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +10 -47
  36. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +46 -46
  37. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +47 -12
  38. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +12 -44
  39. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +46 -15
  40. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +15 -11
  41. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +11 -152
  42. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +150 -24
  43. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +1 -1
  44. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +2 -2
  45. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +2 -2
  46. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +1 -1
  47. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +2 -2
  48. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +1 -1
  49. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +2 -2
  50. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +1 -1
  51. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +4 -4
  52. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +2 -2
  53. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +4 -4
  54. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +6 -6
  55. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +1 -1
  56. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +1 -1
  57. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
  58. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +3 -3
  59. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +3 -3
  60. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +1 -1
  61. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +2 -2
  62. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +4 -4
  63. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +11 -11
  64. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
  65. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +5 -5
  66. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +141 -32
  67. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +86 -53
  68. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +21 -25
  69. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +183 -5
  70. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +23 -74
  71. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +37 -32
  72. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +52 -19
  73. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +25 -142
  74. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +5 -86
  75. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +75 -23
  76. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +32 -183
  77. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +18 -24
  78. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -2
  79. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
  80. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +1 -1
  81. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +1 -1
  82. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +4 -4
  83. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
  84. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +2 -2
  85. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +3 -3
  86. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +1 -1
  87. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +4 -4
  88. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +1 -1
  89. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +3 -3
  90. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +2 -2
  91. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +3 -3
  92. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +3 -3
  93. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
  94. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +5 -22
  95. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +485 -51
  96. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +165 -26
  97. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +39 -57
  98. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +53 -11
  99. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +29 -39
  100. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +113 -346
  101. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +22 -303
  102. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +40 -99
  103. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +52 -157
  104. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
  105. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +18 -265
  106. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +28 -23
  107. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +40 -18
  108. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +63 -5
  109. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +96 -2
  110. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +108 -92
  111. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +84 -93
  112. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +63 -213
  113. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +10 -22
  114. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +22 -18
  115. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
  116. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +55 -17
  117. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +28 -170
  118. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +56 -130
  119. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +15 -157
  120. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +39 -10
  121. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +346 -18
  122. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +302 -62
  123. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +99 -64
  124. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +154 -52
  125. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +265 -6
  126. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
  127. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +23 -9
  128. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +18 -60
  129. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +2 -24
  130. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +93 -60
  131. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +97 -14
  132. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +210 -18
  133. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +73 -43
  134. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +43 -13
  135. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +18 -74
  136. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +31 -39
  137. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
  138. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
  139. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +149 -62
  140. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +17 -29
  141. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +7 -113
  142. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +66 -21
  143. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +157 -41
  144. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +27 -56
  145. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +23 -485
  146. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +76 -166
  147. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +25 -67
  148. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +127 -72
  149. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
  150. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +49 -44
  151. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +115 -21
  152. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +106 -29
  153. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +48 -18
  154. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +201 -26
  155. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +68 -40
  156. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +18 -60
  157. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +39 -92
  158. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +14 -112
  159. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +74 -82
  160. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
  161. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +1 -1
  162. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +21 -62
  163. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +16 -26
  164. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +19 -127
  165. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +171 -149
  166. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +134 -10
  167. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +162 -19
  168. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +8 -4
  169. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +19 -25
  170. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
  171. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +58 -123
  172. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +64 -45
  173. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +54 -112
  174. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +6 -109
  175. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +9 -48
  176. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +53 -196
  177. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +23 -69
  178. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +61 -158
  179. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +12 -26
  180. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +26 -27
  181. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
  182. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +105 -56
  183. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +1 -1
  184. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +1 -1
  185. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +1 -1
  186. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +1 -1
  187. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +1 -1
  188. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +1 -1
  189. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +5 -5
  190. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +8 -8
  191. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +255 -11
  192. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +45 -6
  193. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +35 -255
  194. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +28 -32
  195. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +41 -14
  196. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +15 -14
  197. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +69 -45
  198. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +96 -31
  199. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +36 -4
  200. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +3 -3
  201. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +10 -127
  202. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +11 -7
  203. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +32 -54
  204. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +11 -18
  205. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +14 -94
  206. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +16 -30
  207. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +48 -33
  208. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +6 -122
  209. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +123 -18
  210. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +18 -16
  211. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +1 -1
  212. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +9 -9
  213. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +13 -13
  214. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +13 -13
  215. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +16 -73
  216. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +34 -16
  217. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +54 -16
  218. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +36 -16
  219. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +26 -11
  220. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +70 -31
  221. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +16 -54
  222. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +1 -1
  223. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +16 -36
  224. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +16 -26
  225. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +11 -69
  226. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +7 -47
  227. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +50 -24
  228. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +16 -20
  229. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +89 -78
  230. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +38 -17
  231. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +32 -83
  232. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +30 -267
  233. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +2 -2
  234. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +4 -38
  235. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +124 -62
  236. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +68 -42
  237. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +43 -21
  238. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +25 -138
  239. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +19 -109
  240. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +4 -81
  241. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +19 -93
  242. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +11 -16
  243. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +47 -8
  244. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +3 -3
  245. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +2 -2
  246. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +47 -8
  247. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +16 -11
  248. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +67 -2
  249. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -282
  250. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +18 -46
  251. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +16 -15
  252. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +21 -5
  253. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +13 -45
  254. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +66 -34
  255. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +21 -28
  256. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +109 -40
  257. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +80 -23
  258. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +2 -74
  259. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +8 -94
  260. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +7 -33
  261. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +27 -9
  262. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +37 -10
  263. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +82 -25
  264. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +17 -38
  265. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +83 -19
  266. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
  267. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +267 -10
  268. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +37 -48
  269. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +60 -45
  270. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +43 -67
  271. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +23 -17
  272. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +137 -17
  273. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +94 -14
  274. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +11 -20
  275. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +2 -14
  276. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +283 -65
  277. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +2 -2
  278. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +49 -21
  279. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +15 -2
  280. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +29 -20
  281. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +67 -31
  282. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +57 -85
  283. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +41 -24
  284. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +18 -103
  285. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +8 -112
  286. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +80 -72
  287. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
  288. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +49 -64
  289. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +35 -34
  290. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +47 -8
  291. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +74 -12
  292. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +85 -28
  293. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +54 -23
  294. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +52 -37
  295. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +53 -81
  296. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +29 -33
  297. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +54 -93
  298. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +7 -7
  299. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +71 -15
  300. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +21 -75
  301. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +39 -21
  302. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +34 -9
  303. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +93 -54
  304. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +15 -71
  305. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +75 -21
  306. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +20 -41
  307. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +9 -37
  308. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +18 -15
  309. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +6 -6
  310. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +51 -19
  311. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +55 -47
  312. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +30 -56
  313. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +43 -29
  314. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +34 -30
  315. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +13 -71
  316. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +50 -82
  317. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +31 -53
  318. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +85 -54
  319. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +24 -55
  320. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +5 -5
  321. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +104 -29
  322. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +105 -33
  323. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +72 -44
  324. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +66 -55
  325. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +33 -48
  326. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +12 -16
  327. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +28 -39
  328. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +23 -52
  329. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +37 -67
  330. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +14 -39
  331. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
  332. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +1 -1
  333. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +48 -36
  334. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +53 -49
  335. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +35 -48
  336. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +37 -40
  337. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +1 -1
  338. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +1 -1
  339. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +3 -3
  340. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +3 -3
  341. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
  342. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -1
  343. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -1
  344. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
  345. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +4 -4
  346. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
  347. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
  348. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
  349. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
  350. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
  351. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
  352. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
  353. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +9 -9
  354. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
  355. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +17 -17
  356. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +4 -4
  357. package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +17 -17
  358. package/dist/pending-feature-style-sources.d.ts +2 -1
  359. package/package.json +1 -1
@@ -4,10 +4,10 @@ import { format as ee } from "date-fns";
4
4
  import { toast as o } from "react-hot-toast";
5
5
  import { buildPaymentTermsPayload as ie } from "./index341.js";
6
6
  import { getCounterpartEmail as mt } from "./index7.js";
7
- import { LanguageCodeEnum as _t } from "./index225.js";
7
+ import { LanguageCodeEnum as _t } from "./index218.js";
8
8
  import { rateMajorToMinor as ae } from "./index342.js";
9
9
  import { useMoniteContext as lt } from "./index57.js";
10
- import { useUserPermissions as pt } from "./index146.js";
10
+ import { useUserPermissions as pt } from "./index135.js";
11
11
  import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
12
12
  import "../../shared/data-access/dist/lib/EmbedApiContext.js";
13
13
  import "../../shared/data-access/dist/lib/rest/client.gen.js";
@@ -18,7 +18,7 @@ import { useCounterpartById as yt } from "./index70.js";
18
18
  import { useCounterpartAddresses as gt } from "./index72.js";
19
19
  import { useMyEntity as vt } from "./index78.js";
20
20
  import { useCreateReceivable as bt } from "./index343.js";
21
- import { useCreateCounterpart as ht } from "./index224.js";
21
+ import { useCreateCounterpart as ht } from "./index217.js";
22
22
  import { useUpdateReceivable as xt } from "./index344.js";
23
23
  import { useUpdateReceivableLineItems as Ct } from "./index345.js";
24
24
  import { useCreateRecurrence as It } from "./index346.js";
@@ -27,7 +27,7 @@ import { useIssueReceivableById as Pt } from "./index242.js";
27
27
  import { useGetInvoiceRequiredFields as kt } from "./index241.js";
28
28
  import { useSelectableBankAccounts as Rt } from "./index348.js";
29
29
  import { useLineItemSubmitCleanup as At } from "./index349.js";
30
- import { useGetMeasureUnits as Lt } from "./index328.js";
30
+ import { useGetMeasureUnits as Lt } from "./index302.js";
31
31
  const ne = (t, i) => i ? t.find((r) => r.id === i)?.name || "" : void 0, qt = (t, i) => ({
32
32
  // Callers only reach this in `invoice` mode (the guard runs earlier).
33
33
  type: t.type,
@@ -4,14 +4,14 @@ import { FormProvider as Y } from "react-hook-form";
4
4
  import { useLingui as J } from "@lingui/react";
5
5
  import { X as K } from "lucide-react";
6
6
  import "date-fns";
7
- import { buildInvoicePreviewData as Z } from "./index329.js";
7
+ import { buildInvoicePreviewData as Z } from "./index308.js";
8
8
  import { useCounterpartById as tt } from "./index70.js";
9
9
  import "@tanstack/react-query";
10
10
  import { useMoniteContext as et } from "./index57.js";
11
11
  import { useCounterpartAddresses as ot } from "./index72.js";
12
12
  import { useMyEntity as at } from "./index78.js";
13
13
  import "react-hot-toast";
14
- import { useUserPermissions as rt } from "./index146.js";
14
+ import { useUserPermissions as rt } from "./index135.js";
15
15
  import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
16
16
  import "../../shared/data-access/dist/lib/EmbedApiContext.js";
17
17
  import "../../shared/data-access/dist/lib/rest/client.gen.js";
@@ -19,15 +19,15 @@ import "../../shared/data-access/dist/lib/rest/zod.gen.js";
19
19
  import { Scope as it } from "../../shared/data-access/dist/lib/scopes.js";
20
20
  import { Dialog as nt, DialogContent as st, DialogHeader as mt, DialogTitle as lt, DialogDescription as dt, DialogFooter as ct } from "./index229.js";
21
21
  import { Button as pt } from "./index84.js";
22
- import { ConfirmationModal as ut } from "./index215.js";
23
- import { LoadingPage as wt } from "./index273.js";
24
- import { CustomerSection as ft } from "./index330.js";
25
- import { BillingSection as ht } from "./index331.js";
26
- import { ItemsSection as gt } from "./index332.js";
27
- import { BankAccountSection as bt } from "./index333.js";
28
- import { NotesSection as yt } from "./index334.js";
29
- import { AttachmentSection as vt } from "./index335.js";
30
- import { InvoicePreview as xt } from "./index336.js";
22
+ import { ConfirmationModal as ut } from "./index220.js";
23
+ import { LoadingPage as wt } from "./index260.js";
24
+ import { CustomerSection as ft } from "./index309.js";
25
+ import { BillingSection as ht } from "./index310.js";
26
+ import { ItemsSection as gt } from "./index311.js";
27
+ import { BankAccountSection as bt } from "./index312.js";
28
+ import { NotesSection as yt } from "./index313.js";
29
+ import { AttachmentSection as vt } from "./index314.js";
30
+ import { InvoicePreview as xt } from "./index315.js";
31
31
  const Kt = ({
32
32
  open: h,
33
33
  onRequestClose: s,
@@ -1,27 +1,27 @@
1
1
  import { jsx as t, jsxs as i, Fragment as _ } from "@emotion/react/jsx-runtime";
2
2
  import { useCounterpartById as Lt } from "./index70.js";
3
- import { Sheet as X, SheetContent as Y, SheetHeader as Et, SheetTitle as Rt, SheetDescription as Ut, SheetClose as $t } from "./index135.js";
4
- import { LoadingSpinner as kt } from "./index136.js";
3
+ import { Sheet as X, SheetContent as Y, SheetHeader as Et, SheetTitle as Rt, SheetDescription as Ut, SheetClose as $t } from "./index137.js";
4
+ import { LoadingSpinner as kt } from "./index138.js";
5
5
  import { useLingui as Bt } from "@lingui/react";
6
6
  import { getCounterpartName as T } from "./index7.js";
7
- import { Skeleton as c } from "./index137.js";
7
+ import { Skeleton as c } from "./index139.js";
8
8
  import { useMoniteContext as jt } from "./index57.js";
9
- import { DropdownMenu as Mt, DropdownMenuTrigger as Ot, DropdownMenuContent as Pt, DropdownMenuItem as Vt } from "./index138.js";
9
+ import { DropdownMenu as Mt, DropdownMenuTrigger as Ot, DropdownMenuContent as Pt, DropdownMenuItem as Vt } from "./index140.js";
10
10
  import { Button as v } from "./index84.js";
11
11
  import { MoreVerticalIcon as Ft, Trash2 as Wt, X as zt, EyeOff as Gt, Eye as Ht } from "lucide-react";
12
- import { DeleteCounterpartModal as qt } from "./index139.js";
12
+ import { DeleteCounterpartModal as qt } from "./index141.js";
13
13
  import { useState as A, useCallback as Xt, Fragment as Yt } from "react";
14
14
  import { Typography as r } from "./index85.js";
15
15
  import { useCurrencies as Jt } from "./index58.js";
16
- import { Separator as Kt } from "./index140.js";
17
- import { CounterpartContactDetailLine as m } from "./index141.js";
16
+ import { Separator as Kt } from "./index142.js";
17
+ import { CounterpartContactDetailLine as m } from "./index143.js";
18
18
  import "react-hot-toast";
19
19
  import "date-fns";
20
- import { useDeleteCounterpartBank as Qt } from "./index142.js";
21
- import { useCounterpartAddressesById as Zt } from "./index143.js";
22
- import { useGetCounterpartPayables as te } from "./index144.js";
23
- import { EditCounterpart as ee } from "./index145.js";
24
- import { useUserPermissions as ae } from "./index146.js";
20
+ import { useDeleteCounterpartBank as Qt } from "./index144.js";
21
+ import { useCounterpartAddressesById as Zt } from "./index145.js";
22
+ import { useGetCounterpartPayables as te } from "./index146.js";
23
+ import { EditCounterpart as ee } from "./index147.js";
24
+ import { useUserPermissions as ae } from "./index135.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,21 +29,21 @@ import "@tanstack/react-query";
29
29
  import "../../shared/data-access/dist/lib/rest/zod.gen.js";
30
30
  import { Scope as w } from "../../shared/data-access/dist/lib/scopes.js";
31
31
  import { useGetPayablesAnalytics as I } from "./index35.js";
32
- import { AR_DEFAULT_STATUSES as ie } from "./index147.js";
33
- import { useGetReceivables as re } from "./index148.js";
34
- import { useGetReceivablesAnalytics as J } from "./index149.js";
32
+ import { AR_DEFAULT_STATUSES as ie } from "./index148.js";
33
+ import { useGetReceivables as re } from "./index149.js";
34
+ import { useGetReceivablesAnalytics as J } from "./index150.js";
35
35
  import "./index92.js";
36
36
  import "react-dom";
37
37
  import "@mui/x-data-grid";
38
38
  import "react-hook-form";
39
- import { PayableStatusChip as K } from "./index150.js";
40
- import { CounterpartBankSection as oe } from "./index151.js";
41
- import { useCounterpartsBankAccountsList as ne } from "./index152.js";
39
+ import { PayableStatusChip as K } from "./index151.js";
40
+ import { CounterpartBankSection as oe } from "./index152.js";
41
+ import { useCounterpartsBankAccountsList as ne } from "./index153.js";
42
42
  import { MoniteScopedProviders as se } from "./index83.js";
43
43
  import { InvoiceStatusChip as de } from "./index55.js";
44
- import { CounterpartAddressSection as le } from "./index153.js";
45
- import { NotFound as ce } from "./index154.js";
46
- import { isBillOverdue as me } from "./index155.js";
44
+ import { CounterpartAddressSection as le } from "./index154.js";
45
+ import { NotFound as ce } from "./index155.js";
46
+ import { isBillOverdue as me } from "./index156.js";
47
47
  const oa = (o) => /* @__PURE__ */ t(se, { children: /* @__PURE__ */ t(ue, { ...o }) }), ue = ({
48
48
  counterpartId: o,
49
49
  customerType: u,
@@ -15,23 +15,23 @@ import { useCounterpartAddresses as ht } from "./index72.js";
15
15
  import { getCounterpartEmail as Pe } from "./index7.js";
16
16
  import { useMyEntity as vt } 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 bt } 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
23
  import { Scope as D } from "../../shared/data-access/dist/lib/scopes.js";
24
- import { AccessRestriction as yt } from "./index157.js";
24
+ import { AccessRestriction as yt } from "./index136.js";
25
25
  import { Accordion as gt, AccordionItem as B, AccordionTrigger as z, AccordionContent as V } from "./index227.js";
26
26
  import { Badge as T } from "./index228.js";
27
27
  import { Button as j } from "./index84.js";
28
28
  import { DialogTitle as $ } from "./index229.js";
29
- import { Sheet as _t, SheetContent as xt, SheetDescription as Nt, SheetHeader as It, SheetTitle as Ct } from "./index135.js";
29
+ import { Sheet as _t, SheetContent as xt, SheetDescription as Nt, SheetHeader as It, SheetTitle as Ct } from "./index137.js";
30
30
  import { TooltipProvider as Lt, Tooltip as Se, TooltipTrigger as ke, TooltipContent as Fe } from "./index230.js";
31
31
  import { Typography as s } from "./index85.js";
32
32
  import { cn as G } from "./index100.js";
33
- import { LoadingSpinner as Ee } from "./index136.js";
34
- import { NotFound as Me } from "./index154.js";
33
+ import { LoadingSpinner as Ee } from "./index138.js";
34
+ import { NotFound as Me } from "./index155.js";
35
35
  import { ChevronLeft as Rt, Eye as At, Repeat as Oe, CircleAlert as Dt } from "lucide-react";
36
36
  import { headerIconButtonClass as P, STATUS_ICON as Tt, ACTION_ICON as $t, HEADER_TOOLTIP_DELAY as Pt, amountValueToneClass as St } from "./index231.js";
37
37
  import { buildInvoiceDetailsView as kt } from "./index232.js";
@@ -1,39 +1,148 @@
1
- import { jsx as o, jsxs as n } from "@emotion/react/jsx-runtime";
2
- import { LoadingSpinner as f } from "./index136.js";
3
- import { Button as t } from "./index84.js";
4
- import { Dialog as C, DialogContent as u, DialogHeader as D, DialogTitle as b, DialogDescription as w, DialogFooter as L } from "./index229.js";
5
- import { useLingui as v } from "@lingui/react";
6
- const P = ({
7
- open: e,
8
- title: l,
9
- message: s,
10
- children: c,
11
- confirmLabel: d,
12
- cancelLabel: m,
13
- onClose: a,
14
- onConfirm: p,
15
- container: g,
16
- isLoading: r = !1
1
+ import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
2
+ import { FieldLabel as m, Field as h, FieldContent as p, FieldError as f, FieldDescription as _ } from "./index159.js";
3
+ import { Input as b } from "./index118.js";
4
+ import { Label as v } from "./index278.js";
5
+ import { RadioGroup as C, RadioGroupItem as y } from "./index301.js";
6
+ import { Typography as n } from "./index85.js";
7
+ import { useLingui as F } from "@lingui/react";
8
+ import { useRef as S } from "react";
9
+ import { useFormContext as T, Controller as u } from "react-hook-form";
10
+ import { twMerge as c } from "tailwind-merge";
11
+ import { CounterpartBankSection as z } from "./index152.js";
12
+ import { Checkbox as I } from "./index350.js";
13
+ import { CounterpartAddressSection as L } from "./index154.js";
14
+ const $ = ({
15
+ handleChangeCounterpartType: N,
16
+ counterpartType: d,
17
+ isLoading: l,
18
+ customerType: g,
19
+ isEditMode: o
17
20
  }) => {
18
21
  const {
19
- i18n: h
20
- } = v();
21
- return /* @__PURE__ */ o(C, { open: e, onOpenChange: a, "aria-label": h._("Confirmation dialog"), children: /* @__PURE__ */ n(u, { container: g, showCloseButton: !1, children: [
22
- /* @__PURE__ */ o(D, { children: /* @__PURE__ */ o(b, { children: l }) }),
23
- /* @__PURE__ */ o(w, { children: s || c }),
24
- /* @__PURE__ */ n(L, { children: [
25
- /* @__PURE__ */ o(t, { onClick: (i) => {
26
- i.stopPropagation(), a();
27
- }, variant: "outline", children: m }),
28
- /* @__PURE__ */ n(t, { onClick: (i) => {
29
- i.stopPropagation(), p();
30
- }, disabled: r, variant: "destructive", children: [
31
- r && /* @__PURE__ */ o(f, { className: "ttw:w-5 ttw:h-5 ttw:border-inherit ttw:border-t-transparent" }),
32
- d
22
+ i18n: r
23
+ } = F(), {
24
+ control: w
25
+ } = T(), x = S(null), s = g === "vendor";
26
+ return /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", ref: x, children: [
27
+ /* @__PURE__ */ a("div", { className: c("ttw:flex ttw:flex-col ttw:gap-1.5", o && "ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border"), children: [
28
+ /* @__PURE__ */ e(n, { variant: "body1", className: "ttw:font-medium", children: o ? r._("Editing {customerType} details", {
29
+ customerType: g
30
+ }) : r._("{customerType} details", {
31
+ customerType: s ? "Vendor" : "Customer"
32
+ }) }),
33
+ !o && /* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: s ? r._("Who are you paying?") : r._("Who are you billing?") })
34
+ ] }),
35
+ !o && /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: [
36
+ /* @__PURE__ */ e(m, { children: r._("{customerType} type", {
37
+ customerType: s ? "Vendor" : "Customer"
38
+ }) }),
39
+ /* @__PURE__ */ a(C, { className: "ttw:flex", value: d, disabled: l, onValueChange: (t) => N?.(t), children: [
40
+ /* @__PURE__ */ a("div", { className: c("ttw:flex ttw:p-4 ttw:flex-1 ttw:gap-2 ttw:border ttw:rounded-xl ttw:border-border ttw:hover:bg-primary/10 ttw:hover:border-primary/30", d === "organization" && "ttw:bg-primary/10 ttw:border-primary/30"), children: [
41
+ /* @__PURE__ */ e(y, { value: "organization", id: "organization", className: c(d === "organization" ? "ttw:bg-primary" : "ttw:bg-white"), dotClassName: c(d === "organization" && "ttw:fill-white"), disabled: l }),
42
+ /* @__PURE__ */ a(v, { htmlFor: "organization", className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5", children: [
43
+ /* @__PURE__ */ e(n, { variant: "body2", className: "ttw:leading-3.5", children: r._("Business") }),
44
+ /* @__PURE__ */ e(n, { variant: "caption", color: "muted", children: r._("A company or organization") })
45
+ ] })
46
+ ] }),
47
+ /* @__PURE__ */ a("div", { className: c("ttw:flex ttw:p-4 ttw:flex-1 ttw:gap-2 ttw:border ttw:rounded-xl ttw:border-border ttw:hover:bg-primary/10 ttw:hover:border-primary/30", d === "individual" && "ttw:bg-primary/10 ttw:border-primary/30"), children: [
48
+ /* @__PURE__ */ e(y, { value: "individual", id: "individual", className: c(d === "individual" ? "ttw:bg-primary" : "ttw:bg-white"), dotClassName: c(d === "individual" && "ttw:fill-white"), disabled: l }),
49
+ /* @__PURE__ */ a(v, { htmlFor: "individual", className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5", children: [
50
+ /* @__PURE__ */ e(n, { variant: "body2", className: "ttw:leading-3.5", children: r._("Person") }),
51
+ /* @__PURE__ */ e(n, { variant: "caption", color: "muted", children: r._("An individual or contractor") })
52
+ ] })
53
+ ] })
33
54
  ] })
55
+ ] }),
56
+ d === "individual" ? /* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-4", children: [
57
+ /* @__PURE__ */ e(u, { name: "firstName", control: w, render: ({
58
+ field: t,
59
+ fieldState: {
60
+ error: i
61
+ }
62
+ }) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
63
+ /* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("First name") }),
64
+ /* @__PURE__ */ e(b, { className: o ? "ttw:bg-white" : "", id: t.name, ...t, disabled: l, "aria-invalid": !!i || void 0 }),
65
+ /* @__PURE__ */ e(f, { errors: [i] })
66
+ ] }) }) }),
67
+ /* @__PURE__ */ e(u, { name: "lastName", control: w, render: ({
68
+ field: t,
69
+ fieldState: {
70
+ error: i
71
+ }
72
+ }) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
73
+ /* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("Last name") }),
74
+ /* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
75
+ /* @__PURE__ */ e(f, { errors: [i] })
76
+ ] }) }) })
77
+ ] }) : /* @__PURE__ */ e(u, { name: "companyName", control: w, render: ({
78
+ field: t,
79
+ fieldState: {
80
+ error: i
81
+ }
82
+ }) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
83
+ /* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("Business name") }),
84
+ /* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
85
+ /* @__PURE__ */ e(f, { errors: [i] })
86
+ ] }) }) }),
87
+ /* @__PURE__ */ a("div", { className: c("ttw:flex ttw:gap-4", s ? "ttw:flex-row" : "ttw:flex-col"), children: [
88
+ /* @__PURE__ */ e(u, { name: "email", control: w, render: ({
89
+ field: t,
90
+ fieldState: {
91
+ error: i
92
+ }
93
+ }) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
94
+ /* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("Email") }),
95
+ /* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
96
+ /* @__PURE__ */ e(f, { errors: [i] })
97
+ ] }) }) }),
98
+ !s && /* @__PURE__ */ e(u, { name: "remindersEnabled", control: w, render: ({
99
+ field: t
100
+ }) => /* @__PURE__ */ e(h, { orientation: "horizontal", children: /* @__PURE__ */ a(p, { className: "ttw:flex-row", children: [
101
+ /* @__PURE__ */ e(I, { id: t.name, ref: t.ref, checked: t.value, onCheckedChange: t.onChange, onBlur: t.onBlur, disabled: l }),
102
+ /* @__PURE__ */ e(m, { htmlFor: t.name, className: "ttw:font-normal ttw:leading-4", children: r._("Send reminders to this email when an invoice is approaching its due date") })
103
+ ] }) }) }),
104
+ /* @__PURE__ */ e(u, { name: "phone", control: w, render: ({
105
+ field: t,
106
+ fieldState: {
107
+ error: i
108
+ }
109
+ }) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
110
+ /* @__PURE__ */ a(m, { htmlFor: t.name, className: "ttw:gap-1", children: [
111
+ r._("Phone"),
112
+ /* @__PURE__ */ e(n, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: r._("(optional)") })
113
+ ] }),
114
+ /* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
115
+ /* @__PURE__ */ e(f, { errors: [i] })
116
+ ] }) }) })
117
+ ] }),
118
+ /* @__PURE__ */ e(u, { name: "tax_id", control: w, render: ({
119
+ field: t,
120
+ fieldState: {
121
+ error: i
122
+ }
123
+ }) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
124
+ /* @__PURE__ */ a(m, { htmlFor: t.name, className: "ttw:gap-1", children: [
125
+ r._("Tax ID / {documentType}", {
126
+ documentType: d === "individual" ? "SSN" : "EIN"
127
+ }),
128
+ /* @__PURE__ */ e(n, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: r._("(optional)") })
129
+ ] }),
130
+ /* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", placeholder: r._("e.g., {example}", {
131
+ example: d === "individual" ? "034-56-78890" : "12-3456789"
132
+ }), disabled: l, "aria-invalid": !!i || void 0 }),
133
+ /* @__PURE__ */ e(_, { children: s ? r._("Required only if you'll file a 1099 IRS form for this vendor at year-end.") : r._("Required only if you'll issue a 1099 IRS form at year-end.") }),
134
+ /* @__PURE__ */ e(f, { errors: [i] })
135
+ ] }) }) }),
136
+ (s || !o) && /* @__PURE__ */ e(L, { isLoading: l, customerType: g, isStandalone: !1 }),
137
+ s && !o && /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
138
+ /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-6 ttw:pb-7", children: [
139
+ /* @__PURE__ */ e(n, { variant: "body1", className: "ttw:font-medium", children: r._("Accepted payment methods") }),
140
+ /* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: r._("How and where will the money be sent. Don't have these yet? No problem. You can save this vendor and add their payment details later - you just won't be able to send payments until you do.") })
141
+ ] }),
142
+ /* @__PURE__ */ e(z, { isLoading: l, isStandalone: !1 })
34
143
  ] })
35
- ] }) });
144
+ ] });
36
145
  };
37
146
  export {
38
- P as ConfirmationModal
147
+ $ as CounterpartFormContent
39
148
  };
@@ -1,55 +1,88 @@
1
- import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
2
- import { useFormContext as m, Controller as u } from "react-hook-form";
3
- import { Typography as n } from "./index85.js";
4
- import { useLingui as w } from "@lingui/react";
5
- import { Switch as i } from "./index350.js";
6
- import { twMerge as h } from "tailwind-merge";
7
- const x = ({
8
- control: l,
9
- isDialog: r
10
- }) => {
11
- const {
12
- i18n: t
13
- } = w(), {
14
- watch: c,
15
- setValue: d
16
- } = m(), s = c("invoice_bank_display");
17
- return /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
18
- /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-5 ttw:pb-2.5", children: [
19
- /* @__PURE__ */ e(n, { variant: "h3", children: t._("PDF settings") }),
20
- /* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: t._("Invoices are generated as PDFs") })
21
- ] }),
22
- /* @__PURE__ */ a("div", { className: h(
23
- "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:rounded-lg",
24
- // In the dialog the toggles sit in their own grey grouping box, so the
25
- // inset padding is needed. On the settings page they already sit inside
26
- // the section card, so the extra padding just indented the body.
27
- r ? "ttw:bg-zinc-100 ttw:p-4" : ""
28
- ), children: [
29
- /* @__PURE__ */ a("section", { className: "ttw:flex ttw:justify-between ttw:gap-4", children: [
30
- /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
31
- /* @__PURE__ */ e(n, { variant: "body1", className: "ttw:font-medium", children: t._("Display your bank account details on the PDF") }),
32
- /* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: t._("Shows your bank account number, routing number, and account holder name so that customers can pay using an ACH bank transfer. Should only be used with accounts that have a debit block.") })
33
- ] }),
34
- /* @__PURE__ */ e(i, { checked: s, onCheckedChange: (o) => {
35
- d("invoice_bank_display", o, {
36
- shouldDirty: !0
37
- });
38
- }, "aria-label": t._("Display bank display options") })
39
- ] }),
40
- /* @__PURE__ */ a("section", { className: "ttw:flex ttw:justify-between ttw:gap-4", children: [
41
- /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
42
- /* @__PURE__ */ e(n, { variant: "body1", className: "ttw:font-medium", children: t._("Update PDF files for paid invoices") }),
43
- /* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: t._("PDF invoice files will be regenerated to reflect payments made and any remaining amount due. Once a PDF has been updated, you won't be able to revert it.") }),
44
- /* @__PURE__ */ e(n, { variant: "body2", color: "muted", className: "ttw:font-medium", children: t._("Once updated, you won't be able to revert the PDFs.") })
45
- ] }),
46
- /* @__PURE__ */ e(u, { name: "update_paid_invoices", control: l, render: ({
47
- field: o
48
- }) => /* @__PURE__ */ e(i, { checked: o.value, onCheckedChange: o.onChange, "aria-label": t._("Enable update paid invoices pdf") }) })
49
- ] })
50
- ] })
51
- ] });
52
- };
1
+ import { AllowedCountries as l } from "./index351.js";
2
+ import { z as i } from "zod";
3
+ import "./index300.js";
4
+ const m = (e, t) => ({
5
+ line1: i.string().optional().refine((a) => !t || !!a?.trim(), {
6
+ message: e._("Street address is required")
7
+ }),
8
+ line2: i.string().optional(),
9
+ city: i.string().optional().refine((a) => !t || !!a?.trim(), {
10
+ message: e._("City is required")
11
+ }),
12
+ state: i.string().optional().refine((a) => !t || !!a?.trim(), {
13
+ message: e._("State is required")
14
+ }),
15
+ country: i.enum(l).optional().refine((a) => !t || !!a, {
16
+ message: e._("Country is required")
17
+ }),
18
+ postalCode: i.string().optional().refine((a) => !t || !!a?.trim(), {
19
+ message: e._("Postal code is required")
20
+ })
21
+ }), d = (e, t) => e.superRefine((a, s) => {
22
+ const n = a;
23
+ (n.line1?.trim() || n.line2?.trim() || n.city?.trim() || n.state?.trim() || n.postalCode?.trim()) && (n.line1?.trim() || s.addIssue({
24
+ code: "custom",
25
+ message: t._("Street address is required"),
26
+ path: ["line1"]
27
+ }), n.city?.trim() || s.addIssue({
28
+ code: "custom",
29
+ message: t._("City is required"),
30
+ path: ["city"]
31
+ }), n.state?.trim() || s.addIssue({
32
+ code: "custom",
33
+ message: t._("State is required"),
34
+ path: ["state"]
35
+ }), n.postalCode?.trim() || s.addIssue({
36
+ code: "custom",
37
+ message: t._("Postal code is required"),
38
+ path: ["postalCode"]
39
+ }));
40
+ }), _ = (e, t) => {
41
+ const a = i.object(m(e, t));
42
+ return t ? a : d(a, e);
43
+ }, b = (e, t, a) => {
44
+ const s = a === "vendor", n = i.object({
45
+ tax_id: i.string().optional(),
46
+ remindersEnabled: i.boolean(),
47
+ email: i.email(e._("Email must be a valid email")).min(1, e._("Email is required")),
48
+ phone: i.string().optional(),
49
+ isVendor: i.boolean(),
50
+ isCustomer: i.boolean(),
51
+ ...u(e).shape,
52
+ ...m(e, s)
53
+ }), r = n.extend({
54
+ firstName: i.string().min(1, e._("First name is required")),
55
+ lastName: i.string().min(1, e._("Last name is required"))
56
+ }), o = n.extend({
57
+ companyName: i.string().min(1, e._("Company name is required"))
58
+ });
59
+ return s ? t === "individual" ? r : o : d(t === "individual" ? r : o, e);
60
+ }, q = (e, t, a) => {
61
+ const s = a === "vendor", n = i.object({
62
+ tax_id: i.string().optional(),
63
+ remindersEnabled: i.boolean(),
64
+ email: i.email(e._("Email must be a valid email")).min(1, e._("Email is required")),
65
+ phone: i.string().optional(),
66
+ ...m(e, s)
67
+ }), r = n.extend({
68
+ firstName: i.string().min(1, e._("First name is required")),
69
+ lastName: i.string().min(1, e._("Last name is required"))
70
+ }), o = n.extend({
71
+ companyName: i.string().min(1, e._("Company name is required"))
72
+ });
73
+ return s ? t === "individual" ? r : o : d(t === "individual" ? r : o, e);
74
+ }, u = (e) => i.object({
75
+ accountHolderName: i.string().optional(),
76
+ routingNumber: i.string().refine((t) => !t || t.length === 9, {
77
+ message: e._("Routing number must be 9 digits")
78
+ }).optional(),
79
+ accountNumber: i.string().refine((t) => !t || t.length >= 9 && t.length <= 12, {
80
+ message: e._("Account number must be between 9 and 12 digits")
81
+ }).optional()
82
+ });
53
83
  export {
54
- x as PDFSettings
84
+ _ as getAddressValidationSchema,
85
+ u as getCounterpartBankValidationSchema,
86
+ b as getCreateCounterpartValidationSchema,
87
+ q as getUpdateCounterpartValidationSchema
55
88
  };
@@ -1,31 +1,27 @@
1
- import { toast as n } from "react-hot-toast";
2
- import { useMoniteContext as o } from "./index57.js";
3
- import { useLingui as a } from "@lingui/react";
4
- const c = (e) => {
1
+ import { useMoniteContext as n } from "./index57.js";
2
+ import { useLingui as i } from "@lingui/react";
3
+ import { toast as r } from "react-hot-toast";
4
+ import { getCounterpartName as u } from "./index7.js";
5
+ const f = ({
6
+ showSuccessToast: o = !0
7
+ } = {}) => {
5
8
  const {
6
- api: t,
7
- queryClient: i
8
- } = o(), {
9
- i18n: s
10
- } = a();
11
- return t.finops.patchEntitiesIdSettings.useMutation(void 0, {
12
- onSuccess: () => {
13
- n.success(s._("Settings updated successfully.")), t.finops.getEntitiesIdSettings.invalidateQueries({
14
- parameters: {
15
- path: {
16
- entity_id: e
17
- }
18
- }
19
- }, i), t.finops.getDocumentsIdNextNumbers.invalidateQueries({
20
- parameters: {
21
- path: {
22
- entity_id: e
23
- }
24
- }
25
- }, i);
9
+ i18n: t
10
+ } = i(), {
11
+ api: e,
12
+ queryClient: s
13
+ } = n();
14
+ return e.finops.postCounterparts.useMutation({}, {
15
+ onSuccess: async (a) => {
16
+ await e.finops.getCounterparts.invalidateQueries(s), o && r.success(t._("{name} has been added to the list.", {
17
+ name: u(a)
18
+ }));
19
+ },
20
+ onError: () => {
21
+ r.error(t._("Failed to create Counterpart."));
26
22
  }
27
23
  });
28
24
  };
29
25
  export {
30
- c as usePatchEntitySettings
26
+ f as useCreateCounterpart
31
27
  };