@tesouro/embedded-components-react 0.5.189 → 0.5.190

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/lib/BillPayWidget.js +1 -1
  3. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index5.js +34 -34
  4. package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index3.js +18 -18
  5. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +2 -2
  6. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index25.js +263 -263
  7. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index7.js +89 -89
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +33 -14
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index10.js +29 -74
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index11.js +18 -55
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index12.js +24 -42
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index13.js +13 -327
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +31 -7
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index15.js +8 -35
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index16.js +92 -14
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index17.js +20 -137
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index18.js +69 -28
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index19.js +58 -0
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index2.js +35 -0
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index20.js +47 -0
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index21.js +88 -0
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index22.js +36 -0
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index23.js +35 -0
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index24.js +40 -0
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index25.js +34 -0
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index26.js +34 -0
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index27.js +34 -0
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index28.js +36 -0
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index29.js +36 -0
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index3.js +16 -4
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index30.js +36 -0
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index31.js +8 -0
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index32.js +35 -0
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index33.js +49 -0
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index34.js +36 -0
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index35.js +47 -0
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index36.js +27 -0
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index37.js +15 -0
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index38.js +35 -0
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index39.js +55 -0
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index4.js +27 -13
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index40.js +20 -0
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index41.js +43 -0
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index42.js +27 -0
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index43.js +35 -0
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index44.js +29 -0
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index45.js +29 -0
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index46.js +6 -0
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index47.js +39 -0
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index5.js +2 -33
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index6.js +35 -255
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index7.js +59 -123
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index8.js +13 -91
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index9.js +29 -29
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +19 -21
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +5 -62
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +15 -4
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +22 -5
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +51 -211
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +1 -4
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +84 -15
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +5 -24
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +31 -62
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +41 -2
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +167 -81
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +56 -5
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +46 -3
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +1 -7
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +47 -3
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +13 -32
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +8 -38
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +7 -163
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +61 -41
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +13 -1
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +24 -45
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +162 -13
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +4 -56
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +25 -8
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +16 -7
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +32 -57
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +96 -8
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +81 -24
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +3 -158
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +45 -10
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +111 -23
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +189 -21
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +69 -33
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +38 -5
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +29 -13
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +89 -8
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +412 -4
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +12 -97
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +83 -82
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +80 -3
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +224 -134
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +44 -45
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +247 -109
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +22 -191
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +6 -38
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +614 -66
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +4 -35
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +42 -89
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +243 -398
  104. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +3 -16
  105. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +3 -86
  106. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +43 -80
  107. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +1 -232
  108. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +6 -44
  109. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +11 -252
  110. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +24 -5
  111. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +130 -23
  112. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +3 -628
  113. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +6 -4
  114. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +127 -40
  115. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +8 -257
  116. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +10 -3
  117. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +82 -2
  118. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +22 -44
  119. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +22 -1
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +29 -6
  121. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +12 -22
  122. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +83 -10
  123. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +48 -130
  124. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +262 -3
  125. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +32 -3
  126. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +387 -124
  127. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +307 -8
  128. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +4 -10
  129. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +4 -81
  130. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +111 -21
  131. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +1 -22
  132. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +37 -13
  133. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +24 -28
  134. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +222 -35
  135. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +46 -42
  136. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +10 -126
  137. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +105 -1
  138. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +2 -33
  139. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +28 -7
  140. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +73 -126
  141. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +1 -1
  142. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +30 -11
  143. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +8 -106
  144. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +181 -2
  145. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +2 -10
  146. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index110.js +12 -50
  147. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +108 -2
  148. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +2 -0
  149. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +10 -0
  150. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index114.js +52 -0
  151. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index115.js +2 -0
  152. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +1 -14
  153. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +12 -16
  154. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +18 -2
  155. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +2 -4
  156. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +2 -28
  157. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +30 -2
  158. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +2 -32
  159. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +32 -1
  160. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +1 -35
  161. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +32 -18
  162. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +19 -135
  163. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +137 -2
  164. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +2 -4
  165. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +78 -12
  166. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +278 -1
  167. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +2 -4
  168. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +16 -17
  169. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +56 -2
  170. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +1 -106
  171. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +15 -76
  172. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +51 -275
  173. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +19 -5
  174. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +368 -50
  175. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +19 -14
  176. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +92 -50
  177. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +25 -28
  178. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +43 -363
  179. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +48 -15
  180. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +10 -93
  181. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +197 -2
  182. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +1 -31
  183. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +2 -52
  184. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +41 -2
  185. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +1 -55
  186. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +16 -10
  187. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +75 -184
  188. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +1 -1
  189. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +46 -2
  190. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +313 -36
  191. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +6 -16
  192. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +26 -81
  193. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +2 -317
  194. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +1 -9
  195. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +13 -31
  196. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +170 -2
  197. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +2 -2
  198. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +4 -1
  199. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +34 -13
  200. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +2 -170
  201. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +39 -2
  202. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +10 -2
  203. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +195 -30
  204. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +1 -0
  205. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +2 -37
  206. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +14 -10
  207. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +2 -201
  208. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +4 -3
  209. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +20 -16
  210. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +1 -508
  211. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +62 -7
  212. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +14 -5
  213. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +493 -77
  214. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index87.js → ui/dist/index88.js} +1 -2
  215. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +10 -2
  216. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +5 -3
  217. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +88 -25
  218. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +2 -7
  219. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +5 -32
  220. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +30 -2
  221. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +2 -12
  222. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +5 -104
  223. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +34 -2
  224. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +2 -31
  225. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/billDetailLabels.js +146 -0
  226. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/derivePayableStatus.js +62 -0
  227. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/formatBillMoney.js +7 -0
  228. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/formatScheduledDateLabel.js +12 -0
  229. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/isEditablePayableStatus.js +7 -0
  230. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/isLiveScheduledPaymentRecord.js +7 -0
  231. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/maskAccountNumber.js +6 -0
  232. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableDuplicates.js +48 -0
  233. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableTotals.js +18 -0
  234. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveAmountDue.js +6 -0
  235. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemAmount.js +11 -0
  236. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemQuantity.js +7 -0
  237. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveVendor.js +9 -0
  238. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/widgetName.js +4 -0
  239. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +95 -95
  240. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index4.js +8 -8
  241. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index13.js +9 -9
  242. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +8 -5
  243. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +7 -0
  244. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +6 -0
  245. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +31 -18
  246. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index3.js +1 -1
  247. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +2 -32
  248. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +23 -190
  249. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +163 -50
  250. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +1 -80
  251. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js +101 -2
  252. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index9.js +85 -0
  253. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +1 -1
  254. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index7.js +3 -3
  255. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +1 -1
  256. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +10 -10
  257. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js +104 -104
  258. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +4 -4
  259. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/useRemoteCheckCaptureWidget.js +47 -47
  260. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +1 -1
  261. package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +11 -11
  262. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +10 -10
  263. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +15 -15
  264. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +9 -9
  265. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js +7 -7
  266. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +53 -53
  267. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartSelector.js +15 -15
  268. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js +4 -4
  269. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +35 -35
  270. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetTokenRefreshProvider.js +4 -4
  271. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  272. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/mergeLabelTree.js +12 -0
  273. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index4.js +1 -1
  274. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js +46 -46
  275. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js +5 -13
  276. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  277. package/package.json +1 -1
  278. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +0 -86
  279. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +0 -50
  280. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +0 -263
  281. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +0 -35
  282. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +0 -392
  283. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +0 -310
  284. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -7
  285. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +0 -114
  286. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +0 -1
  287. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index91.js +0 -27
  288. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +0 -2
@@ -1,11 +1,310 @@
1
+ "use client";
2
+ "use client";
3
+ "use client";
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 { useMailboxAddress as n } from "../../../shared/data-access/dist/lib/useMailboxAddress.js";
8
+ import { Scope as r } from "../../../shared/data-access/dist/lib/scopes.js";
9
+ import "../../../shared/data-access/dist/index.js";
10
+ import "../../../shared/ui/dist/index.js";
11
+ import { useWidgetConfig as ee, useWidgetInitStaleForToken as te } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
12
+ import "../../../shared/feature/dist/index.js";
13
+ import { useDuplicateBillsCount as ne } from "./index6.js";
14
+ import "./index10.js";
15
+ import { AddBillDialog as re } from "../../ui/dist/index10.js";
16
+ import { BillDecisionDialog as i } from "../../ui/dist/index59.js";
17
+ import { BillsScreen as ie } from "../../ui/dist/index87.js";
18
+ import "../../ui/dist/index.js";
19
+ import { BillCreateDialog as a } from "./index50.js";
20
+ import "./index51.js";
21
+ import { BillDetailsContainer as ae } from "./index53.js";
22
+ import "./index54.js";
23
+ import "./index60.js";
24
+ import "./index61.js";
25
+ import { BILL_QUEUE_ORDER as o } from "./index63.js";
26
+ import { BILLS_TAB_LABELS_EN as s } from "./index66.js";
27
+ import { BillDuplicateView as c, useBillsTable as l } from "./index74.js";
28
+ import { formatBillQueueBadge as u } from "./index62.js";
29
+ import { copyTextToClipboard as d } from "./index64.js";
30
+ import { resolveDuplicateWarning as f } from "./index65.js";
31
+ import { billsTabTestIds as p, billsTableCellTestIds as oe } from "./index67.js";
32
+ import { useBillQueueCounts as se } from "./index68.js";
33
+ import { useCallback as m, useEffect as h, useMemo as g, useState as _ } from "react";
34
+ import { jsx as v, jsxs as ce } from "react/jsx-runtime";
1
35
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js
2
- async function e(e) {
3
- if (!e.trim()) return !1;
4
- try {
5
- return await navigator.clipboard.writeText(e), !0;
6
- } catch {
7
- return !1;
8
- }
36
+ function y({ labels: y, onEnqueueFiles: le, openPayableId: b, onOpenPayableHandled: x, vendorIntent: S, onVendorIntentHandled: C, poweredByBankName: w, onSettingsClick: ue }) {
37
+ let T = g(() => ({
38
+ ...s,
39
+ ...y,
40
+ queues: {
41
+ ...s.queues,
42
+ ...y?.queues
43
+ },
44
+ scheduledRelativeDay: {
45
+ ...s.scheduledRelativeDay,
46
+ ...y?.scheduledRelativeDay
47
+ },
48
+ filters: {
49
+ ...s.filters,
50
+ ...y?.filters,
51
+ presets: {
52
+ ...s.filters.presets,
53
+ ...y?.filters?.presets
54
+ },
55
+ statuses: {
56
+ ...s.filters.statuses,
57
+ ...y?.filters?.statuses
58
+ },
59
+ dateFieldNames: {
60
+ ...s.filters.dateFieldNames,
61
+ ...y?.filters?.dateFieldNames
62
+ }
63
+ },
64
+ filterBar: {
65
+ ...s.filterBar,
66
+ ...y?.filterBar
67
+ },
68
+ queueEmptyStates: o.reduce((e, t) => ({
69
+ ...e,
70
+ [t]: {
71
+ ...s.queueEmptyStates[t],
72
+ ...y?.queueEmptyStates?.[t]
73
+ }
74
+ }), {})
75
+ }), [y]), [de, E] = _(!1), [D, O] = _(), [fe, k] = _(), [A, j] = _(!1), [M, pe] = _(), [N, P] = _(!1), [F, I] = _(!1), [L, R] = _(c.AllBills), { initResponse: z } = ee(), me = te(), he = t(z?.scopes, [r.PayableReadOrg]), ge = t(z?.scopes, [r.PayableWriteOrg]), B = !z || he, V = !z || ge, H = m((e, t) => {
76
+ if (t && V) {
77
+ O(e), k(void 0), j(!0);
78
+ return;
79
+ }
80
+ pe(e), I(!0);
81
+ }, [V]), _e = t(z?.scopes, [r.CounterpartReadOrg]), ve = g(() => ({
82
+ originalBill: T.duplicateOriginalBillLabel,
83
+ menuTrigger: T.duplicateMenuTrigger,
84
+ notDuplicateAction: T.duplicateNotDuplicateAction,
85
+ notDuplicateConfirmTitle: T.duplicateNotDuplicateConfirmTitle,
86
+ notDuplicateConfirmDescription: T.duplicateNotDuplicateConfirmDescription,
87
+ notDuplicateConfirmButton: T.duplicateNotDuplicateConfirmButton,
88
+ notDuplicateConfirmBackButton: T.duplicateNotDuplicateConfirmBackButton,
89
+ deleteAction: T.duplicateDeleteAction,
90
+ deleteConfirmTitle: T.duplicateDeleteConfirmTitle,
91
+ deleteConfirmDescription: T.duplicateDeleteConfirmDescription,
92
+ deleteConfirmButton: T.duplicateDeleteConfirmButton,
93
+ deletedToast: T.duplicateDeletedToast,
94
+ confirmAction: T.duplicateConfirmAction,
95
+ confirmDuplicateTitle: T.duplicateConfirmDuplicateTitle,
96
+ confirmDuplicateDescription: T.duplicateConfirmDuplicateDescription,
97
+ confirmDuplicateButton: T.duplicateConfirmDuplicateButton,
98
+ confirmedToast: T.duplicateConfirmedToast,
99
+ cancelAction: T.duplicateCancelAction,
100
+ cancelConfirmTitle: T.duplicateCancelConfirmTitle,
101
+ cancelConfirmDescription: T.duplicateCancelConfirmDescription,
102
+ cancelConfirmButton: T.duplicateCancelConfirmButton,
103
+ cancelConfirmBackButton: T.duplicateCancelConfirmBackButton,
104
+ dismissedToast: T.duplicateDismissedToast,
105
+ cancelledToast: T.duplicateCancelledToast,
106
+ actionFailedToast: T.duplicateActionFailedToast,
107
+ groupHeader: T.duplicateGroupHeader
108
+ }), [
109
+ T.duplicateOriginalBillLabel,
110
+ T.duplicateMenuTrigger,
111
+ T.duplicateNotDuplicateAction,
112
+ T.duplicateNotDuplicateConfirmTitle,
113
+ T.duplicateNotDuplicateConfirmDescription,
114
+ T.duplicateNotDuplicateConfirmButton,
115
+ T.duplicateNotDuplicateConfirmBackButton,
116
+ T.duplicateDeleteAction,
117
+ T.duplicateDeleteConfirmTitle,
118
+ T.duplicateDeleteConfirmDescription,
119
+ T.duplicateDeleteConfirmButton,
120
+ T.duplicateDeletedToast,
121
+ T.duplicateConfirmAction,
122
+ T.duplicateConfirmDuplicateTitle,
123
+ T.duplicateConfirmDuplicateDescription,
124
+ T.duplicateConfirmDuplicateButton,
125
+ T.duplicateConfirmedToast,
126
+ T.duplicateCancelAction,
127
+ T.duplicateCancelConfirmTitle,
128
+ T.duplicateCancelConfirmDescription,
129
+ T.duplicateCancelConfirmButton,
130
+ T.duplicateCancelConfirmBackButton,
131
+ T.duplicateDismissedToast,
132
+ T.duplicateCancelledToast,
133
+ T.duplicateActionFailedToast,
134
+ T.duplicateGroupHeader
135
+ ]), { mailboxAddress: U } = n({ relatedObjectType: "payable" }), W = l({
136
+ enabled: B,
137
+ canReadVendors: _e,
138
+ isVendorFilterPaused: me,
139
+ filterLabels: T.filters,
140
+ onOpenBill: H,
141
+ duplicateRowNote: T.duplicateRowNote,
142
+ attachmentLabel: T.attachmentIndicator,
143
+ duplicateGroupLabels: ve,
144
+ canManageDuplicates: V,
145
+ duplicateView: L,
146
+ scheduledRelativeDayLabels: T.scheduledRelativeDay
147
+ }), G = ne({ enabled: B }), ye = f(G, T, L === c.PossibleDuplicates);
148
+ h(() => {
149
+ L === c.PossibleDuplicates && !G.isLoading && (G.isError || G.count === 0) && R(c.AllBills);
150
+ }, [
151
+ L,
152
+ G.count,
153
+ G.isError,
154
+ G.isLoading
155
+ ]);
156
+ let K = se({ enabled: B }), be = g(() => o.map((e) => ({
157
+ id: e,
158
+ label: T.queues[e],
159
+ badge: u(K[e])
160
+ })), [T.queues, K]), q = (e, t) => {
161
+ j(!1), I(!1), H(e, t);
162
+ }, xe = () => {
163
+ P(!1), I(!0);
164
+ }, J = () => {
165
+ I(!1), P(!0);
166
+ }, Y = () => {
167
+ P(!1), I(!1), O(M), k(void 0), j(!0);
168
+ }, Se = g(() => ({
169
+ createButton: T.createButton,
170
+ settingsButton: T.settingsButton,
171
+ addBill: { heading: T.nonEmptyHeading }
172
+ }), [
173
+ T.createButton,
174
+ T.settingsButton,
175
+ T.nonEmptyHeading
176
+ ]), Ce = g(() => ({
177
+ ...W.filterBarProps,
178
+ labels: T.filterBar
179
+ }), [W.filterBarProps, T.filterBar]), X = m((e) => {
180
+ E(!1), O(void 0), k(e), j(!0);
181
+ }, []), Z = (e) => {
182
+ E(!1), le?.(e);
183
+ }, Q = U ? {
184
+ emailAddress: U,
185
+ onCopyEmail: async () => {
186
+ U && (await d(U) ? e.success(T.emailCopiedToast) : e.error(T.emailCopyFailedToast));
187
+ }
188
+ } : {
189
+ emailAddress: void 0,
190
+ onCopyEmail: void 0
191
+ };
192
+ h(() => {
193
+ b && (O(b), k(void 0), j(!0), x?.());
194
+ }, [x, b]);
195
+ let { showVendorBills: $ } = W;
196
+ return h(() => {
197
+ S && (S.action === "createBill" ? V && X(S.vendorId) : $({
198
+ id: S.vendorId,
199
+ name: S.vendorName
200
+ }), C?.());
201
+ }, [
202
+ V,
203
+ C,
204
+ X,
205
+ $,
206
+ S
207
+ ]), /* @__PURE__ */ ce("div", {
208
+ "data-testid": p.root,
209
+ children: [
210
+ /* @__PURE__ */ v(ie, {
211
+ rows: W.rows,
212
+ isLoading: W.isLoading || !z,
213
+ isError: W.isError,
214
+ onRetry: W.onRetry,
215
+ sorting: W.sorting,
216
+ onSortingChange: W.onSortingChange,
217
+ pageSize: W.pageSize,
218
+ onPageSizeChange: W.onPageSizeChange,
219
+ pageSizeOptions: W.pageSizeOptions,
220
+ hasNextPage: W.hasNextPage,
221
+ hasPrevPage: W.hasPrevPage,
222
+ onNextPage: W.onNextPage,
223
+ onPrevPage: W.onPrevPage,
224
+ filterTabs: be,
225
+ selectedFilterTabId: W.selectedFilterTabId,
226
+ onFilterTabChange: W.onFilterTabChange,
227
+ searchValue: W.searchValue,
228
+ onSearchChange: W.onSearchChange,
229
+ filters: Ce,
230
+ visibleColumns: W.visibleColumns,
231
+ cellTestIds: oe,
232
+ isSearchActive: W.isSearchActive,
233
+ showAddPanelWhenEmpty: W.showAddPanelWhenEmpty,
234
+ emptyState: T.queueEmptyStates[W.selectedFilterTabId],
235
+ onCreateClick: V ? () => E(!0) : void 0,
236
+ onSettingsClick: ue,
237
+ onEnterManually: V ? () => X() : void 0,
238
+ onFilesSelected: V ? Z : void 0,
239
+ maxFiles: 10,
240
+ ...Q,
241
+ duplicateWarning: ye,
242
+ duplicateReviewControl: G.isError ? void 0 : {
243
+ isActive: L === c.PossibleDuplicates,
244
+ reviewLabel: T.duplicateReviewButton,
245
+ clearLabel: T.duplicateReviewClearButton,
246
+ activeFilterLabel: T.duplicateFilterChip,
247
+ onReview: () => {
248
+ W.clearQueryConstraints(), R(c.PossibleDuplicates);
249
+ },
250
+ onClear: () => R(c.AllBills)
251
+ },
252
+ labels: Se
253
+ }),
254
+ /* @__PURE__ */ v(i, {
255
+ open: W.cancelConfirmation.open,
256
+ copy: W.cancelConfirmation.copy,
257
+ onConfirm: W.cancelConfirmation.onConfirm,
258
+ onCancel: W.cancelConfirmation.onCancel,
259
+ isPending: W.cancelConfirmation.isPending,
260
+ labels: { cancelButton: W.cancelConfirmation.cancelButtonLabel }
261
+ }),
262
+ /* @__PURE__ */ v(i, {
263
+ open: W.keepConfirmation.open,
264
+ copy: W.keepConfirmation.copy,
265
+ onConfirm: W.keepConfirmation.onConfirm,
266
+ onCancel: W.keepConfirmation.onCancel,
267
+ isPending: W.keepConfirmation.isPending,
268
+ labels: { cancelButton: W.keepConfirmation.cancelButtonLabel }
269
+ }),
270
+ V ? /* @__PURE__ */ v(re, {
271
+ open: de,
272
+ onOpenChange: E,
273
+ onFilesSelected: Z,
274
+ maxFiles: 10,
275
+ onEnterManually: () => X(),
276
+ ...Q,
277
+ labels: { heading: W.hasAnyBills ? T.nonEmptyHeading : T.emptyHeading }
278
+ }) : null,
279
+ A ? /* @__PURE__ */ v(a, {
280
+ open: A,
281
+ onOpenChange: j,
282
+ payableId: D,
283
+ initialCounterpartId: fe,
284
+ onOpenBill: q
285
+ }, D) : null,
286
+ N ? /* @__PURE__ */ v(ae, {
287
+ open: N,
288
+ onOpenChange: P,
289
+ payableId: M,
290
+ onClose: () => P(!1),
291
+ onExpand: xe,
292
+ onEdit: Y,
293
+ testId: p.detailsSheet,
294
+ poweredByBankName: w
295
+ }) : null,
296
+ F ? /* @__PURE__ */ v(a, {
297
+ open: F,
298
+ onOpenChange: I,
299
+ payableId: M,
300
+ readOnly: !0,
301
+ onCollapse: J,
302
+ onEdit: Y,
303
+ onOpenBill: q,
304
+ poweredByBankName: w
305
+ }, M) : null
306
+ ]
307
+ });
9
308
  }
10
309
  //#endregion
11
- export { e as copyTextToClipboard };
310
+ export { y as BillsTab, y as default };
@@ -1,10 +1,4 @@
1
- import "./index7.js";
2
- import "./index14.js";
3
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js
4
- function e(e, t, n = !1) {
5
- if (e.isError) return t.duplicateWarningUnavailable;
6
- if (e.isCapped) return t.duplicateWarningManyCapped(100);
7
- if (e.count !== 0) return e.count === 1 ? n ? t.duplicateReviewingOne : t.duplicateWarningOne : n ? t.duplicateReviewingMany(e.count, e.groupCount) : t.duplicateWarningMany(e.count, e.groupCount);
8
- }
9
- //#endregion
10
- export { e as resolveDuplicateWarning };
1
+ import "./index63.js";
2
+ import "./index66.js";
3
+ import "./index74.js";
4
+ import "./index75.js";
@@ -1,84 +1,7 @@
1
- import { BillQueue as e } from "./index74.js";
2
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js
3
- var t = {
4
- [e.Drafts]: "Drafts",
5
- [e.Pending]: "Pending",
6
- [e.Scheduled]: "Scheduled",
7
- [e.Paid]: "Paid",
8
- [e.All]: "All bills"
9
- }, n = {
10
- [e.Drafts]: {
11
- title: "No drafts",
12
- description: "Bills wait here until someone submits them for approval."
13
- },
14
- [e.Pending]: {
15
- title: "Nothing to act on",
16
- description: "Every bill has been paid, scheduled, or is still a draft."
17
- },
18
- [e.Scheduled]: {
19
- title: "No scheduled bills",
20
- description: "Bills appear here once a payment date is set for them."
21
- },
22
- [e.Paid]: {
23
- title: "No paid bills",
24
- description: "Bills appear here once their payment has gone out."
25
- },
26
- [e.All]: {
27
- title: "No bills",
28
- description: "Bills appear here as soon as they are added."
29
- }
30
- }, r = {
31
- duplicateWarningOne: "1 possible duplicate found",
32
- duplicateWarningMany: (e, t) => `${e} possible duplicate bills found across ${t} original ${t === 1 ? "bill" : "bills"}`,
33
- duplicateWarningManyCapped: (e) => `${e}+ possible duplicate bills found`,
34
- duplicateWarningUnavailable: "Couldn't check for possible duplicates. Try again shortly.",
35
- duplicateRowNote: "Possible duplicate",
36
- duplicateReviewButton: "Review duplicates",
37
- duplicateReviewClearButton: "Show all bills",
38
- duplicateReviewingOne: "Reviewing 1 possible duplicate",
39
- duplicateReviewingMany: (e, t) => `Reviewing ${e} possible duplicate bills across ${t} original ${t === 1 ? "bill" : "bills"}`,
40
- duplicateFilterChip: "Possible duplicates",
41
- duplicateMenuTrigger: ({ vendorLabel: e, invoiceNumberLabel: t }) => t ? `Open duplicate actions for ${e}, invoice ${t}` : `Open duplicate actions for ${e}`,
42
- duplicateNotDuplicateAction: "Not a duplicate",
43
- duplicateNotDuplicateConfirmTitle: "Mark as not a duplicate?",
44
- duplicateNotDuplicateConfirmDescription: "You can't undo this action.",
45
- duplicateNotDuplicateConfirmButton: "Not a duplicate",
46
- duplicateNotDuplicateConfirmBackButton: "Back",
47
- duplicateDeleteAction: "Remove bill",
48
- duplicateDeleteConfirmTitle: "Remove duplicate bill?",
49
- duplicateDeleteConfirmDescription: "You can't undo this action.",
50
- duplicateDeleteConfirmButton: "Remove bill",
51
- duplicateDeletedToast: "Duplicate removed",
52
- duplicateConfirmAction: "Confirm duplicate",
53
- duplicateConfirmDuplicateTitle: "Confirm duplicate?",
54
- duplicateConfirmDuplicateDescription: "This bill is already cancelled. This records it as a duplicate.",
55
- duplicateConfirmDuplicateButton: "Confirm duplicate",
56
- duplicateConfirmedToast: "Duplicate confirmed",
57
- duplicateCancelAction: "Cancel bill",
58
- duplicateCancelConfirmTitle: "Cancel duplicate bill?",
59
- duplicateCancelConfirmDescription: "You can't undo this action.",
60
- duplicateCancelConfirmButton: "Cancel bill",
61
- duplicateCancelConfirmBackButton: "Back",
62
- duplicateDismissedToast: "Marked as not a duplicate.",
63
- duplicateCancelledToast: "Duplicate cancelled",
64
- duplicateActionFailedToast: "Couldn't update this duplicate. Try again.",
65
- duplicateGroupHeader: ({ vendorLabel: e, invoiceNumberLabel: t }) => t ? `${e} - ${t}` : e,
66
- duplicateOriginalBillLabel: "Original bill",
67
- attachmentIndicator: "Has an attachment",
68
- scheduledRelativeDay: {
69
- today: "Today",
70
- tomorrow: "Tomorrow"
71
- },
72
- emptyHeading: "Add your first bill",
73
- nonEmptyHeading: "Add a bill",
74
- createButton: "Add bill",
75
- settingsButton: "Bill pay settings",
76
- emailCopiedToast: "Email address copied to clipboard",
77
- emailCopyFailedToast: "Could not copy the email address",
78
- queues: t,
79
- queueEmptyStates: n,
80
- filters: {},
81
- filterBar: {}
2
+ var e = {
3
+ bills: "Bills",
4
+ vendors: "Vendors"
82
5
  };
83
6
  //#endregion
84
- export { r as BILLS_TAB_LABELS_EN, n as BILL_QUEUE_EMPTY_STATES_EN, t as BILL_QUEUE_LABELS_EN };
7
+ export { e as DEFAULT_TABS_LABELS };
@@ -1,24 +1,114 @@
1
- import { BillColumn as e } from "../../ui/dist/index83.js";
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 { EmbeddedToaster as n } from "../../../shared/ui/dist/lib/EmbeddedToaster.js";
9
+ import "../../../shared/ui/dist/index.js";
10
+ import { useAnalyticsTrack as r } from "../../../shared/feature/dist/lib/analytics/hooks.js";
11
+ import { WidgetProvider as i } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
12
+ import { useWidgetConfig as a } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
13
+ import "../../../shared/feature/dist/index.js";
14
+ import { BillPayWidgetUi as o } from "../../ui/dist/index56.js";
15
+ import { BillUploadStatusTray as s } from "../../ui/dist/index91.js";
2
16
  import "../../ui/dist/index.js";
17
+ import { useBillUploadQueue as c } from "./index60.js";
18
+ import "./index61.js";
19
+ import { billsTabTestIds as l } from "./index67.js";
20
+ import { BillsTab as u } from "./index75.js";
21
+ import "./index76.js";
22
+ import { BillPayWidgetAnalyticsEvent as d, WIDGET_NAME as f } from "./index55.js";
23
+ import { DEFAULT_TABS_LABELS as p } from "./index77.js";
24
+ import { CounterpartsWidget as m } from "../../../counterparts-widget/feature/dist/index8.js";
25
+ import "../../../counterparts-widget/feature/dist/index.js";
26
+ import { useCallback as h, useEffect as g, useState as _ } from "react";
27
+ import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
3
28
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js
4
- var t = {
5
- root: "bill-pay-bills-tab",
6
- uploadTray: "bill-pay-upload-tray",
7
- detailsSheet: "bill-pay-details-sheet"
8
- }, n = {
9
- [e.Vendor]: "bill-pay-bills-cell-vendor",
10
- [e.InvoiceNumber]: "bill-pay-bills-cell-invoice-number",
11
- [e.Attachment]: "bill-pay-bills-cell-attachment",
12
- [e.IssueDate]: "bill-pay-bills-cell-issue-date",
13
- [e.DueDate]: "bill-pay-bills-cell-due-date",
14
- [e.ScheduledDate]: "bill-pay-bills-cell-scheduled-date",
15
- [e.PaidDate]: "bill-pay-bills-cell-paid-date",
16
- [e.Status]: "bill-pay-bills-cell-status",
17
- [e.AmountDue]: "bill-pay-bills-cell-amount-due",
18
- [e.AmountScheduled]: "bill-pay-bills-cell-amount-scheduled",
19
- [e.AmountPaid]: "bill-pay-bills-cell-amount-paid",
20
- [e.TotalAmount]: "bill-pay-bills-cell-total-amount",
21
- [e.AddedOn]: "bill-pay-bills-cell-added-on"
22
- };
29
+ var x = {
30
+ Bills: "bills",
31
+ Vendors: "vendors"
32
+ }, S = [x.Bills, x.Vendors];
33
+ function C({ labels: i, initialTab: f = x.Bills, tabsLabels: C, vendorLabels: w, poweredByBankName: T, onSettingsClick: E }) {
34
+ let D = r();
35
+ g(() => {
36
+ D(d.Mounted);
37
+ }, [D]);
38
+ let O = {
39
+ ...p,
40
+ ...C
41
+ }, { initResponse: k } = a(), A = e(k?.scopes, [t.PayableReadOrg]), j = e(k?.scopes, [t.PayableWriteOrg]), M = e(k?.scopes, [t.ApprovalPolicyWriteOrg]) && e(k?.scopes, [t.PayableWriteOrg]) && e(k?.scopes, [t.RoleReadOrg]) && e(k?.scopes, [t.UserReadOrg]), [N, P] = _(f), [F, I] = _(), L = h((e) => {
42
+ P(x.Bills), I(e);
43
+ }, []), R = c({ onOpenBill: L }), [z, B] = _(), V = h((e) => {
44
+ P(x.Bills), B(e);
45
+ }, []), H = [{
46
+ id: x.Bills,
47
+ label: O.bills,
48
+ content: /* @__PURE__ */ y(u, {
49
+ onEnqueueFiles: R.enqueue,
50
+ openPayableId: F,
51
+ onOpenPayableHandled: () => I(void 0),
52
+ vendorIntent: z,
53
+ onVendorIntentHandled: () => B(void 0),
54
+ poweredByBankName: T,
55
+ onSettingsClick: E && M ? E : void 0
56
+ })
57
+ }, {
58
+ id: x.Vendors,
59
+ label: O.vendors,
60
+ content: /* @__PURE__ */ y(m, {
61
+ ...w,
62
+ counterpartType: "vendor",
63
+ passThrough: !0,
64
+ onViewAllDocuments: A ? (e) => V({
65
+ vendorId: e.id,
66
+ vendorName: e.name,
67
+ action: "viewBills"
68
+ }) : void 0,
69
+ onCreateDocument: j ? (e) => V({
70
+ vendorId: e.id,
71
+ vendorName: e.name,
72
+ action: "createBill"
73
+ }) : void 0
74
+ })
75
+ }], U = H.some((e) => e.id === N) ? N : S.find((e) => H.some((t) => t.id === e)) ?? H[0]?.id ?? "";
76
+ return /* @__PURE__ */ b(v, { children: [
77
+ /* @__PURE__ */ y(n, {}),
78
+ /* @__PURE__ */ y(o, {
79
+ labels: i,
80
+ tabs: H,
81
+ selectedTabId: U,
82
+ onTabChange: P
83
+ }),
84
+ R.isVisible ? /* @__PURE__ */ y(s, {
85
+ sections: R.sections,
86
+ summaryLabel: R.summaryLabel,
87
+ collapsed: R.collapsed,
88
+ onToggleCollapsed: R.onToggleCollapsed,
89
+ onClose: R.onClose,
90
+ testId: l.uploadTray
91
+ }) : null
92
+ ] });
93
+ }
94
+ function w({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: a, linkComponent: o, implementation: s, uiFramework: c, errorFallback: l, onError: u, analytics: d, disclosuresAcceptance: p, providerLabels: m, ...h }) {
95
+ return /* @__PURE__ */ y(i, {
96
+ widgetName: f,
97
+ baseUrl: e,
98
+ widgetToken: t,
99
+ organizationId: n,
100
+ configClient: r,
101
+ gatewayRouting: a,
102
+ linkComponent: o,
103
+ implementation: s,
104
+ uiFramework: c,
105
+ errorFallback: l,
106
+ onError: u,
107
+ analytics: d,
108
+ disclosuresAcceptance: p,
109
+ providerLabels: m,
110
+ children: /* @__PURE__ */ y(C, { ...h })
111
+ });
112
+ }
23
113
  //#endregion
24
- export { t as billsTabTestIds, n as billsTableCellTestIds };
114
+ export { w as BillPayWidgetNative, w as default };
@@ -1,22 +1 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { usePayablesCountQueries as e } from "../../data-access/dist/index17.js";
6
- import "../../data-access/dist/index.js";
7
- import { BILL_QUEUE_ORDER as t, billQueueHasScheduledPayment as n, billQueueStatuses as r } from "./index74.js";
8
- import { useMemo as i } from "react";
9
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js
10
- var a = t.map((e) => ({
11
- status__in: r(e),
12
- has_scheduled_payment: n(e)
13
- }));
14
- function o({ enabled: n = !0 } = {}) {
15
- let r = e({
16
- filters: a,
17
- enabled: n
18
- });
19
- return i(() => Object.fromEntries(t.map((e, t) => [e, r[t]?.count])), [r]);
20
- }
21
- //#endregion
22
- export { o as useBillQueueCounts };
1
+ import "./index78.js";
@@ -1,17 +1,41 @@
1
- import { BanIcon as e, Trash2Icon as t } from "lucide-react";
1
+ import { suspectedPayableDuplicates as e } from "../../util/dist/lib/payableDuplicates.js";
2
+ import { DuplicateVerdict as t } from "../../data-access/dist/index21.js";
3
+ import "../../data-access/dist/index.js";
2
4
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js
3
- function n(n, r) {
4
- return {
5
- title: n.title,
6
- description: n.description,
7
- confirmButton: n.confirmButton,
8
- presentation: {
9
- alignment: "center",
10
- icon: r === "delete" ? t : e,
11
- tone: r === "confirm" ? "default" : "destructive",
12
- actionWidth: "equal"
13
- }
5
+ function n(t) {
6
+ let n = new Map(t.map((e) => [e.id, e])), i = /* @__PURE__ */ new Map(), a = (e) => {
7
+ let t = i.get(e);
8
+ if (t === void 0 || t === e) return e;
9
+ let n = a(t);
10
+ return i.set(e, n), n;
11
+ }, o = (e, t) => {
12
+ let n = a(e), r = a(t);
13
+ n !== r && i.set(n, r);
14
14
  };
15
+ t.forEach((t) => {
16
+ i.set(t.id, i.get(t.id) ?? t.id), e(t).forEach((e) => {
17
+ n.has(e.matched_payable_id) && o(t.id, e.matched_payable_id);
18
+ });
19
+ });
20
+ let s = /* @__PURE__ */ new Map();
21
+ return t.forEach((e) => {
22
+ let t = a(e.id);
23
+ s.set(t, [...s.get(t) ?? [], e]);
24
+ }), [...s.values()].map((e) => ({ members: [...e].sort(r) }));
25
+ }
26
+ function r(e, t) {
27
+ return (e.created_at ?? "").localeCompare(t.created_at ?? "") || e.id.localeCompare(t.id);
28
+ }
29
+ function i(t) {
30
+ if (t.length < 2) return;
31
+ let n = new Set(t.map((e) => e.id));
32
+ if (t.every((t) => e(t).every((e) => n.has(e.matched_payable_id)))) return [...t].sort(r)[0].id;
33
+ }
34
+ function a(n, r, i) {
35
+ let a = e(n);
36
+ if (r !== t.Keep || !i) return a;
37
+ let o = a.find((e) => e.matched_payable_id === i);
38
+ return o ? [o] : a;
15
39
  }
16
40
  //#endregion
17
- export { n as duplicateRemovalPrompt };
41
+ export { r as compareByArrival, a as duplicateVerdictMatches, n as groupSuspectedDuplicates, i as resolveDuplicateOriginalId };