@zeniai/web-cockpit-ui 1.15.31-qa → 1.15.32-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 (309) hide show
  1. package/dist/assets/ACHDetailsPage-tTJc_EMP-DYpFLcu6.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BtDuOBey-DmPphsXg.js → AIPerformancePage-ByUb4gCe-JuDAfC8h.js} +18 -18
  3. package/dist/assets/AccountInfoPage-VLhd4vnL-DXlupn44.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BLF92_vF-YYhij8lg.js → AccountInfoPageContent-BHD9tOzB-DoEbtT2v.js} +15 -15
  5. package/dist/assets/{AccountLockedInfoModal-AsMkXu1I-CVe3Hy3M.js → AccountLockedInfoModal-DNjLeZYt-D2fsUG4f.js} +2 -2
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CkaBrm5K-DIIw5FlK.js → AccountReconDetailsDrawerPage-BEfA1bsG-I47iAx1D.js} +10 -10
  7. package/dist/assets/{AccountRow-aEmcYP8T-BbTS3-CK.js → AccountRow-CK5HLVrf-CkNAMQ2u.js} +19 -19
  8. package/dist/assets/{AccountsPromoCardStack-C0At5pn8-DXWBY6OH.js → AccountsPromoCardStack-CaTnaSn3-FCk-ULE2.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CbjThbsA-CLlWEIxe.js → AddAddressForCardDrawer-DmajBqRK-DEh9VlDB.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CMJwUbgf-rrVXiQw9.js → AddToWalletPage-BSzuByT6-nwQQhLJ_.js} +36 -36
  11. package/dist/assets/{AgingReportsPage-B_BSfude-D0QpW98_.js → AgingReportsPage-D2gPAJKw-DtSYadID.js} +4 -4
  12. package/dist/assets/{AllUserItems-CGlWa60t-h-riUf2G.js → AllUserItems-BIf1v0a5-B9sgoKVP.js} +11 -11
  13. package/dist/assets/{ApAgingDetailPage-DT3vkmLG-C_cL6gbI.js → ApAgingDetailPage-pfP6vTc2-DNdR70Vv.js} +5 -5
  14. package/dist/assets/{AppBasePage-CDy7wPlv-BxqW_Qg2.js → AppBasePage-BGPY0zrb-Cgw6EXRu.js} +11 -11
  15. package/dist/assets/{AppDrawerContent-CEsXm_i6-CW1nkTKX.js → AppDrawerContent-6AX5Y5tK-C6Pu2n78.js} +2 -2
  16. package/dist/assets/{ApprovalRulesSettingsPage-CB2_4-2f-EvDWmVK-.js → ApprovalRulesSettingsPage-BurRfT7n-D8ylQviU.js} +1 -1
  17. package/dist/assets/{ArAgingChart-qxhWsIQb-C4Jx_960.js → ArAgingChart-Dx8jVL0O-CupzM74j.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BbzQryp_-CxVbfpIm.js → ArAgingDetailPage-BcrHD5zT-BoHizRsh.js} +6 -6
  19. package/dist/assets/{AttachmentView-duTVxc9g-BUPi4zJZ.js → AttachmentView-CdIA5zLk-Ccm-n9L1.js} +4 -4
  20. package/dist/assets/{BankAccountSection-CAwAf9xK-CgO5EJAd.js → BankAccountSection-Qe9eRUmE-B6lQ-JzW.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-CaDnP9_--BB5RKb-6.js → BankAccountWarningSection-BfN1KiTF-CqPWwbNY.js} +12 -12
  22. package/dist/assets/{BankConnectionsSettingsPage-CDV7O8cl-CZbYdgLy.js → BankConnectionsSettingsPage-Dmub7xxp-BTbJWWvl.js} +9 -9
  23. package/dist/assets/{BillDetailPage-DJxh2CIc-D5yng4UK.js → BillDetailPage-DHCP-PUd-DpbXdVFf.js} +13 -13
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-B2ZPbqtr-CSSyEtEl.js → BillPayApprovalRuleDetailPage-DS31MPI0-Dn-T4Njh.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-MM7v8ZMx-z7T84rau.js → BillPayApprovalRulesPage-Cc3wkV9k-DMlp8m1G.js} +13 -13
  26. package/dist/assets/{BillPayPromoPage-JK-VOx4W-B_C8DuZu.js → BillPayPromoPage-DslCxm8f-Be4WJJK2.js} +2 -2
  27. package/dist/assets/{BillPaySetUpPage-h0uoCWMl-DvAR3JfV.js → BillPaySetUpPage-DnabCnSI-3IQFcnkB.js} +1 -1
  28. package/dist/assets/BillingSettingsPage-B91NuvxJ-DIg4E4pn.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CPPDFsZt-D-k0WBgw.js → BillsBulkReviewDrawerPage-BOulFH2M-CfBwEemW.js} +1 -1
  30. package/dist/assets/{BoxItem-CYe_gTmA-Bq-cUyHa.js → BoxItem-Dhk2kQlB-ymoj_NmA.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-BU2b5oF1-tm8Rn4Pv.js +138 -0
  32. package/dist/assets/{CardNumberSubText-CFDhtij8-BJ6ircXZ.js → CardNumberSubText-CRjU8jZf-DzA9ggM9.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-BBGGzKh7-CDIItVJw.js → CashbackDetailPage-GNwtsA01-PgGpZ01a.js} +6 -6
  34. package/dist/assets/{ChargeCardDetailPage-BQhago53-CZ9rE-O-.js → ChargeCardDetailPage-DspeEPRm-DHY-84Ch.js} +40 -40
  35. package/dist/assets/{ChargeCardListPage-B0E-C3RH-qI0c9wPw.js → ChargeCardListPage-C4N76196-CL7LpKYX.js} +9 -9
  36. package/dist/assets/{ChargeCardListTable-ByGv0xWl-Dy5_i773.js → ChargeCardListTable-ObawcMuP-BDRD6_-S.js} +49 -49
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-LCY9rFqO-DFgHnoSL.js → ChargeCardPaymentHistoryPage-NBxH70YE-Cj3oOuEC.js} +27 -27
  38. package/dist/assets/{ChargeCardPromoPage-CKEnOseD-nYO2qT_d.js → ChargeCardPromoPage-CN9d98ht-4K-amLMG.js} +7 -7
  39. package/dist/assets/{ChargeCardSetupPage-BHv2VOdc-BfcjRYsg.js → ChargeCardSetupPage-Cie4HjPR-ZtUOiOiR.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-UpRXyPTS-DUoykYJ6.js → ChargeCardStatementsPage-DSUakLyb-fNOGZHcg.js} +4 -4
  41. package/dist/assets/{CheckDepositDrawerPage-0zbTQ3Fa-DZUNeuWX.js → CheckDepositDrawerPage-BK6iLLEA-jWxLf2wl.js} +23 -23
  42. package/dist/assets/{CollapsableReportTable-DlYIKSlQ-CTPvx283.js → CollapsableReportTable-vwzu1AgW-BTLj3VXb.js} +1 -1
  43. package/dist/assets/CompanyOfficerDetailsSection-CtptCfIN-apBFYZGi.js +331 -0
  44. package/dist/assets/{CompanyPassportCard-DeVPuuje-dXTJCMs0.js → CompanyPassportCard-DyasR99R-CYkEVZS_.js} +2 -2
  45. package/dist/assets/CompanyPassportPage-Xp8Bn6ev-Bfcf_ruC.js +417 -0
  46. package/dist/assets/{CompleteProfile-Y6HwKtpz-CKG60-Ev.js → CompleteProfile-CyoPiiWR-xf-bWpXE.js} +2 -2
  47. package/dist/assets/ConfettiBurst-BWYsiO3O-BTrtU6ii.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-COBnQDX5.js → ConstrainedInnerElement-BeIpAPjB-DDbvqxn6.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-BlZe6gmh-LIbnXoCR.js → CreateOrEditVendorPage-CecROHGm-D41yC84M.js} +16 -16
  50. package/dist/assets/{CreditCardPaymentDrawerPage-flPmyCaF-ju95FaYN.js → CreditCardPaymentDrawerPage-C6Tx5HFf-oVWkJDzH.js} +13 -13
  51. package/dist/assets/{CurrencySelectField-RiKAivD8-bvSf14oM.js → CurrencySelectField-DAmYUy85-BWbCVGju.js} +3 -3
  52. package/dist/assets/{CustomerOnboardingActivationPage-B7dLMk4g-BZHZ1dpa.js → CustomerOnboardingActivationPage-CsBXicnS-QAit89b5.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-CNJZIVlJ-BZqVU5dg.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-AWsst0XH-X1brA0-n.js → CustomerOnboardingDetailPageSkeleton-BrWGFePj-DMstYizh.js} +10 -10
  55. package/dist/assets/CustomerOnboardingNoStepsPage-EIhXr3Tb-DznkXuZH.js +66 -0
  56. package/dist/assets/CustomerOnboardingPage-DXoS8Lvh-C2VugePi.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DqgoBLWp-Cv1WT5RL.js → CustomerOnboardingProductSuitePage-BRXSZWKm-BD_syEun.js} +6 -6
  58. package/dist/assets/{Dashboard-D0KlujCx-BSLisJSN.js → Dashboard-Bd774Cwk-AzSeLKy1.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-bxKyMsG7-CUvvzIc4.js → DashboardReportPage-CdyFzIwd-DfVPg9E3.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-Ch0OiH1g-vmCAY7a1.js → DashboardSidebarBackgroundAnimation-NYtLjb5A-C-FYqFtS.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-BdZVCAx--CrDYcfUN.js → DepositAccTransactionItem-DZk4h7x--C88hUVsA.js} +6 -6
  62. package/dist/assets/{DepositAccTransactionListPage-LU0QMdSV-CKNGH1tO.js → DepositAccTransactionListPage-CKgbbZOW-BgK9Zw4Y.js} +3 -3
  63. package/dist/assets/{DomesticWireDetailsPage-CFt5GgZ1-DQv3a0ub.js → DomesticWireDetailsPage-CY2Pv6jd-CheyQF2l.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-CH_bA3On-B69b38U1.js → DownloadOverlay-BflHtA84-B4UfqjFr.js} +16 -16
  65. package/dist/assets/{DrawerPage-Cpdp-IFb-CaiAQFdD.js → DrawerPage-5Q_xvjmz-Co18igPQ.js} +8 -8
  66. package/dist/assets/EditPeoplePage-Dq02jvsi-b5H5H_8q.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-DnyyPZ26-Bd2lr5Lb.js → EditReimbursementDetailPage-CYnqM-2--BRFle9yb.js} +66 -66
  68. package/dist/assets/EntityDetailPage-s91tl4Wk-BAN18nGN.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BFpgAYAM-DJcwKTxQ.js → EntitySummarySection-BUjGJmFT-CjfLlHfk.js} +10 -10
  70. package/dist/assets/{ExpenseAutomationOverviewPage-YjOVm_Bw-DbWbD2ZW.js → ExpenseAutomationOverviewPage-D7_-NOLq-Bds1x68a.js} +19 -19
  71. package/dist/assets/{ExpenseAutomationPage-DlhH-R-e-DP26P-kb.js → ExpenseAutomationPage-CFxbvTbd-VTUN9rRL.js} +44 -44
  72. package/dist/assets/{ExpressPayPage-CKqPEfbR-B9xRjGEZ.js → ExpressPayPage-gyFQBzLO-BnlxI_0_.js} +20 -20
  73. package/dist/assets/{FeaturePreviewPage-Cs1Y3nP0-C736qEjy.js → FeaturePreviewPage-BT-WJozX-m5nY8Cr0.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-BCyL8Jdr-CTurJjBu.js → FollowStepsSection-Du2gzmC6-LTRvUZJY.js} +42 -42
  75. package/dist/assets/{GlobalReviewListPage-CBQFcVHd-BFn41JwP.js → GlobalReviewListPage-B0MxdV0g-O7Eaq9sr.js} +10 -10
  76. package/dist/assets/{InformationCardStack-nFMetrAy-DmLTnFTd.js → InformationCardStack-rAU0N5_N-BNWO8W3c.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-CEMeGJXy-Dl1gxtvy.js → InsightsCardStack-CEkmuCB6-CpJ0Ou6A.js} +9 -9
  78. package/dist/assets/InsightsSection-CK6L0ggh-DiYoPBIp.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-BQ7g3a3K-ZPT5zibV.js → IntegrationsSettingsPage-Do41V6J0-CYPG6GBQ.js} +5 -5
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BHRYsZgm-hXisNfc-.js → InternationalWireSwiftDetailsPage-BnsnrM3q-TCK2vz36.js} +31 -31
  81. package/dist/assets/InternationalWireVerificationPage-C3EEqPT--COWTCQVg.js +65 -0
  82. package/dist/assets/{InviteFormPage-BVXte8w8-Bv3riR4y.js → InviteFormPage-x40AE2Pw-DcL74k0M.js} +14 -14
  83. package/dist/assets/{InvitePageListView-DFPyLLrA-DwPZnRCN.js → InvitePageListView-CiVNaN8z-BNxs-kv2.js} +44 -44
  84. package/dist/assets/InvitePeoplePage-DGTYEet3-q8LMzEbG.js +12 -0
  85. package/dist/assets/{InvoiceUploadSection-B9q7nIs0-FeM5fM0I.js → InvoiceUploadSection-C4K602QO-edDVc4Pa.js} +4 -4
  86. package/dist/assets/{IssueChargeCardPage-BuLj1bOl-dPJklROU.js → IssueChargeCardPage-BVmxvrlx-Ca71cuKs.js} +15 -15
  87. package/dist/assets/{LabeledAddressValue-D2t8ti-C-DUztl2du.js → LabeledAddressValue-aejn380k-DwlaPoVh.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-DMcor_I8-DnYPVaTw.js → LabeledAddressValueField-DSU3b6xx-SFUhns2M.js} +4 -4
  89. package/dist/assets/{LabeledControlledCheckBoxField-B6w2HGJK-BLA_30cF.js → LabeledControlledCheckBoxField-CKE6Nln6-BoFyY4Lg.js} +2 -2
  90. package/dist/assets/LabeledCountryMultiSelectField-D1bMiaZj-DHyO4cp8.js +237 -0
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DHNAX5Pu-Cxl2v4pk.js → LabeledCreatableSingleSelectField-amXDv508-ayE33Uzo.js} +22 -18
  92. package/dist/assets/LabeledDocumentField-2_VcrmJN-NvvTwxvI.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BBS4da2b-CKcQYn_8.js → LabeledDropDownFormattedTextField-C6sW-5j7-DVIx7gwf.js} +4 -4
  94. package/dist/assets/{LabeledText-zjKn4Cw--Btj0vmVa.js → LabeledText-CrAhx4_P-BV766MG2.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-BdB4qtCG.js → LabeledUserSingleSelectWithSubtitlesField-BVZg_rlX-BekpWR05.js} +19 -19
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DiBtAWQ3-CYXjNxbc.js → LabeledZeniRolesDropDownField-DS1icRVA-0u4rotdW.js} +31 -31
  97. package/dist/assets/{LinkJETransactionPage-D66bzDh_-B9FEJF_c.js → LinkJETransactionPage-VdBxLFQc-55c5hzn3.js} +6 -6
  98. package/dist/assets/{LockCardPage-B1g2TZWL-BM1z6LUH.js → LockCardPage-Bs8xkpNa-BjwEOKdz.js} +44 -44
  99. package/dist/assets/{LowBalancePopup-DbtHeVY--C9EswVLY.js → LowBalancePopup-B0-WExEI-lrmES1sf.js} +2 -2
  100. package/dist/assets/MagicLinkACHDetailsPage-BitHcc3I-C98ytwJK.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-BFfxbnHp-N-D8lO-1.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-BncWaxsb-Bxijl5E3.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-DRcOlHnh-CSKpgnmw.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-CqkZ9wOf-DfDEh73I.js → MagicLinkTitleSection-vMBVJSVF-Cq6tgd4r.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-CKtLfBik-Pke0GJpe.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CE2ZqHBJ-BMkFuO3K.js → MyBankConnectionsSettingsPage-D6Gjqgv2-CIp3b4Hf.js} +10 -10
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-BffxXDZg-Dvb6_3Fu.js → MyPendingActivationChargeCardListPage-y9U4DJm9-CBr9crJC.js} +2 -2
  108. package/dist/assets/{MyProfileSettingsPage-DrsAlesY-j3nt47fF.js → MyProfileSettingsPage-D7btjvQI-mZy4329L.js} +8 -8
  109. package/dist/assets/NavBarWithPicker-B_vr1zc6-DAolNzoK.js +30 -0
  110. package/dist/assets/{NavigationArrow-DCCxx6H7-D4B8RREd.js → NavigationArrow-suk7KbA1-xl7E8Abj.js} +7 -7
  111. package/dist/assets/{NavigationDots-tWCw6Bpk-D0d4bwwO.js → NavigationDots-Dqcv5rrC-DzoP8t9X.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-UIA8zAjd-C002A9hY.js → NewGlobalMerchantPage-CRg1E4PG-_ea1Cd7Q.js} +33 -33
  113. package/dist/assets/NoDataChart-CGab-TiT-zyPeOkqC.js +26 -0
  114. package/dist/assets/NoDataTable-B2CS7NPq-CvFUjFVv.js +8 -0
  115. package/dist/assets/{NotFoundPage-CdH-3upl-DLtXDi3d.js → NotFoundPage-DGMaZUli-aSvAxp7G.js} +7 -7
  116. package/dist/assets/{NotificationSettingsPage-DP2gGIz1-DEKmBA8p.js → NotificationSettingsPage-CMkB3Lv2-DA8e_wrR.js} +10 -10
  117. package/dist/assets/{NotificationsListConfig-DG-DH2Aj-C3kn_PJf.js → NotificationsListConfig-8zpkH26L-DVh3_eXQ.js} +1 -1
  118. package/dist/assets/{NotificationsPage-CgFMmR2X-ZazUgOBE.js → NotificationsPage-D7bHfgsd-B-yh8id7.js} +19 -19
  119. package/dist/assets/{OpExByVendorPage-eUvIAWzt-CoPEiZJL.js → OpExByVendorPage-PfMkiQRt-CA9khm55.js} +6 -6
  120. package/dist/assets/OverlayContainerPage-D4QU0p4o-DAP8RqtI.js +11 -0
  121. package/dist/assets/{PandLWithForecastPage-8S06Nyi5-1bcdIh1F.js → PandLWithForecastPage-CtFnhBki-D2LFAlVU.js} +7 -7
  122. package/dist/assets/PaymentAccountSetupBillingAddressSection-gaNLv-zU-S6LvrwnZ.js +107 -0
  123. package/dist/assets/{PeoplePage-D1BLHtO0-C58P6kMk.js → PeoplePage-3Fux2UtP-BH9APgOv.js} +20 -20
  124. package/dist/assets/{Preview-Duq0gQMO.js → Preview-C8AzcAoJ.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-BKSXWnFR-D0XqWdeM.js → ProductsCarousel-BPUh4FO7-CHB-qbx5.js} +4 -4
  126. package/dist/assets/{PromoBaseCards-BYT9nEJT-DW8pd6tD.js → PromoBaseCards-Dmg5PtKw-t6EmiKvL.js} +14 -14
  127. package/dist/assets/{QBOConnectionDialog-C2-omQMZ-BcqWZr4J.js → QBOConnectionDialog-CLBqmpI8-DH4pGPEG.js} +3 -3
  128. package/dist/assets/{QBOSetupSection-lgv5wVlg-BJbJg-e3.js → QBOSetupSection-DwqXfi9i-B1C_WaXE.js} +18 -18
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CbJViS3x-CNPS2kKc.js → ReimbursementApprovalRuleDetailPage-BrfP2xcW-DQMVrjws.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BuNt-Bmb-C4xV1t6F.js → ReimbursementApprovalRulesPage-BmVVfYZD-BmlPhGFM.js} +7 -7
  131. package/dist/assets/{ReimbursementDetailPage-CK3-Jqkd-BXJxGVOx.js → ReimbursementDetailPage-j-kNxeWY-ZsW0KMFD.js} +5 -5
  132. package/dist/assets/{ReimbursementPromoPage-fptOAJna-kONXX9OV.js → ReimbursementPromoPage-D2kh5AHM-CtzDBBo_.js} +13 -13
  133. package/dist/assets/{ReimbursementSetUpPage-CidrpT2g-BaHYOosV.js → ReimbursementSetUpPage-D2890NEZ-Dgq0MW27.js} +8 -8
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cy_Hediw-CeMENnhM.js → ReimbursementsBulkReviewDrawerPage-qXtPaXjg-CLjTJ8gQ.js} +1 -1
  135. package/dist/assets/{ReloadCard-C81rGzOp-DrV9TjCC.js → ReloadCard-IEyjck4Y-Bypr7i2O.js} +8 -8
  136. package/dist/assets/{ReportTableViewSelector-neRSjrhV-DNMR9-mx.js → ReportTableViewSelector-CQjyJkzR-DZEqJbuf.js} +4 -4
  137. package/dist/assets/{ReportsPage-BhzQVaer-B1sMVpn4.js → ReportsPage-Bzz6If8N-i375FFbW.js} +3 -3
  138. package/dist/assets/{RevenueChart-x7uTbFlm-CjI9a83n.js → RevenueChart-B00OufPH-B5M-AM4i.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-jXZCylzg-B1MM8UC1.js → ReviewDetailsPage-NnD1LDcO-CZs19GX2.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-nlm2HnGw-UufbXYzP.js → ReviewOverlay-CFouRoKn-DAQDEDmS.js} +16 -16
  141. package/dist/assets/RoleWithToolTip-BBbrv_x_-D8MqiafD.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CkPzofLN-BWXCFq3v.js → ScheduleDetailsFixedAssetsPage-B5gQXUI9-DH6Yv6F_.js} +8 -8
  143. package/dist/assets/{ScheduleDetailsPage-BSZefKOh-Bo6woPA8.js → ScheduleDetailsPage-B1Kb9usK-BWyyTA9a.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-BW5M7Zfq-BwchdmgD.js → ScheduleSequenceTable-B973PTTc-C5HNHoNO.js} +14 -14
  145. package/dist/assets/{ScreenRoutes-Dwdg1cdb.js → ScreenRoutes-BUhhsxeL.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-C703iFL6-CHmt5sZt.js → SetUpAccountSection-D6dn2jSD-B2ahVHn3.js} +1 -1
  147. package/dist/assets/{SignIn-D9K5FklU-CRWhJbb6.js → SignIn-CUOfBh48-Cs6fsPrc.js} +25 -25
  148. package/dist/assets/SignInScreen-B9_ZQMfW.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-CBNtC74m-Fd85QGhs.js → SpendManagementListViewPage-DOkp7pHa-D_rDsyPi.js} +14 -14
  150. package/dist/assets/{SpendManagementPerTabPage-D_sa7WRd-CmfTgI85.js → SpendManagementPerTabPage-D_LO55uU-DKDZqq7t.js} +27 -27
  151. package/dist/assets/{SpendManagementSection-DpZUTV6m-4JhWZKtl.js → SpendManagementSection-CEMNFPRO-DOfjR_1U.js} +23 -23
  152. package/dist/assets/{StatementItem-DvdSsb8I-HhjAsWuo.js → StatementItem-BDCdJuBz-C5KxKZf9.js} +4 -4
  153. package/dist/assets/StatementsPage-CgbyzDo5-dOiBmz6G.js +58 -0
  154. package/dist/assets/{StatusSwitcher-hKYgwNLC-DHsQ9BVG.js → StatusSwitcher-BjvUftXD-BmCBIDA6.js} +4 -4
  155. package/dist/assets/{SubTabSwitcher-aeDd9xiF-CP_NcrPb.js → SubTabSwitcher-CqTYhJ6K-C6tI5OUk.js} +1 -1
  156. package/dist/assets/{SummaryCard-CK8Gxbiu-CIbHrisD.js → SummaryCard-BrsOKcrF-DWcUToK_.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-D2Ooq8DR-Cg7nwJeB.js → TaskManagementPage-C5vXcK0R-BbbjC-Tz.js} +16 -16
  158. package/dist/assets/{TimeRangeSwitcher-DEqlZxa6-DEfl1xmz.js → TimeRangeSwitcher-BR-bT1hY-DWqBq-hp.js} +2 -2
  159. package/dist/assets/{TimeframeSwitcher-BppC6giF-C7ddFaNs.js → TimeframeSwitcher-B7EXKmdi-DuvH5agU.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-CbX9ElMN-hszvw3pP.js → TimeframeSwitcherWithToggle-D265f15Y-T64K-skP.js} +1 -1
  161. package/dist/assets/{TopExCard-Cy6tPVSx-Bbwl1jG_.js → TopExCard-l-xo9Vzj-B1PmkJWv.js} +10 -10
  162. package/dist/assets/{TopExDetailPage-Rtrcdkcp-vpPj9dbp.js → TopExDetailPage-DJlHcjKS-Bho9tEuD.js} +10 -10
  163. package/dist/assets/{TransactionActivityLogPage-DbwSsjPJ-C5f3uEbO.js → TransactionActivityLogPage-HLwrGJCG-BzrsUVPS.js} +7 -7
  164. package/dist/assets/{TransactionDetailPage-D-vXAAB7-KMY-seM4.js → TransactionDetailPage-63dqDjgt-B4iYNZGu.js} +35 -35
  165. package/dist/assets/{TransactionList-BruCNjQg-Ccsvct2A.js → TransactionList-BFD8ZfJ--BUbGyMLK.js} +10 -10
  166. package/dist/assets/{TransactionListBig-bp7q3prH-DMAN1AsC.js → TransactionListBig-Cd05cE1H-CAcC3Nig.js} +4 -4
  167. package/dist/assets/{TransactionListPage-ZfJsaVb8-GGjXUKns.js → TransactionListPage-klQ0oBzv-C-lEqqat.js} +2 -2
  168. package/dist/assets/TransactionVendorDetailPage-D93V6PtT-CNzgHcFV.js +80 -0
  169. package/dist/assets/{TransferDrawerPage-DswS6KZf-BDyM8T09.js → TransferDrawerPage-B_Hy3gOY-Clor74dq.js} +12 -12
  170. package/dist/assets/{TreasuryOverviewPage-DWo7iRpO-DSI7EDiH.js → TreasuryOverviewPage-CJrfTwBd-BzblsfCt.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-DQxCF3-4-C3eX58kN.js → TreasuryPromoPage-BRwTbEqr-C3oIH7Gd.js} +131 -131
  172. package/dist/assets/TreasuryStatementsPage-CpVaxZhO-BbzJpZN2.js +58 -0
  173. package/dist/assets/TreasuryTaxLetterPage-CUHNWUy--WkFWI_33.js +58 -0
  174. package/dist/assets/{TrendChart-BMHDaOeh-LWC7_lHj.js → TrendChart-DLex57el-Bd2WzCxo.js} +2 -2
  175. package/dist/assets/{TrendWithTransactions-DDLrmIrt-BXL-CVpz.js → TrendWithTransactions-CwB4wDSN-BMowh4TY.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-3SW8Gj0Z-CDWZIxfG.js → UncategorizedAccountsMappingPage-CO7p4-Kx-BZ0VCWbX.js} +17 -17
  177. package/dist/assets/{UnitIntegrationPage-DPMy8dXP-nT8iCa4v.js → UnitIntegrationPage-BDUTrQY0-SS19l8Xm.js} +11 -11
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-BHpT2al--DXABnZU8.js → UploadAdditionalDocumentOverlay-DID6dcux-DPsjTLN9.js} +1 -1
  179. package/dist/assets/Vendor2FAPopup-DySyuG4R-82OgFcz6.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-CS0fu-kk-0b8QPMYJ.js +1 -0
  181. package/dist/assets/{VendorDetailPage-BC1FhaQA-KI0Ch5Gm.js → VendorDetailPage-DRgwiRee-B2tPGfn4.js} +23 -23
  182. package/dist/assets/VendorDomesticWireDetailsPage-B3mJqOdK-BoqOh8HT.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-DYyPOA8D-CxoCgeSh.js → VendorFiling1099EditablePage-CtReDQX3-DVZfKoI-.js} +13 -13
  184. package/dist/assets/{VendorFirstReviewPage-Cpmk7rDk-CFOuqq24.js → VendorFirstReviewPage-BGVFKcId-7yTwYSjG.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-CWAWq6kq-DzcoBHDk.js → VendorInternationalWireDetailsPage-DtFlzIWc-CYBlV4Tg.js} +13 -13
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CfWP7ILx-BygrRGvT.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-CGQ35Mhp-fa4HsF-c.js → VendorsAccountsSection-DlCCF8w7-CQtCi0t6.js} +3 -3
  188. package/dist/assets/{VerifyDevice-CfMJW1Vh-t_8HTul6.js → VerifyDevice-CDChzTa5-fyUSUzra.js} +7 -7
  189. package/dist/assets/{VideoPlayer-BNBpjXJk-jZcx6J3u.js → VideoPlayer-D6snpLby-D_sf9SSM.js} +2 -2
  190. package/dist/assets/{VideoPopup-BF6lmB7l-CPNBV8xg.js → VideoPopup-SylQ4T6l-DUuwzYmi.js} +3 -3
  191. package/dist/assets/{WarningsDrawerPage-Crj70lnR-BFJEBaju.js → WarningsDrawerPage-D67GprmZ-Dc_Jo6Z8.js} +7 -7
  192. package/dist/assets/{ZeniAccountDetailPage-CaA6m3tQ-DsIFFK_h.js → ZeniAccountDetailPage-BfYIZPob-DCZW5ugr.js} +13 -13
  193. package/dist/assets/{ZeniAccountListViewPage-x_51gDs1-CM__NvGD.js → ZeniAccountListViewPage-B5luRVEl-ntYaih24.js} +17 -17
  194. package/dist/assets/{ZeniAccountNavBarPieces-Csr24dri-BqCNAJs9.js → ZeniAccountNavBarPieces-BQXOnqhc-D38WZkNq.js} +2 -2
  195. package/dist/assets/{ZeniAccountPromoPage-lxKBk2r5-KMuyeTSq.js → ZeniAccountPromoPage-CHCmIfff-DDgdwEph.js} +10 -10
  196. package/dist/assets/{ZeniAccountSetupPage-DUI4-2Zw-8cM-uoIc.js → ZeniAccountSetupPage-BzCqTug2-BN8jteFY.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-DxEZ4DiK-DLP_0Pge.js → ZeniCopyright-CiZTMpf7-C6VWdJm_.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-4Nq4Sm9J-VPec2EGj.js → ZeniTransferAmountSlider-C--qNr-a-BTUYZm1a.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-V6ap5s7K.js → add-to-wallet-DgdBD8_G-Cna2JrPi.js} +1 -1
  200. package/dist/assets/{analytics-BFo1DlpM.js → analytics-Cz7GTPb4.js} +1 -1
  201. package/dist/assets/analyticsHelper-D0FSznOb.js +1 -0
  202. package/dist/assets/{analyticsHelper-CL-t3Y2i-D7L_LVJW.js → analyticsHelper-DEOt00qX-3E5keIK0.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-DUYmTke7.js → arrow-south-east-round-PEovUgvH-D7Guqwvj.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-eGlQozxe.js → auto-transfer-rule-mbafm5D3-DemMuLOK.js} +1 -1
  205. package/dist/assets/{chartTypes-B3501CSI-DzRICrvV.js → chartTypes-BqKhmkSG-DaJzMpYW.js} +1 -1
  206. package/dist/assets/{commonDimensions-YcBBlmYP-COMWV7bj.js → commonDimensions-DbvjFx29-M5i-B_2F.js} +1 -1
  207. package/dist/assets/commonTypes-TAIHQ3fk-BCFWsh3s.js +1 -0
  208. package/dist/assets/{constants-D7SXzzFi.js → constants-DAniohK4.js} +1 -1
  209. package/dist/assets/{core-TLZ6PfaT.js → core-BHxev_Cl.js} +1 -1
  210. package/dist/assets/{dash.all.min-B_wsJDV-.js → dash.all.min-CtGtyz3U.js} +1 -1
  211. package/dist/assets/{detailCommon-C19MYPnq-BkT0buD6.js → detailCommon-BEEE23XQ-C9xvv1qO.js} +4 -4
  212. package/dist/assets/downloadPdf-CDTl_Ev--DwC3gr_X.js +1 -0
  213. package/dist/assets/{empty-DHRJKl0l.js → empty-BjQqAnEr.js} +1 -1
  214. package/dist/assets/{empty-Dl7OEA8R.js → empty-ycUigo07.js} +1 -1
  215. package/dist/assets/epic-ouf99YlI.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-BxnAFpgS.js → gift-box-Cmt9OgIZ-DQLMM0Jc.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BXAAbldy.js → graphic-no-data-l-DU4J8fDt-EQfaFxjc.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-RQBIXxmP.js → graphic-no-data-net-burn-l-CzmycA0m-iUVSxIP-.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-B_pRiSxy.js → handshake-BPg58FML-SL3xJab2.js} +1 -1
  220. package/dist/assets/helper-Cl1NuKS2-BXsdA-OL.js +223 -0
  221. package/dist/assets/{index-CZI3Ylli.js → index-BCs-C6Pl.js} +1 -1
  222. package/dist/assets/{index-f03AvpmF.js → index-BVl75ift.js} +1 -1
  223. package/dist/assets/{index-CT7uQHtl.js → index-CZ6iVFod.js} +1 -1
  224. package/dist/assets/{index-Cs8eLM6a.js → index-DDBZjEhE.js} +1 -1
  225. package/dist/assets/{index-CJvK7-J_.js → index-DKIaTfNE.js} +1 -1
  226. package/dist/assets/{index-B4SkrUUS.js → index-DOsjGhSZ.js} +2459 -2446
  227. package/dist/assets/{index-AKtmkw3-.js → index-wXhIQbLd.js} +1 -1
  228. package/dist/assets/{lexical-DGcsrY0x.js → lexical-Dja08wvc.js} +1 -1
  229. package/dist/assets/{liveblocks-Dh9EWLXD.js → liveblocks-KFxhhSr3.js} +1 -1
  230. package/dist/assets/{lottie-osIcf0zV.js → lottie-DDoT_sT4.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-CBq8hzRN-DunJzr3i.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BDWD3x8r-BJJQ7ptw.js → mapSectionWithAcOnlyToTreeNode-DtYXgw-F-TAq1Mekz.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-ycecmJKa-Hd0mRrjF.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-ByLaAQOt-Biy9DgAh.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-C8E1dOPs-B00cM4ms.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-v8qXI-n8-DJfWjA89.js +1 -0
  237. package/dist/assets/{mui-DUBEtzg-.js → mui-B2MHg-Mu.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-C8N6TvJI.js → page-detail-CWX5S47F-Dqz3fZ9M.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-CVhhFPCD.js → panelSelectedMixin-CzfD5-Zs-CL2f5PJh.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-Cr1_qpyQ.js → radio-default-CiSgisfh-CIrmE0sr.js} +1 -1
  241. package/dist/assets/{react-DYqSDMNg.js → react-B5mg5_zl.js} +2 -2
  242. package/dist/assets/{react-DM-hrQxT.js → react-BWSczdFz.js} +1 -1
  243. package/dist/assets/{react-jiKdoZ4l.js → react-BzzxkC3X.js} +1 -1
  244. package/dist/assets/{react-Ld4wkc7L.js → react-CciBBuhn.js} +1 -1
  245. package/dist/assets/{react-Bk-13Lv_.js → react-DJSfrAX2.js} +1 -1
  246. package/dist/assets/{react-DKnK-TxQ.js → react-Dn-7aN5D.js} +1 -1
  247. package/dist/assets/{react-Xrf7IcXX.js → react-DqyAh0nx.js} +1 -1
  248. package/dist/assets/{react-DJtWQPHO.js → react-GWLRtgTU.js} +2 -2
  249. package/dist/assets/{recharts-ZbSULBPo.js → recharts-B7o7FzH2.js} +1 -1
  250. package/dist/assets/{sentry-BBFZ4Apy.js → sentry-otjdlEta.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-CxpeC9Dy.js → shield-DOlUxcFf-DDxUv5Gm.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-DKhXdLyk-D9LH1M_c.js +1 -0
  253. package/dist/assets/{toChartData-DzatRnt8-r7b4SzAV.js → toChartData-B3G_wqcy-uAjzhvaS.js} +1 -1
  254. package/dist/assets/{uploadAttachment-Bq8dk-Sm-BxzYH_e-.js → uploadAttachment-CLjjVoJ0-Do2BBtK7.js} +22 -22
  255. package/dist/assets/uploadReceipts-Dge0cNF1-BhANrZur.js +1 -0
  256. package/dist/assets/{url-B-vFaWHB.js → url-DCdUzyOP.js} +1 -1
  257. package/dist/assets/{url-DieIsDlx.js → url-Dy00DrU7.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-BO__ObzU.js → useLongPress-GCK2COYQ-Sm0Bw4m0.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-Ob7uwwlJ.js → usp-line-BBd1wKwW-BmAEJQI7.js} +1 -1
  260. package/dist/assets/{utils-DvDl_6hs.js → utils-BbmM3Vsp.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-CbQxc4HL.js → zeni-epic-state-DVinyIRY.js} +18 -18
  262. package/dist/index.html +1 -1
  263. package/package.json +3 -3
  264. package/dist/assets/ACHDetailsPage-CxpLuJpQ-Z25Kj8iB.js +0 -21
  265. package/dist/assets/AccountInfoPage-DkpBGfrR-DgJ_l529.js +0 -18
  266. package/dist/assets/BillingSettingsPage-gJG9OxD6-C92nEYt6.js +0 -44
  267. package/dist/assets/BusinessVerificationPage-Dos8Bnvb-BzlY8P7N.js +0 -138
  268. package/dist/assets/CompanyOfficerDetailsSection-Ck0xqZ0d-CiQdQV8c.js +0 -260
  269. package/dist/assets/CompanyPassportPage-F_GUET9a-n_4C1XId.js +0 -574
  270. package/dist/assets/ConfettiBurst-BGE3Okwr-ChtxA3B0.js +0 -1
  271. package/dist/assets/CustomerOnboardingContainerPage-BHPDhC3d-DmiTHP_R.js +0 -1
  272. package/dist/assets/CustomerOnboardingNoStepsPage-Bqid4-rH-BGImJqrF.js +0 -66
  273. package/dist/assets/CustomerOnboardingPage-B5LrMzZS-BM4VGeP8.js +0 -107
  274. package/dist/assets/EditPeoplePage-BYnuNojX-tF0zDJiV.js +0 -55
  275. package/dist/assets/EntityDetailPage-DSfZZ1JW-B8lmLppd.js +0 -18
  276. package/dist/assets/InsightsSection-BYiN2xB7-xEpnMvUU.js +0 -27
  277. package/dist/assets/InternationalWireVerificationPage-tJbVtzQP-CZgDrSPN.js +0 -292
  278. package/dist/assets/InvitePeoplePage-B-uxjkke-DNUKVrZj.js +0 -12
  279. package/dist/assets/LabeledDocumentField-Bx1u7vv_-mKnRKGeb.js +0 -41
  280. package/dist/assets/MagicLinkACHDetailsPage-X1pXkZYT-DFFPBXzS.js +0 -1
  281. package/dist/assets/MagicLinkDomesticWireDetailsPage-BDl8k_bB-BL-x5WX7.js +0 -1
  282. package/dist/assets/MagicLinkInternationalWireDetailsPage-Q4lIsHtG-CqwaJ0sv.js +0 -1
  283. package/dist/assets/MagicLinkSuccessPage-BkxuITX--DbmxzFZs.js +0 -31
  284. package/dist/assets/MailingDetailsSection-DRFGCM2W-D6QU019C.js +0 -21
  285. package/dist/assets/NavBarWithPicker-C4VfP_Kw-BP1hKzBN.js +0 -30
  286. package/dist/assets/NoDataChart-Bvetk9za-ChhbhAl5.js +0 -26
  287. package/dist/assets/NoDataTable-9xF1_3XS-DmyXOk6M.js +0 -8
  288. package/dist/assets/OverlayContainerPage-D4QU0p4o-Bv0v7Lg9.js +0 -11
  289. package/dist/assets/PaymentAccountSetupBillingAddressSection-DQtrANhI-Dbgw6-lm.js +0 -107
  290. package/dist/assets/RoleWithToolTip-C29QOzxS-Dtn3QO2t.js +0 -22
  291. package/dist/assets/SignInScreen-93gtogD5.js +0 -1
  292. package/dist/assets/StatementsPage-73jGj5P2-CMTCSEyj.js +0 -58
  293. package/dist/assets/TransactionVendorDetailPage-CldkuO2--Depffy_Y.js +0 -80
  294. package/dist/assets/TreasuryStatementsPage-CYkPtmaT-D5EUuNcF.js +0 -58
  295. package/dist/assets/TreasuryTaxLetterPage-DH3su_rX-DoShkWFh.js +0 -58
  296. package/dist/assets/Vendor2FAPopup-C6gEOhUv-CYnz9DAX.js +0 -1
  297. package/dist/assets/VendorACHDetailsPage-LNCcubjL-BYnoq0_Z.js +0 -1
  298. package/dist/assets/VendorDomesticWireDetailsPage-CLudahOt-D5L89H8f.js +0 -1
  299. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CUtums8t-DsF3BjGD.js +0 -1
  300. package/dist/assets/analyticsHelper-BeWexRsD.js +0 -1
  301. package/dist/assets/downloadPdf-DPAqxw6u-CTz8FOiE.js +0 -1
  302. package/dist/assets/epic-hSb3tBg_.js +0 -2
  303. package/dist/assets/mapLoadingInProgressToTreeNode-D2u9MDI--C5UhDOED.js +0 -1
  304. package/dist/assets/mapSpacerToTreeNode-Blr3egSm-DTRUivWC.js +0 -1
  305. package/dist/assets/mapTimeframeBalancesToTreeNode-3Hd8QHr2-CJNy6I1V.js +0 -1
  306. package/dist/assets/mapTimeframeBalancesToTreeNode-D-LTfKnD-BwhFvpsB.js +0 -1
  307. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-zWnJVGsZ.js +0 -1
  308. package/dist/assets/toCOABalancesWithID-D35Fk0m2-devRZ_lq.js +0 -1
  309. package/dist/assets/uploadReceipts-Dge0cNF1-BfejUd9f.js +0 -1
@@ -1,31 +1,31 @@
1
- import{J as Tt,aw as Ct,y as u,f5 as Dt,f6 as It,f7 as kt,V as t,f8 as Pt,f9 as le,fa as At,fb as Mt,fc as Bt,fd as Ft,aO as A,fe as Rt,aQ as j,ff as Lt,fg as Me,fh as Be,fi as Fe,b as U,fj as O,p as S,fk as Nt,fl as E,fm as _,fn as zt,fo as Ot,bU as Re,o as n,aS as Et,u as d,F as _t,ag as Zt,c3 as Wt,N as Vt,a as Yt,fp as qt,cj as Ht,al as de,am as ce,fq as Ut,fr as Gt,bj as Kt,d as Jt,ba as Xt,fs as Qt,aq as et,bL as en,ai as tt,bu as tn,ft as nn}from"./index-B4SkrUUS.js";import{a as W}from"./sentry-BBFZ4Apy.js";import{n as i}from"./mui-DUBEtzg-.js";import{bo as Le,bm as Ne,bH as I,bN as an,Fz as ln,bL as oe,bP as on}from"./zeni-epic-state-CbQxc4HL.js";import{t as rn,o as sn}from"./LowBalancePopup-DbtHeVY--C9EswVLY.js";import{S as Z}from"./LabeledText-zjKn4Cw--Btj0vmVa.js";import"./liveblocks-Dh9EWLXD.js";import"./core-TLZ6PfaT.js";import"./recharts-ZbSULBPo.js";import"./lottie-osIcf0zV.js";import"./analytics-BFo1DlpM.js";import"./lexical-DGcsrY0x.js";import"./utils-DvDl_6hs.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="07c7557b-3356-45e6-9638-fca3b84cfece",e._sentryDebugIdIdentifier="sentry-dbid-07c7557b-3356-45e6-9638-fca3b84cfece")}catch{}})();const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},dn={sectionTitle:new Vt("h6Medium","h5Medium")},{dateFormat:ze,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=_t.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=mn,_e=({attachment:e})=>{const[y,f]=W.useState(!1),M=()=>{f(!1)},T=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>T===!1?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Ut,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Gt,{contentType:e.contentType})})]})},di=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:it,style:at,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:st,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:X,retryPayment:dt})=>{const s=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(s),N=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,it,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=ze.visual.MMMDCommaYYYYformat,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},z={amount:o?.method.includes("international")===!0?kt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=W.useState(!1),[mt,xe]=W.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:s,children:t.jsx(Rn,{})})]}):Pt(e.paymentDetailsSection?.paymentTo);W.useEffect(()=>{(N?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(pe(),ye(),he())},[N,Q,he,pe,ye]);const $=e.billPayInfo?.stage,k=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:k?.code=="approved"&&V?.code?V:k,ht=e.billPayInfo?.isRefundInitiated===!0?yt:k?.code=="approved"&&V?.code?V:k,ne=()=>{me()},we=()=>{me()},Y=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),$e=ie.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:$e,onClick:pt}):a.addedByZeni,q=y.allApprovalRules.length>0,gt=Le(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-z.amount:p.amount,o?.fee.currencyCode??Ne.currencyCode,o?.fee.currencySymbol??Ne.currencySymbol),g=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{st(),xe(!1)},P=g&&($?.code!=null?$.code==="draft"||k?.code==="approved":!0),b=P&&!ot,je=Ze(b,q,e.isBillMarkedForRetry),wt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Qt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=rt&&e.paymentDetailsSection!=null?Mt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(x??"new_bill"),o?.method!=null&&l!=null){const St=g?a.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(ze.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(C),endDate:oe(D?.endDate?.toString()??"").format(C),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ae!=null){const Ce=$?.code??"draft",De=k?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Pe=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===a.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,ke,Pe,Ae):je===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,ke,Pe,Ae)}}},Se=()=>{Te===!0&&H(!1),e.isBillMarkedForRetry===!0?(dt(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Te,H]=W.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:N?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(sn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{H(!1),ne()},onClickAway:()=>{H(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Rt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:s,style:at,children:[s==="small"?t.jsxs(Fn,{windowSize:s,children:[t.jsx(Ge,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ye,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ge,{onClick:we})}),s!=="small"?t.jsx(Sn,{children:t.jsx(Ye,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(qn,{}),t.jsxs(Dn,{children:[t.jsx(kn,{children:a.duplicateBillPayWarning}),t.jsxs(In,{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(Wn,{children:[t.jsx(Yn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Lt(l);return l!=null?t.jsx(Vn,{children:nt.includes(s)?t.jsxs(qe,{windowSize:s,children:[t.jsxs(Pn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Ke,{children:t.jsx(Je,{})}),t.jsx(K,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Xe,{windowSize:s,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(_n,{"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(C)]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(qe,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Ke,{children:t.jsx(Je,{})}),t.jsxs(Zn,{"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(C)]}),t.jsx(Xe,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",l.amount)})]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(He,{children:a.pay}),t.jsx(Ue,{children:t.jsx(Fe,{amount:gt,integerStyles:U.largeMedium.cssObject,decimalStyles:U.smallMedium.cssObject})}),t.jsx(He,{children:a.to}),t.jsx(Ue,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(Z,{label:{label:a.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Nt(e.paymentDetailsSection.withdrawFrom,s):h,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(G,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(Z,{label:{label:a.paymentMethod,width:L},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(G,{}),!g&&Y!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(Z,{label:{label:a.paymentDate,width:L},style:{width:"auto"},value:Y.format(C),additionalInfoLabel:`${a.estimatedArrival}${oe(on(Y.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(G,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(Z,{label:{label:a.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(G,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(Z,{label:{label:a.paymentType,width:L},style:{width:"auto"},value:Ot(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:zt(s,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:s,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Re,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(Ve,{children:[t.jsx(se,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-z.amount,currencySymbol:z.currencySymbol})})]}),t.jsxs(Ve,{children:[t.jsx(se,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:z.amount,currencySymbol:z.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(se,{children:Oe.total}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Le(p.amount,p.currencyCode,p.currencySymbol),integerStyles:U.h6Medium.cssObject,decimalStyles:U.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:P&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:P&&!b?ve:ne,style:{width:We(!1,P,b,q,s)}},primaryBtn:{label:Ze(b,q,e.isBillMarkedForRetry),isLoading:N?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ae!=null?H(!0):Se()},style:{width:We(!0,P,b,q,s)}},rightSideComponent:P&&!b&&N.fetchState!=="In-Progress"?t.jsx(Hn,{windowSize:s,children:t.jsx(Re,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Gn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Un,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(Nn,{children:[a.internationalText1,t.jsx(zn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Ze=(e,y,f)=>e?a.paymentOutsideZeni.markAsPaid:f===!0?a.retryPayment:y?a.sendForApproval:a.scheduleBill,We=(e,y,f,M,T)=>f?128:y&&!e&&T==="small"?"auto":M?165:m.footerButtonWidth.value(T),pn=i(en)`
1
+ import{J as Tt,aw as Ct,y as u,f7 as Dt,f8 as It,f9 as kt,V as t,fa as Pt,fb as le,fc as At,fd as Mt,fe as Bt,ff as Ft,aO as A,fg as Lt,aQ as j,fh as Rt,fi as Me,fj as Be,fk as Fe,b as U,fl as O,p as S,fm as zt,fn as E,fo as _,fp as Nt,fq as Ot,bU as Le,o as n,aS as Et,u as s,F as _t,ag as Wt,c3 as Zt,H as Vt,a as Yt,fr as Ht,cj as qt,al as se,am as ce,fs as Ut,ft as Gt,bj as Kt,c as Jt,ba as Xt,fu as Qt,aq as et,bL as en,ai as tt,bu as tn,fv as nn}from"./index-DOsjGhSZ.js";import{a as Z}from"./sentry-otjdlEta.js";import{n as a}from"./mui-B2MHg-Mu.js";import{bo as Re,bm as ze,bH as I,bN as an,FF as ln,bL as oe,bP as on}from"./zeni-epic-state-DVinyIRY.js";import{t as rn,o as dn}from"./LowBalancePopup-B0-WExEI-lrmES1sf.js";import{S as W}from"./LabeledText-CrAhx4_P-BV766MG2.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="bbf01da9-352b-4f43-851d-86a76da60e3f",e._sentryDebugIdIdentifier="sentry-dbid-bbf01da9-352b-4f43-851d-86a76da60e3f")}catch{}})();const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},sn={sectionTitle:new Vt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=_t.getLocalizedStrings(),{billDetails:i,paymentDetails:Ee}=mn,_e=({attachment:e})=>{const[y,f]=Z.useState(!1),M=()=>{f(!1)},T=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>T===!1?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Ut,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Gt,{contentType:e.contentType})})]})},sa=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:at,style:it,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:X,retryPayment:st})=>{const d=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,L=`dashboard_${c.currentTenant?.companyId}`,R=m.largeLabelWidth.value(d),z=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,at,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=Ne.visual.MMMDCommaYYYYformat,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?kt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=Z.useState(!1),[mt,xe]=Z.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${i.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Rn,{size:d,children:t.jsx(Ln,{})})]}):Pt(e.paymentDetailsSection?.paymentTo);Z.useEffect(()=>{(z?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(pe(),ye(),he())},[z,Q,he,pe,ye]);const $=e.billPayInfo?.stage,k=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:k?.code=="approved"&&V?.code?V:k,ht=e.billPayInfo?.isRefundInitiated===!0?yt:k?.code=="approved"&&V?.code?V:k,ne=()=>{me()},we=()=>{me()},Y=e.paymentDetailsSection?.paymentDate,ae=le(o?.method??""),$e=ae.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:$e,onClick:pt}):i.addedByZeni,H=y.allApprovalRules.length>0,gt=Re(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),g=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{dt(),xe(!1)},P=g&&($?.code!=null?$.code==="draft"||k?.code==="approved":!0),b=P&&!ot,je=We(b,H,e.isBillMarkedForRetry),wt=()=>g?b?void 0:i.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Qt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ie=rt&&e.paymentDetailsSection!=null?Mt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(x??"new_bill"),o?.method!=null&&l!=null){const St=g?i.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(C),endDate:oe(D?.endDate?.toString()??"").format(C),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ie!=null){const Ce=$?.code??"draft",De=k?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Pe=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===i.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,ke,Pe,Ae):je===i.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,ke,Pe,Ae)}}},Se=()=>{Te===!0&&q(!1),e.isBillMarkedForRetry===!0?(st(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Te,q]=Z.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(dn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{q(!1),ne()},onClickAway:()=>{q(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Lt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:d,style:it,children:[d==="small"?t.jsxs(Fn,{windowSize:d,children:[t.jsx(Ge,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ye,{windowSize:d,children:i.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ge,{onClick:we})}),d!=="small"?t.jsx(Sn,{children:t.jsx(Ye,{windowSize:d,children:i.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(Hn,{}),t.jsxs(Dn,{children:[t.jsx(kn,{children:i.duplicateBillPayWarning}),t.jsxs(In,{children:[i.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:[i.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Zn,{children:[t.jsx(Yn,{children:i.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Rt(l);return l!=null?t.jsx(Vn,{children:nt.includes(d)?t.jsxs(He,{windowSize:d,children:[t.jsxs(Pn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Ke,{children:t.jsx(Je,{})}),t.jsx(K,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?i.invoiceNo:null,l.documentId]})})]}),t.jsx(Xe,{windowSize:d,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(_n,{"data-testid":j("review-detail-mobile-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsxs(K,{children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(C)]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(He,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Ke,{children:t.jsx(Je,{})}),t.jsxs(Wn,{"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?i.invoiceNo:null," ",l.documentId]})}),t.jsxs(K,{style:{width:"25%"},children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(C)]}),t.jsx(Xe,{style:{width:"25%"},windowSize:d,children:A("0,0[.]00",l.amount)})]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(qe,{children:i.pay}),t.jsx(Ue,{children:t.jsx(Fe,{amount:gt,integerStyles:U.largeMedium.cssObject,decimalStyles:U.smallMedium.cssObject})}),t.jsx(qe,{children:i.to}),t.jsx(Ue,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(W,{label:{label:i.withdrawFrom,width:R},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ie})}),t.jsx(G,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(W,{label:{label:i.paymentMethod,width:R},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(G,{}),!g&&Y!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(W,{label:{label:i.paymentDate,width:R},style:{width:"auto"},value:Y.format(C),additionalInfoLabel:`${i.estimatedArrival}${oe(on(Y.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ae.length>0?`${ae} `:""}${i.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${i.deliveryTimeUnits})`})}),t.jsx(G,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(W,{label:{label:i.paymentTo,width:R},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(G,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(W,{label:{label:i.paymentType,width:R},style:{width:"auto"},value:Ot(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(d,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:d,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:i.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(Ve,{children:[t.jsx(de,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ve,{children:[t.jsx(de,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(de,{children:Oe.total}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Re(p.amount,p.currencyCode,p.currencySymbol),integerStyles:U.h6Medium.cssObject,decimalStyles:U.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:P&&!b?i.paymentOutsideZeni.markAsPaid:i.editBill,onClick:P&&!b?ve:ne,style:{width:Ze(!1,P,b,H,d)}},primaryBtn:{label:We(b,H,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ie!=null?q(!0):Se()},style:{width:Ze(!0,P,b,H,d)}},rightSideComponent:P&&!b&&z.fetchState!=="In-Progress"?t.jsx(qn,{windowSize:d,children:t.jsx(Le,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Gn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Un,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[i.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:i.internationalTerms}),i.internationalText2]}):null})]})},We=(e,y,f)=>e?i.paymentOutsideZeni.markAsPaid:f===!0?i.retryPayment:y?i.sendForApproval:i.scheduleBill,Ze=(e,y,f,M,T)=>f?128:y&&!e&&T==="small"?"auto":M?165:m.footerButtonWidth.value(T),pn=a(en)`
2
2
  width: ${n.sp3};
3
3
  height: ${n.sp3};
4
4
  color: ${e=>e.theme.colors.hero};
5
5
  &:hover {
6
6
  color: ${e=>e.theme.colors.primary};
7
7
  }
8
- `,Ve=i(tt)`
8
+ `,Ve=a(tt)`
9
9
  display: flex;
10
10
  justify-content: space-between;
11
11
  padding-bottom: ${n.sp1};
12
- `,re=i.div`
12
+ `,re=a.div`
13
13
  color: ${e=>e.theme.colors.brandColorPearl};
14
- `,se=i.div`
14
+ `,de=a.div`
15
15
  color: ${e=>e.theme.colors.hero};
16
- `,un=i(tt)`
16
+ `,un=a(tt)`
17
17
  display: flex;
18
18
  justify-content: space-between;
19
19
  padding-top: ${n.sp1};
20
- `,yn=i.div``,hn=i.div`
20
+ `,yn=a.div``,hn=a.div`
21
21
  background-color: ${S.neutralGrey3Dark};
22
22
  height: 1px;
23
23
  width: 280px;
24
- `,fn=i.div``,gn=i.div`
24
+ `,fn=a.div``,gn=a.div`
25
25
  display: flex;
26
26
  width: 100%;
27
27
  box-sizing: border-box;
28
- `,xn=i.div`
28
+ `,xn=a.div`
29
29
  width: 100%;
30
30
  padding: ${n.sp3};
31
31
  display: flex;
@@ -36,30 +36,30 @@ import{J as Tt,aw as Ct,y as u,f5 as Dt,f6 as It,f7 as kt,V as t,f8 as Pt,f9 as
36
36
  border-radius: ${n.sp2};
37
37
  color: ${e=>e.theme.colors.hero};
38
38
  margin-bottom: ${n.sp2};
39
- `,bn=i(et)`
39
+ `,bn=a(et)`
40
40
  gap: ${n.sp1};
41
41
  display: flex;
42
42
  width: 100%;
43
43
  color: ${e=>e.theme.colors.primary};
44
44
  align-items: center;
45
- `,wn=i(et)`
45
+ `,wn=a(et)`
46
46
  display: flex;
47
47
  width: calc(100% - 176px);
48
48
  justify-content: flex-end;
49
49
  color: ${e=>e.theme.colors.primary};
50
- `,$n=i.div`
50
+ `,$n=a.div`
51
51
  display: flex;
52
52
  flex-direction: column;
53
53
  width: 100%;
54
54
  height: 100%;
55
- `,vn=i.div`
55
+ `,vn=a.div`
56
56
  display: flex;
57
57
  flex-grow: 1;
58
58
  flex-direction: column;
59
59
  margin-left: ${e=>m.reviewContainerMarginLeft.valuePx(e.windowSize)};
60
60
  margin-right: ${e=>m.reviewContainerMarginRight.valuePx(e.windowSize)};
61
61
  padding-top: ${n.sp3};
62
- `,jn=i.div`
62
+ `,jn=a.div`
63
63
  display: flex;
64
64
  flex-direction: column;
65
65
  background-color: ${e=>e.theme.colors.grey5};
@@ -68,21 +68,21 @@ import{J as Tt,aw as Ct,y as u,f5 as Dt,f6 as It,f7 as kt,V as t,f8 as Pt,f9 as
68
68
  border-radius: ${n.sp2};
69
69
  margin-bottom: ${n.sp3};
70
70
  margin-top: ${n.sp3};
71
- `,G=i.div`
71
+ `,G=a.div`
72
72
  display: flex;
73
73
  flex: 1;
74
74
  background-color: ${e=>e.theme.colors.grey3};
75
75
  min-height: 1px;
76
76
  max-height: 1px;
77
- `,Ye=i(Yt)`
77
+ `,Ye=a(Yt)`
78
78
  color: ${e=>e.theme.colors.primary};
79
- ${e=>`${dn.sectionTitle.style(e.windowSize)}`};
79
+ ${e=>`${sn.sectionTitle.style(e.windowSize)}`};
80
80
  margin-left: ${e=>m.sectionTitleMarginLeft.valuePx(e.windowSize)};
81
- `,Sn=i.div`
81
+ `,Sn=a.div`
82
82
  display: flex;
83
83
  margin-bottom: ${n.sp3};
84
84
  margin-top: ${n.sp3};
85
- `,Tn=i.div`
85
+ `,Tn=a.div`
86
86
  display: flex;
87
87
  flex-direction: column;
88
88
  border-radius: ${n.sp2};
@@ -90,46 +90,46 @@ import{J as Tt,aw as Ct,y as u,f5 as Dt,f6 as It,f7 as kt,V as t,f8 as Pt,f9 as
90
90
  background-color: ${e=>e.theme.colors.grey5};
91
91
  border: 1px solid ${e=>e.theme.colors.grey3};
92
92
  box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal}`};
93
- `,Cn=i.div`
93
+ `,Cn=a.div`
94
94
  background-color: ${S.alertLight};
95
95
  border-radius: ${n.sp2};
96
96
  width: 100%;
97
97
  display: flex;
98
- `,Dn=i.div`
98
+ `,Dn=a.div`
99
99
  display: flex;
100
100
  flex-direction: column;
101
101
  padding-left: ${n.sp2};
102
- `,In=i(de)`
102
+ `,In=a(se)`
103
103
  padding-bottom: ${n.sp3};
104
104
  color: ${S.brandColorGoldDark};
105
- `,kn=i(Ht)`
105
+ `,kn=a(qt)`
106
106
  padding-top: ${n.sp3};
107
107
  color: ${S.brandColorGoldDark};
108
- `,qe=i.div`
108
+ `,He=a.div`
109
109
  display: flex;
110
110
  flex-direction: ${e=>nt.includes(e.windowSize)?"column":"row"};
111
111
  width: 100%;
112
- `,Pn=i.div`
112
+ `,Pn=a.div`
113
113
  display: flex;
114
114
  justify-content: space-between;
115
115
  align-items: center;
116
116
  column-gap: ${n.sp1};
117
- `,An=i.div`
117
+ `,An=a.div`
118
118
  display: flex;
119
119
  column-gap: ${n.sp2};
120
120
  align-items: center;
121
- `,Mn=i.div`
121
+ `,Mn=a.div`
122
122
  display: flex;
123
123
  padding-top: ${n.sp3};
124
- `,He=i(Jt)`
124
+ `,qe=a(Jt)`
125
125
  display: flex;
126
126
  color: ${e=>e.theme.colors.hero};
127
127
  margin-right: ${n.sp1};
128
- `,Ue=i(Xt)`
128
+ `,Ue=a(Xt)`
129
129
  display: flex;
130
130
  color: ${e=>e.theme.colors.primary};
131
131
  margin-right: ${n.sp1};
132
- `,Ge=i(Wt)`
132
+ `,Ge=a(Zt)`
133
133
  cursor: pointer;
134
134
  color: ${e=>e.theme.colors.hero};
135
135
  width: 20px;
@@ -137,9 +137,9 @@ import{J as Tt,aw as Ct,y as u,f5 as Dt,f6 as It,f7 as kt,V as t,f8 as Pt,f9 as
137
137
  &:hover {
138
138
  color: ${e=>e.theme.colors.primary};
139
139
  }
140
- `,Bn=i.div`
140
+ `,Bn=a.div`
141
141
  margin-bottom: ${n.sp3};
142
- `,Fn=i.div`
142
+ `,Fn=a.div`
143
143
  display: flex;
144
144
  align-items: center;
145
145
  margin-right: ${e=>e.showAutofill===!0?n.sp8:"unset"};
@@ -152,23 +152,23 @@ import{J as Tt,aw as Ct,y as u,f5 as Dt,f6 as It,f7 as kt,V as t,f8 as Pt,f9 as
152
152
  padding-left: ${n.sp0};
153
153
  z-index: 2;
154
154
  background-color: ${e=>e.theme.colors.grey4};
155
- `,Rn=i(Zt)`
155
+ `,Ln=a(Wt)`
156
156
  height: ${n.sp3};
157
157
  width: ${n.sp3};
158
158
  color: ${e=>e.theme.colors.hero};
159
- `,Ln=i.span`
159
+ `,Rn=a.span`
160
160
  display: flex;
161
161
  align-items: center;
162
162
  margin-left: ${n.sp2};
163
163
  margin-top: ${e=>m.iconContainerMarginTop.valuePx(e.size)};
164
164
  align-self: ${e=>e.size==="small"?"baseline":"center"};
165
- `,Nn=i(ce)`
165
+ `,zn=a(ce)`
166
166
  color: ${e=>e.theme.colors.grey1};
167
167
  display: flex;
168
168
  flex-wrap: wrap;
169
169
  justify-content: center;
170
170
  align-items: center;
171
- `,zn=i.a`
171
+ `,Nn=a.a`
172
172
  color: ${e=>e.theme.colors.grey1};
173
173
  text-decoration: underline;
174
174
  margin-right: ${n.sp1};
@@ -176,7 +176,7 @@ import{J as Tt,aw as Ct,y as u,f5 as Dt,f6 as It,f7 as kt,V as t,f8 as Pt,f9 as
176
176
  &:hover {
177
177
  color: ${e=>e.theme.colors.primary};
178
178
  }
179
- `,On=i.div`
179
+ `,On=a.div`
180
180
  cursor: ${e=>e.isDisabled?"default":"pointer"};
181
181
  display: flex;
182
182
  flex-direction: row;
@@ -189,49 +189,49 @@ import{J as Tt,aw as Ct,y as u,f5 as Dt,f6 as It,f7 as kt,V as t,f8 as Pt,f9 as
189
189
  color: ${e=>e.isDisabled?e.theme.colors.hero:e.theme.colors.primary};
190
190
  }
191
191
  }
192
- `,En=i.div`
192
+ `,En=a.div`
193
193
  width: ${n.sp4};
194
194
  height: ${n.sp4};
195
195
  display: flex;
196
- `,Ke=i.div`
196
+ `,Ke=a.div`
197
197
  cursor: default;
198
198
  display: flex;
199
199
  align-items: center;
200
200
  margin-right: ${n.sp1};
201
- `,Je=i(Kt)`
201
+ `,Je=a(Kt)`
202
202
  cursor: pointer;
203
203
  width: ${n.sp4};
204
204
  height: ${n.sp4};
205
205
  color: ${e=>e.theme.colors.hero};
206
- `,K=i(de)`
206
+ `,K=a(se)`
207
207
  display: flex;
208
208
  color: ${e=>e.theme.colors.hero};
209
209
  align-items: center;
210
210
  min-width: 142px;
211
211
  flex-grow: 1;
212
- `,Xe=i(de)`
212
+ `,Xe=a(se)`
213
213
  display: flex;
214
214
  color: ${e=>e.theme.colors.primary};
215
215
  align-items: center;
216
216
  margin-right: ${e=>m.infoMarginRight.valuePx(e.windowSize)};
217
217
  min-width: ${e=>m.infoMinWidth.valuePx(e.windowSize)};
218
218
  justify-content: flex-end;
219
- `,_n=i.div`
219
+ `,_n=a.div`
220
220
  display: flex;
221
221
  cursor: pointer;
222
222
  column-gap: ${n.sp1};
223
223
  margin-left: ${n.sp5};
224
- `,Qe=i.div`
224
+ `,Qe=a.div`
225
225
  width: 120px;
226
226
  display: flex;
227
227
  justify-content: flex-end;
228
228
  align-items: center;
229
- `,Zn=i.div`
229
+ `,Wn=a.div`
230
230
  display: flex;
231
231
  flex-grow: 1;
232
232
  cursor: pointer;
233
233
  width: 100%;
234
- `,J=i(ce)`
234
+ `,J=a(ce)`
235
235
  display: flex;
236
236
  color: ${e=>e.borderColor};
237
237
  height: 20px;
@@ -247,31 +247,31 @@ import{J as Tt,aw as Ct,y as u,f5 as Dt,f6 as It,f7 as kt,V as t,f8 as Pt,f9 as
247
247
  padding: 1px 6px;
248
248
  border: ${e=>`1px solid ${e.borderColor}`};
249
249
  border-radius: ${n.sp1};
250
- `,Wn=i.div`
250
+ `,Zn=a.div`
251
251
  display: flex;
252
252
  flex-direction: column;
253
- `,Vn=i.div`
253
+ `,Vn=a.div`
254
254
  display: flex;
255
255
  width: 100%;
256
256
  flex-flow: column;
257
257
  padding-top: ${n.sp2};
258
258
  padding-bottom: ${n.sp2};
259
259
  border-bottom: ${e=>`1px solid ${e.theme.colors.grey3}`};
260
- `,Yn=i(ce)`
260
+ `,Yn=a(ce)`
261
261
  margin-top: ${n.sp3};
262
262
  color: ${S.alert};
263
- `,qn=i(qt)`
263
+ `,Hn=a(Ht)`
264
264
  min-width: ${n.sp4};
265
265
  height: ${n.sp4};
266
266
  width: ${n.sp4};
267
267
  margin-top: ${n.sp3};
268
268
  margin-left: ${n.sp4};
269
269
  color: ${S.brandColorGoldDark};
270
- `,Hn=i.div`
270
+ `,qn=a.div`
271
271
  display: flex;
272
272
  justify-content: flex-end;
273
273
  margin-right: ${e=>m.footerRightIconMarginRight.valuePx(e.windowSize)};
274
- `,Un=i(tn)`
274
+ `,Un=a(tn)`
275
275
  cursor: pointer;
276
276
  color: ${e=>e.theme.colors.hero};
277
277
  width: ${n.sp4};
@@ -279,7 +279,7 @@ import{J as Tt,aw as Ct,y as u,f5 as Dt,f6 as It,f7 as kt,V as t,f8 as Pt,f9 as
279
279
  &:hover {
280
280
  color: ${e=>e.theme.colors.primary};
281
281
  }
282
- `,Gn=i.div`
282
+ `,Gn=a.div`
283
283
  display: flex;
284
284
  cursor: pointer;
285
285
  color: ${e=>e.theme.colors.grey1};
@@ -287,4 +287,4 @@ import{J as Tt,aw as Ct,y as u,f5 as Dt,f6 as It,f7 as kt,V as t,f8 as Pt,f9 as
287
287
  &:hover {
288
288
  color: ${e=>e.theme.colors.primary};
289
289
  }
290
- `;export{di as default};
290
+ `;export{sa as default};
@@ -1,49 +1,49 @@
1
- import{J as P,V as i,aQ as m,o as r,aS as L,y as d,c as M,N as I,a as C,p as s,al as b,cD as D,T as W,ai as j,bi as R,u as n,eo as G,h as _,iZ as J,ka as A}from"./index-B4SkrUUS.js";import{n as t}from"./mui-DUBEtzg-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="fa7bfe47-aad8-4c8e-9f7a-552d1fc020bb",e._sentryDebugIdIdentifier="sentry-dbid-fa7bfe47-aad8-4c8e-9f7a-552d1fc020bb")}catch{}})();const l={containerMarginTop:new d(0,n[2]),containerMarginLeft:new d(n[3],n[8]),containerMarginRight:new d(n[3],n[8]),subTitleMarginBottom:new d(n[2],n[2]),titleMarginBotom:new d(n[0],n[2]),titleMarginRight:new d(n[0],n[3]),navBarHeight:new d(62,62,62),navBarPaddingLeft:new d(n[3],n[3],n[8]),navBarPaddingRight:new d(n[3],n[3],n[8])},F={title:new I("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:x,showFooter:S,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:B})=>{const a=P();return i.jsxs(Q,{children:[i.jsx(U,{windowSize:a,children:i.jsx(X,{children:i.jsx(Y,{windowSize:a,children:i.jsx(ee,{children:i.jsx(ie,{onClick:k,"data-testid":m("review-overlay-close",e)})})})})}),i.jsxs(V,{windowSize:a,children:[i.jsxs(H,{windowSize:a,children:[i.jsx(O,{children:i.jsx(Z,{windowSize:a,children:e})}),i.jsx(q,{isError:g.isError,windowSize:a,children:g.content})]}),i.jsx(K,{windowSize:a,children:x.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return i.jsxs(re,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?i.jsx(ce,{onClick:()=>B(o.id),"data-testid":m("review-close",o.id)}):null,i.jsxs(te,{children:[i.jsxs(ne,{children:[i.jsx(de,{children:N(o)}),i.jsxs(oe,{children:[i.jsxs(w,{children:[i.jsx(f,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:o.leftSideText.title}),i.jsx(f,{isWarning:c,isError:h,children:o.rightSideText.title})]}),i.jsxs(w,{children:[i.jsx(se,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),a!=="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),a==="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:o.rightSideText.additonalInfo})]}):null]})]},o.id)})})]}),S?i.jsx(L,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},N=e=>e.reviewStatus.isLoading?i.jsx(W,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):e.reviewStatus.code==="error"?i.jsx(y,{isError:!0}):e.reviewStatus.code==="warning"?i.jsx(y,{isError:!1}):e.reviewStatus.code==="valid"?i.jsx(ae,{}):e.reviewStatus.code==="low-balance"?i.jsx(he,{}):i.jsx(le,{}),Q=t.div`
1
+ import{J as P,V as i,aQ as m,o as r,aS as L,y as d,x as M,H as I,a as C,p as s,al as j,cD as D,T as W,ai as S,bi as R,u as n,en as G,h as _,i$ as H,kc as J}from"./index-DOsjGhSZ.js";import{n as t}from"./mui-B2MHg-Mu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="60eafe58-3a11-43df-8ff4-c92579c2f20f",e._sentryDebugIdIdentifier="sentry-dbid-60eafe58-3a11-43df-8ff4-c92579c2f20f")}catch{}})();const l={containerMarginTop:new d(0,n[2]),containerMarginLeft:new d(n[3],n[8]),containerMarginRight:new d(n[3],n[8]),subTitleMarginBottom:new d(n[2],n[2]),titleMarginBotom:new d(n[0],n[2]),titleMarginRight:new d(n[0],n[3]),navBarHeight:new d(62,62,62),navBarPaddingLeft:new d(n[3],n[3],n[8]),navBarPaddingRight:new d(n[3],n[3],n[8])},A={title:new I("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:x,showFooter:b,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:B})=>{const a=P();return i.jsxs(V,{children:[i.jsx(X,{windowSize:a,children:i.jsx(Y,{children:i.jsx(Z,{windowSize:a,children:i.jsx(ee,{children:i.jsx(ie,{onClick:k,"data-testid":m("review-overlay-close",e)})})})})}),i.jsxs(q,{windowSize:a,children:[i.jsxs(O,{windowSize:a,children:[i.jsx(Q,{children:i.jsx(K,{windowSize:a,children:e})}),i.jsx(N,{isError:g.isError,windowSize:a,children:g.content})]}),i.jsx(U,{windowSize:a,children:x.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return i.jsxs(re,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?i.jsx(ce,{onClick:()=>B(o.id),"data-testid":m("review-close",o.id)}):null,i.jsxs(te,{children:[i.jsxs(ne,{children:[i.jsx(de,{children:F(o)}),i.jsxs(oe,{children:[i.jsxs(w,{children:[i.jsx(f,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:o.leftSideText.title}),i.jsx(f,{isWarning:c,isError:h,children:o.rightSideText.title})]}),i.jsxs(w,{children:[i.jsx(se,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),a!=="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),a==="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:o.rightSideText.additonalInfo})]}):null]})]},o.id)})})]}),b?i.jsx(L,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},F=e=>e.reviewStatus.isLoading?i.jsx(W,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):e.reviewStatus.code==="error"?i.jsx(y,{isError:!0}):e.reviewStatus.code==="warning"?i.jsx(y,{isError:!1}):e.reviewStatus.code==="valid"?i.jsx(ae,{}):e.reviewStatus.code==="low-balance"?i.jsx(he,{}):i.jsx(le,{}),V=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
5
- `,V=t.div`
5
+ `,q=t.div`
6
6
  min-height: 100vh;
7
7
  display: flex;
8
8
  flex-direction: column;
9
9
  margin-top: ${e=>l.containerMarginTop.valuePx(e.windowSize)};
10
10
  margin-bottom: ${r.sp8};
11
- `,H=t.div`
11
+ `,O=t.div`
12
12
  position: sticky;
13
13
  top: ${r.sp0};
14
14
  background-color: ${e=>e.theme.colors.grey4};
15
15
  z-index: 1;
16
16
  padding-left: ${e=>l.containerMarginLeft.valuePx(e.windowSize)};
17
17
  padding-right: ${e=>l.containerMarginRight.valuePx(e.windowSize)};
18
- `,O=t.div`
18
+ `,Q=t.div`
19
19
  display: flex;
20
20
  align-items: center;
21
- `,Z=t(C)`
22
- ${e=>`${F.title.style(e.windowSize)}`};
21
+ `,K=t(C)`
22
+ ${e=>`${A.title.style(e.windowSize)}`};
23
23
  color: ${e=>e.theme.colors.primary};
24
24
  margin-top: ${r.sp2};
25
25
  margin-bottom: ${e=>l.titleMarginBotom.valuePx(e.windowSize)};
26
26
  margin-right: ${e=>l.titleMarginRight.valuePx(e.windowSize)};
27
- `,q=t(b)`
27
+ `,N=t(j)`
28
28
  margin-bottom: ${e=>l.subTitleMarginBottom.valuePx(e.windowSize)};
29
29
  color: ${e=>e.isError?s.important:e.theme.colors.hero};
30
- `,K=t.div`
30
+ `,U=t.div`
31
31
  display: flex;
32
32
  flex-direction: column;
33
33
  margin-top: ${r.sp3};
34
34
  margin-left: ${e=>l.containerMarginLeft.valuePx(e.windowSize)};
35
35
  margin-right: ${e=>l.containerMarginRight.valuePx(e.windowSize)};
36
- `,U=t.div`
36
+ `,X=t.div`
37
37
  min-height: ${e=>l.navBarHeight.valuePx(e.windowSize)};
38
38
  position: sticky;
39
39
  border-bottom: 1px solid transparent;
40
40
  z-index: 2;
41
41
  top: ${r.sp0};
42
42
  width: 100%;
43
- `,X=t.div`
43
+ `,Y=t.div`
44
44
  position: relative;
45
45
  min-height: 62px;
46
- `,Y=t.div`
46
+ `,Z=t.div`
47
47
  display: flex;
48
48
  flex-direction: row;
49
49
  align-items: center;
@@ -96,12 +96,12 @@ import{J as P,V as i,aQ as m,o as r,aS as L,y as d,c as M,N as I,a as C,p as s,a
96
96
  display: flex;
97
97
  flex-direction: column;
98
98
  align-items: ${e=>e.windowSize==="small"?"self-start":"self-end"};
99
- `,f=t(b)`
99
+ `,f=t(j)`
100
100
  color: ${e=>e.isError||e.isWarning?e.theme.mode==="dark"?s.neutralGrey4Dark:e.isWarning:e.theme.colors.primary};
101
- `,se=t(j)`
101
+ `,se=t(S)`
102
102
  margin-top: -5px;
103
103
  color: ${e=>e.theme.mode==="dark"?s.neutralGrey1Dark:e.theme.colors.primary};
104
- `,p=t(j)`
104
+ `,p=t(S)`
105
105
  display: flex;
106
106
  margin-top: -5px;
107
107
  color: ${e=>e.isError?s.important:e.isWarning?s.brandColorGoldDark:e.theme.colors.primary};
@@ -113,7 +113,7 @@ import{J as P,V as i,aQ as m,o as r,aS as L,y as d,c as M,N as I,a as C,p as s,a
113
113
  width: ${r.sp4};
114
114
  height: ${r.sp4};
115
115
  color: ${s.success};
116
- `,le=t(A)`
116
+ `,le=t(J)`
117
117
  width: ${r.sp4};
118
118
  height: ${r.sp4};
119
119
  color: ${e=>e.theme.colors.grey2};
@@ -145,7 +145,7 @@ import{J as P,V as i,aQ as m,o as r,aS as L,y as d,c as M,N as I,a as C,p as s,a
145
145
  color: ${e=>e.theme.colors.brandColorJade};
146
146
  width: ${r.sp3};
147
147
  height: ${r.sp3};
148
- `,he=t(J)`
148
+ `,he=t(H)`
149
149
  color: ${e=>e.theme.colors.brandColorGoldDark};
150
150
  width: ${r.sp4};
151
151
  height: ${r.sp4};
@@ -0,0 +1,22 @@
1
+ import{eS as f,eT as h,V as s,bU as g,o,aQ as l,F as y,an as x,ai as p}from"./index-DOsjGhSZ.js";import{n}from"./mui-B2MHg-Mu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="92a752a1-d99a-4091-b2a4-fa46f9e41bf1",e._sentryDebugIdIdentifier="sentry-dbid-92a752a1-d99a-4091-b2a4-fa46f9e41bf1")}catch{}})();const{hyphen:d}=y.getLocalizedStrings().common.strings,b=n.div``,m=n.div`
2
+ display: flex;
3
+ min-width: 192px;
4
+ justify-content: space-between;
5
+ `,u=n(p)`
6
+ color: ${e=>e.theme.colors.hero};
7
+ `,j=n(p)`
8
+ color: ${e=>e.theme.colors.brandColorPearl};
9
+ `,i=n.div`
10
+ display: flex;
11
+ align-items: center;
12
+ `,w=n(x)`
13
+ border-radius: ${o.sp12};
14
+ border: 1px solid ${e=>e.theme.colors.grey1};
15
+ display: flex;
16
+ height: 18px;
17
+ width: 18px;
18
+ align-items: center;
19
+ justify-content: center;
20
+ color: 1px solid ${e=>e.theme.colors.grey1};
21
+ margin-left: ${o.sp1};
22
+ `,$=({roles:e})=>{let t=d,r=[];t=f(e),r=h(e);const c=()=>r.length>0?s.jsx(b,{children:r.map(a=>s.jsxs(m,{children:[s.jsx(u,{children:a[0]}),s.jsx(j,{children:a[1]})]},a.join(",")))}):s.jsx(s.Fragment,{children:d});return r.length>0?s.jsx(g,{enterDelay:600,"data-testid":l("roles-tooltip",t),title:c(),placement:"top-end",style:{marginLeft:o.sp1,padding:"6px 12px"},maxWidth:"264px",children:s.jsxs(i,{"data-testid":l("roles-label-wrapper",t),children:[t,s.jsx(w,{className:"roles-count-wrapper","data-testid":l("roles-count-wrapper",t),children:r.length})]})}):s.jsx(i,{"data-testid":l("roles-label-wrapper",t),children:t})};export{$ as T};
@@ -1,4 +1,4 @@
1
- import{aR as H,ip as te,gI as me,eE as Je,iq as Me,a9 as _e,ir as Ve,cG as Fe,cH as Pe,V as a,ac as Ne,cq as qe,cr as Re,cs as Be,aS as We,is as Ue,it as ze,F as be,aa as pe,iu as Se,iv as $e,cT as Ge,J as He,iJ as Ke,gN as ue,u as B,p as De,y as ye,cJ as Xe,iw as Ye,ix as Ze,iy as Qe,o as V}from"./index-B4SkrUUS.js";import{a as f}from"./sentry-BBFZ4Apy.js";import{n as U}from"./mui-DUBEtzg-.js";import{G2 as et,G3 as tt}from"./zeni-epic-state-CbQxc4HL.js";import{i as lt,r as at,n as st,o as ot}from"./ScheduleSequenceTable-BW5M7Zfq-BwchdmgD.js";import"./liveblocks-Dh9EWLXD.js";import"./core-TLZ6PfaT.js";import"./recharts-ZbSULBPo.js";import"./lottie-osIcf0zV.js";import"./analytics-BFo1DlpM.js";import"./lexical-DGcsrY0x.js";import"./utils-DvDl_6hs.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="557cfe04-4e7e-438e-90b3-af80aae07823",e._sentryDebugIdIdentifier="sentry-dbid-557cfe04-4e7e-438e-90b3-af80aae07823")}catch{}})();const W={labelWidth:new ye(160,160,160),depCategoryLabelWidth:new ye(200,280,280)},nt=U.div`
1
+ import{aR as K,ir as te,gK as me,eE as Je,is as Me,a9 as _e,it as Ve,cG as Pe,cH as Fe,V as a,ac as Ne,cq as qe,cr as Re,cs as Be,aS as We,iu as ze,iv as Ue,F as be,aa as pe,iw as Se,ix as $e,cK as Ge,J as Ke,iL as He,gP as ue,u as B,p as De,y as ye,cL as Xe,iy as Ye,iz as Ze,iA as Qe,o as V}from"./index-DOsjGhSZ.js";import{a as f}from"./sentry-otjdlEta.js";import{n as z}from"./mui-B2MHg-Mu.js";import{G8 as et,G9 as tt}from"./zeni-epic-state-DVinyIRY.js";import{i as lt,r as at,n as st,o as ot}from"./ScheduleSequenceTable-B973PTTc-C5HNHoNO.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="d052b224-d1cc-422c-ab4d-fa2edd7134f4",e._sentryDebugIdIdentifier="sentry-dbid-d052b224-d1cc-422c-ab4d-fa2edd7134f4")}catch{}})();const W={labelWidth:new ye(160,160,160),depCategoryLabelWidth:new ye(200,280,280)},nt=z.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -9,29 +9,29 @@ import{aR as H,ip as te,gI as me,eE as Je,iq as Me,a9 as _e,ir as Ve,cG as Fe,cH
9
9
  border-top-right-radius: ${V.sp2};
10
10
  border-bottom-left-radius: ${V.sp0};
11
11
  border-bottom-right-radius: ${V.sp0};
12
- `,K=U.div`
12
+ `,H=z.div`
13
13
  display: flex;
14
14
  flex: 1;
15
15
  background-color: ${e=>e.theme.colors.grey3};
16
16
  min-height: 1px;
17
- `,dt=U.div`
17
+ `,dt=z.div`
18
18
  display: flex;
19
19
  flex-direction: column;
20
20
  margin: ${V.sp4} ${V.sp8} ${V.sp0} ${V.sp8};
21
- `,_=(e,d)=>`${e}.${d}`;function it({sectionId:e,jeScheduledTransaction:d,updateStatus:m,allAccountOptions:l,allAccountList:s,allClassList:u,allClassOptions:c,allDepreciationAccountList:p,allDepreciationAccountOptions:C,allMonthOptions:v,uncategorizedAccounts:k,selectedAccount:j,selectedClass:F,selectedAccumulatedDepreciationCategory:P,assetId:L,selectedDate:w,selectedMonths:A,selectedPostingDay:E,lastDayOfMonth:O,isDisabled:h,allowCreateSchedule:J,onCreateSchedule:i,onDelete:se,onMarkAsComplete:Y}){const{resetField:S}=Ge(),oe=_(e,"scheduleExpenseCategory"),ne=_(e,"scheduleClass"),de=_(e,"accumulatedDepreciationCategory"),ie=_(e,"assetId"),Z=_(e,"startDate"),D=_(e,"postingDate"),r=_(e,"months"),t=be.getLocalizedStrings().jeSchedules.scheduleDetails.scheduleDetailsSection,g=o=>s.filter(q=>q.qboId===o)[0]?.qboId,b=o=>p.filter(q=>q.qboId===o)[0]?.qboId,ce=o=>u.filter(q=>q.classId===o)[0]?.accountingClassNumber,X={valueContainer:o=>({...o,overflow:"unset"})},I=He(),z=Ke({startDate:d.baseTransaction.date,endDate:d.baseTransaction.date.add(1,"year")}),$=()=>{S(D)},G=E==null&&O==null?void 0:O===!0?"lastDayOfMonth":"day",N=o=>[k.expense?.qboId,k.income?.qboId].includes(o),Q=()=>{d.jeScheduleId!=null&&se(d.jeScheduleId)},y=d.scheduledJournalEntry.flatMap(o=>o.error);return a.jsxs(dt,{children:[a.jsx(st,{status:d.status.code,jeScheduleId:d.jeScheduleId,allowCreateSchedule:J,onDelete:Q,isUpdating:m==="In-Progress",onMarkAsComplete:Y,onCreateSchedule:i}),a.jsx(pe,{controller:J===!0,children:a.jsxs(nt,{children:[a.jsx(ue,{isDisabled:y.includes("debit_category_deleted")?void 0:h,isLoading:!1,label:{label:t.expenseCategory,width:W.labelWidth.value(I)},groupedSingleSelectField:{customPlaceholderColor:y.includes("debit_category_deleted")?De.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:oe,placeholder:t.expenseCategoryPlaceholder,valueToId:o=>g(o),defaultValue:{selectedOption:j,allOptions:l},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:X},disableCurrentOption:N,style:{borderTopLeftRadius:B[2],borderTopRightRadius:B[2]}}),a.jsx(K,{}),a.jsx(ue,{isDisabled:h,isLoading:!1,label:{label:t.class,width:W.labelWidth.value(I)},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:ne,placeholder:t.classPlaceholder,valueToId:o=>ce(o),defaultValue:{selectedOption:F,allOptions:c},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:X},style:{borderTopLeftRadius:B[0],borderTopRightRadius:B[0]}}),a.jsx(K,{}),a.jsx(ue,{isDisabled:y.includes("credit_category_deleted")?void 0:h,isLoading:!1,label:{label:t.accumulatedDepreciationCategory,width:W.depCategoryLabelWidth.value(I)},groupedSingleSelectField:{customPlaceholderColor:y.includes("credit_category_deleted")?De.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:de,placeholder:t.accumulatedDepreciationCategoryPlaceholder,valueToId:o=>b(o),defaultValue:{selectedOption:P,allOptions:C},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:X},disableCurrentOption:N,style:{borderTopLeftRadius:B[0],borderTopRightRadius:B[0]}}),a.jsx(K,{}),a.jsx(Xe,{label:{label:t.assetId,width:W.labelWidth.value(I)},style:{width:"auto"},text:{type:"text",name:ie,defaultValue:L,placeholder:t.assetIdPlaceholder,autoComplete:"new-password",options:{maxLength:B[3],required:!0,validate:o=>!!o}},isDisabled:h}),a.jsx(K,{}),a.jsx(Ye,{label:{label:t.startMonth,width:W.labelWidth.value(I)},monthSelectorField:{name:Z,placeholder:t.startMonthPlaceholder,defaultValue:w,showDownChevron:!1,isDisabled:h,monthsAndYears:z},isDisabled:h}),a.jsx(K,{}),a.jsx(ot,{label:{label:t.postingDate,width:W.labelWidth.value(I)},isDisabled:h,dayOfMonthField:{placeholder:t.postingDatePlaceholder,name:D,defaultValue:{type:G,dayOfMonth:E},onSaveClick:()=>{},onCancelClick:$}}),a.jsx(K,{}),a.jsx(Ze,{label:{label:t.months,width:W.labelWidth.value(I)},singleSelectNumericField:{name:r,isDisabled:h,placeholder:t.monthsPlaceholder,defaultValue:{selectedOption:A!=null?v[A-1]:void 0,allOptions:v},registerOptions:{required:!0,validate:o=>!!o.selectedOption}}})]})}),a.jsx(pe,{controller:J===!1,children:a.jsx(Qe,{text:t.scheduleMarkedAsCompleted})})]})}const ct=U.div`
21
+ `,_=(e,d)=>`${e}.${d}`;function it({sectionId:e,jeScheduledTransaction:d,updateStatus:m,allAccountOptions:l,allAccountList:s,allClassList:u,allClassOptions:c,allDepreciationAccountList:p,allDepreciationAccountOptions:C,allMonthOptions:v,uncategorizedAccounts:k,selectedAccount:T,selectedClass:P,selectedAccumulatedDepreciationCategory:F,assetId:L,selectedDate:w,selectedMonths:j,selectedPostingDay:A,lastDayOfMonth:E,isDisabled:h,allowCreateSchedule:J,onCreateSchedule:i,onDelete:se,onMarkAsComplete:Y}){const{resetField:S}=Ge(),oe=_(e,"scheduleExpenseCategory"),ne=_(e,"scheduleClass"),de=_(e,"accumulatedDepreciationCategory"),ie=_(e,"assetId"),Z=_(e,"startDate"),D=_(e,"postingDate"),r=_(e,"months"),t=be.getLocalizedStrings().jeSchedules.scheduleDetails.scheduleDetailsSection,g=o=>s.filter(q=>q.qboId===o)[0]?.qboId,b=o=>p.filter(q=>q.qboId===o)[0]?.qboId,ce=o=>u.filter(q=>q.classId===o)[0]?.accountingClassNumber,X={valueContainer:o=>({...o,overflow:"unset"})},I=Ke(),U=He({startDate:d.baseTransaction.date,endDate:d.baseTransaction.date.add(1,"year")}),$=()=>{S(D)},G=A==null&&E==null?void 0:E===!0?"lastDayOfMonth":"day",N=o=>[k.expense?.qboId,k.income?.qboId].includes(o),Q=()=>{d.jeScheduleId!=null&&se(d.jeScheduleId)},y=d.scheduledJournalEntry.flatMap(o=>o.error);return a.jsxs(dt,{children:[a.jsx(st,{status:d.status.code,jeScheduleId:d.jeScheduleId,allowCreateSchedule:J,onDelete:Q,isUpdating:m==="In-Progress",onMarkAsComplete:Y,onCreateSchedule:i}),a.jsx(pe,{controller:J===!0,children:a.jsxs(nt,{children:[a.jsx(ue,{isDisabled:y.includes("debit_category_deleted")?void 0:h,isLoading:!1,label:{label:t.expenseCategory,width:W.labelWidth.value(I)},groupedSingleSelectField:{customPlaceholderColor:y.includes("debit_category_deleted")?De.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:oe,placeholder:t.expenseCategoryPlaceholder,valueToId:o=>g(o),defaultValue:{selectedOption:T,allOptions:l},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:X},disableCurrentOption:N,style:{borderTopLeftRadius:B[2],borderTopRightRadius:B[2]}}),a.jsx(H,{}),a.jsx(ue,{isDisabled:h,isLoading:!1,label:{label:t.class,width:W.labelWidth.value(I)},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:ne,placeholder:t.classPlaceholder,valueToId:o=>ce(o),defaultValue:{selectedOption:P,allOptions:c},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:X},style:{borderTopLeftRadius:B[0],borderTopRightRadius:B[0]}}),a.jsx(H,{}),a.jsx(ue,{isDisabled:y.includes("credit_category_deleted")?void 0:h,isLoading:!1,label:{label:t.accumulatedDepreciationCategory,width:W.depCategoryLabelWidth.value(I)},groupedSingleSelectField:{customPlaceholderColor:y.includes("credit_category_deleted")?De.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:de,placeholder:t.accumulatedDepreciationCategoryPlaceholder,valueToId:o=>b(o),defaultValue:{selectedOption:F,allOptions:C},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:X},disableCurrentOption:N,style:{borderTopLeftRadius:B[0],borderTopRightRadius:B[0]}}),a.jsx(H,{}),a.jsx(Xe,{label:{label:t.assetId,width:W.labelWidth.value(I)},style:{width:"auto"},text:{type:"text",name:ie,defaultValue:L,placeholder:t.assetIdPlaceholder,autoComplete:"new-password",options:{maxLength:B[3],required:!0,validate:o=>!!o}},isDisabled:h}),a.jsx(H,{}),a.jsx(Ye,{label:{label:t.startMonth,width:W.labelWidth.value(I)},monthSelectorField:{name:Z,placeholder:t.startMonthPlaceholder,defaultValue:w,showDownChevron:!1,isDisabled:h,monthsAndYears:U},isDisabled:h}),a.jsx(H,{}),a.jsx(ot,{label:{label:t.postingDate,width:W.labelWidth.value(I)},isDisabled:h,dayOfMonthField:{placeholder:t.postingDatePlaceholder,name:D,defaultValue:{type:G,dayOfMonth:A},onSaveClick:()=>{},onCancelClick:$}}),a.jsx(H,{}),a.jsx(Ze,{label:{label:t.months,width:W.labelWidth.value(I)},singleSelectNumericField:{name:r,isDisabled:h,placeholder:t.monthsPlaceholder,defaultValue:{selectedOption:j!=null?v[j-1]:void 0,allOptions:v},registerOptions:{required:!0,validate:o=>!!o.selectedOption}}})]})}),a.jsx(pe,{controller:J===!1,children:a.jsx(Qe,{text:t.scheduleMarkedAsCompleted})})]})}const ct=z.div`
22
22
  display: flex;
23
23
  flex-direction: column;
24
24
  width: 100%;
25
25
  height: 100%;
26
26
  min-height: 100vh;
27
27
  background-color: ${e=>e.theme.colors.grey4};
28
- `,rt=U.div`
28
+ `,rt=z.div`
29
29
  display: flex;
30
30
  z-index: 2;
31
- `,ut=U.div`
31
+ `,ut=z.div`
32
32
  display: flex;
33
33
  flex-direction: column;
34
- `,ht=U.div`
34
+ `,ht=z.div`
35
35
  display: flex;
36
36
  justify-content: center;
37
- `,Ce="scheduleDetailsPage",le="scheduleDetailsFixedAssetsSection",ae="scheduleDetailsListSection",pt=be.getLocalizedStrings(),{common:M,jeSchedules:{scheduleDetails:ft}}=pt;function It({analytics:e,controllerUserDetails:d,expenseAutomationSelectedPeriod:m,scheduleDetailsView:l,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,usedInExpenseAutomation:c,onNavigateBack:p,onEditAmount:C,onJELinkClick:v,onSave:k,onDelete:j,onDetailPageChange:F,onViewLinkedJE:P,onTransactionClick:L,onMarkAsComplete:w,removeJeScheduleTransactionKey:A}){const[E,O]=f.useState(!1),h=H(l.updateStatus.fetchState),J=H(l.selectedJEScheduleTransaction?.status.code),i=H(l.deleteStatus.fetchState),[se,Y]=f.useState(!1),S=l.scheduleDetailsLocalData.fixed_assets,oe=H(S.jeScheduleDetails.length),ne=H(S.selectedDate),de=H(S.selectedDayOfMonth),[ie,Z]=f.useState(!0),D=l.selectedJEScheduleTransaction?.vendor,r=l.selectedJEScheduleTransaction?.baseTransaction,t=l.selectedJEScheduleTransaction,g=et(d.controllers),b=tt(d.controllerUserIds),ce={onOkClick:()=>{O(!1),p()},onCancelClick:()=>{O(!1)}},X=n=>{const x=t?.scheduledJournalEntry[n];r!=null&&x!=null&&t!=null&&e.trackScheduleDetailsLinkJournalEntry({scheduleType:"fixed_assets",transaction:{...$e(r)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{...Se(x)},vendorName:D!=null?D.name:M.strings.hyphen,controllerEmails:g,controllerUserIds:b,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),v(n)},I=(n,x)=>{const T=t?.scheduledJournalEntry[x];r!=null&&T!=null&&t!=null&&e.trackScheduleDetailsViewJournalEntry({scheduleType:"fixed_assets",scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:Se(T),controllerEmails:g,controllerUserIds:b,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),P(n)};f.useEffect(()=>{h==="In-Progress"&&l.updateStatus.fetchState==="Completed"&&(r!=null&&t!=null&&e.trackScheduleDetailsSaved(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),c===!0&&t?.jeScheduleTransactionKey!=null&&J==="draft"&&l.selectedJEScheduleTransaction?.status.code==="ongoing"&&A(t.jeScheduleTransactionKey,{month:m.month,year:m.year}),p())},[m,J,l.selectedJEScheduleTransaction?.status.code,e,p,h,A,c,l.updateStatus,t,r,D,g,b]),f.useEffect(()=>{i==="In-Progress"&&l.deleteStatus.fetchState==="Completed"&&p()},[i,l.deleteStatus,p]);const z=me(l.accountListNestedAccountHierarchy),$=me(l.allDepreciationAccountListNestedAccountHierarchy),G=Je(l.classListNestedAccountHierarchy),N=Me("fixed_assets"),Q=f.useRef(),y=_e({mode:"all",reValidateMode:"onChange",defaultValues:he(l,z,G,$,N,u.entityAutoCompleteView),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:he(l,z,G,$,N,u.entityAutoCompleteView)}),o=y.watch("scheduleDetailsFixedAssetsSection.vendor");f.useEffect(()=>{u.entityAutoCompleteView.fetchState==="Completed"&&Q.current?.(Ve(u.entityAutoCompleteView))},[u.entityAutoCompleteView.fetchState]);const q=(n,x)=>{s.onAutoCompleteInputChange?.(n,"vendor"),Q.current=x},xe=y.handleSubmit(()=>{k(l.selectedJEScheduleTransaction?.jeScheduleId)}),ve=async(n,x)=>{const T=x[le].vendor;if(n.includes("vendor")){const re=T?.defaultOptions.map(R=>R.value);if(T?.selectedOption!=null&&re?.includes(T.selectedOption)!==!0){const R=u.entityAutoCompleteView.vendor.find(we=>we.id===T.selectedOption);R!=null&&y.setValue("scheduleDetailsFixedAssetsSection.vendor.defaultOptions",[{label:R.name??"",value:R.id}])}}const ee=n.includes("amount");if(F(x,ee),n.includes("amount")){const re=n.split(".")[1],R=parseInt(re);Y(!0),C(R,l.selectedJEScheduleTransaction?.jeScheduleId)}};f.useEffect(()=>{let n=!0;const x=y.watch((T,{name:ee})=>{ee!=null&&T!=null&&Fe(()=>{n&&ve(ee,T)})});return()=>{n=!1,x.unsubscribe()}}),f.useEffect(()=>{(oe!==S.jeScheduleDetails.length||ne!==S.selectedDate||de!==S.selectedDayOfMonth)&&se===!0&&(y.resetField(ae,{defaultValue:he(l,z,G,$,N,u.entityAutoCompleteView)[ae],keepDirty:!1}),Y(!1))},[S.jeScheduleDetails.length,S.selectedDate,S.selectedDayOfMonth]),f.useEffect(()=>{l.selectedJEScheduleTransaction?.status.code==="marked_as_completed"&&Z(!1)},[l.selectedJEScheduleTransaction?.status.code]);const fe=(Pe(y.formState.dirtyFields)||l.selectedJEScheduleTransaction?.status.code==="draft")&&S.jeScheduleDetails.length>0,Ee=()=>{fe===!0?O(!0):(r!=null&&t!=null&&e.trackScheduleDetailsCanceled(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),p())},Oe=()=>{l.selectedJEScheduleTransaction!=null&&L({id:l.selectedJEScheduleTransaction.baseTransaction.id,type:l.selectedJEScheduleTransaction.baseTransaction.type})},Te=f.useCallback(()=>{Z(!0)},[]),je=f.useCallback(()=>{r!=null&&t!=null&&e.trackScheduleDetailsMarkedAsCompleted(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),w()},[e,g,b,t,w,r,D]),Ae=f.useCallback(n=>{r!=null&&t!=null&&e.trackScheduleDetailsDeleted(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),j(n)},[e,g,b,t,j,r,D]),Ie=(l.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(n=>n.error??[]).filter(n=>!!n)??[])?.includes("vendor_deleted")===!0?o?.defaultOptions.find(n=>n.value===o?.selectedOption)?.[0]?.label:l?.selectedJEScheduleTransaction?.vendor?.name,ke=a.jsx(mt,{title:Ie??M.strings.empty,onNavigateBack:Ee,onTransactionClick:Oe}),Le=a.jsx(rt,{children:a.jsx(Ne,{...y,children:a.jsxs("form",{style:{width:"100%"},id:ge(Ce),onSubmit:xe,children:[a.jsx(St,{vendorLoadOptions:q,vendorField:o,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,scheduleDetailsView:l,allAccountOptions:z,allClassOptions:G,allMonthOptions:N,allDepAccountOptions:$,onEditAmount:C,onDelete:Ae,onJELinkClick:X,onViewLinkedJE:I,onMarkAsComplete:je,allowCreateSchedule:ie,onCreateSchedule:Te}),E===!0?a.jsx(qe,{titleComponent:a.jsx(Be,{children:M.confirmationPopup.discardTitle}),descriptionComponent:a.jsx(Re,{children:M.confirmationPopup.discardDescription}),primaryButtonText:M.confirmationPopup.discard,secondaryButtonText:M.confirmationPopup.cancel,proceedButtonVariant:"danger",action:ce}):null,fe===!0?a.jsx(We,{formId:ge(Ce),primaryBtn:{label:M.footer.save,style:{minWidth:"82px"},isLoading:l.updateStatus.fetchState==="In-Progress",isDisabled:l.updateStatus.fetchState==="In-Progress"},cancelBtn:{label:M.footer.cancel,shouldResetOnCancel:!0,onClick:()=>{O(!0)},style:{minWidth:"82px"}}}):null]})})});return a.jsxs(ct,{children:[ke,Le]})}function mt({onNavigateBack:e,onTransactionClick:d,title:m}){return a.jsx(ze,{title:m,tooltipTextOnLaunch:ft.showTransactionTooltip,onBackClick:e,onLaunchClick:d,style:{zIndex:3}})}function St({vendorField:e,vendorLoadOptions:d,vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,scheduleDetailsView:s,allAccountOptions:u,allClassOptions:c,allDepAccountOptions:p,allMonthOptions:C,allowCreateSchedule:v,onCreateSchedule:k,onEditAmount:j,onDelete:F,onJELinkClick:P,onViewLinkedJE:L,onMarkAsComplete:w}){const A=s.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(E=>E.error).filter(E=>!!E)??[];return s.selectedJEScheduleTransaction!=null?a.jsxs(ut,{children:[a.jsx(ht,{children:a.jsx(lt,{vendorLoadOptions:d,vendorField:e,vendorFieldName:_(le,"vendor"),vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,errors:A,transaction:s.selectedJEScheduleTransaction.baseTransaction,vendor:s.selectedJEScheduleTransaction.vendor})}),a.jsx(it,{sectionId:le,jeScheduledTransaction:s.selectedJEScheduleTransaction,allAccountOptions:u,allAccountList:s.allAccountList,allClassList:s.allClassList,allClassOptions:c,allDepreciationAccountOptions:p,allDepreciationAccountList:s.allDepreciationAccountList,allMonthOptions:C,uncategorizedAccounts:s.uncategorizedAccounts,lastDayOfMonth:s.scheduleDetailsLocalData.fixed_assets.lastDayOfMonth,assetId:s.scheduleDetailsLocalData.fixed_assets.assetId,selectedPostingDay:s.scheduleDetailsLocalData.fixed_assets.selectedDayOfMonth,selectedMonths:s.scheduleDetailsLocalData.fixed_assets.selectedMonths,isDisabled:s.selectedJEScheduleTransaction.jeScheduleId!=null&&s.selectedJEScheduleTransaction.status.code!=="draft"&&s.selectedJEScheduleTransaction.status.code!=="marked_as_completed"?"disabled":void 0,updateStatus:s.deleteStatus.fetchState,allowCreateSchedule:v,onDelete:F,onMarkAsComplete:w,onCreateSchedule:k}),a.jsx(pe,{controller:v===!0,children:a.jsx(at,{sectionId:ae,totalAmount:s.selectedJEScheduleTransaction.baseTransaction.amount.amount,listFetchState:s.fetchState,scheduleJournalEntries:s.selectedJEScheduleTransaction.scheduledJournalEntry,hideMemoField:s.selectedJEScheduleTransaction.jeScheduleId==null,localData:s.scheduleDetailsLocalData.fixed_assets.jeScheduleDetails,uiState:s.uiState,onEditAmount:j,onJELinkClick:P,onViewLinkedJE:L,jeScheduleId:s.selectedJEScheduleTransaction.baseTransaction.id})})]}):null}const ge=e=>`${e}_form`,he=(e,d,m,l,s,u)=>{const c=e.scheduleDetailsLocalData.fixed_assets,p=c.selectedAccount,C=c.selectedVendor,v=C!=null?u.vendor.find(i=>i.zeniId===C.id):void 0,k=p!=null?e.allAccountList.find(i=>i.accountId===p):void 0,j=c.selectedAccumulatedDepreciationCategory,F=j!=null?e.allDepreciationAccountList.find(i=>i.accountId===j):void 0,P=c.assetId,L=c.selectedClass,w=L!=null?e.allClassList.find(i=>i.classId===L):void 0,A=c.selectedMonths,E=c.jeScheduleDetails.map(i=>({postingDate:i.postingDate,amount:i.amount.amount,runningBalance:i.runningBalance.amount,postingStatus:i.postingStatus,jeLink:i.jeLink.thirdPartyTransactionId})),O=c.selectedDayOfMonth,h=c.lastDayOfMonth,J=O==null&&h==null?void 0:h===!0?"lastDayOfMonth":"day";return{[le]:{scheduleExpenseCategory:{selectedOption:k?.qboId,allOptions:d},accumulatedDepreciationCategory:{selectedOption:F?.qboId,allOptions:l},assetId:P,scheduleClass:{selectedOption:w?.classId,allOptions:m},startDate:c.selectedDate,months:{selectedOption:A,allOptions:s},vendor:{selectedOption:v?.id??C?.id,defaultOptions:Ue(u,v??C)},postingDate:{type:J,dayOfMonth:O}},[ae]:E}};export{It as default};
37
+ `,Ce="scheduleDetailsPage",le="scheduleDetailsFixedAssetsSection",ae="scheduleDetailsListSection",pt=be.getLocalizedStrings(),{common:M,jeSchedules:{scheduleDetails:ft}}=pt;function It({analytics:e,controllerUserDetails:d,expenseAutomationSelectedPeriod:m,scheduleDetailsView:l,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,usedInExpenseAutomation:c,onNavigateBack:p,onEditAmount:C,onJELinkClick:v,onSave:k,onDelete:T,onDetailPageChange:P,onViewLinkedJE:F,onTransactionClick:L,onMarkAsComplete:w,removeJeScheduleTransactionKey:j}){const[A,E]=f.useState(!1),h=K(l.updateStatus.fetchState),J=K(l.selectedJEScheduleTransaction?.status.code),i=K(l.deleteStatus.fetchState),[se,Y]=f.useState(!1),S=l.scheduleDetailsLocalData.fixed_assets,oe=K(S.jeScheduleDetails.length),ne=K(S.selectedDate),de=K(S.selectedDayOfMonth),[ie,Z]=f.useState(!0),D=l.selectedJEScheduleTransaction?.vendor,r=l.selectedJEScheduleTransaction?.baseTransaction,t=l.selectedJEScheduleTransaction,g=et(d.controllers),b=tt(d.controllerUserIds),ce={onOkClick:()=>{E(!1),p()},onCancelClick:()=>{E(!1)}},X=n=>{const x=t?.scheduledJournalEntry[n];r!=null&&x!=null&&t!=null&&e.trackScheduleDetailsLinkJournalEntry({scheduleType:"fixed_assets",transaction:{...$e(r)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{...Se(x)},vendorName:D!=null?D.name:M.strings.hyphen,controllerEmails:g,controllerUserIds:b,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),v(n)},I=(n,x)=>{const O=t?.scheduledJournalEntry[x];r!=null&&O!=null&&t!=null&&e.trackScheduleDetailsViewJournalEntry({scheduleType:"fixed_assets",scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:Se(O),controllerEmails:g,controllerUserIds:b,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),F(n)};f.useEffect(()=>{h==="In-Progress"&&l.updateStatus.fetchState==="Completed"&&(r!=null&&t!=null&&e.trackScheduleDetailsSaved(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),c===!0&&t?.jeScheduleTransactionKey!=null&&J==="draft"&&l.selectedJEScheduleTransaction?.status.code==="ongoing"&&j(t.jeScheduleTransactionKey,{month:m.month,year:m.year}),p())},[m,J,l.selectedJEScheduleTransaction?.status.code,e,p,h,j,c,l.updateStatus,t,r,D,g,b]),f.useEffect(()=>{i==="In-Progress"&&l.deleteStatus.fetchState==="Completed"&&p()},[i,l.deleteStatus,p]);const U=me(l.accountListNestedAccountHierarchy),$=me(l.allDepreciationAccountListNestedAccountHierarchy),G=Je(l.classListNestedAccountHierarchy),N=Me("fixed_assets"),Q=f.useRef(),y=_e({mode:"all",reValidateMode:"onChange",defaultValues:he(l,U,G,$,N,u.entityAutoCompleteView),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:he(l,U,G,$,N,u.entityAutoCompleteView)}),o=y.watch("scheduleDetailsFixedAssetsSection.vendor");f.useEffect(()=>{u.entityAutoCompleteView.fetchState==="Completed"&&Q.current?.(Ve(u.entityAutoCompleteView))},[u.entityAutoCompleteView.fetchState]);const q=(n,x)=>{s.onAutoCompleteInputChange?.(n,"vendor"),Q.current=x},xe=y.handleSubmit(()=>{k(l.selectedJEScheduleTransaction?.jeScheduleId)}),ve=async(n,x)=>{const O=x[le].vendor;if(n.includes("vendor")){const re=O?.defaultOptions.map(R=>R.value);if(O?.selectedOption!=null&&re?.includes(O.selectedOption)!==!0){const R=u.entityAutoCompleteView.vendor.find(we=>we.id===O.selectedOption);R!=null&&y.setValue("scheduleDetailsFixedAssetsSection.vendor.defaultOptions",[{label:R.name??"",value:R.id}])}}const ee=n.includes("amount");if(P(x,ee),n.includes("amount")){const re=n.split(".")[1],R=parseInt(re);Y(!0),C(R,l.selectedJEScheduleTransaction?.jeScheduleId)}};f.useEffect(()=>{let n=!0;const x=y.watch((O,{name:ee})=>{ee!=null&&O!=null&&Pe(()=>{n&&ve(ee,O)})});return()=>{n=!1,x.unsubscribe()}}),f.useEffect(()=>{(oe!==S.jeScheduleDetails.length||ne!==S.selectedDate||de!==S.selectedDayOfMonth)&&se===!0&&(y.resetField(ae,{defaultValue:he(l,U,G,$,N,u.entityAutoCompleteView)[ae],keepDirty:!1}),Y(!1))},[S.jeScheduleDetails.length,S.selectedDate,S.selectedDayOfMonth]),f.useEffect(()=>{l.selectedJEScheduleTransaction?.status.code==="marked_as_completed"&&Z(!1)},[l.selectedJEScheduleTransaction?.status.code]);const fe=(Fe(y.formState.dirtyFields)||l.selectedJEScheduleTransaction?.status.code==="draft")&&S.jeScheduleDetails.length>0,Ae=()=>{fe===!0?E(!0):(r!=null&&t!=null&&e.trackScheduleDetailsCanceled(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),p())},Ee=()=>{l.selectedJEScheduleTransaction!=null&&L({id:l.selectedJEScheduleTransaction.baseTransaction.id,type:l.selectedJEScheduleTransaction.baseTransaction.type})},Oe=f.useCallback(()=>{Z(!0)},[]),Te=f.useCallback(()=>{r!=null&&t!=null&&e.trackScheduleDetailsMarkedAsCompleted(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),w()},[e,g,b,t,w,r,D]),je=f.useCallback(n=>{r!=null&&t!=null&&e.trackScheduleDetailsDeleted(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),T(n)},[e,g,b,t,T,r,D]),Ie=(l.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(n=>n.error??[]).filter(n=>!!n)??[])?.includes("vendor_deleted")===!0?o?.defaultOptions.find(n=>n.value===o?.selectedOption)?.[0]?.label:l?.selectedJEScheduleTransaction?.vendor?.name,ke=a.jsx(mt,{title:Ie??M.strings.empty,onNavigateBack:Ae,onTransactionClick:Ee}),Le=a.jsx(rt,{children:a.jsx(Ne,{...y,children:a.jsxs("form",{style:{width:"100%"},id:ge(Ce),onSubmit:xe,children:[a.jsx(St,{vendorLoadOptions:q,vendorField:o,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,scheduleDetailsView:l,allAccountOptions:U,allClassOptions:G,allMonthOptions:N,allDepAccountOptions:$,onEditAmount:C,onDelete:je,onJELinkClick:X,onViewLinkedJE:I,onMarkAsComplete:Te,allowCreateSchedule:ie,onCreateSchedule:Oe}),A===!0?a.jsx(qe,{titleComponent:a.jsx(Be,{children:M.confirmationPopup.discardTitle}),descriptionComponent:a.jsx(Re,{children:M.confirmationPopup.discardDescription}),primaryButtonText:M.confirmationPopup.discard,secondaryButtonText:M.confirmationPopup.cancel,proceedButtonVariant:"danger",action:ce}):null,fe===!0?a.jsx(We,{formId:ge(Ce),primaryBtn:{label:M.footer.save,style:{minWidth:"82px"},isLoading:l.updateStatus.fetchState==="In-Progress",isDisabled:l.updateStatus.fetchState==="In-Progress"},cancelBtn:{label:M.footer.cancel,shouldResetOnCancel:!0,onClick:()=>{E(!0)},style:{minWidth:"82px"}}}):null]})})});return a.jsxs(ct,{children:[ke,Le]})}function mt({onNavigateBack:e,onTransactionClick:d,title:m}){return a.jsx(Ue,{title:m,tooltipTextOnLaunch:ft.showTransactionTooltip,onBackClick:e,onLaunchClick:d,style:{zIndex:3}})}function St({vendorField:e,vendorLoadOptions:d,vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,scheduleDetailsView:s,allAccountOptions:u,allClassOptions:c,allDepAccountOptions:p,allMonthOptions:C,allowCreateSchedule:v,onCreateSchedule:k,onEditAmount:T,onDelete:P,onJELinkClick:F,onViewLinkedJE:L,onMarkAsComplete:w}){const j=s.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(A=>A.error).filter(A=>!!A)??[];return s.selectedJEScheduleTransaction!=null?a.jsxs(ut,{children:[a.jsx(ht,{children:a.jsx(lt,{vendorLoadOptions:d,vendorField:e,vendorFieldName:_(le,"vendor"),vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,errors:j,transaction:s.selectedJEScheduleTransaction.baseTransaction,vendor:s.selectedJEScheduleTransaction.vendor})}),a.jsx(it,{sectionId:le,jeScheduledTransaction:s.selectedJEScheduleTransaction,allAccountOptions:u,allAccountList:s.allAccountList,allClassList:s.allClassList,allClassOptions:c,allDepreciationAccountOptions:p,allDepreciationAccountList:s.allDepreciationAccountList,allMonthOptions:C,uncategorizedAccounts:s.uncategorizedAccounts,lastDayOfMonth:s.scheduleDetailsLocalData.fixed_assets.lastDayOfMonth,assetId:s.scheduleDetailsLocalData.fixed_assets.assetId,selectedPostingDay:s.scheduleDetailsLocalData.fixed_assets.selectedDayOfMonth,selectedMonths:s.scheduleDetailsLocalData.fixed_assets.selectedMonths,isDisabled:s.selectedJEScheduleTransaction.jeScheduleId!=null&&s.selectedJEScheduleTransaction.status.code!=="draft"&&s.selectedJEScheduleTransaction.status.code!=="marked_as_completed"?"disabled":void 0,updateStatus:s.deleteStatus.fetchState,allowCreateSchedule:v,onDelete:P,onMarkAsComplete:w,onCreateSchedule:k}),a.jsx(pe,{controller:v===!0,children:a.jsx(at,{sectionId:ae,totalAmount:s.selectedJEScheduleTransaction.baseTransaction.amount.amount,listFetchState:s.fetchState,scheduleJournalEntries:s.selectedJEScheduleTransaction.scheduledJournalEntry,hideMemoField:s.selectedJEScheduleTransaction.jeScheduleId==null,localData:s.scheduleDetailsLocalData.fixed_assets.jeScheduleDetails,uiState:s.uiState,onEditAmount:T,onJELinkClick:F,onViewLinkedJE:L,jeScheduleId:s.selectedJEScheduleTransaction.baseTransaction.id})})]}):null}const ge=e=>`${e}_form`,he=(e,d,m,l,s,u)=>{const c=e.scheduleDetailsLocalData.fixed_assets,p=c.selectedAccount,C=c.selectedVendor,v=C!=null?u.vendor.find(i=>i.zeniId===C.id):void 0,k=p!=null?e.allAccountList.find(i=>i.accountId===p):void 0,T=c.selectedAccumulatedDepreciationCategory,P=T!=null?e.allDepreciationAccountList.find(i=>i.accountId===T):void 0,F=c.assetId,L=c.selectedClass,w=L!=null?e.allClassList.find(i=>i.classId===L):void 0,j=c.selectedMonths,A=c.jeScheduleDetails.map(i=>({postingDate:i.postingDate,amount:i.amount.amount,runningBalance:i.runningBalance.amount,postingStatus:i.postingStatus,jeLink:i.jeLink.thirdPartyTransactionId})),E=c.selectedDayOfMonth,h=c.lastDayOfMonth,J=E==null&&h==null?void 0:h===!0?"lastDayOfMonth":"day";return{[le]:{scheduleExpenseCategory:{selectedOption:k?.qboId,allOptions:d},accumulatedDepreciationCategory:{selectedOption:P?.qboId,allOptions:l},assetId:F,scheduleClass:{selectedOption:w?.classId,allOptions:m},startDate:c.selectedDate,months:{selectedOption:j,allOptions:s},vendor:{selectedOption:v?.id??C?.id,defaultOptions:ze(u,v??C)},postingDate:{type:J,dayOfMonth:E}},[ae]:A}};export{It as default};