@tesouro/embedded-components-react 0.5.222 → 0.5.224

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 (261) hide show
  1. package/dist/index.d.ts +214 -214
  2. package/dist/index.js +1 -1
  3. package/dist/lib/BillPayWidget.d.ts +151 -151
  4. package/dist/lib/BillPayWidget.js +1 -1
  5. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index21.js +20 -10
  6. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index26.js +251 -251
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index.js +22 -0
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index10.js +34 -0
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useForceApprovePayableMutation.js → bill-detail/data-access/dist/index11.js} +7 -7
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useForceRejectPayableMutation.js → bill-detail/data-access/dist/index12.js} +7 -7
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useReopenPayableMutation.js → bill-detail/data-access/dist/index13.js} +7 -7
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useSubmitPayableForApprovalMutation.js → bill-detail/data-access/dist/index14.js} +9 -9
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useUpdatePayableMutation.js → bill-detail/data-access/dist/index15.js} +7 -7
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useValidatePayableMutation.js → bill-detail/data-access/dist/index16.js} +5 -5
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index17.js +12 -0
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablePaymentRecordsQuery.js → bill-detail/data-access/dist/index18.js} +1 -1
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableSuggestionsQuery.js → bill-detail/data-access/dist/index19.js} +1 -1
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableApprovalRequests.js → bill-detail/data-access/dist/index2.js} +6 -5
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/payablePolicyAssignmentQueryOptions.js → bill-detail/data-access/dist/index20.js} +1 -1
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablesQueries/usePayableQuery.js → bill-detail/data-access/dist/index21.js} +9 -8
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablesQueries/usePayablesByIdsQueries.js → bill-detail/data-access/dist/index22.js} +6 -6
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index23.js +2 -0
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableHistoryQuery.js → bill-detail/data-access/dist/index3.js} +1 -1
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableLineItems.js → bill-detail/data-access/dist/index4.js} +3 -3
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useAttachPayableFileMutation.js → bill-detail/data-access/dist/index5.js} +7 -7
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useCancelPayableMutation.js → bill-detail/data-access/dist/index6.js} +7 -7
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index7.js +40 -0
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index8.js +34 -0
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index9.js +34 -0
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index.js +12 -0
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index10.js +11 -0
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature → bill-detail/feature}/dist/index11.js +2 -2
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature → bill-detail/feature}/dist/index12.js +11 -11
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature → bill-detail/feature}/dist/index13.js +2 -2
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature → bill-detail/feature}/dist/index14.js +8 -8
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature → bill-detail/feature}/dist/index15.js +11 -11
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index17.js → bill-detail/feature/dist/index16.js} +8 -8
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index18.js → bill-detail/feature/dist/index17.js} +9 -9
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index19.js → bill-detail/feature/dist/index18.js} +7 -7
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index20.js → bill-detail/feature/dist/index19.js} +9 -9
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index2.js +59 -0
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index21.js → bill-detail/feature/dist/index20.js} +1 -1
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index22.js → bill-detail/feature/dist/index21.js} +2 -2
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index23.js → bill-detail/feature/dist/index22.js} +1 -1
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index24.js → bill-detail/feature/dist/index23.js} +11 -11
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index25.js → bill-detail/feature/dist/index24.js} +5 -5
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index26.js → bill-detail/feature/dist/index25.js} +1 -1
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index27.js → bill-detail/feature/dist/index26.js} +9 -9
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index28.js → bill-detail/feature/dist/index27.js} +19 -19
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index29.js → bill-detail/feature/dist/index28.js} +1 -1
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index30.js → bill-detail/feature/dist/index29.js} +2 -2
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index3.js +7 -0
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index31.js → bill-detail/feature/dist/index30.js} +3 -3
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index32.js → bill-detail/feature/dist/index31.js} +14 -14
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index33.js → bill-detail/feature/dist/index32.js} +3 -3
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index34.js → bill-detail/feature/dist/index33.js} +5 -5
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index35.js → bill-detail/feature/dist/index34.js} +1 -1
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index36.js → bill-detail/feature/dist/index35.js} +71 -70
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index36.js +4 -0
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index38.js → bill-detail/feature/dist/index37.js} +4 -4
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index39.js → bill-detail/feature/dist/index38.js} +49 -48
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index39.js +3 -0
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +17 -0
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index40.js +5 -0
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index41.js +67 -0
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index42.js +1 -0
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index5.js +40 -0
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index6.js +229 -0
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index7.js +87 -0
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index8.js +50 -0
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index9.js +16 -0
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index.js +50 -0
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index29.js → bill-detail/ui/dist/index10.js} +4 -4
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index30.js → bill-detail/ui/dist/index11.js} +3 -3
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index31.js → bill-detail/ui/dist/index12.js} +4 -4
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index13.js +2 -0
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index33.js → bill-detail/ui/dist/index14.js} +12 -13
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index34.js → bill-detail/ui/dist/index15.js} +27 -28
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index16.js +2 -0
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index36.js → bill-detail/ui/dist/index17.js} +2 -2
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index37.js → bill-detail/ui/dist/index18.js} +3 -3
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index19.js +2 -0
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index2.js +15 -0
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index42.js → bill-detail/ui/dist/index20.js} +2 -2
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index43.js → bill-detail/ui/dist/index21.js} +3 -3
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index22.js +2 -0
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index45.js → bill-detail/ui/dist/index23.js} +2 -2
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index46.js → bill-detail/ui/dist/index24.js} +3 -3
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index25.js +2 -0
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index48.js → bill-detail/ui/dist/index26.js} +5 -5
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index49.js → bill-detail/ui/dist/index27.js} +7 -7
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index28.js +2 -0
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index51.js → bill-detail/ui/dist/index29.js} +10 -10
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index3.js +55 -0
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index52.js → bill-detail/ui/dist/index30.js} +1 -1
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index53.js → bill-detail/ui/dist/index31.js} +19 -19
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index32.js +1 -1
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index61.js → bill-detail/ui/dist/index33.js} +8 -9
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index62.js → bill-detail/ui/dist/index34.js} +22 -24
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index69.js → bill-detail/ui/dist/index36.js} +1 -1
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index70.js → bill-detail/ui/dist/index37.js} +8 -9
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index72.js → bill-detail/ui/dist/index39.js} +1 -1
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index4.js +2 -0
  104. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index73.js → bill-detail/ui/dist/index40.js} +2 -2
  105. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index64.js → bill-detail/ui/dist/index42.js} +1 -1
  106. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index65.js → bill-detail/ui/dist/index43.js} +3 -3
  107. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index89.js → bill-detail/ui/dist/index45.js} +1 -1
  108. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index90.js → bill-detail/ui/dist/index46.js} +2 -2
  109. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index95.js → bill-detail/ui/dist/index48.js} +3 -3
  110. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index96.js → bill-detail/ui/dist/index49.js} +5 -5
  111. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +19 -0
  112. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index98.js → bill-detail/ui/dist/index51.js} +1 -1
  113. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index99.js → bill-detail/ui/dist/index52.js} +3 -3
  114. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index54.js → bill-detail/ui/dist/index53.js} +1 -1
  115. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index6.js +23 -0
  116. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index7.js +1 -0
  117. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index8.js +32 -0
  118. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index9.js +1 -0
  119. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index.js +6 -0
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablesQueries/useFirstPayablesPagesQuery.js → bills-list/data-access/dist/index2.js} +8 -8
  121. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablesQueries/usePayablesCountQueries.js → bills-list/data-access/dist/index3.js} +8 -7
  122. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablesQueries/usePayablesQuery.js → bills-list/data-access/dist/index4.js} +8 -7
  123. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index5.js +30 -0
  124. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index6.js +4 -0
  125. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index.js +8 -0
  126. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index10.js +17 -0
  127. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index52.js → bills-list/feature/dist/index11.js} +1 -1
  128. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index53.js → bills-list/feature/dist/index12.js} +1 -1
  129. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index54.js → bills-list/feature/dist/index13.js} +3 -3
  130. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index55.js → bills-list/feature/dist/index14.js} +23 -23
  131. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index56.js → bills-list/feature/dist/index15.js} +5 -5
  132. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +398 -0
  133. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +246 -0
  134. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js +4 -0
  135. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index19.js +5 -0
  136. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index44.js → bills-list/feature/dist/index2.js} +3 -3
  137. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index20.js +40 -0
  138. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index21.js +1 -0
  139. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index45.js → bills-list/feature/dist/index3.js} +1 -1
  140. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index46.js → bills-list/feature/dist/index4.js} +2 -2
  141. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index47.js → bills-list/feature/dist/index5.js} +1 -1
  142. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index48.js → bills-list/feature/dist/index6.js} +2 -2
  143. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index49.js → bills-list/feature/dist/index7.js} +2 -2
  144. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index50.js → bills-list/feature/dist/index8.js} +3 -6
  145. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index9.js +22 -0
  146. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index.js +21 -0
  147. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index77.js → bills-list/ui/dist/index10.js} +4 -4
  148. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index11.js +3 -0
  149. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index79.js → bills-list/ui/dist/index12.js} +1 -1
  150. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index80.js → bills-list/ui/dist/index13.js} +3 -3
  151. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index14.js +2 -0
  152. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index82.js → bills-list/ui/dist/index15.js} +1 -1
  153. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index83.js → bills-list/ui/dist/index16.js} +3 -3
  154. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index17.js +2 -0
  155. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index85.js → bills-list/ui/dist/index18.js} +15 -16
  156. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index86.js → bills-list/ui/dist/index19.js} +1 -1
  157. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index2.js +14 -0
  158. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index87.js → bills-list/ui/dist/index20.js} +24 -27
  159. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index21.js +3 -0
  160. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index3.js +64 -0
  161. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index4.js +2 -0
  162. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index5.js +8 -0
  163. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index6.js +35 -0
  164. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index7.js +2 -0
  165. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index75.js → bills-list/ui/dist/index8.js} +2 -2
  166. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index76.js → bills-list/ui/dist/index9.js} +1 -1
  167. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +3 -28
  168. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/invalidation.js +8 -8
  169. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +1 -15
  170. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +23 -7
  171. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +3 -57
  172. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +43 -4
  173. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +1 -17
  174. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +3 -36
  175. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +109 -219
  176. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +5 -85
  177. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +104 -47
  178. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +1 -16
  179. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +1 -1
  180. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +1 -1
  181. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +17 -83
  182. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index10.js +50 -31
  183. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +2 -13
  184. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +36 -50
  185. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +10 -9
  186. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +14 -25
  187. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +2 -18
  188. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +8 -16
  189. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +74 -19
  190. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index2.js +16 -8
  191. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +2 -14
  192. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +25 -14
  193. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +4 -2
  194. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +28 -2
  195. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +2 -30
  196. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +7 -2
  197. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +30 -28
  198. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +1 -0
  199. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index3.js +16 -75
  200. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/{index59.js → index4.js} +2 -2
  201. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index5.js +1 -1
  202. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index6.js +10 -11
  203. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index7.js +2 -64
  204. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index8.js +0 -1
  205. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index9.js +16 -6
  206. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +9 -9
  207. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/index.js +5 -4
  208. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  209. package/dist/libs/tesouro-embedded-components-react/{bill-pay-widget/feature/dist/index16.js → shared/feature/dist/lib/calendar/useLocalCalendarDay.js} +1 -1
  210. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  211. package/package.json +1 -1
  212. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/index.js +0 -12
  213. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useCancelScheduledPaymentMutation.js +0 -40
  214. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useCreatePayableMutation.js +0 -34
  215. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useDeletePayableFileMutation.js +0 -34
  216. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useDeletePayableMutation.js +0 -34
  217. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayablesQueries/index.js +0 -6
  218. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayablesQueries/usePayablesTotalCountQuery.js +0 -29
  219. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +0 -4
  220. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +0 -3
  221. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +0 -5
  222. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +0 -46
  223. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +0 -1
  224. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +0 -22
  225. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +0 -396
  226. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +0 -334
  227. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +0 -4
  228. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +0 -7
  229. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +0 -108
  230. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +0 -1
  231. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +0 -27
  232. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +0 -2
  233. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +0 -1
  234. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +0 -18
  235. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +0 -54
  236. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +0 -4
  237. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +0 -41
  238. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +0 -2
  239. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +0 -19
  240. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +0 -2
  241. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +0 -2
  242. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +0 -2
  243. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +0 -2
  244. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +0 -1
  245. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +0 -2
  246. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +0 -2
  247. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +0 -3
  248. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +0 -2
  249. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +0 -2
  250. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +0 -3
  251. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +0 -2
  252. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +0 -7
  253. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +0 -34
  254. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +0 -2
  255. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +0 -2
  256. /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index35.js +0 -0
  257. /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index38.js +0 -0
  258. /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index41.js +0 -0
  259. /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index44.js +0 -0
  260. /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index47.js +0 -0
  261. /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index50.js +0 -0
@@ -1,23 +1,78 @@
1
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
- import { AlertTriangleIcon as n } from "lucide-react";
1
+ import { cn as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { InlineErrorAlert as t } from "../../../shared/ui/dist/lib/InlineErrorAlert/InlineErrorAlert.js";
3
+ import "../../../shared/ui/dist/index.js";
4
+ import { BILL_UPLOAD_DROPZONE_LABELS_EN as n } from "./index18.js";
5
+ import { useRef as r, useState as i } from "react";
6
+ import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
7
+ import { Loader2 as c, Upload as l } from "lucide-react";
3
8
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js
4
- function r({ actorLabel: r, message: i }) {
5
- return /* @__PURE__ */ t("div", {
6
- className: "ttw:flex ttw:gap-2 ttw:rounded-md ttw:border ttw:border-destructive/20 ttw:bg-destructive/5 ttw:p-3",
7
- children: [/* @__PURE__ */ e(n, {
8
- "aria-hidden": !0,
9
- className: "ttw:mt-0.5 ttw:size-4 ttw:shrink-0 ttw:text-destructive"
10
- }), /* @__PURE__ */ t("div", {
11
- className: "ttw:flex ttw:flex-col ttw:gap-1",
12
- children: [/* @__PURE__ */ e("p", {
13
- className: "ttw:text-sm ttw:font-medium ttw:text-destructive",
14
- children: r
15
- }), i ? /* @__PURE__ */ e("p", {
16
- className: "ttw:text-sm ttw:text-foreground",
17
- children: i
18
- }) : null]
19
- })]
9
+ function u(e, t) {
10
+ let n = t.split(",").map((e) => e.trim()).filter(Boolean);
11
+ return n.length === 0 || n.some((t) => t.startsWith(".") ? e.name.toLowerCase().endsWith(t.toLowerCase()) : t.endsWith("/*") ? e.type.startsWith(t.slice(0, -1)) : e.type === t);
12
+ }
13
+ function d(e, t, n = !0) {
14
+ let r = e.filter((e) => u(e, t));
15
+ return n ? r : r.slice(0, 1);
16
+ }
17
+ function f({ status: u = "idle", errorMessage: f, accept: p = ".pdf,.png,.jpg,.jpeg", multiple: m = !0, maxFiles: h, onFilesSelected: g, testId: _, labels: v }) {
18
+ let y = {
19
+ ...n,
20
+ ...v
21
+ }, b = r(null), [x, S] = i(!1), C = u === "uploading";
22
+ return /* @__PURE__ */ s("div", {
23
+ className: "ttw:flex ttw:flex-col ttw:gap-2",
24
+ "data-testid": _,
25
+ children: [
26
+ /* @__PURE__ */ s("button", {
27
+ type: "button",
28
+ disabled: C,
29
+ className: e("ttw:flex ttw:w-full ttw:items-center ttw:justify-center ttw:gap-3 ttw:rounded-lg ttw:border ttw:border-dashed ttw:px-6 ttw:py-8", x ? "ttw:border-primary ttw:bg-primary/5" : "ttw:border-border ttw:bg-muted/40"),
30
+ onClick: () => b.current?.click(),
31
+ onDragOver: (e) => {
32
+ e.preventDefault(), S(!0);
33
+ },
34
+ onDragLeave: (e) => {
35
+ e.preventDefault(), S(!1);
36
+ },
37
+ onDrop: (e) => {
38
+ if (e.preventDefault(), S(!1), C) return;
39
+ let t = d(e.dataTransfer.files ? Array.from(e.dataTransfer.files) : [], p, m);
40
+ t.length > 0 && g(t);
41
+ },
42
+ children: [C ? /* @__PURE__ */ o(c, { className: "ttw:size-5 ttw:animate-spin ttw:text-primary" }) : /* @__PURE__ */ o(l, { className: "ttw:size-5 ttw:text-muted-foreground" }), /* @__PURE__ */ s("span", {
43
+ className: "ttw:flex ttw:flex-col ttw:items-start",
44
+ children: [/* @__PURE__ */ o("span", {
45
+ className: "ttw:text-sm ttw:text-primary",
46
+ children: C ? y.uploadingText : /* @__PURE__ */ s(a, { children: [
47
+ y.dropPrefix,
48
+ " ",
49
+ /* @__PURE__ */ o("span", {
50
+ className: "ttw:underline",
51
+ children: y.browseAction
52
+ })
53
+ ] })
54
+ }), /* @__PURE__ */ o("span", {
55
+ className: "ttw:text-xs ttw:text-muted-foreground",
56
+ children: h === void 0 ? y.fileTypesHint : `${y.fileTypesHint} · ${y.fileCountHint(h)}`
57
+ })]
58
+ })]
59
+ }),
60
+ /* @__PURE__ */ o("input", {
61
+ ref: b,
62
+ type: "file",
63
+ accept: p,
64
+ multiple: m,
65
+ disabled: C,
66
+ "aria-label": y.fileInput,
67
+ className: "ttw:hidden",
68
+ onChange: (e) => {
69
+ let t = d(e.target.files ? Array.from(e.target.files) : [], p, m);
70
+ t.length > 0 && g(t), e.target.value = "";
71
+ }
72
+ }),
73
+ u === "error" && f ? /* @__PURE__ */ o(t, { children: f }) : null
74
+ ]
20
75
  });
21
76
  }
22
77
  //#endregion
23
- export { r as BillRejectionNotice, r as default };
78
+ export { f as BillUploadDropzone, f as default, d as getAcceptedBillUploadFiles };
@@ -1,11 +1,19 @@
1
+ import { Button as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { Fragment as t, jsx as n } from "react/jsx-runtime";
1
3
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index2.js
2
- var e = {
3
- dropPrefix: "Drop your files here, or",
4
- browseAction: "browse to upload",
5
- fileTypesHint: "PDF, JPG, or PNG (max. 3MB)",
6
- fileCountHint: (e) => `up to ${e} files at a time`,
7
- uploadingText: "Uploading…",
8
- fileInput: "Choose a file to upload"
4
+ var r = {
5
+ row: [],
6
+ menu: []
9
7
  };
8
+ function i({ actions: r }) {
9
+ return /* @__PURE__ */ n(t, { children: r.map((t) => /* @__PURE__ */ n(e, {
10
+ type: "button",
11
+ variant: t.variant,
12
+ disabled: t.disabled,
13
+ loading: t.loading,
14
+ onClick: t.onSelect,
15
+ children: t.label
16
+ }, t.id)) });
17
+ }
10
18
  //#endregion
11
- export { e as BILL_UPLOAD_DROPZONE_LABELS_EN };
19
+ export { i as BillActionButtons, i as default, r as NO_BILL_ACTIONS };
@@ -1,14 +1,2 @@
1
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js
2
- var e = {
3
- draft: "Draft",
4
- ready_to_submit: "Ready to submit",
5
- pending_approval: "Pending review",
6
- ready_to_pay: "Ready to pay",
7
- scheduled: "Scheduled",
8
- paid: "Paid",
9
- canceled: "Cancelled",
10
- rejected: "Rejected",
11
- unknown: "Unknown"
12
- };
13
- //#endregion
14
- export { e as BILL_STATUS_BADGE_LABELS_EN };
1
+ import "./index18.js";
2
+ import "./index19.js";
@@ -1,18 +1,29 @@
1
- import { Badge as e, cn as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { BILL_STATUS_BADGE_LABELS_EN as n } from "./index21.js";
3
- import { BADGE_TONE_CLASS_NAME as r } from "./index15.js";
4
- import { jsxs as i } from "react/jsx-runtime";
1
+ import { Popover as e, PopoverContent as t, PopoverTrigger as n } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { useState as r } from "react";
3
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
4
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js
6
- function a({ status: a, tone: o, labels: s, icon: c }) {
7
- let l = {
8
- ...n,
9
- ...s
10
- }, u = l[a] ?? l.unknown;
11
- return /* @__PURE__ */ i(e, {
12
- variant: "outline",
13
- className: t(c && "ttw:gap-1", r[o]),
14
- children: [c, u]
5
+ function o({ children: o, date: s }) {
6
+ let [c, l] = r(!1);
7
+ return /* @__PURE__ */ a(e, {
8
+ open: c,
9
+ onOpenChange: l,
10
+ children: [/* @__PURE__ */ i(n, {
11
+ type: "button",
12
+ className: "ttw:cursor-default",
13
+ onPointerEnter: (e) => {
14
+ e.pointerType === "mouse" && l(!0);
15
+ },
16
+ onPointerLeave: (e) => {
17
+ e.pointerType === "mouse" && l(!1);
18
+ },
19
+ onClick: (e) => e.stopPropagation(),
20
+ children: o
21
+ }), /* @__PURE__ */ i(t, {
22
+ onOpenAutoFocus: (e) => e.preventDefault(),
23
+ className: "ttw:w-auto ttw:px-3 ttw:py-1.5 ttw:text-xs",
24
+ children: s
25
+ })]
15
26
  });
16
27
  }
17
28
  //#endregion
18
- export { a as BillStatusBadge, a as default };
29
+ export { o as DateDisclosure };
@@ -1,2 +1,4 @@
1
- import "./index21.js";
2
- import "./index22.js";
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js
2
+ var e = { overdue: "Overdue" };
3
+ //#endregion
4
+ export { e as DUE_DATE_VALUE_LABELS_EN };
@@ -1,4 +1,30 @@
1
+ import { cn as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { DUE_DATE_VALUE_LABELS_EN as t } from "./index23.js";
3
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import { AlertTriangleIcon as i } from "lucide-react";
1
5
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js
2
- var e = { overdue: "Overdue" };
6
+ function a({ value: a, tone: o = "default", labels: s, className: c }) {
7
+ let l = {
8
+ ...t,
9
+ ...s
10
+ };
11
+ return o === "danger" ? /* @__PURE__ */ r("span", {
12
+ className: e("ttw:inline-flex ttw:items-center ttw:gap-1 ttw:whitespace-nowrap ttw:font-medium ttw:text-destructive", c),
13
+ children: [
14
+ /* @__PURE__ */ n(i, {
15
+ "aria-hidden": !0,
16
+ className: "ttw:size-3.5 ttw:shrink-0"
17
+ }),
18
+ a,
19
+ /* @__PURE__ */ n("span", {
20
+ className: "ttw:sr-only",
21
+ children: l.overdue
22
+ })
23
+ ]
24
+ }) : /* @__PURE__ */ n("span", {
25
+ className: c,
26
+ children: a
27
+ });
28
+ }
3
29
  //#endregion
4
- export { e as DUE_DATE_VALUE_LABELS_EN };
30
+ export { a as DueDateValue, a as default };
@@ -1,30 +1,2 @@
1
- import { cn as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { DUE_DATE_VALUE_LABELS_EN as t } from "./index24.js";
3
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
- import { AlertTriangleIcon as i } from "lucide-react";
5
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js
6
- function a({ value: a, tone: o = "default", labels: s, className: c }) {
7
- let l = {
8
- ...t,
9
- ...s
10
- };
11
- return o === "danger" ? /* @__PURE__ */ r("span", {
12
- className: e("ttw:inline-flex ttw:items-center ttw:gap-1 ttw:whitespace-nowrap ttw:font-medium ttw:text-destructive", c),
13
- children: [
14
- /* @__PURE__ */ n(i, {
15
- "aria-hidden": !0,
16
- className: "ttw:size-3.5 ttw:shrink-0"
17
- }),
18
- a,
19
- /* @__PURE__ */ n("span", {
20
- className: "ttw:sr-only",
21
- children: l.overdue
22
- })
23
- ]
24
- }) : /* @__PURE__ */ n("span", {
25
- className: c,
26
- children: a
27
- });
28
- }
29
- //#endregion
30
- export { a as DueDateValue, a as default };
1
+ import "./index23.js";
2
+ import "./index24.js";
@@ -1,2 +1,7 @@
1
- import "./index24.js";
2
- import "./index25.js";
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js
2
+ var e = {
3
+ revealValue: "Show value",
4
+ hideValue: "Hide value"
5
+ };
6
+ //#endregion
7
+ export { e as REVEALABLE_FIELD_LABELS_EN };
@@ -1,32 +1,34 @@
1
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
1
+ import { Button as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { REVEALABLE_FIELD_LABELS_EN as t } from "./index26.js";
3
+ import { useState as n } from "react";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ import { Eye as a, EyeOff as o } from "lucide-react";
2
6
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js
3
- function n({ records: n }) {
4
- return /* @__PURE__ */ e("div", {
5
- className: "ttw:flex ttw:flex-col",
6
- children: n.map((n) => /* @__PURE__ */ t("div", {
7
- className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-6 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0",
8
- children: [
9
- /* @__PURE__ */ e("span", {
10
- className: "ttw:flex-1 ttw:text-sm",
11
- children: n.dateLabel
12
- }),
13
- /* @__PURE__ */ e("span", {
14
- className: "ttw:flex-1 ttw:text-sm",
15
- children: n.statusLabel
16
- }),
17
- /* @__PURE__ */ t("span", {
18
- className: "ttw:flex ttw:flex-1 ttw:flex-col ttw:items-end ttw:text-right",
19
- children: [/* @__PURE__ */ e("span", {
20
- className: "ttw:text-sm ttw:font-medium",
21
- children: n.amountLabel
22
- }), n.overpaidLabel ? /* @__PURE__ */ e("span", {
23
- className: "ttw:text-sm ttw:text-muted-foreground",
24
- children: n.overpaidLabel
25
- }) : null]
26
- })
27
- ]
28
- }, n.id))
7
+ function s({ field: s, labels: c }) {
8
+ let l = {
9
+ ...t,
10
+ ...c
11
+ }, [u, d] = n(!1), f = s.maskedValue && !u ? s.maskedValue : s.value;
12
+ return /* @__PURE__ */ i("div", {
13
+ className: "ttw:flex ttw:items-start ttw:justify-between ttw:gap-3",
14
+ children: [/* @__PURE__ */ i("div", {
15
+ className: "ttw:min-w-0",
16
+ children: [/* @__PURE__ */ r("dt", {
17
+ className: "ttw:text-xs ttw:text-muted-foreground",
18
+ children: s.label
19
+ }), /* @__PURE__ */ r("dd", {
20
+ className: "ttw:break-words ttw:text-sm ttw:font-medium",
21
+ children: f
22
+ })]
23
+ }), s.maskedValue ? /* @__PURE__ */ r(e, {
24
+ type: "button",
25
+ variant: "ghost",
26
+ size: "icon",
27
+ "aria-label": u ? l.hideValue : l.revealValue,
28
+ onClick: () => d((e) => !e),
29
+ children: r(u ? o : a, { className: "ttw:size-4" })
30
+ }) : null]
29
31
  });
30
32
  }
31
33
  //#endregion
32
- export { n as PaymentHistoryList, n as default };
34
+ export { s as RevealableField, s as default };
@@ -1 +1,2 @@
1
+ import "./index26.js";
1
2
  import "./index27.js";
@@ -1,78 +1,19 @@
1
- import { cn as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { InlineErrorAlert as t } from "../../../shared/ui/dist/lib/InlineErrorAlert/InlineErrorAlert.js";
3
- import "../../../shared/ui/dist/index.js";
4
- import { BILL_UPLOAD_DROPZONE_LABELS_EN as n } from "./index2.js";
5
- import { useRef as r, useState as i } from "react";
6
- import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
7
- import { Loader2 as c, Upload as l } from "lucide-react";
1
+ import { LABEL_LABELS_EN as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
8
2
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index3.js
9
- function u(e, t) {
10
- let n = t.split(",").map((e) => e.trim()).filter(Boolean);
11
- return n.length === 0 || n.some((t) => t.startsWith(".") ? e.name.toLowerCase().endsWith(t.toLowerCase()) : t.endsWith("/*") ? e.type.startsWith(t.slice(0, -1)) : e.type === t);
12
- }
13
- function d(e, t, n = !0) {
14
- let r = e.filter((e) => u(e, t));
15
- return n ? r : r.slice(0, 1);
16
- }
17
- function f({ status: u = "idle", errorMessage: f, accept: p = ".pdf,.png,.jpg,.jpeg", multiple: m = !0, maxFiles: h, onFilesSelected: g, testId: _, labels: v }) {
18
- let y = {
19
- ...n,
20
- ...v
21
- }, b = r(null), [x, S] = i(!1), C = u === "uploading";
22
- return /* @__PURE__ */ s("div", {
23
- className: "ttw:flex ttw:flex-col ttw:gap-2",
24
- "data-testid": _,
25
- children: [
26
- /* @__PURE__ */ s("button", {
27
- type: "button",
28
- disabled: C,
29
- className: e("ttw:flex ttw:w-full ttw:items-center ttw:justify-center ttw:gap-3 ttw:rounded-lg ttw:border ttw:border-dashed ttw:px-6 ttw:py-8", x ? "ttw:border-primary ttw:bg-primary/5" : "ttw:border-border ttw:bg-muted/40"),
30
- onClick: () => b.current?.click(),
31
- onDragOver: (e) => {
32
- e.preventDefault(), S(!0);
33
- },
34
- onDragLeave: (e) => {
35
- e.preventDefault(), S(!1);
36
- },
37
- onDrop: (e) => {
38
- if (e.preventDefault(), S(!1), C) return;
39
- let t = d(e.dataTransfer.files ? Array.from(e.dataTransfer.files) : [], p, m);
40
- t.length > 0 && g(t);
41
- },
42
- children: [C ? /* @__PURE__ */ o(c, { className: "ttw:size-5 ttw:animate-spin ttw:text-primary" }) : /* @__PURE__ */ o(l, { className: "ttw:size-5 ttw:text-muted-foreground" }), /* @__PURE__ */ s("span", {
43
- className: "ttw:flex ttw:flex-col ttw:items-start",
44
- children: [/* @__PURE__ */ o("span", {
45
- className: "ttw:text-sm ttw:text-primary",
46
- children: C ? y.uploadingText : /* @__PURE__ */ s(a, { children: [
47
- y.dropPrefix,
48
- " ",
49
- /* @__PURE__ */ o("span", {
50
- className: "ttw:underline",
51
- children: y.browseAction
52
- })
53
- ] })
54
- }), /* @__PURE__ */ o("span", {
55
- className: "ttw:text-xs ttw:text-muted-foreground",
56
- children: h === void 0 ? y.fileTypesHint : `${y.fileTypesHint} · ${y.fileCountHint(h)}`
57
- })]
58
- })]
59
- }),
60
- /* @__PURE__ */ o("input", {
61
- ref: b,
62
- type: "file",
63
- accept: p,
64
- multiple: m,
65
- disabled: C,
66
- "aria-label": y.fileInput,
67
- className: "ttw:hidden",
68
- onChange: (e) => {
69
- let t = d(e.target.files ? Array.from(e.target.files) : [], p, m);
70
- t.length > 0 && g(t), e.target.value = "";
71
- }
72
- }),
73
- u === "error" && f ? /* @__PURE__ */ o(t, { children: f }) : null
74
- ]
75
- });
3
+ var t = {
4
+ cancelButton: "Cancel",
5
+ orConnector: "or",
6
+ fieldMarkers: e
7
+ };
8
+ function n(e) {
9
+ return {
10
+ ...t,
11
+ ...e,
12
+ fieldMarkers: {
13
+ ...t.fieldMarkers,
14
+ ...e?.fieldMarkers
15
+ }
16
+ };
76
17
  }
77
18
  //#endregion
78
- export { f as BillUploadDropzone, f as default, d as getAcceptedBillUploadFiles };
19
+ export { t as BILL_DECISION_DIALOG_LABELS_EN, n as mergeBillDecisionDialogLabels };
@@ -1,8 +1,8 @@
1
1
  import { AlertDialog as e, AlertDialogContent as t, AlertDialogDescription as n, AlertDialogFooter as r, AlertDialogHeader as i, AlertDialogTitle as a, Button as o, FieldRequirement as s, Label as c, Textarea as l } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { mergeBillDecisionDialogLabels as u } from "./index58.js";
2
+ import { mergeBillDecisionDialogLabels as u } from "./index3.js";
3
3
  import { Fragment as d, useEffect as f, useState as p } from "react";
4
4
  import { jsx as m, jsxs as h } from "react/jsx-runtime";
5
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js
5
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index4.js
6
6
  function g({ open: g, copy: _, onConfirm: v, onCancel: y, isPending: b, confirmIcon: x, labels: S, testId: C, confirmTestId: w, reasonTestId: T, reasonFieldId: E = "bill-decision-reason" }) {
7
7
  let D = u(S), [O, k] = p("");
8
8
  if (f(() => {
@@ -1,2 +1,2 @@
1
- import "./index2.js";
2
1
  import "./index3.js";
2
+ import "./index4.js";
@@ -1,14 +1,13 @@
1
- import { BILL_UPLOAD_DROPZONE_LABELS_EN as e } from "./index2.js";
2
- import "./index5.js";
3
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index6.js
4
- var t = {
5
- heading: "Add a bill",
6
- subcopyPlain: "Upload a bill and we'll scan in the details",
7
- subcopyPrefix: "Upload a bill or email it to",
8
- subcopySuffix: "and we'll automatically scan the details.",
9
- copyEmail: "Copy the bill forwarding address",
10
- enterManually: "Or enter manually",
11
- dropzone: e
2
+ var e = {
3
+ accent: "ttw:border-violet-100 ttw:bg-violet-100 ttw:text-violet-700 ttw:hover:bg-violet-100",
4
+ committed: "ttw:border-cyan-200 ttw:bg-cyan-50 ttw:text-cyan-700 ttw:hover:bg-cyan-50",
5
+ danger: "ttw:border-destructive/20 ttw:bg-destructive/20 ttw:text-destructive ttw:hover:bg-destructive/20",
6
+ info: "ttw:border-blue-100 ttw:bg-blue-100 ttw:text-blue-700 ttw:hover:bg-blue-100",
7
+ neutral: "ttw:border-border ttw:bg-muted ttw:text-foreground ttw:hover:bg-muted",
8
+ settled: "ttw:border-border ttw:bg-background ttw:text-green-900 ttw:hover:bg-background",
9
+ success: "ttw:border-green-100 ttw:bg-green-100 ttw:text-green-700 ttw:hover:bg-green-100",
10
+ warning: "ttw:border-amber-100 ttw:bg-amber-100 ttw:text-amber-700 ttw:hover:bg-amber-100"
12
11
  };
13
12
  //#endregion
14
- export { t as ADD_BILL_PANEL_LABELS_EN };
13
+ export { e as BADGE_TONE_CLASS_NAME };
@@ -1,64 +1,2 @@
1
- import { Button as e, Typography as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { BillUploadDropzone as n } from "./index3.js";
3
- import "./index5.js";
4
- import { ADD_BILL_PANEL_LABELS_EN as r } from "./index6.js";
5
- import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
6
- import { Copy as s } from "lucide-react";
7
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index7.js
8
- function c({ emailAddress: c, onCopyEmail: l, onFilesSelected: u, accept: d, maxFiles: f, uploadStatus: p, uploadErrorMessage: m, onEnterManually: h, testId: g, labels: _ }) {
9
- let v = {
10
- ...r,
11
- ..._,
12
- dropzone: {
13
- ...r.dropzone,
14
- ..._?.dropzone
15
- }
16
- };
17
- return /* @__PURE__ */ o("div", {
18
- className: "ttw:flex ttw:flex-col ttw:items-center ttw:gap-4 ttw:px-6 ttw:py-10 ttw:text-center",
19
- "data-testid": g,
20
- children: [
21
- /* @__PURE__ */ a(t, {
22
- component: "h2",
23
- variant: "h2",
24
- className: "ttw:font-semibold",
25
- children: v.heading
26
- }),
27
- /* @__PURE__ */ a("p", {
28
- className: "ttw:text-sm ttw:text-muted-foreground",
29
- children: c ? /* @__PURE__ */ o(i, { children: [
30
- v.subcopyPrefix,
31
- " ",
32
- /* @__PURE__ */ o("button", {
33
- type: "button",
34
- onClick: l,
35
- "aria-label": v.copyEmail,
36
- className: "ttw:inline-flex ttw:items-center ttw:gap-1.5 ttw:rounded-md ttw:border ttw:border-input ttw:px-2 ttw:py-1 ttw:align-middle ttw:text-foreground ttw:hover:bg-accent",
37
- children: [c, /* @__PURE__ */ a(s, { className: "ttw:size-3.5 ttw:text-muted-foreground" })]
38
- }),
39
- " ",
40
- v.subcopySuffix
41
- ] }) : v.subcopyPlain
42
- }),
43
- /* @__PURE__ */ a("div", {
44
- className: "ttw:w-full ttw:max-w-lg",
45
- children: /* @__PURE__ */ a(n, {
46
- status: p,
47
- errorMessage: m,
48
- accept: d,
49
- maxFiles: f,
50
- onFilesSelected: u,
51
- labels: v.dropzone
52
- })
53
- }),
54
- /* @__PURE__ */ a(e, {
55
- type: "button",
56
- variant: "outline",
57
- onClick: h,
58
- children: v.enterManually
59
- })
60
- ]
61
- });
62
- }
63
- //#endregion
64
- export { c as AddBillPanel, c as default };
1
+ import "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import "react/jsx-runtime";
@@ -1,2 +1 @@
1
- import "./index6.js";
2
1
  import "./index7.js";
@@ -1,8 +1,18 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index9.js
2
- var e = {
3
- dialogTitle: "Add a bill",
4
- dialogDescription: "Upload a bill to scan its details automatically, or enter it manually.",
5
- dropzoneFileInput: "Choose a file to upload for this new bill"
6
- };
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;
9
+ }
10
+ t.push({
11
+ heading: n.sectionHeading,
12
+ items: [n]
13
+ });
14
+ }
15
+ return t;
16
+ }
7
17
  //#endregion
8
- export { e as ADD_BILL_DIALOG_LABELS_EN };
18
+ export { e as groupBySectionHeading };
@@ -8,10 +8,10 @@ import "../../../shared/data-access/dist/index.js";
8
8
  import { useAnalyticsTrack as n } from "../../../shared/feature/dist/lib/analytics/hooks.js";
9
9
  import { useWidgetConfig as r } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
10
10
  import "../../../shared/feature/dist/index.js";
11
- import { ApprovalPoliciesSettings as i } from "../../../shared/approval-policy/feature/dist/lib/ApprovalPoliciesSettings.js";
12
- import "../../../shared/approval-policy/feature/dist/index.js";
13
- import { MoniteRegionProvider as a } from "../../../shared/monite-wrapper/feature/dist/lib/MoniteRegionProvider.js";
11
+ import { MoniteRegionProvider as i } from "../../../shared/monite-wrapper/feature/dist/lib/MoniteRegionProvider.js";
14
12
  import "../../../shared/monite-wrapper/feature/dist/index.js";
13
+ import { ApprovalPoliciesSettings as a } from "../../../shared/approval-policy/feature/dist/lib/ApprovalPoliciesSettings.js";
14
+ import "../../../shared/approval-policy/feature/dist/index.js";
15
15
  import { DEFAULT_FEATURE_LABELS as o } from "./index3.js";
16
16
  import { SettingsSection as s, mergeAdditionalSections as c } from "./index4.js";
17
17
  import { SettingsWidgetAnalyticsEvent as l, WIDGET_NAME as u } from "./index2.js";
@@ -49,10 +49,10 @@ var w = {
49
49
  [s.Legal]: [],
50
50
  [s.Help]: []
51
51
  };
52
- function T({ labels: t, featureLabels: a, acceptInviteRedirectUri: u, helpContactUrl: T, helpFaq: E, profileContactUrl: D, selectedSection: O, defaultSelectedSection: k, onSelectedSectionChange: A, additionalSections: j, profileContent: M, teamContent: N, billPayContent: P, helpContent: F, expenseContent: I, accountingContent: L, invoiceContent: R, legalContent: z }) {
52
+ function T({ labels: t, featureLabels: i, acceptInviteRedirectUri: u, helpContactUrl: T, helpFaq: E, profileContactUrl: D, selectedSection: O, defaultSelectedSection: k, onSelectedSectionChange: A, additionalSections: j, profileContent: M, teamContent: N, billPayContent: P, helpContent: F, expenseContent: I, accountingContent: L, invoiceContent: R, legalContent: z }) {
53
53
  let B = {
54
54
  ...o,
55
- ...a
55
+ ...i
56
56
  }, V = x(null), H = n();
57
57
  b(() => {
58
58
  H(l.Mounted);
@@ -84,7 +84,7 @@ function T({ labels: t, featureLabels: a, acceptInviteRedirectUri: u, helpContac
84
84
  {
85
85
  id: s.BillPay,
86
86
  label: B.billPaySection,
87
- content: P ?? /* @__PURE__ */ S(i, {
87
+ content: P ?? /* @__PURE__ */ S(a, {
88
88
  showHeaderTitle: !1,
89
89
  componentLabels: { header: { Description: B.billPayDescription } }
90
90
  })
@@ -129,14 +129,14 @@ function T({ labels: t, featureLabels: a, acceptInviteRedirectUri: u, helpContac
129
129
  onSectionChange: Z
130
130
  });
131
131
  }
132
- function E({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: i, linkComponent: o, implementation: s, uiFramework: c, errorFallback: l, onError: d, finopsThemeColors: f, analytics: p, disclosuresAcceptance: m, providerLabels: h, ...g }) {
133
- return /* @__PURE__ */ S(a, {
132
+ function E({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: a, linkComponent: o, implementation: s, uiFramework: c, errorFallback: l, onError: d, finopsThemeColors: f, analytics: p, disclosuresAcceptance: m, providerLabels: h, ...g }) {
133
+ return /* @__PURE__ */ S(i, {
134
134
  widgetName: u,
135
135
  baseUrl: e,
136
136
  widgetToken: t,
137
137
  organizationId: n,
138
138
  configClient: r,
139
- gatewayRouting: i,
139
+ gatewayRouting: a,
140
140
  linkComponent: o,
141
141
  implementation: s,
142
142
  uiFramework: c,