@tesouro/embedded-components-react 0.5.189 → 0.5.190

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 (288) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/lib/BillPayWidget.js +1 -1
  3. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index5.js +34 -34
  4. package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index3.js +18 -18
  5. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +2 -2
  6. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index25.js +263 -263
  7. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index7.js +89 -89
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +33 -14
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index10.js +29 -74
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index11.js +18 -55
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index12.js +24 -42
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index13.js +13 -327
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +31 -7
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index15.js +8 -35
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index16.js +92 -14
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index17.js +20 -137
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index18.js +69 -28
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index19.js +58 -0
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index2.js +35 -0
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index20.js +47 -0
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index21.js +88 -0
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index22.js +36 -0
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index23.js +35 -0
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index24.js +40 -0
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index25.js +34 -0
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index26.js +34 -0
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index27.js +34 -0
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index28.js +36 -0
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index29.js +36 -0
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index3.js +16 -4
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index30.js +36 -0
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index31.js +8 -0
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index32.js +35 -0
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index33.js +49 -0
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index34.js +36 -0
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index35.js +47 -0
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index36.js +27 -0
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index37.js +15 -0
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index38.js +35 -0
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index39.js +55 -0
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index4.js +27 -13
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index40.js +20 -0
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index41.js +43 -0
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index42.js +27 -0
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index43.js +35 -0
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index44.js +29 -0
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index45.js +29 -0
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index46.js +6 -0
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index47.js +39 -0
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index5.js +2 -33
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index6.js +35 -255
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index7.js +59 -123
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index8.js +13 -91
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index9.js +29 -29
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +19 -21
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +5 -62
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +15 -4
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +22 -5
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +51 -211
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +1 -4
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +84 -15
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +5 -24
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +31 -62
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +41 -2
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +167 -81
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +56 -5
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +46 -3
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +1 -7
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +47 -3
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +13 -32
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +8 -38
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +7 -163
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +61 -41
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +13 -1
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +24 -45
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +162 -13
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +4 -56
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +25 -8
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +16 -7
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +32 -57
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +96 -8
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +81 -24
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +3 -158
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +45 -10
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +111 -23
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +189 -21
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +69 -33
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +38 -5
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +29 -13
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +89 -8
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +412 -4
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +12 -97
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +83 -82
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +80 -3
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +224 -134
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +44 -45
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +247 -109
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +22 -191
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +6 -38
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +614 -66
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +4 -35
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +42 -89
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +243 -398
  104. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +3 -16
  105. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +3 -86
  106. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +43 -80
  107. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +1 -232
  108. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +6 -44
  109. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +11 -252
  110. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +24 -5
  111. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +130 -23
  112. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +3 -628
  113. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +6 -4
  114. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +127 -40
  115. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +8 -257
  116. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +10 -3
  117. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +82 -2
  118. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +22 -44
  119. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +22 -1
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +29 -6
  121. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +12 -22
  122. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +83 -10
  123. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +48 -130
  124. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +262 -3
  125. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +32 -3
  126. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +387 -124
  127. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +307 -8
  128. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +4 -10
  129. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +4 -81
  130. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +111 -21
  131. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +1 -22
  132. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +37 -13
  133. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +24 -28
  134. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +222 -35
  135. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +46 -42
  136. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +10 -126
  137. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +105 -1
  138. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +2 -33
  139. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +28 -7
  140. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +73 -126
  141. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +1 -1
  142. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +30 -11
  143. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +8 -106
  144. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +181 -2
  145. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +2 -10
  146. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index110.js +12 -50
  147. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +108 -2
  148. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +2 -0
  149. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +10 -0
  150. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index114.js +52 -0
  151. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index115.js +2 -0
  152. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +1 -14
  153. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +12 -16
  154. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +18 -2
  155. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +2 -4
  156. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +2 -28
  157. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +30 -2
  158. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +2 -32
  159. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +32 -1
  160. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +1 -35
  161. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +32 -18
  162. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +19 -135
  163. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +137 -2
  164. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +2 -4
  165. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +78 -12
  166. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +278 -1
  167. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +2 -4
  168. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +16 -17
  169. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +56 -2
  170. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +1 -106
  171. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +15 -76
  172. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +51 -275
  173. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +19 -5
  174. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +368 -50
  175. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +19 -14
  176. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +92 -50
  177. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +25 -28
  178. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +43 -363
  179. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +48 -15
  180. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +10 -93
  181. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +197 -2
  182. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +1 -31
  183. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +2 -52
  184. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +41 -2
  185. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +1 -55
  186. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +16 -10
  187. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +75 -184
  188. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +1 -1
  189. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +46 -2
  190. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +313 -36
  191. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +6 -16
  192. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +26 -81
  193. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +2 -317
  194. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +1 -9
  195. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +13 -31
  196. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +170 -2
  197. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +2 -2
  198. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +4 -1
  199. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +34 -13
  200. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +2 -170
  201. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +39 -2
  202. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +10 -2
  203. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +195 -30
  204. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +1 -0
  205. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +2 -37
  206. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +14 -10
  207. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +2 -201
  208. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +4 -3
  209. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +20 -16
  210. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +1 -508
  211. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +62 -7
  212. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +14 -5
  213. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +493 -77
  214. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index87.js → ui/dist/index88.js} +1 -2
  215. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +10 -2
  216. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +5 -3
  217. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +88 -25
  218. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +2 -7
  219. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +5 -32
  220. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +30 -2
  221. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +2 -12
  222. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +5 -104
  223. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +34 -2
  224. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +2 -31
  225. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/billDetailLabels.js +146 -0
  226. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/derivePayableStatus.js +62 -0
  227. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/formatBillMoney.js +7 -0
  228. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/formatScheduledDateLabel.js +12 -0
  229. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/isEditablePayableStatus.js +7 -0
  230. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/isLiveScheduledPaymentRecord.js +7 -0
  231. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/maskAccountNumber.js +6 -0
  232. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableDuplicates.js +48 -0
  233. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableTotals.js +18 -0
  234. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveAmountDue.js +6 -0
  235. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemAmount.js +11 -0
  236. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemQuantity.js +7 -0
  237. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveVendor.js +9 -0
  238. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/widgetName.js +4 -0
  239. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +95 -95
  240. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index4.js +8 -8
  241. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index13.js +9 -9
  242. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +8 -5
  243. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +7 -0
  244. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +6 -0
  245. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +31 -18
  246. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index3.js +1 -1
  247. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +2 -32
  248. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +23 -190
  249. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +163 -50
  250. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +1 -80
  251. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js +101 -2
  252. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index9.js +85 -0
  253. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +1 -1
  254. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index7.js +3 -3
  255. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +1 -1
  256. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +10 -10
  257. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js +104 -104
  258. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +4 -4
  259. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/useRemoteCheckCaptureWidget.js +47 -47
  260. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +1 -1
  261. package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +11 -11
  262. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +10 -10
  263. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +15 -15
  264. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +9 -9
  265. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js +7 -7
  266. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +53 -53
  267. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartSelector.js +15 -15
  268. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js +4 -4
  269. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +35 -35
  270. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetTokenRefreshProvider.js +4 -4
  271. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  272. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/mergeLabelTree.js +12 -0
  273. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index4.js +1 -1
  274. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js +46 -46
  275. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js +5 -13
  276. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  277. package/package.json +1 -1
  278. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +0 -86
  279. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +0 -50
  280. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +0 -263
  281. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +0 -35
  282. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +0 -392
  283. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +0 -310
  284. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -7
  285. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +0 -114
  286. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +0 -1
  287. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index91.js +0 -27
  288. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +0 -2
@@ -2,414 +2,259 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
5
+ import { buildPayableAuditHistory as e, hasUnattributedAuditRows as ee } from "../../../shared/util/dist/lib/auditHistory/buildPayableAuditHistory.js";
6
6
  import { hasAnyScope as t } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
7
7
  import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
8
+ import { useAllLedgerAccountsQuery as te } from "../../../shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js";
8
9
  import "../../../shared/data-access/dist/index.js";
9
- import "../../../shared/ui/dist/index.js";
10
- import { useWidgetConfig as r } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
10
+ import { useWidgetConfig as ne } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
11
+ import { useOrganizationUserNames as re } from "../../../shared/feature/dist/lib/user/useOrganizationUserNames.js";
11
12
  import "../../../shared/feature/dist/index.js";
12
- import { useCounterpartsQuery as i } from "../../../shared/counterpart-management/data-access/dist/index3.js";
13
- import { useCreateCounterpartBankAccountMutation as ee, useUpdateCounterpartBankAccountMutation as a } from "../../../shared/counterpart-management/data-access/dist/index5.js";
14
- import { usePayableSuggestionsQuery as o } from "../../data-access/dist/index18.js";
13
+ import { mergeDecisionDialogCopy as r, mergePaymentHistoryMethodLabels as i } from "../../util/dist/lib/billDetailLabels.js";
14
+ import { formatScheduledDateLabel as a } from "../../util/dist/lib/formatScheduledDateLabel.js";
15
+ import { resolveAmountDueMinorUnits as o } from "../../util/dist/lib/resolveAmountDue.js";
16
+ import { usePayableApprovalRequestsQuery as s } from "../../data-access/dist/index16.js";
17
+ import { usePayableHistoryQuery as c } from "../../data-access/dist/index17.js";
18
+ import { useAllPayableLineItemsQuery as l } from "../../data-access/dist/index18.js";
19
+ import { usePayableQuery as u } from "../../data-access/dist/index41.js";
15
20
  import "../../data-access/dist/index.js";
16
- import { COUNTERPART_MESSAGE_LABELS_EN as te } from "../../../shared/counterpart-management/feature/dist/lib/labels.js";
17
- import { counterpartFormBankAccountToCreatePayload as ne, counterpartFormBankAccountToUpdatePayload as re, getAchInstructions as ie, getCounterpartEmail as s, getCounterpartName as c, getPayableAchInstructions as ae, isAchCompatibleBankAccount as l, resolveCounterpartBankAccountWrite as oe, validateAchFormValues as se } from "../../../shared/counterpart-management/feature/dist/lib/helpers.js";
18
- import { useCounterpartDetails as ce } from "../../../shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js";
19
- import { useCounterpartForm as le } from "../../../shared/counterpart-management/feature/dist/lib/useCounterpartForm.js";
21
+ import { usePayableDuplicateReview as d } from "./index9.js";
22
+ import "./index10.js";
23
+ import { canOverrideApprovalPolicy as ie, canReadCounterpartBankAccounts as ae } from "./index15.js";
24
+ import { BillDecisionDialog as oe } from "../../ui/dist/index59.js";
25
+ import { BillDetailsSheet as se } from "../../ui/dist/index62.js";
26
+ import { BillDuplicateNotice as ce } from "../../ui/dist/index70.js";
27
+ import { MarkAsPaidDialog as le } from "../../ui/dist/index104.js";
28
+ import "../../ui/dist/index.js";
29
+ import { usePayableAchInstructions as ue } from "../../../shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js";
20
30
  import "../../../shared/counterpart-management/feature/dist/index.js";
21
- import { VENDOR_SECTION_PROPS_LABELS_EN as ue } from "./index49.js";
22
- import { buildVendorPrefill as de } from "./index51.js";
23
- import { VendorInlineForm as fe } from "./index52.js";
24
- import { useCallback as u, useEffect as d, useMemo as f, useRef as p, useState as m } from "react";
25
- import { jsx as pe } from "react/jsx-runtime";
31
+ import { PayBillFlow as de } from "./index20.js";
32
+ import "./index21.js";
33
+ import { mapPayableToBillDetails as fe } from "./index33.js";
34
+ import { mergeMarkAsPaidFlowLabels as pe } from "./index11.js";
35
+ import { useMarkAsPaidFlow as me } from "./index13.js";
36
+ import "./index14.js";
37
+ import { buildPaymentHistory as he } from "./index2.js";
38
+ import { currentApprovalRound as ge } from "./index3.js";
39
+ import { usePayableApprovalRoundStart as f } from "./index25.js";
40
+ import { useApprovalPolicyCardView as _e } from "./index26.js";
41
+ import { resolveBillRejectionNotice as ve } from "./index27.js";
42
+ import { useCurrentApprovalRequestId as ye } from "./index28.js";
43
+ import { usePayableDetailActions as be } from "./index29.js";
44
+ import { useLocalCalendarDay as xe } from "./index30.js";
45
+ import { useScheduledPayment as Se } from "./index31.js";
46
+ import { BILL_DETAILS_LABELS_EN as p } from "./index52.js";
47
+ import { useMemo as m, useRef as Ce } from "react";
48
+ import { Fragment as we, jsx as h, jsxs as Te } from "react/jsx-runtime";
26
49
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js
27
- var me = 10, he = 300, h = {
28
- accountHolderName: "",
29
- routingNumber: "",
30
- accountNumber: ""
31
- };
32
- function ge(e) {
33
- return {
34
- accountHolderName: e.account_holder_name ?? "",
35
- routingNumber: e.routing_number ?? "",
36
- accountNumber: e.account_number ?? ""
37
- };
38
- }
39
- function g(e, t) {
40
- return e.accountHolderName.trim() === t.accountHolderName.trim() && e.routingNumber.trim() === t.routingNumber.trim() && e.accountNumber.trim() === t.accountNumber.trim();
41
- }
42
- function _e(e, t) {
43
- return e?.find((e) => e.id === t && l(e)) ?? ie(e);
44
- }
45
- function _({ payableId: ie, counterpartId: l, payableCounterpartId: _, payableCounterpartBankAccountId: ve, isVendorKnown: ye = !0, onCounterpartChange: be, requiredError: xe, extractedVendor: v, readOnly: y = !1, canEditVendor: b = !0, canEditPaymentInstructions: Se = !0, canAddPaymentInstructions: Ce = !0, confirmDiscard: x = (e) => e(), labels: we }) {
46
- let S = {
47
- ...ue,
48
- ...we
49
- }, { initResponse: Te } = r(), Ee = t(Te?.scopes, [n.CounterpartReadOrg]), [C, De] = m(""), [w, Oe] = m(""), ke = p(w), [T, Ae] = m(), [je, Me] = m("none"), [Ne, Pe] = m(), [Fe, E] = m(!1), [D, O] = m(!1), [k, A] = m(h), Ie = p(k);
50
- Ie.current = k;
51
- let j = p(h), [Le, M] = m(), [Re, ze] = m(), Be = Re?.bankAccountId, N = p(void 0), Ve = p(l), [He, Ue] = m(!1), [We, Ge] = m(!1), P = p(void 0), Ke = (D || T === "create") && !g(k, j.current), F = u(() => {
52
- O(!1), A(h), j.current = h, M(void 0);
53
- }, []), I = u((e) => {
54
- Ue(!0), be(e);
55
- }, [be]), L = o(ie, { enabled: !y && !!ie && !l && !_ }).data?.suggested_counterpart?.id, qe = v?.name;
56
- d(() => {
57
- !y && !He && !l && !_ && L && I(L);
58
- }, [
59
- l,
60
- _,
61
- y,
62
- He,
63
- L,
64
- I
65
- ]), d(() => {
66
- Ve.current !== l && (Ve.current = l, F(), ze((e) => e?.counterpartId === l ? e : void 0));
67
- }, [l, F]), d(() => {
68
- let e = setTimeout(() => {
69
- Oe(C.trim());
70
- }, he);
71
- return () => clearTimeout(e);
72
- }, [C]);
73
- let R = i({
74
- sort: "counterpart_name",
75
- order: "asc",
76
- limit: me,
77
- counterpart_name__icontains: w || void 0,
78
- is_vendor: !0,
79
- enabled: !y && (T === "edit" || !T && !l) && ye && Ee
80
- });
81
- d(() => {
82
- R.isPlaceholderData || (ke.current = w);
83
- }, [w, R.isPlaceholderData]);
84
- let Je = R.isPlaceholderData && ke.current !== w, z = ce({
85
- selectedId: l,
86
- enabled: Ee
87
- }), Ye = ee(), Xe = a(), B = le({
88
- view: je,
89
- setView: Me,
90
- selectedId: Ne,
91
- setSelectedId: Pe,
92
- messages: te,
93
- counterpartType: "vendor",
94
- counterpart: z.counterpart,
95
- primaryAddress: z.primaryAddress,
96
- includeBankAccount: !1
97
- }), { openCreate: Ze, openEdit: Qe, close: $e, setValues: V, submit: et } = B, H = f(() => de(v), [v]), U = H?.bankAccount, W = f(() => {
98
- let e = z.counterpart;
99
- if (!e) return;
100
- if (z.isBankAccountsLoading) return {
101
- name: c(e),
102
- email: s(e),
103
- methodLabel: S.paymentMethodLoading,
104
- hasPaymentInstructions: !1
105
- };
106
- if (z.isBankAccountsError) return {
107
- name: c(e),
108
- email: s(e),
109
- methodLabel: S.paymentMethodUnavailable,
110
- hasPaymentInstructions: !1
111
- };
112
- let t = ae(z.bankAccounts);
113
- return {
114
- name: c(e),
115
- email: s(e),
116
- methodLabel: t ? S.paymentInstructionsValue(t.account_number?.slice(-4) ?? "") : S.noMethod,
117
- hasPaymentInstructions: !!t
118
- };
119
- }, [
120
- z.bankAccounts,
121
- z.counterpart,
122
- z.isBankAccountsError,
123
- z.isBankAccountsLoading,
124
- S
125
- ]), G = f(() => {
126
- let e = qe?.trim();
127
- if (!e || l || T) return;
128
- let t = U?.accountNumber;
129
- return {
130
- name: e,
131
- email: v?.email ?? "",
132
- description: S.pendingVendorDescription,
133
- methodLabel: t ? S.paymentInstructionsValue(t.slice(-4)) : "",
134
- hasPaymentInstructions: !!t
135
- };
136
- }, [
137
- l,
138
- U?.accountNumber,
139
- v?.email,
140
- qe,
141
- T,
142
- S.paymentInstructionsValue,
143
- S.pendingVendorDescription
144
- ]), K = l === _ ? ve : void 0, q = f(() => _e(z.bankAccounts, K), [z.bankAccounts, K]), tt = f(() => ae(z.bankAccounts)?.id, [z.bankAccounts]), nt = !z.counterpart || z.isLoading || z.isFetching || z.isError || z.isBankAccountsLoading || z.isBankAccountsFetching || z.isBankAccountsError, rt = nt || z.isAddressesLoading || z.isAddressesFetching || z.isAddressesError, it = b && !nt && z.isAddressesError ? { onRetry: z.refetchAddresses } : void 0, J = u(() => {
145
- $e(), Ae(void 0), E(!1), N.current = void 0;
146
- }, [$e]), at = u((e) => {
147
- if (E(!1), N.current = void 0, e === "edit") Pe(l), Qe();
148
- else {
149
- Ze();
150
- let e = C.trim();
151
- V((t) => ({
152
- ...t,
153
- entityType: "organization",
154
- legalName: e || H?.legalName || t.legalName,
155
- email: H?.email || t.email,
156
- phone: H?.phone || t.phone,
157
- address: H?.address ?? t.address
158
- })), A(U ?? h), M(void 0), j.current = h;
159
- }
160
- Ae(e);
161
- }, [
162
- l,
163
- U,
164
- Ze,
165
- Qe,
166
- C,
167
- V,
168
- H
169
- ]), Y = u(() => {
170
- let e = q ? ge(q) : h;
171
- j.current = e, A(e), M(void 0), O(!0);
172
- }, [q]), ot = u((e) => {
173
- A((t) => ({
174
- ...t,
175
- ...e
176
- })), M(void 0);
177
- }, []), st = u(() => {
178
- Ke ? x(F) : F();
179
- }, [
180
- F,
181
- x,
182
- Ke
183
- ]), X = u(() => {
184
- J(), F();
185
- }, [F, J]), Z = Fe || Ke, Q = u((e) => {
186
- let t = () => {
187
- X(), e();
188
- };
189
- Z ? x(t) : t();
190
- }, [
191
- x,
192
- X,
193
- Z
194
- ]), ct = u(() => {
195
- Z ? x(X) : X();
196
- }, [
197
- x,
198
- X,
199
- Z
200
- ]), lt = u(async (t) => {
201
- let n = l, r = !1, i = Ie.current;
202
- if (!g(i, j.current)) {
203
- let e = se(i);
204
- if (Object.keys(e).length > 0) return M(e), T !== "create" && O(!0), { ok: !1 };
205
- }
206
- if (T === "edit" && rt) return { ok: !1 };
207
- if (T) {
208
- if (T === "create" && N.current) n = N.current;
209
- else {
210
- let e = await et();
211
- if (!e.ok) return { ok: !1 };
212
- T === "create" ? (n = e.counterpartId, N.current = n) : n = e.counterpartId ?? n;
50
+ function g({ open: g, onOpenChange: _, payableId: v, onClose: y, onExpand: b, onEdit: x, testId: S, labels: C, poweredByBankName: w }) {
51
+ let T = m(() => ({
52
+ ...p,
53
+ ...C,
54
+ sheet: {
55
+ ...p.sheet,
56
+ ...C?.sheet,
57
+ statusBadge: {
58
+ ...p.sheet.statusBadge,
59
+ ...C?.sheet?.statusBadge
60
+ },
61
+ approvalPolicy: {
62
+ ...p.sheet.approvalPolicy,
63
+ ...C?.sheet?.approvalPolicy
64
+ },
65
+ dueDate: {
66
+ ...p.sheet.dueDate,
67
+ ...C?.sheet?.dueDate
68
+ },
69
+ auditHistory: {
70
+ ...p.sheet.auditHistory,
71
+ ...C?.sheet?.auditHistory
213
72
  }
214
- T === "create" && (r = !0);
215
- }
216
- if (!n) return { ok: !0 };
217
- let ee = z.isBankAccountsLoading || z.isBankAccountsFetching || z.isBankAccountsError;
218
- if (g(i, j.current)) {
219
- let e = Be ?? K;
220
- return e ? (t && (O(!1), T && J()), r && I(n), {
221
- ok: !0,
222
- counterpartId: n,
223
- counterpartBankAccountId: e
224
- }) : r ? (t && J(), I(n), {
225
- ok: !0,
226
- counterpartId: n
227
- }) : ee ? { ok: !1 } : (t && (O(!1), T && J()), {
228
- ok: !0,
229
- counterpartId: n,
230
- counterpartBankAccountId: tt
231
- });
232
- }
233
- if (ee) return { ok: !1 };
234
- M(void 0);
235
- let a = oe(z.bankAccounts, Be ?? q?.id), o;
236
- try {
237
- a.kind === "update" ? (await Xe.mutateAsync({
238
- path: {
239
- counterpart_id: n,
240
- bank_account_id: a.bankAccountId
241
- },
242
- body: re(i, { includeAchDefaults: a.includeAchDefaults })
243
- }), o = a.bankAccountId) : o = (await Ye.mutateAsync({
244
- path: { counterpart_id: n },
245
- body: ne(i, { isDefaultForCurrency: a.isDefaultForCurrency })
246
- }))?.id;
247
- } catch {
248
- return e.error(S.bankAccountSaveFailed), {
249
- ok: !1,
250
- counterpartId: n
251
- };
73
+ },
74
+ decisionDialog: r(p.decisionDialog, C?.decisionDialog),
75
+ approvalPolicyCopy: {
76
+ ...p.approvalPolicyCopy,
77
+ ...C?.approvalPolicyCopy
78
+ },
79
+ history: {
80
+ ...p.history,
81
+ ...C?.history
82
+ },
83
+ markAsPaid: pe(C?.markAsPaid),
84
+ scheduledRelativeDay: {
85
+ ...p.scheduledRelativeDay,
86
+ ...C?.scheduledRelativeDay
87
+ },
88
+ actionSuccess: {
89
+ ...p.actionSuccess,
90
+ ...C?.actionSuccess
91
+ },
92
+ paymentHistoryMethodLabels: i(C?.paymentHistoryMethodLabels)
93
+ }), [C]), E = u(v), D = l(v), O = te(), { initResponse: k } = ne(), A = E.data, j = Ce(null), M = ye({
94
+ payableId: v,
95
+ status: A?.status
96
+ }), Ee = A?.status === "rejected", De = t(k?.scopes, [n.ApprovalRequestReadOrg]), N = Ee && De, P = f({
97
+ payableId: v,
98
+ enabled: N
99
+ }), F = s(v, { enabled: N }), I = t(k?.scopes, [n.UserReadOrg]), { userNames: L, isError: R, isResolving: Oe } = re({ enabled: I }), z = m(() => ge(F.data?.data, P.roundStartedAt), [F.data, P.roundStartedAt]), B = m(() => ve({
100
+ payableStatus: A?.status,
101
+ approvalRequests: z,
102
+ userNames: L,
103
+ payableUpdatedAt: A?.updated_at,
104
+ labels: T
105
+ }), [
106
+ A?.status,
107
+ A?.updated_at,
108
+ z,
109
+ L,
110
+ T
111
+ ]), V = _e({
112
+ payableId: v,
113
+ approvalPolicyId: A?.approval_policy_id,
114
+ copy: T.approvalPolicyCopy
115
+ }), H = ie({
116
+ status: A?.status,
117
+ scopes: k?.scopes,
118
+ arePendingApproversUnknown: V.isLoading,
119
+ hasApprovalPolicy: !!A?.approval_policy_id,
120
+ hasWaitingRequest: M.hasWaitingRequest
121
+ }), U = !!M.id, W = M.isLoading || V.isLoading, G = m(() => V.pendingApprovers.length ? V.pendingApprovers.flatMap((e) => e.names) : void 0, [V.pendingApprovers]), K = Se({
122
+ payableId: v,
123
+ scheduledPaymentDate: A?.scheduled_payment_date
124
+ }), q = ae(k?.scopes), J = ue({
125
+ counterpartId: A?.counterpart_id,
126
+ currency: A?.currency,
127
+ currentBankAccountId: A?.counterpart_bank_account_id,
128
+ enabled: q
129
+ }), Y = me({
130
+ payableId: v,
131
+ amountDueMinorUnits: o(A) ?? 0,
132
+ amountToPayMinorUnits: A?.amount_to_pay ?? void 0,
133
+ currencyCode: A?.currency ?? void 0,
134
+ dueDate: A?.due_date,
135
+ hasScheduledPayment: K.hasScheduledPayment,
136
+ testId: S,
137
+ labels: T.markAsPaid
138
+ }), { actions: ke, decisionDialog: Ae } = be({
139
+ payableId: A ? v : void 0,
140
+ status: A?.status,
141
+ currentApprovalRequestId: M.id,
142
+ hasScheduledPayment: K.hasScheduledPayment,
143
+ scheduledPaymentIntentId: K.scheduledPaymentIntentId,
144
+ isScheduledPaymentUnknown: K.isResolving,
145
+ isPayabilityUnknown: J.isLoading,
146
+ hasApprovalPolicy: !!A?.approval_policy_id,
147
+ hasWaitingRequest: M.hasWaitingRequest,
148
+ pendingApprovers: V.pendingApprovers,
149
+ arePendingApproversUnknown: V.isLoading,
150
+ labels: {
151
+ edit: T.sheet.editButton,
152
+ payBill: T.sheet.payButton,
153
+ markAsPaid: T.sheet.markAsPaidButton,
154
+ reject: T.sheet.rejectButton,
155
+ approve: T.sheet.approveButton,
156
+ cancel: T.sheet.cancelButton,
157
+ cancelScheduledPayment: T.sheet.cancelScheduledPaymentButton,
158
+ reopen: T.sheet.reopenButton,
159
+ forceApprove: T.sheet.forceApproveButton,
160
+ forceReject: T.sheet.forceRejectButton,
161
+ policyOverridesHeading: T.sheet.policyOverridesGroup,
162
+ decisionDialog: T.decisionDialog,
163
+ actionError: T.actionError,
164
+ actionSuccess: T.actionSuccess
165
+ },
166
+ isMarkAsPaidPending: Y.isPending,
167
+ onMarkAsPaidSelect: Y.open,
168
+ onPayBillSelect: () => j.current?.open(),
169
+ onEditSelect: x,
170
+ onActionSucceeded: (e) => {
171
+ e === "reopen" && x?.();
252
172
  }
253
- return j.current = i, ze(o ? {
254
- counterpartId: n,
255
- bankAccountId: o
256
- } : void 0), t && (O(!1), T && J()), r && I(n), {
257
- ok: !0,
258
- counterpartId: n,
259
- counterpartBankAccountId: o
260
- };
261
- }, [
262
- J,
263
- l,
264
- Ye,
265
- z.bankAccounts,
266
- z.isBankAccountsError,
267
- z.isBankAccountsFetching,
268
- z.isBankAccountsLoading,
173
+ }), X = xe(), Z = m(() => K.hasScheduledPayment && K.scheduledDate ? a(K.scheduledDate, T.scheduledRelativeDay, X) : void 0, [
174
+ K.hasScheduledPayment,
175
+ K.scheduledDate,
176
+ T.scheduledRelativeDay,
177
+ X
178
+ ]), je = Z ? T.scheduledSummary(Z.label) : void 0, Me = d({
179
+ payable: A,
180
+ canManage: t(k?.scopes, [n.PayableWriteOrg])
181
+ }).isPossibleDuplicate ? /* @__PURE__ */ h(ce, { onOpenFullScreen: b }) : void 0, Q = c(v), $ = m(() => e(Q.data?.data ?? [], L, T.history), [
182
+ Q.data,
183
+ L,
184
+ T.history
185
+ ]), Ne = I && R && ee(Q.data?.data ?? [], $, L), Pe = m(() => he({
186
+ records: K.paymentRecords,
187
+ events: Q.data?.data ?? [],
188
+ currencyCode: A?.currency,
189
+ labels: T
190
+ }), [
191
+ K.paymentRecords,
192
+ Q.data,
193
+ A?.currency,
194
+ T
195
+ ]), Fe = m(() => A ? fe({
196
+ payable: A,
197
+ lineItems: D.lineItems,
198
+ ledgerAccounts: O.data?.data ?? [],
199
+ labels: T,
200
+ hasScheduledPayment: K.hasScheduledPayment,
201
+ rejection: B,
202
+ achInstructions: J.achInstructions,
203
+ achInstructionsReadable: q && !J.isLoading && !J.isError
204
+ }) : void 0, [
205
+ A,
206
+ D.lineItems,
207
+ O.data,
269
208
  T,
270
- rt,
271
- K,
272
- tt,
273
- I,
274
- q,
275
- et,
276
- Xe,
277
- Be
278
- ]), ut = u((e) => {
279
- if (P.current) return P.current;
280
- let t = e?.closeOnSuccess ?? !0, n = (async () => {
281
- Ge(!0);
282
- try {
283
- return await lt(t);
284
- } finally {
285
- P.current = void 0, Ge(!1);
286
- }
287
- })();
288
- return P.current = n, n;
289
- }, [lt]), dt = u(() => {
290
- O(!1), T && J();
291
- }, [T, J]), ft = f(() => (R.data?.data ?? []).map((e) => ({
292
- name: c(e),
293
- email: s(e),
294
- onSelect: () => {
295
- Q(() => I(e.id));
296
- }
297
- })), [
298
- R.data,
299
- Q,
300
- I
301
- ]), pt = u((e) => {
302
- E(!0), V((t) => e.entityType === "individual" && t.entityType !== "individual" ? {
303
- ...t,
304
- ...e,
305
- firstName: t.firstName || t.legalName,
306
- legalName: t.legalName
307
- } : e.entityType === "organization" && t.entityType !== "organization" ? {
308
- ...t,
309
- ...e,
310
- legalName: t.legalName || [t.firstName, t.lastName].filter(Boolean).join(" ")
311
- } : {
312
- ...t,
313
- ...e
314
- });
315
- }, [V]), mt = u((e) => {
316
- E(!0), V((t) => ({
317
- ...t,
318
- address: {
319
- ...t.address,
320
- ...e
321
- }
322
- }));
323
- }, [V]), ht = {
324
- query: C,
325
- onQueryChange: De,
326
- isLoading: !ye || !Te || !!l && z.isLoading || R.isLoading || R.isFetching && Je,
327
- onAddVendor: () => {
328
- Q(() => at("create"));
329
- },
330
- results: ft
331
- }, gt = Ce && (T === "create" || !nt) ? {
332
- isOpen: D,
333
- values: k,
334
- errors: Le,
335
- onOpen: Y,
336
- onCancel: st,
337
- onChange: ot
338
- } : void 0, _t = T !== "create" && gt ? {
339
- ...gt,
340
- onOpen: T === "edit" ? () => Q(Y) : gt.onOpen,
341
- canEditExisting: Se
342
- } : void 0, vt = B.isSubmitting || Ye.isPending || Xe.isPending, $ = {
343
- prepareVendorForSave: ut,
344
- isVendorSavePending: We || vt,
345
- hasUnsavedVendorChanges: Z,
346
- isPendingVendor: !!G,
347
- isEditingPayTo: !!T || D,
348
- activePayToOperation: T ? "vendor" : D ? W?.hasPaymentInstructions ? "existingInstructions" : "missingInstructions" : void 0,
349
- discardPayToEdits: X,
350
- finalizePayToSave: dt,
351
- openPaymentInstructions: Y,
352
- paymentInstructions: _t,
353
- detailsWarning: it
354
- }, yt = T === "create" && Ce ? {
355
- values: k,
356
- errors: Le,
357
- onChange: ot,
358
- isExtracted: !!(U && g(k, U))
359
- } : void 0;
360
- if (T) return {
361
- mode: "creating",
362
- summary: W,
363
- newVendorForm: /* @__PURE__ */ pe(fe, {
364
- mode: T,
365
- values: B.values,
366
- errors: B.errors,
367
- onChange: pt,
368
- onAddressChange: mt,
369
- sectionsToExpand: B.sectionsToExpand,
370
- onAddressExpand: B.expandAddress,
371
- onCancel: ct,
372
- onSave: ut,
373
- isSaving: vt,
374
- search: T === "edit" && !y ? ht : void 0,
375
- paymentInstructions: yt
209
+ K.hasScheduledPayment,
210
+ B,
211
+ J.achInstructions,
212
+ J.isError,
213
+ J.isLoading,
214
+ q
215
+ ]), Ie = E.isLoading || D.isResolving || O.isResolving || J.isLoading, Le = E.isError || D.isError || O.isError;
216
+ return /* @__PURE__ */ Te(we, { children: [
217
+ /* @__PURE__ */ h(se, {
218
+ open: g,
219
+ onOpenChange: _,
220
+ details: Fe,
221
+ actions: ke,
222
+ approvalPolicy: V.view,
223
+ showApprovalOverrideNotice: !W && H && !U,
224
+ awaitingApprovalNotice: !W && !U && !H && A?.status === "approve_in_progress" && A?.approval_policy_id ? G ? T.awaitingApprovalNotice(G) : T.awaitingApprovalUnknownNotice : void 0,
225
+ scheduledSummary: je,
226
+ scheduledSummaryDate: Z?.absoluteLabel,
227
+ auditHistory: $,
228
+ auditHistoryError: Q.isError,
229
+ auditHistoryLoading: Q.isLoading || Oe,
230
+ auditHistoryNamesError: Ne,
231
+ paymentHistory: Pe,
232
+ paymentHistoryError: K.isError || Q.isError,
233
+ paymentHistoryLoading: K.isResolving || Q.isLoading,
234
+ isLoading: Ie,
235
+ isError: Le,
236
+ notice: Me,
237
+ onClose: y,
238
+ onExpand: b,
239
+ testId: S,
240
+ labels: T.sheet
241
+ }),
242
+ /* @__PURE__ */ h(oe, {
243
+ ...Ae,
244
+ labels: { cancelButton: T.decisionDialog.cancelButton },
245
+ testId: S ? `${S}-decision-dialog` : void 0,
246
+ confirmTestId: S ? `${S}-decision-confirm` : void 0,
247
+ reasonTestId: S ? `${S}-decision-reason` : void 0,
248
+ reasonFieldId: S ? `${S}-decision-reason-field` : void 0
376
249
  }),
377
- ...$
378
- };
379
- if (W) return {
380
- mode: "resolved",
381
- summary: W,
382
- onEdit: b && !rt ? () => Q(() => at("edit")) : void 0,
383
- ...$
384
- };
385
- if (G) {
386
- let e = () => Q(() => {
387
- Ue(!0), at("create");
388
- });
389
- return {
390
- mode: "resolved",
391
- summary: G,
392
- onEdit: b ? e : void 0,
393
- error: xe,
394
- ...$,
395
- showPaymentInstructions: !0,
396
- paymentInstructions: b && Ce ? {
397
- isOpen: !1,
398
- values: k,
399
- errors: Le,
400
- onOpen: e,
401
- onChange: ot,
402
- onCancel: st,
403
- canEditExisting: !0
404
- } : void 0
405
- };
406
- }
407
- return {
408
- mode: "selecting",
409
- error: R.isError ? S.searchFailed : z.isError ? S.vendorDetailsFailed : xe,
410
- search: ht,
411
- ...$
412
- };
250
+ /* @__PURE__ */ h(le, { ...Y.dialogProps }),
251
+ A ? /* @__PURE__ */ h(de, {
252
+ ref: j,
253
+ payable: A,
254
+ onMissingAchInstructions: b,
255
+ poweredByBankName: w
256
+ }) : null
257
+ ] });
413
258
  }
414
259
  //#endregion
415
- export { _ as useVendorSectionProps };
260
+ export { g as BillDetailsContainer, g as default };
@@ -1,16 +1,3 @@
1
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js
2
- function e(e) {
3
- return new Promise((t, n) => {
4
- let r = new FileReader();
5
- r.onerror = () => n(r.error ?? /* @__PURE__ */ Error("Failed to read file")), r.onload = () => {
6
- let e = r.result;
7
- if (typeof e != "string") {
8
- n(/* @__PURE__ */ Error("Failed to read file as a data URL"));
9
- return;
10
- }
11
- t(e.slice(e.indexOf(",") + 1));
12
- }, r.readAsDataURL(e);
13
- });
14
- }
15
- //#endregion
16
- export { e as encodeFileToBase64 };
1
+ import "./index33.js";
2
+ import "./index52.js";
3
+ import "./index53.js";