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