@tesouro/embedded-components-react 0.2.85 → 0.2.86

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 (315) hide show
  1. package/dist/lib/ReceivablesWidget.js +19 -19
  2. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +19 -19
  3. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +17 -6
  4. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
  5. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
  6. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +6 -17
  7. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +16 -16
  8. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
  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/index120.js +22 -23
  11. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -23
  12. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -2
  13. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +24 -2
  14. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +8 -8
  15. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +2 -2
  16. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +4 -4
  17. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +2 -2
  18. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +1 -1
  19. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +2 -2
  20. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +2 -2
  21. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +1 -1
  22. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +1 -1
  23. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +1 -1
  24. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +2 -2
  25. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -1
  26. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +3 -3
  27. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +1 -1
  28. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +2 -2
  29. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +1 -1
  30. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +3 -3
  31. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +6 -6
  32. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +3 -3
  33. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +2 -2
  34. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +4 -4
  35. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +2 -2
  36. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +1 -1
  37. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +1 -1
  38. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +4 -4
  39. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1 -1
  40. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +3 -3
  41. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +28 -28
  42. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +2 -2
  43. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +1 -1
  44. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +1 -1
  45. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +1 -1
  46. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +2 -2
  47. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +1 -1
  48. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +3 -3
  49. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +6 -6
  50. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +1 -1
  51. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +3 -3
  52. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -2
  53. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +36 -35
  54. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +46 -50
  55. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +29 -34
  56. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +5 -54
  57. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +75 -344
  58. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +32 -2
  59. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
  60. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +18 -18
  61. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +486 -9
  62. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +162 -8
  63. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -14
  64. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +50 -13
  65. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +34 -21
  66. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +54 -33
  67. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +343 -34
  68. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -37
  69. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +20 -15
  70. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
  71. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +14 -17
  72. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +11 -247
  73. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +10 -179
  74. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +14 -12
  75. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +21 -19
  76. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +31 -24
  77. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +35 -38
  78. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +35 -56
  79. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +15 -52
  80. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +17 -30
  81. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
  82. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +244 -92
  83. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +179 -43
  84. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +12 -37
  85. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +18 -46
  86. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +24 -27
  87. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +40 -5
  88. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +54 -73
  89. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +52 -32
  90. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +30 -20
  91. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +97 -72
  92. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
  93. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +47 -44
  94. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +73 -42
  95. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +44 -62
  96. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +19 -30
  97. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +29 -113
  98. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +41 -21
  99. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +60 -41
  100. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +90 -51
  101. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +104 -483
  102. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +83 -163
  103. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
  104. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +3 -3
  105. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +1 -1
  106. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +1 -1
  107. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +41 -10
  108. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +342 -21
  109. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +296 -27
  110. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +103 -14
  111. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +155 -73
  112. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
  113. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +265 -75
  114. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +24 -43
  115. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +20 -2
  116. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +2 -96
  117. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +89 -90
  118. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +90 -185
  119. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +191 -19
  120. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +39 -27
  121. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +58 -38
  122. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +29 -61
  123. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
  124. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +113 -95
  125. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +21 -111
  126. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +41 -85
  127. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +51 -35
  128. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +62 -344
  129. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +27 -302
  130. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +124 -100
  131. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +10 -162
  132. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +59 -259
  133. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +22 -23
  134. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
  135. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +33 -19
  136. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +149 -63
  137. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +17 -157
  138. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +21 -28
  139. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +40 -26
  140. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +13 -77
  141. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +78 -20
  142. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +158 -17
  143. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +28 -19
  144. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +27 -169
  145. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
  146. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +76 -132
  147. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +59 -156
  148. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +44 -12
  149. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +24 -18
  150. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +185 -59
  151. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +106 -66
  152. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +81 -59
  153. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +283 -6
  154. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +46 -8
  155. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +15 -62
  156. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
  157. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +83 -21
  158. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +220 -58
  159. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +39 -14
  160. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +74 -62
  161. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +42 -42
  162. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +20 -23
  163. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +14 -185
  164. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +17 -106
  165. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +169 -80
  166. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +119 -270
  167. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
  168. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +157 -44
  169. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +12 -15
  170. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +18 -85
  171. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +58 -220
  172. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +63 -34
  173. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +60 -149
  174. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +8 -19
  175. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +9 -26
  176. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +61 -126
  177. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +21 -93
  178. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +62 -16
  179. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +14 -76
  180. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +96 -17
  181. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +16 -49
  182. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +74 -10
  183. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +17 -50
  184. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +48 -19
  185. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +9 -40
  186. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +46 -63
  187. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +7 -28
  188. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +255 -11
  189. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +46 -255
  190. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +36 -12
  191. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +25 -15
  192. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +6 -48
  193. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +104 -11
  194. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +21 -46
  195. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +20 -25
  196. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +55 -32
  197. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +33 -6
  198. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +24 -100
  199. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +43 -21
  200. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +14 -24
  201. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +70 -53
  202. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +94 -32
  203. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +27 -18
  204. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +9 -42
  205. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +10 -24
  206. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +32 -74
  207. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +13 -94
  208. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +16 -29
  209. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +47 -120
  210. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +10 -17
  211. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +34 -16
  212. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +54 -16
  213. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +36 -16
  214. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +26 -16
  215. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +7 -10
  216. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +53 -10
  217. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +15 -70
  218. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +96 -16
  219. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +38 -16
  220. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +35 -16
  221. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +32 -11
  222. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +5 -7
  223. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +124 -51
  224. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +120 -15
  225. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +18 -32
  226. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -5
  227. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -127
  228. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +16 -34
  229. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +16 -54
  230. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +70 -33
  231. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -26
  232. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +16 -96
  233. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +16 -38
  234. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +11 -35
  235. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +1 -1
  236. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +1 -1
  237. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +10 -5
  238. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +12 -75
  239. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +5 -68
  240. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +28 -38
  241. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +24 -12
  242. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +38 -32
  243. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +75 -85
  244. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +67 -23
  245. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +33 -99
  246. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +32 -111
  247. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +85 -22
  248. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +22 -26
  249. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +102 -35
  250. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +106 -23
  251. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +21 -23
  252. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +26 -37
  253. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +38 -8
  254. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +68 -9
  255. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +44 -66
  256. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +25 -44
  257. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +8 -28
  258. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +17 -71
  259. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +55 -67
  260. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +80 -49
  261. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +32 -31
  262. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +31 -32
  263. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +54 -29
  264. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +29 -56
  265. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +54 -37
  266. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +37 -44
  267. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +46 -56
  268. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +55 -70
  269. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +72 -21
  270. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +20 -52
  271. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +51 -18
  272. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +17 -29
  273. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +29 -69
  274. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +56 -28
  275. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +39 -15
  276. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +94 -81
  277. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +15 -33
  278. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +75 -40
  279. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +4 -4
  280. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +20 -41
  281. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +9 -37
  282. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +41 -14
  283. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +36 -18
  284. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +14 -49
  285. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +51 -56
  286. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +81 -31
  287. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +39 -53
  288. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +16 -13
  289. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +48 -93
  290. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +5 -5
  291. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +59 -16
  292. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +33 -75
  293. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +32 -20
  294. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +16 -9
  295. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +9 -64
  296. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +64 -9
  297. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +39 -47
  298. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +47 -39
  299. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
  300. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -1
  301. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
  302. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
  303. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
  304. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
  305. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +2 -2
  306. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
  307. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
  308. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
  309. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
  310. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +7 -7
  311. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
  312. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +19 -19
  313. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
  314. package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +19 -19
  315. package/package.json +1 -1
@@ -1,49 +1,21 @@
1
- import { jsxs as a, jsx as t } from "@emotion/react/jsx-runtime";
2
- import { useFormContext as m, Controller as w } from "react-hook-form";
3
- import { Typography as n } from "./index85.js";
4
- import { useLingui as u } from "@lingui/react";
5
- import { Switch as i } from "./index365.js";
6
- import { twMerge as h } from "tailwind-merge";
7
- const x = ({
8
- control: l,
9
- isDialog: r
10
- }) => {
11
- const {
12
- i18n: e
13
- } = u(), {
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__ */ t(n, { variant: "h3", children: e._("PDF settings") }),
20
- /* @__PURE__ */ t(n, { variant: "body2", color: "muted", children: e._("Invoices are generated as PDFs") })
21
- ] }),
22
- /* @__PURE__ */ a("div", { className: h("ttw:flex ttw:flex-col ttw:gap-2.5 ttw:p-4 ttw:rounded-lg", r ? "ttw:bg-zinc-100" : "ttw:bg-white"), children: [
23
- /* @__PURE__ */ a("section", { className: "ttw:flex ttw:justify-between ttw:gap-4", children: [
24
- /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
25
- /* @__PURE__ */ t(n, { variant: "body1", className: "ttw:font-medium", children: e._("Display your bank account details on the PDF") }),
26
- /* @__PURE__ */ t(n, { variant: "body2", color: "muted", children: e._("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.") })
27
- ] }),
28
- /* @__PURE__ */ t(i, { checked: s, onCheckedChange: (o) => {
29
- d("invoice_bank_display", o, {
30
- shouldDirty: !0
31
- });
32
- }, "aria-label": e._("Display bank display options") })
33
- ] }),
34
- /* @__PURE__ */ a("section", { className: "ttw:flex ttw:justify-between ttw:gap-4", children: [
35
- /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
36
- /* @__PURE__ */ t(n, { variant: "body1", className: "ttw:font-medium", children: e._("Update PDF files for paid invoices") }),
37
- /* @__PURE__ */ t(n, { variant: "body2", color: "muted", children: e._("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.") }),
38
- /* @__PURE__ */ t(n, { variant: "body2", color: "muted", className: "ttw:font-medium", children: e._("Once updated, you won't be able to revert the PDFs.") })
39
- ] }),
40
- /* @__PURE__ */ t(w, { name: "update_paid_invoices", control: l, render: ({
41
- field: o
42
- }) => /* @__PURE__ */ t(i, { checked: o.value, onCheckedChange: o.onChange, "aria-label": e._("Enable update paid invoices pdf") }) })
43
- ] })
44
- ] })
1
+ import { jsxs as i, jsx as t } from "@emotion/react/jsx-runtime";
2
+ import { Typography as r } from "./index85.js";
3
+ import { ChevronRight as s } from "lucide-react";
4
+ function d({
5
+ label: e,
6
+ name: o,
7
+ onOpenCounterpart: n
8
+ }) {
9
+ const a = "ttw:flex ttw:items-center ttw:gap-4 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0";
10
+ return n ? /* @__PURE__ */ i("button", { type: "button", onClick: n, "aria-haspopup": "dialog", className: `ttw:group ttw:w-full ttw:cursor-pointer ttw:rounded-sm ttw:text-left ttw:outline-none ttw:focus-visible:ring-ring/50 ttw:focus-visible:ring-[3px] ${a}`, children: [
11
+ /* @__PURE__ */ t(r, { component: "span", variant: "body2", color: "muted", className: "ttw:w-40 ttw:shrink-0", children: e }),
12
+ /* @__PURE__ */ t(r, { component: "span", variant: "body2", color: "primary", className: "ttw:underline-offset-4 ttw:group-hover:underline", children: o }),
13
+ /* @__PURE__ */ t(s, { className: "ttw:ml-auto ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground", "aria-hidden": "true" })
14
+ ] }) : /* @__PURE__ */ i("div", { className: a, children: [
15
+ /* @__PURE__ */ t(r, { component: "span", variant: "body2", color: "muted", className: "ttw:w-40 ttw:shrink-0", children: e }),
16
+ /* @__PURE__ */ t(r, { component: "span", variant: "body2", children: o })
45
17
  ] });
46
- };
18
+ }
47
19
  export {
48
- x as PDFSettings
20
+ d as InvoiceDetailsCustomerRow
49
21
  };
@@ -1,31 +1,28 @@
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 { jsx as s } from "@emotion/react/jsx-runtime";
2
+ import { useGetReceivableById as r } from "./index82.js";
3
+ import { useCancelReceivableById as m } from "./index369.js";
4
+ import { ConfirmationModal as d } from "./index234.js";
5
+ import { useLingui as u } from "@lingui/react";
6
+ const v = ({
7
+ invoiceId: o,
8
+ open: c,
9
+ onClose: i
10
+ }) => {
5
11
  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);
26
- }
27
- });
12
+ i18n: e
13
+ } = u(), {
14
+ data: n,
15
+ isLoading: t
16
+ } = r(o), a = m(o);
17
+ if (!n)
18
+ return null;
19
+ const l = n.document_id ? e._("Cancel receivable") + ` "${n?.document_id}"?` : e._("Cancel receivable?");
20
+ return /* @__PURE__ */ s(d, { open: c && !!o, title: l, message: e._("This action can't be undone."), confirmLabel: e._("Cancel"), cancelLabel: e._("Close"), onClose: i, onConfirm: () => {
21
+ a.mutate(void 0, {
22
+ onSuccess: i
23
+ });
24
+ }, isLoading: a.isPending || t });
28
25
  };
29
26
  export {
30
- c as usePatchEntitySettings
27
+ v as InvoiceCancelModal
31
28
  };
@@ -1,7 +1,42 @@
1
- import { zodResolver as e } from "@hookform/resolvers/zod";
2
- function t(o) {
3
- return e(o);
4
- }
1
+ import { jsx as d } from "@emotion/react/jsx-runtime";
2
+ import { useDeleteReceivableById as u } from "./index370.js";
3
+ import { useComponentSettings as f } from "./index67.js";
4
+ import { useUserPermissions as v } from "./index141.js";
5
+ import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
6
+ import "../../shared/data-access/dist/lib/EmbedApiContext.js";
7
+ import "../../shared/data-access/dist/lib/rest/client.gen.js";
8
+ import "@tanstack/react-query";
9
+ import "../../shared/data-access/dist/lib/rest/zod.gen.js";
10
+ import { Scope as b } from "../../shared/data-access/dist/lib/scopes.js";
11
+ import "react";
12
+ import { ConfirmationModal as C } from "./index234.js";
13
+ import { useLingui as D } from "@lingui/react";
14
+ import { toast as I } from "react-hot-toast";
15
+ const H = ({
16
+ open: r,
17
+ onClose: o,
18
+ invoiceId: t,
19
+ onDelete: n,
20
+ documentId: i
21
+ }) => {
22
+ const {
23
+ i18n: e
24
+ } = D(), {
25
+ receivablesCallbacks: s
26
+ } = f(), {
27
+ mutate: m,
28
+ isPending: a
29
+ } = u(t), l = v().has(b.InvoiceWriteOrg), c = () => {
30
+ l ? m(void 0, {
31
+ onSuccess: () => {
32
+ s?.onDelete?.(t), n?.(), o();
33
+ }
34
+ }) : I.error(e._("You don't have permission to delete this document. Please, contact your system administrator for details."));
35
+ }, p = i ? e._("Delete receivable “{documentId}”?", {
36
+ documentId: i
37
+ }) : e._("Delete receivable?");
38
+ return /* @__PURE__ */ d(C, { open: r, title: p, message: e._("This action can't be undone."), confirmLabel: e._("Delete"), cancelLabel: e._("Cancel"), onClose: o, onConfirm: c, isLoading: a });
39
+ };
5
40
  export {
6
- t as safeZodResolver
41
+ H as InvoiceDeleteModal
7
42
  };
@@ -1,79 +1,60 @@
1
- import { jsxs as n, jsx as e } from "@emotion/react/jsx-runtime";
2
- import { useFormContext as $, Controller as c } from "react-hook-form";
3
- import { useLingui as F } from "@lingui/react";
4
- import { Typography as d } from "./index85.js";
5
- import { Field as m, FieldContent as s, FieldLabel as w, FieldError as u } from "./index153.js";
6
- import { Input as g } from "./index118.js";
7
- import { Checkbox as S } from "./index360.js";
8
- const E = ({
9
- control: o
1
+ import { jsxs as m, jsx as t } from "@emotion/react/jsx-runtime";
2
+ import { InvoiceRecurrenceIterationStatusChip as d } from "./index371.js";
3
+ import { InvoiceStatusChip as c } from "./index55.js";
4
+ import { useMoniteContext as u } from "./index57.js";
5
+ import { useCurrencies as h } from "./index58.js";
6
+ import "react";
7
+ import "./index92.js";
8
+ import { useLingui as p } from "@lingui/react";
9
+ import "react-dom";
10
+ import "@mui/x-data-grid";
11
+ import { useGetReceivableById as x } from "./index82.js";
12
+ import { ChevronRight as f } from "lucide-react";
13
+ import { twMerge as _ } from "tailwind-merge";
14
+ const N = ({
15
+ iteration: r,
16
+ invoice: o,
17
+ i18n: w,
18
+ onRowClick: e
10
19
  }) => {
11
20
  const {
12
- i18n: i
13
- } = F(), {
14
- setValue: v,
15
- watch: a
16
- } = $(), p = a("min_digits"), f = a("prefix"), h = a("separator"), b = a("include_date"), x = a("invoice"), N = a("invoice_number");
17
- function y() {
18
- return `${x}${h}${f ? `${f}${h}` : ""}${b ? `${(/* @__PURE__ */ new Date()).getFullYear()}${h}` : ""}${N.toString().padStart(p, "0")}`;
19
- }
20
- const _ = y();
21
- return /* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
22
- /* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-5 ttw:pb-2.5", children: [
23
- /* @__PURE__ */ e(d, { variant: "h3", children: i._("Invoice numbering") }),
24
- /* @__PURE__ */ e(d, { variant: "body2", color: "muted", children: i._("Specify how you want your invoices to be numbered. Changes apply to new invoices only. Existing invoice numbers won't be updated.") })
25
- ] }),
26
- /* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:w-94 ttw:gap-0.5 ttw:p-4 ttw:bg-neutral-200 ttw:rounded-xl", children: [
27
- /* @__PURE__ */ e(d, { variant: "body2", color: "muted", children: i._("Preview") }),
28
- /* @__PURE__ */ e(d, { variant: "h4", className: "ttw:font-medium", children: _ })
29
- ] }),
30
- /* @__PURE__ */ n("div", { className: "ttw:flex ttw:w-min ttw:gap-2 ttw:p-2", children: [
31
- /* @__PURE__ */ e(c, { name: "invoice", control: o, render: ({
32
- field: t,
33
- fieldState: {
34
- error: r
35
- }
36
- }) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ n(s, { className: "ttw:grow-0", children: [
37
- /* @__PURE__ */ e(w, { htmlFor: t.name, children: i._("Invoice prefix") }),
38
- /* @__PURE__ */ e(g, { ...t, id: t.name, maxLength: 25, "aria-invalid": !!r || void 0, className: "ttw:w-29 ttw:min-w-29 ttw:bg-white" }),
39
- /* @__PURE__ */ e(u, { errors: [r] })
40
- ] }) }) }),
41
- /* @__PURE__ */ e(c, { name: "invoice_number", control: o, render: ({
42
- field: t,
43
- fieldState: {
44
- error: r
45
- }
46
- }) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ n(s, { className: "ttw:grow-0", children: [
47
- /* @__PURE__ */ e(w, { htmlFor: t.name, children: i._("Starting number") }),
48
- /* @__PURE__ */ e(g, { ...t, id: t.name, type: "number", "aria-invalid": !!r || void 0, onChange: (l) => {
49
- const C = l.target.value.replace(/^0+(?=\d)/, "");
50
- t.onChange(Number(C));
51
- }, value: t.value.toString().padStart(p, "0"), className: "ttw:w-29 ttw:min-w-29 ttw:bg-white" }),
52
- /* @__PURE__ */ e(u, { errors: [r] })
53
- ] }) }) }),
54
- /* @__PURE__ */ e(c, { name: "min_digits", control: o, render: ({
55
- field: t,
56
- fieldState: {
57
- error: r
58
- }
59
- }) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ n(s, { className: "ttw:grow-0", children: [
60
- /* @__PURE__ */ e(w, { htmlFor: t.name, children: i._("Digit count") }),
61
- /* @__PURE__ */ e(g, { ...t, id: t.name, type: "number", className: "ttw:bg-white ttw:w-29 ttw:max-w-29", onChange: (l) => {
62
- +l.target.value > 20 ? v("min_digits", 20, {
63
- shouldDirty: !0
64
- }) : t.onChange(l);
65
- }, "aria-invalid": !!r || void 0 }),
66
- /* @__PURE__ */ e(u, { errors: [r] })
67
- ] }) }) })
68
- ] }),
69
- /* @__PURE__ */ e("div", { className: "ttw:bg-transparent ttw:w-full ttw:p-2", children: /* @__PURE__ */ e(c, { name: "include_date", control: o, render: ({
70
- field: t
71
- }) => /* @__PURE__ */ e(m, { orientation: "horizontal", children: /* @__PURE__ */ n(s, { className: "ttw:flex-row ttw:items-center", children: [
72
- /* @__PURE__ */ e(S, { id: t.name, ref: t.ref, checked: t.value ?? !1, onCheckedChange: t.onChange, onBlur: t.onBlur, className: "ttw:bg-white" }),
73
- /* @__PURE__ */ e(w, { htmlFor: t.name, className: "ttw:font-normal", children: i._("Include the current year in the invoice number prefix") })
74
- ] }) }) }) })
21
+ locale: a
22
+ } = u(), {
23
+ formatCurrencyToDisplay: s
24
+ } = h(), n = !!r?.issued_invoice_id, {
25
+ data: i
26
+ } = x(r?.issued_invoice_id ?? "", n), l = !!(n && i?.id);
27
+ return /* @__PURE__ */ m("tr", { className: _("ttw:border-t ttw:border-border", l && "ttw:hover:cursor-pointer"), ...l && e && i?.id && {
28
+ onClick: () => e(i.id)
29
+ }, children: [
30
+ /* @__PURE__ */ t("td", { className: "ttw:text-left ttw:h-9 ttw:py-2 ttw:pr-2 ttw:text-sm ttw:leading-5 ttw:font-normal", children: w.date(r?.issue_at, a.dateFormat) }),
31
+ /* @__PURE__ */ t("td", { className: "ttw:text-left ttw:h-9 ttw:py-2 ttw:px-2 ttw:text-sm ttw:leading-5 ttw:font-normal", children: n && i ? s(i?.total_amount, i?.currency) : s(o?.total_amount, o?.currency) }),
32
+ /* @__PURE__ */ t("td", { className: "ttw:text-left ttw:h-9 ttw:py-2 ttw:px-2", children: n && i ? /* @__PURE__ */ t(c, { status: i?.status }) : /* @__PURE__ */ t(d, { status: r?.status }) }),
33
+ /* @__PURE__ */ t("td", { className: "ttw:text-left ttw:h-9 ttw:py-2 ttw:px-2 ttw:text-sm ttw:leading-5 ttw:font-normal", children: n ? i?.document_id : "-" }),
34
+ /* @__PURE__ */ t("td", { className: "ttw:text-right ttw:h-9 ttw:w-6 ttw:py-2 ttw:pl-2 ttw:text-muted-foreground", children: l ? /* @__PURE__ */ t(f, { className: "ttw:inline ttw:size-4", "aria-hidden": "true" }) : null })
35
+ ] });
36
+ }, z = ({
37
+ invoice: r,
38
+ recurrence: o,
39
+ openInvoiceDetails: w
40
+ }) => {
41
+ const {
42
+ i18n: e
43
+ } = p();
44
+ return /* @__PURE__ */ m("table", { className: "ttw:w-full", children: [
45
+ /* @__PURE__ */ t("thead", { children: /* @__PURE__ */ m("tr", { children: [
46
+ /* @__PURE__ */ t("th", { className: "ttw:text-left ttw:h-10 ttw:pr-2 ttw:text-sm ttw:font-medium ttw:leading-5", children: e._("Issue date") }),
47
+ /* @__PURE__ */ t("th", { className: "ttw:text-left ttw:h-10 ttw:px-2 ttw:text-sm ttw:font-medium ttw:leading-5", children: e._("Amount") }),
48
+ /* @__PURE__ */ t("th", { className: "ttw:text-left ttw:h-10 ttw:px-2 ttw:text-sm ttw:font-medium ttw:leading-5", children: e._("Status") }),
49
+ /* @__PURE__ */ t("th", { className: "ttw:text-left ttw:h-10 ttw:px-2 ttw:text-sm ttw:font-medium ttw:leading-5", children: e._("Number") }),
50
+ /* @__PURE__ */ t("th", { className: "ttw:h-10 ttw:w-6 ttw:pl-2", "aria-hidden": "true" })
51
+ ] }) }),
52
+ /* @__PURE__ */ t("tbody", { children: o?.iterations?.map((a, s) => /* @__PURE__ */ t(N, { iteration: a, invoice: r, i18n: e, onRowClick: w }, e._("iteration-{iteration}-{index}", {
53
+ iteration: a?.iteration,
54
+ index: s
55
+ }))) })
75
56
  ] });
76
57
  };
77
58
  export {
78
- E as InvoiceNumbering
59
+ z as InvoiceDetailsTabScheduledInvoices
79
60
  };
@@ -1,34 +1,54 @@
1
- import { z as e } from "zod";
2
- const i = (n, t) => e.object({
3
- min_digits: e.coerce.number().int().min(1, n._("Can't be less than 1")).max(20, n._("Can't be greater than 20")),
4
- credit_note: e.string().min(1),
5
- credit_note_number: e.coerce.number().int().min(t.credit_note, n._("Can't be less than {nextNumbersCredit_note}", {
6
- nextNumbersCredit_note: t.credit_note
7
- })),
8
- delivery_note: e.string().min(1),
9
- delivery_note_number: e.coerce.number().int().min(t.delivery_note, n._("Can't be less than {nextNumbersDelivery_note}", {
10
- nextNumbersDelivery_note: t.delivery_note
11
- })),
12
- quote: e.string().min(1),
13
- quote_number: e.coerce.number().int().min(t.quote, n._("Can't be less than {nextNumbersQuote}", {
14
- nextNumbersQuote: t.quote
15
- })),
16
- invoice: e.string().min(1, n._("Invoice prefix is required")).max(25, n._("Invoice prefix should have at most 25 characters")),
17
- invoice_number: e.coerce.number().int().min(t.invoice, n._("Can't be less than {nextNumbersInvoice}", {
18
- nextNumbersInvoice: t.invoice
19
- })),
20
- purchase_order: e.string().min(1),
21
- purchase_order_number: e.coerce.number().int().min(t.purchase_order, n._("Can't be less than {nextNumbersPurchase_order}", {
22
- nextNumbersPurchase_order: t.purchase_order
23
- })),
24
- include_date: e.boolean(),
25
- prefix: e.string().max(25, n._("Prefix should have at most 25 characters")),
26
- separator: e.enum(["/", "-", "|", ".", ""]),
27
- invoice_bank_display: e.boolean(),
28
- update_paid_invoices: e.boolean(),
29
- quote_signature_display: e.boolean(),
30
- quote_electronic_signature: e.union([e.boolean(), e.string()])
31
- });
1
+ import { jsx as e, jsxs as t } from "@emotion/react/jsx-runtime";
2
+ import { Button as l } from "./index84.js";
3
+ import { Dialog as u, DialogContent as g, DialogHeader as b, DialogTitle as f, DialogDescription as w, DialogFooter as k } from "./index189.js";
4
+ import { useLingui as v } from "@lingui/react";
5
+ import { useMarkAsUncollectibleReceivableById as C } from "./index372.js";
6
+ import { useState as x } from "react";
7
+ import { Textarea as D } from "./index119.js";
8
+ import { Label as _ } from "./index307.js";
9
+ import { LoadingSpinner as M } from "./index131.js";
10
+ const U = ({
11
+ invoiceId: r,
12
+ open: s,
13
+ onClose: i,
14
+ onMarkAsUncollectible: c
15
+ }) => {
16
+ const {
17
+ i18n: o
18
+ } = v(), [n, m] = x(""), {
19
+ mutate: d,
20
+ isPending: a
21
+ } = C(r, c), p = () => {
22
+ d({
23
+ comment: n.trim()
24
+ }, {
25
+ onSuccess: () => {
26
+ i();
27
+ }
28
+ });
29
+ };
30
+ return /* @__PURE__ */ e(u, { open: s, onOpenChange: i, children: /* @__PURE__ */ t(g, { showCloseButton: !1, children: [
31
+ /* @__PURE__ */ t(b, { children: [
32
+ /* @__PURE__ */ e(f, { children: o._("Mark invoice as uncollectible?") }),
33
+ /* @__PURE__ */ t(w, { children: [
34
+ /* @__PURE__ */ e("p", { children: o._("This invoice will change its status, and you won't be able to receive or log any payment against it.") }),
35
+ /* @__PURE__ */ e("br", {}),
36
+ /* @__PURE__ */ e("p", { children: o._("For bookkeeping purposes, this is a write-off and has tax implications.") })
37
+ ] })
38
+ ] }),
39
+ /* @__PURE__ */ t("div", { className: "ttw:flex ttw:flex-col ttw:gap-2", children: [
40
+ /* @__PURE__ */ e(_, { htmlFor: "comment", children: o._("Comment (optional)") }),
41
+ /* @__PURE__ */ e(D, { id: "comment", placeholder: o._("Add a comment"), value: n, onChange: (h) => m(h.target.value) })
42
+ ] }),
43
+ /* @__PURE__ */ t(k, { children: [
44
+ /* @__PURE__ */ e(l, { variant: "outline", onClick: i, children: o._("Cancel") }),
45
+ /* @__PURE__ */ t(l, { onClick: p, disabled: a, children: [
46
+ a && /* @__PURE__ */ e(M, { className: "ttw:w-5 ttw:h-5 ttw:border-inherit ttw:border-t-transparent" }),
47
+ o._("Mark as uncollectible")
48
+ ] })
49
+ ] })
50
+ ] }) });
51
+ };
32
52
  export {
33
- i as getInvoiceSettingsFormSchema
53
+ U as MarkAsUncollectibleModal
34
54
  };
@@ -1,22 +1,32 @@
1
- const a = (n) => !!n && typeof n == "object" && "display_organization_bank_account" in n, t = (n, i) => a(n) ? !!(n.display_organization_bank_account ?? i) : i, _ = (n, i) => {
2
- const o = a(n?.invoice);
3
- return {
4
- ...n,
5
- display_organization_bank_account: i.invoice_bank_display,
6
- quote: {
7
- ...n?.quote,
8
- display_signature: i.quote_signature_display
9
- },
10
- ...o ? {
11
- invoice: {
12
- ...n?.invoice,
13
- display_organization_bank_account: i.invoice_bank_display
14
- }
15
- } : {}
16
- };
17
- };
1
+ import { jsxs as t, jsx as e } from "@emotion/react/jsx-runtime";
2
+ import { Button as m } from "./index84.js";
3
+ import { DropdownMenu as d, DropdownMenuTrigger as p, DropdownMenuContent as u, DropdownMenuItem as f } from "./index133.js";
4
+ import { Tooltip as h, TooltipTrigger as g, TooltipContent as w } from "./index245.js";
5
+ import { ACTION_ICON as C } from "./index246.js";
6
+ import { preventTooltipFocusOpen as T } from "./index248.js";
7
+ import { MoreVerticalIcon as v } from "lucide-react";
8
+ function x({
9
+ actions: r,
10
+ triggerLabel: i,
11
+ getActionLabel: n,
12
+ onSelect: a,
13
+ isActionDisabled: s,
14
+ className: l
15
+ }) {
16
+ return /* @__PURE__ */ t(d, { children: [
17
+ /* @__PURE__ */ t(h, { children: [
18
+ /* @__PURE__ */ e(g, { asChild: !0, onFocus: T, children: /* @__PURE__ */ e(p, { asChild: !0, children: /* @__PURE__ */ e(m, { variant: "ghost", size: "icon", className: l, "aria-label": i, children: /* @__PURE__ */ e(v, { className: "ttw:size-4" }) }) }) }),
19
+ /* @__PURE__ */ e(w, { children: i })
20
+ ] }),
21
+ /* @__PURE__ */ e(u, { align: "end", children: r.map((o) => {
22
+ const c = C[o];
23
+ return /* @__PURE__ */ t(f, { variant: o === "delete" ? "destructive" : "default", disabled: s?.(o), onClick: () => a(o), children: [
24
+ /* @__PURE__ */ e(c, { className: "ttw:size-4" }),
25
+ n(o)
26
+ ] }, o);
27
+ }) })
28
+ ] });
29
+ }
18
30
  export {
19
- _ as buildDocumentRendering,
20
- t as getBankDisplayValue,
21
- a as hasBankDisplay
31
+ x as InvoiceDetailsOverflowMenu
22
32
  };
@@ -1,75 +1,100 @@
1
- import { jsx as t, jsxs as l } from "@emotion/react/jsx-runtime";
2
- import { cn as n } from "./index100.js";
3
- import * as a from "@radix-ui/react-select";
4
- import { ChevronDownIcon as i, CheckIcon as w, ChevronUpIcon as d } from "lucide-react";
5
- function g({
6
- ...e
7
- }) {
8
- return /* @__PURE__ */ t(a.Root, { "data-slot": "select", ...e });
9
- }
10
- function h({
11
- ...e
12
- }) {
13
- return /* @__PURE__ */ t(a.Value, { "data-slot": "select-value", ...e });
14
- }
15
- function v({
16
- className: e,
17
- size: s = "default",
18
- children: o,
19
- ...r
20
- }) {
21
- return /* @__PURE__ */ l(a.Trigger, { "data-slot": "select-trigger", "data-size": s, className: n("ttw:border-input ttw:data-[placeholder]:text-muted-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:dark:bg-input/30 ttw:dark:hover:bg-input/50 ttw:flex ttw:w-fit ttw:items-center ttw:justify-between ttw:gap-2 ttw:rounded-md ttw:border ttw:bg-transparent ttw:px-3 ttw:py-2 ttw:text-sm ttw:whitespace-nowrap ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:data-[size=default]:h-9 ttw:data-[size=sm]:h-8 ttw:*:data-[slot=select-value]:line-clamp-1 ttw:*:data-[slot=select-value]:flex ttw:*:data-[slot=select-value]:min-w-0 ttw:*:data-[slot=select-value]:flex-1 ttw:*:data-[slot=select-value]:items-center ttw:*:data-[slot=select-value]:gap-2 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", e), ...r, children: [
22
- o,
23
- /* @__PURE__ */ t(a.Icon, { asChild: !0, children: /* @__PURE__ */ t(i, { className: "ttw:size-4 ttw:opacity-50" }) })
1
+ import { jsxs as o, Fragment as _, jsx as i } from "@emotion/react/jsx-runtime";
2
+ import { ManualPaymentRecordDetails as k } from "./index373.js";
3
+ import { PaymentRecordForm as E } from "./index374.js";
4
+ import { useMoniteContext as $ } from "./index57.js";
5
+ import { useRootElements as B } from "./index92.js";
6
+ import "@tanstack/react-query";
7
+ import { fromMinorUnits as F, toMinorUnits as H } from "./index120.js";
8
+ import "date-fns";
9
+ import { useEntityUserByAuthToken as L } from "./index75.js";
10
+ import { useCreatePaymentRecord as U } from "./index79.js";
11
+ import { useLingui as A } from "@lingui/react";
12
+ import { Dialog as I, DialogContent as Q, DialogActions as W, Button as m, Box as q } from "@mui/material";
13
+ import { useState as l } from "react";
14
+ const g = {
15
+ amount: 0,
16
+ payment_date: /* @__PURE__ */ new Date(),
17
+ payment_time: /* @__PURE__ */ new Date(),
18
+ created_by: ""
19
+ }, ie = ({
20
+ children: b,
21
+ invoice: t
22
+ }) => {
23
+ const [h, c] = l(!1), [C, r] = l(!1), [e, u] = l(g), {
24
+ i18n: s
25
+ } = A(), {
26
+ root: x
27
+ } = B(), v = () => c(!0), n = () => c(!1), {
28
+ api: p,
29
+ queryClient: y
30
+ } = $(), {
31
+ mutate: D,
32
+ isPending: M
33
+ } = U(), {
34
+ data: f,
35
+ isLoading: R
36
+ } = L(), w = (a) => {
37
+ u({
38
+ ...a,
39
+ amount: H(a?.amount ?? 0),
40
+ created_by: f?.id ?? ""
41
+ }), r(!0);
42
+ }, P = () => {
43
+ r(!1), u(g);
44
+ }, S = () => {
45
+ const a = new Date(e.payment_date).setHours(e.payment_time.getHours(), e.payment_time.getMinutes()), j = new Date(a);
46
+ D({
47
+ amount: e?.amount ?? 0,
48
+ currency: t.currency,
49
+ paid_at: j.toISOString(),
50
+ object: {
51
+ id: t.id,
52
+ type: "receivable"
53
+ },
54
+ payment_intent_id: t.id,
55
+ entity_user_id: f?.id,
56
+ status: "succeeded"
57
+ }, {
58
+ onSuccess: () => {
59
+ p.finops.getReceivablesId.invalidateQueries({
60
+ parameters: {
61
+ path: {
62
+ receivable_id: t.id
63
+ }
64
+ }
65
+ }, y), p.finops.getReceivables.invalidateQueries(y), n(), P();
66
+ }
67
+ });
68
+ }, d = M || R;
69
+ return ["draft", "paid", "canceled", "deleted", "accepted", "recurring", "expired", "declined", "uncollectible"].includes(t.status) ? null : /* @__PURE__ */ o(_, { children: [
70
+ b({
71
+ openModal: v
72
+ }),
73
+ /* @__PURE__ */ i(I, { open: h, onClose: n, container: x, "aria-labelledby": "dialog-title", fullWidth: !0, maxWidth: "sm", children: C ? /* @__PURE__ */ o(_, { children: [
74
+ /* @__PURE__ */ i(Q, { sx: {
75
+ p: 4
76
+ }, children: /* @__PURE__ */ i(k, { invoice: t, paymentRecords: e }) }),
77
+ /* @__PURE__ */ o(W, { sx: {
78
+ px: 4,
79
+ pb: 4,
80
+ justifyContent: "space-between"
81
+ }, children: [
82
+ /* @__PURE__ */ i(m, { onClick: n, children: s._("Cancel") }),
83
+ /* @__PURE__ */ o(q, { sx: {
84
+ display: "flex",
85
+ gap: 2
86
+ }, children: [
87
+ /* @__PURE__ */ i(m, { variant: "outlined", disabled: d, onClick: () => r(!1), children: s._("Edit record") }),
88
+ /* @__PURE__ */ i(m, { variant: "contained", disabled: d, onClick: S, children: s._("Confirm") })
89
+ ] })
90
+ ] })
91
+ ] }) : /* @__PURE__ */ i(E, { invoice: t, initialValues: {
92
+ amount: e.amount ? F(e.amount) : 0,
93
+ payment_date: e.payment_date,
94
+ payment_time: e.payment_time
95
+ }, isLoading: d, onCancel: n, onSubmit: w }) })
24
96
  ] });
25
- }
26
- function x({
27
- className: e,
28
- children: s,
29
- position: o = "popper",
30
- ...r
31
- }) {
32
- return /* @__PURE__ */ t(a.Portal, { children: /* @__PURE__ */ l(a.Content, { "data-slot": "select-content", className: n("ttw:bg-popover ttw:text-popover-foreground ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:relative ttw:z-1300 ttw:max-h-(--radix-select-content-available-height) ttw:min-w-[8rem] ttw:origin-(--radix-select-content-transform-origin) ttw:overflow-x-hidden ttw:overflow-y-auto ttw:rounded-md ttw:border-none ttw:shadow-md", o === "popper" && "ttw:data-[side=bottom]:translate-y-1 ttw:data-[side=left]:-translate-x-1 ttw:data-[side=right]:translate-x-1 ttw:data-[side=top]:-translate-y-1", e), position: o, ...r, children: [
33
- /* @__PURE__ */ t(c, {}),
34
- /* @__PURE__ */ t(a.Viewport, { className: n("ttw:p-1", o === "popper" && "ttw:h-[var(--radix-select-trigger-height)] ttw:w-full ttw:min-w-[var(--radix-select-trigger-width)] ttw:scroll-my-1"), children: s }),
35
- /* @__PURE__ */ t(u, {})
36
- ] }) });
37
- }
38
- function b({
39
- className: e,
40
- children: s,
41
- ...o
42
- }) {
43
- return /* @__PURE__ */ l(a.Item, { "data-slot": "select-item", className: n("ttw:focus:bg-accent ttw:focus:text-accent-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:relative ttw:flex ttw:w-full ttw:cursor-default ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:py-1.5 ttw:pr-8 ttw:pl-2 ttw:text-sm ttw:outline-hidden ttw:select-none ttw:data-[disabled]:pointer-events-none ttw:data-[disabled]:opacity-50 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4 ttw:*:[span]:last:flex ttw:*:[span]:last:min-w-0 ttw:*:[span]:last:flex-1 ttw:*:[span]:last:items-center ttw:*:[span]:last:gap-2", e), ...o, children: [
44
- /* @__PURE__ */ t("span", { className: "ttw:absolute ttw:right-2 ttw:flex ttw:size-3.5 ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(a.ItemIndicator, { children: /* @__PURE__ */ t(w, { className: "ttw:size-4" }) }) }),
45
- /* @__PURE__ */ t(a.ItemText, { children: s })
46
- ] });
47
- }
48
- function N({
49
- className: e,
50
- ...s
51
- }) {
52
- return /* @__PURE__ */ t(a.Separator, { "data-slot": "select-separator", className: n("ttw:bg-border ttw:pointer-events-none ttw:-mx-1 ttw:my-1 ttw:h-px", e), ...s });
53
- }
54
- function c({
55
- className: e,
56
- ...s
57
- }) {
58
- return /* @__PURE__ */ t(a.ScrollUpButton, { "data-slot": "select-scroll-up-button", className: n("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e), ...s, children: /* @__PURE__ */ t(d, { className: "ttw:size-4" }) });
59
- }
60
- function u({
61
- className: e,
62
- ...s
63
- }) {
64
- return /* @__PURE__ */ t(a.ScrollDownButton, { "data-slot": "select-scroll-down-button", className: n("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e), ...s, children: /* @__PURE__ */ t(i, { className: "ttw:size-4" }) });
65
- }
97
+ };
66
98
  export {
67
- g as Select,
68
- x as SelectContent,
69
- b as SelectItem,
70
- u as SelectScrollDownButton,
71
- c as SelectScrollUpButton,
72
- N as SelectSeparator,
73
- v as SelectTrigger,
74
- h as SelectValue
99
+ ie as RecordManualPaymentModal
75
100
  };