@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,392 +0,0 @@
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 { useEmbedApi as t } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
7
- import "../../../shared/ui/dist/index.js";
8
- import { formatCalendarDate as n } from "../../../shared/util/dist/lib/formatCalendarDate.js";
9
- import { formatMoneyExact as r } from "../../../shared/util/dist/lib/formatMoneyExact.js";
10
- import { payableRemoval as i } from "./index6.js";
11
- import { DuplicateVerdict as a, hasSuspectedPayableDuplicate as o, suspectedPayableDuplicates as s, useApplyDuplicateVerdictsMutation as c } from "../../data-access/dist/index7.js";
12
- import { useFirstPayablesPagesQuery as l, usePayablesQuery as u, usePayablesTotalCountQuery as d } from "../../data-access/dist/index17.js";
13
- import "../../data-access/dist/index.js";
14
- import { duplicateRemovalPrompt as f } from "./index8.js";
15
- import { derivePayableStatus as ee } from "./index10.js";
16
- import { compareByArrival as p, duplicateVerdictMatches as m, resolveDuplicateOriginalId as h } from "./index9.js";
17
- import { isEditablePayableStatus as te } from "./index11.js";
18
- import { resolveVendorName as ne } from "./index12.js";
19
- import { BillColumn as g } from "../../ui/dist/index83.js";
20
- import "../../ui/dist/index.js";
21
- import { formatScheduledDateLabel as re } from "./index36.js";
22
- import { useLocalCalendarDay as ie } from "./index37.js";
23
- import { BillQueue as _, DEFAULT_BILL_QUEUE as ae, billQueueColumns as oe, billQueueHasScheduledPayment as se, billQueueOffersAddPanel as ce, billQueueStatuses as le, billSortColumnId as ue, billSortField as de } from "./index74.js";
24
- import { useBillsFilters as fe } from "./index83.js";
25
- import { BillVendorLookup as pe, useBillVendorNames as me } from "./index84.js";
26
- import { useCallback as v, useEffect as y, useMemo as b, useState as x } from "react";
27
- import { BanIcon as he, FileCheckIcon as ge, Trash2Icon as _e } from "lucide-react";
28
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js
29
- var ve = 10, S = 100, ye = 3, be = [{
30
- id: "addedOnLabel",
31
- desc: !0
32
- }], C = {
33
- AllBills: "allBills",
34
- PossibleDuplicates: "possibleDuplicates"
35
- };
36
- function xe(e, t) {
37
- let n = new Map(e.map((e) => [e.id, e])), r = /* @__PURE__ */ new Map(), i = (e) => {
38
- r.has(e) || r.set(e, /* @__PURE__ */ new Set());
39
- }, a = (e, t) => {
40
- i(e), i(t), r.get(e)?.add(t), r.get(t)?.add(e);
41
- };
42
- for (let t of e) {
43
- let e = s(t);
44
- if (e.length !== 0) {
45
- i(t.id);
46
- for (let n of e) a(t.id, n.matched_payable_id);
47
- }
48
- }
49
- let o = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Set();
50
- for (let e of r.keys()) {
51
- if (c.has(e)) continue;
52
- let i = [], a = [e];
53
- for (c.add(e); a.length > 0;) {
54
- let e = a.pop();
55
- n.has(e) && i.push(e);
56
- for (let t of r.get(e) ?? []) c.has(t) || (c.add(t), a.push(t));
57
- }
58
- if (i.length === 0) continue;
59
- let s = i.map((e) => n.get(e)).filter((e) => !!e).sort(p), l = h(s), [u] = s, d = {
60
- key: `duplicate-group:${[...i].sort().join(":")}`,
61
- headerLabel: t.groupHeader({
62
- vendorLabel: ne(u),
63
- invoiceNumberLabel: u?.document_id ?? ""
64
- }),
65
- memberCount: i.length,
66
- originalPayableId: l
67
- };
68
- for (let e of i) o.set(e, d);
69
- }
70
- return o;
71
- }
72
- function w({ enabled: s = !0, canReadVendors: p = !0, isVendorFilterPaused: h = !1, filterLabels: pe, onOpenBill: w, duplicateRowNote: we, attachmentLabel: Te, duplicateGroupLabels: T, canManageDuplicates: Ee = !1, duplicateView: E = C.AllBills, scheduledRelativeDayLabels: De }) {
73
- let Oe = ie(), [D, ke] = x(ae), [Ae, je] = x(be), [O, Me] = x(ve), [Ne, k] = x(), [Pe, A] = x(0), [j, M] = x(""), [N, Fe] = x(""), [P, F] = x(), [I, L] = x(), R = v(() => {
74
- k(void 0), A(0);
75
- }, []);
76
- y(() => {
77
- if (j === N) return;
78
- let e = setTimeout(() => {
79
- Fe(j), R();
80
- }, 300);
81
- return () => clearTimeout(e);
82
- }, [
83
- j,
84
- N,
85
- R
86
- ]), y(() => {
87
- R();
88
- }, [E, R]);
89
- let z = fe({
90
- offersStatusFilter: D === _.All,
91
- offersVendorFilter: p,
92
- isVendorFilterPaused: h,
93
- labels: pe,
94
- onFiltersChange: R
95
- }), { clearAll: Ie, filterByVendor: Le } = z, Re = Ae[0], B = de(Re?.id), ze = B ? Re?.desc ? "desc" : "asc" : void 0, V = E === C.PossibleDuplicates, H = V ? _.All : D, U = b(() => ({
96
- ...z.query,
97
- limit: V ? S : O,
98
- pagination_token: V ? void 0 : Ne,
99
- status__in: V ? void 0 : le(H) ?? z.query.status__in,
100
- has_scheduled_payment: V ? void 0 : se(H),
101
- duplicate_match_status: V ? "suspected" : void 0,
102
- counterpart_name__icontains: N || void 0,
103
- sort: B,
104
- order: ze
105
- }), [
106
- z.query,
107
- O,
108
- Ne,
109
- V,
110
- H,
111
- N,
112
- B,
113
- ze
114
- ]), { organizationId: Be } = t(), W = JSON.stringify([Be, U]), G = u({
115
- ...U,
116
- enabled: s && !V,
117
- pollWhileOcrProcessing: !0
118
- }), K = l({
119
- ...U,
120
- enabled: s && V,
121
- maxPages: ye
122
- }), q = V ? {
123
- ...K,
124
- data: { data: K.payables },
125
- isLoading: K.isResolving,
126
- isFetching: K.isFetching || K.isResolving
127
- } : G, J = (q.data?.data ?? []).filter((e) => e.ocr_status !== "processing"), Y = c(), X = v(async (t, n, r, a) => {
128
- let o = m(t, n, a);
129
- if (o.length) try {
130
- await Y.mutateAsync({
131
- verdict: n,
132
- targets: o.map((e) => ({
133
- payableId: t.id,
134
- duplicateId: e.id,
135
- matchedPayableId: e.matched_payable_id,
136
- removeBy: i(t.status)
137
- }))
138
- }), e.success(r);
139
- } catch {
140
- e.error(T.actionFailedToast);
141
- }
142
- }, [Y, T.actionFailedToast]), Z = b(() => ({
143
- delete: {
144
- action: T.deleteAction,
145
- title: T.deleteConfirmTitle,
146
- description: T.deleteConfirmDescription,
147
- confirmButton: T.deleteConfirmButton,
148
- backButton: T.cancelConfirmBackButton,
149
- toast: T.deletedToast
150
- },
151
- cancel: {
152
- action: T.cancelAction,
153
- title: T.cancelConfirmTitle,
154
- description: T.cancelConfirmDescription,
155
- confirmButton: T.cancelConfirmButton,
156
- backButton: T.cancelConfirmBackButton,
157
- toast: T.cancelledToast
158
- },
159
- confirm: {
160
- action: T.confirmAction,
161
- title: T.confirmDuplicateTitle,
162
- description: T.confirmDuplicateDescription,
163
- confirmButton: T.confirmDuplicateButton,
164
- backButton: T.cancelConfirmBackButton,
165
- toast: T.confirmedToast
166
- }
167
- }), [T]), Ve = P?.removeBy ?? "cancel", He = v(async () => {
168
- P && (await X(P.payable, a.Remove, Z[P.removeBy].toast), F(void 0));
169
- }, [
170
- X,
171
- P,
172
- Z
173
- ]), Ue = v(async () => {
174
- I && (await X(I.payable, a.Keep, T.dismissedToast, I.originalPayableId), L(void 0));
175
- }, [
176
- X,
177
- T.dismissedToast,
178
- I
179
- ]), [We, Ge] = x(W);
180
- y(() => {
181
- q.isFetching || Ge(W);
182
- }, [q.isFetching, W]);
183
- let Ke = q.data?.data.length, qe = Ke === 0, Je = d({ enabled: s && qe }), Ye = !qe || (Je.data?.count ?? 1) > 0, Q = b(() => E === C.PossibleDuplicates ? xe(J, T) : /* @__PURE__ */ new Map(), [
184
- E,
185
- J,
186
- T
187
- ]), Xe = b(() => {
188
- if (Q.size === 0) return J;
189
- let e = /* @__PURE__ */ new Map();
190
- return J.forEach((t, n) => {
191
- let r = Q.get(t.id)?.key;
192
- r !== void 0 && !e.has(r) && e.set(r, n);
193
- }), J.map((t, n) => ({
194
- payable: t,
195
- order: e.get(Q.get(t.id)?.key ?? "") ?? n
196
- })).sort((e, t) => e.order - t.order).map(({ payable: e }) => e);
197
- }, [J, Q]), { vendorNames: Ze, lookup: Qe } = me({
198
- payables: q.data?.data,
199
- enabled: s,
200
- canReadVendors: p,
201
- isPaused: h
202
- }), $e = b(() => Xe.map((e) => {
203
- let t = ee({
204
- apiStatus: e.status,
205
- dueDate: e.due_date,
206
- scheduledPaymentDate: e.scheduled_payment_date
207
- }), a = e.amount_due ?? e.total_amount, s = e.status === "partially_paid" || e.status === "paid", c = (t) => t == null ? "" : r(t / 100, { currencyCode: e.currency ?? "USD" }), l = re(e.scheduled_payment_date, De, Oe), u = Q.get(e.id), d = o(e), f = ne(e) || (e.counterpart_id ? Ze.get(e.counterpart_id) ?? "" : ""), p = e.document_id ?? "", m = i(e.status), h = u?.originalPayableId !== void 0 && u.originalPayableId === e.id, g = V && d && Ee && u ? {
208
- triggerLabel: T.menuTrigger({
209
- vendorLabel: f,
210
- invoiceNumberLabel: p
211
- }),
212
- items: [{
213
- id: "not-duplicate",
214
- label: T.notDuplicateAction,
215
- icon: ge,
216
- disabled: Y.isPending,
217
- onSelect: () => L({
218
- payable: e,
219
- originalPayableId: h ? void 0 : u.originalPayableId
220
- })
221
- }, ...m ? [{
222
- id: "cancel-duplicate",
223
- label: Z[m].action,
224
- icon: m === "delete" ? _e : he,
225
- disabled: Y.isPending,
226
- onSelect: () => F({
227
- payable: e,
228
- removeBy: m
229
- })
230
- }] : []]
231
- } : void 0;
232
- return {
233
- rowKey: e.id,
234
- vendorLabel: f,
235
- vendorLookup: f || !e.counterpart_id ? void 0 : Ce(Qe),
236
- invoiceNumberLabel: p,
237
- issueDateLabel: n(e.issued_at),
238
- dueDateLabel: n(e.due_date),
239
- dueDateTone: t.isOverdue ? "danger" : "default",
240
- scheduledDateLabel: l.label,
241
- scheduledDateExact: l.absoluteLabel,
242
- scheduledDateIsGap: H === _.Scheduled,
243
- paidDateLabel: n(e.paid_at?.slice(0, 10)),
244
- amountDueLabel: c(a),
245
- amountPaidLabel: s ? c(e.amount_paid) : "",
246
- amountPaidIsGap: H === _.Paid,
247
- amountScheduledLabel: c(e.amount_to_pay ?? a),
248
- totalAmountLabel: c(e.total_amount),
249
- attachment: e.file_id ? { label: Te } : void 0,
250
- status: t.status,
251
- statusTone: t.tone,
252
- addedOnLabel: n(e.created_at?.slice(0, 10)),
253
- ...u ? {
254
- group: {
255
- key: u.key,
256
- headerLabel: u.headerLabel,
257
- memberCount: u.memberCount
258
- },
259
- groupedRowLabel: f,
260
- groupedRowLabelTone: void 0,
261
- groupedRowBadge: h ? T.originalBill : void 0
262
- } : {},
263
- ...g ? { menu: g } : {},
264
- ...!V && !u && d ? {
265
- rowTone: "warning",
266
- rowNote: we
267
- } : {},
268
- onOpen: () => w(e.id, te(e.status))
269
- };
270
- }), [
271
- Xe,
272
- Q,
273
- T,
274
- Z,
275
- Y.isPending,
276
- Ee,
277
- V,
278
- we,
279
- Te,
280
- De,
281
- Oe,
282
- w,
283
- H,
284
- Ze,
285
- Qe
286
- ]), et = b(() => V ? Se($e, S) : [], [$e, V]), $ = Math.min(Pe, Math.max(0, et.length - 1)), tt = V ? et[$] ?? [] : $e, nt = v((e) => {
287
- let t = e;
288
- ke(t), je((e) => {
289
- let n = e[0]?.id;
290
- return n ? oe(t).some((e) => ue(e) === n) ? e : be : e;
291
- }), R();
292
- }, [R]), rt = v((e) => {
293
- nt(_.All), M(""), Le(e);
294
- }, [Le, nt]), it = v(() => {
295
- M(""), Fe(""), Ie(), R();
296
- }, [Ie, R]), at = v((e) => {
297
- je((t) => typeof e == "function" ? e(t) : e), R();
298
- }, [R]), ot = v((e) => {
299
- Me(e), R();
300
- }, [R]), st = v(() => {
301
- if (V) {
302
- A($ + 1);
303
- return;
304
- }
305
- k(G.data?.next_pagination_token ?? void 0);
306
- }, [
307
- $,
308
- V,
309
- G.data?.next_pagination_token
310
- ]), ct = v(() => {
311
- if (V) {
312
- A(Math.max(0, $ - 1));
313
- return;
314
- }
315
- k(G.data?.prev_pagination_token ?? void 0);
316
- }, [
317
- $,
318
- V,
319
- G.data?.prev_pagination_token
320
- ]), lt = v(() => {
321
- q.refetch();
322
- }, [q.refetch]);
323
- return {
324
- rows: tt,
325
- isLoading: q.isLoading || W !== We || qe && Je.isLoading || (Ke ?? 0) > 0 && tt.length === 0,
326
- isError: q.isError,
327
- onRetry: lt,
328
- selectedFilterTabId: D,
329
- onFilterTabChange: nt,
330
- showVendorBills: rt,
331
- clearQueryConstraints: it,
332
- searchValue: j,
333
- onSearchChange: M,
334
- hasAnyBills: Ye,
335
- isSearchActive: N.length > 0 || z.isFilterActive || V,
336
- filterBarProps: z.filterBarProps,
337
- visibleColumns: V ? [
338
- g.Vendor,
339
- g.AmountDue,
340
- g.DueDate,
341
- g.AddedOn,
342
- g.Status
343
- ] : oe(D),
344
- showAddPanelWhenEmpty: !V && ce(D),
345
- sorting: Ae,
346
- onSortingChange: at,
347
- pageSize: V ? S : O,
348
- pageSizeOptions: V ? [S] : void 0,
349
- onPageSizeChange: ot,
350
- hasNextPage: V ? $ < et.length - 1 : !!G.data?.next_pagination_token,
351
- hasPrevPage: V ? $ > 0 : !!G.data?.prev_pagination_token,
352
- onNextPage: st,
353
- onPrevPage: ct,
354
- cancelConfirmation: {
355
- open: !!P,
356
- copy: f(Z[Ve], Ve),
357
- onConfirm: () => void He(),
358
- onCancel: () => F(void 0),
359
- isPending: Y.isPending,
360
- cancelButtonLabel: Z[Ve].backButton
361
- },
362
- keepConfirmation: {
363
- open: !!I,
364
- copy: {
365
- title: T.notDuplicateConfirmTitle,
366
- description: T.notDuplicateConfirmDescription,
367
- confirmButton: T.notDuplicateConfirmButton,
368
- presentation: {
369
- alignment: "center",
370
- icon: ge,
371
- actionWidth: "equal"
372
- }
373
- },
374
- onConfirm: () => void Ue(),
375
- onCancel: () => L(void 0),
376
- isPending: Y.isPending,
377
- cancelButtonLabel: T.notDuplicateConfirmBackButton
378
- }
379
- };
380
- }
381
- function Se(e, t) {
382
- let n = [], r = [];
383
- return e.forEach((i, a) => {
384
- let o = i.group !== void 0 && i.group.key === e[a - 1]?.group?.key;
385
- r.length >= t && !o && (n.push(r), r = []), r.push(i);
386
- }), r.length && n.push(r), n;
387
- }
388
- function Ce(e) {
389
- return e === pe.Settled ? void 0 : e;
390
- }
391
- //#endregion
392
- export { C as BillDuplicateView, w as useBillsTable };
@@ -1,310 +0,0 @@
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 "./index7.js";
14
- import "./index14.js";
15
- import { AddBillDialog as re } from "../../ui/dist/index10.js";
16
- import { BillDecisionDialog as i } from "../../ui/dist/index65.js";
17
- import { BillsScreen as ie } from "../../ui/dist/index84.js";
18
- import "../../ui/dist/index.js";
19
- import { BillCreateDialog as a } from "./index61.js";
20
- import "./index62.js";
21
- import { BillDetailsContainer as ae } from "./index64.js";
22
- import "./index65.js";
23
- import "./index71.js";
24
- import "./index72.js";
25
- import { BILL_QUEUE_ORDER as o } from "./index74.js";
26
- import { BILLS_TAB_LABELS_EN as s } from "./index77.js";
27
- import { BillDuplicateView as c, useBillsTable as l } from "./index85.js";
28
- import { formatBillQueueBadge as u } from "./index73.js";
29
- import { copyTextToClipboard as d } from "./index75.js";
30
- import { resolveDuplicateWarning as f } from "./index76.js";
31
- import { billsTabTestIds as p, billsTableCellTestIds as oe } from "./index78.js";
32
- import { useBillQueueCounts as se } from "./index79.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";
35
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js
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
- });
308
- }
309
- //#endregion
310
- export { y as BillsTab, y as default };
@@ -1,7 +0,0 @@
1
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js
2
- var e = {
3
- bills: "Bills",
4
- vendors: "Vendors"
5
- };
6
- //#endregion
7
- export { e as DEFAULT_TABS_LABELS };