@zeniai/web-cockpit-ui 1.14.49-qa → 1.14.50-dev

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 (251) hide show
  1. package/dist/assets/{ACHDetailsPage-Sg7hdGqd-CCXprbhT.js → ACHDetailsPage-Bk-T9zeA-CfJ6MKab.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-ChnBEIPH-4_euKIvp.js → AIPerformancePage-DlVvPiye--DdUUWgj.js} +33 -33
  3. package/dist/assets/{AccountInfoPage-BxnQEiJ7-B6EmYPv_.js → AccountInfoPage-4a5_z9Mj-DMFU6f23.js} +4 -4
  4. package/dist/assets/{AccountInfoPageContent-DNUp3TON-qdMNKklV.js → AccountInfoPageContent-DevYKy6p-CMullRtM.js} +19 -19
  5. package/dist/assets/{AccountLockedInfoModal-CA152nkz-DzCD-JUi.js → AccountLockedInfoModal-BvtyA_xO-CmYw1Jj0.js} +3 -3
  6. package/dist/assets/{AccountReconDetailsDrawerPage-C2rkkVPs-CQwYzCjP.js → AccountReconDetailsDrawerPage-BXEQ6cqS-j66Ucrn-.js} +12 -12
  7. package/dist/assets/{AccountRow-36Vtwpnr-4z2Yans3.js → AccountRow---y_a4hQ-CjUH_owU.js} +11 -11
  8. package/dist/assets/{AccountsPromoCardStack-C2HYR94b-CpKQoFz3.js → AccountsPromoCardStack-o9Og7QNk-DK3bk-1Y.js} +17 -17
  9. package/dist/assets/AddAddressForCardDrawer-Blh9zJ9k-Qnts0jiB.js +6 -0
  10. package/dist/assets/{AddToWalletPage-C_3jcdka-F-DW-oAI.js → AddToWalletPage-F_5GSEK1-DfJbrH2K.js} +19 -19
  11. package/dist/assets/{AgingReportsPage-BPxROntM-BkwxFBqZ.js → AgingReportsPage-gY6j3hD1-CYYgQtbs.js} +6 -6
  12. package/dist/assets/{AllUserItems-D4ZSsopG-CbtLJ7dq.js → AllUserItems-DuqNI8Rn-C7-Ck6tc.js} +4 -4
  13. package/dist/assets/{ApAgingDetailPage-Cg_V8f7G-Dtv7vAxt.js → ApAgingDetailPage-BCIZ807--CCB1bmdU.js} +5 -5
  14. package/dist/assets/{AppBasePage-6i0Pu1mT-CI0gWqTJ.js → AppBasePage-Cju4WpBd-B7EKJOCZ.js} +7 -7
  15. package/dist/assets/{AppDrawerContent-B6_iNfLZ-BBNlUFgb.js → AppDrawerContent-CJZlwte8-BLgFIh1I.js} +4 -4
  16. package/dist/assets/{ApprovalRulesSettingsPage-BnsXfKAE-BddQmAcM.js → ApprovalRulesSettingsPage-DcFFdV1D-DwwBhpx6.js} +3 -3
  17. package/dist/assets/{ArAgingChart-DSDIg2mS-BzouD7uA.js → ArAgingChart-B_ybJjur-DHM_zS9S.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BYb9qi8c-3T0IpoxH.js → ArAgingDetailPage-CXBgcuJx-BSdM7AD1.js} +4 -4
  19. package/dist/assets/AttachmentView-D9MocUS9-BtgOsoHb.js +101 -0
  20. package/dist/assets/{BankAccountSection-CwYIBEbQ-S9Np9Ygv.js → BankAccountSection-CFnXlTaa-wnOEAJae.js} +4 -4
  21. package/dist/assets/{BankAccountWarningSection-DPIyvB6i-pfBOIjCV.js → BankAccountWarningSection-Dl7DA-Xf-Bk2O3H_M.js} +4 -4
  22. package/dist/assets/{BankConnectionsSettingsPage-O03gMCgp-DASDTUYQ.js → BankConnectionsSettingsPage-p7NTe5UU-CDYUeY8o.js} +29 -29
  23. package/dist/assets/{BillDetailPage-D-fa_jc1-BleJmAH0.js → BillDetailPage-Dy7FjtFP-DCGKKisv.js} +6 -6
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-D_A4wH0g-B-75pSuf.js → BillPayApprovalRuleDetailPage-BkROIItP-FF3IQxfd.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-gdOVuTqR-BszEmrA8.js → BillPayApprovalRulesPage-wnxmErWK-CnIadX77.js} +7 -7
  26. package/dist/assets/{BillPayPromoPage-SFpIScHQ-FG20wQ1f.js → BillPayPromoPage-B09wLq8f-CG5fEZdp.js} +7 -7
  27. package/dist/assets/BillPaySetUpPage-bK5uUxWL-CxvMnvOZ.js +42 -0
  28. package/dist/assets/{BillingSettingsPage-CdaNgKMv-gAn_GvVH.js → BillingSettingsPage-yqdPoo5n-C-yi5L8L.js} +6 -6
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DPgrXGy0-CQlJtKA-.js → BillsBulkReviewDrawerPage-BPoUzM5h-BT57ZA9A.js} +1 -1
  30. package/dist/assets/{BoxItem-Bla_vZe9-D4jxptTn.js → BoxItem-BwOmI0eo-Bg_oDJrZ.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-DliZ1mtV-DeT5LWZH.js +140 -0
  32. package/dist/assets/{CardNumberSubText-B-HsVbRQ-BLIziZ0V.js → CardNumberSubText-CAQ8mWuF-vKMkb_aM.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-gIJ-1lJF-BO5TRo9Z.js → CashbackDetailPage-B1XEtXzZ-1-2pfDRY.js} +17 -17
  34. package/dist/assets/{ChargeCardDetailPage-Dgyl5IJV-DazPQgg3.js → ChargeCardDetailPage-C35g3tyS-Cr_XhDe3.js} +21 -21
  35. package/dist/assets/{ChargeCardListPage-CgN69uh_-DKDrh90W.js → ChargeCardListPage-DpJ2ukG9-Chnlo_Ls.js} +9 -9
  36. package/dist/assets/{ChargeCardListTable-Bq3FUrUG-FyrnND8b.js → ChargeCardListTable-0mvBVaVR-DezuEV69.js} +26 -26
  37. package/dist/assets/{ChargeCardPromoPage-DqDd3QeF-BbqMx9NQ.js → ChargeCardPromoPage-xcfRobP3-CBiQn6_2.js} +7 -7
  38. package/dist/assets/{ChargeCardSetupPage-CBP4-JyP-NCDgse98.js → ChargeCardSetupPage-CHK4_mR3-uQ6PE_iN.js} +2 -2
  39. package/dist/assets/{ChargeCardStatementsPage-CVJyNhXt-Di4REK7T.js → ChargeCardStatementsPage-B746tyaI-BpHM8ktT.js} +8 -8
  40. package/dist/assets/{ChargeCardUtils-DaDe1sIq-NwQ1CJ2W.js → ChargeCardUtils-Bel9RKog-BYoByp7T.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-C1SVk4v1-DW3UeCAS.js → ChaseOverlay-Cni-YJBq-ki7qKNfn.js} +2 -2
  42. package/dist/assets/CheckDepositDrawerPage-h5dYs8n1-xM7OVVph.js +206 -0
  43. package/dist/assets/{CollapsableReportTable-QtToztmP-DQt1k1-B.js → CollapsableReportTable-Bm4Knvjp-CyuCgDm7.js} +48 -48
  44. package/dist/assets/{CompanyOfficerDetailsSection-Ctoe2QDP-CQSKCmrp.js → CompanyOfficerDetailsSection-BFrN2zbs-E0-ko42y.js} +19 -19
  45. package/dist/assets/CompanyPassportCard-CFfVmwtT-DyrnlDth.js +42 -0
  46. package/dist/assets/{CompanyPassportPage-Dd53DZFe-BmsuarOf.js → CompanyPassportPage-BwuQEpR6-BzltPqSl.js} +21 -21
  47. package/dist/assets/{CompleteProfile-DlFmFq5M-ZT3wEZlQ.js → CompleteProfile-DFgQXxaw-eh46GqaL.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-b3SEoaSY-CEVptNiu.js → ConfettiBurst-CNGVGH7R-OhWdZxEw.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-DwvlzEci-DUaCnl0C.js → CreateOrEditVendorPage-BEOugGdV-BkOi2-LS.js} +12 -12
  50. package/dist/assets/{CreditCardPaymentDrawerPage-y5jJQGS5-BN-YeTDF.js → CreditCardPaymentDrawerPage-DL99-asT-IVw3ZmF0.js} +9 -9
  51. package/dist/assets/{CreditCardPaymentPlgSection-BbVnrMer-Db7C8egU.js → CreditCardPaymentPlgSection-Bo8bjkSd-Cj2DAE6L.js} +5 -5
  52. package/dist/assets/{CurrencySelectField-B1rl6vQ0-tIQbPb2V.js → CurrencySelectField-Cy3069QS-B4qJii4j.js} +4 -4
  53. package/dist/assets/{CustomerOnboardingActivationPage-DlFjo3Sv-DlDk6MjE.js → CustomerOnboardingActivationPage-DYHxB1DV-DG10uG78.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-DGNxouoJ-cK8xEcln.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BxsQBBs2-1N-A35fF.js → CustomerOnboardingDetailPageSkeleton-C-eQB--l-D3xzBHMg.js} +10 -10
  56. package/dist/assets/CustomerOnboardingNoStepsPage-CdXpLzmq-BKo9Mc6w.js +66 -0
  57. package/dist/assets/{CustomerOnboardingPage-Cw66PfQC-pU5lcmch.js → CustomerOnboardingPage-BScJEPx_-eyx5FypG.js} +2 -2
  58. package/dist/assets/CustomerOnboardingProductSuitePage-D8hA3Lv_-DiFPqcjv.js +202 -0
  59. package/dist/assets/{Dashboard-I5fepHMP-CXiBwzdI.js → Dashboard-D5_YXdct-EKQOlNbW.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-GkuxGc3t-BKXCa7xb.js → DashboardReportPage-Gq4XjHm5-CgkxriU9.js} +19 -19
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-Ba6mjrpq-CP_63791.js → DashboardSidebarBackgroundAnimation-CfSTodXy-DUwH9YlE.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-8pfQMKs3-DA5Rp_k5.js → DepositAccTransactionItem-CfjfIBsm-DifB7Rhh.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-BiTWRxfT-BGViZ9xq.js → DepositAccTransactionListPage-BxtgMsQs-1C9yKKse.js} +8 -8
  64. package/dist/assets/{DomesticWireDetailsPage-4Dh_YZ8--DtHM1pr6.js → DomesticWireDetailsPage-BdmpuYqv-CI5W3KSh.js} +2 -2
  65. package/dist/assets/{DownloadOverlay-D6S9Obtr-D2mA2KNN.js → DownloadOverlay-B-TeCIiN-cLZkE7c6.js} +18 -18
  66. package/dist/assets/{DrawerPage-D13P_uWJ-CsKiwoDS.js → DrawerPage-BayK5Cvt-DenqrNxQ.js} +7 -7
  67. package/dist/assets/EditPeoplePage-moCKwxdw-kdnDyFe4.js +55 -0
  68. package/dist/assets/{EditReimbursementDetailPage-COg9-yb6-CILN_gSs.js → EditReimbursementDetailPage-DiRxcH2i-CqEhpelp.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-BbITG8i5-CprGjm72.js → EntityDetailPage-B0_iMMXi-BFK6-vDg.js} +4 -4
  70. package/dist/assets/{EntitySummarySection-BIawu9Ww-Ceo0UhdT.js → EntitySummarySection-Bzw9paM5-CCulefX0.js} +1 -1
  71. package/dist/assets/ExpenseAutomationOverviewPage-CN8oHejg-BCXoKv-G.js +222 -0
  72. package/dist/assets/{ExpenseAutomationPage-BzqJFgyb-Czy39NPG.js → ExpenseAutomationPage-nQw-48Jn-1DFXEYwM.js} +29 -29
  73. package/dist/assets/{ExpressPayPage-ciCYdxZj-BXc9NDyl.js → ExpressPayPage-BbxW-YuU-D_hIdCft.js} +8 -8
  74. package/dist/assets/{FeaturePreviewPage-Bbbcp0Yy-Czyj_mEC.js → FeaturePreviewPage-CMFiodSD-BBGWeje6.js} +2 -2
  75. package/dist/assets/{FollowStepsSection-B6uVl1dT-B1dWDhOp.js → FollowStepsSection-s4utHS95--Y07h10n.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-BOTtaikB-agDlR_ZV.js → GlobalReviewListPage-Ci8wGpO6-BRGgqus8.js} +5 -5
  77. package/dist/assets/HelpButton-CdHOhYwZ-vfgKqvvf.js +28 -0
  78. package/dist/assets/{InformationCardStack-Bm0Oh5VL-DjrgDLen.js → InformationCardStack-C3Q674Be-BHdplWUC.js} +2 -2
  79. package/dist/assets/InsightsCardStack-CA-O6aZn-DaypKy1-.js +79 -0
  80. package/dist/assets/{InsightsSection-wZpjHdxh-DXdKVgAu.js → InsightsSection-MD_7iYyd-CoTr4evA.js} +5 -5
  81. package/dist/assets/{IntegrationsSettingsPage-Cl-Y86Nj-D4NX5YT1.js → IntegrationsSettingsPage-Gpq_ujC4-Cz49FC1Q.js} +5 -5
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-DkEpnlVz-DWJE6x6p.js → InternationalWireSwiftDetailsPage-DXQCRbA4-jvd32UXh.js} +18 -18
  83. package/dist/assets/{InternationalWireVerificationPage-Ra78kWjZ-C7XfpdHS.js → InternationalWireVerificationPage-Z9MeS_FE-CvHI3GW5.js} +13 -13
  84. package/dist/assets/{InviteFormPage-Be3Tqvh8-boDpca8x.js → InviteFormPage-CRBxUW8F-ByLwGMQx.js} +20 -20
  85. package/dist/assets/{InvitePageListView-BuooPBpK-B-O-E11Q.js → InvitePageListView-BLcD6yhf-BHIBTtPc.js} +14 -14
  86. package/dist/assets/InvitePeoplePage-B6vbKnl8-3Fr2JjFu.js +12 -0
  87. package/dist/assets/InvoiceUploadSection-C84g6m-u-CTBUGTYr.js +140 -0
  88. package/dist/assets/{IssueChargeCardPage-C_4bD6HQ-B4neH-6d.js → IssueChargeCardPage-CtwG1FQW-CIw40zi7.js} +20 -20
  89. package/dist/assets/{LabeledAddressValue-Ctk46FKq-KR-uiT2u.js → LabeledAddressValue-BbmveEDp-misv-kNS.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-BplBue9M-DBaZ2tp6.js +45 -0
  91. package/dist/assets/LabeledControlledCheckBoxField-CATsgVfE-C27gMaQw.js +16 -0
  92. package/dist/assets/{LabeledCreatableSingleSelectField-Bjh5B-q0-Co5wnrJk.js → LabeledCreatableSingleSelectField-B-m-gINB-DKWDwbZB.js} +2 -2
  93. package/dist/assets/LabeledDocumentField-pmF98M72-DhaPqfnm.js +41 -0
  94. package/dist/assets/{LabeledDropDownFormattedTextField-BX06HLc2-CSTX9KoC.js → LabeledDropDownFormattedTextField-DQRvDrH1-nhXIGcQS.js} +1 -1
  95. package/dist/assets/{LabeledText-DZVRFAkG-rHxfEtQQ.js → LabeledText-Dr7b3HNT-JqfYF6TM.js} +2 -2
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-QoYZvvyE-DgWhyFpB.js → LabeledUserSingleSelectWithSubtitlesField-DucxxQKW-DpGIkkDj.js} +10 -10
  97. package/dist/assets/{LabeledZeniRolesDropDownField-D9I9Lxk2-CEybF1_R.js → LabeledZeniRolesDropDownField-Fg_p41gp-BLJgU8CM.js} +17 -17
  98. package/dist/assets/{LinkJETransactionPage-C8K00-1a-CRsvQ_9P.js → LinkJETransactionPage-CbtDoohS-BYYpt-Eb.js} +4 -4
  99. package/dist/assets/LockCardPage-CfupCyYS-DqBQdk1I.js +558 -0
  100. package/dist/assets/{LowBalancePopup-CQQrhufv-ooiA9ZXC.js → LowBalancePopup-DPfkvSKp-CZ231Z71.js} +6 -6
  101. package/dist/assets/{MagicLinkACHDetailsPage-BUGK2W6m-iQ0u98AT.js → MagicLinkACHDetailsPage-TJ1c4k1c-e1ecoiPU.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CdGw-8SL-BZNxp9-P.js → MagicLinkDomesticWireDetailsPage-Dp4F_O6C-BLuK26i4.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-ioBaDPw3-BRjF2y7B.js → MagicLinkInternationalWireDetailsPage-B5TMFBsw-DE5eebOC.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-BBnZ5N8r-3AvY4DIN.js → MagicLinkSuccessPage-XmGUk2UP-t-ML7fFm.js} +3 -3
  105. package/dist/assets/{MagicLinkTitleSection-C0nl5UrB-fbBcM0M6.js → MagicLinkTitleSection-B3CVACcv-CraOpOkK.js} +3 -3
  106. package/dist/assets/{MailingDetailsSection-DeaanyVd-has6jQC4.js → MailingDetailsSection-CFBmvYV_-DKWh8ntV.js} +1 -1
  107. package/dist/assets/{MeetingCalenderPopup-CGGit3Ny-CiZ-1m4B.js → MeetingCalenderPopup-Dd1Z-rK3-BN7CJUqh.js} +5 -5
  108. package/dist/assets/{Menu-BWGaQpko-C-bIfACK.js → Menu-AlNg4aZb-ezBRMKxQ.js} +1 -1
  109. package/dist/assets/{MyBankConnectionsSettingsPage-Bg_ULoVa-BjIIqVWR.js → MyBankConnectionsSettingsPage-De_mXouS-CFWPRCdV.js} +9 -9
  110. package/dist/assets/{MyPendingActivationChargeCardListPage-DulXydFx-CNXPW9Gb.js → MyPendingActivationChargeCardListPage-CdDF0PA3-CqrUarF6.js} +1 -1
  111. package/dist/assets/{MyProfileSettingsPage-C2p1O3ct-BgyD_hf0.js → MyProfileSettingsPage-BE6GsTMH-CiY2hNHx.js} +6 -6
  112. package/dist/assets/{NavBarWithPicker-BCLF3DOO-CA9gmzsQ.js → NavBarWithPicker-CTxQ7r97-Dg-pVfaM.js} +4 -4
  113. package/dist/assets/{NavigationArrow-BPrl00va-D8RNnAeo.js → NavigationArrow-DCZBdY6w-DXzWpT0y.js} +1 -1
  114. package/dist/assets/{NavigationDots-O0W_nmju-D_O1-ums.js → NavigationDots-D6hsvkMX-Dc9TKWSO.js} +3 -3
  115. package/dist/assets/{NewGlobalMerchantPage-D6e-akD5-Bzs9Ucjn.js → NewGlobalMerchantPage-D5Mo9EMy-C_x_UB26.js} +7 -7
  116. package/dist/assets/{NoDataChart-C9yfpsin-CDRDTUOe.js → NoDataChart-CI5rKAJf-IpywfvaI.js} +1 -1
  117. package/dist/assets/{NoDataTable-DKv0uhi4-Cpc7fkkE.js → NoDataTable-C4YVpnKy-bA2EH_fQ.js} +1 -1
  118. package/dist/assets/{NotFoundPage-B5ou4w73-NuKoBPie.js → NotFoundPage-Dx56yYo3-CJc22lOw.js} +4 -4
  119. package/dist/assets/{NotificationSettingsPage-BmrtRoZK-DZ_ZG3D7.js → NotificationSettingsPage-hOwPscnS-CcQKVe46.js} +8 -8
  120. package/dist/assets/{NotificationsListConfig-DQ4Ho61v-BnotEG6V.js → NotificationsListConfig-DV_yEagM-CKLpxpSM.js} +1 -1
  121. package/dist/assets/{NotificationsPage-UraNN_iD-BUGQxEcG.js → NotificationsPage-B83do0my-DGcJO7Z-.js} +25 -25
  122. package/dist/assets/{OpExByVendorPage-BRPHj5T9-DYtyW38v.js → OpExByVendorPage-WMTGx5ZH-CmZADN9R.js} +5 -5
  123. package/dist/assets/{OverlayContainerPage-B8Rk53Fe-CfTKp3Gf.js → OverlayContainerPage-CZaWUQTs-taUnIcxu.js} +1 -1
  124. package/dist/assets/{PandLWithForecastPage-BMjOYb2a-Dcnt7HVK.js → PandLWithForecastPage-DyROxN6C-DH_Ynpil.js} +9 -9
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-B38HgGEM-DgE8Vczk.js → PaymentAccountSetupBillingAddressSection-CHwhW69s-PBAsz7VT.js} +7 -7
  126. package/dist/assets/{PeoplePage-BpMkRqCs-CsT9OFKk.js → PeoplePage-DzRLyM45-C2knIeVL.js} +11 -11
  127. package/dist/assets/{PortfolioAllocationFormPage-tnv4t4QU-CrHZ8aTl.js → PortfolioAllocationFormPage-CIvcJ9hx-C0L8itY1.js} +9 -9
  128. package/dist/assets/{PortfolioDetails-BQCQctOT-BcjcqURs.js → PortfolioDetails-8UvaROaS-BV0kfCx8.js} +15 -15
  129. package/dist/assets/{ProductsCarousel-BUJiJFiX-BzDzGkeP.js → ProductsCarousel-Di0lW14P-gv6t1pzJ.js} +3 -3
  130. package/dist/assets/{PromoBaseCards-DwBIZ04X-BjLiNb-B.js → PromoBaseCards-zfJOT86M-Cxis92cB.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-MjldLygA-F5XVDM0C.js → QBOConnectionDialog-DYCNzDCW-XbK2K7lq.js} +4 -4
  132. package/dist/assets/{QBOSetupSection-BknE7gT4-DY5jHtnb.js → QBOSetupSection-DtzlFUKs-CMurUb08.js} +6 -6
  133. package/dist/assets/ReimbursementApprovalRuleDetailPage-DoWiv_tN-DEovISqR.js +26 -0
  134. package/dist/assets/{ReimbursementApprovalRulesPage-C0Plqj93-CfcH1Xln.js → ReimbursementApprovalRulesPage-Drav6sw6-CwgLZUAr.js} +40 -40
  135. package/dist/assets/ReimbursementDetailPage-ByCpOGLu-Dsc_sGAc.js +314 -0
  136. package/dist/assets/{ReimbursementPromoPage-X_lNy9W2-C1pHC8eu.js → ReimbursementPromoPage-DOhnXgWW-DuNdw2WY.js} +8 -8
  137. package/dist/assets/{ReimbursementSetUpPage-DJrOp98g-BrQav5BP.js → ReimbursementSetUpPage-B6m_3OjH-BpWl6ujY.js} +4 -4
  138. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BZL9RVfR-CP3PDh7c.js → ReimbursementsBulkReviewDrawerPage-DSbjVLzo-CVRSkvAX.js} +1 -1
  139. package/dist/assets/{ReloadCard-aqfmXbU5-CNPn4sKt.js → ReloadCard-C7TwZcxr-vlQuHsih.js} +5 -5
  140. package/dist/assets/{ReportTableViewSelector-D93qno__-2IAEqt0G.js → ReportTableViewSelector-Dw5N3kLR-QNx8XxoO.js} +7 -7
  141. package/dist/assets/{ReportsPage-B0G-7pwv-CrA7-rtj.js → ReportsPage-Cn38qn0l-B-nkuuwa.js} +9 -9
  142. package/dist/assets/{RevenueChart-BRlahWs9-BWAL9tc3.js → RevenueChart-Cl6AG_A1-Da4QIV8W.js} +16 -16
  143. package/dist/assets/ReviewDetailsPage-DOU42eYb-DP8hDUqG.js +290 -0
  144. package/dist/assets/{ReviewOverlay-yCaY1z8K-DkuN1BhY.js → ReviewOverlay-Cekl52Tp-C4ta_oQT.js} +13 -13
  145. package/dist/assets/{RoleWithToolTip-C--9WRHn-02oWnK_S.js → RoleWithToolTip-Cxn0Q3kG-C5ZkEEHf.js} +4 -4
  146. package/dist/assets/{ScheduleDetailsFixedAssetsPage-hn74AoeS-NWP9KPHn.js → ScheduleDetailsFixedAssetsPage-By4ikZQn-BUboWldf.js} +4 -4
  147. package/dist/assets/{ScheduleDetailsPage-DxdxAx1S-B1IjQUUT.js → ScheduleDetailsPage-CMCqsjrb-DIQmIy8n.js} +4 -4
  148. package/dist/assets/{ScheduleSequenceTable-Dq0ZRi2H-8XOSgJiv.js → ScheduleSequenceTable-DNVQ2kVn-kr2CXE0a.js} +49 -49
  149. package/dist/assets/{ScreenRoutes-DDAOQ4Jo.js → ScreenRoutes-CngnFJ28.js} +1 -1
  150. package/dist/assets/{SetUpAccountSection-NP9u54_o-Db7whHUF.js → SetUpAccountSection-nZ68xEMF-CKqnZuo_.js} +8 -8
  151. package/dist/assets/{SetUpDefaultSection-BdVOXSh8-M71dwMGe.js → SetUpDefaultSection-e5I_whKg-CWXMi4yS.js} +2 -2
  152. package/dist/assets/SignIn-e-7z9G0X-C1YFpsfM.js +448 -0
  153. package/dist/assets/{SignInScreen-BzmXpPCl.js → SignInScreen-C77r6V5a.js} +1 -1
  154. package/dist/assets/{SpendManagementListViewPage-CfzCjazp-DIvePMuJ.js → SpendManagementListViewPage-BPfU_Lec-BnogwbnW.js} +6 -6
  155. package/dist/assets/{SpendManagementPerTabPage-CBOlK1hg-CNGRPHtG.js → SpendManagementPerTabPage-CIVfUAF0-7NlzZC3p.js} +48 -48
  156. package/dist/assets/{SpendManagementSection-DFVWVBv8-BaXurz43.js → SpendManagementSection-DilGVAEg-UyhbLf0x.js} +5 -5
  157. package/dist/assets/{SpendMgmtSetupAccountSection-ZPHoUnnr-BJcUWi60.js → SpendMgmtSetupAccountSection-BW8Ip5wi-CkkTNUfg.js} +4 -4
  158. package/dist/assets/{StatementItem-CwkYfX3v-BfxIXxV9.js → StatementItem-li8rxfjF-DE4xpTDg.js} +2 -2
  159. package/dist/assets/{StatementsPage-DpjcrDLZ-BOUbVppT.js → StatementsPage-D0VgSNCy-Bi9vK3HK.js} +1 -1
  160. package/dist/assets/{StatusSwitcher-6n_dRY-n-CInUBfU5.js → StatusSwitcher-Dhw4Hsko-VYfBZyYc.js} +2 -2
  161. package/dist/assets/{SubTabSwitcher-DEXr9JG8-BesAFLAS.js → SubTabSwitcher-CaDODjQq-zPof6WQa.js} +1 -1
  162. package/dist/assets/{SummaryCard-DY8o3K8p-Br_aBvet.js → SummaryCard-BZp6ZbhG-D2hcdAY2.js} +1 -1
  163. package/dist/assets/{TaskManagementPage-V-99_2Xz-DDUfSx7p.js → TaskManagementPage-CdzxcwSR-FTY6PAR3.js} +14 -14
  164. package/dist/assets/{TimeRangeSwitcher-5vzTnmwD-CRsZg2b0.js → TimeRangeSwitcher-BsecxqSf-68LRPk1P.js} +6 -6
  165. package/dist/assets/{TimeframeSwitcher-B1ZBKWlB-7HKYiomL.js → TimeframeSwitcher-CXQS6_Dj-pJvRjYVF.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-C8w7NoSs-DeUtdJdm.js → TimeframeSwitcherWithToggle-xUcT4SAn-Dxw3KxOM.js} +1 -1
  167. package/dist/assets/{TopExCard-CflRvGFb-BSDi9hbk.js → TopExCard-DpBmbBOH-rqB_17zU.js} +5 -5
  168. package/dist/assets/{TopExDetailPage-BNouRPM_-V8w0Nl4l.js → TopExDetailPage-CXYcu4vC-BudfE4e2.js} +21 -21
  169. package/dist/assets/{TransactionDetailPage-uJRfI4fh-YYHpyB0Q.js → TransactionDetailPage-C-oGYPM2-XIgrFLJc.js} +23 -23
  170. package/dist/assets/{TransactionList-C--m4NRu-I84SwAT3.js → TransactionList-d0Qe-D7V-BamSxQ9h.js} +9 -9
  171. package/dist/assets/{TransactionListBig-Cbf9p6a1-BQi6pxNr.js → TransactionListBig-By3GVBgG-Jvz7Xg_z.js} +11 -11
  172. package/dist/assets/{TransactionListPage-BXQ4Ig8E-1eaOmgJN.js → TransactionListPage-ChIGfg3A-ZqEGHvAv.js} +6 -6
  173. package/dist/assets/{TransactionVendorDetailPage-CKdVogwj-BU8bZBJz.js → TransactionVendorDetailPage-D3stMRFF-C_IPHvl6.js} +3 -3
  174. package/dist/assets/{TransferDrawerPage-BS3lnMMA-BhGqf_F6.js → TransferDrawerPage-QVYSxd-3-BFQ5htQm.js} +22 -22
  175. package/dist/assets/{TreasuryOverviewPage-U1p6PrnG-CTfDqCgy.js → TreasuryOverviewPage-CumKNGbQ-CAGR3hz2.js} +12 -12
  176. package/dist/assets/{TreasuryPromoPage-C2wmo0Ex-CAsi6MAz.js → TreasuryPromoPage-H2Zbw_Yg-DMBJJl3b.js} +8 -8
  177. package/dist/assets/{TreasurySetupPage-CMl-qGhi-DDyv6zPQ.js → TreasurySetupPage-BtUIYjn_-BvLlmakc.js} +4 -4
  178. package/dist/assets/{TreasuryStatementsPage-BdmLrhA5-Cwzb6Y-J.js → TreasuryStatementsPage-B04Ze6pO-DBs8NMkW.js} +1 -1
  179. package/dist/assets/{TreasuryTaxLetterPage-Q7prcczk-BMJV6RV_.js → TreasuryTaxLetterPage-D95U9592-A4FKzQli.js} +1 -1
  180. package/dist/assets/{TreasuryTransferOrReviewPage-CwvijEQN-CyNc0EBz.js → TreasuryTransferOrReviewPage-BhHf8lnF-DBq27s-a.js} +91 -91
  181. package/dist/assets/{TrendChart-SEWDcga_-b1UZHoM_.js → TrendChart-BkdPYoj4-D9rpAM75.js} +4 -4
  182. package/dist/assets/{TrendWithTransactions-CgSaPEFh-CJCmbHDv.js → TrendWithTransactions-CWgoVTcb-CGbGhBS1.js} +4 -4
  183. package/dist/assets/{UncategorizedAccountsMappingPage-7LqO7hHL-Qf22hqtP.js → UncategorizedAccountsMappingPage-LdRZIYp5-BtaeEGaz.js} +10 -10
  184. package/dist/assets/{UnitIntegrationPage--jgHD8q1-DGXvKzdF.js → UnitIntegrationPage-Ms9BFSjK-PPYprz9i.js} +4 -4
  185. package/dist/assets/UploadAdditionalDocumentOverlay-D6x4OGXl-CxKK3Ose.js +38 -0
  186. package/dist/assets/{Vendor2FAPopup-B0fwm9Q3-BYhSuvCf.js → Vendor2FAPopup-UmgHYXvP-pOrgh_fD.js} +1 -1
  187. package/dist/assets/{VendorACHDetailsPage-BzgsncOJ-DOkcQ5fM.js → VendorACHDetailsPage-B3mdoPp8-DRr-74cL.js} +1 -1
  188. package/dist/assets/{VendorDetailPage-CA3LTIGq-jf7ffnJX.js → VendorDetailPage-Cj6U1nII-BSRlPQ6y.js} +12 -12
  189. package/dist/assets/{VendorDomesticWireDetailsPage-Ch42jvVt-CyANzPJP.js → VendorDomesticWireDetailsPage-BrZCPlAd-BL-hjFrP.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-QjRWxn7V-BJSMNVS0.js → VendorFiling1099EditablePage-TUixssYI-v6dW0vMN.js} +12 -12
  191. package/dist/assets/{VendorFirstReviewPage-C-ONdLcA-Bipz9xJO.js → VendorFirstReviewPage-BlUNcGLE-B0NOpsas.js} +44 -44
  192. package/dist/assets/{VendorInternationalWireDetailsPage-qDx2aiDq-CLtnsjyf.js → VendorInternationalWireDetailsPage-DhHWsAne-VClJg3R1.js} +10 -10
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DICOFwMp-BJ2iH1IS.js → VendorInternationalWireSwiftDetailsPage-CIvevemJ-Cnw2il7s.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-D0f3TRGG-DGo_EPvw.js → VendorsAccountsSection-viRwhErR-BEJjt5C_.js} +4 -4
  195. package/dist/assets/{VerifyDevice-BMtMcC41-C2Aep0vv.js → VerifyDevice-l7opea4l-BtT1vRFj.js} +2 -2
  196. package/dist/assets/{VideoPlayer-DKMO88LY-CihcSZAF.js → VideoPlayer-BBVi4SOz-9SgJ3yaM.js} +1 -1
  197. package/dist/assets/{VideoPopup-2z3T5Lnh-CHZgVcWy.js → VideoPopup-CmXRuhQp-5r314mYD.js} +1 -1
  198. package/dist/assets/{WarningsDrawerPage-yRdYuhLZ-Bq-OqNLw.js → WarningsDrawerPage-Ckg9AVsj-B9emohJx.js} +2 -2
  199. package/dist/assets/{ZeniAccountDetailPage-ISiEkizf-BZ56FvfW.js → ZeniAccountDetailPage-B-jNA-tI-ms245E2y.js} +25 -25
  200. package/dist/assets/{ZeniAccountListViewPage-BTrvu_w1-Mm1U5sCA.js → ZeniAccountListViewPage-oBGTDIBN-C9aSAN9Z.js} +8 -8
  201. package/dist/assets/ZeniAccountNavBarPieces-JScxmkmi-BP103W6l.js +14 -0
  202. package/dist/assets/{ZeniAccountPromoPage-Dac1THyO-DBLjXw3q.js → ZeniAccountPromoPage-BHzfVbtI-P2leDJcs.js} +20 -20
  203. package/dist/assets/{ZeniAccountSetupPage-ZSfjnq4--2G4QtNy6.js → ZeniAccountSetupPage-DD_QA8h8-DpmP7jf1.js} +4 -4
  204. package/dist/assets/{ZeniCopyright-C4Hdl7V0-DCl3xitc.js → ZeniCopyright-BPSL51G5-DcEAxBC-.js} +1 -1
  205. package/dist/assets/ZeniTransferAmountSlider-CAiR-tiF-D35xHKkQ.js +63 -0
  206. package/dist/assets/{analyticsHelper-CpeZY9M2.js → analyticsHelper-CnRA1Gcw.js} +1 -1
  207. package/dist/assets/{analyticsHelper-CaxfROfX-BZwqcE9n.js → analyticsHelper-kwNg2DUZ-Bg-BVsZB.js} +1 -1
  208. package/dist/assets/{chartTypes-CQLwj1wn-BRADgKQf.js → chartTypes-CCFDB3ft-gWEy54C4.js} +1 -1
  209. package/dist/assets/{commonDimensions-BqqLiZ_H-X7QteB7-.js → commonDimensions-FafZVRxo-CSxm8Nzu.js} +1 -1
  210. package/dist/assets/{detailCommon-_wteS7vQ-BlDnvf72.js → detailCommon-Bk08SAcF-CmJo8a2_.js} +7 -7
  211. package/dist/assets/{downloadPdf-DqURwcIt-cyNLfpwv.js → downloadPdf-Bj4Y4BB4-D1l-PLqG.js} +1 -1
  212. package/dist/assets/{index-RcMUg6rr.js → index-dX8TSOm6.js} +72 -72
  213. package/dist/assets/{mapLoadingInProgressToTreeNode-kidLNkmQ-Dbws8prW.js → mapLoadingInProgressToTreeNode-Cx24jJa--D8U4jxjz.js} +1 -1
  214. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BSUhjNT5-BKwhf6qT.js → mapSectionWithAcOnlyToTreeNode-BRxefLX_-DoZmzx4J.js} +1 -1
  215. package/dist/assets/{mapSpacerToTreeNode-m5nGTY8W-CzCeMk6H.js → mapSpacerToTreeNode-VUbus-r3-pBb-m1M8.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-D5QkbXkx-CsbvFuim.js → mapTimeframeBalancesToTreeNode-B6aAv6pB-C6UbW4bf.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-CHHGNXiT-Dl3JMEe8.js → mapTimeframeBalancesToTreeNode-CSScIc2H-CNAuSnEW.js} +1 -1
  218. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-o4l_IoBF-BBotayyZ.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DBDE1nuS-CTldXama.js} +1 -1
  219. package/dist/assets/{toCOABalancesWithID-bhm-pCR2-CtRyWh7a.js → toCOABalancesWithID-M4gPqViI-CcaXT71y.js} +1 -1
  220. package/dist/assets/{toChartData-3h9AvMdw-CxwHop5O.js → toChartData-CrsGFSA1-DRCqW50O.js} +1 -1
  221. package/dist/assets/{treasuryColorHelper-CJ61L8mT-DS0868j3.js → treasuryColorHelper-B8Evc_xJ-C2M6xUma.js} +1 -1
  222. package/dist/assets/{uploadAttachment-Bf61v1Xo-B7uvvQf2.js → uploadAttachment-PM-_GgYg-CTQQfxMY.js} +3 -3
  223. package/dist/assets/{uploadReceipts-CPeNTSex-DsNuxnXH.js → uploadReceipts-B3-z3hJ9-DECDgzHp.js} +1 -1
  224. package/dist/index.html +1 -1
  225. package/package.json +3 -3
  226. package/dist/assets/AddAddressForCardDrawer-BZ0RCcja-nZX6PoRd.js +0 -6
  227. package/dist/assets/AttachmentView-CdNQ2xWp-BPsXC6R_.js +0 -101
  228. package/dist/assets/BillPaySetUpPage-mD_IeiJx-DxluR9l0.js +0 -42
  229. package/dist/assets/BusinessVerificationPage-CXxO69rJ-ZjHWLeJo.js +0 -140
  230. package/dist/assets/CheckDepositDrawerPage-DSR4fX1u-ndwRTjAi.js +0 -206
  231. package/dist/assets/CompanyPassportCard-D1Qw3xp1-CzjX_y3L.js +0 -42
  232. package/dist/assets/CustomerOnboardingContainerPage-gA22hWiI-DHO0Bx78.js +0 -1
  233. package/dist/assets/CustomerOnboardingNoStepsPage-r85EAGP9-BWacMhdz.js +0 -66
  234. package/dist/assets/CustomerOnboardingProductSuitePage-DjNvBda4-6fpGm6Io.js +0 -202
  235. package/dist/assets/EditPeoplePage-DF_58Z4U-DfKImWbi.js +0 -55
  236. package/dist/assets/ExpenseAutomationOverviewPage-DleEJVpj-u_9BpHnf.js +0 -222
  237. package/dist/assets/HelpButton-CzyBnp0B-B4qln9tA.js +0 -28
  238. package/dist/assets/InsightsCardStack-DJQ_W9fy-DK1IXhJg.js +0 -79
  239. package/dist/assets/InvitePeoplePage-BN0ktc82-CX-yWmlh.js +0 -12
  240. package/dist/assets/InvoiceUploadSection-BQgfwgdt-Bu3SJ_dU.js +0 -140
  241. package/dist/assets/LabeledAddressValueField-Dg0TLzPn-CRUbVJT9.js +0 -45
  242. package/dist/assets/LabeledControlledCheckBoxField-DJSFmpIX-DXOJq1C3.js +0 -16
  243. package/dist/assets/LabeledDocumentField-BT7CRAVI-Bu18IeBT.js +0 -41
  244. package/dist/assets/LockCardPage-Cv7cc2yv-Bgylw99f.js +0 -558
  245. package/dist/assets/ReimbursementApprovalRuleDetailPage-DH75g3pT-CXqiP4jT.js +0 -26
  246. package/dist/assets/ReimbursementDetailPage-DNaaqXYR-Bh3Xalhl.js +0 -314
  247. package/dist/assets/ReviewDetailsPage-DaLjRiFW-DJFP67SX.js +0 -290
  248. package/dist/assets/SignIn-nUeTTVKC-CQFjsNXv.js +0 -329
  249. package/dist/assets/UploadAdditionalDocumentOverlay-D2Tin1CX-7rKlqc-o.js +0 -38
  250. package/dist/assets/ZeniAccountNavBarPieces-C3IR1FEp-Jc31zuuu.js +0 -14
  251. package/dist/assets/ZeniTransferAmountSlider-Co5sY7gl-DtKUG0sE.js +0 -63
@@ -1,314 +0,0 @@
1
- import{Q as At,k as Mt,e as Rt,u as Pt,bL as Bt,C as m,M as Je,l as ie,fR as Nt,fT as Lt,fU as _t,j as t,bX as ze,bZ as Ae,b_ as Me,Z as y,aY as Re,aL as Ot,dv as Wt,fV as Et,g4 as Pe,o as a,fW as Be,cY as b,c_ as w,fZ as x,a0 as Ne,cX as Le,$ as F,f$ as _e,a4 as Ft,q as Ut,g0 as Kt,g1 as ae,aU as Vt,g2 as Yt,a3 as Gt,b as Ht,c as Xt,s as et,ao as tt,g as U,n as qt,bs as Qt,w as Zt,gj as Jt,gf as ei,r as c,bQ as ti,cu as ii}from"./index-RcMUg6rr.js";import{b as p,n as r}from"./vendor-rkTZJa59.js";import{_ as ai}from"./liveblocks-CP09Cz-7.js";import ri from"./InvoiceUploadSection-BQgfwgdt-Bu3SJ_dU.js";import{r as oi,h as f,u as ni}from"./types-DyvtCprH-BcZYcgaq.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./crypto-CK3r1iTV.js";import"./AttachmentView-CdNQ2xWp-BPsXC6R_.js";import"./uploadReceipts-CPeNTSex-DsNuxnXH.js";const l={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},li={formTitle:new Ht("h6Regular","h5Regular")},ia=({remiDetails:e,uploadInvoiceEndPoint:K,authParams:it,isAdmin:oe,signedInUser:ne,showApproveRejectBtns:le,isRealTimeApprovalEnabled:se,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:de,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:ce,onSaveRealTimeApprovals:me,redirectToReimbursementListScreen:V,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:pe,deleteReimbursement:nt,cancelAndDeleteReport:ue,handleZeniLogoClick:lt,onAddNewRule:he})=>{const d=At(),st=Mt().analytics,o=Rt(),ye=Pt(),[dt,k]=p.useState(!1),[Y,G]=p.useState(!1),[ct,H]=p.useState(!1),[X,q]=p.useState("approved"),P=p.useRef(null),[S,Q]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[C,mt]=p.useState(null),[pt,B]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,ge=p.useRef({}),be=s=>{const n=ge.current[s];n!=null&&setTimeout(()=>ni(n,P.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&V()},[e,V]),p.useEffect(()=>{const s=window.location.hash;if(s&&s.startsWith("#L")){const n=s.substring(1);be(n)}},[]);const ut=()=>{V()};Bt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{k(!1),S.primaryButtonText===i.buttons.delete?nt?.():S.title===i.cancelReportTitle?ue?.():S.title===i.cancelAndDeleteReportTitle&&ue?.(!0)},onCancelClick:()=>{k(!1)}},I=l.labelWidth.value(o),z=l.largeLabelWidth.value(o),we=Je.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:xe}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:fe}=we,{reimbursementDetail:i,bulkActions:N}=we.spendManagement.reimbursement,Z=e.remiDetails?.reportTitle,j=e.remiDetails?.lines??[],L=e.remiDetails?.reimbursementInfo.stage,_=e.remiDetails?.reimbursementInfo.billStatus,O=e.remiDetails?.reimbursementInfo.billPaymentStatus,$e=L?.code==="paid",ft=$e?L:_?.code=="approved"&&O?.code?O:_,$=si(e.remiDetails),A=_?.code=="approved"&&O?.code?O:_,W=e.remiDetails?.isDeleted??!1,ve=e.remiDetails?.amount,Te=e.remiDetails?.amount.amount??0,je=()=>{Q({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),k(!0)},$t=()=>{Q({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},vt=()=>{Q({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},Se=()=>{rt()},Tt={onOkClick:s=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:s})},onCancelClick:()=>{H(!1)}},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?Se():(q("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(q("delete"),je()):(q("rejected"),H(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?ie.zeniDate(ie.getNextNthWorkingDay(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,J=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Ie=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at,Dt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ee=ft?.code,Ct=oi(e.duplicateLineByLineId),De=e.duplicateReimbursementStatus.fetchState==="Completed"&&Ct>0,{requestToOpenThread:te,setRequestToOpenThread:Ce,setOpenThread:E}=p.useContext(Nt),{threads:M,isLoading:D}=Lt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),kt=p.useMemo(()=>M.filter(s=>s.resolved===!1&&!s.id.includes(_t)),[M]).length,zt=p.useCallback((s,n)=>{E(n),B(!1)},[E,B]);p.useEffect(()=>{te?.threadId!=null&&M.length>0&&!D&&(E(te.threadId),Ce(null))},[te,M,D,E,Ce]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},R=ie.isBulkProcessing(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:o,ref:P,children:[dt?t.jsx(ze,{titleComponent:t.jsx(Me,{children:S.title}),descriptionComponent:t.jsx(Ae,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.secondaryButtonText,action:ht}):null,ct?t.jsx(ze,{titleComponent:t.jsx(Me,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Ae,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(ki,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ye.colors.background,keepBackgroundOnScroll:!0,scrollableContent:P,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(Si,{}):null,t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:Z??xe,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[u?t.jsxs(Mi,{isDisabled:D,onClick:D?()=>null:s=>{s.preventDefault(),s.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),B(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(n=>Wt(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Ot,{count:D?void 0:kt,isLoading:D,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:P,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Fi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(He,{windowSize:o,children:t.jsx(Xe,{windowsSize:o,children:Z})}),e.createdBy?.userId!=null?t.jsx(Ke,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,A?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Et,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:J,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W}),R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(Oe,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:J,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null]}):null,j.map((s,n)=>{const v=e.duplicateLineByLineId[s.lineId];return t.jsxs(Ze,{windowSize:o,children:[t.jsx(Oi,{windowSize:o,children:t.jsx(Wi,{bottomSeperator:j.length!==1,windowSize:o,children:t.jsx(ri,{showAutofill:!1,uploadInvoiceEndPoint:K,authParams:it,entityId:e.remiDetails?.id,file:s.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:j.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:j.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"receipt"})})}),t.jsxs(_i,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:o,children:[t.jsx(Xe,{windowsSize:o,children:Z}),de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ke,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,A?.code!=null?t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:J,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null,R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(Oe,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:o,ref:ke=>{ke!=null&&(ge.current[`L${s.lineId}`]=ke)},children:[o!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:j.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(gi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return be(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:s.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,s.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(x,{label:{label:i.reimbursementType,width:z},text:s.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),s.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:z},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(x,{label:{label:i.distanceInMiles,width:z},text:s.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.merchant,width:z},text:s.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:z},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.category,width:I},text:s.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),j.length!==1&&j.length===n+1&&t.jsxs(Li,{windowSize:o,children:[t.jsxs(qe,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(_e,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me},historicActivities:e.remiHistory.activities})]})]})]},s.lineId)}),j.length===1&&t.jsxs(Ze,{windowSize:o,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:o,children:[t.jsx(Ni,{windowSize:o,children:t.jsxs(qe,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:o,children:t.jsx(_e,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me}})})]})]}),t.jsx(Ei,{})]}),$e||W===!0?null:t.jsxs(Di,{children:[o!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:s=>{s.stopPropagation(),Y===!0&&G(!1)},children:t.jsx(Ft,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:X==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||X==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:St,style:{width:l.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:X==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:jt,style:{width:l.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(bi,{children:t.jsxs(Ii,{windowSize:o,children:[!R&&Y?t.jsx(Ut,{onClickAway:()=>G(!1),children:t.jsxs(ji,{windowSize:o,children:[ee!=="processing"?t.jsx(re,{onClick:je,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ee==="processing"?t.jsx(re,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ee==="processing"?t.jsx(re,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:o,children:[!R&&Ie===!0?t.jsx(vi,{onClick:Se,"data-testid":y("remi-edit-button"),children:t.jsx($i,{})}):null,!R&&Dt===!0?t.jsx(fi,{windowSize:o,showEditIcon:Ie,children:t.jsx(xi,{onClick:()=>G(!Y),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ai,{id:h,children:t.jsx(Kt,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:M,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:C?.companyId??xe,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:C?{companyName:C.companyName,companyId:C.companyId,entityId:C.entityId,entityType:C.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(s,n)=>zt(s,n),onCloseAllThreadsDrawer:()=>B(!1),drawerSectionStyle:{width:"400px",backgroundColor:ye.colors.background}})}):null]})},si=e=>{const K=Je.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:K.tabsById.deleted,color:ae.deleted.color,bgColor:ae.deleted.bgColor,borderColor:ae.deleted.borderColor,code:"deleted"}},di=r.div`
2
- display: flex;
3
- flex-direction: column;
4
- width: ${e=>l.rightSectionWidth.valuePercentage(e.windowSize)};
5
- `,ci=r.div`
6
- margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
7
- margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
8
- margin-bottom: ${e=>l.activityBottomMargin.valuePx(e.windowSize)};
9
- `,mi=r(qt)`
10
- padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp4};
11
- background-color: ${U.alertLight};
12
- color: ${U.brandColorGoldDark};
13
- border-top-left-radius: inherit;
14
- border-top-right-radius: inherit;
15
- `,pi=r.span`
16
- border-bottom: 1px solid currentColor;
17
- cursor: pointer;
18
- `,Oe=r.div`
19
- display: flex;
20
- gap: ${a.sp2};
21
- padding: ${a.sp3};
22
- border-radius: ${a.sp2};
23
- align-items: start;
24
- margin-top: ${e=>l.duplicateBannerWrapperMarginTop.valuePx(e.size)};
25
- margin-right: ${e=>l.duplicateBannerWrapperMarginRight.valuePx(e.size)};
26
- margin-bottom: ${e=>l.duplicateBannerWrapperMarginBottom.valuePx(e.size)};
27
- margin-left: ${e=>l.duplicateBannerWrapperMarginLeft.valuePx(e.size)};
28
- background-color: ${U.alertLight};
29
- border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
30
- `,We=r(ti)`
31
- color: ${e=>e.theme.colors.brandColorGoldDark};
32
- `,Ee=r.div`
33
- width: 100%;
34
- `,Fe=r(et)`
35
- color: ${e=>e.theme.colors.brandColorGoldDark};
36
- `,Ue=r(ii)`
37
- width: ${a.sp4};
38
- height: ${a.sp4};
39
- color: ${U.brandColorGoldDark};
40
- `,Ke=r(et)`
41
- margin-bottom: ${e=>l.bottomMargin.valuePx(e.windowSize)};
42
- margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
43
- margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
44
- color: ${e=>e.theme.colors.primary};
45
- `,ui=r.div`
46
- display: flex;
47
- justify-content: space-between;
48
- `,hi=r.div`
49
- margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
50
- margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
51
- `,yi=r(tt)`
52
- color: ${e=>e.theme.colors.primary};
53
- margin-bottom: ${a.sp3};
54
- `,gi=r.div`
55
- display: flex;
56
- flex-direction: column;
57
- background-color: ${e=>e.theme.colors.grey5};
58
- border: 1px solid ${e=>e.theme.colors.grey3};
59
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
60
- border-radius: ${a.sp2};
61
- margin-bottom: ${e=>l.formBottomMargin.valuePx(e.windowSize)};
62
- z-index: 3;
63
- `,bi=r.div`
64
- display: flex;
65
- justify-content: flex-end;
66
- `,wi=r.div`
67
- width: ${e=>l.rightSectionWidth.valuePercentage(e.windowSize)};
68
- `,xi=r(ei)`
69
- cursor: pointer;
70
- color: ${e=>e.theme.colors.hero};
71
- width: ${a.sp5};
72
- height: ${a.sp5};
73
- &:hover {
74
- color: ${e=>e.theme.colors.primary};
75
- }
76
- `,fi=r.div`
77
- display: flex;
78
- margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:a.sp5};
79
- cursor: pointer;
80
- color: ${e=>e.theme.colors.grey1};
81
- &:hover {
82
- color: ${e=>e.theme.colors.primary};
83
- }
84
- `,$i=r(Jt)`
85
- cursor: pointer;
86
- color: ${e=>e.theme.colors.hero};
87
- width: ${a.sp5};
88
- height: ${a.sp5};
89
- &:hover {
90
- color: ${e=>e.theme.colors.primary};
91
- }
92
- `,vi=r.div`
93
- display: flex;
94
- cursor: pointer;
95
- color: ${e=>e.theme.colors.grey1};
96
- margin-left: ${a.sp4};
97
- &:hover {
98
- color: ${e=>e.theme.colors.primary};
99
- }
100
- `,Ve=r(tt)`
101
- display: flex;
102
- color: ${e=>e.borderColor};
103
- align-items: center;
104
- justify-content: flex-end;
105
- margin-left: ${a.sp3};
106
- padding: 1px 6px 1px 6px;
107
- border: ${e=>`1px solid ${e.borderColor}`};
108
- border-radius: ${a.sp1};
109
- min-width: fit-content;
110
- max-width: fit-content;
111
- `,Ti=r.div`
112
- display: flex;
113
- justify-content: center;
114
- align-items: center;
115
- `,ji=r.div`
116
- display: flex;
117
- width: max-content;
118
- align-items: center;
119
- justify-content: center;
120
- flex-direction: column;
121
- background-color: ${e=>e.theme.colors.grey5};
122
- color: ${e=>e.theme.colors.hero};
123
- cursor: pointer;
124
- padding-top: ${a.sp1};
125
- padding-bottom: ${a.sp1};
126
- position: absolute;
127
- bottom: ${e=>l.otherActionsContainerBottom.valuePx(e.windowSize)};
128
- z-index: 3;
129
- border: ${e=>`1px solid ${e.theme.colors.grey3}`};
130
- border-radius: ${a.sp1};
131
- right: ${e=>l.right.valuePx(e.windowSize)};
132
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1} 3D`};
133
- `,Si=r.div`
134
- position: fixed;
135
- top: 0;
136
- left: 42vw;
137
- width: 100%;
138
- height: 100vh;
139
- background: transparent;
140
- box-shadow: 0 2px ${a.sp1} ${({theme:e})=>e.colors.dropShadowNormal};
141
- pointer-events: none;
142
- z-index: 1;
143
- `,Ii=r.div`
144
- width: auto;
145
- justify-content: flex-end;
146
- position: ${e=>e.windowSize==="small"?"static":"relative"};
147
- right: ${e=>l.actionsContainerRight.valuePx(e.windowSize)};
148
- height: 100%;
149
- display: flex;
150
- `,re=r(Zt)`
151
- display: flex;
152
- align-items: center;
153
- width: 100%;
154
- padding-left: ${a.sp3};
155
- padding-right: ${a.sp3};
156
- height: ${a.sp6};
157
- box-sizing: border-box;
158
- &:hover {
159
- background-color: ${e=>e.theme.colors.background};
160
- }
161
- `,Di=r.div`
162
- display: flex;
163
- width: 100%;
164
- position: sticky;
165
- bottom: 0;
166
- z-index: 2;
167
- `,Ci=r.div`
168
- min-height: ${e=>l.navBarHeight.valuePx(e.windowSize)};
169
- height: ${e=>l.navBarHeight.valuePx(e.windowSize)};
170
- display: flex;
171
- align-items: center;
172
- width: 100%;
173
- justify-content: space-between;
174
- position: fixed;
175
- z-index: 4;
176
- `,ki=r(Vt)`
177
- color: ${e=>e.theme.colors.brandColorJade};
178
- cursor: pointer;
179
- width: ${a.sp4};
180
- height: ${a.sp4};
181
- `,T=r.div`
182
- display: flex;
183
- flex: 1;
184
- background-color: ${e=>e.theme.colors.grey3};
185
- min-height: 1px;
186
- max-height: 1px;
187
- `,zi=r(Gt)`
188
- cursor: pointer;
189
- width: ${a.sp4};
190
- height: ${a.sp4};
191
- float: right;
192
- color: ${e=>e.theme.colors.hero};
193
- &:hover {
194
- color: ${e=>e.theme.colors.primary};
195
- }
196
- `,Ai=r.div`
197
- margin-top: ${e=>l.closeMarginTop.valuePx(e.windowSize)};
198
- display: flex;
199
- float: right;
200
- `,Mi=r.div`
201
- display: flex;
202
- align-items: center;
203
- justify-content: center;
204
- position: relative;
205
- cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
206
- color: ${e=>e.theme.colors.hero};
207
- &:hover {
208
- color: ${e=>e.theme.colors.primary};
209
- }
210
- `,Ri=r(Yt)`
211
- display: flex;
212
- width: ${a.sp4};
213
- height: ${a.sp4};
214
- align-items: center;
215
- justify-content: center;
216
- `,Pi=r.div`
217
- margin-top: ${e=>l.closeMarginTop.valuePx(e.size)};
218
- margin-left: ${a.sp5};
219
- `,Bi=r.div`
220
- display: flex;
221
- flex-direction: column;
222
- width: 100vw;
223
- background: -webkit-linear-gradient(
224
- to right,
225
- ${e=>e.theme.colors.background} 42%,
226
- ${e=>e.theme.colors.grey4} 42%
227
- );
228
- background: -moz-linear-gradient(
229
- to right,
230
- ${e=>e.theme.colors.background} 42%,
231
- ${e=>e.theme.colors.grey4} 42%
232
- );
233
- background: -o-linear-gradient(
234
- to right,
235
- ${e=>e.theme.colors.background} 42%,
236
- ${e=>e.theme.colors.grey4} 42%
237
- );
238
- background: linear-gradient(
239
- to right,
240
- ${e=>e.theme.colors.background} 42%,
241
- ${e=>e.theme.colors.grey4} 42%
242
- );
243
- ${e=>e.windowSize==="small"&&`
244
- background: ${e.theme.colors.grey4};
245
- `}
246
- height: 100vh;
247
- overflow: scroll;
248
- `,Ye=r.div`
249
- width: 42%;
250
- `,Ni=r.div`
251
- margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
252
- margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
253
- `,Ge=r.div`
254
- margin-bottom: ${e=>l.bottomMargin.valuePx(e.windowSize)};
255
- margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
256
- margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
257
- `,He=r.div`
258
- display: flex;
259
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
260
- align-items: ${e=>e.windowSize==="small"?"unset":"center"};
261
- margin-top: ${e=>l.topMargin.valuePx(e.windowSize)};
262
- margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
263
- margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
264
- width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
265
- `,Xe=r(Xt)`
266
- flex-grow: 1;
267
- ${e=>`${li.formTitle.style(e.windowsSize)}`};
268
- color: ${e=>e.theme.colors.primary};
269
- word-break: break-all;
270
- `,Li=r.div`
271
- display: flex;
272
- flex-direction: column;
273
- margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
274
- margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
275
- `,qe=r.div`
276
- padding: ${a.sp3};
277
- display: flex;
278
- align-items: center;
279
- justify-content: center;
280
- background-color: ${e=>e.theme.colors.grey3};
281
- border: 1px solid ${e=>e.theme.colors.grey3};
282
- border-radius: ${a.sp2};
283
- color: ${e=>e.theme.colors.hero};
284
- margin-bottom: ${e=>l.totalBottomMargin.valuePx(e.windowSize)};
285
- justify-content: space-between;
286
- `,Qe=r(Qt)`
287
- display: flex;
288
- width: 176px;
289
- color: ${e=>e.theme.colors.primary};
290
- `,_i=r.div`
291
- display: flex;
292
- flex-direction: column;
293
- width: ${e=>l.rightSectionWidth.valuePercentage(e.windowSize)};
294
- `,Ze=r.div`
295
- display: flex;
296
- width: 100%;
297
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
298
- align-items: ${e=>e.windowSize==="small"?"center":"flex-start"};
299
- `,Oi=r.div`
300
- width: ${e=>l.leftSectionWidth.valuePercentage(e.windowSize)};
301
- `,Wi=r.div`
302
- background: ${e=>e.theme.colors.grey3};
303
- border-radius: ${a.sp2};
304
- margin-top: ${e=>l.topMargin.valuePx(e.windowSize)};
305
- margin-left: ${e=>l.invoiceLeftMargin.valuePx(e.windowSize)};
306
- margin-right: ${e=>l.invoiceRightMargin.valuePx(e.windowSize)};
307
- margin-bottom: ${e=>e.bottomSeperator===!0&&e.windowSize!=="small"?"107px":a.sp5};
308
- `,Ei=r.div`
309
- display: flex;
310
- flex-direction: column;
311
- height: ${a.sp11};
312
- `,Fi=r.div`
313
- margin-top: 78px;
314
- `;export{ia as default};
@@ -1,290 +0,0 @@
1
- import{e as Tt,Q as vt,C as y,cK as jt,M as St,cL as Ct,cM as Dt,j as t,cN as It,cO as le,cP as At,l as s,cQ as Pt,cR as kt,Z as j,cS as Mt,a0 as k,cT as Bt,cU as Nt,cV as ke,cW as Me,cX as Be,$ as G,cY as O,cZ as z,c_ as _,g as S,c$ as Rt,d0 as Ft,d1 as Lt,d2 as Et,bq as Ne,o as n,a4 as Ot,r as c,f as zt,bA as _t,b as Wt,c as Ut,d3 as Zt,bQ as Ht,s as de,n as se,d4 as Vt,d5 as Yt,aC as Gt,_ as qt,ao as Kt,J as Qe,b7 as Qt,w as Xe,aQ as Xt,d6 as Jt}from"./index-RcMUg6rr.js";import{b as U,n as i}from"./vendor-rkTZJa59.js";import{t as en,o as tn}from"./LowBalancePopup-CQQrhufv-ooiA9ZXC.js";import{S as W}from"./LabeledText-DZVRFAkG-rHxfEtQQ.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const Je=["small","medium-compact","medium-regular"],p={largeLabelWidth:new y(150,215,215),infoMinWidth:new y(0,0,0,142,142),infoMarginRight:new y(0,0,0,c[2],c[2]),footerButtonWidth:new y(120,165),iconContainerMarginTop:new y(6,c[1]),navBarContainerPaddingTop:new y(10,c[3]),sectionTitleMarginLeft:new y(c[3],c[0]),reviewContainerMarginLeft:new y(c[3],c[6]),reviewContainerMarginRight:new y(c[3],c[8]),footerRightIconMarginRight:new y(c[0],c[0],c[7]),infoLabelPaddingRight:new y(c[0],c[3]),infoLabelMarginTop:new y(c[1],c[0])},nn={sectionTitle:new Wt("h6Medium","h5Medium")},{dateFormat:Re,common:{currency:v,labels:Fe,edit:an,strings:{empty:h}},spendManagement:{billPay:ln}}=St.getLocalizedStrings(),{billDetails:a,paymentDetails:Le}=ln,Ee=({attachment:e})=>{const[w,x]=U.useState(!1),M=()=>{x(!1)},C=e.fileId?.length===0;return t.jsxs(Bn,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>C===!1?x(!0):null,children:[w&&e?.fileDownloadUrl!=null?t.jsx(Vt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:x}):null,t.jsx(Nn,{children:t.jsx(Yt,{contentType:e.contentType})})]})},ti=({billDetails:e,billpayApprovalView:w,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:C,isLocalCurrencyEnabled:et,style:tt,analytics:$,isRecurringBillsFeatureEnabled:nt,isApprovalRequiredForMarkAsPaid:it,isDetectInsufficientFundsEnabled:at,billId:f,onClickEdit:ce,discardBillDetailsFromLocalStore:me,saveBillDetails:pe,discardOutsideZeniPaymentData:lt,updateBillDetailSaveBillCode:ue,redirectToBillsScreen:ye,onAttachmentClick:X,retryPayment:ot})=>{const d=Tt(),m=vt(),B={application:"dashboard",companyId:m.currentTenant?.companyId,tab:"bill",entityId:f},N=x&&f!=null,R=`dashboard_${m.currentTenant?.companyId}`,F=p.largeLabelWidth.value(d),L=e.saveStatus,J=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=jt(C,et,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),D=Re.visual.MMMDCommaYYYYformat,he={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},u={amount:o?.method.includes("international")===!0?Ct(he,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},E={amount:o?.method.includes("international")===!0?Dt(he,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[rt,ge]=U.useState(!1),[dt,xe]=U.useState(!1),fe=()=>ge(!1),st=()=>{$.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ct=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Pn,{size:d,children:t.jsx(An,{})})]}):It(e.paymentDetailsSection?.paymentTo);U.useEffect(()=>{(L?.fetchState==="Completed"||J?.fetchState==="Completed")&&(me(),ue(),ye())},[L,J,ye,me,ue]);const T=e.billPayInfo?.stage,A=e.billPayInfo?.billStatus,Z=e.billPayInfo?.billPaymentStatus,mt=e.billPayInfo?.billPaymentRefundStatus,te=T?.code==="paid"?T:A?.code=="approved"&&Z?.code?Z:A,pt=e.billPayInfo?.isRefundInitiated===!0?mt:A?.code=="approved"&&Z?.code?Z:A,ne=()=>{ce()},be=()=>{ce()},H=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),we=ie.replace("Same Day",""),ut=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:we,onClick:st}):a.addedByZeni,V=w.allApprovalRules.length>0,yt=s.toAmount(o?.method!=null&&(o.method.includes(s.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?u.amount-E.amount:u.amount,o?.fee.currencyCode??s.defaultVendorCurrency.currencyCode,o?.fee.currencySymbol??s.defaultVendorCurrency.currencySymbol),g=s.isPaymentMethodOutsideZeni(e.paymentDetailsSection?.paymentType?.method),ht=l=>{$.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",T?.code??"draft",te?.code??""),pe(!0,l)},$e=()=>{xe(!0),$.trackBillPayMarkAsPaid(T?.code??"draft",te?.code??"")},gt=()=>{lt(),xe(!1)},P=g&&(T?.code!=null?T.code==="draft"||A?.code==="approved":!0),b=P&&!it,Te=Oe(b,V,e.isBillMarkedForRetry),xt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(s.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===v.currencyCode?Ft(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=at&&e.paymentDetailsSection!=null?Pt(u,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,ft=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,I=e.recurringConfig,wt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&$.trackBillPayAutoDateChange(f??"new_bill"),o?.method!=null&&l!=null){const $t=g?a.paymentOutsideZeni.offline:le(o.method);if($.trackBillPaySendForApproval($t,l.format(Re.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:s.zeniDate(I?.startDate?.toString()??"").format(D),endDate:s.zeniDate(I?.endDate?.toString()??"").format(D),frequency:I?.frequency??"monthly",totalAmount:wt.amount,totalPaymentCycles:I?.totalPaymentCycles??0,isApprovalRequired:I?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?I?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?I?.updateRecurringBills==="all":void 0}),ae!=null){const Se=T?.code??"draft",Ce=A?.code??"",De=e.isRecurring?["Recurring"]:["One-Time"],Ie=e.invoiceNumber??"",Ae=Jt(m.loggedInUser),Pe=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Te===a.scheduleBill?$.trackLowBalanceAccountSchedule(Se,Ce,De,Ie,Ae,Pe):Te===a.sendForApproval&&$.trackLowBalanceAccountSentForApproval(Se,Ce,De,Ie,Ae,Pe)}}},ve=()=>{je===!0&&Y(!1),e.isBillMarkedForRetry===!0?(ot(),$.trackRetryConfirmClick(te?.code??"",T?.code??"",pt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&(ft(),pe(!1,{}))},bt=s.checkIfCreatorIsApprover(u.amount,w.allApprovalRules,m.loggedInUser),[je,Y]=U.useState(!1);return t.jsxs(hn,{children:[dt?t.jsx(en,{onCancel:gt,onProceedForMarkAsPaid:ht,saveDetailsFetchState:L?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,je?t.jsx(tn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:ve,onCancelClick:()=>{Y(!1),ne()},onClickAway:()=>{Y(!1)}}):null,t.jsx(kt,{anchor:"right",open:rt,onClose:fe,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Mt,{companyName:Bt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:H?.format(D)??"",paymentType:we,amount:k("0,0[.]00",u),isInvoiceAttached:!!e.file,onClose:fe})}),t.jsxs(gn,{windowSize:d,style:tt,children:[d==="small"?t.jsxs(In,{windowSize:d,children:[t.jsx(Ve,{onClick:be,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(We,{windowSize:d,children:a.oneLastLook})]}):t.jsx(Dn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ve,{onClick:be})}),d!=="small"?t.jsx(fn,{children:t.jsx(We,{windowSize:d,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(bn,{children:[t.jsxs(wn,{children:[t.jsx(zn,{}),t.jsxs($n,{children:[t.jsx(vn,{children:a.duplicateBillPayWarning}),t.jsxs(Tn,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>X(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Ln,{children:[t.jsx(On,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Nt(l);return l!=null?t.jsx(En,{children:Je.includes(d)?t.jsxs(Ue,{windowSize:d,children:[t.jsxs(jn,{children:[t.jsxs(Sn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Ee,{attachment:l.attachments[0]}):t.jsx(Ye,{children:t.jsx(Ge,{})}),t.jsx(K,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(qe,{windowSize:d,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Rn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsxs(K,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ke,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ue,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(Ee,{attachment:l.attachments[0]}):t.jsx(Ye,{children:t.jsx(Ge,{})}),t.jsxs(Fn,{"data-testid":j("review-detail-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsx(K,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(K,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(qe,{style:{width:"25%"},windowSize:d,children:k("0,0[.]00",l.amount)})]}),t.jsx(Ke,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Cn,{children:[t.jsx(Ze,{children:a.pay}),t.jsx(He,{children:t.jsx(Be,{amount:yt,integerStyles:G.largeMedium.cssObject,decimalStyles:G.smallMedium.cssObject})}),t.jsx(Ze,{children:a.to}),t.jsx(He,{children:e.vendor?.name})]}),t.jsxs(xn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("withdrawFrom")}`},children:t.jsx(W,{label:{label:a.withdrawFrom,width:F},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Rt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(d),marginTop:p.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(q,{})]}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentType")}`},children:t.jsx(W,{label:{label:a.paymentMethod,width:F},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:xt()})}),t.jsx(q,{}),!g&&H!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentDate")}`},children:t.jsx(W,{label:{label:a.paymentDate,width:F},style:{width:"auto"},value:H.format(D),additionalInfoLabel:`${a.estimatedArrival}${s.zeniDate(s.getNextNthWorkingDay(H.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(D)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(q,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentTo")}`},children:t.jsx(W,{label:{label:a.paymentTo,width:F},style:{width:"auto"},value:ct??"",additionalInfoLabel:ut})}),g||nt?t.jsxs(t.Fragment,{children:[t.jsx(q,{}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("recurringPaymentType")}`},children:t.jsx(W,{label:{label:a.paymentType,width:F},style:{width:"auto"},value:Et(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Lt(d,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(s.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(mn,{children:t.jsxs(pn,{windowSize:d,children:[t.jsxs(un,{children:[t.jsx(dn,{children:a.total}),t.jsx(Ne,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(cn,{children:[t.jsxs(_e,{children:[t.jsx(re,{children:o.method.includes(s.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&ee!==v.currencyCode?Le.conversionAmountColon:Fe.invoiceAmount}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount-E.amount,currencySymbol:E.currencySymbol})})]}),t.jsxs(_e,{children:[t.jsx(re,{children:Le.transactionFee}),t.jsx(oe,{children:k("0,0[.]00",{amount:E.amount,currencySymbol:E.currencySymbol})})]}),t.jsx(sn,{}),t.jsxs(rn,{children:[t.jsx(re,{children:Fe.total}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount,currencyCode:u.currencyCode,currencySymbol:u.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(on,{})})]}),t.jsx(yn,{children:t.jsx(Be,{amount:s.toAmount(u.amount,u.currencyCode,u.currencySymbol),integerStyles:G.h6Medium.cssObject,decimalStyles:G.standardMedium.cssObject})})]})}):null]}),t.jsx(Ot,{cancelBtn:{label:P&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:P&&!b?$e:ne,style:{width:ze(!1,P,b,V,d)}},primaryBtn:{label:Oe(b,V,e.isBillMarkedForRetry),isLoading:L?.fetchState==="In-Progress"||J?.fetchState==="In-Progress",onClick:b?$e:()=>{bt&&ae!=null?Y(!0):ve()},style:{width:ze(!0,P,b,V,d)}},rightSideComponent:P&&!b&&L.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:d,children:t.jsx(Ne,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:an,placement:"top",children:t.jsx(Un,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Wn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(s.NEW_INTERNATIONAL_METHOD_SUBTEXT)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(s.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(s.NEW_INTERNATIONAL_METHOD_SUBTEXT)?t.jsxs(kn,{children:[a.internationalText1,t.jsx(Mn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Oe=(e,w,x)=>e?a.paymentOutsideZeni.markAsPaid:x===!0?a.retryPayment:w?a.sendForApproval:a.scheduleBill,ze=(e,w,x,M,C)=>x?128:w&&!e&&C==="small"?"auto":M?165:p.footerButtonWidth.value(C),on=i(Qt)`
2
- width: ${n.sp3};
3
- height: ${n.sp3};
4
- color: ${e=>e.theme.colors.hero};
5
- &:hover {
6
- color: ${e=>e.theme.colors.primary};
7
- }
8
- `,_e=i(Xe)`
9
- display: flex;
10
- justify-content: space-between;
11
- padding-bottom: ${n.sp1};
12
- `,oe=i.div`
13
- color: ${e=>e.theme.colors.brandColorPearl};
14
- `,re=i.div`
15
- color: ${e=>e.theme.colors.hero};
16
- `,rn=i(Xe)`
17
- display: flex;
18
- justify-content: space-between;
19
- padding-top: ${n.sp1};
20
- `,dn=i.div``,sn=i.div`
21
- background-color: ${S.neutralGrey3Dark};
22
- height: 1px;
23
- width: 280px;
24
- `,cn=i.div``,mn=i.div`
25
- display: flex;
26
- width: 100%;
27
- box-sizing: border-box;
28
- `,pn=i.div`
29
- width: 100%;
30
- padding: ${n.sp3};
31
- display: flex;
32
- align-items: center;
33
- justify-content: center;
34
- background-color: ${e=>e.theme.colors.grey3};
35
- border: 1px solid ${e=>e.theme.colors.grey3};
36
- border-radius: ${n.sp2};
37
- color: ${e=>e.theme.colors.hero};
38
- margin-bottom: ${n.sp2};
39
- `,un=i(Qe)`
40
- gap: ${n.sp1};
41
- display: flex;
42
- width: 100%;
43
- color: ${e=>e.theme.colors.primary};
44
- align-items: center;
45
- `,yn=i(Qe)`
46
- display: flex;
47
- width: calc(100% - 176px);
48
- justify-content: flex-end;
49
- color: ${e=>e.theme.colors.primary};
50
- `,hn=i.div`
51
- display: flex;
52
- flex-direction: column;
53
- width: 100%;
54
- height: 100%;
55
- `,gn=i.div`
56
- display: flex;
57
- flex-grow: 1;
58
- flex-direction: column;
59
- margin-left: ${e=>p.reviewContainerMarginLeft.valuePx(e.windowSize)};
60
- margin-right: ${e=>p.reviewContainerMarginRight.valuePx(e.windowSize)};
61
- padding-top: ${n.sp3};
62
- `,xn=i.div`
63
- display: flex;
64
- flex-direction: column;
65
- background-color: ${e=>e.theme.colors.grey5};
66
- border: 1px solid ${e=>e.theme.colors.grey3};
67
- box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal}`};
68
- border-radius: ${n.sp2};
69
- margin-bottom: ${n.sp3};
70
- margin-top: ${n.sp3};
71
- `,q=i.div`
72
- display: flex;
73
- flex: 1;
74
- background-color: ${e=>e.theme.colors.grey3};
75
- min-height: 1px;
76
- max-height: 1px;
77
- `,We=i(Ut)`
78
- color: ${e=>e.theme.colors.primary};
79
- ${e=>`${nn.sectionTitle.style(e.windowSize)}`};
80
- margin-left: ${e=>p.sectionTitleMarginLeft.valuePx(e.windowSize)};
81
- `,fn=i.div`
82
- display: flex;
83
- margin-bottom: ${n.sp3};
84
- margin-top: ${n.sp3};
85
- `,bn=i.div`
86
- display: flex;
87
- flex-direction: column;
88
- border-radius: ${n.sp2};
89
- padding: ${n.sp3} ${n.sp4};
90
- background-color: ${e=>e.theme.colors.grey5};
91
- border: 1px solid ${e=>e.theme.colors.grey3};
92
- box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal}`};
93
- `,wn=i.div`
94
- background-color: ${S.alertLight};
95
- border-radius: ${n.sp2};
96
- width: 100%;
97
- display: flex;
98
- `,$n=i.div`
99
- display: flex;
100
- flex-direction: column;
101
- padding-left: ${n.sp2};
102
- `,Tn=i(de)`
103
- padding-bottom: ${n.sp3};
104
- color: ${S.brandColorGoldDark};
105
- `,vn=i(Ht)`
106
- padding-top: ${n.sp3};
107
- color: ${S.brandColorGoldDark};
108
- `,Ue=i.div`
109
- display: flex;
110
- flex-direction: ${e=>Je.includes(e.windowSize)?"column":"row"};
111
- width: 100%;
112
- `,jn=i.div`
113
- display: flex;
114
- justify-content: space-between;
115
- align-items: center;
116
- column-gap: ${n.sp1};
117
- `,Sn=i.div`
118
- display: flex;
119
- column-gap: ${n.sp2};
120
- align-items: center;
121
- `,Cn=i.div`
122
- display: flex;
123
- padding-top: ${n.sp3};
124
- `,Ze=i(qt)`
125
- display: flex;
126
- color: ${e=>e.theme.colors.hero};
127
- margin-right: ${n.sp1};
128
- `,He=i(Kt)`
129
- display: flex;
130
- color: ${e=>e.theme.colors.primary};
131
- margin-right: ${n.sp1};
132
- `,Ve=i(_t)`
133
- cursor: pointer;
134
- color: ${e=>e.theme.colors.hero};
135
- width: 20px;
136
- height: 20px;
137
- &:hover {
138
- color: ${e=>e.theme.colors.primary};
139
- }
140
- `,Dn=i.div`
141
- margin-bottom: ${n.sp3};
142
- `,In=i.div`
143
- display: flex;
144
- align-items: center;
145
- margin-right: ${e=>e.showAutofill===!0?n.sp8:"unset"};
146
- position: absolute;
147
- width: 100%;
148
- top: ${n.sp0};
149
- padding-top: ${e=>p.navBarContainerPaddingTop.valuePx(e.windowSize)};
150
- padding-right: 33px;
151
- padding-bottom: ${e=>p.navBarContainerPaddingTop.valuePx(e.windowSize)};
152
- padding-left: ${n.sp0};
153
- z-index: 2;
154
- background-color: ${e=>e.theme.colors.grey4};
155
- `,An=i(zt)`
156
- height: ${n.sp3};
157
- width: ${n.sp3};
158
- color: ${e=>e.theme.colors.hero};
159
- `,Pn=i.span`
160
- display: flex;
161
- align-items: center;
162
- margin-left: ${n.sp2};
163
- margin-top: ${e=>p.iconContainerMarginTop.valuePx(e.size)};
164
- align-self: ${e=>e.size==="small"?"baseline":"center"};
165
- `,kn=i(se)`
166
- color: ${e=>e.theme.colors.grey1};
167
- display: flex;
168
- flex-wrap: wrap;
169
- justify-content: center;
170
- align-items: center;
171
- `,Mn=i.a`
172
- color: ${e=>e.theme.colors.grey1};
173
- text-decoration: underline;
174
- margin-right: ${n.sp1};
175
- margin-left: ${n.sp1};
176
- &:hover {
177
- color: ${e=>e.theme.colors.primary};
178
- }
179
- `,Bn=i.div`
180
- cursor: ${e=>e.isDisabled?"default":"pointer"};
181
- display: flex;
182
- flex-direction: row;
183
-
184
- align-items: center;
185
- color: ${e=>e.theme.colors.hero};
186
- margin-right: ${n.sp2};
187
- &:hover {
188
- svg {
189
- color: ${e=>e.isDisabled?e.theme.colors.hero:e.theme.colors.primary};
190
- }
191
- }
192
- `,Nn=i.div`
193
- width: ${n.sp4};
194
- height: ${n.sp4};
195
- display: flex;
196
- `,Ye=i.div`
197
- cursor: default;
198
- display: flex;
199
- align-items: center;
200
- margin-right: ${n.sp1};
201
- `,Ge=i(Gt)`
202
- cursor: pointer;
203
- width: ${n.sp4};
204
- height: ${n.sp4};
205
- color: ${e=>e.theme.colors.hero};
206
- `,K=i(de)`
207
- display: flex;
208
- color: ${e=>e.theme.colors.hero};
209
- align-items: center;
210
- min-width: 142px;
211
- flex-grow: 1;
212
- `,qe=i(de)`
213
- display: flex;
214
- color: ${e=>e.theme.colors.primary};
215
- align-items: center;
216
- margin-right: ${e=>p.infoMarginRight.valuePx(e.windowSize)};
217
- min-width: ${e=>p.infoMinWidth.valuePx(e.windowSize)};
218
- justify-content: flex-end;
219
- `,Rn=i.div`
220
- display: flex;
221
- cursor: pointer;
222
- column-gap: ${n.sp1};
223
- margin-left: ${n.sp5};
224
- `,Ke=i.div`
225
- width: 120px;
226
- display: flex;
227
- justify-content: flex-end;
228
- align-items: center;
229
- `,Fn=i.div`
230
- display: flex;
231
- flex-grow: 1;
232
- cursor: pointer;
233
- width: 100%;
234
- `,Q=i(se)`
235
- display: flex;
236
- color: ${e=>e.borderColor};
237
- height: 20px;
238
- text-align: center;
239
- max-width: 84px;
240
- display: block;
241
- cursor: default;
242
- white-space: nowrap;
243
- overflow: hidden;
244
- text-overflow: ellipsis;
245
- align-items: center;
246
- justify-content: flex-end;
247
- padding: 1px 6px;
248
- border: ${e=>`1px solid ${e.borderColor}`};
249
- border-radius: ${n.sp1};
250
- `,Ln=i.div`
251
- display: flex;
252
- flex-direction: column;
253
- `,En=i.div`
254
- display: flex;
255
- width: 100%;
256
- flex-flow: column;
257
- padding-top: ${n.sp2};
258
- padding-bottom: ${n.sp2};
259
- border-bottom: ${e=>`1px solid ${e.theme.colors.grey3}`};
260
- `,On=i(se)`
261
- margin-top: ${n.sp3};
262
- color: ${S.alert};
263
- `,zn=i(Zt)`
264
- min-width: ${n.sp4};
265
- height: ${n.sp4};
266
- width: ${n.sp4};
267
- margin-top: ${n.sp3};
268
- margin-left: ${n.sp4};
269
- color: ${S.brandColorGoldDark};
270
- `,_n=i.div`
271
- display: flex;
272
- justify-content: flex-end;
273
- margin-right: ${e=>p.footerRightIconMarginRight.valuePx(e.windowSize)};
274
- `,Wn=i(Xt)`
275
- cursor: pointer;
276
- color: ${e=>e.theme.colors.hero};
277
- width: ${n.sp4};
278
- height: ${n.sp4};
279
- &:hover {
280
- color: ${e=>e.theme.colors.primary};
281
- }
282
- `,Un=i.div`
283
- display: flex;
284
- cursor: pointer;
285
- color: ${e=>e.theme.colors.grey1};
286
- margin-left: ${n.sp2};
287
- &:hover {
288
- color: ${e=>e.theme.colors.primary};
289
- }
290
- `;export{ti as default};