@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
@@ -1,26 +1,194 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { hasAnyScope as e } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
6
- import { Scope as t } from "../../../shared/data-access/dist/lib/scopes.js";
7
- import "../../../shared/data-access/dist/index.js";
8
- import { useWidgetConfig as n } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
9
- import "../../../shared/feature/dist/index.js";
10
- import { isLiveScheduledPaymentRecord as r } from "../../data-access/dist/index3.js";
11
- import { usePayablePaymentRecordsQuery as i } from "../../data-access/dist/index11.js";
12
- import "../../data-access/dist/index.js";
1
+ import { AWAITING_APPROVAL_LABEL_EN as e, AWAITING_APPROVAL_UNKNOWN_LABEL_EN as t, BILL_DETAIL_ACTIONS_LABELS_EN as n, PAYMENT_HISTORY_LABELS_EN as r, SCHEDULED_RELATIVE_DAY_LABELS_EN as i, SCHEDULED_STATUS_BADGE_LABEL_EN as a, SCHEDULED_SUMMARY_LABEL_EN as o, mergeBillDetailActionsLabels as s, mergePaymentHistoryMethodLabels as c } from "../../util/dist/lib/billDetailLabels.js";
2
+ import { ACH_FIELD_GROUP_LABELS_EN as l } from "../../../shared/counterpart-management/ui/dist/index2.js";
3
+ import "../../../shared/counterpart-management/ui/dist/index.js";
4
+ import { DISCARD_CHANGES_DIALOG_LABELS_EN as u } from "../../ui/dist/index64.js";
5
+ import { BILL_REJECTED_BANNER_LABELS_EN as d } from "../../ui/dist/index72.js";
6
+ import { UNSAVED_BILL_DIALOG_LABELS_EN as f } from "../../ui/dist/index113.js";
7
+ import "../../ui/dist/index.js";
8
+ import { PAY_BILL_FLOW_LABELS_EN as p, mergePayBillFlowLabels as m } from "./index18.js";
9
+ import { MARK_AS_PAID_FLOW_LABELS_EN as h, mergeMarkAsPaidFlowLabels as g } from "./index11.js";
10
+ import "./index14.js";
11
+ import { APPROVAL_POLICY_RULE_COPY_EN as _ } from "./index22.js";
12
+ import { PAYABLE_AUDIT_HISTORY_LABELS_EN as v } from "./index36.js";
13
+ import { SOURCE_DOCUMENT_PREVIEW_LABELS_EN as y } from "./index37.js";
13
14
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js
14
- function a({ payableId: a, scheduledPaymentDate: o, enabled: s = !0 }) {
15
- let { initResponse: c } = n(), l = e(c?.scopes, [t.PaymentRecordReadOrg]), u = i(s ? a : void 0, { enabled: s && l }), d = u.paymentRecords.find(r), f = !!d || !!o, p = d?.planned_payment_date ?? (f ? o : void 0);
15
+ var b = {
16
+ unmappedValidationError: (e, t) => `${e}: ${t}`,
17
+ unknownValidationField: "(unknown field)",
18
+ requiredField: "This field is required.",
19
+ saveFailed: "We could not save this bill. Try again.",
20
+ discountTaxBlockedByLineItems: "Discount and Tax can't be saved on a bill with line items. Remove them, then save again.",
21
+ vendorResolutionFailed: "We couldn't create this vendor automatically. Select or add a vendor before submitting.",
22
+ finalizeFailed: "We could not submit this bill. Try again.",
23
+ draftSaved: "Bill saved as a draft.",
24
+ submittedSaved: "Bill updated.",
25
+ submittedDemoted: "Bill updated. It moved back to Drafts because some required details are missing.",
26
+ billFinalized: "Bill submitted for approval.",
27
+ numbersOnly: "Enter numbers only.",
28
+ unreadableMoney: "Enter a valid amount.",
29
+ unusableQuantity: "Enter a quantity greater than 0.",
30
+ lineItemsNeedAttention: "Check the highlighted line items before saving.",
31
+ unreadableDiscount: "Enter a valid discount amount.",
32
+ unreadableTax: "Enter a valid tax amount.",
33
+ unreadableTotal: "Enter a valid total amount.",
34
+ totalNotGreaterThanZero: "Total amount must be greater than $0.",
35
+ poNumberTooLong: "PO number must be 255 characters or fewer.",
36
+ implausibleInvoiceDate: "Enter an invoice date within the last 10 years, no more than 30 days from today.",
37
+ implausibleDueDate: "Enter a due date within the last 10 years and next 5 years.",
38
+ dueBeforeInvoiceDate: "Due date must be on or after the invoice date."
39
+ }, x = {
40
+ paymentInstructionsValue: (e) => `Account ending in ${e}`,
41
+ noMethod: "No payment method on file",
42
+ paymentMethodLoading: "Loading payment method...",
43
+ paymentMethodUnavailable: "We could not load payment methods. Try again.",
44
+ searchFailed: "We could not load vendors. Try again.",
45
+ vendorDetailsFailed: "We could not load this vendor. Try again.",
46
+ pendingVendorDescription: "Will be created when submitted",
47
+ bankAccountSaveFailed: "We could not save these payment instructions. Try again."
48
+ }, S = {
49
+ attachFailed: "We could not attach that file. Try again.",
50
+ deleteFailed: "We could not remove that document. Try again.",
51
+ noDocument: "No document attached to this bill.",
52
+ pendingDeletionNotice: "This document will be removed when you save this bill.",
53
+ preview: y
54
+ }, C = {
55
+ ...r,
56
+ notProvided: "Not provided",
57
+ paymentInstructionsValue: (e) => `Account ending in ${e}`,
58
+ paymentInstructionsNotSet: "Not set",
59
+ invoiceDateRow: "Invoice date",
60
+ dueDateRow: "Due date",
61
+ invoiceNumberRow: "Invoice number",
62
+ glCodeMissing: "GL code not specified",
63
+ glCodeUnavailable: "GL code unavailable",
64
+ qtyPriceValue: (e, t) => `${e} x ${t}`,
65
+ qtyOnlyValue: (e) => e,
66
+ subtotalRow: "Subtotal",
67
+ taxRow: "Tax",
68
+ discountRow: "Discounts",
69
+ totalRow: "Total",
70
+ paidOnLabel: (e) => `Paid on ${e}`,
71
+ paymentInstructionsSaveError: "Couldn't save payment instructions. Try again.",
72
+ paymentInstructionsLinkError: "Payment instructions were saved to the vendor, but couldn't be added to this bill. Try again.",
73
+ rejectedByOn: (e, t) => `Rejected by ${e} on ${t}`,
74
+ rejectedOn: (e) => `Rejected on ${e}`,
75
+ rejectionMessage: (e) => `"${e}"`
76
+ }, w = {
77
+ newTitle: "New bill",
78
+ extractedTitle: (e) => `Bill from ${e}`,
79
+ viewTitle: (e) => `Bill from ${e}`,
80
+ readOnlyTitle: "Bill details",
81
+ addedOn: (e) => `Added on ${e}`,
82
+ unsavedChanges: f,
83
+ discardChanges: u,
84
+ scheduledRelativeDay: i,
85
+ scheduledSummary: o,
86
+ scheduledStatusBadge: a,
87
+ awaitingApprovalNotice: e,
88
+ awaitingApprovalUnknownNotice: t,
89
+ actions: n,
90
+ detail: C,
91
+ history: v,
92
+ payBill: p,
93
+ markAsPaid: h,
94
+ approvalPolicyCopy: _,
95
+ deleteDraft: {
96
+ menuItem: "Delete draft",
97
+ dialog: {
98
+ title: "Delete this draft?",
99
+ description: "The draft and anything entered on it are removed. This can't be undone.",
100
+ confirmButton: "Delete draft"
101
+ },
102
+ error: "Couldn't delete this draft. Try again."
103
+ },
104
+ lineItemsGlCodeUnavailable: {
105
+ loadError: "Couldn't load GL codes",
106
+ noAccess: "You don't have access to GL codes",
107
+ empty: "No GL codes set up yet"
108
+ },
109
+ rejectedBanner: d
110
+ };
111
+ function T(e) {
16
112
  return {
17
- hasScheduledPayment: f,
18
- paymentRecords: u.paymentRecords,
19
- isError: u.isError,
20
- isResolving: u.isResolving,
21
- scheduledDate: p ?? void 0,
22
- scheduledPaymentIntentId: d?.payment_intent_id ?? void 0
113
+ ...w,
114
+ ...e,
115
+ actions: s(e?.actions),
116
+ detail: {
117
+ ...w.detail,
118
+ ...e?.detail,
119
+ paymentHistoryMethodLabels: c(e?.detail?.paymentHistoryMethodLabels)
120
+ },
121
+ history: {
122
+ ...w.history,
123
+ ...e?.history
124
+ },
125
+ payBill: m(e?.payBill),
126
+ markAsPaid: g(e?.markAsPaid),
127
+ lineItemsGlCodeUnavailable: {
128
+ ...w.lineItemsGlCodeUnavailable,
129
+ ...e?.lineItemsGlCodeUnavailable
130
+ },
131
+ unsavedChanges: {
132
+ ...w.unsavedChanges,
133
+ ...e?.unsavedChanges
134
+ },
135
+ discardChanges: {
136
+ ...w.discardChanges,
137
+ ...e?.discardChanges
138
+ },
139
+ rejectedBanner: {
140
+ ...w.rejectedBanner,
141
+ ...e?.rejectedBanner
142
+ },
143
+ approvalPolicyCopy: {
144
+ ...w.approvalPolicyCopy,
145
+ ...e?.approvalPolicyCopy
146
+ },
147
+ scheduledRelativeDay: {
148
+ ...w.scheduledRelativeDay,
149
+ ...e?.scheduledRelativeDay
150
+ },
151
+ deleteDraft: {
152
+ ...w.deleteDraft,
153
+ ...e?.deleteDraft,
154
+ dialog: (() => {
155
+ let t = {
156
+ ...w.deleteDraft.dialog,
157
+ ...e?.deleteDraft?.dialog
158
+ };
159
+ return delete t.reason, t;
160
+ })()
161
+ }
162
+ };
163
+ }
164
+ var E = {
165
+ createTitle: "New vendor",
166
+ editTitle: "Edit vendor",
167
+ switchVendorFieldLabel: "Switch to a different vendor",
168
+ nameLabel: "Business name",
169
+ addAddress: "Add address (optional)",
170
+ cancel: "Cancel",
171
+ save: "Save",
172
+ cancelAriaLabel: "Cancel vendor",
173
+ saveAriaLabel: "Save vendor",
174
+ paymentInstructionsHeading: "Payment instructions",
175
+ paymentInstructionsDescription: "How and where will the money be sent. This information is required to send a payment.",
176
+ paymentInstructionsExtracted: "We read these from the bill. Check them before saving.",
177
+ ach: l
178
+ };
179
+ function D(e) {
180
+ return {
181
+ ...E,
182
+ ...e,
183
+ ach: {
184
+ ...E.ach,
185
+ ...e?.ach,
186
+ fieldMarkers: {
187
+ ...E.ach.fieldMarkers,
188
+ ...e?.ach?.fieldMarkers
189
+ }
190
+ }
23
191
  };
24
192
  }
25
193
  //#endregion
26
- export { a as useScheduledPayment };
194
+ export { b as BILL_CREATE_MESSAGE_LABELS_EN, w as BILL_CREATE_SCREEN_LABELS_EN, C as BILL_DETAIL_VIEW_LABELS_EN, S as SOURCE_DOCUMENT_CONTAINER_LABELS_EN, E as VENDOR_INLINE_FORM_LABELS_EN, x as VENDOR_SECTION_PROPS_LABELS_EN, T as mergeBillCreateScreenCopy, D as mergeVendorInlineFormLabels };
@@ -2,43 +2,79 @@
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";
6
- import { hasAnyScope as t } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
7
- import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
8
- 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";
11
- import "../../../shared/feature/dist/index.js";
12
- import { useDeletePayableMutation as i } from "../../data-access/dist/index13.js";
5
+ import { useAttachPayableFileMutation as e } from "../../data-access/dist/index22.js";
13
6
  import "../../data-access/dist/index.js";
14
- import { useState as a } from "react";
7
+ import { SourceDocumentPanel as t } from "../../ui/dist/index111.js";
8
+ import "../../ui/dist/index.js";
9
+ import { createSourceDocumentPreview as n } from "./index37.js";
10
+ import { SOURCE_DOCUMENT_CONTAINER_LABELS_EN as r } from "./index38.js";
11
+ import { useEffect as i, useState as a } from "react";
12
+ import { jsx as o } from "react/jsx-runtime";
15
13
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js
16
- function o({ payableId: o, status: s, enabled: c = !0, labels: l, onDeleted: u }) {
17
- let { initResponse: d } = r(), f = i(), [p, m] = a(!1), h = t(d?.scopes, [n.PayableWriteOrg]), g = !!(c && o && s === "draft" && h), _ = g ? [{
18
- id: "deleteDraft",
19
- label: l.menuItem,
20
- destructive: !0,
21
- onSelect: () => m(!0)
22
- }] : [], v = p && g;
23
- return {
24
- menuItems: _,
25
- dialog: {
26
- open: v,
27
- copy: v ? l.dialog : void 0,
28
- isPending: f.isPending,
29
- onCancel: () => {
30
- f.isPending || m(!1);
31
- },
32
- onConfirm: () => {
33
- g && o && !f.isPending && f.mutate({ path: { payable_id: o } }, {
34
- onError: () => e.error(l.error),
35
- onSuccess: () => {
36
- m(!1), u();
14
+ function s(e) {
15
+ let [t, n] = a();
16
+ return i(() => {
17
+ if (!e) {
18
+ n(void 0);
19
+ return;
20
+ }
21
+ let t = URL.createObjectURL(e);
22
+ return n(t), () => URL.revokeObjectURL(t);
23
+ }, [e]), t;
24
+ }
25
+ function c({ payableId: i, file: a, isDocumentPending: c, pendingFileName: l, readOnly: u, staging: d, deletion: f, labels: p }) {
26
+ let { stagedFile: m, onFileStaged: h, onClearStagedFile: g, isSaving: _ } = d ?? {}, { isPending: v, onRequest: y, onDetachNow: b, isDeleting: x, hasFailed: S } = f ?? {}, C = {
27
+ ...r,
28
+ ...p,
29
+ preview: {
30
+ ...r.preview,
31
+ ...p?.preview
32
+ }
33
+ }, w = e(), T = s(m), E = !!(a && !v || m);
34
+ if (!E && (c || w.isPending)) return /* @__PURE__ */ o(t, {
35
+ mode: "loading",
36
+ fileName: l
37
+ });
38
+ if (!E && u) return /* @__PURE__ */ o("div", {
39
+ className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4 ttw:text-sm ttw:text-muted-foreground",
40
+ children: C.noDocument
41
+ });
42
+ if (!E) return /* @__PURE__ */ o(t, {
43
+ mode: "upload",
44
+ uploadStatus: w.isPending || x ? "uploading" : "idle",
45
+ uploadErrorMessage: w.isError ? C.attachFailed : S ? C.deleteFailed : void 0,
46
+ noticeMessage: v && !S ? C.pendingDeletionNotice : void 0,
47
+ onFilesSelected: (e) => {
48
+ let [t] = e;
49
+ if (t) {
50
+ if (i) {
51
+ let e = () => w.mutate({
52
+ path: { payable_id: i },
53
+ file: t
54
+ });
55
+ if (v && b) {
56
+ b().then(e, () => void 0);
57
+ return;
37
58
  }
38
- });
59
+ e();
60
+ } else h?.(t);
39
61
  }
40
62
  }
41
- };
63
+ });
64
+ let D = a?.name ?? m?.name ?? "", O = n(a || {
65
+ name: D,
66
+ url: T ?? "",
67
+ mimetype: m?.type ?? ""
68
+ }, C.preview);
69
+ return /* @__PURE__ */ o(t, {
70
+ mode: "document",
71
+ fileName: D,
72
+ preview: O,
73
+ isDeleting: x,
74
+ deleteErrorMessage: S ? C.deleteFailed : void 0,
75
+ onDownload: a ? () => window.open(a.url, "_blank", "noopener,noreferrer") : void 0,
76
+ onDelete: u ? void 0 : a && i ? y : _ ? void 0 : g
77
+ });
42
78
  }
43
79
  //#endregion
44
- export { o as useDraftDelete };
80
+ export { c as SourceDocumentContainer, c as default };
@@ -1,7 +1,40 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js
2
- function e(e, t) {
3
- let n = e ?? [];
4
- return t ? n.filter((e) => !e.created_at || e.created_at >= t) : n.slice(0, 1);
5
- }
2
+ var e = {
3
+ selectRow: ({ vendorLabel: e, invoiceNumberLabel: t, addedOnLabel: n }) => `Select bill — ${e}, invoice ${t}, added ${n}`,
4
+ openRow: ({ vendorLabel: e, invoiceNumberLabel: t, addedOnLabel: n }) => `View bill — ${e}, invoice ${t}, added ${n}`,
5
+ reviewGroup: ({ vendorLabel: e, count: t }) => `${e} — ${t} possible duplicate bills`,
6
+ selectGroup: ({ vendorLabel: e }) => `Select every bill from ${e}`,
7
+ deleteBillButton: "Remove this bill",
8
+ deleteConfirmTitle: "Remove duplicate bill?",
9
+ deleteConfirmDescription: "You can't undo this action.",
10
+ deleteConfirmButton: "Remove duplicate bill",
11
+ deleteConfirmBackButton: "Cancel",
12
+ cancelBillButton: "Cancel this bill",
13
+ confirmBillButton: "Confirm duplicate",
14
+ cancelConfirmTitle: "Cancel duplicate bill?",
15
+ cancelConfirmDescription: "You can't undo this action.",
16
+ cancelConfirmButton: "Cancel this bill",
17
+ cancelConfirmBackButton: "Back",
18
+ confirmDuplicateTitle: "Confirm duplicate?",
19
+ confirmDuplicateDescription: "This bill is already cancelled. This records it as a duplicate.",
20
+ notDuplicateAction: "Not a duplicate",
21
+ notDuplicateConfirmTitle: "Mark as not a duplicate?",
22
+ notDuplicateConfirmDescription: "You can't undo this action.",
23
+ notDuplicateConfirmButton: "Not a duplicate",
24
+ notDuplicateConfirmBackButton: "Back",
25
+ deleteAction: "Remove bill",
26
+ cancelAction: "Cancel bill",
27
+ confirmAction: "Confirm duplicate",
28
+ currentBillBadge: "This bill",
29
+ originalBillBadge: "Original bill",
30
+ showMoreRows: (e) => `Show ${e} more`,
31
+ deletedToast: "Duplicate removed",
32
+ cancelledToast: "Duplicate cancelled",
33
+ confirmedToast: "Duplicate confirmed",
34
+ dismissedToast: "Marked as “not a duplicate”.",
35
+ removedToast: "Duplicate removed",
36
+ verdictFailedToast: "Couldn't update this duplicate. Try again.",
37
+ allResolvedToast: "All possible duplicates resolved"
38
+ };
6
39
  //#endregion
7
- export { e as currentApprovalRound };
40
+ export { e as DUPLICATE_BILLS_LABELS_EN };
@@ -1,19 +1,35 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js
2
- var e = 1e4;
3
- function t(e) {
4
- return typeof e == "number" && Number.isFinite(e) ? e : 0;
2
+ function e(e) {
3
+ return e?.trim() ?? "";
5
4
  }
6
- function n(e) {
7
- let n = t(e), r = Math.round(Number(Math.abs(n).toFixed(6)));
8
- return n < 0 ? -r || 0 : r;
5
+ function t(t) {
6
+ let n = e(t);
7
+ return n.length === 2 ? n.toUpperCase() : "";
9
8
  }
10
- function r({ quantity: r, unitPrice: i, tax: a }) {
11
- let o = n(t(r) * t(i)), s = n(o * t(a) / e);
12
- return {
13
- subtotal: o,
14
- taxAmount: s,
15
- total: o + s
9
+ function n(t) {
10
+ let n = e(t.bank_account?.routing_number), r = e(t.bank_account?.account_number);
11
+ if (n || r) return {
12
+ accountHolderName: e(t.bank_account?.account_holder_name) || e(t.name),
13
+ routingNumber: n,
14
+ accountNumber: r
16
15
  };
17
16
  }
17
+ function r(r) {
18
+ if (!r) return;
19
+ let i = {
20
+ legalName: e(r.name),
21
+ email: e(r.email),
22
+ phone: e(r.phone),
23
+ address: {
24
+ line1: e(r.address?.line1),
25
+ line2: e(r.address?.line2),
26
+ city: e(r.address?.city),
27
+ state: t(r.address?.state),
28
+ postalCode: e(r.address?.postal_code)
29
+ },
30
+ bankAccount: n(r)
31
+ };
32
+ return i.legalName || i.email || i.phone || Object.values(i.address).some(Boolean) || i.bankAccount ? i : void 0;
33
+ }
18
34
  //#endregion
19
- export { e as TAX_RATE_SCALE, r as calculateLineItemTotals, n as roundToMinorUnits };
35
+ export { r as buildVendorPrefill };
@@ -1,11 +1,92 @@
1
- import { calculateLineItemTotals as e } from "./index40.js";
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { Button as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
6
+ import { getStateOptions as t } from "../../../shared/util/dist/lib/usStates.js";
7
+ import { AchFieldGroup as n } from "../../../shared/counterpart-management/ui/dist/index5.js";
8
+ import { CounterpartFormFields as r, useFocusFirstInvalidField as i } from "../../../shared/counterpart-management/ui/dist/index9.js";
9
+ import "../../../shared/counterpart-management/ui/dist/index.js";
10
+ import { VendorSearchCombobox as a } from "../../ui/dist/index46.js";
11
+ import "../../ui/dist/index.js";
12
+ import "../../../shared/counterpart-management/feature/dist/index.js";
13
+ import { mergeVendorInlineFormLabels as o } from "./index38.js";
14
+ import { useMemo as s } from "react";
15
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
2
16
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js
3
- function t(t) {
4
- if (typeof t.subtotal == "number") return t.subtotal;
5
- if (typeof t.quantity == "number" && typeof t.unit_price == "number") return e({
6
- quantity: t.quantity,
7
- unitPrice: t.unit_price
8
- }).subtotal;
17
+ function u({ mode: u, values: d, errors: f, onChange: p, onAddressChange: m, sectionsToExpand: h, onAddressExpand: g, onCancel: _, onSave: v, isSaving: y = !1, search: b, paymentInstructions: x, labels: S }) {
18
+ let C = s(() => o(S), [S]), w = s(() => t(), []), T = i(f ?? {});
19
+ return /* @__PURE__ */ l("div", {
20
+ ref: T,
21
+ className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
22
+ children: [
23
+ /* @__PURE__ */ c("p", {
24
+ className: "ttw:text-base ttw:font-semibold ttw:text-foreground",
25
+ children: u === "edit" ? C.editTitle : C.createTitle
26
+ }),
27
+ u === "edit" && b ? /* @__PURE__ */ c(a, {
28
+ ...b,
29
+ labels: { fieldLabel: C.switchVendorFieldLabel }
30
+ }) : null,
31
+ /* @__PURE__ */ c(r, {
32
+ mode: u,
33
+ counterpartMode: "vendor",
34
+ values: d,
35
+ errors: f,
36
+ stateOptions: w,
37
+ onChange: p,
38
+ onAddressChange: m,
39
+ sections: {
40
+ entityType: !0,
41
+ profileHeading: !1,
42
+ title: !1,
43
+ taxId: !1,
44
+ address: "collapsible",
45
+ bankAccount: !1
46
+ },
47
+ sectionsToExpand: h,
48
+ onAddressExpand: g,
49
+ labels: { businessNameLabel: C.nameLabel }
50
+ }),
51
+ x ? /* @__PURE__ */ l("div", {
52
+ className: "ttw:flex ttw:flex-col ttw:gap-3",
53
+ children: [/* @__PURE__ */ l("div", {
54
+ className: "ttw:flex ttw:flex-col ttw:gap-1",
55
+ children: [/* @__PURE__ */ c("p", {
56
+ className: "ttw:text-sm ttw:font-semibold ttw:text-foreground",
57
+ children: C.paymentInstructionsHeading
58
+ }), /* @__PURE__ */ c("p", {
59
+ className: "ttw:text-sm ttw:text-muted-foreground",
60
+ children: x.isExtracted ? C.paymentInstructionsExtracted : C.paymentInstructionsDescription
61
+ })]
62
+ }), /* @__PURE__ */ c(n, {
63
+ idPrefix: "vendor-inline-ach",
64
+ values: x.values,
65
+ errors: x.errors,
66
+ onChange: x.onChange,
67
+ labels: C.ach
68
+ })]
69
+ }) : null,
70
+ /* @__PURE__ */ l("div", {
71
+ className: "ttw:flex ttw:justify-end ttw:gap-2",
72
+ children: [/* @__PURE__ */ c(e, {
73
+ type: "button",
74
+ variant: "outline",
75
+ onClick: _,
76
+ "aria-label": C.cancelAriaLabel,
77
+ disabled: y,
78
+ children: C.cancel
79
+ }), v ? /* @__PURE__ */ c(e, {
80
+ type: "button",
81
+ onClick: v,
82
+ "aria-label": C.saveAriaLabel,
83
+ loading: y,
84
+ disabled: y,
85
+ children: C.save
86
+ }) : null]
87
+ })
88
+ ]
89
+ });
9
90
  }
10
91
  //#endregion
11
- export { t as resolveLineItemAmountMinorUnits };
92
+ export { u as VendorInlineForm, u as default };