@tesouro/embedded-components-react 0.5.188 → 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 (290) 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/index109.js +55 -49
  259. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +4 -4
  260. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +24 -18
  261. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/useRemoteCheckCaptureWidget.js +47 -47
  262. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +1 -1
  263. package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +11 -11
  264. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +10 -10
  265. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +15 -15
  266. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +9 -9
  267. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js +7 -7
  268. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +53 -53
  269. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartSelector.js +15 -15
  270. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js +4 -4
  271. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +35 -35
  272. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetTokenRefreshProvider.js +4 -4
  273. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  274. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/mergeLabelTree.js +12 -0
  275. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index4.js +1 -1
  276. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js +46 -46
  277. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js +5 -13
  278. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  279. package/package.json +3 -3
  280. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +0 -86
  281. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +0 -50
  282. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +0 -263
  283. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +0 -35
  284. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +0 -392
  285. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +0 -310
  286. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -7
  287. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +0 -114
  288. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +0 -1
  289. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index91.js +0 -27
  290. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +0 -2
@@ -3,42 +3,42 @@
3
3
  "use client";
4
4
  "use client";
5
5
  import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
6
- import { Scope as t } from "../../../shared/data-access/dist/lib/scopes.js";
7
- import { useAllBankAccountsQuery as n } from "../../../shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js";
8
- import { useAllOrganizationRolesQuery as r } from "../../../shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js";
6
+ import { TESOURO_NEW_EMBEDDED_BANK_ACCOUNT_CREATED_SUCCESS_EVENT as t, emitWidgetDomEvent as n } from "../../../shared/util/dist/lib/widgetDomEvents.js";
7
+ import { Scope as r } from "../../../shared/data-access/dist/lib/scopes.js";
8
+ import { useAllBankAccountsQuery as ee } from "../../../shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js";
9
+ import { useAllOrganizationRolesQuery as te } from "../../../shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js";
9
10
  import "../../../shared/data-access/dist/index.js";
10
11
  import { BankAccountsWidgetAnalyticsEvent as i } from "./index2.js";
11
- import { copyTextToClipboard as ee, formatAmountLabel as a, formatTotalAvailableBalanceLabel as te, maskAccountNumber as o } from "./index3.js";
12
- import { DEFAULT_FEATURE_LABELS as ne } from "./index4.js";
13
- import { getBankAccountsPermissions as re } from "./index5.js";
14
- import { toAccessRows as ie, toOrganizationRoleOptions as ae, toTeamMembers as oe } from "./index6.js";
15
- import { DEFAULT_LABELS as se } from "../../ui/dist/lib/labels.js";
12
+ import { copyTextToClipboard as ne, formatAmountLabel as a, formatTotalAvailableBalanceLabel as re, maskAccountNumber as ie } from "./index3.js";
13
+ import { DEFAULT_FEATURE_LABELS as ae } from "./index4.js";
14
+ import { getBankAccountsPermissions as oe } from "./index5.js";
15
+ import { toAccessRows as se, toOrganizationRoleOptions as ce, toTeamMembers as le } from "./index6.js";
16
+ import { DEFAULT_LABELS as ue } from "../../ui/dist/lib/labels.js";
16
17
  import "../../../shared/ui/dist/index.js";
17
18
  import "../../ui/dist/index.js";
18
- import { useAnalyticsTrack as ce } from "../../../shared/feature/dist/lib/analytics/hooks.js";
19
- import { TESOURO_NEW_EMBEDDED_BANK_ACCOUNT_CREATED_SUCCESS_EVENT as le, emitWidgetDomEvent as ue } from "../../../shared/util/dist/lib/widgetDomEvents.js";
20
- import { useWidgetConfig as de, useWidgetError as fe, useWidgetLoading as pe } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
19
+ import { useAnalyticsTrack as de } from "../../../shared/feature/dist/lib/analytics/hooks.js";
20
+ import { useWidgetConfig as fe, useWidgetError as pe, useWidgetLoading as me } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
21
21
  import "../../../shared/feature/dist/index.js";
22
- import { useCreateBankAccountMutation as me } from "../../data-access/dist/index3.js";
23
- import { useGrantBankAccountAccessMutation as he } from "../../data-access/dist/index4.js";
24
- import { useAllOrganizationUsersQuery as s } from "../../data-access/dist/index5.js";
22
+ import { useCreateBankAccountMutation as he } from "../../data-access/dist/index3.js";
23
+ import { useGrantBankAccountAccessMutation as ge } from "../../data-access/dist/index4.js";
24
+ import { useAllOrganizationUsersQuery as o } from "../../data-access/dist/index5.js";
25
25
  import "../../data-access/dist/index.js";
26
- import { filterRolesForOrganization as ge } from "../../../../shared/util-validation/dist/index6.js";
27
- import { useCallback as _e, useEffect as ve, useMemo as c, useRef as ye, useState as l } from "react";
26
+ import { filterRolesForOrganization as _e } from "../../../../shared/util-validation/dist/index6.js";
27
+ import { useCallback as ve, useEffect as s, useMemo as c, useRef as ye, useState as l } from "react";
28
28
  import { useControllableState as be } from "@radix-ui/react-use-controllable-state";
29
29
  //#region ../../libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index7.js
30
- var u = { nickname: "" }, xe = t.BankAccountWriteOrg;
30
+ var u = { nickname: "" }, xe = r.BankAccountWriteOrg;
31
31
  function d(e, t) {
32
32
  return e !== void 0 && t !== void 0 && e !== t;
33
33
  }
34
- function f({ labels: t, featureLabels: a, isBankingTaglineVisible: o = !0, bankLogoSrc: f, bankLogoAlt: Ce, depositAgreementUrl: we, selectedAccountId: Te, defaultSelectedAccountId: Ee, onSelectedAccountIdChange: De, "data-testid": Oe } = {}) {
34
+ function f({ labels: r, featureLabels: a, isBankingTaglineVisible: ie = !0, bankLogoSrc: f, bankLogoAlt: Ce, depositAgreementUrl: we, selectedAccountId: Te, defaultSelectedAccountId: Ee, onSelectedAccountIdChange: De, "data-testid": Oe } = {}) {
35
35
  let ke = {
36
- ...se,
37
- ...t
36
+ ...ue,
37
+ ...r
38
38
  }, p = {
39
- ...ne,
39
+ ...ae,
40
40
  ...a
41
- }, m = ce(), { organizationId: h, widgetToken: Ae, initResponse: g } = de(), je = pe(), _ = !!fe(), v = !!(h && Ae), y = c(() => re(g?.scopes), [g?.scopes]), Me = v && y.canRead && !!g, b = g?.userId ?? void 0, [x, Ne] = l(h);
41
+ }, m = de(), { organizationId: h, widgetToken: Ae, initResponse: g } = fe(), je = me(), _ = !!pe(), v = !!(h && Ae), y = c(() => oe(g?.scopes), [g?.scopes]), Me = v && y.canRead && !!g, b = g?.userId ?? void 0, [x, Ne] = l(h);
42
42
  h !== void 0 && h !== x && Ne(h);
43
43
  let [S, Pe] = l(b);
44
44
  b !== void 0 && b !== S && Pe(b);
@@ -51,7 +51,7 @@ function f({ labels: t, featureLabels: a, isBankingTaglineVisible: o = !0, bankL
51
51
  organizationId: x,
52
52
  userId: S
53
53
  }), Ie = d(w.current.organizationId, x) || d(w.current.userId, S);
54
- ve(() => {
54
+ s(() => {
55
55
  let e = w.current;
56
56
  w.current = {
57
57
  organizationId: x,
@@ -62,127 +62,127 @@ function f({ labels: t, featureLabels: a, isBankingTaglineVisible: o = !0, bankL
62
62
  S,
63
63
  C
64
64
  ]);
65
- let T = Ie ? null : Fe, E = Me && !T, D = _e((e) => {
65
+ let T = Ie ? null : Fe, E = Me && !T, D = ve((e) => {
66
66
  C(e);
67
- }, [C]), [O, k] = l(!1), [A, j] = l(u), [M, N] = l([]), [Le, P] = l(!1), [F, I] = l(), [L, Re] = l({}), [R, z] = l({});
68
- ve(() => {
67
+ }, [C]), [O, k] = l(!1), [A, j] = l(u), [Le, M] = l([]), [Re, N] = l(!1), [P, F] = l(), [I, ze] = l({}), [L, R] = l({});
68
+ s(() => {
69
69
  m(i.Mounted);
70
70
  }, [m]);
71
- let B = n({ enabled: E }), V = me(), H = he(), U = O, W = s({ enabled: U }), G = r({ enabled: U }), K = s({
72
- enabled: U,
71
+ let z = ee({ enabled: E }), B = he(), V = ge(), H = O, U = o({ enabled: H }), W = te({ enabled: H }), G = o({
72
+ enabled: H,
73
73
  permissions: [xe]
74
- }), ze = c(() => new Set((K.data?.data ?? []).filter((e) => e.organizationId === h).map((e) => e.id)), [K.data?.data, h]), q = c(() => {
75
- let e = G.data?.data ?? [], t = h ? ge(e, {
74
+ }), K = c(() => new Set((G.data?.data ?? []).filter((e) => e.organizationId === h).map((e) => e.id)), [G.data?.data, h]), q = c(() => {
75
+ let e = W.data?.data ?? [], t = h ? _e(e, {
76
76
  organizationId: h,
77
77
  organizationTypes: g?.organizationTypes ?? []
78
78
  }) : e;
79
- return oe(W.data?.data ?? [], ae(t), ze);
79
+ return le(U.data?.data ?? [], ce(t), K);
80
80
  }, [
81
- ze,
82
- G.data?.data,
81
+ K,
83
82
  W.data?.data,
83
+ U.data?.data,
84
84
  h,
85
85
  g?.organizationTypes
86
- ]), Be = W.isLoading || W.isFetchingNextPage || !!W.hasNextPage || G.isResolving || K.isLoading || K.isFetchingNextPage || !!K.hasNextPage, Ve = !Be && !W.isError && !K.isError, J = E ? B.data?.data ?? [] : [], Y = [.../* @__PURE__ */ new Set([...q.filter((e) => e.locked).map((e) => e.id), ...M])], He = g?.bankName?.trim() ?? "", Ue = g?.vspName?.trim() ?? "", We = we?.trim() || void 0, X = v && y.canWrite, Z = !B.hasNextPage && !B.isFetchingNextPage, Ge = c(() => Z ? te(J) : void 0, [J, Z]), Ke = J.length > 1 && y.canRead && Z, Q = _e(async (t, n, r) => {
87
- await ee(r) && (e.success(n === "account" ? p.copyAccountNumberToast : p.copyRoutingNumberToast), z((e) => ({
86
+ ]), J = U.isLoading || U.isFetchingNextPage || !!U.hasNextPage || W.isResolving || G.isLoading || G.isFetchingNextPage || !!G.hasNextPage, Be = !J && !U.isError && !G.isError, Y = E ? z.data?.data ?? [] : [], X = [.../* @__PURE__ */ new Set([...q.filter((e) => e.locked).map((e) => e.id), ...Le])], Ve = g?.bankName?.trim() ?? "", He = g?.vspName?.trim() ?? "", Ue = we?.trim() || void 0, Z = v && y.canWrite, Q = !z.hasNextPage && !z.isFetchingNextPage, We = c(() => Q ? re(Y) : void 0, [Y, Q]), Ge = Y.length > 1 && y.canRead && Q, $ = ve(async (t, n, r) => {
87
+ await ne(r) && (e.success(n === "account" ? p.copyAccountNumberToast : p.copyRoutingNumberToast), R((e) => ({
88
88
  ...e,
89
89
  [t]: n
90
90
  })), window.setTimeout(() => {
91
- z((e) => ({
91
+ R((e) => ({
92
92
  ...e,
93
93
  [t]: void 0
94
94
  }));
95
95
  }, 2e3));
96
- }, [p.copyAccountNumberToast, p.copyRoutingNumberToast]), qe = c(() => J.map((e) => Se(e, p, {
97
- isAccountNumberVisible: L[e.id] ?? !1,
98
- isAccountNumberCopied: R[e.id] === "account",
99
- isRoutingNumberCopied: R[e.id] === "routing",
100
- onToggleAccountNumberVisibility: () => Re((t) => ({
96
+ }, [p.copyAccountNumberToast, p.copyRoutingNumberToast]), Ke = c(() => Y.map((e) => Se(e, p, {
97
+ isAccountNumberVisible: I[e.id] ?? !1,
98
+ isAccountNumberCopied: L[e.id] === "account",
99
+ isRoutingNumberCopied: L[e.id] === "routing",
100
+ onToggleAccountNumberVisibility: () => ze((t) => ({
101
101
  ...t,
102
102
  [e.id]: !t[e.id]
103
103
  })),
104
- onCopyAccountNumber: () => void Q(e.id, "account", e.accountNumber),
105
- onCopyRoutingNumber: () => void Q(e.id, "routing", e.routingNumber),
104
+ onCopyAccountNumber: () => void $(e.id, "account", e.accountNumber),
105
+ onCopyRoutingNumber: () => void $(e.id, "routing", e.routingNumber),
106
106
  onSelect: () => {
107
107
  D(e.id), m(i.AccountSelected, { accountId: e.id });
108
108
  }
109
109
  })), [
110
- J,
110
+ Y,
111
+ I,
111
112
  L,
112
- R,
113
113
  p,
114
- Q,
114
+ $,
115
115
  D,
116
116
  m
117
- ]), Je = (t) => {
118
- H.mutate({
119
- path: { id: t },
120
- body: { userIds: Y }
117
+ ]), qe = (r) => {
118
+ V.mutate({
119
+ path: { id: r },
120
+ body: { userIds: X }
121
121
  }, { onSuccess: () => {
122
- ue(le), e.success(p.createSuccessToast), j(u), N([]), I(void 0), P(!1), k(!1);
122
+ n(t), e.success(p.createSuccessToast), j(u), M([]), F(void 0), N(!1), k(!1);
123
123
  } });
124
- }, Ye = () => {
125
- if (X && Ve) {
124
+ }, Je = () => {
125
+ if (Z && Be) {
126
126
  if (A.nickname.trim() === "") {
127
- P(!0);
127
+ N(!0);
128
128
  return;
129
129
  }
130
- if (Y.length === 0) {
130
+ if (X.length === 0) {
131
131
  console.warn("No team members selected on submit");
132
132
  return;
133
133
  }
134
- if (F) {
135
- Je(F);
134
+ if (P) {
135
+ qe(P);
136
136
  return;
137
137
  }
138
- V.mutate({ body: { nickname: A.nickname.trim() } }, { onSuccess: (e) => {
139
- m(i.AccountCreated, { accountId: e?.id }), e?.id && (I(e.id), Je(e.id));
138
+ B.mutate({ body: { nickname: A.nickname.trim() } }, { onSuccess: (e) => {
139
+ m(i.AccountCreated, { accountId: e?.id }), e?.id && (F(e.id), qe(e.id));
140
140
  } });
141
141
  }
142
- }, Xe = (e, t) => {
143
- q.find((t) => t.id === e)?.locked || N((n) => t ? [.../* @__PURE__ */ new Set([...n, e])] : n.filter((t) => t !== e));
144
- }, Ze = (e) => {
145
- (!e || X) && (e && (j(u), N([]), I(void 0), P(!1), V.reset(), H.reset()), k(e));
146
- }, $ = V.isPending || H.isPending, Qe = ie(q, {
147
- selectedUserIds: M,
148
- disabled: $ || !y.canWrite,
142
+ }, Ye = (e, t) => {
143
+ q.find((t) => t.id === e)?.locked || M((n) => t ? [.../* @__PURE__ */ new Set([...n, e])] : n.filter((t) => t !== e));
144
+ }, Xe = (e) => {
145
+ (!e || Z) && (e && (j(u), M([]), F(void 0), N(!1), B.reset(), V.reset()), k(e));
146
+ }, Ze = B.isPending || V.isPending, Qe = se(q, {
147
+ selectedUserIds: Le,
148
+ disabled: Ze || !y.canWrite,
149
149
  fallbackTooltip: ke.teamMemberAccessTooltip,
150
- onUserToggle: Xe
150
+ onUserToggle: Ye
151
151
  });
152
152
  return {
153
153
  "data-testid": Oe,
154
154
  selectedAccountId: T,
155
- bankDisplayName: He,
155
+ bankDisplayName: Ve,
156
156
  bankLogoSrc: f,
157
157
  bankLogoAlt: Ce,
158
- availableBalanceLabel: Ge,
159
- shouldDisplayAvailableBalance: Ke,
160
- isBankingTaglineVisible: o,
161
- accountCards: qe,
158
+ availableBalanceLabel: We,
159
+ shouldDisplayAvailableBalance: Ge,
160
+ isBankingTaglineVisible: ie,
161
+ accountCards: Ke,
162
162
  shouldDisplayAddAccountCard: y.canWrite,
163
- isLoading: !_ && (!v || je && !g || E && (B.isLoading || B.isFetchingNextPage || B.hasNextPage)),
164
- isError: _ || E && B.isError,
163
+ isLoading: !_ && (!v || je && !g || E && (z.isLoading || z.isFetchingNextPage || z.hasNextPage)),
164
+ isError: _ || E && z.isError,
165
165
  isCreateOpen: O,
166
166
  createForm: A,
167
167
  legalCopy: {
168
- bankName: He,
169
- vspName: Ue,
170
- agreementUrl: We
168
+ bankName: Ve,
169
+ vspName: He,
170
+ agreementUrl: Ue
171
171
  },
172
172
  accessRows: Qe,
173
- isTeamMembersLoading: Be,
174
- isTeamMembersError: W.isError || K.isError,
175
- isCreateSubmitDisabled: !X || !Ve || A.nickname.trim() === "" || Y.length === 0,
176
- isCreateError: V.isError || H.isError,
177
- hasNicknameError: Le,
178
- isSubmitting: $,
179
- isCreateDisabled: !X,
180
- onCreateOpenChange: Ze,
173
+ isTeamMembersLoading: J,
174
+ isTeamMembersError: U.isError || G.isError,
175
+ isCreateSubmitDisabled: !Z || !Be || A.nickname.trim() === "" || X.length === 0,
176
+ isCreateError: B.isError || V.isError,
177
+ hasNicknameError: Re,
178
+ isSubmitting: Ze,
179
+ isCreateDisabled: !Z,
180
+ onCreateOpenChange: Xe,
181
181
  onCreateFormChange: (e) => {
182
- P(!1), j(e);
182
+ N(!1), j(e);
183
183
  },
184
- onCreateSubmit: Ye,
185
- onAddAccountClick: () => Ze(!0),
184
+ onCreateSubmit: Je,
185
+ onAddAccountClick: () => Xe(!0),
186
186
  onSelectAccount: D
187
187
  };
188
188
  }
@@ -192,7 +192,7 @@ function Se(e, t, n) {
192
192
  name: e.nickname?.trim() || t.accountFallback,
193
193
  balanceLabel: a(e.balance),
194
194
  accountNumberLabel: e.accountNumber,
195
- maskedAccountNumberLabel: o(e.accountNumber),
195
+ maskedAccountNumberLabel: ie(e.accountNumber),
196
196
  routingNumberLabel: e.routingNumber,
197
197
  ...n
198
198
  };
@@ -1,16 +1,35 @@
1
1
  import { useEmbedApi as e } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
2
2
  import "../../../shared/data-access/dist/index.js";
3
- import { isLiveScheduledPaymentRecord as t } from "./index3.js";
4
- import "./index5.js";
5
- import { DuplicateVerdict as n, countSuspectedPayableDuplicateGroups as r, hasSuspectedPayableDuplicate as i, suspectedPayableDuplicates as a, useApplyDuplicateVerdictsMutation as o } from "./index7.js";
6
- import { useApprovePayableApprovalRequestMutation as s, usePayableApprovalRequestsQuery as c, useRejectPayableApprovalRequestMutation as l } from "./index8.js";
7
- import { usePayableHistoryQuery as u } from "./index9.js";
8
- import { useAllPayableLineItemsQuery as d, useReplacePayableLineItemsMutation as f } from "./index10.js";
9
- import { usePayablePaymentRecordsQuery as p } from "./index11.js";
10
- import { useSchedulePaymentMutation as m } from "./index12.js";
11
- import { useAttachPayableFileMutation as h, useCancelPayableMutation as g, useCancelScheduledPaymentMutation as _, useCreatePayableMutation as v, useDeletePayableFileMutation as y, useDeletePayableMutation as b, useForceApprovePayableMutation as x, useForceRejectPayableMutation as S, useMarkPayableAsPaidMutation as C, useReopenPayableMutation as w, useSubmitPayableForApprovalMutation as T, useUpdatePayableMutation as E, useUploadPayableFromFileMutation as D, useValidatePayableMutation as O } from "./index13.js";
12
- import "./index14.js";
13
- import { usePayableOcrQueries as k } from "./index15.js";
14
- import { useFirstPayablesPagesQuery as A, usePayableQuery as j, usePayablesByIdsQueries as M, usePayablesCountQueries as N, usePayablesQuery as P, usePayablesTotalCountQuery as F } from "./index17.js";
15
- import { usePayableSuggestionsQuery as I } from "./index18.js";
16
- export { n as DuplicateVerdict, r as countSuspectedPayableDuplicateGroups, i as hasSuspectedPayableDuplicate, t as isLiveScheduledPaymentRecord, a as suspectedPayableDuplicates, d as useAllPayableLineItemsQuery, o as useApplyDuplicateVerdictsMutation, s as useApprovePayableApprovalRequestMutation, h as useAttachPayableFileMutation, g as useCancelPayableMutation, _ as useCancelScheduledPaymentMutation, v as useCreatePayableMutation, y as useDeletePayableFileMutation, b as useDeletePayableMutation, e as useEmbedApi, A as useFirstPayablesPagesQuery, x as useForceApprovePayableMutation, S as useForceRejectPayableMutation, C as useMarkPayableAsPaidMutation, c as usePayableApprovalRequestsQuery, u as usePayableHistoryQuery, k as usePayableOcrQueries, p as usePayablePaymentRecordsQuery, j as usePayableQuery, I as usePayableSuggestionsQuery, M as usePayablesByIdsQueries, N as usePayablesCountQueries, P as usePayablesQuery, F as usePayablesTotalCountQuery, l as useRejectPayableApprovalRequestMutation, w as useReopenPayableMutation, f as useReplacePayableLineItemsMutation, m as useSchedulePaymentMutation, T as useSubmitPayableForApprovalMutation, E as useUpdatePayableMutation, D as useUploadPayableFromFileMutation, O as useValidatePayableMutation };
3
+ import "./index2.js";
4
+ import { useApprovePayableApprovalRequestMutation as t, usePayableApprovalRequestsQuery as n, useRejectPayableApprovalRequestMutation as r } from "./index16.js";
5
+ import { usePayableHistoryQuery as i } from "./index17.js";
6
+ import { useAllPayableLineItemsQuery as a, useReplacePayableLineItemsMutation as o } from "./index18.js";
7
+ import { usePayablePaymentRecordsQuery as s } from "./index19.js";
8
+ import { useSchedulePaymentMutation as c } from "./index20.js";
9
+ import { DuplicateVerdict as l, useApplyDuplicateVerdictsMutation as u } from "./index21.js";
10
+ import { useAttachPayableFileMutation as d } from "./index22.js";
11
+ import { useCancelPayableMutation as f } from "./index23.js";
12
+ import { useCancelScheduledPaymentMutation as p } from "./index24.js";
13
+ import { useCreatePayableMutation as m } from "./index25.js";
14
+ import { useDeletePayableFileMutation as h } from "./index26.js";
15
+ import { useDeletePayableMutation as g } from "./index27.js";
16
+ import { useForceApprovePayableMutation as _ } from "./index28.js";
17
+ import { useForceRejectPayableMutation as v } from "./index29.js";
18
+ import { useMarkPayableAsPaidMutation as y } from "./index30.js";
19
+ import "./index31.js";
20
+ import { useReopenPayableMutation as b } from "./index32.js";
21
+ import { useSubmitPayableForApprovalMutation as x } from "./index33.js";
22
+ import { useUpdatePayableMutation as S } from "./index34.js";
23
+ import { useUploadPayableFromFileMutation as C } from "./index35.js";
24
+ import { useValidatePayableMutation as w } from "./index36.js";
25
+ import "./index37.js";
26
+ import { usePayableOcrQueries as T } from "./index38.js";
27
+ import { useFirstPayablesPagesQuery as E } from "./index39.js";
28
+ import { usePayableQuery as D } from "./index41.js";
29
+ import { usePayablesByIdsQueries as O } from "./index42.js";
30
+ import { usePayablesCountQueries as k } from "./index43.js";
31
+ import { usePayablesQuery as A } from "./index44.js";
32
+ import { usePayablesTotalCountQuery as j } from "./index45.js";
33
+ import "./index46.js";
34
+ import { usePayableSuggestionsQuery as M } from "./index47.js";
35
+ export { l as DuplicateVerdict, a as useAllPayableLineItemsQuery, u as useApplyDuplicateVerdictsMutation, t as useApprovePayableApprovalRequestMutation, d as useAttachPayableFileMutation, f as useCancelPayableMutation, p as useCancelScheduledPaymentMutation, m as useCreatePayableMutation, h as useDeletePayableFileMutation, g as useDeletePayableMutation, e as useEmbedApi, E as useFirstPayablesPagesQuery, _ as useForceApprovePayableMutation, v as useForceRejectPayableMutation, y as useMarkPayableAsPaidMutation, n as usePayableApprovalRequestsQuery, i as usePayableHistoryQuery, T as usePayableOcrQueries, s as usePayablePaymentRecordsQuery, D as usePayableQuery, M as usePayableSuggestionsQuery, O as usePayablesByIdsQueries, k as usePayablesCountQueries, A as usePayablesQuery, j as usePayablesTotalCountQuery, r as useRejectPayableApprovalRequestMutation, b as useReopenPayableMutation, o as useReplacePayableLineItemsMutation, c as useSchedulePaymentMutation, x as useSubmitPayableForApprovalMutation, S as useUpdatePayableMutation, C as useUploadPayableFromFileMutation, w as useValidatePayableMutation };
@@ -1,79 +1,34 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { getPayablesIdLineItems as e, putPayablesIdLineItems as t } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
6
- import { getPayablesIdLineItemsOptions as n } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
7
- import { authEpochPlaceholder as r, withAuthEpoch as i } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
8
- import { useEmbedApi as a } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
9
- import { organizationHeaders as o } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
10
- import { getAllPagesNextPaginationTokenParam as s, isAllPagesResolving as c, useAutoFetchNextPage as l } from "../../../shared/data-access/dist/lib/allPages.js";
1
+ import { getPayablesId as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
2
+ import { organizationHeaders as t } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
11
3
  import "../../../shared/data-access/dist/index.js";
12
- import { invalidatePayableQueries as u } from "./index6.js";
13
- import { useMemo as d } from "react";
14
- import { useInfiniteQuery as f, useMutation as p } from "@tanstack/react-query";
4
+ import { invalidatePayableQueries as n } from "./index4.js";
5
+ import { PAYABLE_PROJECTION_POLL_INTERVAL_MS as r, PAYABLE_PROJECTION_POLL_TIMEOUT_MS as i } from "./index5.js";
6
+ import { hasLiveScheduledRecord as a } from "./index9.js";
15
7
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index10.js
16
- var m = 100;
17
- function h(t, { enabled: u } = {}) {
18
- let { client: p, organizationId: h, widgetToken: g, authEpoch: _, organizationPending: v } = a(), y = o(h), b = !!(h && g && t) && u !== !1, x = n({
19
- client: p,
20
- headers: y,
21
- path: { payable_id: t ?? "" },
22
- query: { limit: m }
23
- }), S = f({
24
- queryKey: [...i(x, {
25
- authEpoch: _,
26
- organizationPending: v
27
- }).queryKey, "all"],
28
- placeholderData: r(x.queryKey, v),
29
- enabled: b,
30
- initialPageParam: void 0,
31
- queryFn: async ({ signal: n, pageParam: r }) => {
32
- let { data: i } = await e({
33
- client: p,
34
- headers: y,
35
- path: { payable_id: t ?? "" },
36
- query: {
37
- limit: m,
38
- ...r ? { pagination_token: r } : {}
39
- },
40
- signal: n,
41
- throwOnError: !0
8
+ async function o({ client: o, organizationId: s, payableId: c }) {
9
+ let l = Date.now() + i, u = !1;
10
+ for (; !u && Date.now() < l;) {
11
+ await new Promise((e) => {
12
+ setTimeout(e, r);
13
+ });
14
+ try {
15
+ let { data: n } = await e({
16
+ client: o,
17
+ headers: t(s),
18
+ path: { payable_id: c }
42
19
  });
43
- return i;
44
- },
45
- getNextPageParam: s
46
- });
47
- l(S, b);
48
- let C = d(() => S.data?.pages.flatMap((e) => e.data ?? []) ?? [], [S.data]);
49
- return {
50
- ...S,
51
- lineItems: C,
52
- isResolving: c(S)
53
- };
54
- }
55
- function g() {
56
- let { client: e, organizationId: n } = a();
57
- return p({
58
- mutationFn: async ({ path: r, body: i }) => {
59
- let { data: a } = await t({
60
- client: e,
61
- headers: o(n),
62
- path: r,
63
- body: i,
64
- throwOnError: !0
65
- });
66
- return a;
67
- },
68
- onSuccess: async (t, r) => {
69
- await u({
70
- client: e,
71
- organizationId: n,
72
- payableId: r.path.payable_id,
73
- includeLineItems: !0
74
- });
75
- }
76
- });
20
+ u = !n?.scheduled_payment_date && await a({
21
+ client: o,
22
+ organizationId: s,
23
+ payableId: c
24
+ }) === !1;
25
+ } catch {}
26
+ }
27
+ return await n({
28
+ client: o,
29
+ organizationId: s,
30
+ payableId: c
31
+ }), u;
77
32
  }
78
33
  //#endregion
79
- export { h as useAllPayableLineItemsQuery, g as useReplacePayableLineItemsMutation };
34
+ export { o as reconcileCancelledPaymentQueries };
@@ -1,58 +1,21 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { getPaymentRecords as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
6
- import { getPaymentRecordsOptions as t } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
7
- import { authEpochPlaceholder as n, withAuthEpoch as r } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
8
- import { useEmbedApi as i } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
9
- import { organizationHeaders as a } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
10
- import { getAllPagesNextPaginationTokenParam as o, isAllPagesResolving as s, useAutoFetchNextPage as c } from "../../../shared/data-access/dist/lib/allPages.js";
11
- import "../../../shared/data-access/dist/index.js";
12
- import { useMemo as l } from "react";
13
- import { useInfiniteQuery as u } from "@tanstack/react-query";
1
+ import { invalidatePayableQueries as e } from "./index4.js";
2
+ import { PAYABLE_PROJECTION_POLL_INTERVAL_MS as t, PAYABLE_PROJECTION_POLL_TIMEOUT_MS as n } from "./index5.js";
3
+ import { hasLiveScheduledRecord as r } from "./index9.js";
14
4
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index11.js
15
- var d = 100;
16
- function f(f, { enabled: p } = {}) {
17
- let { client: m, organizationId: h, widgetToken: g, authEpoch: _, organizationPending: v } = i(), y = a(h), b = !!(h && g && f) && p !== !1, x = {
18
- limit: d,
19
- object_id__in: f ? [f] : [],
20
- order: "desc",
21
- sort: "paid_at"
22
- }, S = t({
23
- client: m,
24
- headers: y,
25
- query: x
26
- }), C = u({
27
- queryKey: [...r(S, {
28
- authEpoch: _,
29
- organizationPending: v
30
- }).queryKey, "all"],
31
- placeholderData: n(S.queryKey, v),
32
- enabled: b,
33
- initialPageParam: void 0,
34
- queryFn: async ({ signal: t, pageParam: n }) => {
35
- let { data: r } = await e({
36
- client: m,
37
- headers: y,
38
- query: {
39
- ...x,
40
- ...n ? { pagination_token: n } : {}
41
- },
42
- signal: t,
43
- throwOnError: !0
44
- });
45
- return r;
46
- },
47
- getNextPageParam: o
48
- });
49
- c(C, b);
50
- let w = l(() => C.data?.pages.flatMap((e) => e.data ?? []) ?? [], [C.data]);
51
- return {
52
- ...C,
53
- paymentRecords: w,
54
- isResolving: b && s(C)
55
- };
5
+ async function i({ client: i, organizationId: a, payableId: o }) {
6
+ let s = Date.now() + n, c = !1;
7
+ for (; !c && Date.now() < s;) await new Promise((e) => {
8
+ setTimeout(e, t);
9
+ }), c = await r({
10
+ client: i,
11
+ organizationId: a,
12
+ payableId: o
13
+ }) === !0;
14
+ return await e({
15
+ client: i,
16
+ organizationId: a,
17
+ payableId: o
18
+ }), c;
56
19
  }
57
20
  //#endregion
58
- export { f as usePayablePaymentRecordsQuery };
21
+ export { i as reconcileScheduledPaymentQueries };
@@ -1,45 +1,27 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { postPayablesIdSchedulePayment as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
6
- import { useEmbedApi as t } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
7
- import { organizationHeaders as n } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
8
- import "../../../shared/data-access/dist/index.js";
9
- import { invalidatePayableQueries as r, reconcileScheduledPaymentQueries as i } from "./index6.js";
10
- import { useMutation as a } from "@tanstack/react-query";
1
+ import { invalidatePayableQueries as e } from "./index4.js";
2
+ import { nextPollInterval as t } from "./index5.js";
11
3
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index12.js
12
- function o() {
13
- let { client: o, organizationId: s } = t();
14
- return a({
15
- mutationFn: async ({ payableId: t, paymentDate: r, sourceBankAccountId: i }) => {
16
- let { data: a } = await e({
17
- client: o,
18
- headers: n(s),
19
- path: { payable_id: t },
20
- body: {
21
- payment_date: r,
22
- source_bank_account_id: i
23
- },
24
- throwOnError: !0
25
- });
26
- return a;
27
- },
28
- onSuccess: async (e, t) => {
29
- try {
30
- await r({
31
- client: o,
32
- organizationId: s,
33
- payableId: t.payableId
34
- });
35
- } catch {}
36
- i({
37
- client: o,
38
- organizationId: s,
39
- payableId: t.payableId
40
- }).catch(() => {});
41
- }
42
- });
4
+ var n = 15e4, r = 3e3;
5
+ async function i({ client: i, organizationId: a, payableId: o, watch: s }) {
6
+ let c = Date.now() + n, l = r, u = !1;
7
+ for (; !u && Date.now() < c;) {
8
+ await new Promise((e) => {
9
+ setTimeout(e, l);
10
+ }), l = t(l);
11
+ let n = await s.poll();
12
+ u = n === "changed", n === "resynced" && await e({
13
+ client: i,
14
+ organizationId: a,
15
+ payableId: o,
16
+ includeApprovalRequests: !0
17
+ });
18
+ }
19
+ return await e({
20
+ client: i,
21
+ organizationId: a,
22
+ payableId: o,
23
+ includeApprovalRequests: !0
24
+ }), u;
43
25
  }
44
26
  //#endregion
45
- export { o as useSchedulePaymentMutation };
27
+ export { i as reconcileSubmittedForApprovalQueries };