@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
@@ -0,0 +1,48 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableDuplicates.js
2
+ var e = [
3
+ "suspected",
4
+ "dismissed",
5
+ "confirmed"
6
+ ];
7
+ function t(t) {
8
+ if (typeof t != "object" || !t) return !1;
9
+ let n = t;
10
+ return typeof n.id == "string" && typeof n.matched_payable_id == "string" && e.includes(n.status);
11
+ }
12
+ function n(e) {
13
+ return Array.isArray(e?.duplicates) ? e.duplicates.filter(t) : [];
14
+ }
15
+ function r(e) {
16
+ return n(e).filter((e) => e.status === "suspected");
17
+ }
18
+ function i(e) {
19
+ return r(e).length > 0;
20
+ }
21
+ function a(e) {
22
+ let t = new Set(e.map((e) => e.id)), n = /* @__PURE__ */ new Map(), i = (e) => {
23
+ n.has(e) || n.set(e, /* @__PURE__ */ new Set());
24
+ }, a = (e, t) => {
25
+ i(e), i(t), n.get(e)?.add(t), n.get(t)?.add(e);
26
+ };
27
+ for (let t of e) {
28
+ let e = r(t);
29
+ if (e.length !== 0) {
30
+ i(t.id);
31
+ for (let n of e) a(t.id, n.matched_payable_id);
32
+ }
33
+ }
34
+ let o = /* @__PURE__ */ new Set(), s = 0;
35
+ for (let e of n.keys()) {
36
+ if (o.has(e)) continue;
37
+ let r = [e], i = !1;
38
+ for (o.add(e); r.length > 0;) {
39
+ let e = r.pop();
40
+ i ||= t.has(e);
41
+ for (let t of n.get(e) ?? []) o.has(t) || (o.add(t), r.push(t));
42
+ }
43
+ i && (s += 1);
44
+ }
45
+ return s;
46
+ }
47
+ //#endregion
48
+ export { a as countSuspectedPayableDuplicateGroups, i as hasSuspectedPayableDuplicate, n as readPayableDuplicates, r as suspectedPayableDuplicates };
@@ -0,0 +1,18 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableTotals.js
2
+ function e(e) {
3
+ return typeof e == "number" && Number.isFinite(e) ? e : 0;
4
+ }
5
+ function t(t) {
6
+ let n = e(t), r = Math.round(Number(Math.abs(n).toFixed(6)));
7
+ return n < 0 ? -r || 0 : r;
8
+ }
9
+ function n({ quantity: n, unitPrice: r, tax: i }) {
10
+ let a = t(e(n) * e(r)), o = t(a * e(i) / 1e4);
11
+ return {
12
+ subtotal: a,
13
+ taxAmount: o,
14
+ total: a + o
15
+ };
16
+ }
17
+ //#endregion
18
+ export { n as calculateLineItemTotals, t as roundToMinorUnits };
@@ -0,0 +1,6 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveAmountDue.js
2
+ function e(e) {
3
+ return e?.amount_due ?? e?.total_amount ?? void 0;
4
+ }
5
+ //#endregion
6
+ export { e as resolveAmountDueMinorUnits };
@@ -0,0 +1,11 @@
1
+ import { calculateLineItemTotals as e } from "./payableTotals.js";
2
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemAmount.js
3
+ function t(t) {
4
+ if (typeof t.subtotal == "number") return t.subtotal;
5
+ if (typeof t.quantity == "number" && typeof t.unit_price == "number") return e({
6
+ quantity: t.quantity,
7
+ unitPrice: t.unit_price
8
+ }).subtotal;
9
+ }
10
+ //#endregion
11
+ export { t as resolveLineItemAmountMinorUnits };
@@ -0,0 +1,7 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemQuantity.js
2
+ var e = (e) => typeof e == "number" && Number.isFinite(e) && e > 0;
3
+ function t({ quantity: t, unit_price: n, subtotal: r }) {
4
+ return e(t) ? t : e(n) && e(r) && r % n === 0 ? r / n : 1;
5
+ }
6
+ //#endregion
7
+ export { t as resolveLineItemQuantity };
@@ -0,0 +1,9 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveVendor.js
2
+ function e(e) {
3
+ return e?.counterpart ?? e?.counterpart_raw_data ?? void 0;
4
+ }
5
+ function t(e) {
6
+ return e?.counterpart?.name ?? e?.counterpart_raw_data?.name ?? "";
7
+ }
8
+ //#endregion
9
+ export { e as resolveVendor, t as resolveVendorName };
@@ -0,0 +1,4 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/widgetName.js
2
+ var e = "bill_pay_widget";
3
+ //#endregion
4
+ export { e as BILL_PAY_WIDGET_NAME };
@@ -3,16 +3,16 @@
3
3
  "use client";
4
4
  "use client";
5
5
  import { toast as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
6
- import { Scope as t } from "../../../../shared/data-access/dist/lib/scopes.js";
7
- import { useAllBankAccountsQuery as n } from "../../../../shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js";
8
- import { useAllMerchantCategoryGroupsQuery as r } from "../../../../shared/data-access/dist/lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
9
- import { useAllOrganizationUsersQuery as i } from "../../../../shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js";
6
+ import { getStateOptions as t } from "../../../../shared/util/dist/lib/usStates.js";
7
+ import { Scope as n } from "../../../../shared/data-access/dist/lib/scopes.js";
8
+ import { useAllBankAccountsQuery as r } from "../../../../shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js";
9
+ import { useAllMerchantCategoryGroupsQuery as i } from "../../../../shared/data-access/dist/lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
10
+ import { useAllOrganizationUsersQuery as a } from "../../../../shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js";
10
11
  import "../../../../shared/data-access/dist/index.js";
11
- import { EmbeddedToaster as a } from "../../../../shared/ui/dist/lib/EmbeddedToaster.js";
12
+ import { EmbeddedToaster as o } from "../../../../shared/ui/dist/lib/EmbeddedToaster.js";
12
13
  import "../../../../shared/ui/dist/index.js";
13
- import { useAnalyticsTrack as o } from "../../../../shared/feature/dist/lib/analytics/hooks.js";
14
+ import { useAnalyticsTrack as ee } from "../../../../shared/feature/dist/lib/analytics/hooks.js";
14
15
  import { WidgetProvider as s } from "../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
15
- import { getStateOptions as ee } from "../../../../shared/util/dist/lib/usStates.js";
16
16
  import { useWidgetConfig as te } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
17
17
  import "../../../../shared/feature/dist/index.js";
18
18
  import { filterUsersForOrganization as ne } from "../../../../../shared/util-validation/dist/index7.js";
@@ -35,7 +35,7 @@ import "../../data-access/dist/index.js";
35
35
  import { useEffect as p, useMemo as m, useRef as h, useState as g } from "react";
36
36
  import { Fragment as Se, jsx as _, jsxs as Ce } from "react/jsx-runtime";
37
37
  //#region ../../libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js
38
- var we = t.DebitCardIssueOrg, Te = {
38
+ var we = n.DebitCardIssueOrg, Te = {
39
39
  street: "",
40
40
  city: "",
41
41
  state: "",
@@ -59,8 +59,8 @@ function ke(e, t) {
59
59
  let n = e.nickname?.trim(), r = Oe(e.accountNumber);
60
60
  return n && r ? `${n} (${r})` : n || r || t;
61
61
  }
62
- function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose: y, onCancel: Ae, onViewCard: je }) {
63
- let Me = o(), { isReady: b } = _e(), { initResponse: Ne, organizationId: x } = te(), S = m(() => he(Ne?.scopes), [Ne?.scopes]), C = le(de), w = {
62
+ function y({ cardArtSrc: n, labels: s, featureLabels: de, className: Oe, onClose: y, onCancel: Ae, onViewCard: je }) {
63
+ let Me = ee(), { isReady: b } = _e(), { initResponse: Ne, organizationId: x } = te(), S = m(() => he(Ne?.scopes), [Ne?.scopes]), C = le(de), w = {
64
64
  ...c,
65
65
  ...s,
66
66
  setup: {
@@ -73,60 +73,60 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
73
73
  }, {
74
74
  value: d.Physical,
75
75
  label: w.setup.cardFormatPhysical
76
- }], [w.setup.cardFormatPhysical, w.setup.cardFormatVirtual]), Fe = m(() => ee(), []), [Ie, T] = g(l.Setup), [E, Le] = g(null), [D, Re] = g(null), [ze, Be] = g(null), [O, k] = g(null), [A, Ve] = g(Te), [He, Ue] = g(null), [We, Ge] = g(null), [j, M] = g(!1), [N, P] = g(""), [F, I] = g(null), [L, R] = g(!1), [z, B] = g(""), [V, H] = g(!1), [U, W] = g([]), Ke = () => {
77
- Le(null), Re(null), Be(null), k(null), Ve(Te), Ue(null), Ge(null), M(!1), P(""), I(null), R(!1), B(""), H(!1), W([]), T(l.Setup);
78
- }, qe = h(x);
79
- x && x !== qe.current && (qe.current = x, Ke());
80
- let G = h(!0);
81
- p(() => (G.current = !0, () => {
82
- G.current = !1;
76
+ }], [w.setup.cardFormatPhysical, w.setup.cardFormatVirtual]), Fe = m(() => t(), []), [Ie, T] = g(l.Setup), [E, Le] = g(null), [D, Re] = g(null), [ze, Be] = g(null), [O, k] = g(null), [Ve, He] = g(Te), [Ue, We] = g(null), [Ge, Ke] = g(null), [A, j] = g(!1), [M, N] = g(""), [P, F] = g(null), [I, L] = g(!1), [R, z] = g(""), [B, V] = g(!1), [H, U] = g([]), qe = () => {
77
+ Le(null), Re(null), Be(null), k(null), He(Te), We(null), Ke(null), j(!1), N(""), F(null), L(!1), z(""), V(!1), U([]), T(l.Setup);
78
+ }, Je = h(x);
79
+ x && x !== Je.current && (Je.current = x, qe());
80
+ let W = h(!0);
81
+ p(() => (W.current = !0, () => {
82
+ W.current = !1;
83
83
  }), []), p(() => {
84
84
  Me(ue.Mounted);
85
85
  }, [Me]);
86
- let { options: Je, isError: K, refetch: Ye } = ge({ enabled: b && S.canReadUsers }), q = i({
86
+ let { options: Ye, isError: G, refetch: Xe } = ge({ enabled: b && S.canReadUsers }), K = a({
87
87
  enabled: b && S.canReadUsers,
88
88
  permissions: [we]
89
- }), Xe = m(() => !b || !S.canReadUsers || q.isResolving || q.isError ? [] : ne(q.data?.data ?? [], x).map((e) => e.id), [
90
- q.data?.data,
91
- q.isError,
92
- q.isResolving,
89
+ }), Ze = m(() => !b || !S.canReadUsers || K.isResolving || K.isError ? [] : ne(K.data?.data ?? [], x).map((e) => e.id), [
90
+ K.data?.data,
91
+ K.isError,
92
+ K.isResolving,
93
93
  b,
94
94
  x,
95
95
  S.canReadUsers
96
- ]), J = !!q.isError && b && S.canReadUsers, Ze = b && S.canReadUsers && q.isResolving, Y = h(null);
96
+ ]), q = !!K.isError && b && S.canReadUsers, Qe = b && S.canReadUsers && K.isResolving, J = h(null);
97
97
  p(() => {
98
- if (!J) {
99
- Y.current !== null && (e.dismiss(Y.current), Y.current = null);
98
+ if (!q) {
99
+ J.current !== null && (e.dismiss(J.current), J.current = null);
100
100
  return;
101
101
  }
102
- return Y.current = e.error(C.toast.debitCardIssuersError, {
102
+ return J.current = e.error(C.toast.debitCardIssuersError, {
103
103
  duration: Infinity,
104
104
  action: {
105
105
  label: C.toast.retry,
106
106
  onClick: () => {
107
- q.refetch();
107
+ K.refetch();
108
108
  }
109
109
  }
110
110
  }), () => {
111
- Y.current !== null && (e.dismiss(Y.current), Y.current = null);
111
+ J.current !== null && (e.dismiss(J.current), J.current = null);
112
112
  };
113
113
  }, [
114
- q.refetch,
114
+ K.refetch,
115
115
  C.toast.debitCardIssuersError,
116
116
  C.toast.retry,
117
- J
117
+ q
118
118
  ]);
119
- let Qe = xe({ enabled: b && S.canReadOrganization }), X = n({ enabled: b && S.canReadFundingAccounts }), $e = r({ enabled: b && S.canReadMerchantCategoryGroups }), et = ve(), tt = ye(), nt = be(), Z = !!X.isError && b && S.canReadFundingAccounts, Q = m(() => Z ? [] : (X.data?.data ?? []).map((e) => ({
119
+ let $e = xe({ enabled: b && S.canReadOrganization }), Y = r({ enabled: b && S.canReadFundingAccounts }), et = i({ enabled: b && S.canReadMerchantCategoryGroups }), tt = ve(), nt = ye(), rt = be(), X = !!Y.isError && b && S.canReadFundingAccounts, Z = m(() => X ? [] : (Y.data?.data ?? []).map((e) => ({
120
120
  value: e.id,
121
121
  label: ke(e, C.untitledFundingAccount)
122
122
  })), [
123
- X.data?.data,
123
+ Y.data?.data,
124
124
  C.untitledFundingAccount,
125
- Z
126
- ]), $ = m(() => ($e.data?.data ?? []).map((e) => ({
125
+ X
126
+ ]), Q = m(() => (et.data?.data ?? []).map((e) => ({
127
127
  value: e.id,
128
128
  label: e.name
129
- })), [$e.data?.data]), rt = ze ?? (Q.length === 1 ? Q[0].value : null), it = Qe.data?.address, at = oe(it), ot = se(it), st = D === d.Physical, ct = st && O === u.BusinessAddress && !!at, lt = st && O === u.DifferentAddress, ut = Z || Q.length > 0, dt = b && S.canWriteAuthorizationControls, ft = m(() => [
129
+ })), [et.data?.data]), $ = ze ?? (Z.length === 1 ? Z[0].value : null), it = $e.data?.address, at = oe(it), ot = se(it), st = D === d.Physical, ct = st && O === u.BusinessAddress && !!at, lt = st && O === u.DifferentAddress, ut = X || Z.length > 0, dt = b && S.canWriteAuthorizationControls, ft = m(() => [
130
130
  {
131
131
  value: f.OneTime,
132
132
  label: C.spendLimit.periodOneTime
@@ -165,45 +165,45 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
165
165
  C.spendLimit.monthlyResetNotice,
166
166
  C.spendLimit.oneTimeWarningDescription,
167
167
  C.spendLimit.oneTimeWarningTitle
168
- ]), mt = j && (me(N) === null || F === null), ht = L && me(z) === null, gt = V && U.length === 0, _t = $.length === 0 && !V;
169
- dt || (j && M(!1), N !== "" && P(""), F !== null && I(null), L && R(!1), z !== "" && B(""), V && H(!1), U.length > 0 && W([]));
168
+ ]), mt = A && (me(M) === null || P === null), ht = I && me(R) === null, gt = B && H.length === 0, _t = Q.length === 0 && !B;
169
+ dt || (A && j(!1), M !== "" && N(""), P !== null && F(null), I && L(!1), R !== "" && z(""), B && V(!1), H.length > 0 && U([]));
170
170
  let vt = m(() => ({
171
- isSpendLimitEnabled: j,
171
+ isSpendLimitEnabled: A,
172
172
  onSpendLimitEnabledChange: (e) => {
173
- M(e), e && I((e) => e ?? f.Monthly);
173
+ j(e), e && F((e) => e ?? f.Monthly);
174
174
  },
175
- spendLimitAmount: N,
176
- onSpendLimitAmountChange: P,
175
+ spendLimitAmount: M,
176
+ onSpendLimitAmountChange: N,
177
177
  spendLimitPeriodOptions: ft,
178
- selectedSpendLimitPeriod: F,
179
- onSpendLimitPeriodSelect: I,
178
+ selectedSpendLimitPeriod: P,
179
+ onSpendLimitPeriodSelect: F,
180
180
  spendLimitPeriodNotices: pt,
181
- isMerchantCategoriesEnabled: V,
182
- onMerchantCategoriesEnabledChange: H,
183
- merchantCategoryOptions: $,
184
- selectedMerchantCategories: U,
181
+ isMerchantCategoriesEnabled: B,
182
+ onMerchantCategoriesEnabledChange: V,
183
+ merchantCategoryOptions: Q,
184
+ selectedMerchantCategories: H,
185
185
  onMerchantCategoryToggle: (e) => {
186
- W((t) => t.includes(e) ? t.filter((t) => t !== e) : [...t, e]);
186
+ U((t) => t.includes(e) ? t.filter((t) => t !== e) : [...t, e]);
187
187
  },
188
188
  isMerchantCategoriesToggleDisabled: _t,
189
- isPerTransactionMaximumEnabled: L,
190
- onPerTransactionMaximumEnabledChange: R,
191
- perTransactionMaximumAmount: z,
192
- onPerTransactionMaximumAmountChange: B
189
+ isPerTransactionMaximumEnabled: I,
190
+ onPerTransactionMaximumEnabledChange: L,
191
+ perTransactionMaximumAmount: R,
192
+ onPerTransactionMaximumAmountChange: z
193
193
  }), [
194
- V,
194
+ B,
195
195
  _t,
196
- L,
197
- j,
198
- $,
199
- z,
200
- U,
201
- F,
202
- N,
196
+ I,
197
+ A,
198
+ Q,
199
+ R,
200
+ H,
201
+ P,
202
+ M,
203
203
  pt,
204
204
  ft
205
- ]), yt = !b || !S.canIssue || et.isPending || tt.isPending || nt.isPending || K || Z || J || Ze || !E || !D || !rt || mt || ht || gt || D === d.Physical && (!O || O === u.BusinessAddress && !ot || O === u.DifferentAddress && !ce(A)), bt = m(() => {
206
- let e = De(We, C);
205
+ ]), yt = !b || !S.canIssue || tt.isPending || nt.isPending || rt.isPending || G || X || q || Qe || !E || !D || !$ || mt || ht || gt || D === d.Physical && (!O || O === u.BusinessAddress && !ot || O === u.DifferentAddress && !ce(Ve)), bt = m(() => {
206
+ let e = De(Ge, C);
207
207
  return {
208
208
  ...s,
209
209
  success: {
@@ -212,7 +212,7 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
212
212
  }
213
213
  };
214
214
  }, [
215
- We,
215
+ Ge,
216
216
  C,
217
217
  s
218
218
  ]), xt = async () => {
@@ -220,37 +220,37 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
220
220
  let t = ae(), n = ie({
221
221
  cardholderUserId: E,
222
222
  format: D,
223
- bankAccountId: rt,
223
+ bankAccountId: $,
224
224
  reference: t,
225
225
  mailingOption: O,
226
226
  orgAddress: it,
227
- manualAddress: A
227
+ manualAddress: Ve
228
228
  });
229
229
  if (!n) return;
230
230
  T(l.Preparing);
231
231
  let r = e.loading(C.toast.creating);
232
232
  try {
233
- let t = await et.mutateAsync({ body: n });
234
- if (!G.current) {
233
+ let t = await tt.mutateAsync({ body: n });
234
+ if (!W.current) {
235
235
  e.dismiss(r);
236
236
  return;
237
237
  }
238
- Ue(t.id), Ge(t.cardStatus);
238
+ We(t.id), Ke(t.cardStatus);
239
239
  let i = [];
240
- if (j) {
240
+ if (A) {
241
241
  let e = pe({
242
242
  cardId: t.id,
243
- amount: N,
244
- period: F,
243
+ amount: M,
244
+ period: P,
245
245
  id: crypto.randomUUID(),
246
246
  name: C.velocityControlNames.spendLimit
247
247
  });
248
248
  e && i.push(e);
249
249
  }
250
- if (L) {
250
+ if (I) {
251
251
  let e = fe({
252
252
  cardId: t.id,
253
- amount: z,
253
+ amount: R,
254
254
  id: crypto.randomUUID(),
255
255
  name: C.velocityControlNames.perTransactionMaximum
256
256
  });
@@ -258,25 +258,25 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
258
258
  }
259
259
  let a = !1;
260
260
  if (i.length > 0) try {
261
- await Promise.all(i.map((e) => tt.mutateAsync({ body: e })));
261
+ await Promise.all(i.map((e) => nt.mutateAsync({ body: e })));
262
262
  } catch {
263
263
  a = !0;
264
264
  }
265
- if (!G.current) {
265
+ if (!W.current) {
266
266
  e.dismiss(r);
267
267
  return;
268
268
  }
269
269
  let o = !1;
270
- if (Xe.length > 0) try {
271
- await nt.mutateAsync({ body: {
270
+ if (Ze.length > 0) try {
271
+ await rt.mutateAsync({ body: {
272
272
  debitCardIds: [t.id],
273
273
  type: "GRANT",
274
- userIds: Xe
274
+ userIds: Ze
275
275
  } });
276
276
  } catch {
277
277
  o = !0;
278
278
  }
279
- if (!G.current) {
279
+ if (!W.current) {
280
280
  e.dismiss(r);
281
281
  return;
282
282
  }
@@ -306,7 +306,7 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
306
306
  duration: Ee
307
307
  });
308
308
  } catch {
309
- if (!G.current) {
309
+ if (!W.current) {
310
310
  e.dismiss(r);
311
311
  return;
312
312
  }
@@ -316,28 +316,28 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
316
316
  });
317
317
  }
318
318
  };
319
- return /* @__PURE__ */ Ce(Se, { children: [/* @__PURE__ */ _(a, {}), /* @__PURE__ */ _(re, {
319
+ return /* @__PURE__ */ Ce(Se, { children: [/* @__PURE__ */ _(o, {}), /* @__PURE__ */ _(re, {
320
320
  view: Ie,
321
- cardArtSrc: t,
321
+ cardArtSrc: n,
322
322
  labels: bt,
323
323
  className: Oe,
324
- cardholderOptions: Je,
324
+ cardholderOptions: Ye,
325
325
  selectedCardholder: E,
326
326
  onCardholderSelect: Le,
327
- isCardholderError: K,
328
- onCardholderRetry: K ? Ye : void 0,
327
+ isCardholderError: G,
328
+ onCardholderRetry: G ? Xe : void 0,
329
329
  cardFormatOptions: Pe,
330
330
  selectedCardFormat: D,
331
331
  onCardFormatSelect: (e) => {
332
332
  Re(e), k(null);
333
333
  },
334
334
  isFundingAccountVisible: ut,
335
- fundingAccountOptions: Q,
336
- selectedFundingAccount: rt,
335
+ fundingAccountOptions: Z,
336
+ selectedFundingAccount: $,
337
337
  onFundingAccountSelect: Be,
338
- isFundingAccountError: Z,
339
- onFundingAccountRetry: Z ? () => {
340
- X.refetch();
338
+ isFundingAccountError: X,
339
+ onFundingAccountRetry: X ? () => {
340
+ Y.refetch();
341
341
  } : void 0,
342
342
  isMailingSectionVisible: st,
343
343
  selectedMailingOption: O,
@@ -345,8 +345,8 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
345
345
  businessAddress: at,
346
346
  isBusinessAddressVisible: ct,
347
347
  isManualAddressVisible: lt,
348
- manualAddress: A,
349
- onManualAddressChange: (e) => Ve((t) => ({
348
+ manualAddress: Ve,
349
+ onManualAddressChange: (e) => He((t) => ({
350
350
  ...t,
351
351
  ...e
352
352
  })),
@@ -361,9 +361,9 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
361
361
  Ae?.(), y?.();
362
362
  },
363
363
  onClose: y,
364
- onCreateAnotherClick: Ke,
365
- onViewCardClick: je && He ? () => {
366
- je(He);
364
+ onCreateAnotherClick: qe,
365
+ onViewCardClick: je && Ue ? () => {
366
+ je(Ue);
367
367
  } : void 0
368
368
  })] });
369
369
  }
@@ -4,9 +4,9 @@
4
4
  "use client";
5
5
  import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
6
6
  import "../../../shared/ui/dist/index.js";
7
- import { useCounterpartsQuery as t } from "../../../shared/counterpart-management/data-access/dist/index3.js";
8
- import { useCounterpartAddressesForRowsQuery as n } from "../../../shared/counterpart-management/data-access/dist/index7.js";
9
- import { buildAnalyticsMap as r, buildCounterpartRows as i } from "../../../shared/counterpart-management/feature/dist/lib/helpers.js";
7
+ import { buildAnalyticsMap as t, buildCounterpartRows as n } from "../../../shared/counterpart-management/feature/dist/lib/helpers.js";
8
+ import { useCounterpartsQuery as r } from "../../../shared/counterpart-management/data-access/dist/index3.js";
9
+ import { useCounterpartAddressesForRowsQuery as i } from "../../../shared/counterpart-management/data-access/dist/index7.js";
10
10
  import "../../../shared/counterpart-management/feature/dist/index.js";
11
11
  import { PAYABLES_BILLED_STATUSES as a, PAYABLES_OWED_STATUSES as o, RECEIVABLES_BILLED_STATUSES as s, RECEIVABLES_DUE_STATUSES as c } from "./index3.js";
12
12
  import { usePayablesAnalyticsByCounterpartQuery as l, useReceivablesAnalyticsByCounterpartQuery as u } from "../../data-access/dist/index2.js";
@@ -21,7 +21,7 @@ function h({ isCustomer: h, enabled: g = !0, messages: _ }) {
21
21
  }, 400);
22
22
  return () => clearTimeout(e);
23
23
  }, [w]);
24
- let A = v[0], j = t({
24
+ let A = v[0], j = r({
25
25
  sort: A ? "counterpart_name" : void 0,
26
26
  order: A ? A.desc ? "desc" : "asc" : void 0,
27
27
  limit: b,
@@ -30,7 +30,7 @@ function h({ isCustomer: h, enabled: g = !0, messages: _ }) {
30
30
  type: O === "all" ? void 0 : O,
31
31
  ...h ? { is_customer: !0 } : { is_vendor: !0 },
32
32
  enabled: g
33
- }), M = p(() => j.data?.data.map((e) => e.id) ?? [], [j.data?.data]), N = M.length > 0, P = n({
33
+ }), M = p(() => j.data?.data.map((e) => e.id) ?? [], [j.data?.data]), N = M.length > 0, P = i({
34
34
  counterpartIds: M,
35
35
  enabled: g && N
36
36
  }), F = u({
@@ -53,11 +53,11 @@ function h({ isCustomer: h, enabled: g = !0, messages: _ }) {
53
53
  statusIn: [...o],
54
54
  counterpartIdIn: M,
55
55
  enabled: g && !h && N
56
- }), z = p(() => h ? F.data ? r(F.data.data) : void 0 : L.data ? r(L.data.data) : void 0, [
56
+ }), z = p(() => h ? F.data ? t(F.data.data) : void 0 : L.data ? t(L.data.data) : void 0, [
57
57
  h,
58
58
  F.data,
59
59
  L.data
60
- ]), B = p(() => h ? I.data ? r(I.data.data) : void 0 : R.data ? r(R.data.data) : void 0, [
60
+ ]), B = p(() => h ? I.data ? t(I.data.data) : void 0 : R.data ? t(R.data.data) : void 0, [
61
61
  h,
62
62
  I.data,
63
63
  R.data
@@ -69,7 +69,7 @@ function h({ isCustomer: h, enabled: g = !0, messages: _ }) {
69
69
  U,
70
70
  _.amountsUnavailable
71
71
  ]);
72
- let W = p(() => i({
72
+ let W = p(() => n({
73
73
  counterparts: j.data?.data ?? [],
74
74
  addresses: V,
75
75
  billedAmounts: z,
@@ -3,12 +3,12 @@
3
3
  "use client";
4
4
  "use client";
5
5
  import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
6
- import { hasAnyScope as t } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
7
- import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
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 { hasAnyScope as r } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
9
+ import { Scope as i } from "../../../shared/data-access/dist/lib/scopes.js";
8
10
  import "../../../shared/data-access/dist/index.js";
9
11
  import "../../../shared/ui/dist/index.js";
10
- import { formatCalendarDate as r } from "../../../shared/util/dist/lib/formatCalendarDate.js";
11
- import { formatMoneyExact as i } from "../../../shared/util/dist/lib/formatMoneyExact.js";
12
12
  import { useWidgetConfig as ee } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
13
13
  import "../../../shared/feature/dist/index.js";
14
14
  import { ApprovalPolicyObjectType as te } from "../../../shared/approval-policy/data-access/dist/lib/queryKeys.js";
@@ -107,7 +107,7 @@ function u({ open: u, onClose: Re, selectedTransactionId: ze, actionItemIds: Be,
107
107
  let f = {
108
108
  ..._e,
109
109
  ...Ve
110
- }, [p, m] = a(0), [qe, Je] = a(!1), [h, g] = a(null), [_, v] = a(null), [y, b] = a(null), [Ye, x] = a(!1), [S, C] = a(null), w = Ee(null), T = Be ?? [], Xe = T.length > 1, E = T.length > 0 ? T[p] ?? "" : ze ?? "", { initResponse: Ze } = ee(), Qe = Ze?.userId ?? "", D = Ze?.scopes, O = Se(D), k = xe(D), $e = be(D), et = t(D, [n.ApprovalRequestUpdateOrg]), tt = !k && !et && !$e, A = ue({ transactionId: u ? E : void 0 }), j = A.data, M = j?.applied_policy_id || void 0, nt = ne({
110
+ }, [p, m] = a(0), [qe, Je] = a(!1), [h, g] = a(null), [_, v] = a(null), [y, b] = a(null), [Ye, x] = a(!1), [S, C] = a(null), w = Ee(null), T = Be ?? [], Xe = T.length > 1, E = T.length > 0 ? T[p] ?? "" : ze ?? "", { initResponse: Ze } = ee(), Qe = Ze?.userId ?? "", D = Ze?.scopes, O = Se(D), k = xe(D), $e = be(D), et = r(D, [i.ApprovalRequestUpdateOrg]), tt = !k && !et && !$e, A = ue({ transactionId: u ? E : void 0 }), j = A.data, M = j?.applied_policy_id || void 0, nt = ne({
111
111
  objectType: te.Transaction,
112
112
  enabled: u && !!M
113
113
  }).data?.data?.find((e) => e.id === M), rt = me({ transactionId: u ? E : void 0 }), N = rt.latestRequest, P = pe({ enabled: u }), F = he(), it = fe(), I = de(), at = ae({ enabled: u && O }), ot = se({ enabled: u && O }), st = ce({ enabled: u && O }), L = le({
@@ -185,10 +185,10 @@ function u({ open: u, onClose: Re, selectedTransactionId: ze, actionItemIds: Be,
185
185
  } finally {
186
186
  x(!1);
187
187
  }
188
- }, Z = je(nt?.trigger), At = Z.greaterThanCents == null ? void 0 : i(Z.greaterThanCents / 100, {
188
+ }, Z = je(nt?.trigger), At = Z.greaterThanCents == null ? void 0 : n(Z.greaterThanCents / 100, {
189
189
  currencyCode: j?.merchant_currency,
190
190
  includeSpaceAfterCurrencySymbol: !1
191
- }), jt = Z.lessThanCents == null ? void 0 : i(Z.lessThanCents / 100, {
191
+ }), jt = Z.lessThanCents == null ? void 0 : n(Z.lessThanCents / 100, {
192
192
  currencyCode: j?.merchant_currency,
193
193
  includeSpaceAfterCurrencySymbol: !1
194
194
  }), Mt = R === "approved" || R === "rejected" ? L.data?.data : void 0, Nt = Pe(Mt), Q = Me(Mt), $ = Ne(N), Pt = R === "approved" && (Q.source ? Q.source === "auto" : $ === 0), Ft = R === "approved" && (Q.source ? Q.source !== "auto" : $ > 0), It = Nt ?? (At || jt ? void 0 : nt?.name);
@@ -209,10 +209,10 @@ function u({ open: u, onClose: Re, selectedTransactionId: ze, actionItemIds: Be,
209
209
  open: u,
210
210
  onClose: G,
211
211
  transactionId: E,
212
- transactionDate: r(j?.started_at?.slice(0, 10), { month: "long" }),
212
+ transactionDate: t(j?.started_at?.slice(0, 10), { month: "long" }),
213
213
  status: R,
214
214
  hasValidationError: !!j?.has_validation_errors,
215
- amount: i(Math.abs(z) / 100, {
215
+ amount: n(Math.abs(z) / 100, {
216
216
  currencyCode: j?.merchant_currency,
217
217
  includeSpaceAfterCurrencySymbol: !1
218
218
  }),
@@ -2,9 +2,12 @@ import { usePaymentTermsQuery as e } from "../../../shared/data-access/dist/lib/
2
2
  import "../../../shared/data-access/dist/index.js";
3
3
  import "./index2.js";
4
4
  import "./index3.js";
5
- import { useSendReceivableEmailMutation as t } from "./index4.js";
6
- import { useAcceptReceivableMutation as n, useCancelReceivableMutation as r, useCloneReceivableMutation as i, useCreateReceivableMutation as a, useDeclineReceivableMutation as o, useDeleteReceivableMutation as s, useIssueReceivableMutation as c, useUpdateReceivableMutation as l } from "./index5.js";
7
- import { useMarkReceivablePaidMutation as u, useMarkReceivablePartiallyPaidMutation as d, useMarkReceivableUncollectibleMutation as f } from "./index6.js";
8
- import { useReceivableHistoryQuery as p, useReceivableMailsQuery as m, useReceivablePdfLinkQuery as h, useReceivableQuery as g, useReceivablesQuery as _ } from "./index7.js";
9
- import "./index8.js";
5
+ import "./index4.js";
6
+ import { useSendReceivableEmailMutation as t } from "./index5.js";
7
+ import { useAcceptReceivableMutation as n, useCancelReceivableMutation as r, useCloneReceivableMutation as i, useCreateReceivableMutation as a, useDeclineReceivableMutation as o, useDeleteReceivableMutation as s, useIssueReceivableMutation as c, useUpdateReceivableMutation as l } from "./index6.js";
8
+ import "./index7.js";
9
+ import { useMarkReceivablePaidMutation as u, useMarkReceivablePartiallyPaidMutation as d, useMarkReceivableUncollectibleMutation as f } from "./index8.js";
10
+ import { useReceivableHistoryQuery as p, useReceivableMailsQuery as m, useReceivablePdfLinkQuery as h, useReceivableQuery as g, useReceivablesQuery as _ } from "./index9.js";
11
+ import "./index10.js";
12
+ import "./index11.js";
10
13
  export { n as useAcceptReceivableMutation, r as useCancelReceivableMutation, i as useCloneReceivableMutation, a as useCreateReceivableMutation, o as useDeclineReceivableMutation, s as useDeleteReceivableMutation, c as useIssueReceivableMutation, u as useMarkReceivablePaidMutation, d as useMarkReceivablePartiallyPaidMutation, f as useMarkReceivableUncollectibleMutation, e as usePaymentTermsQuery, p as useReceivableHistoryQuery, m as useReceivableMailsQuery, h as useReceivablePdfLinkQuery, g as useReceivableQuery, _ as useReceivablesQuery, t as useSendReceivableEmailMutation, l as useUpdateReceivableMutation };
@@ -0,0 +1,7 @@
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import "../../../shared/data-access/dist/index.js";
6
+ import "./index2.js";
7
+ import "@tanstack/react-query";
@@ -0,0 +1,6 @@
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import "../../../shared/data-access/dist/index.js";
6
+ import "@tanstack/react-query";