@zeniai/web-cockpit-ui 1.15.61-qa → 1.15.62-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-DKTSwNyl-LasyH8TY.js → ACHDetailsPage-iiVBlQka-F4dSOsYE.js} +1 -1
- package/dist/assets/{AIPerformancePage-BzTlSxeg-SV-nm0Pd.js → AIPerformancePage-MBAB5kgB-ww-6wbBl.js} +23 -23
- package/dist/assets/AccountInfoPage-Cz9yoVl8-DKDs9tuT.js +18 -0
- package/dist/assets/{AccountInfoPageContent-B0ZnsyrQ-D8PhZ-ma.js → AccountInfoPageContent-j85psx_A-DqIaZ4Vy.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-B6A-nGIq-4DAL1g8Q.js → AccountLockedInfoModal-B1JxHllU-BAhP8Gb3.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BTmjrd8b-DVbo1Ix6.js → AccountReconDetailsDrawerPage-DF-X46_u-D-KiS_g1.js} +1 -1
- package/dist/assets/{AccountRow-C-Iunc36-DBvIx8jC.js → AccountRow-DEtntSrL-DJ_MEu4z.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-D6xN5A4_-D77zE5gV.js → AccountsPromoCardStack-Cvixqb_6-KCmTFl6q.js} +8 -8
- package/dist/assets/{AddAddressForCardDrawer-B6tLAOA_-BHq_zhEf.js → AddAddressForCardDrawer-B1Qfn44J-YI9W3tlt.js} +1 -1
- package/dist/assets/{AddToWalletPage-Bw1oz9Y2-DZUmC0jT.js → AddToWalletPage-BLxUsh1Y-B--vy7Pt.js} +1 -1
- package/dist/assets/{AgingReportsPage-BK3PXwnr-CASHt9xj.js → AgingReportsPage-XIzuLRE4-B5qq4tiL.js} +1 -1
- package/dist/assets/{AllUserItems-B42zEFpe-s5GiPMxT.js → AllUserItems-BGMZCYUO-CLWXjt3J.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-vzW4qF2Y-CpfWBXyj.js → ApAgingDetailPage-B-1gVAu6-B543WPQ2.js} +5 -5
- package/dist/assets/{AppBasePage-yAU5vW5D-DHFVtKUl.js → AppBasePage-CYjdUgY4-CtZYH9zU.js} +1 -1
- package/dist/assets/{AppDrawerContent-nnh5cFf7-CMjmfOr6.js → AppDrawerContent-CbF8TOjd-z1qUWSMZ.js} +22 -22
- package/dist/assets/{ApprovalRulesSettingsPage-B-Y2YjpT-C_BCvONO.js → ApprovalRulesSettingsPage-RCtygkuw-QacPkDJD.js} +1 -1
- package/dist/assets/{ArAgingChart-CCc6eh55-S_33IrKQ.js → ArAgingChart-ZwWwEBJ3-CULx_eka.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-CYXVPEzK-BU2fIbnt.js → ArAgingDetailPage-DtqyngrA-BRQqtWpW.js} +4 -4
- package/dist/assets/{AttachmentView-DqrQDEWc-DY71soIj.js → AttachmentView-UxkSFZmq-BdITYnhl.js} +1 -1
- package/dist/assets/BalancesInsightWithToolTip-Co6ZUc5x-C2axpdHs.js +38 -0
- package/dist/assets/{BankAccountSection-4vXBKCFA-DP5DNcpw.js → BankAccountSection-DnBVOkJC-DYCo1C_L.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Dhmxhwx--5W0H89vS.js → BankAccountWarningSection-D7OuLiLz-De8vglQr.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-z52fh-wH-FPcBTItk.js → BankConnectionsSettingsPage-BDLTuNLu-2FjzaHHL.js} +1 -1
- package/dist/assets/{BillDetailPage-DRpctLxu-_BK91WYE.js → BillDetailPage-V8us93cj-BWLO9-az.js} +6 -6
- package/dist/assets/{BillPayApprovalRuleDetailPage-CJtb4oOG-BFvYLoAP.js → BillPayApprovalRuleDetailPage-C_REwEVS-CL1Og8l2.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-HG32jtX9-DjB3JsLj.js → BillPayApprovalRulesPage-C6G_eDX9-CqVHJ59J.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DwxNDF0k-BM139K87.js → BillPayPromoPage-CTQSknOB-Cc4fqM8R.js} +11 -11
- package/dist/assets/{BillPaySetUpPage-B-kmDrpB-CuoxknEF.js → BillPaySetUpPage-BmgMLaf--BP6R6WVT.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CNZyUOpM-CINxCzwA.js → BillingSettingsPage-IHY3ak0N-B6P3TYqS.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-DbIDTE51-DECwlI1x.js → BillsBulkReviewDrawerPage-ZoFahXYa-CiyHQp_K.js} +1 -1
- package/dist/assets/{BoxItem-CIyMdw2s-XVVJMQlQ.js → BoxItem-XoWq-tnh-DHNQhLDX.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DQ34qLUA-Cf-QQs9t.js → BusinessVerificationPage-D9HtnNOu-DYcEBbLX.js} +1 -1
- package/dist/assets/{CardNumberSubText-CN1RN7Tf-CiDN3JCH.js → CardNumberSubText-Cn0EZrNE-CM0wrvGR.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CyYkVa0H-DdxuB056.js → CashbackDetailPage-Bk5ssPnj-7XF_RaX6.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-DFUAF2OM-BgWbMksD.js → ChargeCardDetailPage-Ge9Aw7PA-DdZO2Qr7.js} +1 -1
- package/dist/assets/{ChargeCardListPage-BTHDGtJ6-CqLaa6eP.js → ChargeCardListPage-BNLOoSv3-CY8y8oiH.js} +1 -1
- package/dist/assets/{ChargeCardListTable-BiKjkqVs-eIAr7zlk.js → ChargeCardListTable-BoufojYF-CbhHfWWK.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-sPGU7qmY-CObUnJq-.js → ChargeCardPaymentHistoryPage-5lUxK8pF-B-wq9f96.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-CKl6K-nr-2tZKF-Be.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DmhPAnYT-KybZFFwG.js → ChargeCardSetupPage-Dqoel2Do-CRsLjI3N.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DUXupPSN-qe00z1Ke.js → ChargeCardStatementsPage-Dalrj66w-Cb8sSnsR.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-C8nbDVSz-DXXZxKXE.js → CheckDepositDrawerPage-mYjv1H0f-DCDlNmxF.js} +1 -1
- package/dist/assets/{CollapsableReportTable-C_bWRP7w-CLOc6cIe.js → CollapsableReportTable-CIaa7SIH-DUaQR6Xw.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-6LXCxWYP-BquV5qkG.js → CompanyOfficerDetailsSection-BSFNYauO-46pPRwPa.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DVJS9xE7-BSwLaoJL.js → CompanyPassportCard-B-mBb9Q5-F4Uihuez.js} +2 -2
- package/dist/assets/{CompanyPassportPage-FJ30paB0-D9XmnVum.js → CompanyPassportPage-Blyl_Z-c-BZhzF_4n.js} +1 -1
- package/dist/assets/{CompleteProfile-D3Im5rsm-D0LYejQY.js → CompleteProfile-ySk9I1Ut-CKEmpmJB.js} +1 -1
- package/dist/assets/{ConfettiBurst-BJrOe5Fg-CXuimrf_.js → ConfettiBurst-CeAc4Ily-BAnAm8DT.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-D5v4YKV3.js → ConstrainedInnerElement-CgdnMeoA-AhGXZZxD.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C8dK3_XQ-jEQ5-_KT.js → CreateOrEditVendorPage-BRkqkhfw-CvdCgKpl.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-Dp5mS2Hc-D4LFxi5f.js → CreditCardPaymentDrawerPage-oUIakAtz-JE8cob78.js} +1 -1
- package/dist/assets/{CurrencySelectField-BAQ5aoHk-CkVQ5_GJ.js → CurrencySelectField-CSPhUjwG-CbS46y4A.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-D8T1akbN-BI1M5tgs.js → CustomerOnboardingActivationPage-CoOyWe6_-AEk9zf9I.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-D72Ge-Bo.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSvvHqR_--2JdeKO9.js → CustomerOnboardingDetailPageSkeleton-CWNyUuRp-SVIJR56m.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CSLO3M7E-BNa4IGai.js → CustomerOnboardingNoStepsPage-DWx46Z6R-EmrN8zyB.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-weza3x24-BfiK5ih9.js → CustomerOnboardingPage-D86Sj2KP-C6oL4-UI.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-3YH4y1e1-BbCx2wLi.js → CustomerOnboardingProductSuitePage-Bo0LFveG-BGC02MHp.js} +5 -5
- package/dist/assets/{Dashboard-Bpuy-Pez-CizTp5bB.js → Dashboard-DQLJzr16-HrILUFxV.js} +1 -1
- package/dist/assets/{DashboardReportPage-1p79NBF9-BqMdV4yL.js → DashboardReportPage-CwfTMXY5-BCOhwNNr.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CBg2tWHO-Crx0zdqj.js → DashboardSidebarBackgroundAnimation-CUZGIAxW-B53uUCnJ.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DlztlGZL-XrsZidaU.js → DepositAccTransactionItem-Ci-LxLsk-Cvq7Prqs.js} +3 -3
- package/dist/assets/{DepositAccTransactionListPage-BO43c3Uz-Cw733HZw.js → DepositAccTransactionListPage-RG7P8vQS-eTjkUMDy.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-SEql3I0P-CeBaBHF2.js → DomesticWireDetailsPage-DsPFUOcE-DHDl-A3z.js} +1 -1
- package/dist/assets/{DownloadOverlay-PhrwF2iZ-Dkeea_GN.js → DownloadOverlay-BjTf50Dz-D4N6QPv5.js} +1 -1
- package/dist/assets/{DrawerPage-Bf3AP3Lj-B8MbNjAI.js → DrawerPage-0OFinUxM-BeuanyPY.js} +1 -1
- package/dist/assets/{EditPeoplePage-B-rBzonN-FQ9ZFzyU.js → EditPeoplePage-BKcOmYVv-C83mv0G4.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-CUiIHNgT-DYQZqNL4.js → EditReimbursementDetailPage-BFIHhQbx-0TSmBfDM.js} +1 -1
- package/dist/assets/{EntityDetailPage-CvLzsrUE-CzLHaeCU.js → EntityDetailPage-D8FzsqNk-ueFuZcdB.js} +1 -1
- package/dist/assets/{EntitySummarySection-mXeSjiuZ-Ccz1etbN.js → EntitySummarySection-ORJ2pE_k-9kH7Rcoq.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-DQCoy1O9-DSz4hp4a.js → ExpenseAutomationOverviewPage-Dzf7j2zV-Degt2Xxd.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-BeAzQ7Qx-Dd68WVBx.js → ExpenseAutomationPage-BRsKGeoM-CKXxmgRh.js} +1 -1
- package/dist/assets/{ExpressPayPage-C-isOU1b-Bp0MiR8-.js → ExpressPayPage-DlBFtMaR-CmiuwGSV.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-Cyre9YzV-BpVnmpDE.js → FeaturePreviewPage-C31F3Gmz-ZMbkf3IJ.js} +1 -1
- package/dist/assets/{FollowStepsSection-DZNWzSvo-BlQTiphW.js → FollowStepsSection-BVT2K7mu-DA6YcZ33.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-Dp--ugNc-Ch3zlxCC.js → GlobalReviewListPage-0cZe1hh0-DpbKZr1v.js} +1 -1
- package/dist/assets/{InformationCardStack-D7naFDX0-DUG3pOIL.js → InformationCardStack-t8eELRLU-D1gSzAhm.js} +1 -1
- package/dist/assets/{InsightsCardStack-DexUl4h--Bmv32nvk.js → InsightsCardStack-CJBPZbzD-u0EJRdpQ.js} +1 -1
- package/dist/assets/{InsightsSection-D9PJ55E6-CInWlueF.js → InsightsSection-tUBzsCix-DBW2f1wX.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-hFTe3wiP-DIib5XBc.js → IntegrationsSettingsPage-Ce0yKUWI-CwwSnMj6.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-DLkE5bXp-CMwNpo0r.js → InternationalWireSwiftDetailsPage-BzR-rKaL-BzeIw0NU.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-DYGjEqNz-C8QpV2Sa.js → InternationalWireVerificationPage-7tCXdJ3Y-PmlUvuGM.js} +1 -1
- package/dist/assets/{InviteFormPage-CGAsWQn7-D0nx3dSi.js → InviteFormPage-DePVC0CH-DW3BWRhG.js} +1 -1
- package/dist/assets/{InvitePageListView-BSPE9f03-WlB_8NDk.js → InvitePageListView-ChbvDKgQ-DFIS416y.js} +1 -1
- package/dist/assets/{InvitePeoplePage-ANvLB-mB-DJlcVLuQ.js → InvitePeoplePage-DJiEzIeY-HPUqwdfw.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-OGMswY7c-DLnr944A.js → InvoiceUploadSection-BjNMjhQR-2EpUo6uK.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-sLInqAsW-C6emXXlw.js → IssueChargeCardPage-4xbGf5Ut-I5UFuDuu.js} +1 -1
- package/dist/assets/{LabeledAddressValue-DBJ236tZ-CJLyMZ__.js → LabeledAddressValue-Czt7QvSJ-DRTTCYsl.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CAr-IiTa-e1iFQQnR.js → LabeledAddressValueField-Dl3atH92-SHIpU7rJ.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BdWZgcQc-DgtvJEEM.js → LabeledControlledCheckBoxField-DT_nxhPN-DBR3jY11.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-C6z1v9S1-Dj_C6QJZ.js → LabeledCountryMultiSelectField-BnljZpX0-D5BhNMnw.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Dhi0n2ky-twJ7Y41Z.js → LabeledCreatableSingleSelectField-CiInq9yD-D3hNy9xJ.js} +1 -1
- package/dist/assets/{LabeledDocumentField-B3QSq1eM-Dq2jaVHU.js → LabeledDocumentField-Ceb8vgVH-CgSohnk4.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-B39DlufR-WS_fYjgE.js → LabeledDropDownFormattedTextField-B98gNWTE-DMA3zHmz.js} +1 -1
- package/dist/assets/{LabeledText-GEbY3-bB-0pbEaYH1.js → LabeledText-CFJSoGtK-D6rvE3Rd.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-C2Y3oj9z.js → LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-AIPYwfzD.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DJfE1qQb-CVxui0H7.js → LabeledZeniRolesDropDownField-CQiP2rEh-ITtaMcqt.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-B2ROo3VS-DT3V9G-h.js → LinkJETransactionPage-ANY7Ns42-CgS4X513.js} +1 -1
- package/dist/assets/{LockCardPage-D2dUPnNL-LpcdvRvt.js → LockCardPage-0piclOz3-CWMdRPde.js} +6 -6
- package/dist/assets/{LowBalancePopup-DTtl3SIc-C3ENYtBl.js → LowBalancePopup-CplxkRHP-B9ioveJP.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-BCoPWD1G.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-BGSeAfT_.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-DUOH_mIM.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-Ctt1pLiv-BMw7wxwl.js → MagicLinkSuccessPage-BA1LfhVb-PIggd4uy.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CtsQ_c44-BZPfAF-8.js → MagicLinkTitleSection-DLdaV8WG-CsPJp3ez.js} +1 -1
- package/dist/assets/MailingDetailsSection-BNVPaGFt-BMhNs8t2.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-6ltpx62E-CjS__VIN.js → MyBankConnectionsSettingsPage-BiDvyO_G-CgpCRL5S.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CwDedcXl-Cnqt2wEr.js → MyPendingActivationChargeCardListPage-Bb4_b9o6-Dj1eM4fd.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Bmhu2lrK-CY5J0L6N.js → MyProfileSettingsPage-nY_eDqfm-BJi1XIGT.js} +1 -1
- package/dist/assets/{NavBarWithPicker-jqJCHGvR-B-DUpoqk.js → NavBarWithPicker-Dr5XHgP5-CsxQgdbF.js} +1 -1
- package/dist/assets/{NavigationArrow-DY_BhITD-CJeZ9gHm.js → NavigationArrow-DT82hMh--DnguV2jQ.js} +1 -1
- package/dist/assets/{NavigationDots-Kh5ODrCQ-BrWxwyeb.js → NavigationDots-CwCZ9EAa-DxhHWVBc.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BYTROFvX-By8ES4Zg.js → NewGlobalMerchantPage-D1lxnByE-z5iprt7Z.js} +1 -1
- package/dist/assets/{NoDataChart-CuiKDcAB-Dt-g0VdD.js → NoDataChart-DCTRXLc7-DvMHmBjn.js} +1 -1
- package/dist/assets/{NoDataTable-BpH8puX--D82ayCk5.js → NoDataTable-D8Xw5pAY--PbLC5X1.js} +1 -1
- package/dist/assets/{NotFoundPage-BKvCYyvc-Bu8pme7r.js → NotFoundPage-B_zPUigU-xZhz7BcW.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-F2xXUCSE-DCANPxov.js → NotificationSettingsPage-aKLRiMp--DXLKo6wG.js} +1 -1
- package/dist/assets/{NotificationsListConfig-C9r-O2kH-C0uopQuv.js → NotificationsListConfig-CVEetkBc-C5H_mbWn.js} +1 -1
- package/dist/assets/{NotificationsPage-CZZ9GTVy-ByLDpBFZ.js → NotificationsPage-DEw6V83J-BcIibW0q.js} +1 -1
- package/dist/assets/{OpExByVendorPage-Crvcsx0U-DuEfkZRP.js → OpExByVendorPage-DJMov6Ux-Cr7H1ixP.js} +1 -1
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-BFIA2x2o.js → OverlayContainerPage-BG9y5C0t-RoyD8Iyg.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CkDCt5NK-ywRcdRH4.js → PandLWithForecastPage-RBTh1bFk-kFWFwPwe.js} +26 -26
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-D1ZDh1GY-rgbn8cFB.js → PaymentAccountSetupBillingAddressSection-D-kQI4nd-Cn8Blunk.js} +1 -1
- package/dist/assets/{PeoplePage-D2CtRlrd-DEruy86F.js → PeoplePage-BEc-Oss7-srQkc6NK.js} +1 -1
- package/dist/assets/{Preview-CDSvYaru.js → Preview-CkDZyW2h.js} +1 -1
- package/dist/assets/{ProductsCarousel-sNagRI0c-DCTN-Uqw.js → ProductsCarousel-BRo0P4GW-asLJ34JL.js} +1 -1
- package/dist/assets/{PromoBaseCards-BUk-u73S-DaywPqVE.js → PromoBaseCards-BrXJEufN-DEHvY13g.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-C1rEAxUE-CRDY79T8.js → QBOConnectionDialog-BIg9Iais-DBdEZlGr.js} +1 -1
- package/dist/assets/{QBOSetupSection-iQJCHR-K-e0POzpgJ.js → QBOSetupSection-DDoUJ7L6-B4_th509.js} +3 -3
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BPIKZ9v1-B5uVQkfJ.js → ReimbursementApprovalRuleDetailPage-CP0muUGK-Ba-kVkFS.js} +3 -3
- package/dist/assets/{ReimbursementApprovalRulesPage-AE810nQZ-d173P4Au.js → ReimbursementApprovalRulesPage-BpVWq3rk-BvBmrThe.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CYuZJL_J-DTRC3S2Z.js → ReimbursementDetailPage-pCg86_Ty-CSBYnyV4.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-CaxjSwrz-B_eLWVVl.js → ReimbursementPromoPage-BW6icjG5-NCytxpq5.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-Bw77MBHF-CZGrCIBI.js → ReimbursementSetUpPage-B6OhWEWH-Dqc_oRRL.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B-svIloS-LSPWPuPE.js → ReimbursementsBulkReviewDrawerPage-DmDoqEZh-DFh9Pbr2.js} +1 -1
- package/dist/assets/{ReloadCard-D5kxTfzJ-CDJS0ozy.js → ReloadCard-DIFXZM9U-DggvZzmh.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BZU8yltx-BIfgH3G9.js → ReportTableViewSelector-BsIDwouQ-NP1BC0UQ.js} +3 -3
- package/dist/assets/{ReportsPage-CdN9MEVy-CnXCtVjc.js → ReportsPage-BFTuYQt2-SVREf_ox.js} +1 -1
- package/dist/assets/{RevenueChart-B_RMeweH-BnSGz7Oe.js → RevenueChart-BoFq3ebd-DHduN5l3.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-a73YIZSO-BebMkV1j.js → ReviewDetailsPage-6kCQzaHm-ZRQYcefP.js} +1 -1
- package/dist/assets/{ReviewOverlay-Ubmz06uP-Cs4PILXX.js → ReviewOverlay-Dhb-kL6G-MVhyZE4H.js} +1 -1
- package/dist/assets/{RoleWithToolTip-BYO1YG6N-Dxzi9cht.js → RoleWithToolTip-BfM8Ltz4-Cc0s-RSO.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-vgqilDC8-CAP4E6RH.js → ScheduleDetailsFixedAssetsPage-Ccewwmwc-BxcjXrPh.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-DdEeFryA-C4YfpL2j.js → ScheduleDetailsPage-D4LK83qQ-D1NnbeUb.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-poNEzbqS-CNJviVwx.js → ScheduleSequenceTable-BZR2cL6z-BVc6y3Kn.js} +1 -1
- package/dist/assets/{ScreenRoutes-ID7Dz2BI.js → ScreenRoutes-dVyTM_oA.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BSOGwHCj-BJlChPZg.js → SetUpAccountSection-CxjYbrXu-BF4RgbrZ.js} +1 -1
- package/dist/assets/{SignIn-q4J9wRx8-DlfU9QqU.js → SignIn-CVmtPGKL-DiahzBKR.js} +6 -6
- package/dist/assets/{SignInScreen-Cky6LHf0.js → SignInScreen-19UL9ugi.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DKRkSADM-CHLUhRLC.js → SpendManagementListViewPage-BLjP9T8h-m5Jpjb2x.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-Cd30NnXU-Cu4u_JxV.js → SpendManagementPerTabPage-Ck4brjun-lWm-ZzMC.js} +1 -1
- package/dist/assets/{SpendManagementSection-CPBOh_J5-CmYd5joU.js → SpendManagementSection-DAqR2c98-cjG-Eksr.js} +1 -1
- package/dist/assets/StatementItem-B_iG99XI-Bm4pv5Jw.js +31 -0
- package/dist/assets/{StatementsPage-Cp77wyFS-BcZgMMCN.js → StatementsPage-DcKziEfZ-C_Av9BcF.js} +1 -1
- package/dist/assets/{StatusSwitcher-DN-yYdli-DhLnSHQ8.js → StatusSwitcher-BI-dgnrK-CRZdmF_2.js} +1 -1
- package/dist/assets/{SubTabSwitcher-D1LNrhUn-C4Ypgfj1.js → SubTabSwitcher-BpNI5Wke-Cn3Qj66v.js} +1 -1
- package/dist/assets/{SummaryCard-DgIPSt4y-D5wDDqpJ.js → SummaryCard-HW-1WXN9-Bs5w4IBU.js} +1 -1
- package/dist/assets/{TaskManagementPage-BaLJR4-7-DJO7sSkH.js → TaskManagementPage-Bz1uP5hK-D66AAERV.js} +8 -8
- package/dist/assets/{TimeRangeSwitcher-CkgGEwEw-gvxDov2s.js → TimeRangeSwitcher-oORYeFzN-rqP6IKB_.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-B8fpnYS8-Bk6_66D0.js → TimeframeSwitcher-JcJSbn0--BLek9me8.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DwFo6jY4-D5xnlyuM.js → TimeframeSwitcherWithToggle-BEZU-KDj-Bm83snuW.js} +2 -2
- package/dist/assets/{TopExCard-PayAZZY--4PZ1JzhP.js → TopExCard-CF6z0JWk-Cg9s2TIf.js} +1 -1
- package/dist/assets/{TopExDetailPage-Mp2KcYf6-Ddd4KY7y.js → TopExDetailPage-DrcKlFuy-IZQmSsIG.js} +8 -8
- package/dist/assets/{TransactionActivityLogPage-CnmL_hUz-DPnOn3GV.js → TransactionActivityLogPage-BB4q0jan-By_l7Lcs.js} +1 -1
- package/dist/assets/{TransactionDetailPage-Bqlnmn8Y-Cf6tkZvV.js → TransactionDetailPage-DRG_qosz-B3U5v8b5.js} +1 -1
- package/dist/assets/{TransactionList-BOmlsfpv-BMQs9m0S.js → TransactionList-iw4pyMYF-oBN58Cyl.js} +1 -1
- package/dist/assets/{TransactionListBig-CaMT-rq_-DPqSItkt.js → TransactionListBig-BljAUwAB-DahobDEz.js} +1 -1
- package/dist/assets/{TransactionListPage-D_dgwnFp-CHHnUNAX.js → TransactionListPage-ReGTmF43-BN0H-Nt5.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DlXuiPC5-BUZuOXUE.js → TransactionVendorDetailPage-DXuYIj-p-pZNNf5OP.js} +1 -1
- package/dist/assets/{TransferDrawerPage-C2VcssbM-C_EOW6la.js → TransferDrawerPage-C3q8h8Zy-BLpcxq0Q.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-DyyoGY23-BnlIlsyE.js → TreasuryOverviewPage-DqjFEV9B-hbL1Fcfl.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-B9Hf7oxZ-DzvwsOB8.js → TreasuryPromoPage-ByeK0W_5-CCb9TaUZ.js} +9 -9
- package/dist/assets/{TreasuryStatementsPage-DOzJzfTG-BbRhi4my.js → TreasuryStatementsPage-BjGwvMFL-CaZjKaE0.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BcTBr9x9-DuJ1otAW.js → TreasuryTaxLetterPage-DwLyqS86-otmG6LNU.js} +2 -2
- package/dist/assets/{TrendChart-BvXDrgUJ-glrPQOWe.js → TrendChart-Dgh_21FN-728BYfDl.js} +1 -1
- package/dist/assets/{TrendWithTransactions-RCpzdPf3-dYEOquLX.js → TrendWithTransactions-BgIPapHk-ipQ--AYU.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-B1m3iXh5-DshPgphT.js → UncategorizedAccountsMappingPage-DIIJcGrj-W2lIyfKP.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-lVg_8mQ4-ZgVf3QuU.js → UnitIntegrationPage-DIOZhQOZ-Cz4svOW6.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DrAWxBXn-BMY66quK.js → UploadAdditionalDocumentOverlay-qrcEQmkz-BCM8wkTa.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-C8m_OJEH-BEe6wLBV.js → Vendor2FAPopup-C58w6vC7-B0QOUzvY.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-BbxRwrEv-BcyCQIOi.js +1 -0
- package/dist/assets/{VendorDetailPage-Y9_hsgjs-D7SaFH14.js → VendorDetailPage-CEQFcNHr-BRxLMg2x.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-B34zJ4us.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CPevpiim-Cg5o278h.js → VendorFiling1099EditablePage-Dl7jZYBV-Ba491yZj.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-CXftFNl_-B2M-6Mme.js → VendorFirstReviewPage-yVbtg_tG-gBJS1j-C.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-88NtGE3e-Byg7DBKS.js → VendorInternationalWireDetailsPage-DNDv_s8G-CiskNCMX.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-u7GtUmeC.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DorsKXyL-B46DfoVw.js → VendorsAccountsSection-Cscbgqrx-CYHbI-9I.js} +1 -1
- package/dist/assets/{VerifyDevice-DAym8rUN-D2hs4cQM.js → VerifyDevice-D1vsUSdJ-BIzMDHBP.js} +1 -1
- package/dist/assets/{VideoPlayer-53OvOC7l-Em2TLxp-.js → VideoPlayer-TlEy-oD0-Cje6jVjh.js} +2 -2
- package/dist/assets/{VideoPopup-v9quqdro-BGjGToA6.js → VideoPopup-3DD646kG-BgQ78vA7.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-B-1cevae-BmC6iVJQ.js → WarningsDrawerPage-Fj5zTXdi-CXc9WkYF.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CFEGqW5l-Dy6qJU85.js → ZeniAccountDetailPage-BbsXzuHD-BMV_BlPm.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-j85TO5tM-Ql-laWfg.js → ZeniAccountListViewPage-lmuVUpKS-Baowbjpx.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Bv34Vsqj-DWSSQwPn.js → ZeniAccountNavBarPieces-CQhwBKXD-B51UnZEa.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DeHmh4My-D9vbGzEW.js → ZeniAccountPromoPage-CXEb9tRE-DQDL7yPo.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-ofkQR72l-DiKoGlqM.js → ZeniAccountSetupPage-DPhYQu6u-DrS7B52l.js} +1 -1
- package/dist/assets/{ZeniCopyright-CmCqmJmV-lDbp46RP.js → ZeniCopyright-pvaggW6x-BhCh9n5c.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BpfqM032-5jspOCNh.js → ZeniTransferAmountSlider-Dlyom9dD-nFfdaxnl.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-CtSV17Bf.js → add-to-wallet-DgdBD8_G-DEXYRcE2.js} +1 -1
- package/dist/assets/{analytics-DpcwQWv0.js → analytics-CsIQ-59x.js} +1 -1
- package/dist/assets/{analyticsHelper-qtejXlXH-CQODcjCy.js → analyticsHelper-AeOsAjMK-CJS3UJGT.js} +1 -1
- package/dist/assets/{analyticsHelper-h_J4STlV.js → analyticsHelper-C2czV_8Z.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-B6984SJ0.js → arrow-south-east-round-PEovUgvH-CeOVinw8.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DOWtaLLL.js → auto-transfer-rule-mbafm5D3-Cigt_4KO.js} +1 -1
- package/dist/assets/{chartTypes-BqRsL6eJ-ChMoR8JY.js → chartTypes-BLsP7rGF-D9WB2Y1J.js} +1 -1
- package/dist/assets/{commonDimensions-CzWWgDTA-B7eugMlO.js → commonDimensions-DIm7kTtR-D2v7Ywwl.js} +1 -1
- package/dist/assets/{commonTypes-CF6UyWSv-CKAjkZfQ.js → commonTypes-B3mnx2x_-CpkcU002.js} +1 -1
- package/dist/assets/{constants-CfbDssQ5.js → constants-B3U6y--4.js} +1 -1
- package/dist/assets/{core-YvsCVRKf.js → core-BzWT0IJw.js} +1 -1
- package/dist/assets/{dash.all.min-j3axcOyD.js → dash.all.min-CgnIcVo_.js} +1 -1
- package/dist/assets/{downloadPdf-BFFM3Hea-CbeXk1W6.js → downloadPdf-B5WrL0K1-CcFZms98.js} +1 -1
- package/dist/assets/{empty-B_JCNeal.js → empty-B0GYop9a.js} +1 -1
- package/dist/assets/{empty-DLuGECpK.js → empty-Cslhy-Rq.js} +1 -1
- package/dist/assets/{epic-DbdW0-_z.js → epic-BtnWMsWU.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-CKHs8nYt.js → gift-box-Cmt9OgIZ-TLg2Cmt8.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-o_7WzGOU.js → graphic-no-data-l-DU4J8fDt-CaAYbmVV.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Cu0qTjAU.js → graphic-no-data-net-burn-l-CzmycA0m-ukcWACRx.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-0qqcKNHL.js → handshake-BPg58FML-_LKqFBMv.js} +1 -1
- package/dist/assets/{helper-COxPEvgL-CbfWDvU1.js → helper-BVESv00--NsacEbMq.js} +1 -1
- package/dist/assets/{index-Bo11DKO-.js → index-1P9yFC0k.js} +8 -8
- package/dist/assets/{index-Df6c2b4A.js → index-2GU6ddm4.js} +1 -1
- package/dist/assets/{index-DseGil_3.js → index-AfGYI81I.js} +1 -1
- package/dist/assets/{index-B1ITi4qW.js → index-B2EUmCBu.js} +1 -1
- package/dist/assets/{index-C3OKO7Zv.js → index-BbHyi3zT.js} +1 -1
- package/dist/assets/{index-BIaSwKVT.js → index-CejKZeVc.js} +1 -1
- package/dist/assets/{index-__v_hyq2.js → index-mfrlgDvS.js} +1 -1
- package/dist/assets/{lexical-pvu9rk3d.js → lexical-CFznRm2I.js} +1 -1
- package/dist/assets/{liveblocks-CrpEALXl.js → liveblocks-BfbuekkT.js} +1 -1
- package/dist/assets/{lottie-Ca8n7ZMA.js → lottie-B5och2Z9.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-BY7wUAAY.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CcuLqf_I-Dyy8rBGE.js → mapSectionWithAcOnlyToTreeNode-BIiMj0sc-bheB0LvM.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-KjBroRTL.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-8tVv8tK4.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CyO5pm8k-UBjf7rOq.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-DbLH5aa6.js +1 -0
- package/dist/assets/{mui-BRi75_3V.js → mui-lMF7eHp6.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-XgNZv44H.js → page-detail-CWX5S47F-DGqHDm7Y.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-CfgTRYG6.js → panelSelectedMixin-Cddsb26L-B4nQ3pP2.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-yol51RNj.js → radio-default-CiSgisfh-Cqi94KOj.js} +1 -1
- package/dist/assets/{react-BRORnD4c.js → react-C34SUzs1.js} +2 -2
- package/dist/assets/{react-DcgxdYPr.js → react-CGjnsJBo.js} +1 -1
- package/dist/assets/{react-Bm2wKXNo.js → react-CyvA7SRw.js} +1 -1
- package/dist/assets/{react-r5DdrV7B.js → react-DGJI55tm.js} +1 -1
- package/dist/assets/{react-q5bmf-7b.js → react-DLRdB_5u.js} +1 -1
- package/dist/assets/{react-DEXi2aND.js → react-DM7EG-dl.js} +1 -1
- package/dist/assets/{react-uvqj8bO5.js → react-SMRlp4Jq.js} +1 -1
- package/dist/assets/{react-uJ2nCWtW.js → react-c4MYsafP.js} +1 -1
- package/dist/assets/{recharts-CYsFsR9k.js → recharts-CatO_S9c.js} +1 -1
- package/dist/assets/{sentry-Bvx1fyUW.js → sentry-DW9sKdqh.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-AEcB91xS.js → shield-DOlUxcFf-BTlVH5ta.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BWMF0py6-WEK4vUTu.js +1 -0
- package/dist/assets/{toChartData-CWgd8E5c-DEO9SR0E.js → toChartData-BkubFDq8-BbT_apFS.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-D-3Cwnxg.js → upload-reimbursement-receipt-O2N8vcO7-OarCxoAn.js} +1 -1
- package/dist/assets/{uploadAttachment-D1ybl0Fy-SSZJ5Pvm.js → uploadAttachment-CzgakLtr-CsvsBi3t.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-Cye8vrCf.js → uploadReceipts-CIgkuVpu-Dz8nlOVf.js} +1 -1
- package/dist/assets/{url-Ba3R_UZ2.js → url-BYwsXne8.js} +1 -1
- package/dist/assets/{url-CD0gnvEN.js → url-Bx7ahsnf.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-Cs3eRctY.js → useLongPress-GCK2COYQ-BI3UU-Cj.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-9r72yNte.js → usp-line-BBd1wKwW-BnQRJ1kE.js} +1 -1
- package/dist/assets/{utils-DcyOBG_q.js → utils-Dbx5oKO7.js} +1 -1
- package/dist/assets/{zeni-epic-state-CMOi_tqS.js → zeni-epic-state-TSfU2WWJ.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-CrEEthms-CcQ8KvB2.js +0 -18
- package/dist/assets/BalancesInsightWithToolTip-D1_dZg5k-BdbdotQq.js +0 -38
- package/dist/assets/ChargeCardPromoPage-6JwKgWli-CMIt1ItZ.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-DabO5Dqz.js +0 -1
- package/dist/assets/MagicLinkACHDetailsPage-BC6_cyO0-5zZuOn_-.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CdG5oCPl-D9FJdOFq.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C046BNUz-BfZRUUoh.js +0 -1
- package/dist/assets/MailingDetailsSection-DiZwQ9QV-BaEzKYzh.js +0 -21
- package/dist/assets/StatementItem-NyOORj5f-BMOL9nui.js +0 -31
- package/dist/assets/VendorACHDetailsPage-JhO6KtMC-BRu6rtc8.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-D0RsDHxf-D_O2dqFS.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BTh-VP1b-BCsWl35w.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-COOJxneh-CnJTQ2Yx.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Ci5bdH6P-Cc_pWfhO.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CCZ9A7A6-Bt73ZErv.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cql9mEn3-DMllIiKO.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-SwT-yxXB.js +0 -1
- package/dist/assets/toCOABalancesWithID-B70YK7cw-C41YgUZZ.js +0 -1
package/dist/assets/{BillPayPromoPage-DwxNDF0k-BM139K87.js → BillPayPromoPage-CTQSknOB-Cc4fqM8R.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ay as F,e as
|
|
1
|
+
import{ay as F,e as j,aS as Y,V as e,fH as ee,bE as ie,a as C,ac as B,ag as x,O as I,o as s,as as se,c as le,g as M,aV as U,ao as oe,x as te,d as $,cN as re,aW as ae,bc as ne,u as de}from"./index-1P9yFC0k.js";import{a as g}from"./sentry-DW9sKdqh.js";import{n as l}from"./mui-lMF7eHp6.js";import{Gs as ce,bP as pe,Gt as xe}from"./zeni-epic-state-TSfU2WWJ.js";import{C as me}from"./VideoPopup-3DD646kG-BgQ78vA7.js";import{M as S}from"./usp-line-BBd1wKwW-BnQRJ1kE.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";import"./VideoPlayer-TlEy-oD0-Cje6jVjh.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]="ee2ee72d-08ff-4ffd-a268-cec53dd92994",i._sentryDebugIdIdentifier="sentry-dbid-ee2ee72d-08ff-4ffd-a268-cec53dd92994")}catch{}})();const D="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",A="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",he={midContainerMarginBottom:new te(de[5],44)},ge=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -12,7 +12,7 @@ import{ay as F,e as f,aS as Y,V as e,fH as ee,bE as ie,a as C,ac as B,ag as x,O
|
|
|
12
12
|
margin: auto;
|
|
13
13
|
padding: ${s.sp7} ${s.sp0};
|
|
14
14
|
color: ${i=>i.theme.colors.primary};
|
|
15
|
-
`,
|
|
15
|
+
`,fe=l(se)`
|
|
16
16
|
max-width: 600px;
|
|
17
17
|
margin: auto;
|
|
18
18
|
padding: ${s.sp5} ${s.sp0};
|
|
@@ -23,7 +23,7 @@ import{ay as F,e as f,aS as Y,V as e,fH as ee,bE as ie,a as C,ac as B,ag as x,O
|
|
|
23
23
|
align-items: center;
|
|
24
24
|
justify-content: center;
|
|
25
25
|
margin-bottom: ${i=>he.midContainerMarginBottom.valuePx(i.windowSize)};
|
|
26
|
-
`,
|
|
26
|
+
`,ye=l.div``,m=l.img``,V=l.div`
|
|
27
27
|
width: ${i=>i.windowSize==="small"?"auto":"376px"};
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: column;
|
|
@@ -57,19 +57,19 @@ import{ay as F,e as f,aS as Y,V as e,fH as ee,bE as ie,a as C,ac as B,ag as x,O
|
|
|
57
57
|
color: ${i=>i.theme.colors.champion};
|
|
58
58
|
`,w=l(ae)`
|
|
59
59
|
color: ${i=>i.theme.colors.champion};
|
|
60
|
-
`,
|
|
60
|
+
`,f=l(U)`
|
|
61
61
|
color: ${i=>i.theme.colors.champion};
|
|
62
|
-
`,
|
|
62
|
+
`,y=l(re)`
|
|
63
63
|
color: ${i=>i.theme.colors.champion};
|
|
64
64
|
`,d=l.div``,c=l.div`
|
|
65
65
|
padding-left: ${s.sp3};
|
|
66
|
-
`,_=l(
|
|
66
|
+
`,_=l(S)`
|
|
67
67
|
color: ${$.graphColor16Dark};
|
|
68
|
-
`,R=l(
|
|
68
|
+
`,R=l(S)`
|
|
69
69
|
color: ${$.graphColor09Dark};
|
|
70
|
-
`,G=l(
|
|
70
|
+
`,G=l(S)`
|
|
71
71
|
color: ${$.graphColor28Dark};
|
|
72
|
-
`,
|
|
72
|
+
`,je=l(oe)`
|
|
73
73
|
margin: ${s.sp3} auto;
|
|
74
74
|
max-width: 719px;
|
|
75
75
|
color: ${i=>i.theme.colors.hero};
|
|
@@ -78,7 +78,7 @@ import{ay as F,e as f,aS as Y,V as e,fH as ee,bE as ie,a as C,ac as B,ag as x,O
|
|
|
78
78
|
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
79
79
|
align-items: center;
|
|
80
80
|
justify-content: center;
|
|
81
|
-
`,
|
|
81
|
+
`,Se=l(U)`
|
|
82
82
|
margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
|
|
83
83
|
color: ${i=>i.theme.colors.grey1};
|
|
84
|
-
`,t=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,r=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Oe=({billPaySetupView:i,analytics:o,meetingUrl:
|
|
84
|
+
`,t=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,r=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Oe=({billPaySetupView:i,analytics:o,meetingUrl:b,videoUrl:H,onButtonClick:Z,onBackClick:N,onSetupBillPaySuccess:z,onClickMenuIcon:q})=>{const h=F(),a=j(),{billPayTermsDetails:p}=i,[J,K]=g.useState(!1),[Q,v]=g.useState(!1),k=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{k==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[k,z,p?.fetchStatus]);const W=()=>{o?.trackBillPayPromoScheduleDemo(),v(!0)},X=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!X,T=P?t.setupNonAccessableUsersPromoText:t.promoText;return e.jsxs(ge,{children:[J===!0?e.jsx(me,{onCancelClick:()=>{K(!1)},videoUrl:H}):null,Q===!0?e.jsx(ee,{onCancelClick:()=>{v(!1)},meetingUrl:b}):null,e.jsx(ie,{title:t.title,onBackClick:N,showBackButton:!xe(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:q,source:"BillPayPromoPage"}),e.jsxs(ue,{windowSize:a,children:[a==="small"?e.jsx(fe,{children:T}):e.jsx(we,{children:T}),a==="small"?e.jsx(be,{}):e.jsx(ze,{}),P===!1?e.jsxs(ye,{children:[e.jsxs($e,{windowSize:a,children:[e.jsx(C,{variant:"secondary",label:t.scheduleDemoButton,onClick:W,"data-testid":B("billpay-schedule-demo-button")}),e.jsx(Se,{windowSize:a,children:t.orText}),e.jsx(C,{variant:"primary",label:t.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:Z,"data-testid":B("billpay-setup-button")})]}),e.jsxs(je,{children:[t.terms.terms1,e.jsx(x,{href:r.consentUrl,linkText:r.consent}),r.term2,e.jsx(x,{href:r.depositUrl,linkText:r.depositTerms}),r.term3,e.jsx(x,{href:r.privacyPolicyUrl,onZeniLinkClick:()=>(o?.trackBillPayPrivacyPolicy(),!0),linkText:r.privacy}),r.term4,e.jsx(x,{href:r.tosUrl,onZeniLinkClick:()=>(o?.trackBillPayAgreement(),!0),linkText:r.tos}),r.term5,t.terms.terms3]})]}):null]})]})},be=()=>{const i=M(),o=j();return e.jsxs(L,{windowSize:o,children:[e.jsx(E,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(m,{src:D,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(V,{windowSize:o,children:[e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(c,{children:[e.jsx(y,{children:t.fullyManagedText.bold}),e.jsx(f,{children:t.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(R,{})}),e.jsxs(c,{children:[e.jsx(y,{children:t.multiLevelApprovalText.bold}),e.jsx(f,{children:t.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(y,{children:t.aiPoweredText.bold}),e.jsx(f,{children:t.aiPoweredText.regular})]})]})]})]})},ze=()=>{const i=M(),o=j();return e.jsxs(L,{windowSize:o,children:[e.jsxs(V,{windowSize:o,children:[e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(c,{children:[e.jsx(w,{children:t.fullyManagedText.bold}),e.jsx(u,{children:t.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(R,{})}),e.jsxs(c,{children:[e.jsx(w,{children:t.multiLevelApprovalText.bold}),e.jsx(u,{children:t.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{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(E,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(m,{src:D,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Oe as default};
|
package/dist/assets/{BillPaySetUpPage-B-kmDrpB-CuoxknEF.js → BillPaySetUpPage-BmgMLaf--BP6R6WVT.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as De,e as Oe,aS as F,aa as $e,cQ as Ue,O as Re,aX as K,V as t,fr as Le,d as He,ac as ze,x as u,bE as Ne,L as qe,ae as Me,fI as L,e1 as Ge,fJ as Je,by as Qe,dS as Ze,c1 as Ke,fK as Xe,aT as Ye,o as z,fL as et,u as a,an as tt,bM as it}from"./index-
|
|
1
|
+
import{g as De,e as Oe,aS as F,aa as $e,cQ as Ue,O as Re,aX as K,V as t,fr as Le,d as He,ac as ze,x as u,bE as Ne,L as qe,ae as Me,fI as L,e1 as Ge,fJ as Je,by as Qe,dS as Ze,c1 as Ke,fK as Xe,aT as Ye,o as z,fL as et,u as a,an as tt,bM as it}from"./index-1P9yFC0k.js";import{a as m}from"./sentry-DW9sKdqh.js";import{n as b}from"./mui-lMF7eHp6.js";import{bJ as nt}from"./zeni-epic-state-TSfU2WWJ.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-qrcEQmkz-BCM8wkTa.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.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]="57bc46e0-e24d-4084-a351-6ba63778c28c",e._sentryDebugIdIdentifier="sentry-dbid-57bc46e0-e24d-4084-a351-6ba63778c28c")}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)},X="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:N,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),q=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:V,approvalRulesStatus:Ie}=v,D=_.link_account.updateStatus,O=_.update_account.updateStatus,j=F(f),J=F(P.fetchState),Q=F(D.fetchState),Z=F(O.fetchState),w=$e({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>H(e),[e]),values:H(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"||Q==="In-Progress"&&D.fetchState==="Completed"||Z==="In-Progress"&&O.fetchState==="Completed")&&w.reset(H(e))},[j,f,w,e,Q,D.fetchState,Z,O.fetchState]);const Ve=w.handleSubmit(x=>{y.trackEnableBillPay(),me()}),je=async(x,E)=>{const o=E[W];if(x.includes(W)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=M.find(R=>R.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(R=>R.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((E,{name:o})=>{o!=null&&E!=null&&Ue(()=>je(o,E))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&P.fetchState==="Completed"&&N()},[N,J,P.fetchState]);const{commonSetUp:Be,spendManagement:Ee}=Re.getLocalizedStrings(),{setUp:r}=Be,{billPaySetup:l}=Ee.billPay,$=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),U=T?.isBillPayEnabled===!0,Fe=$?r.setupVerifiedSubTitle:l.setupSubTitle,We=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",B=k.mode==="light"?new K(k.colors.brandColorJadeLight):new K(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:q,children:[t.jsx(Le,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:He.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(Ne,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!U&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:q,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Fe}),We?t.jsx(rt,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Me,{...w,children:t.jsx("form",{id:Y(X),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(L,{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:B},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(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(L,{title:V.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:V.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:V.length>0?Ie:void 0})]})})}),s===!0?t.jsx(L,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Xe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},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(Ke,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),$&&!U&&V.length>0?t.jsx(Ye,{formId:Y(X),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:$&&!U,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{g as
|
|
1
|
+
import{g as we,e as be,aa as Ce,cQ as Pe,aX as k,O as xe,V as t,x as P,bE as Ie,L as Ae,ae as ve,by as je,cR as ke,aT as $e,o as s,i1 as Te,fd as De,fe as Ve,u as x,an as Ee,h6 as Be,d as Le,N as ze}from"./index-1P9yFC0k.js";import{a as F}from"./sentry-DW9sKdqh.js";import{n as d}from"./mui-lMF7eHp6.js";import{F as Oe,o as R,t as _e}from"./PaymentAccountSetupBillingAddressSection-D-kQI4nd-Cn8Blunk.js";import{F as Me}from"./SetUpAccountSection-CxjYbrXu-BF4RgbrZ.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./zeni-epic-state-TSfU2WWJ.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";import"./commonTypes-B3mnx2x_-CpkcU002.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]="6dc5b613-643a-43f3-a2d4-7cdfe0f0fbd4",e._sentryDebugIdIdentifier="sentry-dbid-6dc5b613-643a-43f3-a2d4-7cdfe0f0fbd4")}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])},Fe={title:new ze("standardSemiBold","largeSemiBold")},H="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:r,onClickMenuIcon:A,uiState:U,stripeKey:K,googleAPIKey:q,companyId:G,onUpdateAccountClick:J,onFetchLinkTokenClick:Q,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:de})=>{const b=we(),o=be(),{setupView:{paymentAccount:y,plaidConnectionDetails:re,allBankAccounts:le,accountFetchStatus:T},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,D=y?.providerVerificationStatus,ue=T.fetchState==="In-Progress"||T.fetchState==="Not-Started",f=Ce({mode:"onSubmit",reValidateMode:"onChange",defaultValues:W(i),values:W(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(G)}),V=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,j=De(w?.country);u={street:a[n].street??l.strings.empty,city:w?.locality??l.strings.empty,state:w?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:w?.countryCode??l.strings.empty,postalCode:w?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Ve(v.selectedOption)});u!=null&&de(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&J(g.account.selectedOption,y.paymentAccountId)};F.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&Pe(()=>me(g,a))});return()=>{c.unsubscribe()}});const E=b.mode==="light"?new k(b.colors.brandColorJadeLight):new k(b.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:B}=xe.getLocalizedStrings(),ge=B.section.subTitle,{text:ye,subText:fe}=he,L=h.cardsList.length>0,z=h?.cardsList[0]?.brand??"other",O=h?.addCardPaymentSourceStatus.fetchState,C=Oe(S.header,S.titleText,S.protectedCardNo,h);let _;L&&(_={header:C.header,title:C.title,subtitle:C.subtitle,status:C.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:L===!0,icon:{element:t.jsx("img",{src:R(z).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:R(z).name}),color:new k(E)},showCompletedIcon:!1,isError:O==="Error",isLoading:O==="In-Progress",isCompleted:!0,showRightArrow:!1});const[M,Se]=F.useState(!1);return t.jsxs(He,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:B.section.title,backgroundColor:b.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(Re,{windowSize:o,children:[t.jsx(We,{windowSize:o,children:ge}),ue?t.jsx(Ne,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(Je,{children:t.jsx("form",{id:N(H),onSubmit:pe,children:t.jsxs(Ue,{windowSize:o,children:[t.jsx(Me,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:re,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:r,onFetchLinkTokenClick:Q,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:ee,isError:D?.code==="require_info"||D?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:E},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:_,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:M}),Ke(o,l.headers.billingAddress,ce,q,r)]})})})}),ke(f.formState.dirtyFields)?t.jsx($e,{formId:N(H),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:V?.fetchState==="In-Progress",isDisabled:V?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(_e,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:U.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:K,cardSetupInProgress:M,setCardSetupInProgress:Se})]})},W=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(r=>({label:r.accountName,value:r.accountId}))}},[n]:Te(n,e.subscriptionBillingAddress)[n]}},Re=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
height: 100%;
|
|
@@ -6,13 +6,13 @@ import{g as Se,e as we,aa as Ce,cQ as Pe,aX as k,O as xe,V as t,x as P,bE as Ie,
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
align-items: center;
|
|
8
8
|
row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
-
`,He=
|
|
9
|
+
`,He=d.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
|
-
`,We=
|
|
15
|
+
`,We=d(Ee)`
|
|
16
16
|
color: ${e=>e.theme.colors.hero};
|
|
17
17
|
display: flex;
|
|
18
18
|
justify-content: center;
|
|
@@ -20,7 +20,7 @@ import{g as Se,e as we,aa as Ce,cQ as Pe,aX as k,O as xe,V as t,x as P,bE 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
|
-
`,Ne=
|
|
23
|
+
`,Ne=d.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
width: 100%;
|
|
26
26
|
height: calc(100vh - 110px);
|
|
@@ -28,17 +28,17 @@ import{g as Se,e as we,aa as Ce,cQ as Pe,aX as k,O as xe,V as t,x as P,bE as Ie,
|
|
|
28
28
|
justify-content: center;
|
|
29
29
|
align-items: center;
|
|
30
30
|
background-color: ${e=>e.theme.colors.grey4};
|
|
31
|
-
`,Ue=
|
|
31
|
+
`,Ue=d.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
34
|
-
`,Ke=(e,i,m,
|
|
34
|
+
`,Ke=(e,i,m,r,A)=>t.jsxs(qe,{children:[t.jsx(Ge,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Be,{googleAPIKey:r??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),qe=d.div`
|
|
35
35
|
margin-top: ${s.sp3};
|
|
36
36
|
margin-bottom: ${s.sp4};
|
|
37
|
-
`,Ge=
|
|
37
|
+
`,Ge=d.div`
|
|
38
38
|
${e=>`${Fe.title.style(e.windowSize)}`};
|
|
39
39
|
margin-bottom: ${s.sp3};
|
|
40
40
|
margin-top: ${s.sp4};
|
|
41
41
|
color: ${e=>e.isError===!0?Le.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
|
|
42
|
-
`,Je=
|
|
42
|
+
`,Je=d.div`
|
|
43
43
|
flex: 1;
|
|
44
44
|
`,N=e=>`${e}_form`;export{ct as default,N as uniqueName};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as b,cy as V,cz as z,cA as M,ko as W,a_ as q,O as H}from"./index-
|
|
1
|
+
import{V as b,cy as V,cz as z,cA as M,ko as W,a_ as q,O as H}from"./index-1P9yFC0k.js";import{a as f}from"./sentry-DW9sKdqh.js";import{H9 as J}from"./zeni-epic-state-TSfU2WWJ.js";import{u as X}from"./ReviewOverlay-Dhb-kL6G-MVhyZE4H.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./mui-lMF7eHp6.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.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]="7dea0479-569e-4f1e-95fa-96ec8e42ba74",e._sentryDebugIdIdentifier="sentry-dbid-7dea0479-569e-4f1e-95fa-96ec8e42ba74")}catch{}})();const{common:s,spendManagement:{billPay:x}}=H.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,w]=f.useState(!1),[n,v]=f.useState(T(e,u)),[p,k]=f.useState(u),[P,E]=f.useState(0),[y,j]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(u&&(I=setInterval(()=>{v(d=>d.map((S,L)=>(clearInterval(I),L===P?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),P===n.length&&p&&(k(!1),clearInterval(I)),!u&&e.fetchState==="Completed"&&v(T(e,!1)),()=>{clearInterval(I)}),[n.length,P,p,e.fetchState,u,e]);const R=n.length,h=n.filter(d=>d.reviewStatus.code!=="error").length,A=()=>{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,_),w(!0)},D={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,_,Y(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:F}=G(m,h,R,p),B=e.fetchState==="Completed"&&h===0,$=()=>{r.trackBillPayBulkSubmit(i,g,_),l(i)},U={label:B?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:B?c:$,style:i==="send_for_approval"?{minWidth:"92px"}:{}},O={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:A,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[C?b.jsx(V,{titleComponent:b.jsx(M,{children:y.title}),descriptionComponent:b.jsx(z,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:D,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(X,{title:N,description:{content:F,isError:e.fetchState==="Completed"&&h===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:O,hideCancel:B}})]})},T=(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:q("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&J(t.reviewErrors[0].reviewErrorCode),subTitle:K(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??""}}))},Y=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=W([...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)}},G=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:_,do_:u,does:C}=s.texts,w=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_>",w?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}},K=(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,Y as getBillsUniqueType};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as l,V as s,ac as b,o as e}from"./index-
|
|
1
|
+
import{e as l,V as s,ac as b,o as e}from"./index-1P9yFC0k.js";import{n as a}from"./mui-lMF7eHp6.js";import{o as p}from"./commonDimensions-DIm7kTtR-D2v7Ywwl.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]="ccc3bff0-ffdd-4a7c-bed8-f5b6ea73bf99",o._sentryDebugIdIdentifier="sentry-dbid-ccc3bff0-ffdd-4a7c-bed8-f5b6ea73bf99")}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{g as dt,e as ut,aS as ve,V as a,ag as W,aa as pt,d4 as mt,aA as ft,cQ as yt,a_ as Te,aR as Oe,go as ht,a as gt,bE as xt,ac as St,cR as wt,cy as Ct,cz as Dt,cA as bt,L as vt,ae as Tt,aT as Ot,o as l,x as V,ao as je,O as Ae,gp as It,fM as Ie,fd as Nt,c as kt,b as $t,an as Fe,N as Pt,M as Vt,u as N}from"./index-Bo11DKO-.js";import{a as j}from"./sentry-Bvx1fyUW.js";import{n as d}from"./mui-BRi75_3V.js";import{FD as jt,bi as Y,G9 as At,G8 as Ft,Ga as _t}from"./zeni-epic-state-CMOi_tqS.js";import{r as Lt,z as Bt}from"./CompanyOfficerDetailsSection-6LXCxWYP-BquV5qkG.js";import"./liveblocks-CrpEALXl.js";import"./core-YvsCVRKf.js";import"./recharts-CYsFsR9k.js";import"./lottie-Ca8n7ZMA.js";import"./analytics-DpcwQWv0.js";import"./lexical-pvu9rk3d.js";import"./utils-DcyOBG_q.js";import"./helper-COxPEvgL-CbfWDvU1.js";import"./LabeledAddressValueField-CAr-IiTa-e1iFQQnR.js";import"./LabeledCountryMultiSelectField-C6z1v9S1-Dj_C6QJZ.js";import"./LabeledCreatableSingleSelectField-Dhi0n2ky-twJ7Y41Z.js";import"./LabeledDocumentField-B3QSq1eM-Dq2jaVHU.js";import"./commonTypes-CF6UyWSv-CKAjkZfQ.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="4ac8a83e-cec8-4fef-9e73-5cfd00ad0034",t._sentryDebugIdIdentifier="sentry-dbid-4ac8a83e-cec8-4fef-9e73-5cfd00ad0034")}catch{}})();const x={width:new V(343,580,726),titleWidth:new V(343,580,726,826),subTitlePaddingTop:new V(12,N[3]),subTitlePaddingBottom:new V(N[3],N[3]),verificationDetailsRowGap:new V(12,N[5],N[5]),termsPaddingLeftRight:new V(N[0],N[3])},zt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",b="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:Et,currency:ke,footer:$e,strings:{empty:Rt}}}=Ae.getLocalizedStrings(),Ta=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:k,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:B,productType:y,allIndustries:A,companyTitles:z,maxInsuredAmount:m,isDisabled:$,isSettings:o=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:Q=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:F,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Me,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Ue,onCompanyOfficerUpdated:Ge,saveNewAddressInLocalStore:oe,onSaveDetailsClick:We,onClickMenuIcon:Ye,onExecuteTreasuryTransfer:Qe})=>{const Ze=dt(),u=ut(),{updateStatus:R,companyView:_,companyDetailsLocalData:r,companyOfficerLocalData:C}=t,qe=ve(R.fetchState),M=_?.company.company.featuresActivationInfo.connectedAccountProvider,Je=M==="unit"?a.jsxs(Jt,{children:[s.terms.term1,a.jsx(W,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(W,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(W,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(W,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ke,Z]=j.useState(!1),[U,re]=j.useState("save"),[q,He]=j.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Mt(t,A,z,S)}),{isValid:Xe}=p.formState,G=_?.company.company.companyBillPayInfo,J=_?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?J?.companyVerificationStatus:G?.companyVerificationStatus,T=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${T<0?1:T+1}`,et=()=>{const e=C[O],n=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,D=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?Y(fe):void 0,he=r?.companyDescription,X=r?.companyLegalName,ge=r?.companyIndustry,xe=r?.phone,Se=r?.website,we=r?.addressStatus?.addressToCreate!=null?Y(r?.addressStatus?.addressToCreate):void 0,ee=r?.primaryContactLocalData,Ce=ee?.firstName,De=ee?.lastName,be=ee?.email;n!=null&&f!=null&&D!=null&&I!=null&&c!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&X!=null&&xe!=null&&Se!=null&&ge!=null&&X!=null&&we!=null&&Ce!=null&&De!=null&&be!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:D,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:X,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:De,email:be},y,o?"Settings":void 0)},tt=()=>{const e=C[O],n=r?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,D=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${v}.${T<0?0:T}.name`,{shouldFocus:!0}),!1):D&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=r?.primaryContactLocalData,c=e?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&p.trigger(`${b}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||K!=null&&K?.length>0)return p.trigger(`${v}.${T<0?0:T}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(U!=="verification"&&re("verification"),M==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${v}.${T}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(r?.deleteFileStatusById??{}).filter(c=>c!=null);jt(e.concat(n)).fetchState!=="In-Progress"&&Xe&&(et(),Re?.(O),Q===!0&&Qe?.())}),st=async(e,n)=>{e.includes(b)?Me?.(n[b]):e.includes(v)&&Ge?.(n[v])},nt=j.useCallback(ft((e,n)=>{st(e,n)},300),[]);j.useEffect(()=>{const e=p.watch((n,{name:c})=>{c!=null&&n!=null&&yt(()=>nt(c,n))});return()=>{e.unsubscribe()}});const le=ve(t.companyDetailsLocalData?.addressStatus);j.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(oe?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${b}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,oe,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),ot=ce?.map(e=>e.role),rt={onOkClick:()=>{Z(!1),F();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${b}.fileIds`).forEach(c=>{n.includes(c)||e.push(c)}),ot?.forEach((c,f)=>{const D=c?.fileIds??[];p.getValues(`${v}.${f}.fileIds`).forEach(I=>{D.includes(I)||e.push(I)})}),e.length!==0&&Ue?.(e)},onCancelClick:()=>{Z(!1)}},lt=Te(Oe(m),m,ke.currencySymbol).toUpperCase(),H=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(y==="zeni_treasury"&&P?.code==="pending_review"&&qe==="In-Progress"&&R.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:Q===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:Q===!0?s.submittedDescriptionWithTransfer.replace("__amount__",Te(Oe(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,ke.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{F(),te?.()},variant:"primary"})]});const ct=()=>{const e=G?.companyVerificationStatus?.code==="verified",n=(r?.countriesOfOperations?.length??0)>0||r?.companySourceOfFunds!=null||r?.transactionVolume!=null||r?.purposeOfAccount!=null||r?.registeredAddressStatus!=null||r?.usNexus!=null;return e===!0&&n===!1};return a.jsxs(Ut,{isSettings:o,children:[a.jsx(xt,{title:h&&w===!0?Rt:s.header,backgroundColor:Ze.colors.grey5,style:{zIndex:q?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?Z(!0):F()},showBackButton:!o&&!h,showMenuIcon:o?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ye,rightSideComponent:h?a.jsx(oa,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{F(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(Ct,{titleComponent:a.jsx(bt,{children:s.discardTitle}),descriptionComponent:a.jsx(Dt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:rt}):null,a.jsxs(Yt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Wt,{windowSize:u,children:o?Et.infoText.businessVerification:s.title}),k==="In-Progress"||k==="Not-Started"?a.jsx(Qt,{children:a.jsx(vt,{size:"ExtraLarge",start:!0})}):a.jsx(Tt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Gt,{children:[a.jsxs(Kt,{windowSize:u,children:[a.jsx(Ht,{windowSize:u,children:H?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!H&&a.jsx(Xt,{children:a.jsxs(ea,{children:[a.jsx(Ve,{}),de&&a.jsx(Ve,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:H,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(Zt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:K??[],sectionId:v,isRefreshingViewInBackground:L,connectedAccountProvider:M,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:$,filesEndPoint:i,authParams:B,isPopupOpen:q,openPopup:He,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Bt,{companyDetails:r,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:b,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":$,fileProps:{authParams:B,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:M,allIndustries:A,allNationalityCountries:S})]}),y==="zeni_accounts"?a.jsx(qt,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),k==="Completed"&&(y==="zeni_treasury"?J?.companyVerificationStatus?.code!=="pending_review"&&J?.companyVerificationStatus?.code!=="verified":G?.businessVerificationStatus?.code!=="pending_review"&&G?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?$e.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:U==="verification"&&R.fetchState==="In-Progress",isDisabled:$!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?$e.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:U==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)F();else{const e=C[O],n=r?.primaryContactLocalData;U!=="save"&&re("save");const c=e?.email??"",f=tt(),D=at();f&&D&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?Y(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:r?.companyDescription,legalName:r?.companyLegalName,phone:r?.phone,website:r?.website?.toString(),industry:r?.companyIndustry??"",formattedAddress:r?.addressStatus?.addressToCreate!=null?Y(r?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,o?"Settings":void 0),We?.(O))}}},helperText:Je,style:{padding:`12px ${l.sp3}`,zIndex:q?0:4}}):null]})},Mt=(t,S,k,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:B,companyView:y}=t,A=Ae.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[b]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(m=>m.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:A.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:A.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...Ft]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...At]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[v]:Object.values(B).map((m,$)=>{const o=m,h=It(o?.documentTypeSelectedForVerification);return{userId:o?.userId,officerType:o?.officerType??`Officer_${$+1}`,name:{firstName:o?.firstName,lastName:o?.lastName},email:o?.email,fileIds:o?.fileIds??[],dob:o?.birthday?.toDate(),nationalityCountryCode:Nt(o?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:o?.ssn,role:{selectedOption:o?.titleAtCompany,allOptions:k?.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:!z&&$===0?!0:o?.isSelectedForVerification??!1,userVerificationStatus:o?.userVerificationStatus,treasuryUserVerificationStatus:o?.treasuryUserVerificationStatus,syncToken:o?.syncToken,isPhoneVerified:o?.isPhoneVerified,otpChallenge:o?.otpChallenge}})}},Pe=t=>`${t}_form`,Ut=d.div`
|
|
1
|
+
import{g as dt,e as ut,aS as ve,V as a,ag as W,aa as pt,d4 as mt,aA as ft,cQ as yt,a_ as Te,aR as Oe,go as ht,a as gt,bE as xt,ac as St,cR as wt,cy as Ct,cz as bt,cA as Dt,L as vt,ae as Tt,aT as Ot,o as l,x as V,ao as je,O as Ae,gp as It,fM as Ie,fd as Nt,c as kt,b as $t,an as Fe,N as Pt,M as Vt,u as N}from"./index-1P9yFC0k.js";import{a as j}from"./sentry-DW9sKdqh.js";import{n as d}from"./mui-lMF7eHp6.js";import{FD as jt,bi as Y,G9 as At,G8 as Ft,Ga as _t}from"./zeni-epic-state-TSfU2WWJ.js";import{r as Lt,z as Bt}from"./CompanyOfficerDetailsSection-BSFNYauO-46pPRwPa.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";import"./helper-BVESv00--NsacEbMq.js";import"./LabeledAddressValueField-Dl3atH92-SHIpU7rJ.js";import"./LabeledCountryMultiSelectField-BnljZpX0-D5BhNMnw.js";import"./LabeledCreatableSingleSelectField-CiInq9yD-D3hNy9xJ.js";import"./LabeledDocumentField-Ceb8vgVH-CgSohnk4.js";import"./commonTypes-B3mnx2x_-CpkcU002.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="d9996dc5-80eb-49f6-b0ce-ca4f92f0ab13",t._sentryDebugIdIdentifier="sentry-dbid-d9996dc5-80eb-49f6-b0ce-ca4f92f0ab13")}catch{}})();const x={width:new V(343,580,726),titleWidth:new V(343,580,726,826),subTitlePaddingTop:new V(12,N[3]),subTitlePaddingBottom:new V(N[3],N[3]),verificationDetailsRowGap:new V(12,N[5],N[5]),termsPaddingLeftRight:new V(N[0],N[3])},zt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",D="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:Et,currency:ke,footer:$e,strings:{empty:Rt}}}=Ae.getLocalizedStrings(),Ta=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:k,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:B,productType:y,allIndustries:A,companyTitles:z,maxInsuredAmount:m,isDisabled:$,isSettings:o=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:Q=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:F,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Me,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Ue,onCompanyOfficerUpdated:Ge,saveNewAddressInLocalStore:oe,onSaveDetailsClick:We,onClickMenuIcon:Ye,onExecuteTreasuryTransfer:Qe})=>{const Ze=dt(),u=ut(),{updateStatus:R,companyView:_,companyDetailsLocalData:r,companyOfficerLocalData:C}=t,qe=ve(R.fetchState),M=_?.company.company.featuresActivationInfo.connectedAccountProvider,Je=M==="unit"?a.jsxs(Jt,{children:[s.terms.term1,a.jsx(W,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(W,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(W,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(W,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ke,Z]=j.useState(!1),[U,re]=j.useState("save"),[q,He]=j.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Mt(t,A,z,S)}),{isValid:Xe}=p.formState,G=_?.company.company.companyBillPayInfo,J=_?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?J?.companyVerificationStatus:G?.companyVerificationStatus,T=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${T<0?1:T+1}`,et=()=>{const e=C[O],n=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,b=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?Y(fe):void 0,he=r?.companyDescription,X=r?.companyLegalName,ge=r?.companyIndustry,xe=r?.phone,Se=r?.website,we=r?.addressStatus?.addressToCreate!=null?Y(r?.addressStatus?.addressToCreate):void 0,ee=r?.primaryContactLocalData,Ce=ee?.firstName,be=ee?.lastName,De=ee?.email;n!=null&&f!=null&&b!=null&&I!=null&&c!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&X!=null&&xe!=null&&Se!=null&&ge!=null&&X!=null&&we!=null&&Ce!=null&&be!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:b,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:X,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:be,email:De},y,o?"Settings":void 0)},tt=()=>{const e=C[O],n=r?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,b=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${v}.${T<0?0:T}.name`,{shouldFocus:!0}),!1):b&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=r?.primaryContactLocalData,c=e?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&p.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||K!=null&&K?.length>0)return p.trigger(`${v}.${T<0?0:T}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(U!=="verification"&&re("verification"),M==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${v}.${T}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(r?.deleteFileStatusById??{}).filter(c=>c!=null);jt(e.concat(n)).fetchState!=="In-Progress"&&Xe&&(et(),Re?.(O),Q===!0&&Qe?.())}),st=async(e,n)=>{e.includes(D)?Me?.(n[D]):e.includes(v)&&Ge?.(n[v])},nt=j.useCallback(ft((e,n)=>{st(e,n)},300),[]);j.useEffect(()=>{const e=p.watch((n,{name:c})=>{c!=null&&n!=null&&yt(()=>nt(c,n))});return()=>{e.unsubscribe()}});const le=ve(t.companyDetailsLocalData?.addressStatus);j.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(oe?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${D}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,oe,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),ot=ce?.map(e=>e.role),rt={onOkClick:()=>{Z(!1),F();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||e.push(c)}),ot?.forEach((c,f)=>{const b=c?.fileIds??[];p.getValues(`${v}.${f}.fileIds`).forEach(I=>{b.includes(I)||e.push(I)})}),e.length!==0&&Ue?.(e)},onCancelClick:()=>{Z(!1)}},lt=Te(Oe(m),m,ke.currencySymbol).toUpperCase(),H=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(y==="zeni_treasury"&&P?.code==="pending_review"&&qe==="In-Progress"&&R.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:Q===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:Q===!0?s.submittedDescriptionWithTransfer.replace("__amount__",Te(Oe(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,ke.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{F(),te?.()},variant:"primary"})]});const ct=()=>{const e=G?.companyVerificationStatus?.code==="verified",n=(r?.countriesOfOperations?.length??0)>0||r?.companySourceOfFunds!=null||r?.transactionVolume!=null||r?.purposeOfAccount!=null||r?.registeredAddressStatus!=null||r?.usNexus!=null;return e===!0&&n===!1};return a.jsxs(Ut,{isSettings:o,children:[a.jsx(xt,{title:h&&w===!0?Rt:s.header,backgroundColor:Ze.colors.grey5,style:{zIndex:q?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?Z(!0):F()},showBackButton:!o&&!h,showMenuIcon:o?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ye,rightSideComponent:h?a.jsx(oa,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{F(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(Ct,{titleComponent:a.jsx(Dt,{children:s.discardTitle}),descriptionComponent:a.jsx(bt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:rt}):null,a.jsxs(Yt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Wt,{windowSize:u,children:o?Et.infoText.businessVerification:s.title}),k==="In-Progress"||k==="Not-Started"?a.jsx(Qt,{children:a.jsx(vt,{size:"ExtraLarge",start:!0})}):a.jsx(Tt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Gt,{children:[a.jsxs(Kt,{windowSize:u,children:[a.jsx(Ht,{windowSize:u,children:H?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!H&&a.jsx(Xt,{children:a.jsxs(ea,{children:[a.jsx(Ve,{}),de&&a.jsx(Ve,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:H,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(Zt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:K??[],sectionId:v,isRefreshingViewInBackground:L,connectedAccountProvider:M,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:$,filesEndPoint:i,authParams:B,isPopupOpen:q,openPopup:He,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Bt,{companyDetails:r,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":$,fileProps:{authParams:B,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:M,allIndustries:A,allNationalityCountries:S})]}),y==="zeni_accounts"?a.jsx(qt,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),k==="Completed"&&(y==="zeni_treasury"?J?.companyVerificationStatus?.code!=="pending_review"&&J?.companyVerificationStatus?.code!=="verified":G?.businessVerificationStatus?.code!=="pending_review"&&G?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?$e.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:U==="verification"&&R.fetchState==="In-Progress",isDisabled:$!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?$e.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:U==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)F();else{const e=C[O],n=r?.primaryContactLocalData;U!=="save"&&re("save");const c=e?.email??"",f=tt(),b=at();f&&b&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?Y(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:r?.companyDescription,legalName:r?.companyLegalName,phone:r?.phone,website:r?.website?.toString(),industry:r?.companyIndustry??"",formattedAddress:r?.addressStatus?.addressToCreate!=null?Y(r?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,o?"Settings":void 0),We?.(O))}}},helperText:Je,style:{padding:`12px ${l.sp3}`,zIndex:q?0:4}}):null]})},Mt=(t,S,k,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:B,companyView:y}=t,A=Ae.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(m=>m.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:A.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:A.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...Ft]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...At]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[v]:Object.values(B).map((m,$)=>{const o=m,h=It(o?.documentTypeSelectedForVerification);return{userId:o?.userId,officerType:o?.officerType??`Officer_${$+1}`,name:{firstName:o?.firstName,lastName:o?.lastName},email:o?.email,fileIds:o?.fileIds??[],dob:o?.birthday?.toDate(),nationalityCountryCode:Nt(o?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:o?.ssn,role:{selectedOption:o?.titleAtCompany,allOptions:k?.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:!z&&$===0?!0:o?.isSelectedForVerification??!1,userVerificationStatus:o?.userVerificationStatus,treasuryUserVerificationStatus:o?.treasuryUserVerificationStatus,syncToken:o?.syncToken,isPhoneVerified:o?.isPhoneVerified,otpChallenge:o?.otpChallenge}})}},Pe=t=>`${t}_form`,Ut=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as m,V as r,O as w,w as y,o as a,N as x,M as b}from"./index-
|
|
1
|
+
import{e as m,V as r,O as w,w as y,o as a,N as x,M as b}from"./index-1P9yFC0k.js";import{n as o}from"./mui-lMF7eHp6.js";import{a as n}from"./sentry-DW9sKdqh.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]="19151f8c-41d0-4c05-92c7-dfa3637967a7",e._sentryDebugIdIdentifier="sentry-dbid-19151f8c-41d0-4c05-92c7-dfa3637967a7")}catch{}})();const $=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.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:t}}=w.getLocalizedStrings(),C={subText:new x("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=m(),h=e.type.code.includes("credit")?t.chargeCardsPromo.credit:t.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?t.cardList.physicalCard:t.cardList.virtualCard;const i=p.strings.space+t.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,f=e.status.code==="request_on_hold"||!s?d:i,c=e.type.code.includes("physical");return r.jsxs(v,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${f}`,children:[h,r.jsx(H,{}),d,c&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,c&&s?r.jsx(u,{}):null]})},v=o(b)`
|
|
2
2
|
${e=>e.forDetailPage?{...y.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{g as k,e as f,V as t,bE as te,fx as L,w as u,b5 as Q,c9 as ie,o as i,O as w,d as B,x as h,an as v,dt as oe,u as l,a_ as re,aQ as O,b$ as ae,ak as $,ac as z,jy as X,jz as q,je as se,cI as ne,cL as de,ao as T,jf as le,jg as ce}from"./index-
|
|
1
|
+
import{g as k,e as f,V as t,bE as te,fx as L,w as u,b5 as Q,c9 as ie,o as i,O as w,d as B,x as h,an as v,dt as oe,u as l,a_ as re,aQ as O,b$ as ae,ak as $,ac as z,jy as X,jz as q,je as se,cI as ne,cL as de,ao as T,jf as le,jg as ce}from"./index-1P9yFC0k.js";import{n as o}from"./mui-lMF7eHp6.js";import{H0 as b,bh as he}from"./zeni-epic-state-TSfU2WWJ.js";import{P as R,a as K}from"./sentry-DW9sKdqh.js";import{F as pe}from"./InsightsSection-tUBzsCix-DBW2f1wX.js";import{H as ge,I as me,X as xe,Y as we,J as ue,K as ye,V as fe}from"./recharts-CatO_S9c.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";import"./NavigationDots-CwCZ9EAa-DxhHWVBc.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]="8e7379e2-95e5-4cb6-9b33-3164a65aebc7",e._sentryDebugIdIdentifier="sentry-dbid-8e7379e2-95e5-4cb6-9b33-3164a65aebc7")}catch{}})();const be=({x:e,y:a,width:n,height:s,payload:r})=>{const c=k();return t.jsx(fe,{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})},E=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(je,{children:t.jsx(ke,{children:t.jsxs("div",{children:[t.jsxs(W,{children:[t.jsx(G,{children:E.month})," ",t.jsx(H,{children:b(n).format($e)})]}),t.jsxs(W,{children:[t.jsx(G,{children:E.cashback}),t.jsx(H,{children:O("0,0.[00]",{amount:a?.[0].value??0,currencyCode:(a?.[0].payload).currencyCode,currencySymbol:(a?.[0].payload).currencySymbol})})]})]})})}):null,W=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${i.sp1};
|
|
4
4
|
`,je=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as at,e as Ie,ay as Lt,a9 as Dt,hb as br,hU as Ti,aX as et,hc as $r,aS as tt,V as t,hg as Ai,bE as Ei,u as h,g7 as vr,aQ as qe,ac as Q,bD as Ri,c1 as ta,d as c,o as a,O as ke,jk as kr,w as _,cy as Fi,jl as Pi,fr as zi,h1 as Mi,jm as Vi,bH as Oi,bT as jr,aV as aa,x as T,b9 as ra,bM as Ir,ak as Ce,eU as Hi,bc as ia,j8 as Ni,aW as Lr,y as ft,hf as Dr,cl as Bi,L as Ct,b5 as Wi,dz as _i,cC as Ui,jn as Zi,jo as Tr,jp as dt,p as Gi,b1 as qi,jq as Yi,jr as Ji,cz as Ki,dg as Xi,hR as Qi,an as ze,c3 as eo,ax as Ut,js as Ma,jt as to,du as ao,N as Va,M as Ar,bb as ro,aE as io,j2 as mt,jd as oo,ji as no,jj as so,dE as Oa,f9 as co,a as Er,cI as Rr,jb as lo,c6 as ho,n as Fr,ju as po,aw as kt,c9 as Ha,bz as uo,dq as mo,as as go,ao as lt,ha as Co,b as fo,bI as wo,jv as Tt,fC as xo,jw as Pr,gK as zr,jx as It,iy as Mr,e2 as Vr,b$ as yo,ex as Or,je as So,cL as bo,e1 as $o,da as vo,jf as ko,jg as jo,eD as Io,co as Lo,cp as Do}from"./index-
|
|
1
|
+
import{g as at,e as Ie,ay as Lt,a9 as Dt,hb as br,hU as Ti,aX as et,hc as $r,aS as tt,V as t,hg as Ai,bE as Ei,u as h,g7 as vr,aQ as qe,ac as Q,bD as Ri,c1 as ta,d as c,o as a,O as ke,jk as kr,w as _,cy as Fi,jl as Pi,fr as zi,h1 as Mi,jm as Vi,bH as Oi,bT as jr,aV as aa,x as T,b9 as ra,bM as Ir,ak as Ce,eU as Hi,bc as ia,j8 as Ni,aW as Lr,y as ft,hf as Dr,cl as Bi,L as Ct,b5 as Wi,dz as _i,cC as Ui,jn as Zi,jo as Tr,jp as dt,p as Gi,b1 as qi,jq as Yi,jr as Ji,cz as Ki,dg as Xi,hR as Qi,an as ze,c3 as eo,ax as Ut,js as Ma,jt as to,du as ao,N as Va,M as Ar,bb as ro,aE as io,j2 as mt,jd as oo,ji as no,jj as so,dE as Oa,f9 as co,a as Er,cI as Rr,jb as lo,c6 as ho,n as Fr,ju as po,aw as kt,c9 as Ha,bz as uo,dq as mo,as as go,ao as lt,ha as Co,b as fo,bI as wo,jv as Tt,fC as xo,jw as Pr,gK as zr,jx as It,iy as Mr,e2 as Vr,b$ as yo,ex as Or,je as So,cL as bo,e1 as $o,da as vo,jf as ko,jg as jo,eD as Io,co as Lo,cp as Do}from"./index-1P9yFC0k.js";import{a as o,P as To}from"./sentry-DW9sKdqh.js";import{n as r,c as we,k as Hr}from"./mui-lMF7eHp6.js";import{FB as At,bh as Ao,bf as Eo,G$ as Ro}from"./zeni-epic-state-TSfU2WWJ.js";import{x as Fo}from"./NavigationDots-CwCZ9EAa-DxhHWVBc.js";import{A as Po,i as zo,a as Mo,l as Vo,r as Oo,t as Ho,n as No}from"./add-to-wallet-DgdBD8_G-DEXYRcE2.js";import{L as Zt}from"./lottie-B5och2Z9.js";import{j as Bo}from"./CardNumberSubText-Cn0EZrNE-CM0wrvGR.js";import{t as Wo}from"./panelSelectedMixin-Cddsb26L-B4nQ3pP2.js";import{r as Nr}from"./core-BzWT0IJw.js";import{l as Br}from"./uploadReceipts-CIgkuVpu-Dz8nlOVf.js";import{L as _o,z as Uo,k as Zo,P as Go}from"./LockCardPage-0piclOz3-CWMdRPde.js";import"./liveblocks-BfbuekkT.js";import"./recharts-CatO_S9c.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";import"./RoleWithToolTip-BfM8Ltz4-Cc0s-RSO.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]="36984240-a4ff-4da1-9976-86aea6c35dd2",e._sentryDebugIdIdentifier="sentry-dbid-36984240-a4ff-4da1-9976-86aea6c35dd2")}catch{}})();const Wr=ke.getLocalizedStrings().spendManagement.chargeCard,qo=({controllerEmails:e,classListFetchState:i,isChargeCardFeatureEnabled:s,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:p,isChargeCardSetupEnabled:w,chargeCardDetailView:l,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:S,creditAccountRepayment:n,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,appleWalletLink:j,googleWalletLink:D,style:u,showDrawerAnimation:A,setWalletType:b,setIsAddToWalletDrawerOpen:z,isDebitCard:M})=>{const y=Dt().analytics,{isIPadScreen:Z}=Yi(),{isAndroidScreen:Y}=Ji(),J=Lt(),E=At(J.loggedInUserRoleMap);return t.jsx(Yo,{style:u,children:Z===!0?t.jsx(ea,{onClick:()=>{dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",productInformation:C,creditAccountInformation:g,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:S,creditAccountRepayment:n}),window.open(j,"_blank")}}):Y===!0?t.jsx(Qt,{onClick:()=>{dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",productInformation:C,creditAccountInformation:g,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:S,creditAccountRepayment:n}),window.open(D,"_blank")}}):t.jsxs(t.Fragment,{children:[t.jsx(ea,{onClick:()=>{b("apple"),A.current="slide-in-right-to-left-add-to-wallet",dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:s,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:S,creditAccountRepayment:n}),z(!0)}}),t.jsx(Qt,{onClick:()=>{b("google"),A.current="slide-in-right-to-left-add-to-wallet",dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:s,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:S,creditAccountRepayment:n}),z(!0)}})]})})},Qt=({onClick:e})=>{const i=at();return t.jsx(Er,{prefixIcon:t.jsx(Jo,{}),label:Wr.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":Q("add-to-google-wallet-button")})},ea=({onClick:e})=>{const i=at();return t.jsx(Er,{prefixIcon:t.jsx(Ko,{}),label:Wr.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":Q("add-to-apple-wallet-button")})},Yo=r.div`
|
|
2
2
|
margin-top: ${a.sp4};
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as Xa,aS as z,ay as er,g6 as tr,j2 as W,e as Pe,o as a,g as ta,V as t,bE as ar,gk as rr,fx as ie,w as D,c1 as nt,d as p,aQ as me,ac as V,a_ as st,O as Fe,x as H,ak as K,N as ir,M as or,d8 as nr,au as aa,bM as sr,b1 as ct,aV as dr,ao as lt,aa as cr,h4 as lr,eJ as ur,aq as hr,ae as mr,gq as pr,a as Nt,u as _,di as ra,as as Cr,an as gr,c as br,d7 as fr,bx as xr,c3 as yr}from"./index-
|
|
1
|
+
import{a9 as Xa,aS as z,ay as er,g6 as tr,j2 as W,e as Pe,o as a,g as ta,V as t,bE as ar,gk as rr,fx as ie,w as D,c1 as nt,d as p,aQ as me,ac as V,a_ as st,O as Fe,x as H,ak as K,N as ir,M as or,d8 as nr,au as aa,bM as sr,b1 as ct,aV as dr,ao as lt,aa as cr,h4 as lr,eJ as ur,aq as hr,ae as mr,gq as pr,a as Nt,u as _,di as ra,as as Cr,an as gr,c as br,d7 as fr,bx as xr,c3 as yr}from"./index-1P9yFC0k.js";import{a as l}from"./sentry-DW9sKdqh.js";import{n as r,c as ut,k as Sr}from"./mui-lMF7eHp6.js";import{FB as wr,G_ as kr,bh as zt,bL as $r,bZ as Ir}from"./zeni-epic-state-TSfU2WWJ.js";import{t as vr}from"./SpendManagementSection-DAqR2c98-cjG-Eksr.js";import{D as oe,r as jr,i as Lr}from"./ChargeCardListTable-BoufojYF-CbhHfWWK.js";import{ChargeCardPromoUserContent as Ar}from"./ChargeCardPromoPage-CKl6K-nr-2tZKF-Be.js";import{N as Er,J as Pr}from"./PromoBaseCards-BrXJEufN-DEHvY13g.js";import{z as Ot,L as _t,k as Fr,P as Tr}from"./LockCardPage-0piclOz3-CWMdRPde.js";import{r as Mr,i as Dr}from"./graphic-no-data-net-burn-l-CzmycA0m-ukcWACRx.js";import{t as Rr,o as Br}from"./arrow-south-east-round-PEovUgvH-CeOVinw8.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";import"./RoleWithToolTip-BfM8Ltz4-Cc0s-RSO.js";import"./CardNumberSubText-Cn0EZrNE-CM0wrvGR.js";import"./NavigationDots-CwCZ9EAa-DxhHWVBc.js";import"./usp-line-BBd1wKwW-BnQRJ1kE.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]="87c7b806-65be-4963-83e1-8c31a4a54e35",e._sentryDebugIdIdentifier="sentry-dbid-87c7b806-65be-4963-83e1-8c31a4a54e35")}catch{}})();const ht={infoSubheadingTextMarginTop:new H(_[0],_[0]),cardsMinWidth:new H(343,353)},Ee=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=Pe(),A=$!==void 0,G=$==="rejected"?Ee.status.requestRejected:$==="under_review"?Ee.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(qr,{children:n})]}),!A&&t.jsxs(Kr,{children:[t.jsx(Jr,{}),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(Qr,{isStatusMode:A,children:t.jsx(Er,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(Zr,{isStatusMode:A,children:t.jsx(Pr,{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=Pe();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(Xr,{windowSize:m,children:t.jsxs(ei,{windowSize:m,onClick:()=>n(e),"data-testid":V("total-cashback-info"),children:[t.jsx(sa,{children:Ee.createNow}),t.jsx(ti,{})]})})]}),e==="creditCard"?t.jsxs(ai,{children:[t.jsx(ri,{children:Ee.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{cl as ni,V as t,aa as li,ae as di,O as le,e as ie,ay as Se,a9 as ci,g as ze,hb as hi,j3 as pi,j4 as ui,j5 as mi,aT as gi,o as i,ac as G,cu as xi,w as Re,d as I,b5 as wi,cC as Ci,j6 as fi,j7 as yi,c1 as ye,cF as Oe,bT as Si,aV as ki,x as C,eU as vi,bc as ji,j8 as $i,aW as bi,y as Ii,ak as ee,hf as Li,ao as Y,an as J,u as p,cU as zi,eS as Fi,j9 as Ai,ja as Pi,N as ft,c6 as yt,jb as St,jc as Bi,b$ as Ri,cI as Ye,jd as kt,dE as Di,dF as q,aQ as ce,cE as vt,L as jt,je as _i,cL as Ei,iX as Je,bM as $t,bO as bt,jf as Ti,jg as Oi,aX as je,bv as Vi,c7 as Ui,c8 as Ni,jh as Mi}from"./index-Bo11DKO-.js";import{P as pe,a as f}from"./sentry-Bvx1fyUW.js";import{n as o,c as Xe}from"./mui-BRi75_3V.js";import{T as It}from"./RoleWithToolTip-BYO1YG6N-Dxzi9cht.js";import{j as Ve}from"./CardNumberSubText-CN1RN7Tf-CiDN3JCH.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]="2f2de961-7ada-4a61-a416-7673922e32c9",e._sentryDebugIdIdentifier="sentry-dbid-2f2de961-7ada-4a61-a416-7673922e32c9")}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)},Ze={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},Ze,et,tt,it,ot]:[Qe,Ze,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:j}}=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")},Gi=({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:$,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,B]=f.useState(!1);f.useEffect(()=>{h||B(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),B(!1))},[l.length,h]);const R=r.cardId===a.id,D=l.includes(a.id),z=R&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=R&&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(()=>{$(a.id,S)},[a.id]),O=kt(a)/a.limit.amount*100,W=a?.cardHolderUserId===w.userId,A=a.status.code!=="closed"&&a.status.code!=="closed_by_customer",V=Di(a.cardHolderUser,!1),H=a.balance,F=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)})}),O!==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(O)}${Hi}`})}):null]}),X=a.type.code,_=j.cardList.tooltip[X],de=_!=null?W?_.self:`${V} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Xi,{onClick:M,"data-testid":G("card-row",a.id),children:t.jsxs(Zi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:F[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:V,className:"cardHolderName",children:V===Ce.strings.empty?Ce.strings.hyphen:V})})}),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:F[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:j.cardDetails.expiryHideOut+Ce.strings.space+a.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:F[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(Ve,{cardDetail:a,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===a.id?t.jsx(jt,{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":G("send-reminder",a.id),children:j.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:F[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&&A&&B(!0)},onMouseLeave:()=>{A&&B(!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&&A:a.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:j.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Oe,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Fe=>{b||m(Fe)},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:j.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:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),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:j.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:j.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:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.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:j.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:j.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:j.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:j.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:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.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:j.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:j.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:j.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:j.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:j.cardDetails.moreOptions.lock})]}),t.jsx($e,{}),t.jsxs(L,{windowSize:a,hoverImportant:!0,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.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:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Yi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Je,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Je,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Yi=(e,s)=>{switch(e){case"active":return new je(I.success);case"request_on_hold":return new je(I.graphColor36);case"inactive":return new je(I.alert);default:return new je(s.colors.grey1)}},T=o(J)`
|
|
1
|
+
import{cl as ni,V as t,aa as li,ae as di,O as le,e as ie,ay as Se,a9 as ci,g as ze,hb as hi,j3 as pi,j4 as ui,j5 as mi,aT as gi,o as i,ac as G,cu as xi,w as Re,d as I,b5 as wi,cC as Ci,j6 as fi,j7 as yi,c1 as ye,cF as Oe,bT as Si,aV as ki,x as C,eU as vi,bc as ji,j8 as $i,aW as bi,y as Ii,ak as ee,hf as Li,ao as Y,an as J,u as p,cU as zi,eS as Fi,j9 as Ai,ja as Pi,N as ft,c6 as yt,jb as St,jc as Bi,b$ as Ri,cI as Ye,jd as kt,dE as Di,dF as q,aQ as ce,cE as vt,L as jt,je as _i,cL as Ei,iX as Je,bM as $t,bO as bt,jf as Ti,jg as Oi,aX as je,bv as Vi,c7 as Ui,c8 as Ni,jh as Mi}from"./index-1P9yFC0k.js";import{P as pe,a as f}from"./sentry-DW9sKdqh.js";import{n as o,c as Xe}from"./mui-lMF7eHp6.js";import{T as It}from"./RoleWithToolTip-BfM8Ltz4-Cc0s-RSO.js";import{j as Ve}from"./CardNumberSubText-Cn0EZrNE-CM0wrvGR.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]="ca975cc6-5a8c-4c1b-bc13-75e8dc10d695",e._sentryDebugIdIdentifier="sentry-dbid-ca975cc6-5a8c-4c1b-bc13-75e8dc10d695")}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)},Ze={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},Ze,et,tt,it,ot]:[Qe,Ze,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:j}}=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")},Gi=({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:$,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,B]=f.useState(!1);f.useEffect(()=>{h||B(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),B(!1))},[l.length,h]);const R=r.cardId===a.id,D=l.includes(a.id),z=R&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=R&&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(()=>{$(a.id,S)},[a.id]),O=kt(a)/a.limit.amount*100,W=a?.cardHolderUserId===w.userId,A=a.status.code!=="closed"&&a.status.code!=="closed_by_customer",V=Di(a.cardHolderUser,!1),H=a.balance,F=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)})}),O!==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(O)}${Hi}`})}):null]}),X=a.type.code,_=j.cardList.tooltip[X],de=_!=null?W?_.self:`${V} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Xi,{onClick:M,"data-testid":G("card-row",a.id),children:t.jsxs(Zi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:F[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:V,className:"cardHolderName",children:V===Ce.strings.empty?Ce.strings.hyphen:V})})}),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:F[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:j.cardDetails.expiryHideOut+Ce.strings.space+a.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:F[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(Ve,{cardDetail:a,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===a.id?t.jsx(jt,{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":G("send-reminder",a.id),children:j.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:F[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&&A&&B(!0)},onMouseLeave:()=>{A&&B(!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&&A:a.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:j.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Oe,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Fe=>{b||m(Fe)},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:j.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:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),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:j.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:j.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:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.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:j.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:j.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:j.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:j.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:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.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:j.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:j.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:j.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:j.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:j.cardDetails.moreOptions.lock})]}),t.jsx($e,{}),t.jsxs(L,{windowSize:a,hoverImportant:!0,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.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:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Yi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Je,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Je,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Yi=(e,s)=>{switch(e){case"active":return new je(I.success);case"request_on_hold":return new je(I.graphColor36);case"inactive":return new je(I.alert);default:return new je(s.colors.grey1)}},T=o(J)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
`,fe=o(J)`
|
|
4
4
|
color: ${I.important};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u as l,o as i,x,jA as De,cl as Be,jB as G,ac as O,b5 as Oe,cC as Ae,j6 as Me,bT as He,aV as Ne,an as W,dF as j,h9 as U,aQ as _,c1 as We,cE as Ee,b$ as Ve,ao as H,cI as Q,d as $,ha as pe,g2 as me,f_ as ge,cq as _e,ak as F,iX as ue,bO as Ke,jC as Fe,je as Ye,cL as Ze,aX as z,jf as Ue,jg as Xe}from"./index-
|
|
1
|
+
import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u as l,o as i,x,jA as De,cl as Be,jB as G,ac as O,b5 as Oe,cC as Ae,j6 as Me,bT as He,aV as Ne,an as W,dF as j,h9 as U,aQ as _,c1 as We,cE as Ee,b$ as Ve,ao as H,cI as Q,d as $,ha as pe,g2 as me,f_ as ge,cq as _e,ak as F,iX as ue,bO as Ke,jC as Fe,je as Ye,cL as Ze,aX as z,jf as Ue,jg as Xe}from"./index-1P9yFC0k.js";import{a as S,P as X}from"./sentry-DW9sKdqh.js";import{n,c as J}from"./mui-lMF7eHp6.js";import{t as qe}from"./SpendManagementSection-DAqR2c98-cjG-Eksr.js";import{r as Ge,a as Qe,i as ye,g as Je}from"./SpendManagementListViewPage-BLjP9T8h-m5Jpjb2x.js";import{cl as xe,H1 as fe}from"./zeni-epic-state-TSfU2WWJ.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-Cigt_4KO.js";import"./liveblocks-BfbuekkT.js";import"./core-BzWT0IJw.js";import"./recharts-CatO_S9c.js";import"./lottie-B5och2Z9.js";import"./analytics-CsIQ-59x.js";import"./lexical-CFznRm2I.js";import"./utils-Dbx5oKO7.js";import"./StatusSwitcher-BI-dgnrK-CRZdmF_2.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]="bd2c8619-6fe9-4957-a099-371a7d940f34",e._sentryDebugIdIdentifier="sentry-dbid-bd2c8619-6fe9-4957-a099-371a7d940f34")}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(Ue,Xe)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=K(),r=N(),[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(Ve,{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":O("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(H,{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":O("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(H,{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":O("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=X.memo(st),dt=n.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|