@zeniai/web-cockpit-ui 1.15.3-qa → 1.15.4-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.
- package/dist/assets/{ACHDetailsPage-BTeL5y4g-Bayo5T5i.js → ACHDetailsPage-uGxVPurg-BoohNpSs.js} +1 -1
- package/dist/assets/{AIPerformancePage-DbUM6qs6-D6WMVBny.js → AIPerformancePage-DqmxZNlX--Hr--1bJ.js} +1 -1
- package/dist/assets/{AccountInfoPage-C-UvpjYp-DGOEwcOg.js → AccountInfoPage-C2Dq8UPa-CDfBL7Wu.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-BwD3P36S-H52_W4ix.js → AccountInfoPageContent-HVhR3c9c-DosFJwky.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-CLssvxib-CM1Bcy93.js → AccountLockedInfoModal-DM9AQ-14-CIrGwmC7.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BB1W1GCn-DuWqA8Ro.js → AccountReconDetailsDrawerPage-zcvYkXrD-BPDfVNC-.js} +40 -40
- package/dist/assets/{AccountRow-Dqp3eLws-DiKGONOb.js → AccountRow-B3ULDo0k-BhJpm00a.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-NTUKe73a-ByuyeLP7.js → AccountsPromoCardStack-CJZlWV2d-EdC25r6I.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-BRWhfaUV-CEBfTnLR.js → AddAddressForCardDrawer-Rm7tH3HQ-BC-bWtsD.js} +1 -1
- package/dist/assets/{AddToWalletPage-eU9RlrX2-jkWuQQnk.js → AddToWalletPage-DfB-vvqh--jeS88nY.js} +1 -1
- package/dist/assets/{AgingReportsPage-Dbj75D7L-CkjwKL8j.js → AgingReportsPage-__jUwahK-CLXoQ0cz.js} +3 -3
- package/dist/assets/{AllUserItems-C8o0ftGM-CC5nJE8K.js → AllUserItems-Coo6Qik6-UHUBqeo9.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-oU_NMgYv-DD_oIPCC.js → ApAgingDetailPage-C1LyqY_A-BtwuroAU.js} +2 -2
- package/dist/assets/{AppBasePage-Bb2EfHmS-BaLAasNp.js → AppBasePage-Cz2ddFfo-mHKaK9iL.js} +1 -1
- package/dist/assets/{AppDrawerContent-UxABc1Xq-BJXNWw54.js → AppDrawerContent-CObWehh2-Cjn399er.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-ITDu42uI-Byi3Av05.js → ApprovalRulesSettingsPage-ZqKHe7B_-CavRIFVF.js} +1 -1
- package/dist/assets/{ArAgingChart-BxAOsEvx-BC9BFNfd.js → ArAgingChart-CjRE8wyO-KhcQp5wu.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DhHW1GHw-bvIqkU2s.js → ArAgingDetailPage-DXjs7XAS-CBng1tZs.js} +1 -1
- package/dist/assets/{AttachmentView-BnFvMAGW-BKYPBGjG.js → AttachmentView-C3WpRmXR-DHEKPSUE.js} +1 -1
- package/dist/assets/{BankAccountSection-C0ZBcrDN-DJoKvoq7.js → BankAccountSection-BigS_oOq-Ci-ry1uG.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-BAMjtbnn-CO0inMH8.js → BankAccountWarningSection-Czlvc-qX-fV9_v1_E.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-Ckpo_VYA-DTQcDqGV.js → BankConnectionsSettingsPage-BgliKI11-CVrp_3jT.js} +1 -1
- package/dist/assets/{BillDetailPage-D3lgSK4F-_PC4Dt3G.js → BillDetailPage-DNPgeuje-DvJjtReR.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage--UxMsaII-C9sBjBC1.js → BillPayApprovalRuleDetailPage-OrTzXAEP-F8EXZnBA.js} +5 -5
- package/dist/assets/{BillPayApprovalRulesPage-BgokSweY-Db8-I-Vw.js → BillPayApprovalRulesPage-DXcPkwwf-D9IFAJHv.js} +1 -1
- package/dist/assets/{BillPayPromoPage-Cmfp8aZE-BgDk3gHC.js → BillPayPromoPage-fBpp10um-GZ0MLbC-.js} +13 -13
- package/dist/assets/{BillPaySetUpPage-BmtV-Zr2-aqBLv3C0.js → BillPaySetUpPage-9iEVFLUa-CieGlXQ4.js} +1 -1
- package/dist/assets/{BillingSettingsPage-BRJELj5Y-BEqC6Zwj.js → BillingSettingsPage-IL6J1DV0-C_Ptx6al.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-D0HYL5UR-DxbB0N2U.js → BillsBulkReviewDrawerPage-DcRTKRMw-Dot6MMyh.js} +1 -1
- package/dist/assets/{BoxItem-BO8CYlnI-DId-cHKg.js → BoxItem-Cg9N_YPt-DJ_jUCA7.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DNOBs_OD-Dsf-B08F.js → BusinessVerificationPage-KZWTxmeh-Bf4A-QbN.js} +2 -2
- package/dist/assets/{CardNumberSubText-BgxVtjBP-B3Yoo3Lg.js → CardNumberSubText-DqtkAe0V-CnWXJt_4.js} +1 -1
- package/dist/assets/{CashbackDetailPage-uVqHfc3a-Db2RtFRm.js → CashbackDetailPage-D-l7cqjW-DUYPwmfE.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-urxX5Ksv-C2Xx016z.js → ChargeCardDetailPage-ChwrpnhL-veTgs8Ar.js} +1 -1
- package/dist/assets/{ChargeCardListPage-uyLpvqZN-ek1oL2Lq.js → ChargeCardListPage-zDV88I5X-B2RVPf-8.js} +1 -1
- package/dist/assets/{ChargeCardListTable-CWBqYx4D-CeZ1g3d3.js → ChargeCardListTable-Cu1sCT_g-BGpTFZxZ.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CrJRk1Yl-BANohpa0.js → ChargeCardPaymentHistoryPage-Db6zW203-WFxJEWqw.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-8p2rEuSL-CrIF3BTH.js → ChargeCardPromoPage-DsrTt5B0-CxLK8tnF.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-Dk3kFOe8-C4GnOzsE.js → ChargeCardSetupPage-DcYthQvc-CTSyFY1c.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-BgVV9glv-Csf4xPzS.js → ChargeCardStatementsPage-DkUJKxIz-CnKozjSR.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-D-yLGTdP-DfK57GuS.js → CheckDepositDrawerPage-C7rL0Ts2-RP5ItDdY.js} +1 -1
- package/dist/assets/{CollapsableReportTable-9GyG9N_I-Dm_EN2Cd.js → CollapsableReportTable-B0N8Ybey-DhyMNzbJ.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CTO9aR2f-DJZvEbK-.js → CompanyOfficerDetailsSection-5DfSL2V8-ScLL5OT8.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DRMGgEym-FxmYNftM.js → CompanyPassportCard-BLw_MMZR-CEzISmuM.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CgEtnvFs-BGrc__Dg.js → CompanyPassportPage-BamWWVQB-C7x4VyMq.js} +1 -1
- package/dist/assets/{CompleteProfile-B8B0WHlc-DckZ5FcH.js → CompleteProfile-CPwV8diq-J2SvPl5E.js} +1 -1
- package/dist/assets/{ConfettiBurst-Cf9tVPaI-ga9gHcW_.js → ConfettiBurst-CJc1ZWFJ-DhK08ncO.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BRoA1J_e-CL7PJuIa.js → CreateOrEditVendorPage-CDqjntBH-Dvy2lhUu.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-DfLgUaL5-BjGdyL8s.js → CreditCardPaymentDrawerPage-cBCHuatx-C8VBVt7-.js} +1 -1
- package/dist/assets/{CurrencySelectField-P0hAgQCu-BJOCIgj-.js → CurrencySelectField-kA2N_h2r-CcyWX90z.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-B8Q88AWZ-D1HqImqn.js → CustomerOnboardingActivationPage-BU5SX7SV-Difzp9Mo.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-CY24zxv4-DINzCoKw.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CHfRyWDx-BKWyP_rC.js → CustomerOnboardingDetailPageSkeleton-DGG2nFxO-Dw6MsSJ6.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-AHaRcpU7-CQI-lRkG.js → CustomerOnboardingNoStepsPage-Dx_Py2Fa-Eccb4L_B.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-M-yohbX--ChBZQ3jk.js → CustomerOnboardingPage-AHQX5bSN-BxpQ0OvT.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-CJ9rX2hA-BJUYSoDy.js +202 -0
- package/dist/assets/{Dashboard-BG4b-9G4-C54CR84x.js → Dashboard-BQGdcgDK-CcNLKkZL.js} +1 -1
- package/dist/assets/{DashboardReportPage-BzRypSME-BlFSCtCq.js → DashboardReportPage-C9eB1Lz--5ieAwPtY.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-iToqk56B-BPnQ9fNh.js → DashboardSidebarBackgroundAnimation-Cu7qPhOd-CTi4Znx6.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-LqdXkh9A-x0_IcHNW.js → DepositAccTransactionItem-DOcqx_qa-leYCAzF7.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-CdvLbfLi-B_vm9nE8.js → DepositAccTransactionListPage-gxOQSQ9a-C_x5v-6x.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-B42h6sda-Do7iuxAn.js → DomesticWireDetailsPage-C_chbExL-BeToz5h5.js} +1 -1
- package/dist/assets/{DownloadOverlay-BaDe2oAY-vG8XOYxq.js → DownloadOverlay-a0IFrzRd-D3N8T5hh.js} +1 -1
- package/dist/assets/{DrawerPage-CstJJdfo-CLRRsz-h.js → DrawerPage-D3ezgD8z-B72SfIcT.js} +1 -1
- package/dist/assets/{EditPeoplePage-DnOwrdDz-D0-a0dLw.js → EditPeoplePage-BnCysZo9-DrBsiLvG.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-CibEtPqY-Cy3OX0Vo.js → EditReimbursementDetailPage-BzKR9gus-CcV8vLu7.js} +1 -1
- package/dist/assets/{EntityDetailPage-DkdoV8Td-CF86X6BG.js → EntityDetailPage-B8vx2Mri-Dq6ftPMD.js} +2 -2
- package/dist/assets/{EntitySummarySection-mA5rFNgr-Bioc-Lb5.js → EntitySummarySection-B5pV5wTI-DsRwDVIH.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-Cdb_ye_U-DmR85Pca.js → ExpenseAutomationOverviewPage-D25gPCR4-DOT9Bi2a.js} +8 -8
- package/dist/assets/{ExpenseAutomationPage-C8BdII8_-CS7TrM1T.js → ExpenseAutomationPage-BUAS2p9i-IL1JLlJv.js} +134 -134
- package/dist/assets/{ExpressPayPage-D-q6m2Sl-CIjalIP2.js → ExpressPayPage-DfIwfewF-QpNTIKub.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-Brmih5xQ-C4-L_erz.js → FeaturePreviewPage-AXorSpml-Ds6bcvAF.js} +1 -1
- package/dist/assets/{FollowStepsSection-C0R9691z-CWGjbLzM.js → FollowStepsSection-YR8SDxZC-jK4GFXy_.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-wZ4Kv7Km-Brm2bCqi.js → GlobalReviewListPage-CxH9D6qC-D9VCs7_X.js} +1 -1
- package/dist/assets/{InformationCardStack-C_Vo9lw4-DPqc1CKN.js → InformationCardStack-GuTsARmk-m7W2Cyla.js} +2 -2
- package/dist/assets/{InsightsCardStack-B18tApRg-BeGukMtE.js → InsightsCardStack-CmTNccBr-B7V7JJKw.js} +5 -5
- package/dist/assets/{InsightsSection-BT1h9fEy-CJvGL2eo.js → InsightsSection-Bu-MplmN-Dorr_z_6.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-BXihQUgf-BBLd38xw.js → IntegrationsSettingsPage-JZMYvwgs-DuQDlnR9.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-s2KDdELd-BoRNPe2l.js → InternationalWireSwiftDetailsPage-CM50BUc0-_CxvnrXr.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-seQdCIHj-DyA4sTpA.js → InternationalWireVerificationPage-Cg0oEA0I-D1TCfpW-.js} +3 -3
- package/dist/assets/{InviteFormPage-DORYlkDF-BXlfKfEd.js → InviteFormPage-CDlB29vX-Dmvvor8B.js} +1 -1
- package/dist/assets/{InvitePageListView-__0_bfoj-COkZ30vJ.js → InvitePageListView-74Ymz8Xr-JpwUJSKI.js} +1 -1
- package/dist/assets/{InvitePeoplePage-BPU0cUoJ-cklUE8EE.js → InvitePeoplePage-DxLF-5KU-CkS36yG4.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-Cf_VG6ou-DfHhidgK.js → InvoiceUploadSection-De-7n3RO-qOxwsJtX.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-Ak_ZYHLC-CDt2l4oi.js → IssueChargeCardPage-CzKlIsrE-CA_eEqsH.js} +1 -1
- package/dist/assets/{LabeledAddressValue-Dv_iNmJ1-DqAFYxp0.js → LabeledAddressValue-CZwyvCy5-D1-9Sm0B.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BOu3phtO-BRziDZTw.js → LabeledAddressValueField-k9TP-qlZ-BzpglZfd.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-CPIKQ-CK-CyN_6bcD.js → LabeledControlledCheckBoxField-DBnXkX-G-D4fP_6xf.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BfXHGTpW-Dm5nyQ4c.js → LabeledCountryMultiSelectField-CiWNHg9A-DFrwqamp.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-xk2HC5O8-Bm2kFWAo.js → LabeledCreatableSingleSelectField-DdVE_wVv-xntEGmYo.js} +1 -1
- package/dist/assets/{LabeledDocumentField-D8RhxYIe-Bj-acypD.js → LabeledDocumentField-DGnh1cGh-BCYe8_PA.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-ClNFgUx5-BHkyMdmL.js → LabeledDropDownFormattedTextField-BnaconeO-Ced0Yfaq.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-BpLilatj-BH11dlTu.js → LabeledMultiSelectField-Bt5PGbgf-8xamnDnk.js} +1 -1
- package/dist/assets/{LabeledText-Xnlcoee7-DvfegDLF.js → LabeledText-D9rbUJbs-B8rHFe3f.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DSu4gVyZ--L1WeXO_.js → LabeledUserSingleSelectWithSubtitlesField-DsstNVEx-CdKxnW8j.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-Dm6FC_X5-BUiLRpgZ.js → LabeledZeniRolesDropDownField-DhvE24vx-B-YVtH41.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-D0tsT5TK-Dt679xSa.js → LinkJETransactionPage-CpttcuV1-DTLtK8Xw.js} +2 -2
- package/dist/assets/{LockCardPage-DYNFfr7G-WzPdjT5w.js → LockCardPage-FMI6xt1u-BqXJz86i.js} +1 -1
- package/dist/assets/{LowBalancePopup-BHUFtl2y-Do5s3dTF.js → LowBalancePopup-UNnJZwgC-D6ASOhaV.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-Bwzk6331-BkvpBbKP.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-23WXWUBb-DxgLQKhU.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-XqDeRmny-DaBhYRdy.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-B-8mtcQ5-BdMJ3zDY.js → MagicLinkSuccessPage-MURH2rp8-CYwIx8kJ.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DHU7VtF2-CDIRqEzx.js → MagicLinkTitleSection-Cyx2YimC-BzlWjntf.js} +1 -1
- package/dist/assets/MailingDetailsSection-Ro9Lxvtp-BP_WY31Z.js +21 -0
- package/dist/assets/{Menu-BumlrBWb-DAaXXUqk.js → Menu-XT10vy6U-BOoUbuzb.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BP8ahgjX-DpAxbKpR.js → MyBankConnectionsSettingsPage-BwD3OyXL-Da0NgCMi.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-DL6ZI6yW-DqOwjxTj.js → MyPendingActivationChargeCardListPage-B4yQ0O4T-B-nL-DnD.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-D0t4K8ns-Dyv1LhrC.js → MyProfileSettingsPage-Bb4QkILK-HSMShd-J.js} +5 -5
- package/dist/assets/{NavBarWithPicker-BtWbUncS-DGLoB_by.js → NavBarWithPicker-DhLovvzt-DexTgtAK.js} +1 -1
- package/dist/assets/{NavigationArrow-CxgIRSy6-Bm1jcGzL.js → NavigationArrow-lK8LcatV-DGfMOxMA.js} +1 -1
- package/dist/assets/{NavigationDots-B3pcllxp-BxOTxmN3.js → NavigationDots-Dp0jKWtv-wJZlAbQ6.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-cvM5npvx-CxEGIqIG.js → NewGlobalMerchantPage-DFt03MpW-DqMLqtG6.js} +1 -1
- package/dist/assets/{NoDataChart-CkbRqqmB-BCbXiIwl.js → NoDataChart-BVStkyEY-B8WZvGsw.js} +1 -1
- package/dist/assets/{NoDataTable-D5uU7rww-DSFc65Kp.js → NoDataTable-CBglXVQp-DDY10FD4.js} +1 -1
- package/dist/assets/{NotFoundPage-CQ43hKOe-B3l1yojZ.js → NotFoundPage-8N4Q0cRS-l_4f29AK.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-B1Lup2VT-BKtaafBP.js → NotificationSettingsPage--cl75C4Y-CI4sz5M5.js} +1 -1
- package/dist/assets/{NotificationsListConfig-DbMLqAOq-BzO50l3x.js → NotificationsListConfig-BvqUVi6A-BHY0be2X.js} +1 -1
- package/dist/assets/{NotificationsPage-AB3KsQi7-BwAfardz.js → NotificationsPage-ClhmC4cD-IBtrx1co.js} +1 -1
- package/dist/assets/{OpExByVendorPage-SzuZwalp-DSfQBVnB.js → OpExByVendorPage-B24tsc-s-D6QTllTB.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-iW6REHBm.js → OverlayContainerPage-Daz3A7cI-qKQBMmtx.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-SYjTIobN-C4Ryj-UT.js → PandLWithForecastPage-ChmIZfeB--a2CqoGA.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Bsx0mGaZ-CaRVFjjc.js → PaymentAccountSetupBillingAddressSection-rhNK3_SE-DvD9qIA8.js} +1 -1
- package/dist/assets/{PeoplePage-B5JrcDNI-Cj4s3SWx.js → PeoplePage-PetKjS8P-_ragIp3s.js} +1 -1
- package/dist/assets/{Preview-DtV782hU.js → Preview-BfeJRZ_s.js} +1 -1
- package/dist/assets/{ProductsCarousel-CVoL_xl4-B9MwRfnz.js → ProductsCarousel-DzhNUiJk-CnpcLYLM.js} +1 -1
- package/dist/assets/{PromoBaseCards-C8qSUCzq-tsoJ2ZsF.js → PromoBaseCards-ZTN2uS4W-CaNYBpDe.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-QFZbkFOA-tfio2TcG.js → QBOConnectionDialog-CBtavUIz-BfsbqfyR.js} +1 -1
- package/dist/assets/{QBOSetupSection-B2qiAlYU-DehOAWQC.js → QBOSetupSection-jcVYFWfP-BR9neq53.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-iqzN8yeY-abubOT8z.js → ReimbursementApprovalRuleDetailPage-BoarRMWS-CplZNZTA.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BWFxJ80S-DGUKQot3.js → ReimbursementApprovalRulesPage-B5hHz-7T-COzYdYAx.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-Cb9BOq4R-B75pOSaj.js → ReimbursementDetailPage-YfiCLu3C-DRrFxOgG.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-D-NSe4nk-B7aMfhWT.js → ReimbursementPromoPage-CC_zFd3U-B-6fRWux.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-zUHUxId8-UupCQLkC.js → ReimbursementSetUpPage-ChjBTodZ-BokcNixy.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CMupP_NB-DICk-cac.js → ReimbursementsBulkReviewDrawerPage-DOSDVT4u-B7pg5Efr.js} +1 -1
- package/dist/assets/{ReloadCard-Dh0SYKvO-DLttYVfd.js → ReloadCard-qzpNu5-B-VePHUMif.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-0H1aO3_G-CMsAYjZ0.js → ReportTableViewSelector-kzIQLZ5u-DS78KTH3.js} +1 -1
- package/dist/assets/{ReportsPage-DsFJrJ9D-BMZEqJPZ.js → ReportsPage-DVZ3Rcn1-CBE174bA.js} +5 -5
- package/dist/assets/{RevenueChart-BlQnByKx-6raxIpF3.js → RevenueChart-Bu8VCI9M-BYSxY3Z8.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-CV-J7_FZ-D8EGcxeJ.js → ReviewDetailsPage-Cl2_0ldt-BqZxApRm.js} +1 -1
- package/dist/assets/{ReviewOverlay-CwyShttD-CS0p2NsV.js → ReviewOverlay-vmoQ2B3U-XNVWskNH.js} +1 -1
- package/dist/assets/{RoleWithToolTip-CeOpT_6v-T4qsdQYp.js → RoleWithToolTip-CEcusyL7-YmpTx_Di.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-G0FPNF5V-B_249_Ax.js → ScheduleDetailsFixedAssetsPage-D9w3rUch-DKLGn-zP.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-D3WXeMzk-DagzT6Bp.js → ScheduleDetailsPage-LbjrnfcH-DCCH1T9I.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-DdrN0kHc-YJp2vd94.js → ScheduleSequenceTable-2IpjhbUO-GCUPvy0g.js} +1 -1
- package/dist/assets/{ScreenRoutes-NlgaK3TL.js → ScreenRoutes-DkDRu-4T.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DjGIyGqz-C5pyxc8B.js → SetUpAccountSection-p_viPmIN-BeZeCWCj.js} +1 -1
- package/dist/assets/{SignIn-KN2wUeWN-BNfSgZcS.js → SignIn-DhRwLJFX-CrhLsfuP.js} +8 -8
- package/dist/assets/{SignInScreen-BC4o0Sc_.js → SignInScreen-DLU3c9qR.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DA0yJkNS-CKr46Zuv.js → SpendManagementListViewPage-C3i-Mkip-BJcfLEEj.js} +5 -5
- package/dist/assets/{SpendManagementPerTabPage-CIiwcTHn-BuuZIrEr.js → SpendManagementPerTabPage-dTz2pMKg-CV1wRQLN.js} +1 -1
- package/dist/assets/{SpendManagementSection-BLZOU6Ll-CPa0X1dD.js → SpendManagementSection-DKMG4ReN-CZlClCbP.js} +1 -1
- package/dist/assets/StatementItem-Dk8gBfGY-DssA0Zy_.js +31 -0
- package/dist/assets/{StatementsPage-DCjD7tSA-C0lyMhCy.js → StatementsPage-DwvWOETo-C11bqWeD.js} +1 -1
- package/dist/assets/{StatusSwitcher-CiOSpmnA-bzevkJuE.js → StatusSwitcher-Moxr70rd-DtIz0Sb6.js} +1 -1
- package/dist/assets/{SubTabSwitcher-CfxBS2oi-Bb0c9jQb.js → SubTabSwitcher-DnCoUKmO-qRR_BP7y.js} +1 -1
- package/dist/assets/SummaryCard-DvdjDQ13-B4TCkks7.js +1 -0
- package/dist/assets/{TaskManagementPage-q5-Uh7TS-CEYXMSXt.js → TaskManagementPage-kHOwTTeJ-D1GVz39b.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-B7_2Hok--DVdadpas.js → TimeRangeSwitcher-8DihGZnj-BuenjRnY.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-nC3rnif3-C0MVuCwF.js → TimeframeSwitcher-Dy5hbFn4-tf-sE1Tu.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DkOcWDwA-tQGN-Mgc.js → TimeframeSwitcherWithToggle-V2cHhGoQ-ChkncCQh.js} +2 -2
- package/dist/assets/{TopExCard-aqOoqjT0-BFAOpmUG.js → TopExCard-D_okDk9T-wYnCPso1.js} +10 -10
- package/dist/assets/{TopExDetailPage-DIzdQ0cx-B7m3OcRR.js → TopExDetailPage-pOK_Ly9f-DZHeA38W.js} +8 -8
- package/dist/assets/{TransactionDetailPage-B_hEEP8t-oQRB7HKz.js → TransactionDetailPage-T1xurXsz-B4W_5S1Q.js} +1 -1
- package/dist/assets/{TransactionList-UYBDB4bd-CqmDB023.js → TransactionList-DblCSg0s-Dp5Vrkhr.js} +1 -1
- package/dist/assets/{TransactionListBig-OdFVjIup-CcgGX06o.js → TransactionListBig-JLNkkeay-kxPrn2Fz.js} +5 -5
- package/dist/assets/{TransactionListPage-BXYB5l79-BzIVA3th.js → TransactionListPage-Cf2i0F_k-CbyopTmd.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-kDn1yhpe-C-vnMFvr.js → TransactionVendorDetailPage-B4T07nWa-DPNm9QGH.js} +1 -1
- package/dist/assets/{TransferDrawerPage-CtSQvv-q-DtKRaEk2.js → TransferDrawerPage-BukQB5RF-CjEiIEvy.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-Dwp-RAwa-C2mLf6mS.js → TreasuryOverviewPage-C0bQkCDh-BxK_GNbO.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-CqiGJJb1-B0iJBOvb.js → TreasuryPromoPage-BaXLj90f-CHTsHIFq.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-BvjfEhwz-DBWXJiCv.js → TreasuryStatementsPage-CNK6wX8W-D72m3AI-.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-C3B6iff1-KaZaz0uJ.js → TreasuryTaxLetterPage-DEnUpGEu-BnF_XmM3.js} +1 -1
- package/dist/assets/{TrendChart-DwPnEwyO-A4_KxCx0.js → TrendChart-BhcSso96-HdF7LRi9.js} +1 -1
- package/dist/assets/{TrendWithTransactions-B3oV0JPi-CUR6-uUx.js → TrendWithTransactions-B6xQ_DkB-Cvs1eKME.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-bGvTx0Pv-9eIiwDA7.js → UncategorizedAccountsMappingPage-DDqyVfnh-eAWCdEG0.js} +2 -2
- package/dist/assets/{UnitIntegrationPage-CGqGix7l-ev5cIKHx.js → UnitIntegrationPage-BpT6E05N-RmQBxDe9.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DYbC57rE-C039-pZA.js → UploadAdditionalDocumentOverlay-Dgwmxm6G-BrPUqWPJ.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-CF5GvGtl-Cn_ODNTi.js → Vendor2FAPopup-CayW9AB7-DH4zWHWM.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-CjsWjEGI-DSO-nYli.js +1 -0
- package/dist/assets/{VendorDetailPage-LmgMG0tb-C0DXP8Rz.js → VendorDetailPage-DQKnd_wl-DwLsSmFh.js} +5 -5
- package/dist/assets/VendorDomesticWireDetailsPage-DBOWshWu-N9IiH6Qb.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DZYtpPRR-Cu-UWtzn.js → VendorFiling1099EditablePage-monlt0GX-DhHW1Hg8.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-DDj-Rw2b-RBiPr1hN.js → VendorFirstReviewPage-B_5VMGPE-DN-QZxaX.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-VBJ-6ETL-yy9LV6I5.js → VendorInternationalWireDetailsPage-Czz9BmEm-DfcATEGo.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-dc3xswld-DuC7EOCR.js → VendorInternationalWireSwiftDetailsPage-B-mh5P3v-Bc79bIRM.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-CAygTvfU-si-Tcy40.js → VendorsAccountsSection-BCxVL3Vy-BoF6gQ0C.js} +1 -1
- package/dist/assets/{VerifyDevice-CxLFy5GU-pbPCJ1x8.js → VerifyDevice-CzW6x8kw-B7mzxysF.js} +1 -1
- package/dist/assets/{VideoPlayer-DKj4Ii21-Dr-BfljO.js → VideoPlayer-B6HamlwN-DO-Ebeno.js} +2 -2
- package/dist/assets/{VideoPopup-CFvt5o_3-GDyYKNyF.js → VideoPopup-D2mt1wC7-DHjn2cBV.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-BiBeB75Y-DjI_mhfu.js → WarningsDrawerPage-BbN2G_rG-D-RK3Kf3.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CTrz5iPv-CfjO5sqD.js → ZeniAccountDetailPage-Bs_CVksP-aa_P2NUV.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-DUfa9C7y-BZpG3L7k.js → ZeniAccountListViewPage-D5VNz-Hq-Cl6QAZp7.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-knHeWdLO-B6g1-c5M.js → ZeniAccountNavBarPieces-Dr8RdhtI-Bb7xJeYD.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BnGvEYqf-C1xzFxgq.js → ZeniAccountPromoPage-DvOrXg46-D6yWqYxW.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-JnPZalVG-rRdoG4wm.js → ZeniAccountSetupPage-zxlxRsQl-LI3fD0r9.js} +1 -1
- package/dist/assets/{ZeniCopyright-B4Tk2oOq-CpTeCYhK.js → ZeniCopyright-F1ki_Lss-DMCcW5zx.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-bXoRbaVx-bnqT0BF_.js → ZeniTransferAmountSlider-CK6HDTK_-DITkaxMM.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-OKBQPkhm.js → add-to-wallet-DgdBD8_G-B95D_4Mz.js} +1 -1
- package/dist/assets/{analytics-Bw4TcvMB.js → analytics-Cvgud8Kt.js} +1 -1
- package/dist/assets/{analyticsHelper-YXtfLWRq.js → analyticsHelper-B9B5MkKm.js} +1 -1
- package/dist/assets/{analyticsHelper-Bow8lzQJ-CmspHZCq.js → analyticsHelper-BgGQcED5-B6zw5Y6I.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-KBLxTENK.js → arrow-south-east-round-PEovUgvH-D4yBr92E.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DYcnSIYv.js → auto-transfer-rule-mbafm5D3-Bx6GnRAc.js} +1 -1
- package/dist/assets/{chartTypes-C6j6oBoS-DHIqBduh.js → chartTypes-Cdx27b7W-ChloPEmp.js} +1 -1
- package/dist/assets/{commonDimensions-Dw7YNTQN-BXFGudzz.js → commonDimensions-BIRY_wCD--kqEOvxT.js} +1 -1
- package/dist/assets/{commonTypes-Bq0C5-39-Bq_sc_Yc.js → commonTypes-DfehYs8A-BsLjL_9-.js} +1 -1
- package/dist/assets/{constants-WUsOZJdu.js → constants-BtzoEfaK.js} +1 -1
- package/dist/assets/{core-B6mfCzHj.js → core-CXv949D6.js} +1 -1
- package/dist/assets/{dash.all.min-BDO1VuRQ.js → dash.all.min-Cqg4Xi33.js} +1 -1
- package/dist/assets/{detailCommon-DaTlK7zO-D1qMyDq5.js → detailCommon-C4lCnx9f-C7pmgfja.js} +2 -2
- package/dist/assets/{downloadPdf-CF50NGDy-BZ7Y466H.js → downloadPdf-BuszScX2-B_Z_90M1.js} +1 -1
- package/dist/assets/{empty-1g6nIkrO.js → empty-ByGWobuT.js} +1 -1
- package/dist/assets/{empty-CIvaYukf.js → empty-DMMVJjdh.js} +1 -1
- package/dist/assets/{epic-DLwNDeYf.js → epic-CfYPw6_1.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-CsflwNEu.js → gift-box-Cmt9OgIZ-BVRdqnGH.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DbYxoem5.js → graphic-no-data-l-DU4J8fDt-BOH0Hki6.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BDriF_er.js → graphic-no-data-net-burn-l-CzmycA0m-D2SwohD-.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BjbuFgha.js → handshake-BPg58FML-B7qt1m6p.js} +1 -1
- package/dist/assets/{index-BTAlKoSn.js → index-B7Vrs2at.js} +1 -1
- package/dist/assets/{index-C9Zpxf3J.js → index-BoBO6goA.js} +1 -1
- package/dist/assets/{index-2vVNiu0Y.js → index-BoFx375B.js} +1 -1
- package/dist/assets/{index-A6eZNAi1.js → index-CWzyMkSf.js} +1 -1
- package/dist/assets/{index-Sbme0UzG.js → index-CuYWWTvq.js} +1 -1
- package/dist/assets/{index-CT3_ffM0.js → index-HEX4i15-.js} +7 -7
- package/dist/assets/{index-Sd2GO_1_.js → index-sODlkJM-.js} +1 -1
- package/dist/assets/{lexical-DFbhYDAo.js → lexical-DVRjsGc3.js} +1 -1
- package/dist/assets/{liveblocks-CCUBRXZT.js → liveblocks-Cb1r83bZ.js} +1 -1
- package/dist/assets/{lottie-Dia5PUdF.js → lottie-ChpXBaXa.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-COOEc1T9-DGQoLemv.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DioWEF-R-Be4Ivukn.js → mapSectionWithAcOnlyToTreeNode-KPnNJcR6-DHEAql9w.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-pvGPhRLA-BEE9eisT.js → mapSpacerToTreeNode-BgJYIgvo-fV_Gwxoc.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DAnYNYrr-D_2bOFsl.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DKbBYyC9--OjhjG_D.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BeGSkZpM-DL5IPXlV.js +1 -0
- package/dist/assets/{mui-H_uXhzKV.js → mui-ic6OiqS8.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Caa3IThi.js → page-detail-CWX5S47F-k_jk9CoG.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-B31bLUe1.js → radio-default-CiSgisfh-za7RGM9N.js} +1 -1
- package/dist/assets/{react-BVTQJBC6.js → react-9LgnLXOA.js} +1 -1
- package/dist/assets/{react-DsO7FUUz.js → react-BBhRq74A.js} +1 -1
- package/dist/assets/{react-D7c57vAc.js → react-Bdp1N68v.js} +1 -1
- package/dist/assets/{react-BndhfvK7.js → react-BuqZeXYc.js} +1 -1
- package/dist/assets/{react-QE649y0z.js → react-CPjX1wmE.js} +2 -2
- package/dist/assets/{react-CNHPt1hw.js → react-DK-HRtjG.js} +1 -1
- package/dist/assets/{react-CqkFpBFr.js → react-DQZAFu6o.js} +1 -1
- package/dist/assets/{react-CjedTdDh.js → react-gyhpZrY7.js} +1 -1
- package/dist/assets/{recharts-pSDHxu7-.js → recharts-C7z-lQH-.js} +1 -1
- package/dist/assets/{sentry-5B7WY2hn.js → sentry-DNw4E1cx.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-C9f8MlRB.js → shield-DOlUxcFf-D6nz_AIb.js} +1 -1
- package/dist/assets/toCOABalancesWithID-C__BVdeG-L2MMXLgC.js +1 -0
- package/dist/assets/{toChartData-CnjrCi9i-CYnmyA9B.js → toChartData-B0HFgnVy-FTnLuytJ.js} +1 -1
- package/dist/assets/{uploadAttachment-Ce0sdSDo-AfsygG9q.js → uploadAttachment-DlvokhTk-r6x0axxP.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-i8VU085V.js → uploadReceipts-CPw64UYa-BWHPlnz7.js} +1 -1
- package/dist/assets/{url-CxOAQCm1.js → url--ZPS5B7f.js} +1 -1
- package/dist/assets/{url-JHGGIwEq.js → url-DBQRifxB.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-PGeJuZQy.js → useLongPress-GCK2COYQ-DCMSiElk.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Cb08tH1j.js → usp-line-BBd1wKwW-BHEAhb94.js} +1 -1
- package/dist/assets/{utils-XWlT4ops.js → utils-BM6IYCHh.js} +1 -1
- package/dist/assets/{zeni-epic-state-DRXPUrKj.js → zeni-epic-state-CKYsFVFb.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-YGCksJfr-CFXt9hwI.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-DqQ7Lcwq-DkibbpT_.js +0 -202
- package/dist/assets/MagicLinkACHDetailsPage-D1Yrf6I3-B1M7HkDi.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DF4qlmsy-CEb_s-9Q.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BNeI6INt-CiHqB7XV.js +0 -1
- package/dist/assets/MailingDetailsSection-B-bODwAg-ZuNhyQhw.js +0 -21
- package/dist/assets/StatementItem-DfbvINGt-BNwrnpQ8.js +0 -31
- package/dist/assets/SummaryCard-YakCHMD--W7g06PiG.js +0 -1
- package/dist/assets/VendorACHDetailsPage-CKmq7yOU-DxpK3Avp.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CBYW97OY-C-DED8xn.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-BogZGPG9-z8rPMfXJ.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BNu8T9PW-BShM6kCi.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CiB5iztB-B-zAYdM3.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DwGOxYFm-CeT8_XP9.js +0 -1
- package/dist/assets/toCOABalancesWithID-BxzNBK9u-zzCmo2rj.js +0 -1
package/dist/assets/{BillPayPromoPage-Cmfp8aZE-BgDk3gHC.js → BillPayPromoPage-fBpp10um-GZ0MLbC-.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aw as W,q as f,aO as Y,V as e,fp as ee,bA as ie,n as B,aN as C,ae as m,F as I,o as l,aq as le,a as se,d as M,aR as U,am as oe,y as te,p as
|
|
1
|
+
import{aw as W,q as f,aO as Y,V as e,fp as ee,bA as ie,n as B,aN as C,ae as m,F as I,o as l,aq as le,a as se,d as M,aR as U,am as oe,y as te,p as b,cB as re,aS as ne,b9 as ae,c as de}from"./index-HEX4i15-.js";import{a as g}from"./sentry-DNw4E1cx.js";import{n as s}from"./mui-ic6OiqS8.js";import{Fw as ce,bS as pe,Fx as me}from"./zeni-epic-state-CKYsFVFb.js";import{f as xe}from"./VideoPopup-D2mt1wC7-DHjn2cBV.js";import{M as $}from"./usp-line-BBd1wKwW-BHEAhb94.js";import"./liveblocks-Cb1r83bZ.js";import"./core-CXv949D6.js";import"./recharts-C7z-lQH-.js";import"./lottie-ChpXBaXa.js";import"./analytics-Cvgud8Kt.js";import"./lexical-DVRjsGc3.js";import"./utils-BM6IYCHh.js";import"./VideoPlayer-B6HamlwN-DO-Ebeno.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="38ddc81b-bcc0-40bb-bc41-77b1801055f7",i._sentryDebugIdIdentifier="sentry-dbid-38ddc81b-bcc0-40bb-bc41-77b1801055f7")}catch{}})();const A="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",D="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",he={midContainerMarginBottom:new te(de[5],44)},ge=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -42,7 +42,7 @@ import{aw as W,q as f,aO as Y,V as e,fp as ee,bA as ie,n as B,aN as C,ae as m,F
|
|
|
42
42
|
border-radius: 12px;
|
|
43
43
|
border: ${i=>`1px solid ${i.theme.colors.grey3}`};
|
|
44
44
|
padding: 15px;
|
|
45
|
-
`,
|
|
45
|
+
`,a=s.div`
|
|
46
46
|
border-radius: ${l.sp12};
|
|
47
47
|
border: ${i=>`1px solid ${i.theme.colors.grey2}`};
|
|
48
48
|
padding: ${i=>i.windowSize==="small"?`${l.sp2} ${l.sp4} ${l.sp2} ${l.sp0}`:`${l.sp3} ${l.sp5} ${l.sp3} ${l.sp0}`};
|
|
@@ -53,9 +53,9 @@ import{aw as W,q as f,aO as Y,V as e,fp as ee,bA as ie,n as B,aN as C,ae as m,F
|
|
|
53
53
|
align-items: center;
|
|
54
54
|
text-align: start;
|
|
55
55
|
box-sizing: border-box;
|
|
56
|
-
`,u=s(
|
|
56
|
+
`,u=s(ae)`
|
|
57
57
|
color: ${i=>i.theme.colors.champion};
|
|
58
|
-
`,w=s(
|
|
58
|
+
`,w=s(ne)`
|
|
59
59
|
color: ${i=>i.theme.colors.champion};
|
|
60
60
|
`,y=s(U)`
|
|
61
61
|
color: ${i=>i.theme.colors.champion};
|
|
@@ -63,22 +63,22 @@ import{aw as W,q as f,aO as Y,V as e,fp as ee,bA as ie,n as B,aN as C,ae as m,F
|
|
|
63
63
|
color: ${i=>i.theme.colors.champion};
|
|
64
64
|
`,d=s.div``,c=s.div`
|
|
65
65
|
padding-left: ${l.sp3};
|
|
66
|
-
`,_=s(
|
|
67
|
-
color: ${
|
|
68
|
-
`,E=s(
|
|
69
|
-
color: ${
|
|
70
|
-
`,O=s(
|
|
71
|
-
color: ${
|
|
66
|
+
`,_=s($)`
|
|
67
|
+
color: ${b.graphColor16Dark};
|
|
68
|
+
`,E=s($)`
|
|
69
|
+
color: ${b.graphColor09Dark};
|
|
70
|
+
`,O=s($)`
|
|
71
|
+
color: ${b.graphColor28Dark};
|
|
72
72
|
`,fe=s(oe)`
|
|
73
73
|
margin: ${l.sp3} auto;
|
|
74
74
|
max-width: 719px;
|
|
75
75
|
color: ${i=>i.theme.colors.hero};
|
|
76
|
-
|
|
76
|
+
`,be=s.div`
|
|
77
77
|
display: flex;
|
|
78
78
|
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
79
79
|
align-items: center;
|
|
80
80
|
justify-content: center;
|
|
81
|
-
|
|
81
|
+
`,$e=s(U)`
|
|
82
82
|
margin: ${i=>i.windowSize==="small"?l.sp1:`auto ${l.sp5}`};
|
|
83
83
|
color: ${i=>i.theme.colors.grey1};
|
|
84
|
-
`,t=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,r=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Ve=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:q,onButtonClick:N,onBackClick:H,onSetupBillPaySuccess:z,onClickMenuIcon:Z})=>{const h=W(),
|
|
84
|
+
`,t=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,r=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Ve=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:q,onButtonClick:N,onBackClick:H,onSetupBillPaySuccess:z,onClickMenuIcon:Z})=>{const h=W(),n=f(),{billPayTermsDetails:p}=i,[J,K]=g.useState(!1),[Q,k]=g.useState(!1),v=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{v==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[v,z,p?.fetchStatus]);const X=()=>{o?.trackBillPayPromoScheduleDemo(),k(!0)},G=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!G,T=P?t.setupNonAccessableUsersPromoText:t.promoText;return e.jsxs(ge,{children:[J===!0?e.jsx(xe,{onCancelClick:()=>{K(!1)},videoUrl:q}):null,Q===!0?e.jsx(ee,{onCancelClick:()=>{k(!1)},meetingUrl:S}):null,e.jsx(ie,{title:t.title,onBackClick:H,showBackButton:!me(h.loggedInUserRoleMap),showMenuIcon:n==="small"||n==="medium-compact",onClickMenuIcon:Z,source:"BillPayPromoPage"}),e.jsxs(ue,{windowSize:n,children:[n==="small"?e.jsx(ye,{children:T}):e.jsx(we,{children:T}),n==="small"?e.jsx(Se,{}):e.jsx(ze,{}),P===!1?e.jsxs(je,{children:[e.jsxs(be,{windowSize:n,children:[e.jsx(B,{variant:"secondary",label:t.scheduleDemoButton,onClick:X,"data-testid":C("billpay-schedule-demo-button")}),e.jsx($e,{windowSize:n,children:t.orText}),e.jsx(B,{variant:"primary",label:t.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:N,"data-testid":C("billpay-setup-button")})]}),e.jsxs(fe,{children:[t.terms.terms1,e.jsx(m,{href:r.consentUrl,linkText:r.consent}),r.term2,e.jsx(m,{href:r.depositUrl,linkText:r.depositTerms}),r.term3,e.jsx(m,{href:r.privacyPolicyUrl,onZeniLinkClick:()=>(o?.trackBillPayPrivacyPolicy(),!0),linkText:r.privacy}),r.term4,e.jsx(m,{href:r.tosUrl,onZeniLinkClick:()=>(o?.trackBillPayAgreement(),!0),linkText:r.tos}),r.term5,t.terms.terms3]})]}):null]})]})},Se=()=>{const i=M(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsx(R,{windowSize:o,children:e.jsx(V,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:D,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(x,{src:A,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(F,{windowSize:o,children:[e.jsxs(a,{windowSize:o,children:[e.jsx(d,{children:e.jsx(O,{})}),e.jsxs(c,{children:[e.jsx(j,{children:t.fullyManagedText.bold}),e.jsx(y,{children:t.fullyManagedText.regular})]})]}),e.jsxs(a,{windowSize:o,children:[e.jsx(d,{children:e.jsx(E,{})}),e.jsxs(c,{children:[e.jsx(j,{children:t.multiLevelApprovalText.bold}),e.jsx(y,{children:t.multiLevelApprovalText.regular})]})]}),e.jsxs(a,{windowSize:o,children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(j,{children:t.aiPoweredText.bold}),e.jsx(y,{children:t.aiPoweredText.regular})]})]})]})]})},ze=()=>{const i=M(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsxs(F,{windowSize:o,children:[e.jsxs(a,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(O,{})}),e.jsxs(c,{children:[e.jsx(w,{children:t.fullyManagedText.bold}),e.jsx(u,{children:t.fullyManagedText.regular})]})]}),e.jsxs(a,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(E,{})}),e.jsxs(c,{children:[e.jsx(w,{children:t.multiLevelApprovalText.bold}),e.jsx(u,{children:t.multiLevelApprovalText.regular})]})]}),e.jsxs(a,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(w,{children:t.aiPoweredText.bold}),e.jsx(u,{children:t.aiPoweredText.regular})]})]})]}),e.jsx(R,{windowSize:o,children:e.jsx(V,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:D,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(x,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Ve as default};
|
package/dist/assets/{BillPaySetUpPage-BmtV-Zr2-aqBLv3C0.js → BillPaySetUpPage-9iEVFLUa-CieGlXQ4.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as De,q as Oe,aO as E,a9 as $e,cC as Re,F as Ue,aT as X,V as t,f7 as He,p as Le,aN as ze,y as u,bA as qe,k as Ne,ac as Me,fq as H,dL as Ge,fr as Je,bv as Ze,dB as Ke,bR as Xe,fs as Ye,aP as Qe,o as z,ft as et,c as a,al as tt,bI as it}from"./index-
|
|
1
|
+
import{d as De,q as Oe,aO as E,a9 as $e,cC as Re,F as Ue,aT as X,V as t,f7 as He,p as Le,aN as ze,y as u,bA as qe,k as Ne,ac as Me,fq as H,dL as Ge,fr as Je,bv as Ze,dB as Ke,bR as Xe,fs as Ye,aP as Qe,o as z,ft as et,c as a,al as tt,bI as it}from"./index-HEX4i15-.js";import{a as m}from"./sentry-DNw4E1cx.js";import{n as b}from"./mui-ic6OiqS8.js";import{bJ as nt}from"./zeni-epic-state-CKYsFVFb.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-Dgwmxm6G-BrPUqWPJ.js";import"./liveblocks-Cb1r83bZ.js";import"./core-CXv949D6.js";import"./recharts-C7z-lQH-.js";import"./lottie-ChpXBaXa.js";import"./analytics-Cvgud8Kt.js";import"./lexical-DVRjsGc3.js";import"./utils-BM6IYCHh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="89cb40cb-3da7-45ca-9f1d-dec13e15a804",e._sentryDebugIdIdentifier="sentry-dbid-89cb40cb-3da7-45ca-9f1d-dec13e15a804")}catch{}})();const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},Y="billPaySetUpPage",W="billPayAccount",Ct=({billPaySetupView:e,isDisabled:p,billpayApprovalView:v,meetingUrl:C,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:fe,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:q,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=De(),i=Oe(),[A,S]=m.useState(!1),N=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:_,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:d,allFundingAccounts:M}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:B,approvalRulesStatus:Ie}=v,D=_.link_account.updateStatus,O=_.update_account.updateStatus,j=E(f),J=E(P.fetchState),Z=E(D.fetchState),K=E(O.fetchState),w=$e({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>L(e),[e]),values:L(e)});m.useEffect(()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),A&&j==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,j]),m.useEffect(()=>{(j==="In-Progress"&&f==="Completed"||Z==="In-Progress"&&D.fetchState==="Completed"||K==="In-Progress"&&O.fetchState==="Completed")&&w.reset(L(e))},[j,f,w,e,Z,D.fetchState,K,O.fetchState]);const Be=w.handleSubmit(x=>{y.trackEnableBillPay(),me()}),je=async(x,F)=>{const o=F[W];if(x.includes(W)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=M.find(U=>U.id===o.fundingAccount.selectedOption);g!=null&&pe(o.fundingAccount.selectedOption,g.accType)}}else if(o.account.selectedOption!=null&&d?.id!=null&&d?.zeniAccountId!=o.account.selectedOption){const g=o.account.allOptions.find(U=>U.value===o.account.selectedOption);g!=null&&typeof g.label=="string"&&y.trackConnectBankLink(g.value,g.label,"bill_pay"),fe(o.account.selectedOption,d.id,d.accType)}}};m.useEffect(()=>{const x=w.watch((F,{name:o})=>{o!=null&&F!=null&&Re(()=>je(o,F))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&P.fetchState==="Completed"&&q()},[q,J,P.fetchState]);const{commonSetUp:Ve,spendManagement:Fe}=Ue.getLocalizedStrings(),{setUp:r}=Ve,{billPaySetup:l}=Fe.billPay,$=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),R=T?.isBillPayEnabled===!0,Ee=$?r.setupVerifiedSubTitle:l.setupSubTitle,We=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",V=k.mode==="light"?new X(k.colors.brandColorJadeLight):new X(k.colors.brandColorJadeDark),_e=()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:N,children:[t.jsx(He,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,"data-testid":ze("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:P,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve})}),t.jsx(qe,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:N,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Ee}),We?t.jsx(rt,{children:t.jsx(Ne,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Me,{...w,children:t.jsx("form",{id:Q(Y),onSubmit:Be,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(H,{onClick:_e,title:r.businessVerificationTitle,subTitle:r.businessVerificationSubTitle,header:r.businessVerificationHeader,icon:{element:t.jsx(Ge,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:V},status:T?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Je,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:M,plaidConnectionDetails:_,allBankAccounts:Ae,sectionId:W,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:V},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:B.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:B.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ke,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:V},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:B.length>0?Ie:void 0})]})})}),s===!0?t.jsx(H,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:V},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{I&&y.trackEnableIntlWire(ie),ye?.()},status:I?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Xe,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),$&&!R&&B.length>0?t.jsx(Qe,{formId:Q(Y),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:P.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${z.sp3}`}}):null,t.jsx(et,{isFooterRendered:$&&!R,meetingUrl:C,analytics:y,productType:"bill_pay"})]})},at=b.div``,lt=b.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as we,q as be,a9 as Ce,cC as Pe,aT as j,F as xe,V as t,y as P,bA as Ie,k as Ae,ac as ve,bv as ke,cD as je,aP as De,o as s,hI as Te,eV as Ve,eW as $e,c as x,al as Be,gR as Ee,p as ze,R as Le}from"./index-
|
|
1
|
+
import{d as we,q as be,a9 as Ce,cC as Pe,aT as j,F as xe,V as t,y as P,bA as Ie,k as Ae,ac as ve,bv as ke,cD as je,aP as De,o as s,hI as Te,eV as Ve,eW as $e,c as x,al as Be,gR as Ee,p as ze,R as Le}from"./index-HEX4i15-.js";import{a as R}from"./sentry-DNw4E1cx.js";import{n as r}from"./mui-ic6OiqS8.js";import{M as Oe,o as W,t as Me}from"./PaymentAccountSetupBillingAddressSection-rhNK3_SE-DvD9qIA8.js";import{F as _e}from"./SetUpAccountSection-p_viPmIN-BeZeCWCj.js";import"./liveblocks-Cb1r83bZ.js";import"./core-CXv949D6.js";import"./recharts-C7z-lQH-.js";import"./zeni-epic-state-CKYsFVFb.js";import"./lottie-ChpXBaXa.js";import"./analytics-Cvgud8Kt.js";import"./lexical-DVRjsGc3.js";import"./utils-BM6IYCHh.js";import"./commonTypes-DfehYs8A-BsLjL_9-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="64e20023-418e-4689-b589-387896416311",e._sentryDebugIdIdentifier="sentry-dbid-64e20023-418e-4689-b589-387896416311")}catch{}})();const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,x[5],x[5]),iconWidthHeight:new P(20,x[4]),subTitlePaddingTop:new P(12,x[3])},Re={title:new Le("standardSemiBold","largeSemiBold")},F="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:d,onClickMenuIcon:A,uiState:q,stripeKey:K,googleAPIKey:N,companyId:G,onUpdateAccountClick:J,onFetchLinkTokenClick:Q,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:D,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const b=we(),o=be(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:T},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,V=y?.providerVerificationStatus,ue=T.fetchState==="In-Progress"||T.fetchState==="Not-Started",f=Ce({mode:"onSubmit",reValidateMode:"onChange",defaultValues:H(i),values:H(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(G)}),$=i.subscriptionBillingAddressSaveStatus,me=async(c,a)=>{const g=a[I];if(c.includes(n)&&a[n]!=null){const v=f.getValues(`${n}`).country;let u=a[n];if(c.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:w}=a[n].street,k=Ve(w?.country);u={street:a[n].street??l.strings.empty,city:w?.locality??l.strings.empty,state:w?.administrativeAreaLevel1??l.strings.empty,country:k,countryCode:w?.countryCode??l.strings.empty,postalCode:w?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==k.selectedOption&&(u={...u,country:k})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:$e(v.selectedOption)});u!=null&&re(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&J(g.account.selectedOption,y.paymentAccountId)};R.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&Pe(()=>me(g,a))});return()=>{c.unsubscribe()}});const B=b.mode==="light"?new j(b.colors.brandColorJadeLight):new j(b.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:E}=xe.getLocalizedStrings(),ge=E.section.subTitle,{text:ye,subText:fe}=he,z=h.cardsList.length>0,L=h?.cardsList[0]?.brand??"other",O=h?.addCardPaymentSourceStatus.fetchState,C=Oe(S.header,S.titleText,S.protectedCardNo,h);let M;z&&(M={header:C.header,title:C.title,subtitle:C.subtitle,status:C.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:z===!0,icon:{element:t.jsx("img",{src:W(L).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:W(L).name}),color:new j(B)},showCompletedIcon:!1,isError:O==="Error",isLoading:O==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,Se]=R.useState(!1);return t.jsxs(Fe,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:E.section.title,backgroundColor:b.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(We,{windowSize:o,children:[t.jsx(He,{windowSize:o,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(Je,{children:t.jsx("form",{id:U(F),onSubmit:pe,children:t.jsxs(qe,{windowSize:o,children:[t.jsx(_e,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:d,onFetchLinkTokenClick:Q,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:ee,isError:V?.code==="require_info"||V?.code==="failed",icon:{element:t.jsx(ke,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:B},analytics:e,productType:"billing",updateCardPaymentModalState:D,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Ke(o,l.headers.billingAddress,ce,N,d)]})})})}),je(f.formState.dirtyFields)?t.jsx(De,{formId:U(F),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:$?.fetchState==="In-Progress",isDisabled:$?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:D,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:q.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:K,cardSetupInProgress:_,setCardSetupInProgress:Se})]})},H=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:Te(n,e.subscriptionBillingAddress)[n]}},We=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
height: 100%;
|
|
@@ -6,13 +6,13 @@ import{d as we,q as be,a9 as Ce,cC as Pe,aT as j,F as xe,V as t,y as P,bA as Ie,
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
align-items: center;
|
|
8
8
|
row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
-
`,Fe=
|
|
9
|
+
`,Fe=r.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
min-height: 100%;
|
|
12
12
|
flex-direction: column;
|
|
13
13
|
width: 100%;
|
|
14
14
|
background-color: ${e=>e.theme.colors.grey4};
|
|
15
|
-
`,He=
|
|
15
|
+
`,He=r(Be)`
|
|
16
16
|
color: ${e=>e.theme.colors.hero};
|
|
17
17
|
display: flex;
|
|
18
18
|
justify-content: center;
|
|
@@ -20,7 +20,7 @@ import{d as we,q as be,a9 as Ce,cC as Pe,aT as j,F as xe,V as t,y as P,bA as Ie,
|
|
|
20
20
|
padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
21
21
|
padding-bottom: ${s.sp3};
|
|
22
22
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
23
|
-
`,Ue=
|
|
23
|
+
`,Ue=r.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
width: 100%;
|
|
26
26
|
height: calc(100vh - 110px);
|
|
@@ -28,17 +28,17 @@ import{d as we,q as be,a9 as Ce,cC as Pe,aT as j,F as xe,V as t,y as P,bA as Ie,
|
|
|
28
28
|
justify-content: center;
|
|
29
29
|
align-items: center;
|
|
30
30
|
background-color: ${e=>e.theme.colors.grey4};
|
|
31
|
-
`,qe=
|
|
31
|
+
`,qe=r.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
34
|
-
`,Ke=(e,i,m,
|
|
34
|
+
`,Ke=(e,i,m,d,A)=>t.jsxs(Ne,{children:[t.jsx(Ge,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Ee,{googleAPIKey:d??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),Ne=r.div`
|
|
35
35
|
margin-top: ${s.sp3};
|
|
36
36
|
margin-bottom: ${s.sp4};
|
|
37
|
-
`,Ge=
|
|
37
|
+
`,Ge=r.div`
|
|
38
38
|
${e=>`${Re.title.style(e.windowSize)}`};
|
|
39
39
|
margin-bottom: ${s.sp3};
|
|
40
40
|
margin-top: ${s.sp4};
|
|
41
41
|
color: ${e=>e.isError===!0?ze.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
|
|
42
|
-
`,Je=
|
|
42
|
+
`,Je=r.div`
|
|
43
43
|
flex: 1;
|
|
44
44
|
`,U=e=>`${e}_form`;export{ct as default,U as uniqueName};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as b,cn as V,co as W,cp as M,k4 as q,aW as z,F as G}from"./index-
|
|
1
|
+
import{V as b,cn as V,co as W,cp as M,k4 as q,aW as z,F as G}from"./index-HEX4i15-.js";import{a as f}from"./sentry-DNw4E1cx.js";import{Gd as K}from"./zeni-epic-state-CKYsFVFb.js";import{u as Q}from"./ReviewOverlay-vmoQ2B3U-XNVWskNH.js";import"./liveblocks-Cb1r83bZ.js";import"./core-CXv949D6.js";import"./recharts-C7z-lQH-.js";import"./mui-ic6OiqS8.js";import"./lottie-ChpXBaXa.js";import"./analytics-Cvgud8Kt.js";import"./lexical-DVRjsGc3.js";import"./utils-BM6IYCHh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="cbacfaee-7792-41eb-a769-c4aed9c48396",e._sentryDebugIdIdentifier="sentry-dbid-cbacfaee-7792-41eb-a769-c4aed9c48396")}catch{}})();const{common:s,spendManagement:{billPay:x}}=G.getLocalizedStrings(),o=x.bulkActions;let I;const de=({billsReviewView:e,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:t,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:_}=e,u=i==="review",[C,y]=f.useState(!1),[n,v]=f.useState(P(e,u)),[p,k]=f.useState(u),[B,E]=f.useState(0),[w,j]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(u&&(I=setInterval(()=>{v(d=>d.map((S,O)=>(clearInterval(I),O===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),B===n.length&&p&&(k(!1),clearInterval(I)),!u&&e.fetchState==="Completed"&&v(P(e,!1)),()=>{clearInterval(I)}),[n.length,B,p,e.fetchState,u,e]);const R=n.length,h=n.filter(d=>d.reviewStatus.code!=="error").length,D=()=>{const{title:d,description:S}=Z(h);j({type:"reject",title:d,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,g,_),y(!0)},F={onOkClick:d=>{y(!1),r.trackBillPayBulkPopupConfirm(i,g,_,X(e)),l("reject",d)},onCancelClick:()=>{y(!1)}},{title:N,description:A}=H(m,h,R,p),T=e.fetchState==="Completed"&&h===0,$=()=>{r.trackBillPayBulkSubmit(i,g,_),l(i)},U={label:T?s.texts.close:i==="send_for_approval"?s.footer.submit:s.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:T?c:$,style:i==="send_for_approval"?{minWidth:"92px"}:{}},L={label:i==="send_for_approval"?s.texts.goBack:s.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:D,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[C?b.jsx(V,{titleComponent:b.jsx(M,{children:w.title}),descriptionComponent:b.jsx(W,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(Q,{title:N,description:{content:A,isError:e.fetchState==="Completed"&&h===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:L,hideCancel:T}})]})},P=(e,r)=>{const l=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:x.billDetails.newBillTitle,subTitle:`${x.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:z("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&K(t.reviewErrors[0].reviewErrorCode),subTitle:J(t.reviewStatus==="warning",t.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:t.reviewErrors!=null&&t.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:t.reviewErrors?.length===1&&t.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":t.reviewStatus??""}}))},X=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=q([...l,t.isRecurring?"recurring":"one-time"])}),l},Z=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=s.texts;return e>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},H=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:_,do_:u,does:C}=s.texts,y=r>1,n=l>1;let v="",p="";return e==="Completed"&&!t?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",n?x.bulkActions.bills:o.bill).replace("<_has_>",n?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",n?i:a).replace("<_do_>",n?u:C):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",y?g:_)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",n?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)),{title:v,description:p}},J=(e,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${s.strings.dividerDot} `);if(r.length===1)return e?r[0]+`${s.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{de as default,X as getBillsUniqueType};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as l,V as s,aN as b,o as e}from"./index-
|
|
1
|
+
import{q as l,V as s,aN as b,o as e}from"./index-HEX4i15-.js";import{n as a}from"./mui-ic6OiqS8.js";import{o as p}from"./commonDimensions-BIRY_wCD--kqEOvxT.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="e63c8a8e-17ad-4853-afc5-9fdccfa542b7",o._sentryDebugIdIdentifier="sentry-dbid-e63c8a8e-17ad-4853-afc5-9fdccfa542b7")}catch{}})();const m=(o,r)=>r===1?"roundedBox":o===0?"topRoundedBox":o===r-1?"bottomRoundedBox":"box";function g({content:o,boxType:r,isDisabled:d=!1,isNotClickable:t=!1}){const i=l();switch(r??"roundedBox"){case"topRoundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",r),children:o});case"bottomRoundedBox":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",r),children:o});case"box":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",r),children:o});case"roundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",r),children:o})}}const n=a.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
|
|
4
4
|
min-height: ${o=>p.transactionItemHeightResponsive.valuePx(o.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as ct,q as dt,aO as Te,V as i,ae as W,a9 as pt,cQ as ut,ay as mt,cC as ft,aW as Oe,aM as ve,g6 as yt,n as ht,bA as gt,aN as St,cD as xt,cn as wt,co as bt,cp as Ct,k as Dt,ac as Tt,aP as Ot,o as r,y as F,am as Pe,F as Ve,g7 as vt,fu as Ie,eV as It,a as kt,L as $t,al as Le,R as Nt,M as jt,c as k}from"./index-CT3_ffM0.js";import{a as P}from"./sentry-5B7WY2hn.js";import{n as d}from"./mui-H_uXhzKV.js";import{EN as Ft,bi as G}from"./zeni-epic-state-DRXPUrKj.js";import{n as Pt,z as Vt}from"./CompanyOfficerDetailsSection-CTO9aR2f-DJZvEbK-.js";import"./liveblocks-CCUBRXZT.js";import"./core-B6mfCzHj.js";import"./recharts-pSDHxu7-.js";import"./lottie-Dia5PUdF.js";import"./analytics-Bw4TcvMB.js";import"./lexical-DFbhYDAo.js";import"./utils-XWlT4ops.js";import"./LabeledAddressValueField-BOu3phtO-BRziDZTw.js";import"./LabeledCountryMultiSelectField-BfXHGTpW-Dm5nyQ4c.js";import"./LabeledCreatableSingleSelectField-xk2HC5O8-Bm2kFWAo.js";import"./LabeledDocumentField-D8RhxYIe-Bj-acypD.js";import"./LabeledMultiSelectField-BpLilatj-BH11dlTu.js";import"./commonTypes-Bq0C5-39-Bq_sc_Yc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},x=new e.Error().stack;x&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[x]="a28ca51b-448e-4ca2-a6c6-6586255e1827",e._sentryDebugIdIdentifier="sentry-dbid-a28ca51b-448e-4ca2-a6c6-6586255e1827")}catch{}})();const S={width:new F(343,580,726),titleWidth:new F(343,580,726,826),subTitlePaddingTop:new F(12,k[3]),subTitlePaddingBottom:new F(k[3],k[3]),verificationDetailsRowGap:new F(12,k[5],k[5]),termsPaddingLeftRight:new F(k[0],k[3])},Lt={stepTitle:new Nt("h6Regular","h5Regular")},ke="businessVerificationPage",D="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:a},common:{settings:At,currency:$e,footer:Ne,strings:{empty:_t}}}=Ve.getLocalizedStrings(),ba=({businessVerificationDetails:e,allNationalityCountries:x,verficationDetailsFetchState:$,isRefreshingViewInBackground:_,filesEndPoint:s,authParams:B,productType:y,allIndustries:V,companyTitles:E,maxInsuredAmount:u,isDisabled:N,isSettings:o=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:q=!1,transferDetails:z,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:_e,onBackClick:L,onGetOtp:Be,onVerifyOtp:Ee,onResendOtp:ze,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Me,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Ue,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:oe,onSaveDetailsClick:Ge,onClickMenuIcon:qe,onExecuteTreasuryTransfer:Qe})=>{const Xe=ct(),p=dt(),{updateStatus:R,companyView:A,companyDetailsLocalData:l,companyOfficerLocalData:b}=e,Je=Te(R.fetchState),M=A?.company.company.featuresActivationInfo.connectedAccountProvider,Ke=M==="unit"?i.jsxs(qt,{children:[a.terms.term1,i.jsx(W,{href:a.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.consent}),a.terms.term2,i.jsx(W,{href:a.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.depositTerms}),a.terms.term3,i.jsx(W,{href:a.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.privacy}),a.terms.term4,i.jsx(W,{href:a.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:a.terms.tos}),a.terms.term5]}):a.terms.termsForStripe,[Ye,Q]=P.useState(!1),[U,re]=P.useState("save"),[X,Ze]=P.useState(!1),m=pt({mode:"all",reValidateMode:"onChange",defaultValues:Bt(e,V,E,x)}),{isValid:He}=m.formState,J=A?.company.company.companyBillPayInfo,K=A?.company.company.companyTreasuryInfo,j=y==="zeni_treasury"?K?.companyVerificationStatus:J?.companyVerificationStatus,O=Object.values(b).findIndex(t=>t?.isSelectedForVerification===!0),v=`Officer_${O<0?1:O+1}`,et=()=>{const t=b[v],n=t?.email,c=t?.birthday?.toString(),f=t?.ownershipInCompany,C=t?.firstName,I=t?.lastName,pe=t?.titleAtCompany,ue=t?.documentTypeSelectedForVerification,me=t?.phone,fe=t?.addressStatus?.addressToCreate,ye=fe!=null?G(fe):void 0,he=l?.companyDescription,H=l?.companyLegalName,ge=l?.companyIndustry,Se=l?.phone,xe=l?.website,we=l?.addressStatus?.addressToCreate!=null?G(l?.addressStatus?.addressToCreate):void 0,ee=l?.primaryContactLocalData,be=ee?.firstName,Ce=ee?.lastName,De=ee?.email;n!=null&&f!=null&&C!=null&&I!=null&&c!=null&&pe!=null&&me!=null&&ye!=null&&ue!=null&&he!=null&&H!=null&&Se!=null&&xe!=null&&ge!=null&&H!=null&&we!=null&&be!=null&&Ce!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:I,companyRole:pe,phone:me,formattedAddress:ye,documentTypeForVerification:ue},{companyDescription:he,legalName:H,phone:Se,website:xe.toString(),industry:ge,formattedAddress:we},{firstName:be,lastName:Ce,email:De},y,o?"Settings":void 0)},tt=()=>{const t=b[v],n=l?.primaryContactLocalData,c=t?.email??"",f=!!t?.firstName&&!!t?.lastName,C=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!t?.firstName||!t?.lastName)&&m.trigger(`${T}.${O<0?0:O}.name`,{shouldFocus:!0}),!1):C&&!I?((!n?.firstName||!n?.lastName)&&m.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const t=b[v],n=l?.primaryContactLocalData,c=t?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&m.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(t?.firstName||t?.lastName||t?.birthday||t?.nationalityCountryCode||t?.ownershipInCompany||t?.phone||t?.ssn||t?.titleAtCompany||t?.addressStatus?.addressToCreate||t?.fileIds!=null&&t?.fileIds.length>0||Y!=null&&Y?.length>0)return m.trigger(`${T}.${O<0?0:O}.email`,{shouldFocus:!0}),!1;return!0},it=m.handleSubmit(()=>{if(U!=="verification"&&re("verification"),M==="unit"&&b[v]?.isPhoneVerified!==!0){m.setError(`${T}.${O}.phone`,{type:"custom"});return}const t=ut(Object.values(b).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);Ft(t.concat(n)).fetchState!=="In-Progress"&&He&&(et(),Re?.(v),q===!0&&Qe?.())}),st=async(t,n)=>{t.includes(D)?Me?.(n[D]):t.includes(T)&&We?.(n[T])},nt=P.useCallback(mt((t,n)=>{st(t,n)},300),[]);P.useEffect(()=>{const t=m.watch((n,{name:c})=>{c!=null&&n!=null&&ft(()=>nt(c,n))});return()=>{t.unsubscribe()}});const le=Te(e.companyDetailsLocalData?.addressStatus);P.useEffect(()=>{e.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&e.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(oe?.("company_registered_address",e.companyDetailsLocalData?.addressStatus?.addressToCreate),m.setValue(`${D}.registeredAddress`,e.companyDetailsLocalData?.addressStatus?.addressToCreate))},[e.companyDetailsLocalData?.addressStatus,e.companyDetailsLocalData?.registeredAddressStatus,le,oe,m]);const ce=A?.companyOfficers.slice(0,10).sort((t,n)=>t.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),Y=ce?.map(t=>t.user),ot=ce?.map(t=>t.role),rt={onOkClick:()=>{Q(!1),L();const t=[],n=A?.company.company.incInfo.fileIds??[];m.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||t.push(c)}),ot?.forEach((c,f)=>{const C=c?.fileIds??[];m.getValues(`${T}.${f}.fileIds`).forEach(I=>{C.includes(I)||t.push(I)})}),t.length!==0&&Ue?.(t)},onCancelClick:()=>{Q(!1)}},lt=Oe(ve(u),u,$e.currencySymbol).toUpperCase(),Z=j?.code==="pending_review"||j?.code==="verified",de=(z?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;return y==="zeni_treasury"&&j?.code==="pending_review"&&Je==="In-Progress"&&R.fetchState==="Completed"?i.jsxs(Ht,{children:[i.jsxs(ea,{children:[i.jsx(yt,{}),i.jsx(ta,{windowSize:p,children:q===!0?a.submittedTitleWithTransfer:a.submittedTitle}),i.jsx(Zt,{isReadonly:!1,children:q===!0?a.submittedDescriptionWithTransfer.replace("__amount__",Oe(ve(z?.treasuryTransferMoneyLocalData?.amount?.amount??0),z?.treasuryTransferMoneyLocalData?.amount?.amount??0,$e.currencySymbol)).replace("__account__",z?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):a.submittedDescription})]}),i.jsx(ht,{label:a.submittedButton,onClick:()=>{L(),te?.()},variant:"primary"})]}):i.jsxs(Et,{isSettings:o,children:[i.jsx(gt,{title:h&&w===!0?_t:a.header,backgroundColor:Xe.colors.grey5,style:{zIndex:X?1:4},onBackClick:()=>{xt(m.formState.dirtyFields)?Q(!0):L()},showBackButton:!o&&!h,showMenuIcon:o?p==="medium-compact"||p==="small":!1,onClickMenuIcon:qe,rightSideComponent:h?i.jsx(aa,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{L(),te?.()}}):null,source:"BusinessVerificationPage"}),Ye===!0?i.jsx(wt,{titleComponent:i.jsx(Ct,{children:a.discardTitle}),descriptionComponent:i.jsx(bt,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:rt}):null,i.jsxs(Mt,{windowSize:p,children:[(!h||w===!1)&&i.jsx(Rt,{windowSize:p,children:o?At.infoText.businessVerification:a.title}),$==="In-Progress"||$==="Not-Started"?i.jsx(Ut,{children:i.jsx(Dt,{size:"ExtraLarge",start:!0})}):i.jsx(Tt,{...m,children:i.jsxs("form",{id:je(ke),onSubmit:it,children:[h&&w===!0&&i.jsxs(zt,{children:[i.jsxs(Qt,{windowSize:p,children:[i.jsx(Xt,{windowSize:p,children:Z?a.businessVerificationDetails:de?a.verifyBusinessDetails:a.verifyBusinessDetailsWithoutTransfer}),!Z&&i.jsx(Jt,{children:i.jsxs(Kt,{children:[i.jsx(Fe,{}),de&&i.jsx(Fe,{}),i.jsx(Yt,{})]})})]}),i.jsx(Ae,{isReadonly:Z,children:a.verifyBusinessDetailsDescription})]}),i.jsxs(Wt,{children:[i.jsx(Pt,{companyOfficerData:b,allNationalityCountries:x,allOfficers:Y??[],sectionId:T,isRefreshingViewInBackground:_,connectedAccountProvider:M,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:N,filesEndPoint:s,authParams:B,isPopupOpen:X,openPopup:Ze,onGetOtp:Be,onVerifyOtp:Ee,onResendOtp:ze,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),i.jsx(Vt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:j,isRefreshingViewInBackground:_},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:D,isDisabled:j?.code==="pending_review"||j?.code==="verified"?"readonly":N,fileProps:{authParams:B,filesEndPoint:s,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:_e,connectedAccountProvider:M,allIndustries:V,allNationalityCountries:x})]}),y==="zeni_accounts"?i.jsx(Gt,{windowSize:p,children:a.threadText.replace("__amount__",lt)}):null]})})]}),$==="Completed"&&(y==="zeni_treasury"?K?.companyVerificationStatus?.code!=="pending_review"&&K?.companyVerificationStatus?.code!=="verified":J?.businessVerificationStatus?.code!=="pending_review"&&J?.businessVerificationStatus?.code!=="verified")?i.jsx(Ot,{formId:je(ke),primaryBtn:{label:w?Ne.submit:a.sendForVerificationButton,style:{width:"auto",minWidth:p==="small"?"auto":w?"83px":"181px"},isLoading:U==="verification"&&R.fetchState==="In-Progress",isDisabled:N!=null},containerStyle:{width:p==="small"?S.width.valuePx(p):"auto",justifyContent:p==="small"?"space-between":"center"},helperStyle:{width:p==="small"?S.width.valuePx(p):"auto",paddingLeft:S.termsPaddingLeftRight.valuePx(p),paddingRight:S.termsPaddingLeftRight.valuePx(p),textAlign:p==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?Ne.back:a.saveDetailsButton,style:{width:p==="small"?"auto":w?"83px":"181px"},isLoading:U==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)L();else{const t=b[v],n=l?.primaryContactLocalData;U!=="save"&&re("save");const c=t?.email??"",f=tt(),C=at();f&&C&&(g?.trackBusinessVerificationSave({email:c,birthday:t?.birthday?.toString(),companyOwnership:t?.ownershipInCompany,firstName:t?.firstName,lastName:t?.lastName,companyRole:t?.titleAtCompany,phone:t?.phone,formattedAddress:t?.addressStatus?.addressToCreate!=null?G(t?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:t?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?G(l?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,o?"Settings":void 0),Ge?.(v))}}},helperText:Ke,style:{padding:`12px ${r.sp3}`,zIndex:X?0:4}}):null]})},Bt=(e,x,$,_)=>{const{companyDetailsLocalData:s,companyOfficerLocalData:B,companyView:y}=e,V=Ve.getLocalizedStrings().companyPassport,E=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:s?.companyDescription??"",ein:s?.companyFiles.find(u=>u.documentType==="tax_ein"),companyId:s?.companyId??"",syncToken:s?.syncToken,companyLegalName:s?.companyLegalName??"",companyWebsite:s?.website?.toString()??"",companyAddress:s?.addressStatus?.addressToCreate,registeredAddress:s?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:s?.companyIndustry,allOptions:x?.map(u=>u.code)},companyPhone:s?.phone??"",companyTaxId:s?.taxIdOrEIN??"",primaryContactName:{firstName:s?.primaryContactLocalData?.firstName??"",lastName:s?.primaryContactLocalData?.lastName??""},primaryContactEmail:s?.primaryContactLocalData?.email??"",primaryContactUserId:s?.primaryContactLocalData?.userId,primaryContactSyncToken:s?.primaryContactLocalData?.syncToken,fileIds:s?.companyFiles.map(u=>u.fileId)??[],certificateOfIncorporation:s?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),incDate:s?.incDate?.toDate(),typeOfIncorporation:{selectedOption:s?.typeOfIncorporation,allOptions:V.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:s?.stateOfIncorporation,allOptions:V.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(a.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:s?.companySourceOfFunds??"",allOptions:Object.keys(a.companySourceOfFundOptions??{})},companySourceOfFundsDescription:s?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:s?.transactionVolume,allOptions:Object.keys(a.transactionVolumeOptions??{})},transactionVolumeDescription:s?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:s?.purposeOfAccount,allOptions:Object.keys(a.purposeOfAccountOptions??{})},purposeOfAccountDescription:s?.purposeOfAccountDescription??"",usNexus:s?.usNexus??"",usNexusTypes:{selectedOptions:(s?.usNexusTypes??[]).map(u=>a.usNexusOptions?.[u]??u),allOptions:Object.values(a.usNexusOptions??{})},regulatedStatus:s?.regulatedStatus??"",regulatedStatusDescription:s?.regulatedStatusDescription??""},[T]:Object.values(B).map((u,N)=>{const o=u,h=vt(o?.documentTypeSelectedForVerification);return{userId:o?.userId,officerType:o?.officerType??`Officer_${N+1}`,name:{firstName:o?.firstName,lastName:o?.lastName},email:o?.email,fileIds:o?.fileIds??[],dob:o?.birthday?.toDate(),nationalityCountryCode:It(o?.nationalityCountryCode,_.map(g=>g.countryCode)),ssn:o?.ssn,role:{selectedOption:o?.titleAtCompany,allOptions:$?.map(g=>g.code)},phone:o?.phone??"",ownership:o?.ownershipInCompany,officerAddress:o?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,o?.userFiles??[],h),back:Ie(!1,o?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!E&&N===0?!0:o?.isSelectedForVerification??!1,userVerificationStatus:o?.userVerificationStatus,treasuryUserVerificationStatus:o?.treasuryUserVerificationStatus,syncToken:o?.syncToken,isPhoneVerified:o?.isPhoneVerified,otpChallenge:o?.otpChallenge}})}},je=e=>`${e}_form`,Et=d.div`
|
|
1
|
+
import{d as ct,q as dt,aO as Te,V as i,ae as W,a9 as pt,cQ as ut,ay as mt,cC as ft,aW as Oe,aM as ve,g6 as yt,n as ht,bA as gt,aN as St,cD as xt,cn as bt,co as wt,cp as Ct,k as Dt,ac as Tt,aP as Ot,o as r,y as F,am as Pe,F as Ve,g7 as vt,fu as Ie,eV as It,a as kt,L as $t,al as Le,R as Nt,M as jt,c as k}from"./index-HEX4i15-.js";import{a as P}from"./sentry-DNw4E1cx.js";import{n as d}from"./mui-ic6OiqS8.js";import{EN as Ft,bi as G}from"./zeni-epic-state-CKYsFVFb.js";import{n as Pt,z as Vt}from"./CompanyOfficerDetailsSection-5DfSL2V8-ScLL5OT8.js";import"./liveblocks-Cb1r83bZ.js";import"./core-CXv949D6.js";import"./recharts-C7z-lQH-.js";import"./lottie-ChpXBaXa.js";import"./analytics-Cvgud8Kt.js";import"./lexical-DVRjsGc3.js";import"./utils-BM6IYCHh.js";import"./LabeledAddressValueField-k9TP-qlZ-BzpglZfd.js";import"./LabeledCountryMultiSelectField-CiWNHg9A-DFrwqamp.js";import"./LabeledCreatableSingleSelectField-DdVE_wVv-xntEGmYo.js";import"./LabeledDocumentField-DGnh1cGh-BCYe8_PA.js";import"./LabeledMultiSelectField-Bt5PGbgf-8xamnDnk.js";import"./commonTypes-DfehYs8A-BsLjL_9-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},x=new e.Error().stack;x&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[x]="a4abc54d-b375-4911-8f1f-68b190b6f23b",e._sentryDebugIdIdentifier="sentry-dbid-a4abc54d-b375-4911-8f1f-68b190b6f23b")}catch{}})();const S={width:new F(343,580,726),titleWidth:new F(343,580,726,826),subTitlePaddingTop:new F(12,k[3]),subTitlePaddingBottom:new F(k[3],k[3]),verificationDetailsRowGap:new F(12,k[5],k[5]),termsPaddingLeftRight:new F(k[0],k[3])},Lt={stepTitle:new Nt("h6Regular","h5Regular")},ke="businessVerificationPage",D="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:a},common:{settings:At,currency:$e,footer:Ne,strings:{empty:_t}}}=Ve.getLocalizedStrings(),wa=({businessVerificationDetails:e,allNationalityCountries:x,verficationDetailsFetchState:$,isRefreshingViewInBackground:_,filesEndPoint:s,authParams:B,productType:y,allIndustries:V,companyTitles:E,maxInsuredAmount:u,isDisabled:N,isSettings:o=!1,isOverlay:h=!1,analytics:g,isStepInProgress:b=!1,isTreasuryTransferInitiated:q=!1,transferDetails:z,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:_e,onBackClick:L,onGetOtp:Be,onVerifyOtp:Ee,onResendOtp:ze,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Me,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Ue,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:oe,onSaveDetailsClick:Ge,onClickMenuIcon:qe,onExecuteTreasuryTransfer:Qe})=>{const Xe=ct(),p=dt(),{updateStatus:R,companyView:A,companyDetailsLocalData:l,companyOfficerLocalData:w}=e,Je=Te(R.fetchState),M=A?.company.company.featuresActivationInfo.connectedAccountProvider,Ke=M==="unit"?i.jsxs(qt,{children:[a.terms.term1,i.jsx(W,{href:a.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.consent}),a.terms.term2,i.jsx(W,{href:a.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.depositTerms}),a.terms.term3,i.jsx(W,{href:a.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.privacy}),a.terms.term4,i.jsx(W,{href:a.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:a.terms.tos}),a.terms.term5]}):a.terms.termsForStripe,[Ye,Q]=P.useState(!1),[U,re]=P.useState("save"),[X,Ze]=P.useState(!1),m=pt({mode:"all",reValidateMode:"onChange",defaultValues:Bt(e,V,E,x)}),{isValid:He}=m.formState,J=A?.company.company.companyBillPayInfo,K=A?.company.company.companyTreasuryInfo,j=y==="zeni_treasury"?K?.companyVerificationStatus:J?.companyVerificationStatus,O=Object.values(w).findIndex(t=>t?.isSelectedForVerification===!0),v=`Officer_${O<0?1:O+1}`,et=()=>{const t=w[v],n=t?.email,c=t?.birthday?.toString(),f=t?.ownershipInCompany,C=t?.firstName,I=t?.lastName,pe=t?.titleAtCompany,ue=t?.documentTypeSelectedForVerification,me=t?.phone,fe=t?.addressStatus?.addressToCreate,ye=fe!=null?G(fe):void 0,he=l?.companyDescription,H=l?.companyLegalName,ge=l?.companyIndustry,Se=l?.phone,xe=l?.website,be=l?.addressStatus?.addressToCreate!=null?G(l?.addressStatus?.addressToCreate):void 0,ee=l?.primaryContactLocalData,we=ee?.firstName,Ce=ee?.lastName,De=ee?.email;n!=null&&f!=null&&C!=null&&I!=null&&c!=null&&pe!=null&&me!=null&&ye!=null&&ue!=null&&he!=null&&H!=null&&Se!=null&&xe!=null&&ge!=null&&H!=null&&be!=null&&we!=null&&Ce!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:I,companyRole:pe,phone:me,formattedAddress:ye,documentTypeForVerification:ue},{companyDescription:he,legalName:H,phone:Se,website:xe.toString(),industry:ge,formattedAddress:be},{firstName:we,lastName:Ce,email:De},y,o?"Settings":void 0)},tt=()=>{const t=w[v],n=l?.primaryContactLocalData,c=t?.email??"",f=!!t?.firstName&&!!t?.lastName,C=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!t?.firstName||!t?.lastName)&&m.trigger(`${T}.${O<0?0:O}.name`,{shouldFocus:!0}),!1):C&&!I?((!n?.firstName||!n?.lastName)&&m.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const t=w[v],n=l?.primaryContactLocalData,c=t?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&m.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(t?.firstName||t?.lastName||t?.birthday||t?.nationalityCountryCode||t?.ownershipInCompany||t?.phone||t?.ssn||t?.titleAtCompany||t?.addressStatus?.addressToCreate||t?.fileIds!=null&&t?.fileIds.length>0||Y!=null&&Y?.length>0)return m.trigger(`${T}.${O<0?0:O}.email`,{shouldFocus:!0}),!1;return!0},it=m.handleSubmit(()=>{if(U!=="verification"&&re("verification"),M==="unit"&&w[v]?.isPhoneVerified!==!0){m.setError(`${T}.${O}.phone`,{type:"custom"});return}const t=ut(Object.values(w).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);Ft(t.concat(n)).fetchState!=="In-Progress"&&He&&(et(),Re?.(v),q===!0&&Qe?.())}),st=async(t,n)=>{t.includes(D)?Me?.(n[D]):t.includes(T)&&We?.(n[T])},nt=P.useCallback(mt((t,n)=>{st(t,n)},300),[]);P.useEffect(()=>{const t=m.watch((n,{name:c})=>{c!=null&&n!=null&&ft(()=>nt(c,n))});return()=>{t.unsubscribe()}});const le=Te(e.companyDetailsLocalData?.addressStatus);P.useEffect(()=>{e.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&e.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(oe?.("company_registered_address",e.companyDetailsLocalData?.addressStatus?.addressToCreate),m.setValue(`${D}.registeredAddress`,e.companyDetailsLocalData?.addressStatus?.addressToCreate))},[e.companyDetailsLocalData?.addressStatus,e.companyDetailsLocalData?.registeredAddressStatus,le,oe,m]);const ce=A?.companyOfficers.slice(0,10).sort((t,n)=>t.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),Y=ce?.map(t=>t.user),ot=ce?.map(t=>t.role),rt={onOkClick:()=>{Q(!1),L();const t=[],n=A?.company.company.incInfo.fileIds??[];m.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||t.push(c)}),ot?.forEach((c,f)=>{const C=c?.fileIds??[];m.getValues(`${T}.${f}.fileIds`).forEach(I=>{C.includes(I)||t.push(I)})}),t.length!==0&&Ue?.(t)},onCancelClick:()=>{Q(!1)}},lt=Oe(ve(u),u,$e.currencySymbol).toUpperCase(),Z=j?.code==="pending_review"||j?.code==="verified",de=(z?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;return y==="zeni_treasury"&&j?.code==="pending_review"&&Je==="In-Progress"&&R.fetchState==="Completed"?i.jsxs(Ht,{children:[i.jsxs(ea,{children:[i.jsx(yt,{}),i.jsx(ta,{windowSize:p,children:q===!0?a.submittedTitleWithTransfer:a.submittedTitle}),i.jsx(Zt,{isReadonly:!1,children:q===!0?a.submittedDescriptionWithTransfer.replace("__amount__",Oe(ve(z?.treasuryTransferMoneyLocalData?.amount?.amount??0),z?.treasuryTransferMoneyLocalData?.amount?.amount??0,$e.currencySymbol)).replace("__account__",z?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):a.submittedDescription})]}),i.jsx(ht,{label:a.submittedButton,onClick:()=>{L(),te?.()},variant:"primary"})]}):i.jsxs(Et,{isSettings:o,children:[i.jsx(gt,{title:h&&b===!0?_t:a.header,backgroundColor:Xe.colors.grey5,style:{zIndex:X?1:4},onBackClick:()=>{xt(m.formState.dirtyFields)?Q(!0):L()},showBackButton:!o&&!h,showMenuIcon:o?p==="medium-compact"||p==="small":!1,onClickMenuIcon:qe,rightSideComponent:h?i.jsx(aa,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{L(),te?.()}}):null,source:"BusinessVerificationPage"}),Ye===!0?i.jsx(bt,{titleComponent:i.jsx(Ct,{children:a.discardTitle}),descriptionComponent:i.jsx(wt,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:rt}):null,i.jsxs(Mt,{windowSize:p,children:[(!h||b===!1)&&i.jsx(Rt,{windowSize:p,children:o?At.infoText.businessVerification:a.title}),$==="In-Progress"||$==="Not-Started"?i.jsx(Ut,{children:i.jsx(Dt,{size:"ExtraLarge",start:!0})}):i.jsx(Tt,{...m,children:i.jsxs("form",{id:je(ke),onSubmit:it,children:[h&&b===!0&&i.jsxs(zt,{children:[i.jsxs(Qt,{windowSize:p,children:[i.jsx(Xt,{windowSize:p,children:Z?a.businessVerificationDetails:de?a.verifyBusinessDetails:a.verifyBusinessDetailsWithoutTransfer}),!Z&&i.jsx(Jt,{children:i.jsxs(Kt,{children:[i.jsx(Fe,{}),de&&i.jsx(Fe,{}),i.jsx(Yt,{})]})})]}),i.jsx(Ae,{isReadonly:Z,children:a.verifyBusinessDetailsDescription})]}),i.jsxs(Wt,{children:[i.jsx(Pt,{companyOfficerData:w,allNationalityCountries:x,allOfficers:Y??[],sectionId:T,isRefreshingViewInBackground:_,connectedAccountProvider:M,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:N,filesEndPoint:s,authParams:B,isPopupOpen:X,openPopup:Ze,onGetOtp:Be,onVerifyOtp:Ee,onResendOtp:ze,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),i.jsx(Vt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:j,isRefreshingViewInBackground:_},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:D,isDisabled:j?.code==="pending_review"||j?.code==="verified"?"readonly":N,fileProps:{authParams:B,filesEndPoint:s,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:_e,connectedAccountProvider:M,allIndustries:V,allNationalityCountries:x})]}),y==="zeni_accounts"?i.jsx(Gt,{windowSize:p,children:a.threadText.replace("__amount__",lt)}):null]})})]}),$==="Completed"&&(y==="zeni_treasury"?K?.companyVerificationStatus?.code!=="pending_review"&&K?.companyVerificationStatus?.code!=="verified":J?.businessVerificationStatus?.code!=="pending_review"&&J?.businessVerificationStatus?.code!=="verified")?i.jsx(Ot,{formId:je(ke),primaryBtn:{label:b?Ne.submit:a.sendForVerificationButton,style:{width:"auto",minWidth:p==="small"?"auto":b?"83px":"181px"},isLoading:U==="verification"&&R.fetchState==="In-Progress",isDisabled:N!=null},containerStyle:{width:p==="small"?S.width.valuePx(p):"auto",justifyContent:p==="small"?"space-between":"center"},helperStyle:{width:p==="small"?S.width.valuePx(p):"auto",paddingLeft:S.termsPaddingLeftRight.valuePx(p),paddingRight:S.termsPaddingLeftRight.valuePx(p),textAlign:p==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:b?Ne.back:a.saveDetailsButton,style:{width:p==="small"?"auto":b?"83px":"181px"},isLoading:U==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(b)L();else{const t=w[v],n=l?.primaryContactLocalData;U!=="save"&&re("save");const c=t?.email??"",f=tt(),C=at();f&&C&&(g?.trackBusinessVerificationSave({email:c,birthday:t?.birthday?.toString(),companyOwnership:t?.ownershipInCompany,firstName:t?.firstName,lastName:t?.lastName,companyRole:t?.titleAtCompany,phone:t?.phone,formattedAddress:t?.addressStatus?.addressToCreate!=null?G(t?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:t?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?G(l?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,o?"Settings":void 0),Ge?.(v))}}},helperText:Ke,style:{padding:`12px ${r.sp3}`,zIndex:X?0:4}}):null]})},Bt=(e,x,$,_)=>{const{companyDetailsLocalData:s,companyOfficerLocalData:B,companyView:y}=e,V=Ve.getLocalizedStrings().companyPassport,E=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:s?.companyDescription??"",ein:s?.companyFiles.find(u=>u.documentType==="tax_ein"),companyId:s?.companyId??"",syncToken:s?.syncToken,companyLegalName:s?.companyLegalName??"",companyWebsite:s?.website?.toString()??"",companyAddress:s?.addressStatus?.addressToCreate,registeredAddress:s?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:s?.companyIndustry,allOptions:x?.map(u=>u.code)},companyPhone:s?.phone??"",companyTaxId:s?.taxIdOrEIN??"",primaryContactName:{firstName:s?.primaryContactLocalData?.firstName??"",lastName:s?.primaryContactLocalData?.lastName??""},primaryContactEmail:s?.primaryContactLocalData?.email??"",primaryContactUserId:s?.primaryContactLocalData?.userId,primaryContactSyncToken:s?.primaryContactLocalData?.syncToken,fileIds:s?.companyFiles.map(u=>u.fileId)??[],certificateOfIncorporation:s?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),incDate:s?.incDate?.toDate(),typeOfIncorporation:{selectedOption:s?.typeOfIncorporation,allOptions:V.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:s?.stateOfIncorporation,allOptions:V.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(a.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:s?.companySourceOfFunds??"",allOptions:Object.keys(a.companySourceOfFundOptions??{})},companySourceOfFundsDescription:s?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:s?.transactionVolume,allOptions:Object.keys(a.transactionVolumeOptions??{})},transactionVolumeDescription:s?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:s?.purposeOfAccount,allOptions:Object.keys(a.purposeOfAccountOptions??{})},purposeOfAccountDescription:s?.purposeOfAccountDescription??"",usNexus:s?.usNexus??"",usNexusTypes:{selectedOptions:(s?.usNexusTypes??[]).map(u=>a.usNexusOptions?.[u]??u),allOptions:Object.values(a.usNexusOptions??{})},regulatedStatus:s?.regulatedStatus??"",regulatedStatusDescription:s?.regulatedStatusDescription??""},[T]:Object.values(B).map((u,N)=>{const o=u,h=vt(o?.documentTypeSelectedForVerification);return{userId:o?.userId,officerType:o?.officerType??`Officer_${N+1}`,name:{firstName:o?.firstName,lastName:o?.lastName},email:o?.email,fileIds:o?.fileIds??[],dob:o?.birthday?.toDate(),nationalityCountryCode:It(o?.nationalityCountryCode,_.map(g=>g.countryCode)),ssn:o?.ssn,role:{selectedOption:o?.titleAtCompany,allOptions:$?.map(g=>g.code)},phone:o?.phone??"",ownership:o?.ownershipInCompany,officerAddress:o?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,o?.userFiles??[],h),back:Ie(!1,o?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!E&&N===0?!0:o?.isSelectedForVerification??!1,userVerificationStatus:o?.userVerificationStatus,treasuryUserVerificationStatus:o?.treasuryUserVerificationStatus,syncToken:o?.syncToken,isPhoneVerified:o?.isPhoneVerified,otpChallenge:o?.otpChallenge}})}},je=e=>`${e}_form`,Et=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -135,4 +135,4 @@ import{d as ct,q as dt,aO as Te,V as i,ae as W,a9 as pt,cQ as ut,ay as mt,cC as
|
|
|
135
135
|
&:hover {
|
|
136
136
|
color: ${e=>e.theme.colors.primary};
|
|
137
137
|
}
|
|
138
|
-
`;export{
|
|
138
|
+
`;export{wa as default,je as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as m,V as a,F as y,b as w,o as t,R as b,M as x}from"./index-
|
|
1
|
+
import{q as m,V as a,F as y,b as w,o as t,R as b,M as x}from"./index-HEX4i15-.js";import{n as o}from"./mui-ic6OiqS8.js";import{a as c}from"./sentry-DNw4E1cx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="9ffdd945-bf34-4731-8418-21e1d35f98d1",e._sentryDebugIdIdentifier="sentry-dbid-9ffdd945-bf34-4731-8418-21e1d35f98d1")}catch{}})();const $=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:p,spendManagement:{chargeCard:r}}=y.getLocalizedStrings(),C={subText:new b("extraSmallRegular","standardRegular")},R=({cardDetail:e,forDetailPage:s,styles:l})=>{const f=m(),g=e.type.code.includes("credit")?r.chargeCardsPromo.credit:r.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?r.cardList.physicalCard:r.cardList.virtualCard;const i=p.strings.space+r.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,h=e.status.code==="request_on_hold"||!s?d:i,n=e.type.code.includes("physical");return a.jsxs(v,{style:l,windowSize:f,forDetailPage:s,className:"cardName",title:`${h}`,children:[g,a.jsx(H,{}),d,n&&!s?a.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,n&&s?a.jsx(u,{}):null]})},v=o(x)`
|
|
2
2
|
${e=>e.forDetailPage?{...w.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
|
|
3
3
|
color: ${e=>e.theme.colors.hero};
|
|
4
4
|
max-width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as j,q as b,V as t,bA as te,fd as z,b as u,b2 as N,bZ as ie,o as i,F as w,p as B,y as h,al as v,dd as oe,c as l,aW as re,aL as T,bP as ae,ah as $,aN as L,jf as X,jg as Z,iW as se,cw as ne,cz as de,am as O,iX as le,iY as ce}from"./index-
|
|
1
|
+
import{d as j,q as b,V as t,bA as te,fd as z,b as u,b2 as N,bZ as ie,o as i,F as w,p as B,y as h,al as v,dd as oe,c as l,aW as re,aL as T,bP as ae,ah as $,aN as L,jf as X,jg as Z,iW as se,cw as ne,cz as de,am as O,iX as le,iY as ce}from"./index-HEX4i15-.js";import{n as o}from"./mui-ic6OiqS8.js";import{G4 as f,bh as he}from"./zeni-epic-state-CKYsFVFb.js";import{S as R,a as V}from"./sentry-DNw4E1cx.js";import{q as pe}from"./InsightsSection-Bu-MplmN-Dorr_z_6.js";import{H as ge,I as me,X as xe,Y as we,J as ue,K as ye,V as be}from"./recharts-C7z-lQH-.js";import"./liveblocks-Cb1r83bZ.js";import"./core-CXv949D6.js";import"./lottie-ChpXBaXa.js";import"./analytics-Cvgud8Kt.js";import"./lexical-DVRjsGc3.js";import"./utils-BM6IYCHh.js";import"./NavigationDots-Dp0jKWtv-wJZlAbQ6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="e389c74e-1209-4be0-b488-d50bcd860e7c",e._sentryDebugIdIdentifier="sentry-dbid-e389c74e-1209-4be0-b488-d50bcd860e7c")}catch{}})();const fe=({x:e,y:a,width:n,height:s,payload:r})=>{const c=j();return t.jsx(be,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:a,width:n,height:s})},W=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,$e=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,ve=({active:e,payload:a,label:n})=>e===!0&&(a?.[0].payload).showTooltip===!0?t.jsx(ke,{children:t.jsx(je,{children:t.jsxs("div",{children:[t.jsxs(E,{children:[t.jsx(q,{children:W.month})," ",t.jsx(G,{children:f(n).format($e)})]}),t.jsxs(E,{children:[t.jsx(q,{children:W.cashback}),t.jsx(G,{children:T("0,0.[00]",{amount:a?.[0].value??0,currencyCode:(a?.[0].payload).currencyCode,currencySymbol:(a?.[0].payload).currencySymbol})})]})]})})}):null,E=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${i.sp1};
|
|
4
4
|
`,ke=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as tt,q as Ie,aw as It,a8 as Lt,gW as wr,hz as ki,aT as Qe,gX as xr,aO as et,V as t,g_ as ji,bA as Ii,c as l,fR as br,aL as Ge,aN as X,o as a,bR as Qt,p as d,F as ke,j0 as Sr,b as _,cn as Li,j1 as Di,f7 as Ai,gM as Ti,j2 as Ei,bD as Fi,bM as yr,aR as ea,j3 as Ri,j4 as $r,j5 as ot,y as T,bI as vr,b9 as ta,g as zi,aS as kr,a_ as Pi,j6 as Mi,j7 as Vi,b6 as aa,ah as ge,ez as Oi,iQ as Hi,u as gt,gZ as jr,cb as Ni,k as mt,b2 as Bi,di as Wi,cr as _i,co as Ui,d1 as Zi,hw as Gi,al as Oe,bT as qi,aX as Wt,j8 as Ra,j9 as Yi,R as za,M as Ir,b8 as Xi,ja as Ji,iK as pt,iV as Ki,i_ as Qi,i$ as eo,dq as Pa,eR as to,n as Lr,cw as Dr,iT as ao,bW as ro,l as Ar,jb as io,av as vt,bZ as Ma,bw as oo,da as no,am as st,gV as so,aq as co,L as lo,bE as ho,jc as Dt,fk as po,jd as Tr,gw as Er,je as jt,ib as Fr,bP as uo,ec as Rr,iW as mo,cz as go,dL as Co,cX as fo,iX as wo,iY as xo,ei as bo,ce as So,cf as yo}from"./index-
|
|
1
|
+
import{d as tt,q as Ie,aw as It,a8 as Lt,gW as wr,hz as ki,aT as Qe,gX as xr,aO as et,V as t,g_ as ji,bA as Ii,c as l,fR as br,aL as Ge,aN as X,o as a,bR as Qt,p as d,F as ke,j0 as Sr,b as _,cn as Li,j1 as Di,f7 as Ai,gM as Ti,j2 as Ei,bD as Fi,bM as yr,aR as ea,j3 as Ri,j4 as $r,j5 as ot,y as T,bI as vr,b9 as ta,g as zi,aS as kr,a_ as Pi,j6 as Mi,j7 as Vi,b6 as aa,ah as ge,ez as Oi,iQ as Hi,u as gt,gZ as jr,cb as Ni,k as mt,b2 as Bi,di as Wi,cr as _i,co as Ui,d1 as Zi,hw as Gi,al as Oe,bT as qi,aX as Wt,j8 as Ra,j9 as Yi,R as za,M as Ir,b8 as Xi,ja as Ji,iK as pt,iV as Ki,i_ as Qi,i$ as eo,dq as Pa,eR as to,n as Lr,cw as Dr,iT as ao,bW as ro,l as Ar,jb as io,av as vt,bZ as Ma,bw as oo,da as no,am as st,gV as so,aq as co,L as lo,bE as ho,jc as Dt,fk as po,jd as Tr,gw as Er,je as jt,ib as Fr,bP as uo,ec as Rr,iW as mo,cz as go,dL as Co,cX as fo,iX as wo,iY as xo,ei as bo,ce as So,cf as yo}from"./index-HEX4i15-.js";import{a as o,S as $o}from"./sentry-DNw4E1cx.js";import{n as r,c as we,k as zr}from"./mui-ic6OiqS8.js";import{EL as At,bh as vo,bf as ko,G3 as jo}from"./zeni-epic-state-CKYsFVFb.js";import{k as Io}from"./NavigationDots-Dp0jKWtv-wJZlAbQ6.js";import{A as Lo,i as Do,a as Ao,l as To,r as Eo,t as Fo,n as Ro}from"./add-to-wallet-DgdBD8_G-B95D_4Mz.js";import{L as _t}from"./lottie-ChpXBaXa.js";import{j as zo}from"./CardNumberSubText-DqtkAe0V-CnWXJt_4.js";import{r as Pr}from"./core-CXv949D6.js";import{l as Mr}from"./uploadReceipts-CPw64UYa-BWHPlnz7.js";import{L as Po,z as Mo,k as Vo,P as Oo}from"./LockCardPage-FMI6xt1u-BqXJz86i.js";import"./liveblocks-Cb1r83bZ.js";import"./recharts-C7z-lQH-.js";import"./analytics-Cvgud8Kt.js";import"./lexical-DVRjsGc3.js";import"./utils-BM6IYCHh.js";import"./RoleWithToolTip-CEcusyL7-YmpTx_Di.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="5dccfa64-b925-4acb-ba71-98a4e2293343",e._sentryDebugIdIdentifier="sentry-dbid-5dccfa64-b925-4acb-ba71-98a4e2293343")}catch{}})();const Vr=ke.getLocalizedStrings().spendManagement.chargeCard,Ho=({controllerEmails:e,classListFetchState:i,isChargeCardFeatureEnabled:s,isDebitCardFeatureEnabled:u,isDebitCardSetupEnabled:h,isChargeCardSetupEnabled:f,chargeCardDetailView:c,productInformation:g,creditAccountInformation:m,debitAccountInformation:x,creditAccount:b,creditAccountRepayment:n,cardIssuedByRoles:C,cardIssuedByDepartmentName:w,cardHolderRoles:j,cardHolderDepartmentName:y,appleWalletLink:k,googleWalletLink:L,style:p,showDrawerAnimation:E,setWalletType:S,setIsAddToWalletDrawerOpen:O,isDebitCard:H})=>{const v=Lt().analytics,{isIPadScreen:q}=Mi(),{isAndroidScreen:J}=Vi(),U=It(),D=At(U.loggedInUserRoleMap);return t.jsx(No,{style:p,children:q===!0?t.jsx(Kt,{onClick:()=>{ot({chargeCardDetailView:c,classListFetchState:i,analytics:v,isDebitCard:H,isChargeCardAdmin:D,cardIssuedByRoles:C,cardIssuedByDepartmentName:w,cardHolderRoles:j,cardHolderDepartmentName:y,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",productInformation:g,creditAccountInformation:m,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:b,creditAccountRepayment:n}),window.open(k,"_blank")}}):J===!0?t.jsx(Jt,{onClick:()=>{ot({chargeCardDetailView:c,classListFetchState:i,analytics:v,isDebitCard:H,isChargeCardAdmin:D,cardIssuedByRoles:C,cardIssuedByDepartmentName:w,cardHolderRoles:j,cardHolderDepartmentName:y,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",productInformation:g,creditAccountInformation:m,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:b,creditAccountRepayment:n}),window.open(L,"_blank")}}):t.jsxs(t.Fragment,{children:[t.jsx(Kt,{onClick:()=>{S("apple"),E.current="slide-in-right-to-left-add-to-wallet",ot({chargeCardDetailView:c,classListFetchState:i,analytics:v,isDebitCard:H,isChargeCardAdmin:D,cardIssuedByRoles:C,cardIssuedByDepartmentName:w,cardHolderRoles:j,cardHolderDepartmentName:y,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:s,productInformation:g,creditAccountInformation:m,debitAccountInformation:x,creditAccount:b,creditAccountRepayment:n}),O(!0)}}),t.jsx(Jt,{onClick:()=>{S("google"),E.current="slide-in-right-to-left-add-to-wallet",ot({chargeCardDetailView:c,classListFetchState:i,analytics:v,isDebitCard:H,isChargeCardAdmin:D,cardIssuedByRoles:C,cardIssuedByDepartmentName:w,cardHolderRoles:j,cardHolderDepartmentName:y,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:s,productInformation:g,creditAccountInformation:m,debitAccountInformation:x,creditAccount:b,creditAccountRepayment:n}),O(!0)}})]})})},Jt=({onClick:e})=>{const i=tt();return t.jsx(Lr,{prefixIcon:t.jsx(Bo,{}),label:Vr.cardDetails.addToGoogleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":X("add-to-google-wallet-button")})},Kt=({onClick:e})=>{const i=tt();return t.jsx(Lr,{prefixIcon:t.jsx(Wo,{}),label:Vr.cardDetails.addToAppleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":X("add-to-apple-wallet-button")})},No=r.div`
|
|
2
2
|
margin-top: ${a.sp4};
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as Za,aO as z,aw as er,fQ as tr,iK as W,q as Ee,o as a,d as ta,V as t,bA as ar,g2 as rr,fd as ie,b as D,bR as nt,p,aL as me,aN as V,aW as st,F as Fe,y as H,ah as q,R as ir,M as or,cU as nr,at as aa,bI as sr,a_ as ct,aR as dr,am as lt,a9 as cr,gP as lr,eo as ur,ao as hr,ac as mr,g8 as pr,n as Nt,c as _,d3 as ra,aq as Cr,al as gr,a as br,cT as fr,bu as xr,bT as yr}from"./index-
|
|
1
|
+
import{a8 as Za,aO as z,aw as er,fQ as tr,iK as W,q as Ee,o as a,d as ta,V as t,bA as ar,g2 as rr,fd as ie,b as D,bR as nt,p,aL as me,aN as V,aW as st,F as Fe,y as H,ah as q,R as ir,M as or,cU as nr,at as aa,bI as sr,a_ as ct,aR as dr,am as lt,a9 as cr,gP as lr,eo as ur,ao as hr,ac as mr,g8 as pr,n as Nt,c as _,d3 as ra,aq as Cr,al as gr,a as br,cT as fr,bu as xr,bT as yr}from"./index-HEX4i15-.js";import{a as l}from"./sentry-DNw4E1cx.js";import{n as r,c as ut,k as Sr}from"./mui-ic6OiqS8.js";import{EL as wr,G2 as kr,bh as zt,bL as $r,bP as Ir}from"./zeni-epic-state-CKYsFVFb.js";import{t as vr}from"./SpendManagementSection-DKMG4ReN-CZlClCbP.js";import{D as oe,l as jr,r as Lr}from"./ChargeCardListTable-Cu1sCT_g-BGpTFZxZ.js";import{ChargeCardPromoUserContent as Ar}from"./ChargeCardPromoPage-DsrTt5B0-CxLK8tnF.js";import{N as Pr,J as Er}from"./PromoBaseCards-ZTN2uS4W-CaNYBpDe.js";import{z as Ot,L as _t,k as Fr,P as Tr}from"./LockCardPage-FMI6xt1u-BqXJz86i.js";import{r as Mr,i as Dr}from"./graphic-no-data-net-burn-l-CzmycA0m-D2SwohD-.js";import{t as Rr,o as Br}from"./arrow-south-east-round-PEovUgvH-D4yBr92E.js";import"./liveblocks-Cb1r83bZ.js";import"./core-CXv949D6.js";import"./recharts-C7z-lQH-.js";import"./lottie-ChpXBaXa.js";import"./analytics-Cvgud8Kt.js";import"./lexical-DVRjsGc3.js";import"./utils-BM6IYCHh.js";import"./Menu-XT10vy6U-BOoUbuzb.js";import"./RoleWithToolTip-CEcusyL7-YmpTx_Di.js";import"./CardNumberSubText-DqtkAe0V-CnWXJt_4.js";import"./NavigationDots-Dp0jKWtv-wJZlAbQ6.js";import"./usp-line-BBd1wKwW-BHEAhb94.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="e7cf0f2a-aa48-498a-b59d-8a09769e8cab",e._sentryDebugIdIdentifier="sentry-dbid-e7cf0f2a-aa48-498a-b59d-8a09769e8cab")}catch{}})();const ht={infoSubheadingTextMarginTop:new H(_[0],_[0]),cardsMinWidth:new H(343,353)},Pe=Fe.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,Ut=({cardPromoType:e,cardText:c,header:u,title:d,subTitle:n,slidingTextList:m,onClick:F,status:$,statusMessage:U})=>{const B=Ee(),A=$!==void 0,G=$==="rejected"?Pe.status.requestRejected:$==="under_review"?Pe.status.requestUnderReview:"";return t.jsxs(zr,{windowSize:B,cardPromoType:e,"data-testid":V("list-page-promo-card",e),onClick:()=>F(e),children:[t.jsxs(ia,{isStatusMode:A,children:[t.jsxs(na,{children:[A?t.jsx(Ur,{children:G}):t.jsx(oa,{children:u}),t.jsx(Wr,{children:d}),A?null:t.jsx(Jr,{children:n})]}),!A&&t.jsxs(qr,{children:[t.jsx(Kr,{}),m.length>0&&t.jsx(dt,{slideUpCount:m.length,children:m.map((ne,se)=>t.jsx(sa,{children:ne},`card-promo-${se.toString()}`))}),t.jsx(Yr,{})]}),U!=null&&A?t.jsx(Vr,{status:$,children:U}):null]}),t.jsx(Xr,{isStatusMode:A,children:t.jsx(Pr,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(Qr,{isStatusMode:A,children:t.jsx(Er,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})})]})},Vt=({cardType:e,header:c,title:u,creditLimit:d,onCreateNowClick:n})=>{const m=Ee();return t.jsx(Or,{windowSize:m,cardType:e,children:t.jsxs(_r,{children:[t.jsxs(na,{children:[t.jsx(oa,{children:c}),t.jsx(Gr,{children:t.jsx(Hr,{children:u})}),t.jsx(Zr,{windowSize:m,children:t.jsxs(ei,{windowSize:m,onClick:()=>n(e),"data-testid":V("total-cashback-info"),children:[t.jsx(sa,{children:Pe.createNow}),t.jsx(ti,{})]})})]}),e==="creditCard"?t.jsxs(ai,{children:[t.jsx(ri,{children:Pe.creditLimit}),t.jsx(ii,{children:d})]}):null]})})},Nr=e=>{const c=e-1;let u=`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateY(0);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as ze,gW as hi,iL as pi,iM as ui,iN as mi,aP as gi,o as i,aN as X,ck as xi,b as Be,p as I,b2 as wi,cr as Ci,iO as fi,iP as yi,bR as ye,bM as Si,aR as ki,y as C,ez as vi,b9 as $i,iQ as ji,aS as bi,u as Ii,ah as ee,gZ as Li,am as G,al as Z,c as p,cP as zi,ex as Ai,iR as Fi,iS as Pi,R as ft,bW as yt,iT as St,iU as Ri,bP as Bi,cw as Ge,iV as kt,dq as Di,dr as q,aL as ce,ct as vt,k as $t,iW as _i,cz as Ei,iD as Ze,bI as jt,bK as bt,iX as Ti,iY as Vi,aT as $e,bs as Oi,bX as Ui,bY as Ni,iZ as Mi}from"./index-CT3_ffM0.js";import{S as pe,a as f}from"./sentry-5B7WY2hn.js";import{n as o,c as Je}from"./mui-H_uXhzKV.js";import{P as Ve}from"./Menu-BumlrBWb-DAaXXUqk.js";import{T as It}from"./RoleWithToolTip-CeOpT_6v-T4qsdQYp.js";import{j as Oe}from"./CardNumberSubText-BgxVtjBP-B3Yoo3Lg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="68402741-8e60-4dea-8619-977591525f43",e._sentryDebugIdIdentifier="sentry-dbid-68402741-8e60-4dea-8619-977591525f43")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Qe={key:"owner",value:ge.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Ye={key:"cardName",value:ge.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},et={key:"cardType",value:ge.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},tt={key:"status",value:ge.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},it={key:"utilisation",value:ge.utilisation,sortOrder:"ascending",width:new C(p[11],p[11],p[11],p[12],120)},ot={key:"limit",value:ge.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Lt=e=>e===!0?[{...Qe,width:new C(0,0),value:Wi},Ye,et,tt,it,ot]:[Qe,Ye,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:$}}=le.getLocalizedStrings(),re={containerPaddingLeft:new C(p[3],p[2]),containerPaddingRight:new C(p[2],p[3]),containerPaddingTop:new C(p[2],p[3]),containerPaddingBottom:new C(p[2],p[3]),containerMarginLeft:new C(p[4],p[0]),containerMarginRight:new C(p[4],p[0]),webkitLineClamp:new C(2,1,1,1,1)};var Ki=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Ki||{});const qi={moreItemFont:new ft("extraSmallRegular","smallRegular")},Xi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:a,isCardControlsEnabled:n,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardRowClick:j,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,R]=f.useState(!1);f.useEffect(()=>{h||R(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),R(!1))},[l.length,h]);const B=r.cardId===a.id,D=l.includes(a.id),z=B&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=B&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=z||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{j(a.id,S)},[a.id]),V=kt(a)/a.limit.amount*100,W=a?.cardHolderUserId===w.userId,F=a.status.code!=="closed"&&a.status.code!=="closed_by_customer",O=Di(a.cardHolderUser,!1),H=a.balance,A=Lt(E),te=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:u,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(uo,{title:ce("0,0.[00]",H),className:"amountToUtilize",children:ce("0,0.[00]",H)})}),V!==0?t.jsx(q,{isLoading:u,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(mo,{className:"amountToUtilize",children:`${Math.round(V)}${Hi}`})}):null]}),J=a.type.code,_=$.cardList.tooltip[J],de=_!=null?W?_.self:`${O} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Zi,{windowSize:v,children:t.jsx(Ji,{onClick:M,"data-testid":X("card-row",a.id),children:t.jsxs(Yi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:A[0].width,children:[t.jsx(q,{isLoading:u,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(vt,{personBasic:a.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(io,{isLoading:u,children:[t.jsx(to,{isLoading:u,children:t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(oo,{windowSize:v,title:O,className:"cardHolderName",children:O===Ce.strings.empty?Ce.strings.hyphen:O})})}),t.jsx(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(nt,{className:"additionalInfoContainer",children:a.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:a.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(no,{isLoading:u,windowSize:v,responsiveWidth:A[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:a.cardName,className:"cardName",children:a.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:a.status.code==="request_on_hold"?Ce.strings.hyphen:$.cardDetails.expiryHideOut+Ce.strings.space+a.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:A[2].width,children:t.jsx(ho,{className:"card-type",children:t.jsx(q,{isLoading:u,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Oe,{cardDetail:a,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:A[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===a.id?t.jsx($t,{size:"Small",start:!0}):t.jsxs(po,{children:[t.jsx(wo,{children:a.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:de,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:a.status.code,style:{cursor:"pointer"}}),t.jsx(go,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:a.status.code})}),a.status.code==="request_on_hold"&&!W?t.jsx(xo,{onClick:K=>{K.stopPropagation(),k(a.id)},"data-testid":X("send-reminder",a.id),children:$.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:A[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:A[5].width,children:[t.jsxs(ro,{windowSize:v,isLoading:u,children:[t.jsx(q,{isLoading:u,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(ao,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",a.limit),children:ce("0,0.[00]",a.limit)})}),t.jsx(nt,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:a.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&F&&R(!0)},onMouseLeave:()=>{F&&R(!1)},children:(()=>{const K=a.status.code==="locked",oe=a.status.code==="closed"||a.status.code==="closed_by_customer",xe=E?n&&!u&&!oe&&!(K&&a.isLockedByAdmin):n?!u&&F:a.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:$.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Ve,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Ae=>{b||m(Ae)},isMenuOpen:h&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},zt=({cardDetail:e,isCardControlsEnabled:s,isChargeCardUser:r,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const a=ie();return s?e.status.code==="request_on_hold"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Qi,{}),t.jsx(fe,{children:$.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]}),t.jsx(je,{}),t.jsxs(L,{windowSize:a,hoverImportant:!0,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:$.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Gi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Ze,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Ze,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Gi=(e,s)=>{switch(e){case"active":return new $e(I.success);case"request_on_hold":return new $e(I.graphColor36);case"inactive":return new $e(I.alert);default:return new $e(s.colors.grey1)}},T=o(Z)`
|
|
1
|
+
import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as ze,gW as hi,iL as pi,iM as ui,iN as mi,aP as gi,o as i,aN as X,ck as xi,b as Be,p as I,b2 as wi,cr as Ci,iO as fi,iP as yi,bR as ye,bM as Si,aR as ki,y as C,ez as vi,b9 as $i,iQ as ji,aS as bi,u as Ii,ah as ee,gZ as Li,am as G,al as Z,c as p,cP as zi,ex as Ai,iR as Fi,iS as Pi,R as ft,bW as yt,iT as St,iU as Ri,bP as Bi,cw as Ge,iV as kt,dq as Di,dr as q,aL as ce,ct as vt,k as $t,iW as _i,cz as Ei,iD as Ze,bI as jt,bK as bt,iX as Ti,iY as Vi,aT as $e,bs as Oi,bX as Ui,bY as Ni,iZ as Mi}from"./index-HEX4i15-.js";import{S as pe,a as f}from"./sentry-DNw4E1cx.js";import{n as o,c as Je}from"./mui-ic6OiqS8.js";import{P as Ve}from"./Menu-XT10vy6U-BOoUbuzb.js";import{T as It}from"./RoleWithToolTip-CEcusyL7-YmpTx_Di.js";import{j as Oe}from"./CardNumberSubText-DqtkAe0V-CnWXJt_4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="cc32c33d-2070-4b2e-a710-e02dfb82e6c0",e._sentryDebugIdIdentifier="sentry-dbid-cc32c33d-2070-4b2e-a710-e02dfb82e6c0")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Qe={key:"owner",value:ge.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Ye={key:"cardName",value:ge.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},et={key:"cardType",value:ge.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},tt={key:"status",value:ge.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},it={key:"utilisation",value:ge.utilisation,sortOrder:"ascending",width:new C(p[11],p[11],p[11],p[12],120)},ot={key:"limit",value:ge.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Lt=e=>e===!0?[{...Qe,width:new C(0,0),value:Wi},Ye,et,tt,it,ot]:[Qe,Ye,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:$}}=le.getLocalizedStrings(),re={containerPaddingLeft:new C(p[3],p[2]),containerPaddingRight:new C(p[2],p[3]),containerPaddingTop:new C(p[2],p[3]),containerPaddingBottom:new C(p[2],p[3]),containerMarginLeft:new C(p[4],p[0]),containerMarginRight:new C(p[4],p[0]),webkitLineClamp:new C(2,1,1,1,1)};var Ki=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Ki||{});const qi={moreItemFont:new ft("extraSmallRegular","smallRegular")},Xi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:a,isCardControlsEnabled:n,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardRowClick:j,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,R]=f.useState(!1);f.useEffect(()=>{h||R(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),R(!1))},[l.length,h]);const B=r.cardId===a.id,D=l.includes(a.id),z=B&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=B&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=z||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{j(a.id,S)},[a.id]),V=kt(a)/a.limit.amount*100,W=a?.cardHolderUserId===w.userId,F=a.status.code!=="closed"&&a.status.code!=="closed_by_customer",O=Di(a.cardHolderUser,!1),H=a.balance,A=Lt(E),te=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:u,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(uo,{title:ce("0,0.[00]",H),className:"amountToUtilize",children:ce("0,0.[00]",H)})}),V!==0?t.jsx(q,{isLoading:u,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(mo,{className:"amountToUtilize",children:`${Math.round(V)}${Hi}`})}):null]}),J=a.type.code,_=$.cardList.tooltip[J],de=_!=null?W?_.self:`${O} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Zi,{windowSize:v,children:t.jsx(Ji,{onClick:M,"data-testid":X("card-row",a.id),children:t.jsxs(Yi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:A[0].width,children:[t.jsx(q,{isLoading:u,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(vt,{personBasic:a.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(io,{isLoading:u,children:[t.jsx(to,{isLoading:u,children:t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(oo,{windowSize:v,title:O,className:"cardHolderName",children:O===Ce.strings.empty?Ce.strings.hyphen:O})})}),t.jsx(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(nt,{className:"additionalInfoContainer",children:a.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:a.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(no,{isLoading:u,windowSize:v,responsiveWidth:A[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:a.cardName,className:"cardName",children:a.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:a.status.code==="request_on_hold"?Ce.strings.hyphen:$.cardDetails.expiryHideOut+Ce.strings.space+a.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:A[2].width,children:t.jsx(ho,{className:"card-type",children:t.jsx(q,{isLoading:u,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Oe,{cardDetail:a,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:A[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===a.id?t.jsx($t,{size:"Small",start:!0}):t.jsxs(po,{children:[t.jsx(wo,{children:a.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:de,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:a.status.code,style:{cursor:"pointer"}}),t.jsx(go,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:a.status.code})}),a.status.code==="request_on_hold"&&!W?t.jsx(xo,{onClick:K=>{K.stopPropagation(),k(a.id)},"data-testid":X("send-reminder",a.id),children:$.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:A[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:A[5].width,children:[t.jsxs(ro,{windowSize:v,isLoading:u,children:[t.jsx(q,{isLoading:u,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(ao,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",a.limit),children:ce("0,0.[00]",a.limit)})}),t.jsx(nt,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:a.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&F&&R(!0)},onMouseLeave:()=>{F&&R(!1)},children:(()=>{const K=a.status.code==="locked",oe=a.status.code==="closed"||a.status.code==="closed_by_customer",xe=E?n&&!u&&!oe&&!(K&&a.isLockedByAdmin):n?!u&&F:a.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:$.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Ve,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Ae=>{b||m(Ae)},isMenuOpen:h&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},zt=({cardDetail:e,isCardControlsEnabled:s,isChargeCardUser:r,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const a=ie();return s?e.status.code==="request_on_hold"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Qi,{}),t.jsx(fe,{children:$.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]}),t.jsx(je,{}),t.jsxs(L,{windowSize:a,hoverImportant:!0,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:$.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Gi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Ze,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Ze,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Gi=(e,s)=>{switch(e){case"active":return new $e(I.success);case"request_on_hold":return new $e(I.graphColor36);case"inactive":return new $e(I.alert);default:return new $e(s.colors.grey1)}},T=o(Z)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
`,fe=o(Z)`
|
|
4
4
|
color: ${I.important};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c as l,o as i,y as x,jh as De,cb as Ae,ji as G,aN as B,b2 as Be,cr as Me,iO as Oe,bM as Ne,aR as He,al as W,dr as j,gU as Z,aL as V,bR as We,ct as Ee,bP as Ke,am as N,cw as Q,p as $,gV as pe,fM as me,fI as ge,cg as Ve,ah as _,iD as ue,bK as Fe,jj as _e,iW as Ue,cz as Ye,aT as z,iX as Ze,iY as qe}from"./index-
|
|
1
|
+
import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c as l,o as i,y as x,jh as De,cb as Ae,ji as G,aN as B,b2 as Be,cr as Me,iO as Oe,bM as Ne,aR as He,al as W,dr as j,gU as Z,aL as V,bR as We,ct as Ee,bP as Ke,am as N,cw as Q,p as $,gV as pe,fM as me,fI as ge,cg as Ve,ah as _,iD as ue,bK as Fe,jj as _e,iW as Ue,cz as Ye,aT as z,iX as Ze,iY as qe}from"./index-HEX4i15-.js";import{a as S,S as q}from"./sentry-DNw4E1cx.js";import{n,c as J}from"./mui-ic6OiqS8.js";import{t as Xe}from"./SpendManagementSection-DKMG4ReN-CZlClCbP.js";import{r as Ge,a as Qe,i as ye,g as Je}from"./SpendManagementListViewPage-C3i-Mkip-BJcfLEEj.js";import{ck as xe,G5 as fe}from"./zeni-epic-state-CKYsFVFb.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-Bx6GnRAc.js";import"./liveblocks-Cb1r83bZ.js";import"./core-CXv949D6.js";import"./recharts-C7z-lQH-.js";import"./lottie-ChpXBaXa.js";import"./analytics-Cvgud8Kt.js";import"./lexical-DVRjsGc3.js";import"./utils-BM6IYCHh.js";import"./StatusSwitcher-Moxr70rd-DtIz0Sb6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="ae1bea1e-21ef-4181-93ac-4bda53175711",e._sentryDebugIdIdentifier="sentry-dbid-ae1bea1e-21ef-4181-93ac-4bda53175711")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[tt,it,nt,ot,at],P={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ze,qe)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=F(),r=H(),[d,g]=S.useState(we());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),b=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(Ke,{title:b.header.paymentDate,placeholder:b.header.paymentDate,pickerValues:u,valueToLabel:p,selectedValue:o.sortKey,onPickerSelectionChanged:s=>{y(s,"ascending")},optionTextStyle:I.extraSmallRegular,titleTextStyle:I.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(ft,{onClick:()=>y(h.key,h.sortOrder),"data-testid":B("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(Q,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":B("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(Q,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":B("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=q.memo(st),dt=n.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|