@tesouro/embedded-components-react 0.5.188 → 0.5.190

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/lib/BillPayWidget.js +1 -1
  3. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index5.js +34 -34
  4. package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index3.js +18 -18
  5. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +2 -2
  6. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index25.js +263 -263
  7. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index7.js +89 -89
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +33 -14
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index10.js +29 -74
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index11.js +18 -55
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index12.js +24 -42
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index13.js +13 -327
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +31 -7
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index15.js +8 -35
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index16.js +92 -14
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index17.js +20 -137
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index18.js +69 -28
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index19.js +58 -0
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index2.js +35 -0
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index20.js +47 -0
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index21.js +88 -0
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index22.js +36 -0
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index23.js +35 -0
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index24.js +40 -0
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index25.js +34 -0
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index26.js +34 -0
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index27.js +34 -0
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index28.js +36 -0
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index29.js +36 -0
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index3.js +16 -4
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index30.js +36 -0
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index31.js +8 -0
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index32.js +35 -0
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index33.js +49 -0
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index34.js +36 -0
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index35.js +47 -0
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index36.js +27 -0
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index37.js +15 -0
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index38.js +35 -0
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index39.js +55 -0
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index4.js +27 -13
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index40.js +20 -0
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index41.js +43 -0
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index42.js +27 -0
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index43.js +35 -0
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index44.js +29 -0
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index45.js +29 -0
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index46.js +6 -0
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index47.js +39 -0
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index5.js +2 -33
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index6.js +35 -255
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index7.js +59 -123
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index8.js +13 -91
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index9.js +29 -29
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +19 -21
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +5 -62
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +15 -4
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +22 -5
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +51 -211
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +1 -4
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +84 -15
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +5 -24
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +31 -62
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +41 -2
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +167 -81
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +56 -5
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +46 -3
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +1 -7
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +47 -3
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +13 -32
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +8 -38
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +7 -163
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +61 -41
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +13 -1
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +24 -45
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +162 -13
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +4 -56
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +25 -8
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +16 -7
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +32 -57
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +96 -8
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +81 -24
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +3 -158
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +45 -10
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +111 -23
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +189 -21
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +69 -33
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +38 -5
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +29 -13
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +89 -8
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +412 -4
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +12 -97
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +83 -82
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +80 -3
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +224 -134
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +44 -45
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +247 -109
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +22 -191
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +6 -38
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +614 -66
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +4 -35
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +42 -89
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +243 -398
  104. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +3 -16
  105. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +3 -86
  106. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +43 -80
  107. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +1 -232
  108. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +6 -44
  109. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +11 -252
  110. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +24 -5
  111. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +130 -23
  112. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +3 -628
  113. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +6 -4
  114. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +127 -40
  115. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +8 -257
  116. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +10 -3
  117. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +82 -2
  118. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +22 -44
  119. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +22 -1
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +29 -6
  121. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +12 -22
  122. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +83 -10
  123. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +48 -130
  124. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +262 -3
  125. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +32 -3
  126. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +387 -124
  127. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +307 -8
  128. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +4 -10
  129. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +4 -81
  130. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +111 -21
  131. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +1 -22
  132. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +37 -13
  133. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +24 -28
  134. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +222 -35
  135. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +46 -42
  136. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +10 -126
  137. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +105 -1
  138. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +2 -33
  139. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +28 -7
  140. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +73 -126
  141. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +1 -1
  142. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +30 -11
  143. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +8 -106
  144. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +181 -2
  145. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +2 -10
  146. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index110.js +12 -50
  147. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +108 -2
  148. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +2 -0
  149. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +10 -0
  150. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index114.js +52 -0
  151. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index115.js +2 -0
  152. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +1 -14
  153. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +12 -16
  154. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +18 -2
  155. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +2 -4
  156. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +2 -28
  157. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +30 -2
  158. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +2 -32
  159. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +32 -1
  160. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +1 -35
  161. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +32 -18
  162. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +19 -135
  163. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +137 -2
  164. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +2 -4
  165. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +78 -12
  166. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +278 -1
  167. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +2 -4
  168. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +16 -17
  169. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +56 -2
  170. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +1 -106
  171. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +15 -76
  172. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +51 -275
  173. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +19 -5
  174. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +368 -50
  175. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +19 -14
  176. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +92 -50
  177. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +25 -28
  178. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +43 -363
  179. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +48 -15
  180. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +10 -93
  181. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +197 -2
  182. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +1 -31
  183. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +2 -52
  184. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +41 -2
  185. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +1 -55
  186. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +16 -10
  187. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +75 -184
  188. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +1 -1
  189. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +46 -2
  190. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +313 -36
  191. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +6 -16
  192. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +26 -81
  193. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +2 -317
  194. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +1 -9
  195. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +13 -31
  196. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +170 -2
  197. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +2 -2
  198. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +4 -1
  199. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +34 -13
  200. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +2 -170
  201. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +39 -2
  202. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +10 -2
  203. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +195 -30
  204. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +1 -0
  205. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +2 -37
  206. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +14 -10
  207. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +2 -201
  208. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +4 -3
  209. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +20 -16
  210. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +1 -508
  211. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +62 -7
  212. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +14 -5
  213. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +493 -77
  214. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index87.js → ui/dist/index88.js} +1 -2
  215. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +10 -2
  216. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +5 -3
  217. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +88 -25
  218. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +2 -7
  219. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +5 -32
  220. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +30 -2
  221. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +2 -12
  222. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +5 -104
  223. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +34 -2
  224. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +2 -31
  225. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/billDetailLabels.js +146 -0
  226. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/derivePayableStatus.js +62 -0
  227. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/formatBillMoney.js +7 -0
  228. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/formatScheduledDateLabel.js +12 -0
  229. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/isEditablePayableStatus.js +7 -0
  230. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/isLiveScheduledPaymentRecord.js +7 -0
  231. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/maskAccountNumber.js +6 -0
  232. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableDuplicates.js +48 -0
  233. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableTotals.js +18 -0
  234. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveAmountDue.js +6 -0
  235. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemAmount.js +11 -0
  236. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemQuantity.js +7 -0
  237. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveVendor.js +9 -0
  238. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/widgetName.js +4 -0
  239. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +95 -95
  240. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index4.js +8 -8
  241. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index13.js +9 -9
  242. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +8 -5
  243. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +7 -0
  244. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +6 -0
  245. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +31 -18
  246. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index3.js +1 -1
  247. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +2 -32
  248. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +23 -190
  249. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +163 -50
  250. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +1 -80
  251. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js +101 -2
  252. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index9.js +85 -0
  253. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +1 -1
  254. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index7.js +3 -3
  255. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +1 -1
  256. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +10 -10
  257. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js +104 -104
  258. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +55 -49
  259. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +4 -4
  260. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +24 -18
  261. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/useRemoteCheckCaptureWidget.js +47 -47
  262. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +1 -1
  263. package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +11 -11
  264. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +10 -10
  265. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +15 -15
  266. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +9 -9
  267. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js +7 -7
  268. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +53 -53
  269. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartSelector.js +15 -15
  270. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js +4 -4
  271. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +35 -35
  272. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetTokenRefreshProvider.js +4 -4
  273. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  274. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/mergeLabelTree.js +12 -0
  275. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index4.js +1 -1
  276. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js +46 -46
  277. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js +5 -13
  278. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  279. package/package.json +3 -3
  280. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +0 -86
  281. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +0 -50
  282. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +0 -263
  283. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +0 -35
  284. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +0 -392
  285. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +0 -310
  286. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -7
  287. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +0 -114
  288. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +0 -1
  289. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index91.js +0 -27
  290. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +0 -2
@@ -1,56 +1,374 @@
1
- import { FieldRequirement as e, Input as t, Label as n } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { mergeBillFormFieldsLabels as r } from "./index42.js";
3
- import { useId as i } from "react";
4
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
1
+ import { Button as e, FieldRequirement as t, Input as n, InputGroup as r, InputGroupAddon as i, InputGroupInput as a, Label as o, Select as s, SelectContent as c, SelectItem as l, SelectTrigger as u, SelectValue as d, Tooltip as f, TooltipContent as p, TooltipProvider as m, TooltipTrigger as h, Typography as g, cn as _ } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { mergeLineItemsSectionLabels as v } from "./index42.js";
3
+ import { useId as y } from "react";
4
+ import { jsx as b, jsxs as x } from "react/jsx-runtime";
5
+ import { CircleAlert as S, Minus as C, Plus as w, Trash2 as T, X as E } from "lucide-react";
5
6
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js
6
- var s = 255, c = {
7
- invoiceDate: e.Required,
8
- dueDate: e.Required,
9
- invoiceNumber: e.Required,
10
- poNumber: e.Optional
7
+ var D = {
8
+ description: t.Required,
9
+ glCode: t.Optional,
10
+ quantity: t.Required,
11
+ price: t.Required,
12
+ amount: t.Required
13
+ }, O = {
14
+ discount: t.Optional,
15
+ tax: t.Optional,
16
+ total: t.Required
11
17
  };
12
- function l({ values: l, errors: u, onChange: d, disabled: f, testId: p, labels: m }) {
13
- let h = r(m), g = i(), _ = (r, i, p) => {
14
- let m = `${g}-${r}`, _ = `${m}-error`, v = u?.[r], y = c[r];
15
- return /* @__PURE__ */ o("div", {
16
- className: "ttw:flex ttw:flex-col ttw:gap-1.5",
17
- children: [
18
- /* @__PURE__ */ a(n, {
19
- htmlFor: m,
20
- requirement: y,
21
- labels: h.fieldMarkers,
22
- children: i
23
- }),
24
- /* @__PURE__ */ a(t, {
25
- id: m,
26
- type: p,
27
- value: l[r],
28
- disabled: f,
29
- "aria-required": y === e.Required || void 0,
30
- maxLength: r === "poNumber" ? s : void 0,
31
- "aria-invalid": v ? !0 : void 0,
32
- "aria-describedby": v ? _ : void 0,
33
- onChange: (e) => d({ [r]: e.target.value })
34
- }),
35
- v ? /* @__PURE__ */ a("p", {
36
- id: _,
37
- className: "ttw:text-sm ttw:text-destructive",
38
- children: v
39
- }) : null
40
- ]
41
- });
18
+ function k({ items: t, glCodeOptions: k, glCodeDisabled: A, glCodeUnavailableMessage: j, discount: M, onDiscountChange: N, onDiscountBlur: P, tax: F, onTaxChange: I, onTaxBlur: L, total: R, onTotalChange: z, onTotalBlur: B, onAddLineItem: V, errors: H, totalsErrors: U, disabled: W, testId: G, labels: K }) {
19
+ let q = v(K), J = y(), Y = t.length > 1, X = j ? `${J}-gl-code-unavailable` : void 0, Z = (e) => `${J}-${e}-error`, Q = (e) => {
20
+ let t = U?.[e];
21
+ return t ? /* @__PURE__ */ b("p", {
22
+ id: Z(e),
23
+ className: "ttw:text-sm ttw:text-destructive ttw:text-right",
24
+ children: t
25
+ }) : null;
42
26
  };
43
- return /* @__PURE__ */ o("div", {
44
- className: "ttw:flex ttw:flex-col ttw:gap-4",
45
- "data-testid": p,
46
- children: [/* @__PURE__ */ o("div", {
47
- className: "ttw:grid ttw:grid-cols-2 ttw:gap-4",
48
- children: [_("invoiceDate", h.invoiceDate, "date"), _("dueDate", h.dueDate, "date")]
49
- }), /* @__PURE__ */ o("div", {
50
- className: "ttw:grid ttw:grid-cols-2 ttw:gap-4",
51
- children: [_("invoiceNumber", h.invoiceNumber), _("poNumber", h.poNumber)]
52
- })]
27
+ return /* @__PURE__ */ x("section", {
28
+ className: "ttw:flex ttw:flex-col ttw:gap-3",
29
+ "data-testid": G,
30
+ children: [
31
+ /* @__PURE__ */ b(g, {
32
+ component: "h2",
33
+ variant: "h6",
34
+ className: "ttw:font-semibold",
35
+ children: q.heading
36
+ }),
37
+ /* @__PURE__ */ b("p", {
38
+ className: "ttw:text-sm ttw:text-muted-foreground",
39
+ children: q.helpText
40
+ }),
41
+ j ? /* @__PURE__ */ b("span", {
42
+ id: X,
43
+ className: "ttw:sr-only",
44
+ children: j
45
+ }) : null,
46
+ t.map((t, g) => {
47
+ let v = `${J}-${t.id}`, y = H?.[t.id], O = (e) => `${v}-${e}-error`, M = (e) => y?.[e], N = (e) => {
48
+ let t = M(e);
49
+ return t ? /* @__PURE__ */ b("p", {
50
+ id: O(e),
51
+ className: "ttw:text-sm ttw:text-destructive",
52
+ children: t
53
+ }) : null;
54
+ };
55
+ return /* @__PURE__ */ b("div", {
56
+ className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-muted/30 ttw:p-4",
57
+ children: /* @__PURE__ */ x("div", {
58
+ className: "ttw:@container/line-item ttw:flex ttw:flex-col ttw:gap-3",
59
+ children: [
60
+ /* @__PURE__ */ x("div", {
61
+ className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-2",
62
+ children: [/* @__PURE__ */ x("div", {
63
+ className: "ttw:flex ttw:items-center ttw:gap-2",
64
+ children: [Y ? /* @__PURE__ */ x("span", {
65
+ className: "ttw:text-sm ttw:text-muted-foreground",
66
+ children: [g + 1, "."]
67
+ }) : null, /* @__PURE__ */ b(o, {
68
+ htmlFor: `${v}-description`,
69
+ requirement: D.description,
70
+ labels: q.fieldMarkers,
71
+ children: q.description
72
+ })]
73
+ }), Y ? /* @__PURE__ */ b(e, {
74
+ type: "button",
75
+ variant: "ghost",
76
+ size: "icon",
77
+ disabled: W,
78
+ "aria-label": q.removeLineItem(g + 1),
79
+ onClick: t.onRemove,
80
+ children: /* @__PURE__ */ b(T, { className: "ttw:size-4" })
81
+ }) : null]
82
+ }),
83
+ /* @__PURE__ */ x("div", {
84
+ className: "ttw:flex ttw:flex-col ttw:gap-1.5",
85
+ children: [/* @__PURE__ */ b(n, {
86
+ id: `${v}-description`,
87
+ placeholder: q.descriptionPlaceholder,
88
+ value: t.description,
89
+ disabled: W,
90
+ "aria-required": !0,
91
+ "aria-invalid": M("description") ? !0 : void 0,
92
+ "aria-describedby": M("description") ? O("description") : void 0,
93
+ onChange: (e) => t.onChange({ description: e.target.value })
94
+ }), N("description")]
95
+ }),
96
+ /* @__PURE__ */ x("div", {
97
+ className: "ttw:grid ttw:grid-cols-1 ttw:@sm/line-item:grid-cols-3 ttw:@4xl/line-item:grid-cols-12 ttw:gap-3",
98
+ children: [
99
+ /* @__PURE__ */ x("div", {
100
+ className: "ttw:col-span-1 ttw:@sm/line-item:col-span-3 ttw:@4xl/line-item:col-span-5 ttw:flex ttw:flex-col ttw:gap-1.5",
101
+ children: [
102
+ /* @__PURE__ */ x("div", {
103
+ className: "ttw:flex ttw:items-center ttw:gap-1",
104
+ children: [/* @__PURE__ */ b(o, {
105
+ htmlFor: `${v}-gl-code`,
106
+ requirement: D.glCode,
107
+ labels: q.fieldMarkers,
108
+ children: q.glCode
109
+ }), j ? /* @__PURE__ */ b(m, { children: /* @__PURE__ */ x(f, { children: [/* @__PURE__ */ b(h, {
110
+ type: "button",
111
+ className: "ttw:inline-flex ttw:shrink-0 ttw:cursor-help ttw:text-muted-foreground",
112
+ "aria-label": j,
113
+ children: /* @__PURE__ */ b(S, { className: "ttw:size-3.5" })
114
+ }), /* @__PURE__ */ b(p, { children: j })] }) }) : null]
115
+ }),
116
+ /* @__PURE__ */ x("div", {
117
+ className: "ttw:relative",
118
+ children: [/* @__PURE__ */ x(s, {
119
+ value: t.glCode,
120
+ disabled: W || A,
121
+ onValueChange: (e) => t.onChange({ glCode: e }),
122
+ children: [/* @__PURE__ */ b(u, {
123
+ id: `${v}-gl-code`,
124
+ className: _("ttw:w-full", t.glCode && "ttw:[&>svg:last-child]:hidden!"),
125
+ "aria-invalid": M("glCode") ? !0 : void 0,
126
+ "aria-describedby": [M("glCode") ? O("glCode") : null, X].filter(Boolean).join(" ") || void 0,
127
+ children: /* @__PURE__ */ b(d, { placeholder: q.glCodePlaceholder })
128
+ }), /* @__PURE__ */ b(c, { children: k.map((e) => /* @__PURE__ */ b(l, {
129
+ value: e.value,
130
+ children: e.label
131
+ }, e.value)) })]
132
+ }), t.glCode && !(W || A) ? /* @__PURE__ */ b(e, {
133
+ type: "button",
134
+ variant: "ghost",
135
+ size: "icon-sm",
136
+ "aria-label": q.glCodeClear,
137
+ className: "ttw:absolute ttw:top-1/2 ttw:right-1 ttw:-translate-y-1/2",
138
+ onPointerDown: (e) => {
139
+ e.preventDefault(), e.stopPropagation();
140
+ },
141
+ onClick: (e) => {
142
+ e.preventDefault(), e.stopPropagation(), t.onChange({ glCode: "" });
143
+ },
144
+ children: /* @__PURE__ */ b(E, {
145
+ className: "ttw:size-4",
146
+ "aria-hidden": !0
147
+ })
148
+ }) : null]
149
+ }),
150
+ N("glCode")
151
+ ]
152
+ }),
153
+ /* @__PURE__ */ x("div", {
154
+ className: "ttw:col-span-1 ttw:@4xl/line-item:col-span-3 ttw:flex ttw:flex-col ttw:gap-1.5",
155
+ children: [
156
+ /* @__PURE__ */ b(o, {
157
+ htmlFor: `${v}-quantity`,
158
+ requirement: D.quantity,
159
+ labels: q.fieldMarkers,
160
+ children: q.quantity
161
+ }),
162
+ /* @__PURE__ */ x(r, {
163
+ className: "ttw:h-9 ttw:rounded-md ttw:border ttw:border-input ttw:shadow-xs ttw:has-[:focus-visible]:border-ring ttw:has-[:focus-visible]:ring-[3px] ttw:has-[:focus-visible]:ring-ring/50 ttw:has-[[aria-invalid=true]]:border-destructive ttw:has-[[aria-invalid=true]]:ring-destructive/20",
164
+ children: [
165
+ /* @__PURE__ */ b(e, {
166
+ type: "button",
167
+ variant: "ghost",
168
+ size: "icon",
169
+ className: "ttw:h-full ttw:shrink-0 ttw:rounded-r-none",
170
+ disabled: W,
171
+ "aria-label": q.decreaseQuantity(g + 1),
172
+ onClick: () => t.onQuantityStep(-1),
173
+ children: /* @__PURE__ */ b(C, { className: "ttw:size-3.5" })
174
+ }),
175
+ /* @__PURE__ */ b(a, {
176
+ id: `${v}-quantity`,
177
+ inputMode: "decimal",
178
+ className: "ttw:min-w-0 ttw:flex-1 ttw:rounded-none ttw:border-0 ttw:text-center ttw:shadow-none ttw:focus-visible:ring-0",
179
+ value: t.quantity,
180
+ disabled: W,
181
+ "aria-required": !0,
182
+ "aria-invalid": M("quantity") ? !0 : void 0,
183
+ "aria-describedby": M("quantity") ? O("quantity") : void 0,
184
+ onChange: (e) => t.onChange({ quantity: e.target.value })
185
+ }),
186
+ /* @__PURE__ */ b(e, {
187
+ type: "button",
188
+ variant: "ghost",
189
+ size: "icon",
190
+ className: "ttw:h-full ttw:shrink-0 ttw:rounded-l-none",
191
+ disabled: W,
192
+ "aria-label": q.increaseQuantity(g + 1),
193
+ onClick: () => t.onQuantityStep(1),
194
+ children: /* @__PURE__ */ b(w, { className: "ttw:size-3.5" })
195
+ })
196
+ ]
197
+ }),
198
+ N("quantity")
199
+ ]
200
+ }),
201
+ /* @__PURE__ */ x("div", {
202
+ className: "ttw:col-span-1 ttw:@4xl/line-item:col-span-2 ttw:flex ttw:flex-col ttw:gap-1.5",
203
+ children: [
204
+ /* @__PURE__ */ b(o, {
205
+ htmlFor: `${v}-price`,
206
+ requirement: D.price,
207
+ labels: q.fieldMarkers,
208
+ children: q.price
209
+ }),
210
+ /* @__PURE__ */ x(r, { children: [/* @__PURE__ */ b(i, {
211
+ align: "inline-start",
212
+ "aria-hidden": !0,
213
+ children: q.currencySymbol
214
+ }), /* @__PURE__ */ b(a, {
215
+ id: `${v}-price`,
216
+ "data-has-start-addon": !0,
217
+ inputMode: "decimal",
218
+ className: "ttw:text-right ttw:aria-invalid:border-destructive ttw:aria-invalid:ring-destructive/20",
219
+ value: t.price,
220
+ disabled: W,
221
+ "aria-required": !0,
222
+ "aria-invalid": M("price") ? !0 : void 0,
223
+ "aria-describedby": M("price") ? O("price") : void 0,
224
+ onChange: (e) => t.onChange({ price: e.target.value }),
225
+ onBlur: () => t.onBlur?.("price")
226
+ })] }),
227
+ N("price")
228
+ ]
229
+ }),
230
+ /* @__PURE__ */ x("div", {
231
+ className: "ttw:col-span-1 ttw:@4xl/line-item:col-span-2 ttw:flex ttw:flex-col ttw:gap-1.5",
232
+ children: [
233
+ /* @__PURE__ */ b(o, {
234
+ htmlFor: `${v}-amount`,
235
+ requirement: D.amount,
236
+ labels: q.fieldMarkers,
237
+ children: q.amount
238
+ }),
239
+ /* @__PURE__ */ x(r, { children: [/* @__PURE__ */ b(i, {
240
+ align: "inline-start",
241
+ "aria-hidden": !0,
242
+ children: q.currencySymbol
243
+ }), /* @__PURE__ */ b(a, {
244
+ id: `${v}-amount`,
245
+ "data-has-start-addon": !0,
246
+ inputMode: "decimal",
247
+ className: "ttw:text-right ttw:aria-invalid:border-destructive ttw:aria-invalid:ring-destructive/20",
248
+ value: t.amount,
249
+ disabled: W,
250
+ "aria-required": !0,
251
+ "aria-invalid": M("amount") ? !0 : void 0,
252
+ "aria-describedby": M("amount") ? O("amount") : void 0,
253
+ onChange: (e) => t.onChange({ amount: e.target.value }),
254
+ onBlur: () => t.onBlur?.("amount")
255
+ })] }),
256
+ N("amount")
257
+ ]
258
+ })
259
+ ]
260
+ })
261
+ ]
262
+ })
263
+ }, t.id);
264
+ }),
265
+ /* @__PURE__ */ b(e, {
266
+ type: "button",
267
+ variant: "link",
268
+ disabled: W,
269
+ className: "ttw:self-start",
270
+ onClick: V,
271
+ children: q.addLineItem
272
+ }),
273
+ /* @__PURE__ */ x("div", {
274
+ className: "ttw:flex ttw:flex-col ttw:gap-2 ttw:border-t ttw:border-border ttw:pt-3",
275
+ children: [
276
+ /* @__PURE__ */ x("div", {
277
+ className: "ttw:flex ttw:items-start ttw:justify-between ttw:gap-4",
278
+ children: [/* @__PURE__ */ b(o, {
279
+ htmlFor: `${J}-discount`,
280
+ requirement: O.discount,
281
+ labels: q.fieldMarkers,
282
+ children: q.discount
283
+ }), /* @__PURE__ */ x("div", {
284
+ className: "ttw:flex ttw:flex-col ttw:items-end ttw:gap-1.5",
285
+ children: [/* @__PURE__ */ x(r, {
286
+ className: "ttw:w-36",
287
+ children: [/* @__PURE__ */ b(i, {
288
+ align: "inline-start",
289
+ "aria-hidden": !0,
290
+ children: q.currencySymbol
291
+ }), /* @__PURE__ */ b(a, {
292
+ id: `${J}-discount`,
293
+ "data-has-start-addon": !0,
294
+ inputMode: "decimal",
295
+ className: "ttw:text-right ttw:aria-invalid:border-destructive ttw:aria-invalid:ring-destructive/20",
296
+ value: M,
297
+ disabled: W,
298
+ "aria-invalid": U?.discount ? !0 : void 0,
299
+ "aria-describedby": U?.discount ? Z("discount") : void 0,
300
+ onChange: (e) => N(e.target.value),
301
+ onBlur: P
302
+ })]
303
+ }), Q("discount")]
304
+ })]
305
+ }),
306
+ /* @__PURE__ */ x("div", {
307
+ className: "ttw:flex ttw:items-start ttw:justify-between ttw:gap-4",
308
+ children: [/* @__PURE__ */ b(o, {
309
+ htmlFor: `${J}-tax`,
310
+ requirement: O.tax,
311
+ labels: q.fieldMarkers,
312
+ children: q.tax
313
+ }), /* @__PURE__ */ x("div", {
314
+ className: "ttw:flex ttw:flex-col ttw:items-end ttw:gap-1.5",
315
+ children: [/* @__PURE__ */ x(r, {
316
+ className: "ttw:w-36",
317
+ children: [/* @__PURE__ */ b(i, {
318
+ align: "inline-start",
319
+ "aria-hidden": !0,
320
+ children: q.currencySymbol
321
+ }), /* @__PURE__ */ b(a, {
322
+ id: `${J}-tax`,
323
+ "data-has-start-addon": !0,
324
+ inputMode: "decimal",
325
+ className: "ttw:text-right ttw:aria-invalid:border-destructive ttw:aria-invalid:ring-destructive/20",
326
+ value: F,
327
+ disabled: W,
328
+ "aria-invalid": U?.tax ? !0 : void 0,
329
+ "aria-describedby": U?.tax ? Z("tax") : void 0,
330
+ onChange: (e) => I(e.target.value),
331
+ onBlur: L
332
+ })]
333
+ }), Q("tax")]
334
+ })]
335
+ }),
336
+ /* @__PURE__ */ x("div", {
337
+ className: "ttw:flex ttw:items-start ttw:justify-between ttw:gap-4",
338
+ children: [/* @__PURE__ */ b(o, {
339
+ htmlFor: `${J}-total`,
340
+ className: "ttw:font-semibold",
341
+ requirement: O.total,
342
+ labels: q.fieldMarkers,
343
+ children: q.totalAmount
344
+ }), /* @__PURE__ */ x("div", {
345
+ className: "ttw:flex ttw:flex-col ttw:items-end ttw:gap-1.5",
346
+ children: [/* @__PURE__ */ x(r, {
347
+ className: "ttw:w-36",
348
+ children: [/* @__PURE__ */ b(i, {
349
+ align: "inline-start",
350
+ "aria-hidden": !0,
351
+ children: q.currencySymbol
352
+ }), /* @__PURE__ */ b(a, {
353
+ id: `${J}-total`,
354
+ "data-has-start-addon": !0,
355
+ inputMode: "decimal",
356
+ className: "ttw:text-right ttw:font-semibold ttw:aria-invalid:border-destructive ttw:aria-invalid:ring-destructive/20",
357
+ value: R,
358
+ disabled: W,
359
+ "aria-required": !0,
360
+ "aria-invalid": U?.total ? !0 : void 0,
361
+ "aria-describedby": U?.total ? Z("total") : void 0,
362
+ onChange: (e) => z(e.target.value),
363
+ onBlur: B
364
+ })]
365
+ }), Q("total")]
366
+ })]
367
+ })
368
+ ]
369
+ })
370
+ ]
53
371
  });
54
372
  }
55
373
  //#endregion
56
- export { l as BillFormFields, l as default };
374
+ export { k as LineItemsSection, k as default };
@@ -1,18 +1,23 @@
1
+ import { LABEL_LABELS_EN as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
1
2
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js
2
- function e(e) {
3
- let t = [];
4
- for (let n of e) {
5
- let e = t.at(-1);
6
- if (e && e.heading === n.sectionHeading) {
7
- e.items = [...e.items, n];
8
- continue;
3
+ var t = {
4
+ fieldLabel: "Select or add vendor",
5
+ triggerPlaceholder: "Select vendor",
6
+ placeholder: "Search",
7
+ loading: "Searching vendors...",
8
+ emptyResults: "No vendors found",
9
+ addVendorAction: "Add vendor",
10
+ fieldMarkers: e
11
+ };
12
+ function n(e) {
13
+ return {
14
+ ...t,
15
+ ...e,
16
+ fieldMarkers: {
17
+ ...t.fieldMarkers,
18
+ ...e?.fieldMarkers
9
19
  }
10
- t.push({
11
- heading: n.sectionHeading,
12
- items: [n]
13
- });
14
- }
15
- return t;
20
+ };
16
21
  }
17
22
  //#endregion
18
- export { e as groupBySectionHeading };
23
+ export { t as VENDOR_SEARCH_COMBOBOX_LABELS_EN, n as mergeVendorSearchComboboxLabels };
@@ -1,54 +1,96 @@
1
- import { Button as e, DropdownMenu as t, DropdownMenuContent as n, DropdownMenuGroup as r, DropdownMenuItem as i, DropdownMenuLabel as a, DropdownMenuSeparator as o, DropdownMenuTrigger as s } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { groupBySectionHeading as c } from "./index45.js";
3
- import { Fragment as l, useId as u } from "react";
4
- import { jsx as d, jsxs as f } from "react/jsx-runtime";
5
- import { MoreHorizontalIcon as p, MoreVerticalIcon as m } from "lucide-react";
1
+ import { Command as e, CommandGroup as t, CommandInput as n, CommandItem as r, CommandList as i, CommandSeparator as a, FieldRequirement as o, Label as s, Popover as c, PopoverContent as l, PopoverTrigger as u, Skeleton as d, cn as f } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { mergeVendorSearchComboboxLabels as p } from "./index45.js";
3
+ import { useId as m, useState as h } from "react";
4
+ import { jsx as g, jsxs as _ } from "react/jsx-runtime";
5
+ import { ChevronDown as v, Plus as y } from "lucide-react";
6
6
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js
7
- function h({ actions: h, triggerLabel: g, placement: _ = "row", testId: v }) {
8
- let y = u();
9
- if (!h.length) return null;
10
- let b = _ === "header", x = _ === "header" || _ === "table", S = b ? p : m, C = c(h);
11
- return /* @__PURE__ */ f(t, { children: [/* @__PURE__ */ d(s, {
12
- asChild: !0,
13
- children: /* @__PURE__ */ d(e, {
14
- type: "button",
15
- variant: x ? "ghost" : "outline",
16
- size: "icon",
17
- "aria-label": g,
18
- "data-testid": v,
19
- onPointerDown: (e) => e.stopPropagation(),
20
- onClick: (e) => e.stopPropagation(),
21
- children: /* @__PURE__ */ d(S, { className: "ttw:size-4" })
22
- })
23
- }), /* @__PURE__ */ d(n, {
24
- align: "end",
25
- onPointerDown: (e) => e.stopPropagation(),
26
- onClick: (e) => e.stopPropagation(),
27
- children: C.map((e, t) => {
28
- let n = e.items.map((e) => {
29
- let t = e.icon;
30
- return /* @__PURE__ */ f(i, {
31
- disabled: e.disabled,
32
- onClick: e.onSelect,
33
- children: [t ? /* @__PURE__ */ d(t, { className: "ttw:size-4" }) : null, e.label]
34
- }, e.id);
35
- });
36
- if (!e.heading) return /* @__PURE__ */ d(l, { children: n }, e.items[0]?.id);
37
- let s = `${y}-${t}`;
38
- return /* @__PURE__ */ f(l, { children: [
39
- t > 0 ? /* @__PURE__ */ d(o, {}) : null,
40
- /* @__PURE__ */ d(a, {
41
- id: s,
42
- className: "ttw:py-1 ttw:text-xs ttw:font-medium ttw:text-muted-foreground",
43
- children: e.heading
44
- }),
45
- /* @__PURE__ */ d(r, {
46
- "aria-labelledby": s,
47
- children: n
7
+ var b = 5, x = "ttw:min-h-44";
8
+ function S({ query: S, onQueryChange: C, results: w, isLoading: T, onAddVendor: E, testId: D, labels: O }) {
9
+ let k = p(O), A = m(), [j, M] = h(!1);
10
+ return /* @__PURE__ */ _("div", {
11
+ className: "ttw:flex ttw:flex-col ttw:gap-1.5",
12
+ "data-testid": D,
13
+ children: [/* @__PURE__ */ g(s, {
14
+ htmlFor: A,
15
+ requirement: o.Required,
16
+ labels: k.fieldMarkers,
17
+ children: k.fieldLabel
18
+ }), /* @__PURE__ */ _(c, {
19
+ open: j,
20
+ onOpenChange: M,
21
+ children: [/* @__PURE__ */ g(u, {
22
+ asChild: !0,
23
+ children: /* @__PURE__ */ _("button", {
24
+ type: "button",
25
+ id: A,
26
+ role: "combobox",
27
+ "aria-expanded": j,
28
+ "aria-required": !0,
29
+ className: "ttw:flex ttw:h-10 ttw:w-full ttw:items-center ttw:justify-between ttw:gap-2 ttw:rounded-md ttw:border ttw:border-border ttw:bg-background ttw:px-3 ttw:text-left ttw:text-sm ttw:shadow-xs ttw:outline-none ttw:focus-visible:border-ring ttw:focus-visible:ring-[3px] ttw:focus-visible:ring-ring/50",
30
+ children: [/* @__PURE__ */ g("span", {
31
+ className: "ttw:min-w-0 ttw:flex-1 ttw:truncate ttw:text-muted-foreground",
32
+ children: k.triggerPlaceholder
33
+ }), /* @__PURE__ */ g(v, {
34
+ "aria-hidden": !0,
35
+ className: "ttw:size-4 ttw:shrink-0 ttw:opacity-50"
36
+ })]
48
37
  })
49
- ] }, e.items[0]?.id);
50
- })
51
- })] });
38
+ }), /* @__PURE__ */ g(l, {
39
+ align: "start",
40
+ className: "ttw:w-[var(--radix-popover-trigger-width)] ttw:p-0",
41
+ children: /* @__PURE__ */ _(e, {
42
+ shouldFilter: !1,
43
+ children: [/* @__PURE__ */ g(n, {
44
+ value: S,
45
+ onValueChange: C,
46
+ placeholder: k.placeholder,
47
+ "aria-label": k.placeholder
48
+ }), /* @__PURE__ */ _(i, {
49
+ className: f("ttw:max-h-72", x),
50
+ children: [
51
+ T ? /* @__PURE__ */ _("div", {
52
+ className: "ttw:flex ttw:flex-col ttw:gap-2 ttw:p-2",
53
+ "aria-busy": "true",
54
+ children: [/* @__PURE__ */ g("span", {
55
+ className: "ttw:sr-only",
56
+ children: k.loading
57
+ }), Array.from({ length: b }).map((e, t) => /* @__PURE__ */ _("div", {
58
+ className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-4 ttw:px-2 ttw:py-1.5",
59
+ children: [/* @__PURE__ */ g(d, {
60
+ height: 14,
61
+ width: "55%"
62
+ }), /* @__PURE__ */ g(d, {
63
+ height: 14,
64
+ width: "30%"
65
+ })]
66
+ }, t))]
67
+ }) : w.length === 0 ? /* @__PURE__ */ g("div", {
68
+ className: f("ttw:flex ttw:items-center ttw:justify-center ttw:py-6 ttw:text-center ttw:text-sm", x),
69
+ children: k.emptyResults
70
+ }) : /* @__PURE__ */ g(t, { children: w.map((e, t) => /* @__PURE__ */ _(r, {
71
+ value: `${e.name} ${e.email} ${t}`,
72
+ onSelect: () => e.onSelect(),
73
+ children: [/* @__PURE__ */ g("span", {
74
+ className: "ttw:text-foreground",
75
+ children: e.name
76
+ }), /* @__PURE__ */ g("span", {
77
+ className: "ttw:ml-auto ttw:text-muted-foreground",
78
+ children: e.email
79
+ })]
80
+ }, `${e.name}:${e.email}:${t}`)) }),
81
+ /* @__PURE__ */ g(a, {}),
82
+ /* @__PURE__ */ _(r, {
83
+ value: "__add_vendor__",
84
+ onSelect: E,
85
+ className: "ttw:sticky ttw:bottom-0 ttw:bg-popover ttw:text-primary",
86
+ children: [/* @__PURE__ */ g(y, { className: "ttw:size-4 ttw:text-primary" }), k.addVendorAction]
87
+ })
88
+ ]
89
+ })]
90
+ })
91
+ })]
92
+ })]
93
+ });
52
94
  }
53
95
  //#endregion
54
- export { h as BillOverflowMenu, h as default };
96
+ export { S as VendorSearchCombobox, S as default };