@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
@@ -2,69 +2,70 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
6
- import { formatCalendarDate as t } from "../../../shared/util/dist/lib/formatCalendarDate.js";
7
- import { buildPayableAuditHistory as n, hasUnattributedAuditRows as r } from "../../../shared/util/dist/lib/auditHistory/buildPayableAuditHistory.js";
8
- import { hasAnyScope as i } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
9
- import { Scope as a } from "../../../shared/data-access/dist/lib/scopes.js";
10
- import { useAllLedgerAccountsQuery as ee } from "../../../shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js";
11
- import "../../../shared/data-access/dist/index.js";
12
- import "../../../shared/ui/dist/index.js";
13
- import { useWidgetConfig as te } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
14
- import { useOrganizationUserNames as ne } from "../../../shared/feature/dist/lib/user/useOrganizationUserNames.js";
15
- import "../../../shared/feature/dist/index.js";
16
- import { hasUnpaidBalance as re } from "../../util/dist/lib/derivePayableStatus.js";
17
- import { formatScheduledDateLabel as ie } from "../../util/dist/lib/formatScheduledDateLabel.js";
18
- import { isEditablePayableStatus as ae } from "../../util/dist/lib/isEditablePayableStatus.js";
19
- import { resolveVendor as oe } from "../../util/dist/lib/resolveVendor.js";
20
- import { BillCreateScreen as se } from "../../ui/dist/index53.js";
21
- import { BillDecisionDialog as o } from "../../ui/dist/index59.js";
22
- import { DiscardChangesDialog as ce } from "../../ui/dist/index65.js";
23
- import { BillDuplicateNotice as le } from "../../ui/dist/index70.js";
24
- import { BillRejectedBanner as ue } from "../../ui/dist/index73.js";
25
- import { ExtractionNotice as de } from "../../ui/dist/index90.js";
26
- import { UnsavedBillDialog as fe } from "../../ui/dist/index99.js";
5
+ import { toast as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
6
+ import { formatCalendarDate as t } from "../../../../shared/util/dist/lib/formatCalendarDate.js";
7
+ import { buildPayableAuditHistory as n, hasUnattributedAuditRows as r } from "../../../../shared/util/dist/lib/auditHistory/buildPayableAuditHistory.js";
8
+ import { hasAnyScope as i } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
9
+ import { Scope as a } from "../../../../shared/data-access/dist/lib/scopes.js";
10
+ import { useAllLedgerAccountsQuery as ee } from "../../../../shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js";
11
+ import "../../../../shared/data-access/dist/index.js";
12
+ import "../../../../shared/ui/dist/index.js";
13
+ import { useWidgetConfig as te } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
14
+ import { useOrganizationUserNames as ne } from "../../../../shared/feature/dist/lib/user/useOrganizationUserNames.js";
15
+ import { useLocalCalendarDay as re } from "../../../../shared/feature/dist/lib/calendar/useLocalCalendarDay.js";
16
+ import "../../../../shared/feature/dist/index.js";
17
+ import { hasUnpaidBalance as ie } from "../../../util/dist/lib/derivePayableStatus.js";
18
+ import { formatScheduledDateLabel as ae } from "../../../util/dist/lib/formatScheduledDateLabel.js";
19
+ import { isEditablePayableStatus as oe } from "../../../util/dist/lib/isEditablePayableStatus.js";
20
+ import { resolveVendor as se } from "../../../util/dist/lib/resolveVendor.js";
21
+ import { BillDecisionDialog as o } from "../../../ui/dist/index4.js";
22
+ import "../../../ui/dist/index.js";
23
+ import { BillCreateScreen as ce } from "../../ui/dist/index31.js";
24
+ import { BillDuplicateNotice as le } from "../../ui/dist/index37.js";
25
+ import { BillRejectedBanner as ue } from "../../ui/dist/index40.js";
26
+ import { DiscardChangesDialog as de } from "../../ui/dist/index43.js";
27
+ import { ExtractionNotice as fe } from "../../ui/dist/index46.js";
28
+ import { UnsavedBillDialog as pe } from "../../ui/dist/index52.js";
27
29
  import "../../ui/dist/index.js";
28
- import { BILL_CREATE_MESSAGE_LABELS_EN as pe, mergeBillCreateScreenCopy as me } from "./index24.js";
29
- import { usePayableApprovalRequestsQuery as he } from "../../data-access/dist/lib/usePayableApprovalRequests.js";
30
- import { usePayableHistoryQuery as ge } from "../../data-access/dist/lib/usePayableHistoryQuery.js";
31
- import { useAllPayableLineItemsQuery as _e } from "../../data-access/dist/lib/usePayableLineItems.js";
32
- import { useUpdatePayableMutation as ve } from "../../data-access/dist/lib/usePayableMutations/useUpdatePayableMutation.js";
33
- import { usePayableQuery as ye } from "../../data-access/dist/lib/usePayablesQueries/usePayableQuery.js";
30
+ import { BILL_CREATE_MESSAGE_LABELS_EN as me, mergeBillCreateScreenCopy as he } from "./index23.js";
31
+ import { usePayableApprovalRequestsQuery as ge } from "../../data-access/dist/index2.js";
32
+ import { usePayableHistoryQuery as _e } from "../../data-access/dist/index3.js";
33
+ import { useAllPayableLineItemsQuery as ve } from "../../data-access/dist/index4.js";
34
+ import { useUpdatePayableMutation as ye } from "../../data-access/dist/index15.js";
35
+ import { usePayableQuery as be } from "../../data-access/dist/index21.js";
34
36
  import "../../data-access/dist/index.js";
35
- import { useBillCreateController as be } from "./index32.js";
36
- import { useBillForm as xe } from "./index34.js";
37
- import { buildPaymentHistory as Se } from "./index2.js";
38
- import { currentApprovalRound as Ce } from "./index3.js";
39
- import { usePayableDuplicateReview as we } from "./index6.js";
40
- import { canOverrideApprovalPolicy as Te, canReadCounterpartBankAccounts as Ee } from "./index7.js";
41
- import { usePayableApprovalRoundStart as De } from "./index11.js";
42
- import { useApprovalPolicyCardView as Oe } from "./index12.js";
43
- import { resolveBillRejectionNotice as ke } from "./index13.js";
44
- import { useCurrentApprovalRequestId as Ae } from "./index14.js";
45
- import { usePayableDetailActions as je } from "./index15.js";
46
- import { useLocalCalendarDay as Me } from "./index16.js";
47
- import { useScheduledPayment as Ne } from "./index17.js";
48
- import { useDraftDelete as Pe } from "./index18.js";
49
- import { buildBillDetailView as Fe } from "./index20.js";
50
- import { resolveEditorDismissal as Ie } from "./index21.js";
51
- import { SourceDocumentContainer as Le } from "./index25.js";
52
- import { usePayableAchInstructions as Re } from "../../../shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js";
53
- import "../../../shared/counterpart-management/feature/dist/index.js";
54
- import { useVendorSectionProps as ze } from "./index28.js";
55
- import { billCreateTestIds as s } from "./index35.js";
37
+ import { useBillCreateController as xe } from "./index31.js";
38
+ import { useBillForm as Se } from "./index33.js";
39
+ import { buildPaymentHistory as Ce } from "./index2.js";
40
+ import { currentApprovalRound as we } from "./index3.js";
41
+ import { usePayableDuplicateReview as Te } from "./index6.js";
42
+ import { canOverrideApprovalPolicy as Ee, canReadCounterpartBankAccounts as De } from "./index7.js";
43
+ import { usePayableApprovalRoundStart as Oe } from "./index11.js";
44
+ import { useApprovalPolicyCardView as ke } from "./index12.js";
45
+ import { resolveBillRejectionNotice as Ae } from "./index13.js";
46
+ import { useCurrentApprovalRequestId as je } from "./index14.js";
47
+ import { usePayableDetailActions as Me } from "./index15.js";
48
+ import { useScheduledPayment as Ne } from "./index16.js";
49
+ import { useDraftDelete as Pe } from "./index17.js";
50
+ import { buildBillDetailView as Fe } from "./index19.js";
51
+ import { resolveEditorDismissal as Ie } from "./index20.js";
52
+ import { SourceDocumentContainer as Le } from "./index24.js";
53
+ import { usePayableAchInstructions as Re } from "../../../../shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js";
54
+ import "../../../../shared/counterpart-management/feature/dist/index.js";
55
+ import { useVendorSectionProps as ze } from "./index27.js";
56
+ import { billCreateTestIds as s } from "./index34.js";
56
57
  import { cloneElement as Be, isValidElement as Ve, useCallback as c, useEffect as He, useMemo as l, useRef as Ue, useState as u } from "react";
57
58
  import { Fragment as We, jsx as d, jsxs as Ge } from "react/jsx-runtime";
58
59
  import { Trash2Icon as Ke } from "lucide-react";
59
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js
60
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index35.js
60
61
  function qe(e) {
61
62
  let t = [...new Set(e)];
62
63
  return t.length > 0 ? t : void 0;
63
64
  }
64
65
  function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye, readOnly: m = !1, copy: Xe, onCollapse: Ze, onEdit: Qe, onOpenBill: h, renderPaymentFlows: $e }) {
65
- let g = l(() => me(Xe), [Xe]), et = p ? void 0 : Ye, [tt, nt] = u(et), [rt, it] = u(!!et), [at, ot] = u(!1), [st, _] = u(!1), [ct, v] = u(), y = c((e) => {
66
+ let g = l(() => he(Xe), [Xe]), et = p ? void 0 : Ye, [tt, nt] = u(et), [rt, it] = u(!!et), [at, ot] = u(!1), [st, _] = u(!1), [ct, v] = u(), y = c((e) => {
66
67
  v(() => e);
67
- }, []), [lt, ut] = u(), b = p ?? lt, x = ye(b, { pollWhileOcrProcessing: !0 }), S = _e(b), { initResponse: C } = te(), dt = !!C, ft = i(C?.scopes, [a.AccountingConfigReadOrg]), w = ee({ enabled: ft }), T = x.data, E = !b || !!T, D = !m && E && !!b && T?.status !== "draft", pt = !m && !!T && !ae(T?.status), O = m || pt, k = xe({
68
+ }, []), [lt, ut] = u(), b = p ?? lt, x = be(b, { pollWhileOcrProcessing: !0 }), S = ve(b), { initResponse: C } = te(), dt = !!C, ft = i(C?.scopes, [a.AccountingConfigReadOrg]), w = ee({ enabled: ft }), T = x.data, E = !b || !!T, D = !m && E && !!b && T?.status !== "draft", pt = !m && !!T && !oe(T?.status), O = m || pt, k = Se({
68
69
  payable: T,
69
70
  lineItems: S.lineItems
70
71
  }), A = T?.counterpart_id;
@@ -77,12 +78,12 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
77
78
  payableId: b,
78
79
  scheduledPaymentDate: T?.scheduled_payment_date,
79
80
  enabled: m || D
80
- }), ht = Me(), M = l(() => j.hasScheduledPayment && j.scheduledDate ? ie(j.scheduledDate, g.scheduledRelativeDay, ht) : void 0, [
81
+ }), ht = re(), M = l(() => j.hasScheduledPayment && j.scheduledDate ? ae(j.scheduledDate, g.scheduledRelativeDay, ht) : void 0, [
81
82
  j.hasScheduledPayment,
82
83
  j.scheduledDate,
83
84
  g.scheduledRelativeDay,
84
85
  ht
85
- ]), N = Ee(C?.scopes), gt = i(C?.scopes, [a.PayableWriteOrg]), _t = i(C?.scopes, [a.CounterpartWriteOrg]) && gt, P = _t && re(T?.status) && !j.hasScheduledPayment && !j.isResolving, vt = P && N, yt = P || _t && T?.status === "rejected", bt = !m && E && (!b || T?.status === "draft") && !j.hasScheduledPayment && !j.isResolving, F = ze({
86
+ ]), N = De(C?.scopes), gt = i(C?.scopes, [a.PayableWriteOrg]), _t = i(C?.scopes, [a.CounterpartWriteOrg]) && gt, P = _t && ie(T?.status) && !j.hasScheduledPayment && !j.isResolving, vt = P && N, yt = P || _t && T?.status === "rejected", bt = !m && E && (!b || T?.status === "draft") && !j.hasScheduledPayment && !j.isResolving, F = ze({
86
87
  payableId: b,
87
88
  counterpartId: m ? A : tt,
88
89
  payableCounterpartId: A,
@@ -99,7 +100,7 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
99
100
  }), I = F.activePayToOperation === "missingInstructions" ? bt || yt : F.activePayToOperation === "existingInstructions" ? bt || P : F.activePayToOperation === "vendor" && m ? vt : !1, xt = !!(b && rt) && !tt, L = x.refetch, St = c(async () => {
100
101
  let { data: e } = await L();
101
102
  return e?.status ?? void 0;
102
- }, [L]), Ct = ve(), [R, wt] = u(!1), z = Ue(void 0), Tt = c(async () => {
103
+ }, [L]), Ct = ye(), [R, wt] = u(!1), z = Ue(void 0), Tt = c(async () => {
103
104
  if (z.current) return z.current;
104
105
  let t = (async () => {
105
106
  if (I) {
@@ -188,7 +189,7 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
188
189
  F.discardPayToEdits,
189
190
  F.isEditingPayTo
190
191
  ]);
191
- let Et = l(() => D ? { draftSaved: pe.submittedSaved } : void 0, [D]), V = be({
192
+ let Et = l(() => D ? { draftSaved: me.submittedSaved } : void 0, [D]), V = xe({
192
193
  payableId: p,
193
194
  form: k,
194
195
  labels: Et,
@@ -201,20 +202,20 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
201
202
  onDraftSaved: () => f(!1),
202
203
  onFinalized: () => f(!1),
203
204
  readSavedStatus: D ? St : void 0
204
- }), Dt = !!(V.isSavingDraft || V.isFinalizing || F.isVendorSavePending), H = m ? b : void 0, U = Ae({
205
+ }), Dt = !!(V.isSavingDraft || V.isFinalizing || F.isVendorSavePending), H = m ? b : void 0, U = je({
205
206
  payableId: H,
206
207
  status: T?.status
207
- }), Ot = Ue(null), [kt, At] = u(!1), jt = oe(T), W = Re({
208
+ }), Ot = Ue(null), [kt, At] = u(!1), jt = se(T), W = Re({
208
209
  counterpartId: m ? A : void 0,
209
210
  currency: T?.currency,
210
211
  currentBankAccountId: m ? T?.counterpart_bank_account_id ?? void 0 : void 0,
211
212
  enabled: N && m
212
- }), G = Oe({
213
+ }), G = ke({
213
214
  payableId: H,
214
215
  approvalPolicyId: T?.approval_policy_id,
215
216
  enabled: m,
216
217
  copy: g.approvalPolicyCopy
217
- }), Mt = Te({
218
+ }), Mt = Ee({
218
219
  status: T?.status,
219
220
  scopes: C?.scopes,
220
221
  arePendingApproversUnknown: G.isLoading,
@@ -225,7 +226,7 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
225
226
  F.discardPayToEdits(), e?.();
226
227
  };
227
228
  F.hasUnsavedVendorChanges ? y(t) : t();
228
- }, [y, F]), { actions: Rt, decisionDialog: zt, isActionPending: Bt } = je({
229
+ }, [y, F]), { actions: Rt, decisionDialog: zt, isActionPending: Bt } = Me({
229
230
  payableId: It,
230
231
  status: T?.status,
231
232
  currentApprovalRequestId: U.id,
@@ -274,14 +275,14 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
274
275
  label: [e.nominal_code, e.name].filter(Boolean).join(" — ")
275
276
  })), [w.data]), J;
276
277
  dt && (ft ? w.isError ? J = g.lineItemsGlCodeUnavailable.loadError : !w.isResolving && q.length === 0 && (J = g.lineItemsGlCodeUnavailable.empty) : J = g.lineItemsGlCodeUnavailable.noAccess);
277
- let Jt = !dt || !!J || w.isResolving, Yt = ft && !w.isResolving && !w.isError, Y = ge(H), Xt = T?.status === "rejected" || !m && D, Zt = i(C?.scopes, [a.ApprovalRequestReadOrg]), Qt = Xt && Zt, $t = i(C?.scopes, [a.UserReadOrg]), { userNames: X, isError: en, isResolving: tn } = ne({ enabled: (m || Xt) && $t }), nn = l(() => n(Y.data?.data ?? [], X, g.history), [
278
+ let Jt = !dt || !!J || w.isResolving, Yt = ft && !w.isResolving && !w.isError, Y = _e(H), Xt = T?.status === "rejected" || !m && D, Zt = i(C?.scopes, [a.ApprovalRequestReadOrg]), Qt = Xt && Zt, $t = i(C?.scopes, [a.UserReadOrg]), { userNames: X, isError: en, isResolving: tn } = ne({ enabled: (m || Xt) && $t }), nn = l(() => n(Y.data?.data ?? [], X, g.history), [
278
279
  Y.data,
279
280
  X,
280
281
  g.history
281
- ]), rn = $t && en && r(Y.data?.data ?? [], nn, X), an = De({
282
+ ]), rn = $t && en && r(Y.data?.data ?? [], nn, X), an = Oe({
282
283
  payableId: b,
283
284
  enabled: Qt
284
- }), on = he(b, { enabled: Qt }), sn = l(() => Ce(on.data?.data, an.roundStartedAt), [on.data, an.roundStartedAt]), Z = l(() => ke({
285
+ }), on = ge(b, { enabled: Qt }), sn = l(() => we(on.data?.data, an.roundStartedAt), [on.data, an.roundStartedAt]), Z = l(() => Ae({
285
286
  payableStatus: T?.status,
286
287
  approvalRequests: sn,
287
288
  userNames: X,
@@ -293,7 +294,7 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
293
294
  sn,
294
295
  X,
295
296
  g.detail
296
- ]), cn = l(() => Se({
297
+ ]), cn = l(() => Ce({
297
298
  records: j.paymentRecords,
298
299
  events: Y.data?.data ?? [],
299
300
  currencyCode: T?.currency,
@@ -410,7 +411,7 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
410
411
  V,
411
412
  _n,
412
413
  f
413
- ]), $ = we({
414
+ ]), $ = Te({
414
415
  payable: T,
415
416
  onOpenPayable: h ? mn : void 0,
416
417
  onRemoved: () => f(!1),
@@ -437,10 +438,10 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
437
438
  labels: $.removeBillLabel ? { removeBillButton: $.removeBillLabel } : void 0,
438
439
  testId: s.duplicateNotice
439
440
  }) : null,
440
- xn ? /* @__PURE__ */ d(de, { onDismiss: () => ot(!0) }) : null
441
+ xn ? /* @__PURE__ */ d(fe, { onDismiss: () => ot(!0) }) : null
441
442
  ] }) : void 0;
442
443
  return /* @__PURE__ */ Ge(We, { children: [
443
- /* @__PURE__ */ d(se, {
444
+ /* @__PURE__ */ d(ce, {
444
445
  open: Je,
445
446
  onOpenChange: yn,
446
447
  title: dn,
@@ -533,7 +534,7 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
533
534
  showSubmit: !O && E,
534
535
  testId: s.dialog
535
536
  }),
536
- /* @__PURE__ */ d(fe, {
537
+ /* @__PURE__ */ d(pe, {
537
538
  open: st,
538
539
  onSaveDraft: vn,
539
540
  onDiscard: gn,
@@ -546,7 +547,7 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
546
547
  discardTestId: s.unsavedDiscard,
547
548
  closeTestId: s.unsavedClose
548
549
  }),
549
- /* @__PURE__ */ d(ce, {
550
+ /* @__PURE__ */ d(de, {
550
551
  open: !!ct,
551
552
  onDiscard: () => {
552
553
  let e = ct;
@@ -0,0 +1,4 @@
1
+ import "./index23.js";
2
+ import "./index31.js";
3
+ import "./index33.js";
4
+ import "./index35.js";
@@ -1,9 +1,9 @@
1
- import { AWAITING_APPROVAL_LABEL_EN as e, AWAITING_APPROVAL_UNKNOWN_LABEL_EN as t, BILL_DETAIL_ACTIONS_LABELS_EN as n, PAYMENT_HISTORY_LABELS_EN as r, SCHEDULED_RELATIVE_DAY_LABELS_EN as i, SCHEDULED_STATUS_BADGE_LABEL_EN as a, SCHEDULED_SUMMARY_LABEL_EN as o } from "../../util/dist/lib/billDetailLabels.js";
1
+ import { AWAITING_APPROVAL_LABEL_EN as e, AWAITING_APPROVAL_UNKNOWN_LABEL_EN as t, BILL_DETAIL_ACTIONS_LABELS_EN as n, PAYMENT_HISTORY_LABELS_EN as r, SCHEDULED_RELATIVE_DAY_LABELS_EN as i, SCHEDULED_STATUS_BADGE_LABEL_EN as a, SCHEDULED_SUMMARY_LABEL_EN as o } from "../../../util/dist/lib/billDetailLabels.js";
2
2
  import { APPROVAL_POLICY_RULE_COPY_EN as s } from "./index8.js";
3
- import { PAYABLE_AUDIT_HISTORY_LABELS_EN as c } from "./index22.js";
4
- import { BILL_DETAILS_SHEET_LABELS_EN as l } from "../../ui/dist/index61.js";
3
+ import { PAYABLE_AUDIT_HISTORY_LABELS_EN as c } from "./index21.js";
4
+ import { BILL_DETAILS_SHEET_LABELS_EN as l } from "../../ui/dist/index33.js";
5
5
  import "../../ui/dist/index.js";
6
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js
6
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index37.js
7
7
  var u = {
8
8
  subtitle: "Accounts payable",
9
9
  vendorRow: "Vendor",
@@ -2,43 +2,44 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { buildPayableAuditHistory as e, hasUnattributedAuditRows as ee } from "../../../shared/util/dist/lib/auditHistory/buildPayableAuditHistory.js";
6
- import { hasAnyScope as t } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
7
- import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
8
- import { useAllLedgerAccountsQuery as te } from "../../../shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js";
9
- import "../../../shared/data-access/dist/index.js";
10
- import { useWidgetConfig as ne } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
11
- import { useOrganizationUserNames as re } from "../../../shared/feature/dist/lib/user/useOrganizationUserNames.js";
12
- import "../../../shared/feature/dist/index.js";
13
- import { mergeDecisionDialogCopy as ie, mergePaymentHistoryMethodLabels as ae } from "../../util/dist/lib/billDetailLabels.js";
14
- import { formatScheduledDateLabel as r } from "../../util/dist/lib/formatScheduledDateLabel.js";
15
- import { hasSuspectedPayableDuplicate as i } from "../../util/dist/lib/payableDuplicates.js";
16
- import { mapPayableToBillDetails as a } from "./index19.js";
17
- import { BillDecisionDialog as o } from "../../ui/dist/index59.js";
18
- import { BillDetailsSheet as s } from "../../ui/dist/index62.js";
19
- import { BillDuplicateNotice as c } from "../../ui/dist/index70.js";
5
+ import { buildPayableAuditHistory as e, hasUnattributedAuditRows as ee } from "../../../../shared/util/dist/lib/auditHistory/buildPayableAuditHistory.js";
6
+ import { hasAnyScope as t } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
7
+ import { Scope as n } from "../../../../shared/data-access/dist/lib/scopes.js";
8
+ import { useAllLedgerAccountsQuery as te } from "../../../../shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js";
9
+ import "../../../../shared/data-access/dist/index.js";
10
+ import { useWidgetConfig as ne } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
11
+ import { useOrganizationUserNames as re } from "../../../../shared/feature/dist/lib/user/useOrganizationUserNames.js";
12
+ import { useLocalCalendarDay as ie } from "../../../../shared/feature/dist/lib/calendar/useLocalCalendarDay.js";
13
+ import "../../../../shared/feature/dist/index.js";
14
+ import { mergeDecisionDialogCopy as ae, mergePaymentHistoryMethodLabels as r } from "../../../util/dist/lib/billDetailLabels.js";
15
+ import { formatScheduledDateLabel as i } from "../../../util/dist/lib/formatScheduledDateLabel.js";
16
+ import { hasSuspectedPayableDuplicate as a } from "../../../util/dist/lib/payableDuplicates.js";
17
+ import { mapPayableToBillDetails as o } from "./index18.js";
18
+ import { BillDecisionDialog as s } from "../../../ui/dist/index4.js";
19
+ import "../../../ui/dist/index.js";
20
+ import { BillDetailsSheet as c } from "../../ui/dist/index34.js";
21
+ import { BillDuplicateNotice as l } from "../../ui/dist/index37.js";
20
22
  import "../../ui/dist/index.js";
21
- import { usePayableApprovalRequestsQuery as l } from "../../data-access/dist/lib/usePayableApprovalRequests.js";
22
- import { usePayableHistoryQuery as u } from "../../data-access/dist/lib/usePayableHistoryQuery.js";
23
- import { useAllPayableLineItemsQuery as d } from "../../data-access/dist/lib/usePayableLineItems.js";
24
- import { usePayableQuery as f } from "../../data-access/dist/lib/usePayablesQueries/usePayableQuery.js";
23
+ import { usePayableApprovalRequestsQuery as u } from "../../data-access/dist/index2.js";
24
+ import { usePayableHistoryQuery as d } from "../../data-access/dist/index3.js";
25
+ import { useAllPayableLineItemsQuery as f } from "../../data-access/dist/index4.js";
26
+ import { usePayableQuery as p } from "../../data-access/dist/index21.js";
25
27
  import "../../data-access/dist/index.js";
26
- import { buildPaymentHistory as p } from "./index2.js";
27
- import { currentApprovalRound as oe } from "./index3.js";
28
- import { canOverrideApprovalPolicy as se, canReadCounterpartBankAccounts as ce } from "./index7.js";
29
- import { usePayableApprovalRoundStart as le } from "./index11.js";
30
- import { useApprovalPolicyCardView as ue } from "./index12.js";
31
- import { resolveBillRejectionNotice as de } from "./index13.js";
32
- import { useCurrentApprovalRequestId as fe } from "./index14.js";
33
- import { usePayableDetailActions as pe } from "./index15.js";
34
- import { useLocalCalendarDay as me } from "./index16.js";
35
- import { useScheduledPayment as he } from "./index17.js";
36
- import { usePayableAchInstructions as ge } from "../../../shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js";
37
- import "../../../shared/counterpart-management/feature/dist/index.js";
38
- import { BILL_DETAILS_LABELS_EN as m } from "./index38.js";
28
+ import { buildPaymentHistory as oe } from "./index2.js";
29
+ import { currentApprovalRound as se } from "./index3.js";
30
+ import { canOverrideApprovalPolicy as ce, canReadCounterpartBankAccounts as le } from "./index7.js";
31
+ import { usePayableApprovalRoundStart as ue } from "./index11.js";
32
+ import { useApprovalPolicyCardView as de } from "./index12.js";
33
+ import { resolveBillRejectionNotice as fe } from "./index13.js";
34
+ import { useCurrentApprovalRequestId as pe } from "./index14.js";
35
+ import { usePayableDetailActions as me } from "./index15.js";
36
+ import { useScheduledPayment as he } from "./index16.js";
37
+ import { usePayableAchInstructions as ge } from "../../../../shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js";
38
+ import "../../../../shared/counterpart-management/feature/dist/index.js";
39
+ import { BILL_DETAILS_LABELS_EN as m } from "./index37.js";
39
40
  import { useMemo as h, useRef as _e, useState as ve } from "react";
40
41
  import { Fragment as ye, jsx as g, jsxs as be } from "react/jsx-runtime";
41
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js
42
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index38.js
42
43
  function _({ open: _, onOpenChange: xe, payableId: v, onClose: y, onExpand: b, onEdit: x, testId: S, labels: C, renderPaymentFlows: w }) {
43
44
  let T = h(() => ({
44
45
  ...m,
@@ -63,7 +64,7 @@ function _({ open: _, onOpenChange: xe, payableId: v, onClose: y, onExpand: b, o
63
64
  ...C?.sheet?.auditHistory
64
65
  }
65
66
  },
66
- decisionDialog: ie(m.decisionDialog, C?.decisionDialog),
67
+ decisionDialog: ae(m.decisionDialog, C?.decisionDialog),
67
68
  approvalPolicyCopy: {
68
69
  ...m.approvalPolicyCopy,
69
70
  ...C?.approvalPolicyCopy
@@ -80,14 +81,14 @@ function _({ open: _, onOpenChange: xe, payableId: v, onClose: y, onExpand: b, o
80
81
  ...m.actionSuccess,
81
82
  ...C?.actionSuccess
82
83
  },
83
- paymentHistoryMethodLabels: ae(C?.paymentHistoryMethodLabels)
84
- }), [C]), E = f(v), D = d(v), O = te(), { initResponse: k } = ne(), A = E.data, j = _e(null), [M, Se] = ve(!1), N = fe({
84
+ paymentHistoryMethodLabels: r(C?.paymentHistoryMethodLabels)
85
+ }), [C]), E = p(v), D = f(v), O = te(), { initResponse: k } = ne(), A = E.data, j = _e(null), [M, Se] = ve(!1), N = pe({
85
86
  payableId: v,
86
87
  status: A?.status
87
- }), Ce = A?.status === "rejected", we = t(k?.scopes, [n.ApprovalRequestReadOrg]), P = Ce && we, F = le({
88
+ }), Ce = A?.status === "rejected", we = t(k?.scopes, [n.ApprovalRequestReadOrg]), P = Ce && we, F = ue({
88
89
  payableId: v,
89
90
  enabled: P
90
- }), I = l(v, { enabled: P }), L = t(k?.scopes, [n.UserReadOrg]), { userNames: R, isError: Te, isResolving: Ee } = re({ enabled: L }), z = h(() => oe(I.data?.data, F.roundStartedAt), [I.data, F.roundStartedAt]), B = h(() => de({
91
+ }), I = u(v, { enabled: P }), L = t(k?.scopes, [n.UserReadOrg]), { userNames: R, isError: Te, isResolving: Ee } = re({ enabled: L }), z = h(() => se(I.data?.data, F.roundStartedAt), [I.data, F.roundStartedAt]), B = h(() => fe({
91
92
  payableStatus: A?.status,
92
93
  approvalRequests: z,
93
94
  userNames: R,
@@ -99,11 +100,11 @@ function _({ open: _, onOpenChange: xe, payableId: v, onClose: y, onExpand: b, o
99
100
  z,
100
101
  R,
101
102
  T
102
- ]), V = ue({
103
+ ]), V = de({
103
104
  payableId: v,
104
105
  approvalPolicyId: A?.approval_policy_id,
105
106
  copy: T.approvalPolicyCopy
106
- }), H = se({
107
+ }), H = ce({
107
108
  status: A?.status,
108
109
  scopes: k?.scopes,
109
110
  arePendingApproversUnknown: V.isLoading,
@@ -112,12 +113,12 @@ function _({ open: _, onOpenChange: xe, payableId: v, onClose: y, onExpand: b, o
112
113
  }), U = !!N.id, W = N.isLoading || V.isLoading, G = h(() => V.pendingApprovers.length ? V.pendingApprovers.flatMap((e) => e.names) : void 0, [V.pendingApprovers]), K = he({
113
114
  payableId: v,
114
115
  scheduledPaymentDate: A?.scheduled_payment_date
115
- }), q = ce(k?.scopes), J = ge({
116
+ }), q = le(k?.scopes), J = ge({
116
117
  counterpartId: A?.counterpart_id,
117
118
  currency: A?.currency,
118
119
  currentBankAccountId: A?.counterpart_bank_account_id,
119
120
  enabled: q
120
- }), { actions: De, decisionDialog: Oe } = pe({
121
+ }), { actions: De, decisionDialog: Oe } = me({
121
122
  payableId: A ? v : void 0,
122
123
  status: A?.status,
123
124
  currentApprovalRequestId: N.id,
@@ -152,16 +153,16 @@ function _({ open: _, onOpenChange: xe, payableId: v, onClose: y, onExpand: b, o
152
153
  onActionSucceeded: (e) => {
153
154
  e === "reopen" && x?.();
154
155
  }
155
- }), Y = me(), X = h(() => K.hasScheduledPayment && K.scheduledDate ? r(K.scheduledDate, T.scheduledRelativeDay, Y) : void 0, [
156
+ }), Y = ie(), X = h(() => K.hasScheduledPayment && K.scheduledDate ? i(K.scheduledDate, T.scheduledRelativeDay, Y) : void 0, [
156
157
  K.hasScheduledPayment,
157
158
  K.scheduledDate,
158
159
  T.scheduledRelativeDay,
159
160
  Y
160
- ]), ke = X ? T.scheduledSummary(X.label) : void 0, Z = i(A) ? /* @__PURE__ */ g(c, { onOpenFullScreen: b }) : void 0, Q = u(v), $ = h(() => e(Q.data?.data ?? [], R, T.history), [
161
+ ]), ke = X ? T.scheduledSummary(X.label) : void 0, Z = a(A) ? /* @__PURE__ */ g(l, { onOpenFullScreen: b }) : void 0, Q = d(v), $ = h(() => e(Q.data?.data ?? [], R, T.history), [
161
162
  Q.data,
162
163
  R,
163
164
  T.history
164
- ]), Ae = L && Te && ee(Q.data?.data ?? [], $, R), je = h(() => p({
165
+ ]), Ae = L && Te && ee(Q.data?.data ?? [], $, R), je = h(() => oe({
165
166
  records: K.paymentRecords,
166
167
  events: Q.data?.data ?? [],
167
168
  currencyCode: A?.currency,
@@ -171,7 +172,7 @@ function _({ open: _, onOpenChange: xe, payableId: v, onClose: y, onExpand: b, o
171
172
  Q.data,
172
173
  A?.currency,
173
174
  T
174
- ]), Me = h(() => A ? a({
175
+ ]), Me = h(() => A ? o({
175
176
  payable: A,
176
177
  lineItems: D.lineItems,
177
178
  ledgerAccounts: O.data?.data ?? [],
@@ -193,7 +194,7 @@ function _({ open: _, onOpenChange: xe, payableId: v, onClose: y, onExpand: b, o
193
194
  q
194
195
  ]), Ne = E.isLoading || D.isResolving || O.isResolving || J.isLoading, Pe = E.isError || D.isError || O.isError;
195
196
  return /* @__PURE__ */ be(ye, { children: [
196
- /* @__PURE__ */ g(s, {
197
+ /* @__PURE__ */ g(c, {
197
198
  open: _,
198
199
  onOpenChange: xe,
199
200
  details: Me,
@@ -218,7 +219,7 @@ function _({ open: _, onOpenChange: xe, payableId: v, onClose: y, onExpand: b, o
218
219
  testId: S,
219
220
  labels: T.sheet
220
221
  }),
221
- /* @__PURE__ */ g(o, {
222
+ /* @__PURE__ */ g(s, {
222
223
  ...Oe,
223
224
  labels: { cancelButton: T.decisionDialog.cancelButton },
224
225
  testId: S ? `${S}-decision-dialog` : void 0,
@@ -0,0 +1,3 @@
1
+ import "./index18.js";
2
+ import "./index37.js";
3
+ import "./index38.js";
@@ -0,0 +1,17 @@
1
+ import { BanIcon as e, Trash2Icon as t } from "lucide-react";
2
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js
3
+ function n(n, r) {
4
+ return {
5
+ title: n.title,
6
+ description: n.description,
7
+ confirmButton: n.confirmButton,
8
+ presentation: {
9
+ alignment: "center",
10
+ icon: r === "delete" ? t : e,
11
+ tone: r === "confirm" ? "default" : "destructive",
12
+ actionWidth: "equal"
13
+ }
14
+ };
15
+ }
16
+ //#endregion
17
+ export { n as duplicateRemovalPrompt };
@@ -0,0 +1,5 @@
1
+ import { BILL_PAY_WIDGET_NAME as e } from "../../../util/dist/lib/widgetName.js";
2
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index40.js
3
+ var t = `${e}.bill_detail`, n = { Mounted: `${t}.mounted` };
4
+ //#endregion
5
+ export { n as BillDetailWidgetAnalyticsEvent, t as WIDGET_NAME };
@@ -0,0 +1,67 @@
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { useAnalyticsTrack as e } from "../../../../shared/feature/dist/lib/analytics/hooks.js";
6
+ import { WidgetProvider as t } from "../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
7
+ import "../../../../shared/feature/dist/index.js";
8
+ import { BillCreateDialog as n } from "./index35.js";
9
+ import "./index36.js";
10
+ import { BillDetailsContainer as r } from "./index38.js";
11
+ import "./index39.js";
12
+ import { BillDetailWidgetAnalyticsEvent as i, WIDGET_NAME as a } from "./index40.js";
13
+ import { useEffect as o } from "react";
14
+ import { jsx as s } from "react/jsx-runtime";
15
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index41.js
16
+ function c() {
17
+ let t = e();
18
+ o(() => {
19
+ t(i.Mounted);
20
+ }, [t]);
21
+ }
22
+ function l(e) {
23
+ return c(), /* @__PURE__ */ s(n, { ...e });
24
+ }
25
+ function u(e) {
26
+ return c(), /* @__PURE__ */ s(r, { ...e });
27
+ }
28
+ function d({ baseUrl: e, widgetToken: n, organizationId: r, configClient: i, gatewayRouting: o, linkComponent: c, implementation: u, uiFramework: d, errorFallback: f, onError: p, analytics: m, disclosuresAcceptance: h, providerLabels: g, ..._ }) {
29
+ return /* @__PURE__ */ s(t, {
30
+ widgetName: a,
31
+ baseUrl: e,
32
+ widgetToken: n,
33
+ organizationId: r,
34
+ configClient: i,
35
+ gatewayRouting: o,
36
+ linkComponent: c,
37
+ implementation: u,
38
+ uiFramework: d,
39
+ errorFallback: f,
40
+ onError: p,
41
+ analytics: m,
42
+ disclosuresAcceptance: h,
43
+ providerLabels: g,
44
+ children: /* @__PURE__ */ s(l, { ..._ })
45
+ });
46
+ }
47
+ function f({ baseUrl: e, widgetToken: n, organizationId: r, configClient: i, gatewayRouting: o, linkComponent: c, implementation: l, uiFramework: d, errorFallback: f, onError: p, analytics: m, disclosuresAcceptance: h, providerLabels: g, ..._ }) {
48
+ return /* @__PURE__ */ s(t, {
49
+ widgetName: a,
50
+ baseUrl: e,
51
+ widgetToken: n,
52
+ organizationId: r,
53
+ configClient: i,
54
+ gatewayRouting: o,
55
+ linkComponent: c,
56
+ implementation: l,
57
+ uiFramework: d,
58
+ errorFallback: f,
59
+ onError: p,
60
+ analytics: m,
61
+ disclosuresAcceptance: h,
62
+ providerLabels: g,
63
+ children: /* @__PURE__ */ s(u, { ..._ })
64
+ });
65
+ }
66
+ //#endregion
67
+ export { d as BillCreateWidget, f as BillDetailsWidget };
@@ -0,0 +1,40 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index5.js
2
+ var e = {
3
+ selectRow: ({ vendorLabel: e, invoiceNumberLabel: t, addedOnLabel: n }) => `Select bill — ${e}, invoice ${t}, added ${n}`,
4
+ openRow: ({ vendorLabel: e, invoiceNumberLabel: t, addedOnLabel: n }) => `View bill — ${e}, invoice ${t}, added ${n}`,
5
+ reviewGroup: ({ vendorLabel: e, count: t }) => `${e} — ${t} possible duplicate bills`,
6
+ selectGroup: ({ vendorLabel: e }) => `Select every bill from ${e}`,
7
+ deleteBillButton: "Remove this bill",
8
+ deleteConfirmTitle: "Remove duplicate bill?",
9
+ deleteConfirmDescription: "You can't undo this action.",
10
+ deleteConfirmButton: "Remove duplicate bill",
11
+ deleteConfirmBackButton: "Cancel",
12
+ cancelBillButton: "Cancel this bill",
13
+ confirmBillButton: "Confirm duplicate",
14
+ cancelConfirmTitle: "Cancel duplicate bill?",
15
+ cancelConfirmDescription: "You can't undo this action.",
16
+ cancelConfirmButton: "Cancel this bill",
17
+ cancelConfirmBackButton: "Back",
18
+ confirmDuplicateTitle: "Confirm duplicate?",
19
+ confirmDuplicateDescription: "This bill is already cancelled. This records it as a duplicate.",
20
+ notDuplicateAction: "Not a duplicate",
21
+ notDuplicateConfirmTitle: "Mark as not a duplicate?",
22
+ notDuplicateConfirmDescription: "You can't undo this action.",
23
+ notDuplicateConfirmButton: "Not a duplicate",
24
+ notDuplicateConfirmBackButton: "Back",
25
+ deleteAction: "Remove bill",
26
+ cancelAction: "Cancel bill",
27
+ confirmAction: "Confirm duplicate",
28
+ currentBillBadge: "This bill",
29
+ originalBillBadge: "Original bill",
30
+ showMoreRows: (e) => `Show ${e} more`,
31
+ deletedToast: "Duplicate removed",
32
+ cancelledToast: "Duplicate cancelled",
33
+ confirmedToast: "Duplicate confirmed",
34
+ dismissedToast: "Marked as “not a duplicate”.",
35
+ removedToast: "Duplicate removed",
36
+ verdictFailedToast: "Couldn't update this duplicate. Try again.",
37
+ allResolvedToast: "All possible duplicates resolved"
38
+ };
39
+ //#endregion
40
+ export { e as DUPLICATE_BILLS_LABELS_EN };