@zeniai/web-app-ui 4.14.32-qa → 4.14.33-next
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-BO7lxW8c-qdj5vCzV.js → ACHDetailsPage-DKTSwNyl-Bc2bTi8N.js} +6 -6
- package/dist/assets/{AIPerformancePage-SF-quMkk-BDmetcXO.js → AIPerformancePage-BzTlSxeg-C_b6NGr8.js} +1 -1
- package/dist/assets/AccountInfoPage-CrEEthms-BX4FcVy1.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DIWh6VaI-Dkx9vqHY.js → AccountInfoPageContent-B0ZnsyrQ-C9xmKmsg.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-DloPB9vd-rWnzhgoV.js → AccountLockedInfoModal-B6A-nGIq-f9xp9SZb.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BAgQsFiF-DYdVNdU9.js → AccountReconDetailsDrawerPage-BTmjrd8b-DSRp7nAY.js} +5 -5
- package/dist/assets/{AccountRow-Dczx5rSu-CLUzbQMi.js → AccountRow-C-Iunc36-4-Fl4GH4.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-Ywhto4lV-BJMaNuPG.js → AccountsPromoCardStack-D6xN5A4_-Bo61ICuL.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-B8srmVT6-B2WNvij_.js → AddAddressForCardDrawer-B6tLAOA_-CAGLnUzn.js} +1 -1
- package/dist/assets/{AddToWalletPage-k__RW699-Q957aA9Q.js → AddToWalletPage-Bw1oz9Y2-B2JzMVjJ.js} +1 -1
- package/dist/assets/{AddressRoutes-CTGxpAi-.js → AddressRoutes-C6-PDitU.js} +1 -1
- package/dist/assets/{AddressScreen-DEbSWJPO.js → AddressScreen-PFAhLrpu.js} +1 -1
- package/dist/assets/{AgingReportsPage-BuIXjljE-B0fe8lvN.js → AgingReportsPage-BK3PXwnr-Veddbnlf.js} +6 -6
- package/dist/assets/{AiCfoScreen-Wz3E2wwr.js → AiCfoScreen-CL25R3t3.js} +1 -1
- package/dist/assets/{AllUserItems-BdgTe4WF-D7yOaoR6.js → AllUserItems-B42zEFpe-D5lPCnFq.js} +4 -4
- package/dist/assets/ApAgingDetailPage-vzW4qF2Y-CBwVparw.js +46 -0
- package/dist/assets/{AppBasePage-DaTueT-x-BnyuOO9Y.js → AppBasePage-yAU5vW5D-bpqbqFGe.js} +1 -1
- package/dist/assets/{AppDrawerContent-CtCI6jpp-Bv1hj7Yn.js → AppDrawerContent-nnh5cFf7-D2XEkxcV.js} +3 -3
- package/dist/assets/{ApprovalRulesSettingsPage-BVxu4soW-GcaZFHeB.js → ApprovalRulesSettingsPage-B-Y2YjpT-DOScYuf-.js} +1 -1
- package/dist/assets/{ArAgingChart-BK-JyW2V-DrIuZSmt.js → ArAgingChart-CCc6eh55-BZtSTYFW.js} +2 -2
- package/dist/assets/{ArAgingDetailPage-CvqLu3q8-C5eA5W28.js → ArAgingDetailPage-CYXVPEzK--7bbNGLz.js} +3 -3
- package/dist/assets/{AttachmentView-DQdb3v_e-CLQ1CJA9.js → AttachmentView-DqrQDEWc-C1XsL57s.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-D4q45w1q-CtGZeK4N.js → BalancesInsightWithToolTip-D1_dZg5k-BX_AMA1l.js} +8 -8
- package/dist/assets/{BankAccountSection-DgbfU8F--CB1estpa.js → BankAccountSection-4vXBKCFA-CGmaaTlD.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-litL0o_Z-Dfhx-kK3.js → BankAccountWarningSection-Dhmxhwx--58Xa5u-H.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-bAj9uB9k-LyDvOxOa.js → BankConnectionsSettingsPage-z52fh-wH-Coc05w4w.js} +9 -9
- package/dist/assets/{BillDetailPage-CiHal44n-tq0YH1aX.js → BillDetailPage-DRpctLxu-BrCWUdn-.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-ClA5NSEJ.js → BillPayApprovalRoutes-AUHYDbAN.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-CJtb4oOG-M9GflHmY.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-BTOmSLcs-DEq7dW-i.js → BillPayApprovalRulesPage-HG32jtX9-B32iWQZN.js} +1 -1
- package/dist/assets/{BillPayPromoPage-B5gkQjT2-DXRzGBXG.js → BillPayPromoPage-DwxNDF0k-LRfhlmXF.js} +12 -12
- package/dist/assets/{BillPayRoutes-C3Tb_2Ko.js → BillPayRoutes-C1D-ob4g.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-DM3r09by-Bvx7NLUi.js → BillPaySetUpPage-B-kmDrpB-BikhT1jy.js} +6 -6
- package/dist/assets/{BillingSettingsPage-CiTKyJeG-BEh5P0A7.js → BillingSettingsPage-CNZyUOpM-DgIRt-jE.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-B6ofRDkg-Cw68W5rP.js → BillsBulkReviewDrawerPage-DbIDTE51-SWHTQENA.js} +1 -1
- package/dist/assets/{BoxItem-C39hQSVg-CwP_fpKm.js → BoxItem-CIyMdw2s-D-lQpxkp.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BiWEnJET-BhvPSMXm.js → BusinessVerificationPage-DQ34qLUA-DCkHdIkD.js} +3 -3
- package/dist/assets/{BusinessVerificationPageScreen-DE3iPWMP.js → BusinessVerificationPageScreen-IjG0yQZ_.js} +1 -1
- package/dist/assets/{BusyIndication-DmApVsF7-DoBMbi5i.js → BusyIndication-YMYY0Pff-8c_TagDV.js} +1 -1
- package/dist/assets/{CardNumberSubText-FNfrozX6-Cgi1n69q.js → CardNumberSubText-CN1RN7Tf-DnCmI7xu.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DaLICa_v-BJ3TvYfG.js → CashbackDetailPage-CyYkVa0H-CedYX8Dk.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage-B0Aq7zO5-BVHXTaUL.js → ChargeCardDetailPage-DFUAF2OM-DO8luaXQ.js} +28 -28
- package/dist/assets/{ChargeCardListPage-CfRto2rQ-DPjFotcB.js → ChargeCardListPage-BTHDGtJ6-BQhLVPYb.js} +11 -11
- package/dist/assets/{ChargeCardListTable-DMdC4lxo-CtkD7-2q.js → ChargeCardListTable-BiKjkqVs-C5oCI8Q3.js} +26 -26
- package/dist/assets/{ChargeCardPaymentHistoryPage-BYTmtF_y-BJK0KpD-.js → ChargeCardPaymentHistoryPage-sPGU7qmY-DQ9xiOfg.js} +10 -10
- package/dist/assets/{ChargeCardPromoPage-AI5bladj-STtaDscO.js → ChargeCardPromoPage-6JwKgWli-BlwYb81n.js} +4 -4
- package/dist/assets/{ChargeCardRoutes-AYQ3MGTW.js → ChargeCardRoutes-B1FcltEY.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BjhqdubL-ByzKQBoy.js → ChargeCardSetupPage-DmhPAnYT-BtPogUbs.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-DCM92s6v-CBr56gpX.js → ChargeCardStatementsPage-DUXupPSN-Cpjzl-p5.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-CkIxEqHU-Bqm8pa-L.js → CheckDepositDrawerPage-C8nbDVSz-BESjH8Mb.js} +4 -4
- package/dist/assets/{CollapsableReportTable-ClHwXtCj-Bu1ywWDb.js → CollapsableReportTable-C_bWRP7w-CciBV8Xg.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BY8hFQnp-C-jTOLEo.js → CompanyOfficerDetailsSection-6LXCxWYP-BF-OJUme.js} +13 -13
- package/dist/assets/{CompanyPassportCard-B3rZE3pg-CPKH7ClD.js → CompanyPassportCard-DVJS9xE7-BpJqDciV.js} +1 -1
- package/dist/assets/{CompanyPassportPage-4FXVf3EP-Co0uZqWP.js → CompanyPassportPage-FJ30paB0-Dt9VsmnN.js} +12 -12
- package/dist/assets/{CompanyPassportScreen-D4CGbUvz.js → CompanyPassportScreen-MWWSZ8B2.js} +1 -1
- package/dist/assets/{CompleteProfile-B1BoilWd-BY2yFTSv.js → CompleteProfile-D3Im5rsm-BpIxXAAi.js} +1 -1
- package/dist/assets/{ConfettiBurst-CsbAGF65-crGvJolm.js → ConfettiBurst-BJrOe5Fg-BAZHOIGJ.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-CGGnZgbf.js → ConnectionAuthScreen-CzNm9ad0.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-BnMSru9B.js → ConstrainedInnerElement-CgdnMeoA-CoG3P9vK.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C50eYOFo-Da-aCQ_K.js → CreateOrEditVendorPage-C8dK3_XQ-C15I416N.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-Dxz_SY7N-BpZmjo-8.js → CreditCardPaymentDrawerPage-Dp5mS2Hc-DTIZsaSw.js} +6 -6
- package/dist/assets/{CurrencySelectField-D2Ogwvbr-CVVPi1Hr.js → CurrencySelectField-BAQ5aoHk-CjYKKLQE.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-5Sh7hmI9-Ba_aGZs7.js → CustomerOnboardingActivationPage-D8T1akbN-jAZ-c4Jb.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-DsaM79Am.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-C4Xe2rGH.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CL-mOSUp-DLRoDbfb.js → CustomerOnboardingDetailPageSkeleton-DSvvHqR_-C7zWHcUG.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CyL1AK78-CoBuNU82.js → CustomerOnboardingNoStepsPage-CSLO3M7E-brzZQgCi.js} +17 -17
- package/dist/assets/{CustomerOnboardingPage-C8nxJPwo-DuXY1wXZ.js → CustomerOnboardingPage-weza3x24-Ccyqgn8h.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-C7FbnHpU-CcKzsuhI.js → CustomerOnboardingProductSuitePage-3YH4y1e1-pjdfDTb8.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-DLfMzGpn.js → CustomerOnboardingRoutes-XRSaaY78.js} +1 -1
- package/dist/assets/{Dashboard-Bpu-6Sm5-CknMvcgU.js → Dashboard-Bpuy-Pez-Ds7FnePH.js} +1 -1
- package/dist/assets/{DashboardReportPage-B1aAikQG-DXGS56N_.js → DashboardReportPage-1p79NBF9-BNxbXDi-.js} +1 -1
- package/dist/assets/{DashboardRoutes-xoa0YBhj.js → DashboardRoutes-DQPYEQgc.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C6xm-p2j-Cianbfu8.js → DashboardSidebarBackgroundAnimation-CBg2tWHO-Cui2Fdgf.js} +1 -1
- package/dist/assets/{DefaultTenantHome-COn1GZe5.js → DefaultTenantHome-CawwJRef.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DEU0DgtI-mNkmtb4n.js → DepositAccTransactionItem-DlztlGZL-B-P-23Qj.js} +8 -8
- package/dist/assets/{DepositAccTransactionListPage-Bh0dIkE9-Nnv3oKOX.js → DepositAccTransactionListPage-BO43c3Uz-CvNdUtgH.js} +6 -6
- package/dist/assets/{DomesticWireDetailScreen-BHvyRZV0.js → DomesticWireDetailScreen-ddav_vr8.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-2WyD73c9-pgZENCnp.js → DomesticWireDetailsPage-SEql3I0P-CtmaSgSg.js} +4 -4
- package/dist/assets/{DownloadOverlay-B7M2VI7K-CmLEDWdo.js → DownloadOverlay-PhrwF2iZ-6hCqaF8S.js} +14 -14
- package/dist/assets/{DrawerPage-DsQTxXa8-b58o_lYS.js → DrawerPage-Bf3AP3Lj-DPgOYdm3.js} +1 -1
- package/dist/assets/{DrawerScreen-Bwd7D_PK.js → DrawerScreen-LnM4SFeC.js} +1 -1
- package/dist/assets/{EditPeoplePage-fY0HXvVS-GHbOUDbp.js → EditPeoplePage-B-rBzonN-Czwb7LFT.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-D7RUWSTZ-BvTTLT94.js → EditReimbursementDetailPage-CUiIHNgT-DL0vyswh.js} +14 -14
- package/dist/assets/EntityDetailPage-CvLzsrUE-YnSALKmS.js +18 -0
- package/dist/assets/{EntityDetailRoutes-Br6vAttH.js → EntityDetailRoutes-qDLMojb-.js} +1 -1
- package/dist/assets/{EntitySummarySection-0rRkC5V6-Conv00DK.js → EntitySummarySection-mXeSjiuZ-mbYzj6f7.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-DOGAdZXV-BteA09I4.js → ExpenseAutomationOverviewPage-DQCoy1O9-DafDYajd.js} +3 -3
- package/dist/assets/{ExpenseAutomationPage-DOsIzX0P-BmRa_16p.js → ExpenseAutomationPage-BeAzQ7Qx-DruHAbxW.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DLbUy-Sk.js → ExpenseAutomationRoutes-C_YfRs2F.js} +1 -1
- package/dist/assets/{ExpressPayPage-CIi6jM8Y-DprwP7jg.js → ExpressPayPage-C-isOU1b-BduG_pTk.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BVn6ZUOB-BRGsJkYW.js → FeaturePreviewPage-Cyre9YzV-DlvO5vnT.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-C7jdaAb-.js → FeaturePreviewScreen-DpQUlVdb.js} +1 -1
- package/dist/assets/{FollowStepsSection-CvWPHXDW-Dl7cRxYJ.js → FollowStepsSection-DZNWzSvo-CV855DLe.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-CS_11bx0-BpB3oVCF.js → GlobalReviewListPage-Dp--ugNc-CUgp524d.js} +1 -1
- package/dist/assets/{InformationCardStack-B9g7W7Xx-ZebmXk33.js → InformationCardStack-D7naFDX0-dxr-0NGh.js} +1 -1
- package/dist/assets/{InsightsCardStack-mvzIc2uY-DiwLXl7c.js → InsightsCardStack-DexUl4h--BEmjrK0J.js} +6 -6
- package/dist/assets/InsightsSection-D9PJ55E6-B7HiYLyV.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-Dwz4ukHF-BsDL-5QK.js → IntegrationsSettingsPage-hFTe3wiP-BOjrQBI4.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-Cm0H9oyf-CSkPID9w.js → InternationalWireSwiftDetailsPage-DLkE5bXp--5MNtm85.js} +4 -4
- package/dist/assets/{InternationalWireVerificationPage-woIoME3I-BpkjRAf8.js → InternationalWireVerificationPage-DYGjEqNz-CipGhHux.js} +2 -2
- package/dist/assets/{InviteFormPage-DaZ-sJYV-C1pvGdU0.js → InviteFormPage-CGAsWQn7-n0DTMWoR.js} +13 -13
- package/dist/assets/{InvitePageListView-Do7EVQrj-BUNzpXY7.js → InvitePageListView-BSPE9f03-BNctE-CG.js} +20 -20
- package/dist/assets/InvitePeoplePage-ANvLB-mB-CpaE4Rlp.js +12 -0
- package/dist/assets/{InvoiceUploadSection-DOuTQPee-C986sH-S.js → InvoiceUploadSection-OGMswY7c-Bxl-23KJ.js} +13 -13
- package/dist/assets/{IssueChargeCardPage-ClMhr27d-C9JNnylK.js → IssueChargeCardPage-sLInqAsW-D13dNOa1.js} +11 -11
- package/dist/assets/{LabeledAddressValue-B6_PZDTO-B0f_TY3n.js → LabeledAddressValue-DBJ236tZ-CCUelxNZ.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Cz6tRMoW-BWTMstez.js → LabeledAddressValueField-CAr-IiTa-BbDMgSK1.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BEpAlnvo-CvOvJ8M4.js → LabeledControlledCheckBoxField-BdWZgcQc-DBRyRoy4.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-1kTcZMQW-CYG0hGdR.js → LabeledCountryMultiSelectField-C6z1v9S1-BroEe8Pk.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-PiLB1S77-BE8E-NVb.js → LabeledCreatableSingleSelectField-Dhi0n2ky-oXAYRW3Y.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Cicw8ABs-BY2NDqms.js → LabeledDocumentField-B3QSq1eM-B1fkGtqc.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BEVVgIGK-Be2ECVYI.js → LabeledDropDownFormattedTextField-B39DlufR-DEbEW-xe.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-C6gk3B5x-DNbhSblv.js → LabeledEmailInputField-CY2mGhJG-aSv90Inf.js} +1 -1
- package/dist/assets/{LabeledNameField-BpfxLnfN-DXNAsDl7.js → LabeledNameField-CYN5kdQi-DRc8wnom.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-Utmk8KVy-7bKQ7Lgi.js → LabeledSingleSelectField-CBXzDXMd-7n9Z8sV3.js} +1 -1
- package/dist/assets/{LabeledText-C56xvYuX-V1W7qANU.js → LabeledText-GEbY3-bB-PhBp6bfW.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-ITN8UDlC.js → LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-CjXLbV84.js} +4 -4
- package/dist/assets/{LabeledZeniRolesDropDownField-B5rxYfam-Dqb9eTdm.js → LabeledZeniRolesDropDownField-DJfE1qQb-BhRDIGaK.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-DbnaYlRA-BZfapfas.js → LinkJETransactionPage-B2ROo3VS-BBFt4dlQ.js} +9 -9
- package/dist/assets/{LockCardPage-XHbTmzq8-D2FlG_hq.js → LockCardPage-D2dUPnNL-DUp7qiCt.js} +1 -1
- package/dist/assets/{LowBalancePopup-IF7NG9aL-D-kinRkN.js → LowBalancePopup-DTtl3SIc-E1tDZRd2.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-BC6_cyO0-_gBSeN5R.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CdG5oCPl-DZXtyTS-.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C046BNUz-B8SVk8N4.js +1 -0
- package/dist/assets/{MagicLinkRoutes-Ar0GD3LF.js → MagicLinkRoutes-By7eKEwY.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-pLIgT_MU.js → MagicLinkSignInScreen-BHvms_oA.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Cyr3p_8a-C1W_67Gu.js → MagicLinkSuccessPage-Ctt1pLiv-BdN-cc5m.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-A4zyF5bg-CJ8qaIqt.js → MagicLinkTitleSection-CtsQ_c44-CLgX51Lh.js} +1 -1
- package/dist/assets/{MailingDetailsSection-DqSOlu2t-yxjH6xtg.js → MailingDetailsSection-DiZwQ9QV-C9cOsJmb.js} +1 -1
- package/dist/assets/{MobileAppDrawer-BzhvI9uK.js → MobileAppDrawer-D_Zv7SEm.js} +1 -1
- package/dist/assets/{MoreMenuButton-B1OKwXLg-BGjwJb3U.js → MoreMenuButton--MxUyTqX-BKClOngp.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DtTjhna--Brf-Lw4g.js → MyBankConnectionsSettingsPage-6ltpx62E-DmKyUIJL.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CKSWf7I4-BGxkh2i8.js → MyPendingActivationChargeCardListPage-CwDedcXl-cvE251rw.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-WF1pNlyU-Y69pCSd8.js → MyProfileSettingsPage-Bmhu2lrK-rBcXWdJd.js} +1 -1
- package/dist/assets/{NavBarWithPicker-DiCaJ8Qy-BkApKnxf.js → NavBarWithPicker-jqJCHGvR-CWWdfH19.js} +1 -1
- package/dist/assets/{NavigationArrow-f4Z3TuXg-BOQXlQjz.js → NavigationArrow-DY_BhITD-Dnzcm7uo.js} +1 -1
- package/dist/assets/{NavigationDots-WiVjbUsC-C7Q4WAGV.js → NavigationDots-Kh5ODrCQ-C4TC7zOM.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-kvjjwV8d-DjuH6H6H.js → NewGlobalMerchantPage-BYTROFvX-DtVNAYMZ.js} +1 -1
- package/dist/assets/{NoDataChart-DlSLTzZl-C1cnqDKJ.js → NoDataChart-CuiKDcAB-DfDAq8HZ.js} +1 -1
- package/dist/assets/{NoDataTable-9vLoRpsR-wzbnukFo.js → NoDataTable-BpH8puX--HM2_sbNG.js} +1 -1
- package/dist/assets/{NotFoundPage-CFlNCHFs-BjAbW1p2.js → NotFoundPage-BKvCYyvc-CJXp0Pjb.js} +9 -9
- package/dist/assets/{NotFoundScreen-C4RWEwpc.js → NotFoundScreen-Do4glXJR.js} +1 -1
- package/dist/assets/{NotificationRoutes-Bauqlg8K.js → NotificationRoutes-BCkL19us.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-KJzE9v4p-ueNqYhCg.js → NotificationSettingsPage-F2xXUCSE-DKAOjF99.js} +1 -1
- package/dist/assets/{NotificationsListConfig-6sXXtF_E-CoAChzQf.js → NotificationsListConfig-C9r-O2kH-B3gctenq.js} +1 -1
- package/dist/assets/{NotificationsPage-D4AmPdo9-CLlXhmZ-.js → NotificationsPage-CZZ9GTVy-DOSjvq6w.js} +1 -1
- package/dist/assets/{OpExByVendorPage-B5Wtu3ww-BfiVnjOY.js → OpExByVendorPage-Crvcsx0U-BOOYb9mh.js} +5 -5
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-CakuK-tg.js → OverlayContainerPage-BG9y5C0t-kQ2dclsK.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CjkaxTx7-BjLqIhEu.js → PandLWithForecastPage-CkDCt5NK-DhqWsErR.js} +7 -7
- package/dist/assets/{PandLWithForecastRoutes-xJfyiPLc.js → PandLWithForecastRoutes-Ckga0WLf.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-eeLSg7xb-BniLcpKw.js → PaymentAccountSetupBillingAddressSection-D1ZDh1GY-Cln5yBGB.js} +1 -1
- package/dist/assets/{PeoplePage-CQREy6SW-jzMdXXql.js → PeoplePage-D2CtRlrd-BWKSpHTw.js} +1 -1
- package/dist/assets/{PeopleRoutes-bZeBcbCa.js → PeopleRoutes-BS6R7lSX.js} +1 -1
- package/dist/assets/{PerformanceRoutes-Cpf321a_.js → PerformanceRoutes-DAaAjlXW.js} +1 -1
- package/dist/assets/{Preview-CQ45ZFEO.js → Preview-BuEGao8y.js} +1 -1
- package/dist/assets/{ProductsCarousel-COZZMTcH-B51aQv0u.js → ProductsCarousel-sNagRI0c-q0UofySm.js} +1 -1
- package/dist/assets/{PromoBaseCards-Bmn6TN2k-Bs7EMABq.js → PromoBaseCards-BUk-u73S-B_feA__0.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DYxoiSkA-Dk_DwyWX.js → QBOConnectionDialog-C1rEAxUE-D1j3DSMJ.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-CAL_oIQc.js → QBOConnectionScreen-Dl_GxDAm.js} +1 -1
- package/dist/assets/{QBOSetupSection-Cdz2PDxV-BDBYgiEv.js → QBOSetupSection-iQJCHR-K-C3LseTYy.js} +1 -1
- package/dist/assets/{ReferralListScreen-qui_lA__.js → ReferralListScreen-D-sgCNbc.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-Ct12I2wb.js → ReimbursementApprovalRoutes-CQIxmg26.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-C-QEoqCw-Cs_RbD5G.js → ReimbursementApprovalRuleDetailPage-BPIKZ9v1-DknSmPsq.js} +5 -5
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-DHXZ840V.js → ReimbursementApprovalRuleDetailScreen-BaTXZjqC.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-Ch2sxTFV-DeHruNGf.js → ReimbursementApprovalRulesPage-AE810nQZ-rHOZAsXP.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DSF6SfKn-BhQpRY9M.js → ReimbursementDetailPage-CYuZJL_J-CmVpaMeo.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-F1ROFd63-B1t5Jond.js → ReimbursementPromoPage-CaxjSwrz-Bgmmavhd.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-1_SI-hn8.js → ReimbursementRoutes-Ds1vAXJ2.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-l2mhLFuo-B54Qng1-.js → ReimbursementSetUpPage-Bw77MBHF-CDPgcL4C.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BICgOxHf.js → ReimbursementsBulkReviewDrawerPage-B-svIloS-CmzaTHm1.js} +1 -1
- package/dist/assets/{ReloadCard-CDcJMl9F-CnmKoS62.js → ReloadCard-D5kxTfzJ-CZ8wxjLD.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DvCk55Hn-DkSGr4BZ.js → ReportTableViewSelector-BZU8yltx-2MvtPuPo.js} +1 -1
- package/dist/assets/{ReportsPage-DfqqKSt3-CLOVf278.js → ReportsPage-CdN9MEVy-CvjTiycT.js} +5 -5
- package/dist/assets/{ReportsRoutes-DLpbfbDj.js → ReportsRoutes-BmdEt3w3.js} +1 -1
- package/dist/assets/{RevenueChart-BONT9upM-DU_a19lO.js → RevenueChart-B_RMeweH-AiqO1KqZ.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-857bVurA-CbjI1OUT.js → ReviewDetailsPage-a73YIZSO-Tef-ZEJo.js} +1 -1
- package/dist/assets/{ReviewOverlay-ClQg7d2j-Dm0fdfqo.js → ReviewOverlay-Ubmz06uP-HtoUn_Ti.js} +1 -1
- package/dist/assets/{RewardsRoutes-EWwY813U.js → RewardsRoutes-yiDs6N7E.js} +1 -1
- package/dist/assets/{RoleWithToolTip-C0G1Hgp_-CRG2xCvX.js → RoleWithToolTip-BYO1YG6N-CaokIy7E.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CJ_JBtxS-D8uR91rN.js → ScheduleDetailsFixedAssetsPage-vgqilDC8-SbL9rtAb.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-B1aEwPL--oYlhdTLP.js → ScheduleDetailsPage-DdEeFryA-vTpnBDkc.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DhU7PI91-LtlMXkac.js → ScheduleSequenceTable-poNEzbqS-BGHdCWPs.js} +1 -1
- package/dist/assets/{ScreenRoutes-D_5DmJ86.js → ScreenRoutes-iWOPDJaE.js} +2 -2
- package/dist/assets/{SetUpAccountSection-C8dulq9s-B-L9gOQO.js → SetUpAccountSection-BSOGwHCj-DwPymY5H.js} +1 -1
- package/dist/assets/{SettingsRoutes-Bpnzxqw3.js → SettingsRoutes-CsT4-Otz.js} +1 -1
- package/dist/assets/{SetupPagesScreen-BG2iNhNo.js → SetupPagesScreen-CIriiNTf.js} +1 -1
- package/dist/assets/{SignIn-wDe7lbGR-DVGzhzCV.js → SignIn-q4J9wRx8-0QGGO6ID.js} +4 -4
- package/dist/assets/{SignInScreen-ChmnsIGN.js → SignInScreen-Cpe96DKm.js} +1 -1
- package/dist/assets/{SignOutScreen-C9MY-na5.js → SignOutScreen-hzgipE95.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BdddUHrW-C_LostVg.js → SpendManagementListViewPage-DKRkSADM-TrO1q5C-.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-BBJm3884-DNyU3qBr.js → SpendManagementPerTabPage-Cd30NnXU-BDL5aWXq.js} +21 -21
- package/dist/assets/{SpendManagementSection-6R5y0Hy4-DR8MdoOh.js → SpendManagementSection-CPBOh_J5-fi40VxZS.js} +14 -14
- package/dist/assets/{StatementItem-qsoXKx_p-DNQHoMbS.js → StatementItem-NyOORj5f-DSu3WebE.js} +2 -2
- package/dist/assets/{StatementsPage-Cn7WG5-S-Dl_bD5a2.js → StatementsPage-Cp77wyFS-VERkVje-.js} +2 -2
- package/dist/assets/{StatusSwitcher-D3qCg5J1-CnYYZ1b2.js → StatusSwitcher-DN-yYdli-Bv7Xw_4U.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BXajy75j-B6OxDW3g.js → SubTabSwitcher-D1LNrhUn-DEJheffX.js} +1 -1
- package/dist/assets/{SuccessAnimation-CSblamOQ-JSo_khSf.js → SuccessAnimation-DdyAYe1e-DLWRRkYw.js} +1 -1
- package/dist/assets/SummaryCard-DgIPSt4y-rab6yv19.js +1 -0
- package/dist/assets/{TaskDetailPage-CrsQnhu1-B_UOgdhU.js → TaskDetailPage-DXTLNhtf-CI4SV8Ej.js} +1 -1
- package/dist/assets/{TaskListScreen-CQghy863.js → TaskListScreen-DdNWjwGa.js} +1 -1
- package/dist/assets/{TaskManagementPage-h3Rb49Jj-pMAnmsYe.js → TaskManagementPage-BaLJR4-7-CHxsRn7m.js} +28 -28
- package/dist/assets/{TaskRoutes-Bzs5ud2d.js → TaskRoutes-DAiy7f7K.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-DpUOmqiR-OEgtOaDl.js → TimeRangeSwitcher-CkgGEwEw-Ce0sLkHV.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BKEtsv_r-BOgf0adS.js → TimeframeSwitcher-B8fpnYS8-CFf68arp.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DECnQIMT-BjcEq4P9.js → TimeframeSwitcherWithToggle-DwFo6jY4-ClErfR3e.js} +10 -10
- package/dist/assets/{TopExCard-leQR29Sq-DMP-noC7.js → TopExCard-PayAZZY--D2ZYBf29.js} +1 -1
- package/dist/assets/{TopExDetailPage-Dgg7Do6D-Cf1J-rX0.js → TopExDetailPage-Mp2KcYf6-CriIrjqX.js} +3 -3
- package/dist/assets/{TransactionActivityLogPage-CU2pUJQL-CzX5Q4B2.js → TransactionActivityLogPage-CnmL_hUz-BsEMTiqD.js} +1 -1
- package/dist/assets/{TransactionDetailPage-FT2IPLH7-CX3DG4Pm.js → TransactionDetailPage-Bqlnmn8Y-C0BjrON2.js} +26 -26
- package/dist/assets/{TransactionDetailRoutes-atS2Oh1R.js → TransactionDetailRoutes-uNhJnedN.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-BglCkwGm.js → TransactionDetailScreen-BOICj-_z.js} +1 -1
- package/dist/assets/{TransactionList-C2MGkQYM-CU8bIKXQ.js → TransactionList-BOmlsfpv-DxCfMqXj.js} +11 -11
- package/dist/assets/{TransactionListBig-CZ3jIxzR-h_QlWda5.js → TransactionListBig-CaMT-rq_-Czwhp9uV.js} +1 -1
- package/dist/assets/TransactionListPage-D_dgwnFp-Cftagdsz.js +35 -0
- package/dist/assets/{TransactionListRoutes-D3x0o31V.js → TransactionListRoutes-CyxfPXP6.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BgcqndCu-DrGCDrHZ.js → TransactionVendorDetailPage-DlXuiPC5-D61QUqtZ.js} +1 -1
- package/dist/assets/{TransferDrawerPage-SirvPH4z-AADMZrtA.js → TransferDrawerPage-C2VcssbM-DZ2ySTY2.js} +14 -14
- package/dist/assets/{TreasuryOverviewPage-B_WK1aOv-45D8ongN.js → TreasuryOverviewPage-DyyoGY23-NINdpiz5.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-B_D63Dr2-Mw7kOaR2.js → TreasuryPromoPage-B9Hf7oxZ-DL0uMEvH.js} +1 -1
- package/dist/assets/{TreasuryRoutes-DevJrQwC.js → TreasuryRoutes-BMj4xYJV.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-BGe0fhBe-CZKzrKEg.js → TreasuryStatementsPage-DOzJzfTG-BEN0V17Z.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-9gNdkQZp-KOpqpRaG.js → TreasuryTaxLetterPage-BcTBr9x9-Bu2mrxe3.js} +1 -1
- package/dist/assets/{TrendChart-COItOWPp-B0KeVtcc.js → TrendChart-BvXDrgUJ-UjmVpapm.js} +2 -2
- package/dist/assets/{TrendWithTransactions-DgAw_8CI-C5t8dz0y.js → TrendWithTransactions-RCpzdPf3-DZWbY1AB.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-B9EziB6Q-Bi-s-0Sv.js → UncategorizedAccountsMappingPage-B1m3iXh5-PCWHP_cU.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-DGWNyWV1-otb9S_5N.js → UnitIntegrationPage-lVg_8mQ4-2xXBHR-t.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DWmMz_8y-BoxaUeLm.js → UploadAdditionalDocumentOverlay-DrAWxBXn-CVrGlUxs.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-dh2g8kqu-DmCsxO0l.js → Vendor2FAPopup-C8m_OJEH-2HNC8yEL.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-JhO6KtMC-CxMHxpU1.js +1 -0
- package/dist/assets/{VendorDetailPage-CGqoIODq-BvUdf9jN.js → VendorDetailPage-Y9_hsgjs-Drbme3Xh.js} +5 -5
- package/dist/assets/VendorDomesticWireDetailsPage-D0RsDHxf-AR0uQHbi.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CsnlHrCl-Dg2l5wSd.js → VendorFiling1099EditablePage-CPevpiim-B8Rbuhlu.js} +9 -9
- package/dist/assets/{VendorFirstReviewPage-DC1j2sO_-B3hOpd68.js → VendorFirstReviewPage-CXftFNl_-D07tVBsf.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Drr00a6C-DzH1osbM.js → VendorInternationalWireDetailsPage-88NtGE3e-BNNV8gb7.js} +6 -6
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-6XH5g7u0.js → VendorInternationalWireSwiftDetailsPage-BTh-VP1b-DSqTYNVt.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BtdwR8u4-B4AH00Ns.js → VendorsAccountsSection-DorsKXyL-yx2dulXE.js} +1 -1
- package/dist/assets/{VendorsRoutes-CyRapVh2.js → VendorsRoutes-C47mB67w.js} +1 -1
- package/dist/assets/{VerifyDevice-Bhr_yHpE-BFsFancv.js → VerifyDevice-DAym8rUN-DzVOyWTa.js} +4 -4
- package/dist/assets/{VideoPlayer-wlJX6lEq-Djxj54Vf.js → VideoPlayer-53OvOC7l-DZM2lBlI.js} +1 -1
- package/dist/assets/{VideoPopup-BPptwR51-DdCCHHY9.js → VideoPopup-v9quqdro-Bco2LuO2.js} +2 -2
- package/dist/assets/{WiseConfirmationScreen-CnF85JVe.js → WiseConfirmationScreen-CI2bVH3q.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CSsu44ls-BxTJP0xn.js → ZeniAccountDetailPage-CFEGqW5l-C7BkDP5-.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-BZwGCrzx--nMPcfZ-.js → ZeniAccountListViewPage-j85TO5tM-BHJE1M8X.js} +27 -27
- package/dist/assets/ZeniAccountNavBarPieces-Bv34Vsqj-C6dnhgFa.js +33 -0
- package/dist/assets/{ZeniAccountPromoPage-CahV-Rmf-B_a0e4xi.js → ZeniAccountPromoPage-DeHmh4My-DTRMQp2b.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-BnCdn_7e.js → ZeniAccountRoutes-DaOcVmd1.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DSNDNKZr-BvWOY3jL.js → ZeniAccountSetupPage-ofkQR72l-jZ6Lmwil.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-BOJsnK-P.js → ZeniAccountStatementScreen-D7mYkEK4.js} +1 -1
- package/dist/assets/{ZeniAvatar-De0hFvIm-BJi7TJei.js → ZeniAvatar-Ct7MPW2X-DMhfb-RB.js} +1 -1
- package/dist/assets/{ZeniCopyright-BNGdkMOa-CGSddL5N.js → ZeniCopyright-CmCqmJmV-CIcW_pNx.js} +1 -1
- package/dist/assets/{ZeniDatePicker-CYNEE0pM-CI8_Q6Ab.js → ZeniDatePicker-RNJ2ukKC-DVUBQrCy.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DuD1JtSv-eHMRZi_V.js → ZeniTransferAmountSlider-BpfqM032-RR2abwX_.js} +1 -1
- package/dist/assets/{accountMappingHelper-FrhvxzcW.js → accountMappingHelper-BJJweXl5.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BqBidt5n.js → add-to-wallet-DgdBD8_G-C3oqk2s6.js} +1 -1
- package/dist/assets/{analytics-CVqRc8fh.js → analytics-CBcw09YE.js} +1 -1
- package/dist/assets/{analyticsHelper-qMWdjEFo.js → analyticsHelper-CAh70fFl.js} +1 -1
- package/dist/assets/{analyticsHelper-DjQYjslY-D8-DDeg7.js → analyticsHelper-qtejXlXH-BF9BvwEK.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-B3QTzBHA.js → arrow-south-east-round-PEovUgvH-BxM3SJE_.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-de_8OjuK.js → auto-transfer-rule-mbafm5D3-B9Rf6PEc.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-B-3VAvb3.js → avatar-Dz7aEm3d-Cue7W3WL.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-KdddOmyc.js → bank-letter-BOcVjN6J-FSeNIRc7.js} +1 -1
- package/dist/assets/{calculateSize-i9QGr8q0-BEKLyEYY.js → calculateSize-CzpGCfNE-CHnQlTyp.js} +1 -1
- package/dist/assets/{chartTypes-BGl-YMiu-DAKq2IM5.js → chartTypes-BqRsL6eJ-DsyaxzxR.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-CB7HCMZv.js → clock-CJkylEKt-DrD7tBVk.js} +1 -1
- package/dist/assets/common-BxjzMhDO-Cc18kJBU.js +1 -0
- package/dist/assets/{commonDimensions-CuKo3wam-nLTnztTJ.js → commonDimensions-CzWWgDTA-B2ds-CHa.js} +1 -1
- package/dist/assets/{commonTypes-CfAg6Jvv-D84w54Iv.js → commonTypes-CF6UyWSv-DPfdzcl0.js} +1 -1
- package/dist/assets/{core-AYNw6kyJ.js → core-BKvxtRah.js} +1 -1
- package/dist/assets/{dash.all.min-Dq_dQY1I.js → dash.all.min-BnjlXPd9.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-E-sgiudi.js → decodeURIComponentSafe-DQkFfGPG.js} +1 -1
- package/dist/assets/{dnd-Dw-riVE4.js → dnd-C7c3o2xJ.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-CvsBoEut.js → dollar-round-D18u7nlm-BbHEYM2d.js} +1 -1
- package/dist/assets/{downloadPdf-Dcd8BY_9-DI4hg2G0.js → downloadPdf-BFFM3Hea-QUnesvej.js} +1 -1
- package/dist/assets/{empty-C9c-cai_.js → empty-Crc3-P-F.js} +1 -1
- package/dist/assets/{empty-CX0U2Ty5.js → empty-DBZa3pil.js} +1 -1
- package/dist/assets/{epic-B6fOiqme.js → epic-BppzDt1u.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-lFkn5gVk.js → filter-cZIFUNvj-Db00DH6f.js} +1 -1
- package/dist/assets/{getLocaleForTenant-YUfQHJdY.js → getLocaleForTenant-X49_MIph.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BPwbjUGz.js → gift-box-Cmt9OgIZ-BKaG8dWI.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CaJy2HdS.js → graphic-no-data-l-DU4J8fDt-B7DleUMF.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C9pmzSAL.js → graphic-no-data-net-burn-l-CzmycA0m-3KzqqSSM.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BSOSNqUk.js → handshake-BPg58FML-DOiOu9KH.js} +1 -1
- package/dist/assets/{helper-DkzA3y2L-OUS27pTt.js → helper-COxPEvgL-CMNtMZR3.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-CVVb97aA.js → hyperlink-DQyCeXx2-_37w4884.js} +1 -1
- package/dist/assets/{index-Dm85Hu6Z.js → index-B-rXAYJi.js} +1 -1
- package/dist/assets/{index-wicPWwlB.js → index-BNkH8HqK.js} +1 -1
- package/dist/assets/{index-NZat51vK.js → index-DYWyKBTW.js} +1 -1
- package/dist/assets/{index-Mhz2NAiD.js → index-KcTwm1K9.js} +7 -7
- package/dist/assets/{index-DubSD1fb.js → index-X2joKKW6.js} +1 -1
- package/dist/assets/{index-DqcXLX0N.js → index-uqAJlX5e.js} +1 -1
- package/dist/assets/{lexical-B-dyW3-4.js → lexical-EU-b4BqE.js} +1 -1
- package/dist/assets/{liveblocks-DJcRPJQh.js → liveblocks-B5iiMj-5.js} +1 -1
- package/dist/assets/{lottie-DdLBMmzp.js → lottie-DSHEuZXs.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-lABm-2N9-DqEFBCkO.js → mapLoadingInProgressToTreeNode-COOJxneh-DuQX8yvd.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-COcUb2pF-Bv4F43o8.js → mapSectionWithAcOnlyToTreeNode-CcuLqf_I-DnQ0OzUu.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Ci5bdH6P-DSX3e3gz.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CCZ9A7A6-BglMWE7U.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CvVUjW74-b4p2F7se.js → mapTimeframeBalancesToTreeNode-Cql9mEn3-M00szu5l.js} +1 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-DIcaxo5z.js +1 -0
- package/dist/assets/{media-player-V7uSzi45.js → media-player-9CieCm_T.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-B7YE6t0I.js → money-2cg1MuG4-D96-gv6L.js} +1 -1
- package/dist/assets/{mui-Ckdcx_YE.js → mui-n8MJ8WXv.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-NqWvakND.js → page-detail-CWX5S47F-g6S7T_Pr.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-BvkWkaoT.js → page-summary-D7_VQHwN-CB9ORzTM.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-CROMd__p.js → panelSelectedMixin-Cddsb26L-D6E_GSSj.js} +1 -1
- package/dist/assets/{pathToGoBack-C_2xxQDe.js → pathToGoBack-BiD1mrMc.js} +1 -1
- package/dist/assets/{pdf-CwWlK-Dr.js → pdf-Bel8Snu-.js} +3 -3
- package/dist/assets/{pdf-lib-DhaWOBih.js → pdf-lib-CVUdPvqc.js} +1 -1
- package/dist/assets/{plaid-BhP6n1uc.js → plaid-DlPRc3VW.js} +1 -1
- package/dist/assets/{pusher-8DhjdTCA.js → pusher-1B7hFTqL.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-BoUlFA9D.js → radio-default-CiSgisfh-DflsgPfm.js} +1 -1
- package/dist/assets/{react-D_0srhsg.js → react-B_xQXYLc.js} +1 -1
- package/dist/assets/{react-CB4dPBRZ.js → react-BccFD_Ip.js} +3 -3
- package/dist/assets/{react-CE6422aE.js → react-BkHOYdXT.js} +1 -1
- package/dist/assets/{react-BHDcRwxI.js → react-BsQw7Npr.js} +1 -1
- package/dist/assets/{react-D-APY71d.js → react-CzLATOxt.js} +1 -1
- package/dist/assets/{react-BwCmpEw6.js → react-Dpr33JgG.js} +1 -1
- package/dist/assets/{react-D4pZVe2B.js → react-OEWbQbV4.js} +1 -1
- package/dist/assets/{react-CGVKTtsW.js → react-d5kYRMKi.js} +1 -1
- package/dist/assets/{recharts-Dr1JzI4y.js → recharts-CWIF3mJW.js} +1 -1
- package/dist/assets/{routePaths-DIayl1Jh.js → routePaths-IQhVVjuV.js} +1 -1
- package/dist/assets/{sentry-D-LCra2M.js → sentry-JtTANUcK.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-D5PHf2Tj.js → shield-DOlUxcFf-pFq-AHdV.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-D85B38gI.js → spend-limit-D6SyboD4-NC2bg4Ef.js} +1 -1
- package/dist/assets/toCOABalancesWithID-B70YK7cw-f3GxdGt8.js +1 -0
- package/dist/assets/{toChartData-B4ligi4c-p4U01oAp.js → toChartData-CWgd8E5c-DcGOW82R.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-Ca0HZ2W6.js → transaction-placeholder-CpOwZAMG-CSA8GVr2.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-CSQ0fDLS.js → undo-b_3XZ5CX-dx0HTJJr.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-DDdPB9QU.js → unlock-BPWn2I5L-ciNOv6AF.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-DNsQOTk3.js → upload-reimbursement-receipt-O2N8vcO7-BbO1KSUp.js} +1 -1
- package/dist/assets/{uploadAttachment-DgPDimcm-UTkUQwho.js → uploadAttachment-D1ybl0Fy-CCk_vaJq.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-3Ex--Idc.js → uploadReceipts-CIgkuVpu-BOM88Hmz.js} +1 -1
- package/dist/assets/{url-BK92KGZc.js → url-BIQrhyCy.js} +1 -1
- package/dist/assets/{url-DUid0IO0.js → url-DlU_JcCu.js} +1 -1
- package/dist/assets/{useDeviceId-BCros22l.js → useDeviceId-BiN6Jv-2.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-Bx0ivBGf.js → useInitialThreadRequest-D96Y0hT4.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-Bs4IMufW.js → useLongPress-GCK2COYQ-QHFgASa5.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BBaxYQlT.js → usp-line-BBd1wKwW-Da8fc4EA.js} +1 -1
- package/dist/assets/{utils-CI1RvLss.js → utils-NVDzAOjk.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-CHdaZXOz.js → withTransactionSidePanel-DfxXZ3Ja.js} +1 -1
- package/dist/assets/{zeni-epic-state-B1zsDZZ4.js → zeni-epic-state-4Sh7AIuB.js} +3 -3
- package/dist/assets/{zeni-icon-only-Bb7XRMgX.js → zeni-icon-only-i09YF2Nh.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-v8-NT3FJ-CUWvVcbF.js +0 -18
- package/dist/assets/ApAgingDetailPage-6F47t31h-8q8np9Bg.js +0 -46
- package/dist/assets/BillPayApprovalRuleDetailPage-CRBli7lk-CcG8rFJP.js +0 -27
- package/dist/assets/CustomerOnboardingAuthScreen-CTZAVHXC.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-B2LOWvxI.js +0 -1
- package/dist/assets/EntityDetailPage-BDyO7iLI-y9lTygCJ.js +0 -18
- package/dist/assets/InsightsSection-rGyA4lY9-ljgWP3Nl.js +0 -27
- package/dist/assets/InvitePeoplePage-CpD7YoC2-BM5MmdPZ.js +0 -12
- package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-BPfQqaKe.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D0JDLfbz-2wvzfcTR.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-iL43dQWj.js +0 -1
- package/dist/assets/SummaryCard-B1d4_5lE-BRRY9IEV.js +0 -1
- package/dist/assets/TransactionListPage-PCa4exLO-IbUCrSXm.js +0 -35
- package/dist/assets/VendorACHDetailsPage-C0vIRpRW-BP-CVl2D.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-CqZDNLeP.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-CrNjnkNS-Dqicw5_O.js +0 -33
- package/dist/assets/common-Cws59IN1-tgtgUQp7.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-CqHdHAc2.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CwHF76sn-C9QWz7EU.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-CwYCbZxF.js +0 -1
- package/dist/assets/toCOABalancesWithID-CGYYTIjt-CV8c8HPi.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as Pe,_ as Le,e as H,y as V,V as t,a_ as ze,w as I,O as T,m as l,o as i,x,bF as Re,b as O,an as Ie,bV as Te,bd as De,ab as Be,l as W,cS as
|
|
1
|
+
import{h as Pe,_ as Le,e as H,y as V,V as t,a_ as ze,w as I,O as T,m as l,o as i,x,bF as Re,b as O,an as Ie,bV as Te,bd as De,ab as Be,l as W,cS as b,gk as U,a5 as K,bo as Oe,bm as Me,H as N,b_ as J,f,gl as he,fi as pe,fe as me,bH as Ae,C as F,h_ as ge,b8 as Ne,iw as He,ib as We,c1 as _e,ad as z}from"./index-KcTwm1K9.js";import{a as S,b as G}from"./sentry-JtTANUcK.js";import{n,c as Q}from"./mui-n8MJ8WXv.js";import{m as Ee}from"./BusyIndication-YMYY0Pff-8c_TagDV.js";import{t as Ke}from"./SpendManagementSection-CPBOh_J5-fi40VxZS.js";import{r as Ve,a as Fe,i as ye,g as Ye}from"./SpendManagementListViewPage-DKRkSADM-TrO1q5C-.js";import{m as Ze}from"./MoreMenuButton--MxUyTqX-BKClOngp.js";import{c as X,L as Ue,M as Ge,S as qe}from"./common-BxjzMhDO-Cc18kJBU.js";import{Gv as ue,Gw as xe}from"./zeni-epic-state-4Sh7AIuB.js";import{d as Je}from"./ZeniAvatar-Ct7MPW2X-DMhfb-RB.js";import{r as Qe}from"./auto-transfer-rule-mbafm5D3-B9Rf6PEc.js";import"./pdf-Bel8Snu-.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.js";import"./filter-cZIFUNvj-Db00DH6f.js";import"./ZeniDatePicker-RNJ2ukKC-DVUBQrCy.js";import"./avatar-Dz7aEm3d-Cue7W3WL.js";import"./StatusSwitcher-DN-yYdli-Bv7Xw_4U.js";import"./bank-letter-BOcVjN6J-FSeNIRc7.js";import"./spend-limit-D6SyboD4-NC2bg4Ef.js";import"./dollar-round-D18u7nlm-BbHEYM2d.js";import"./money-2cg1MuG4-D96-gv6L.js";import"./page-summary-D7_VQHwN-CB9ORzTM.js";import"./transaction-placeholder-CpOwZAMG-CSA8GVr2.js";import"./unlock-BPWn2I5L-ciNOv6AF.js";import"./calculateSize-CzpGCfNE-CHnQlTyp.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]="b4814240-702b-4414-8466-72169d2bd433",e._sentryDebugIdIdentifier="sentry-dbid-b4814240-702b-4414-8466-72169d2bd433")}catch{}})();const _=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,Xe={key:"paymentDate",value:_.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},et={key:"sourceAccount",value:_.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},tt={key:"paymentStatus",value:_.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},it={key:"initiatedBy",value:_.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},nt={key:"amount",value:_.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[Xe,et,tt,it,nt],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(Ge,qe)},ot=G.memo(function({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=V(),s=H(),[d,y]=S.useState(we());S.useEffect(()=>{const r=[...d];for(const g of r)g.key===o.sortKey?g.sortOrder=o.sortOrder:g.sortOrder="ascending";y(r)},[o.sortKey,o.sortOrder]);const u=(r,g)=>{let w=g;o.sortKey===r&&(w=g==="ascending"?"descending":"ascending"),c(r,w)},h=d.find(r=>r.key===o.sortKey)??d[0],p=d.map(r=>r.key),m=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return s==="small"?t.jsxs(st,{windowSize:s,children:[t.jsxs(ct,{children:[t.jsx(pt,{children:t.jsx(ht,{})}),t.jsx(Me,{title:m.header.paymentDate,placeholder:m.header.paymentDate,pickerValues:p,valueToLabel:r=>d.find(g=>g.key===r)?.value??"",selectedValue:o.sortKey,onPickerSelectionChanged:r=>{u(r,"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(yt,{onClick:()=>u(h.key,h.sortOrder),"data-testid":O("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:s,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:s,children:t.jsx(J,{})})})]})]}):t.jsx(at,{windowSize:s,children:t.jsx(rt,{children:d.map(r=>r.width.value(s)!==0&&t.jsxs(dt,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:r.key,wrapperWidth:r.width,windowSize:s,children:[t.jsxs(gt,{onClick:()=>u(r.key,r.sortOrder),"data-testid":O("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:r.value}),t.jsx(ee,{windowSize:s,sortDataValue:o.sortKey,headerdata:r,children:t.jsx(te,{windowSize:s,children:t.jsx(J,{})})})]}),t.jsx(mt,{sortDataValue:o.sortKey,windowSize:s,isVisible:o.sortKey===r.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(lt,{onClick:()=>u("paymentDate","ascending"),"data-testid":O("payment-history-list-sort-cancel",o.sortKey)})})]},r.key))})})}),at=n.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -91,7 +91,7 @@ import{h as Pe,_ as Le,e as H,y as V,V as t,a_ as ze,w as I,O as T,m as l,o as i
|
|
|
91
91
|
cursor: pointer;
|
|
92
92
|
gap: 5px;
|
|
93
93
|
color: ${e=>e.theme.colors.primary};
|
|
94
|
-
`,B={containerPaddingLeft:new x(l[3],l[2]),containerPaddingRight:new x(l[2],l[3]),containerPaddingTop:new x(l[2],l[3]),containerPaddingBottom:new x(l[2],l[3]),containerMarginLeft:new x(l[4],l[0]),containerMarginRight:new x(l[4],l[0])},{spendManagement:{chargeCard:{paymentHistory:M}}}=T.getLocalizedStrings(),ut=e=>e.base64!==void 0?`${pe}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",xt=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:s,onRetryPaymentClick:d})=>{const{accountLogo:y,accountType:u,depositAccountLast4:h,depositAccountName:p}=o??{},m=H(),r=S.useCallback(Z=>{Z.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),g=T.getLocalizedStrings(),w=e.repaymentDate.format(g.dateFormat.visual.MMMDCommaYYYYformat),$=Ye(p,h,M.sourceAccountUnknown),
|
|
94
|
+
`,B={containerPaddingLeft:new x(l[3],l[2]),containerPaddingRight:new x(l[2],l[3]),containerPaddingTop:new x(l[2],l[3]),containerPaddingBottom:new x(l[2],l[3]),containerMarginLeft:new x(l[4],l[0]),containerMarginRight:new x(l[4],l[0])},{spendManagement:{chargeCard:{paymentHistory:M}}}=T.getLocalizedStrings(),ut=e=>e.base64!==void 0?`${pe}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",xt=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:s,onRetryPaymentClick:d})=>{const{accountLogo:y,accountType:u,depositAccountLast4:h,depositAccountName:p}=o??{},m=H(),r=S.useCallback(Z=>{Z.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),g=T.getLocalizedStrings(),w=e.repaymentDate.format(g.dateFormat.visual.MMMDCommaYYYYformat),$=Ye(p,h,M.sourceAccountUnknown),j=ye(e),v=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,C=j||!s&&v,R=C?M.autopay:ue(e.paidByUser),D=e.status==="Rejected"||e.status==="Returned",E=e.status==="Sent",Y=e.updateTime.format(g.dateFormat.visual.MMMDCommaYYYYformat),k=we();return t.jsx(vt,{windowSize:m,children:t.jsx(bt,{children:t.jsxs(jt,{children:[t.jsx(St,{windowSize:m,responsiveWidth:k[0].width,children:t.jsx(b,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:E?t.jsx(Oe,{placement:"bottom-start",title:t.jsxs(Yt,{children:[t.jsxs(oe,{children:[t.jsx(ae,{children:M.initiatedOn}),t.jsx(re,{children:w})]}),t.jsxs(oe,{children:[t.jsx(ae,{children:M.completedOn}),t.jsx(re,{children:Y})]})]}),style:{padding:"12px 16px"},display:"block",children:t.jsx(ie,{className:"paymentDate",children:w})}):t.jsx(ie,{className:"paymentDate",children:w})})}),t.jsxs(Ct,{windowSize:m,responsiveWidth:k[1].width,children:[t.jsx(b,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:t.jsx(kt,{children:u==="depositAccount"&&p!=null&&p!==""?t.jsx(Pt,{children:t.jsx(Lt,{color:U(0)})}):u==="paymentAccount"&&y!==void 0&&(y.base64||y.url)?t.jsx(It,{src:ut(y),loading:"lazy"}):t.jsx(zt,{children:t.jsx(Rt,{})})})}),t.jsx(Tt,{children:t.jsx(b,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:p!=null&&p!==""?t.jsxs(ne,{className:"sourceAccount",children:[t.jsx(Dt,{children:p}),h!=null&&h!==""&&t.jsx(Bt,{children:`•••• ${h}`})]}):t.jsx(ne,{className:"sourceAccount",children:$})})})]}),t.jsx(Ot,{windowSize:m,isLoading:a,responsiveWidth:k[2].width,children:t.jsx(b,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsxs(Mt,{children:[t.jsx(At,{children:t.jsx(wt,{status:e.status})}),D===!0&&c===!0&&d!=null&&t.jsxs(t.Fragment,{children:[t.jsx($t,{}),t.jsx(Nt,{onClick:r,"data-testid":O("retry-payment",e.cardRepaymentId),children:M.retryPayment})]})]})})}),t.jsxs(Ht,{windowSize:m,responsiveWidth:k[3].width,children:[t.jsx(b,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:C?t.jsx(Wt,{children:t.jsx(_t,{})}):t.jsx(Et,{children:t.jsx(Je,{personBasic:e.paidByUser,styles:{height:i.sp4,width:i.sp4,minWidth:i.sp4}})})}),t.jsx(b,{isLoading:a,customStyle:{width:"80px",height:"20px",borderRadius:i.sp1,marginLeft:i.sp2},children:t.jsx(Kt,{className:"initiatedBy",children:R})})]}),t.jsx(Vt,{windowSize:m,responsiveWidth:k[4].width,children:t.jsx(b,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(Ft,{className:"amount",windowSize:m,title:K("0,0.00",e.amount),children:K("0,0.00",e.amount)})})})]})})})},wt=({status:e,style:o})=>{const c=V(),a=ft(e,c),s=xe(e);return t.jsx(ge,{textColor:a,borderColor:a,text:s,tagStyles:{padding:"1px 6px",...o}})},ft=(e,o)=>{switch(e){case"Sent":return new z(f.success);case"Clearing":case"Pending":case"PendingReview":return new z(f.alert);case"Rejected":case"Returned":return new z(f.important);default:return new z(o.colors.grey1)}},$t=n.div`
|
|
95
95
|
width: ${i.sp1};
|
|
96
96
|
height: ${i.sp1};
|
|
97
97
|
background-color: ${e=>e.theme.colors.grey1};
|
|
@@ -124,10 +124,10 @@ import{h as Pe,_ as Le,e as H,y as V,V as t,a_ as ze,w as I,O as T,m as l,o as i
|
|
|
124
124
|
margin-bottom: ${i.sp3};
|
|
125
125
|
box-sizing: border-box;
|
|
126
126
|
align-items: center;
|
|
127
|
-
`,
|
|
127
|
+
`,bt=n.div`
|
|
128
128
|
display: block;
|
|
129
129
|
width: 100%;
|
|
130
|
-
`,
|
|
130
|
+
`,jt=n.div`
|
|
131
131
|
display: flex;
|
|
132
132
|
width: 100%;
|
|
133
133
|
justify-content: space-between;
|
|
@@ -304,7 +304,7 @@ import{h as Pe,_ as Le,e as H,y as V,V as t,a_ as ze,w as I,O as T,m as l,o as i
|
|
|
304
304
|
color: ${e=>e.theme.colors.hero};
|
|
305
305
|
`,re=n(F)`
|
|
306
306
|
color: ${f.brandColorPearl};
|
|
307
|
-
`,Zt=new z(U(0)).lighten(.3).hex(),{spendManagement:{chargeCard:{paymentHistory:A}}}=T.getLocalizedStrings(),Ut=e=>e.base64!==void 0?`${pe}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Gt=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:s,onRetryPaymentClick:d})=>{const{accountLogo:y,accountType:u,depositAccountLast4:h,depositAccountName:p}=o??{},m=S.useCallback(C=>{C.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),r=T.getLocalizedStrings(),g=e.repaymentDate.format(r.dateFormat.visual.MMMDCommaYYYYformat),w=ye(e),$=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,
|
|
307
|
+
`,Zt=new z(U(0)).lighten(.3).hex(),{spendManagement:{chargeCard:{paymentHistory:A}}}=T.getLocalizedStrings(),Ut=e=>e.base64!==void 0?`${pe}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Gt=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:s,onRetryPaymentClick:d})=>{const{accountLogo:y,accountType:u,depositAccountLast4:h,depositAccountName:p}=o??{},m=S.useCallback(C=>{C.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),r=T.getLocalizedStrings(),g=e.repaymentDate.format(r.dateFormat.visual.MMMDCommaYYYYformat),w=ye(e),$=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,j=w||!s&&$?A.autopay:ue(e.paidByUser),v=e.status==="Rejected"||e.status==="Returned";return t.jsx(Qt,{children:t.jsxs(Xt,{children:[t.jsxs(ei,{children:[t.jsx(ti,{children:t.jsx(b,{isLoading:a,customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:u==="depositAccount"&&p!=null&&p!==""?t.jsx(ii,{children:t.jsx(ni,{color:U(0)})}):u==="paymentAccount"&&y!==void 0&&(y.base64||y.url)?t.jsx(ri,{src:Ut(y),loading:"lazy"}):t.jsx(oi,{children:t.jsx(ai,{})})})}),t.jsxs(si,{children:[t.jsx(di,{children:t.jsx(b,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:t.jsx(li,{className:"sourceAccount",children:p!=null&&p!==""?p:A.sourceAccountUnknown})})}),t.jsx(ci,{children:t.jsx(b,{isLoading:a,customStyle:{width:"120px",height:"16px",borderRadius:i.sp1},children:t.jsx(hi,{children:h!=null&&h!==""?`Checking •••• ${h}`:""})})}),t.jsx(pi,{children:t.jsx(b,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(mi,{children:[A.header.initiatedBy,":"," ",t.jsx(gi,{className:"initiatedBy",children:j})]})})}),t.jsx(yi,{children:t.jsx(b,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(ui,{children:[A.header.paymentDate,":"," ",t.jsx(xi,{className:"paymentDate",children:g})]})})})]})]}),t.jsxs(wi,{children:[t.jsx(fi,{children:t.jsx(b,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx($i,{className:"amount",title:K("0,0.[00]",e.amount),children:K("0,0.[00]",e.amount)})})}),t.jsx(vi,{children:t.jsx(b,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(bi,{children:t.jsx(ji,{children:t.jsx(qt,{status:e.status})})})})}),v===!0&&c===!0&&d!=null&&t.jsx(Si,{children:t.jsx(Ci,{onClick:m,"data-testid":O("retry-payment",e.cardRepaymentId),children:A.retryPayment})})]})]})})},qt=({status:e,style:o})=>{const c=V(),a=Jt(e,c),s=xe(e);return t.jsx(ge,{textColor:a,borderColor:a,text:s,tagStyles:{padding:"1px 6px",...o}})},Jt=(e,o)=>{switch(e){case"Sent":return new z(f.success);case"Clearing":case"Pending":case"PendingReview":return new z(f.alert);case"Rejected":case"Returned":return new z(f.important);default:return new z(o.colors.grey1)}},Qt=n.div`
|
|
308
308
|
display: flex;
|
|
309
309
|
background-color: ${e=>e.theme.colors.grey5};
|
|
310
310
|
padding: ${i.sp3};
|
|
@@ -454,14 +454,14 @@ import{h as Pe,_ as Le,e as H,y as V,V as t,a_ as ze,w as I,O as T,m as l,o as i
|
|
|
454
454
|
justify-content: flex-start;
|
|
455
455
|
margin-top: ${i.sp1};
|
|
456
456
|
margin-bottom: ${i.sp3};
|
|
457
|
-
`,
|
|
457
|
+
`,bi=n.div`
|
|
458
458
|
display: flex;
|
|
459
459
|
align-items: center;
|
|
460
460
|
flex-direction: row;
|
|
461
461
|
gap: ${i.sp2};
|
|
462
462
|
flex-wrap: wrap;
|
|
463
463
|
justify-content: flex-end;
|
|
464
|
-
`,
|
|
464
|
+
`,ji=n.div`
|
|
465
465
|
display: flex;
|
|
466
466
|
align-items: center;
|
|
467
467
|
gap: ${i.sp2};
|
|
@@ -481,7 +481,7 @@ import{h as Pe,_ as Le,e as H,y as V,V as t,a_ as ze,w as I,O as T,m as l,o as i
|
|
|
481
481
|
&:hover {
|
|
482
482
|
text-decoration: underline;
|
|
483
483
|
}
|
|
484
|
-
`,ki={lastListItemHeight:new x(200,114)},Pi=T.getLocalizedStrings(),{spendManagement:{chargeCard:se},common:Li}=Pi,fe=G.memo(({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,searchText:a,isZeniTenant:s,onColumnSortConfigChanged:d,onReloadPayments:y,onRetryPaymentClick:u})=>{const h=H(),p=S.useCallback($=>$===0?50:h==="small"?132:X,[h]),m=S.useMemo(()=>{let $=114;for(let
|
|
484
|
+
`,ki={lastListItemHeight:new x(200,114)},Pi=T.getLocalizedStrings(),{spendManagement:{chargeCard:se},common:Li}=Pi,fe=G.memo(({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,searchText:a,isZeniTenant:s,onColumnSortConfigChanged:d,onReloadPayments:y,onRetryPaymentClick:u})=>{const h=H(),p=S.useCallback($=>$===0?50:h==="small"?132:X,[h]),m=S.useMemo(()=>{let $=114;for(let j=1;j<=o.length;j++)$+=p(j);return $},[o.length,p]),r=S.useMemo(()=>window.innerHeight-351,[]),g=m>r,w=S.useRef(null);return S.useEffect(()=>{w.current?.resetAfterIndex(0)},[h]),t.jsx(Ii,{fetchState:e,children:e==="Error"?t.jsxs(Ti,{children:[t.jsx(Di,{onClick:y,"data-testid":O("payment-history-list-reload"),children:t.jsx(Bi,{})}),t.jsx(Oi,{children:Li.reloadPage.label})]}):e==="Completed"&&o.length===0?t.jsx(Ni,{children:t.jsx(Hi,{children:a!==""?se.paymentHistory.noPaymentHistoryMatchedSearch:se.paymentHistory.noPaymentHistoryAvailable})}):t.jsx(ve,{children:t.jsx(Mi,{windowSize:h,availableHeight:r,isListTooLarge:g,children:t.jsx(Ie,{children:({height:$,width:j})=>t.jsx(Te,{ref:w,height:$,itemCount:o.length+1,innerElementType:$e,itemSize:p,estimatedItemSize:X,itemKey:v=>v===0?"header":o[v-1].repayment.cardRepaymentId,width:j,overscanCount:Ue,initialScrollOffset:0,children:v=>t.jsx(zi,{...v,repaymentListWithAccountInfo:o,sortConfig:c,isZeniTenant:s,onColumnSortConfigChanged:d,onRetryPaymentClick:u})})})})})})},(e,o)=>e.repaymentListWithAccountInfo===o.repaymentListWithAccountInfo&&e.fetchState===o.fetchState&&e.sortConfig.sortKey===o.sortConfig.sortKey&&e.sortConfig.sortOrder===o.sortConfig.sortOrder&&e.searchText===o.searchText&&e.isZeniTenant===o.isZeniTenant);fe.displayName="ChargeCardPaymentHistoryContent";const $e=S.forwardRef((e,o)=>{const{children:c,style:a,...s}=e;return t.jsx(ve,{ref:o,style:{...a,width:"auto"},...s,children:t.jsx(Ai,{children:c})})});$e.displayName="ChargeCardPaymentHistoryInnerElement";const zi=({index:e,style:o,repaymentListWithAccountInfo:c,sortConfig:a,isZeniTenant:s,onColumnSortConfigChanged:d,onRetryPaymentClick:y})=>{const u=H(),h=e===0,p=h?null:c[e-1],m=p?.repayment??null,r=p?.accountInfo,g=S.useMemo(()=>{if(c.length===0)return null;const v=c.map(R=>R.repayment),C=v.slice(1).reduce((R,D)=>D.repaymentDate.isAfter(R.repaymentDate)?D:R,v[0]);return C.status==="Rejected"||C.status==="Returned"?C.cardRepaymentId:null},[c]),w={...o,width:"100%"};if(h)return t.jsx(de,{style:w,className:"spend-management-list-item",children:t.jsx(ot,{companyNameSticky:!1,sortConfig:a,onColumnSortConfigChanged:d})});if(m==null)return null;const $=g!==null&&m.cardRepaymentId===g,j=u==="small"?Gt:xt;return t.jsx(de,{style:w,className:"spend-management-list-item",children:t.jsx(j,{repayment:m,accountInfo:r,isLatestFailedPayment:$,isZeniTenant:s,onRetryPaymentClick:y})})},Ri=G.memo(({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:s,searchText:d,isZeniTenant:y,onRetryPaymentClick:u})=>(Re({componentName:"charge_card_payment_history.list",enabled:e==="Completed"}),t.jsx(fe,{fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:s,searchText:d,isZeniTenant:y,onRetryPaymentClick:u}))),Ii=n.div`
|
|
485
485
|
margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
|
|
486
486
|
display: block;
|
|
487
487
|
height: 100%;
|
|
@@ -551,7 +551,7 @@ import{h as Pe,_ as Le,e as H,y as V,V as t,a_ as ze,w as I,O as T,m as l,o as i
|
|
|
551
551
|
`,Hi=n(W)`
|
|
552
552
|
display: flex;
|
|
553
553
|
color: ${e=>e.theme.colors.grey2};
|
|
554
|
-
`,le={contentContainerMargin:new x(l[3],l[4],l[8])},{spendManagement:{chargeCard:{paymentHistory:ce}},common:Wi}=T.getLocalizedStrings(),
|
|
554
|
+
`,le={contentContainerMargin:new x(l[3],l[4],l[8])},{spendManagement:{chargeCard:{paymentHistory:ce}},common:Wi}=T.getLocalizedStrings(),bn=({repaymentList:e,fetchState:o,sortConfig:c,accountInfoByAccountId:a,searchText:s,filters:d,isZeniTenant:y,onBackClick:u,repaymentHistoryUsers:h,onColumnSortConfigChanged:p,onFiltersChange:m,onReloadPayments:r,onRetryPaymentClick:g,onSearchTextChanged:w,onClickMenuIcon:$,downloadParams:j,downloadState:v,updateDownloadStateHandler:C})=>{const R=Pe().analytics,D=Le(),[E,Y]=S.useState(!1),k=H(),Z=V(),be=s===""&&(d?.categories==null||d.categories.length===0||d.categories.every(L=>L.values==null||L.values.length===0)),q=o==="Completed"&&be&&e.length===0,je={entity:"charge_card_payment_history",showNewButtonOnNavbar:!1,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:Wi.strings.empty,hideSearchBtn:!1,disableSearch:q,disableFilters:q,searchTextBoxStyle:{right:"86px"},moreIconContainerStyle:{paddingRight:l[4]},isSearchOpen:E,searchPlaceHolder:ce.searchPlaceHolder,searchText:s,showSettingsIcon:!1,showSettingsIconOnNavbar:!1,showStatementButtonOnNavbar:!1,showPayEarlyButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,showDownloadIcon:!0,onDownloadClick:async()=>{C("In-Progress");try{await Ze({localeID:"en-US",fileType:"excel",entity:"charge_card_payment_history",filter:{filters:d,searchText:s},...j})}finally{C("Completed")}},disableDownloadButton:v==="In-Progress"||o!=="Completed"||e.length===0,analytics:R,onSearchOpen:L=>{Y(L)},filterIconContainerStyle:{...k==="small"&&{position:"static",paddingRight:"10px"}},onSearchTextChanged:w,onClickSetupIcon:()=>{},onClickStatementsIcon:()=>{},downloadState:v,onNewButtonClick:()=>{},onClickPayEarlyIcon:()=>{},onMenuOpen:()=>{},filters:d,onFiltersChange:m,createdByUserListLoaded:o==="Completed",getFilterOptions:()=>Fe("charge_card_payment_history",h,D.loggedInUserRole??[],[],a),renderDropdownOptionIcon:Ve},Se=t.jsx(Ke,{spendManagementSectionProps:je}),Ce=ce.pageTitle,ke=S.useMemo(()=>e.map(L=>({repayment:L,accountInfo:L.paymentAccountId!=null&&L.paymentAccountId!==""?a?.[L.paymentAccountId]:void 0})),[e,a]);return t.jsxs(_i,{children:[t.jsx(ze,{title:Ce,showBackButton:!0,showMenuIcon:k==="medium-compact"||k==="small",onClickMenuIcon:$,titleTextStyles:k==="small"?{...I.standardMedium.cssObject}:void 0,style:{zIndex:3},onBackClick:u,rightSideComponent:Se,isSearchOpen:E,hideSearchBtn:!1,scrollableContent:void 0,source:"ChargeCardPaymentHistoryPage",backgroundColor:Z.colors.grey4}),o==="Not-Started"||o==="In-Progress"?t.jsx(Ee,{fetchState:o,styles:{margin:"auto"}}):t.jsx(Ei,{windowSize:k,children:t.jsx(Ri,{fetchState:o,repaymentListWithAccountInfo:ke,sortConfig:c,onColumnSortConfigChanged:p,onReloadPayments:r,searchText:s,isZeniTenant:y,onRetryPaymentClick:g})})]})},_i=n.div`
|
|
555
555
|
display: flex;
|
|
556
556
|
flex-direction: column;
|
|
557
557
|
width: 100%;
|
|
@@ -562,4 +562,4 @@ import{h as Pe,_ as Le,e as H,y as V,V as t,a_ as ze,w as I,O as T,m as l,o as i
|
|
|
562
562
|
margin-right: ${e=>le.contentContainerMargin.valuePx(e.windowSize)};
|
|
563
563
|
margin-bottom: ${i.sp0};
|
|
564
564
|
margin-left: ${e=>le.contentContainerMargin.valuePx(e.windowSize)};
|
|
565
|
-
`;export{
|
|
565
|
+
`;export{bn as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as b,V as r,y as O,_ as ye,h as be,a7 as $e,a5 as je,fm as Se,a_ as Te,eY as ze,a as Q,b as ee,O as oe,o as i,c2 as ve,n as J,c3 as Pe,D as ke,x,s as Ie,bo as Ae,i2 as Be,C as _e,m as p,d as j,f,au as Le,ac as Re,i3 as Me}from"./index-Mhz2NAiD.js";import{a as S}from"./sentry-D-LCra2M.js";import{n,c as Ee,k as De}from"./mui-Ckdcx_YE.js";import{F4 as Fe}from"./zeni-epic-state-B1zsDZZ4.js";import{x as Ne}from"./NavigationDots-WiVjbUsC-C7Q4WAGV.js";import{J as H,N as G}from"./PromoBaseCards-Bmn6TN2k-Bs7EMABq.js";import{M as _}from"./usp-line-BBd1wKwW-BBaxYQlT.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.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]="381ee667-225a-454e-adcc-3d1332a17678",e._sentryDebugIdIdentifier="sentry-dbid-381ee667-225a-454e-adcc-3d1332a17678")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},T={promoBadgeText:new j("standardRegular","largeRegular"),promoBadgeTextBold:new j("standardBold","largeBold"),cardsContent:new j("extraSmallRegular","smallRegular"),contactAdmin:new j("extraSmallRegular","largeRegular"),uspText:new j("smallRegular","standardRegular"),uspBoldText:new j("smallMedium","standardMedium")},{common:N,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),Mr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:t,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,admins:$,cashbackRate:v,cardPromoType:d="credit",isCheckingEnabled:l,onSetupButtonClick:L,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:X,onExpressInterestClick:ge})=>{const he=O(),V=ye(),z=b(),W=be().analytics,{chargeCardTermsDetails:R,companyChargeCardInfo:C,companyLocaleInfo:M}=t,Z=$e(R?.fetchStatus.fetchState),[xe,Y]=S.useState(!1),we=C!=null&&M!=null?je("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;S.useEffect(()=>{Z==="In-Progress"&&R?.fetchStatus.fetchState==="Completed"&&X()},[Z,X,R?.fetchStatus]);const q=Fe(V.loggedInUserRoleMap),ue=Se(V),E=d==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=d==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=d==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=d==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:fe}=t,K=E?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Xe,{children:[r.jsx(Te,{title:o.title[d],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ze,{onCancelClick:()=>{Y(!1)},meetingUrl:e}):null,r.jsx(Ye,{windowSize:z,children:q===!0?r.jsxs(Ze,{children:[r.jsxs(We,{children:[r.jsx(He,{isApproved:Ce,creditAmount:we,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:d,cashbackRate:v})]}),r.jsx(ne,{showEnableCardButton:a,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Ge,{companyLegalName:s,cards:[],admins:$,cashbackRate:v,hasZeniFinopsRoles:ue,cardPromoType:d,isCheckingEnabled:l})}),!q||F||D?null:r.jsxs(tr,{windowSize:z,children:[r.jsx(Q,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:w,isCreditCardEnabled:u},"Cards Promo"),Y(!0)},"data-testid":ee("schedule-demo-button")}),r.jsx(Ve,{windowSize:z,children:o.orText}),r.jsx(Q,{variant:"primary",label:K,style:{minWidth:166},loading:t.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||fe==="In-Progress",onClick:K===o.getPreApprovedNow?ge:()=>L(d),"data-testid":ee("enable-card-button")})]})]})},Ue=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),t=b();return r.jsxs(pr,{windowSize:t,children:[r.jsx(U,{underline:!1,windowSize:t,children:o.noCardAssigned.pre}),r.jsx(Ae,{title:s,placement:"top-start",style:{padding:`2px ${i.sp2}`},children:r.jsx(U,{underline:!0,windowSize:t,children:o.noCardAssigned.tooltip})}),r.jsx(U,{underline:!1,windowSize:t,children:o.noCardAssigned.post})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:t,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const w=b();return r.jsx(ir,{windowSize:w,children:r.jsx(Be,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(w)},cardPromoType:e,isCheckingEnabled:t})})},He=({isApproved:e,cardPromoType:s,creditAmount:t,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const w=b(),u=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,$=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(ie,{children:t}),o.creditLimit,N.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(er,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,N.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):a?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(ie,{children:t}),o.creditLimit,N.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ke,{cardPromoType:s,hasContent:$!=null,hideBadge:t==null||s==="debit",windowSize:w,children:[a||c||m?null:r.jsx(fr,{}),r.jsx(Qe,{windowSize:w,children:$})]})]})},Ge=({companyLegalName:e,cards:s,admins:t,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const w=b(),u=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(cr,{windowSize:w}):r.jsx(Oe,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(Ue,{admins:t}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Oe=({cards:e,companyLegalName:s})=>{const t=O(),a=b();let c,m="";if(e.length===1){c=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;m=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else m=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(gr,{children:[c!=null?r.jsx(qe,{width:i.sp5,height:i.sp5,style:{paddingTop:a==="small"?i.sp1:i.sp0},src:c.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ie},loading:"lazy"}):null,r.jsx(mr,{windowSize:a,mode:t.mode,children:r.jsx(hr,{windowSize:a,children:m})})]})},re=({windowSize:e,cardPromoType:s})=>{let t=o.businessText;return s==="debit"&&(t=`${t} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Je,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:t,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(G,{cardPromoType:s,cardText:t,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const t=b(),a=o.benefits;return r.jsxs(rr,{windowSize:t,children:[t==="small"?r.jsx(re,{windowSize:t,cardPromoType:e}):null,r.jsxs(or,{windowSize:t,children:[r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(dr,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item1.pre}),r.jsx(I,{windowSize:t,children:a.item1.bold.replace("__cashback__",(100*s).toFixed(2))}),r.jsx(y,{windowSize:t,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(ar,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item2.pre}),r.jsx(I,{windowSize:t,children:a.item2.bold}),r.jsx(y,{windowSize:t,children:a.item2.post})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(lr,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item3.pre}),r.jsx(I,{windowSize:t,children:a.item3.bold}),r.jsx(y,{windowSize:t,children:a.item3.post})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(sr,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item4.pre}),r.jsx(I,{windowSize:t,children:a.item4.bold}),r.jsx(y,{windowSize:t,children:a.item4.post})]})]})]}),t==="small"?null:r.jsx(re,{windowSize:t,cardPromoType:e})]})};let P;const Je=()=>{const e=b(),s=O(),[t,a]=S.useState(0),[c,m]=S.useState(!1),h=o.businessText,w=`${h} ${o.debit}`,u=[{id:1,cardType:"debit",cardText:w},{id:2,cardType:"debit",cardText:w},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];S.useEffect(()=>(c||(P=setInterval(()=>{a(d=>{const l=d+1;return l===u.length?(m(!0),0):l})},2e3)),()=>clearInterval(P)),[c,u.length]),S.useEffect(()=>{c&&P!=null&&clearInterval(P)},[c]);const $=(d,l)=>{switch((d-t+u.length)%u.length){case 0:return{transform:`translate(0,${l?"100%":0}) scale(1)`,zIndex:l?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${l?"80%":"5%"}) scale(0.75)`,zIndex:l?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};default:return}},v=d=>{const l=$(d,!0);return{...l,transform:`${l?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}};return r.jsxs(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:u.map((d,l)=>r.jsxs(ur,{children:[r.jsx(te,{isReflection:!1,style:{...$(l,!1)},onClick:()=>(L=>{c||m(!0),a(L)})(l),children:l===0||l===2?r.jsx(H,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(G,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},d.id),r.jsx(te,{isReflection:!0,style:{...v(l)},children:l===0||l===2?r.jsx(H,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(G,{cardPromoType:d.cardType,cardText:d.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${d.id}`)]},d.id))}),c&&r.jsx(Ne,{numberOfDots:u.length,activeIndex:t,handleClick:a,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:i.sp2,height:i.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},Xe=n.div`
|
|
1
|
+
import{e as b,V as r,y as O,_ as ye,h as be,a7 as $e,a5 as je,fm as Se,a_ as Te,eY as ze,a as Q,b as ee,O as oe,o as i,c2 as ve,n as J,c3 as Pe,D as ke,x,s as Ie,bo as Ae,i2 as Be,C as _e,m as p,d as j,f,au as Le,ac as Re,i3 as Me}from"./index-KcTwm1K9.js";import{a as S}from"./sentry-JtTANUcK.js";import{n,c as Ee,k as De}from"./mui-n8MJ8WXv.js";import{F4 as Fe}from"./zeni-epic-state-4Sh7AIuB.js";import{x as Ue}from"./NavigationDots-Kh5ODrCQ-C4TC7zOM.js";import{J as H,N as G}from"./PromoBaseCards-BUk-u73S-B_feA__0.js";import{M as _}from"./usp-line-BBd1wKwW-Da8fc4EA.js";import"./pdf-Bel8Snu-.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.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]="51858285-a60a-4a23-9559-aa1b40f1a883",e._sentryDebugIdIdentifier="sentry-dbid-51858285-a60a-4a23-9559-aa1b40f1a883")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},T={promoBadgeText:new j("standardRegular","largeRegular"),promoBadgeTextBold:new j("standardBold","largeBold"),cardsContent:new j("extraSmallRegular","smallRegular"),contactAdmin:new j("extraSmallRegular","largeRegular"),uspText:new j("smallRegular","standardRegular"),uspBoldText:new j("smallMedium","standardMedium")},{common:U,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),Mr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:t,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,admins:$,cashbackRate:v,cardPromoType:d="credit",isCheckingEnabled:l,onSetupButtonClick:L,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:X,onExpressInterestClick:ge})=>{const he=O(),V=ye(),z=b(),W=be().analytics,{chargeCardTermsDetails:R,companyChargeCardInfo:C,companyLocaleInfo:M}=t,Y=$e(R?.fetchStatus.fetchState),[xe,Z]=S.useState(!1),we=C!=null&&M!=null?je("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;S.useEffect(()=>{Y==="In-Progress"&&R?.fetchStatus.fetchState==="Completed"&&X()},[Y,X,R?.fetchStatus]);const q=Fe(V.loggedInUserRoleMap),ue=Se(V),E=d==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=d==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=d==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=d==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:fe}=t,K=E?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Xe,{children:[r.jsx(Te,{title:o.title[d],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ze,{onCancelClick:()=>{Z(!1)},meetingUrl:e}):null,r.jsx(Ze,{windowSize:z,children:q===!0?r.jsxs(Ye,{children:[r.jsxs(We,{children:[r.jsx(He,{isApproved:Ce,creditAmount:we,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:d,cashbackRate:v})]}),r.jsx(ne,{showEnableCardButton:a,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Ge,{companyLegalName:s,cards:[],admins:$,cashbackRate:v,hasZeniFinopsRoles:ue,cardPromoType:d,isCheckingEnabled:l})}),!q||F||D?null:r.jsxs(tr,{windowSize:z,children:[r.jsx(Q,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:w,isCreditCardEnabled:u},"Cards Promo"),Z(!0)},"data-testid":ee("schedule-demo-button")}),r.jsx(Ve,{windowSize:z,children:o.orText}),r.jsx(Q,{variant:"primary",label:K,style:{minWidth:166},loading:t.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||fe==="In-Progress",onClick:K===o.getPreApprovedNow?ge:()=>L(d),"data-testid":ee("enable-card-button")})]})]})},Ne=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),t=b();return r.jsxs(pr,{windowSize:t,children:[r.jsx(N,{underline:!1,windowSize:t,children:o.noCardAssigned.pre}),r.jsx(Ae,{title:s,placement:"top-start",style:{padding:`2px ${i.sp2}`},children:r.jsx(N,{underline:!0,windowSize:t,children:o.noCardAssigned.tooltip})}),r.jsx(N,{underline:!1,windowSize:t,children:o.noCardAssigned.post})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:t,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const w=b();return r.jsx(ir,{windowSize:w,children:r.jsx(Be,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(w)},cardPromoType:e,isCheckingEnabled:t})})},He=({isApproved:e,cardPromoType:s,creditAmount:t,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const w=b(),u=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,$=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(ie,{children:t}),o.creditLimit,U.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(er,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,U.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):a?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(ie,{children:t}),o.creditLimit,U.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ke,{cardPromoType:s,hasContent:$!=null,hideBadge:t==null||s==="debit",windowSize:w,children:[a||c||m?null:r.jsx(fr,{}),r.jsx(Qe,{windowSize:w,children:$})]})]})},Ge=({companyLegalName:e,cards:s,admins:t,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const w=b(),u=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(cr,{windowSize:w}):r.jsx(Oe,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(Ne,{admins:t}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Oe=({cards:e,companyLegalName:s})=>{const t=O(),a=b();let c,m="";if(e.length===1){c=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;m=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else m=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(gr,{children:[c!=null?r.jsx(qe,{width:i.sp5,height:i.sp5,style:{paddingTop:a==="small"?i.sp1:i.sp0},src:c.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ie},loading:"lazy"}):null,r.jsx(mr,{windowSize:a,mode:t.mode,children:r.jsx(hr,{windowSize:a,children:m})})]})},re=({windowSize:e,cardPromoType:s})=>{let t=o.businessText;return s==="debit"&&(t=`${t} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Je,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:t,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(G,{cardPromoType:s,cardText:t,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const t=b(),a=o.benefits;return r.jsxs(rr,{windowSize:t,children:[t==="small"?r.jsx(re,{windowSize:t,cardPromoType:e}):null,r.jsxs(or,{windowSize:t,children:[r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(dr,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item1.pre}),r.jsx(I,{windowSize:t,children:a.item1.bold.replace("__cashback__",(100*s).toFixed(2))}),r.jsx(y,{windowSize:t,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(ar,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item2.pre}),r.jsx(I,{windowSize:t,children:a.item2.bold}),r.jsx(y,{windowSize:t,children:a.item2.post})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(lr,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item3.pre}),r.jsx(I,{windowSize:t,children:a.item3.bold}),r.jsx(y,{windowSize:t,children:a.item3.post})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(sr,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item4.pre}),r.jsx(I,{windowSize:t,children:a.item4.bold}),r.jsx(y,{windowSize:t,children:a.item4.post})]})]})]}),t==="small"?null:r.jsx(re,{windowSize:t,cardPromoType:e})]})};let P;const Je=()=>{const e=b(),s=O(),[t,a]=S.useState(0),[c,m]=S.useState(!1),h=o.businessText,w=`${h} ${o.debit}`,u=[{id:1,cardType:"debit",cardText:w},{id:2,cardType:"debit",cardText:w},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];S.useEffect(()=>(c||(P=setInterval(()=>{a(d=>{const l=d+1;return l===u.length?(m(!0),0):l})},2e3)),()=>clearInterval(P)),[c,u.length]),S.useEffect(()=>{c&&P!=null&&clearInterval(P)},[c]);const $=(d,l)=>{switch((d-t+u.length)%u.length){case 0:return{transform:`translate(0,${l?"100%":0}) scale(1)`,zIndex:l?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${l?"80%":"5%"}) scale(0.75)`,zIndex:l?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};default:return}},v=d=>{const l=$(d,!0);return{...l,transform:`${l?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}};return r.jsxs(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:u.map((d,l)=>r.jsxs(ur,{children:[r.jsx(te,{isReflection:!1,style:{...$(l,!1)},onClick:()=>(L=>{c||m(!0),a(L)})(l),children:l===0||l===2?r.jsx(H,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(G,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},d.id),r.jsx(te,{isReflection:!0,style:{...v(l)},children:l===0||l===2?r.jsx(H,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(G,{cardPromoType:d.cardType,cardText:d.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${d.id}`)]},d.id))}),c&&r.jsx(Ue,{numberOfDots:u.length,activeIndex:t,handleClick:a,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:i.sp2,height:i.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},Xe=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -10,13 +10,13 @@ import{e as b,V as r,y as O,_ as ye,h as be,a7 as $e,a5 as je,fm as Se,a_ as Te,
|
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
align-items: center;
|
|
13
|
-
`,
|
|
13
|
+
`,Ye=n.div`
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|
|
16
16
|
justify-content: space-between;
|
|
17
17
|
flex: 1;
|
|
18
18
|
width: 100%;
|
|
19
|
-
`,
|
|
19
|
+
`,Ze=n.div`
|
|
20
20
|
padding-top: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
21
21
|
padding-bottom: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
22
22
|
text-align: center;
|
|
@@ -163,7 +163,7 @@ import{e as b,V as r,y as O,_ as ye,h as be,a7 as $e,a5 as je,fm as Se,a_ as Te,
|
|
|
163
163
|
margin-left: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
|
|
164
164
|
margin-right: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
|
|
165
165
|
text-align: center;
|
|
166
|
-
`,
|
|
166
|
+
`,N=n(Me)`
|
|
167
167
|
${e=>`${T.contactAdmin.style(e.windowSize)}`};
|
|
168
168
|
text-decoration: ${e=>e.underline?"underline":"none"};
|
|
169
169
|
cursor: ${e=>e.underline?"default":null};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as s}from"./pdf-CwWlK-Dr.js";import{j as ue,l as oa,i as me,u as S,h as be,k as he,N as pa,o as ot,R as Mt,m as te}from"./core-AYNw6kyJ.js";import{ct as ce,F4 as Be,MN as Ia,cy as ye,cz as Se,cA as Ie,dt as Me,bH as $e,MO as Ge,MP as Va,pS as ha,gT as ga,MQ as fa,eg as ra,v$ as Xe,w1 as Ha,w2 as Ma,gL as ct,MR as ze,vP as it,MS as $t,MT as Gt,vS as ka,MU as zt,Lh as Ea,o2 as dt,vY as $a,er as Yt,MV as lt,MW as Ye,bs as Zt,MX as Kt,dj as Aa,di as Da,ww as Wt,dh as _a,KZ as qt,MY as ut,F5 as mt,bM as Qt,Lg as ca,x6 as Xt,MZ as Ja,wI as wa,M_ as Ct,x7 as Jt,LH as en,x8 as an,y2 as tn,pc as nn,xY as rn,wh as pt,wa as sn,M$ as on,dv as cn,wq as ht,wu as gt,du as dn,N0 as ln,wU as ft,N1 as un,N2 as mn,N3 as Cn,ws as bt,wd as yt,vV as St,wm as It,wk as kt,wo as pn,w0 as et,N4 as Et,N5 as Pa,wF as ba,HX as At,bN as Ga,N6 as hn,N7 as gn,N8 as fn,N9 as bn,wC as Oa,w$ as yn,wX as Sn,wy as In,wZ as kn,wP as En,wR as An,Na as Dt,x5 as _t,Dr as Dn,Nb as _n,Nc as wn,Nd as Pn,Ne as wt,Nf as Tn,xs as Fn,wH as Pt,wB as sa,wG as vn,Ng as xn,Nh as Ln,vM as Bn,Ni as Tt,Nj as Ft,Nk as Un,vO as Rn,vN as at,Nl as On,Nm as Nn,Nn as jn,HT as Vn,No as za,Np as Hn,sE as vt,hr as Mn,eh as $n,xx as Gn,Nq as xt,Nr as zn,xy as Yn,Ns as Zn,cg as Kn,pM as Wn,xn as qn,xh as Le,bt as Qn,FX as Xn,FY as Jn,G5 as er,Hb as ar}from"./zeni-epic-state-B1zsDZZ4.js";import{js as X,_ as Re,aE as oe,aG as K,jQ as _e,lM as Ta,lX as tr,lY as nr,jM as Te,e as ia,aF as Pe,jO as fe,l8 as Ya,lZ as rr,x as da,jD as Fa,y as va,jz as q,O as Za,l_ as sr,a7 as Ka,i5 as qe,cR as Na,L as or,bk as Wa,k9 as cr,l$ as ir,kv as Lt,k4 as ja,k2 as Bt,J as Ut,m0 as dr,m1 as lr,m2 as ur,m3 as mr,o as ya,m4 as Cr,m5 as pr,m as Ba,N as hr,m6 as gr,m7 as fr,m8 as br,kc as yr}from"./index-Mhz2NAiD.js";import{n as ke,D as Rt,S as Sr}from"./mui-Ckdcx_YE.js";import{a as l}from"./sentry-D-LCra2M.js";import{g as pe,a as la,b as Ot,c as Ee,d as Ae,e as Ue,f as Oe,A as Ir,h as qa,P as kr,i as Qa,s as Qe,j as Nt,k as He,l as jt,m as Er,n as Vt,p as Ar,S as tt}from"./SetupPagesScreen-BG2iNhNo.js";import xa from"./NotFoundScreen-C4RWEwpc.js";import{M as ua}from"./MobileAppDrawer-BzhvI9uK.js";import{v as nt}from"./utils-CI1RvLss.js";import{t as Dr}from"./AddressScreen-DEbSWJPO.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./analyticsHelper-qMWdjEFo.js";import"./routePaths-DIayl1Jh.js";import"./BusinessVerificationPageScreen-DE3iPWMP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1bb7015f-ae9d-4ae4-8974-bd252d3d5892",e._sentryDebugIdIdentifier="sentry-dbid-1bb7015f-ae9d-4ae4-8974-bd252d3d5892")}catch{}})();function _r(){const e=ue(),{cardId:t}=oa(),a=me(),r=X.getSignedInUser(),n=S(W=>ce(W)),c=Re(),u=Be(c?.loggedInUserRoleMap),{useFeatureGate:m}=oe();if(r==null)throw Error("Can't access Add To Wallet Page without signing in...");const[E,i]=l.useState(!1),g=S(W=>Ia(W).firstViewAfterActivation);if(t==null)throw Error("Empty card id is not valid...");const I=n.userRole.includes("charge_card_user"),{isFeatureEnabled:_}=m(K.isChargeCardFeatureEnabled),C=!!n.companyChargeCardInfo?.info?.isChargeCardEnabled,{isFeatureEnabled:U}=m(K.isDebitCardFeatureEnabled),v=ye(n),T=Se(n),d=Ie(U,n),f=n.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,b=Ee({isDebitCardFeatureEnabled:U,isBankingOnlyTenant:d}),o=Ae({isCardsOnlyTenant:v,isChargeCardFeatureEnabled:_,isBookKeepingTenant:T,isDebitCardProductVisible:b,chargeCardsCreditAccountLimit:f}),w=!!n.companyDebitCardInfo?.info?.isDebitCardEnabled,O=S(W=>Me(W,n.companyId)),N=$e(O.controllers),{creditAccount:L,creditAccountRepayment:F}=S(W=>Ge(W)),R=S(W=>W.classListState.fetchState),p=!I&&o&&C,h=S(W=>Va(W,t,p,o)),[k,A]=l.useState(!1),M=h.chargeCard,$=M?.cardCreatedByUser?.userId,H=S(W=>$!=null?ha(W.userRoleState,$):void 0),B=H?.accountingClassIDs[0],y=S(W=>B!=null?ga(W.classState,{classId:B,reportId:"class_list"}):void 0),Y=M?.cardHolderUser?.userId,x=S(W=>Y!=null?ha(W.userRoleState,Y):void 0),P=x?.accountingClassIDs[0],z=S(W=>P!=null?ga(W.classState,{classId:P,reportId:"class_list"}):void 0),D=M?.type.code==="business_physical_credit_card"||M?.type.code==="business_physical_debit_card",Z=M?.type.code==="business_physical_debit_card";l.useEffect(()=>{g&&E===!1&&D&&(i(!0),setTimeout(()=>{a(fa()),Z&&a(ra({messageSection:"set_debit_card_pin",messageText:"success",type:"success",showStatusIcon:!0}))},5e3))},[g,E,D,Z]),l.useEffect(()=>{k||h.fetchState==="Completed"||h.fetchState==="In-Progress"||t==null||(A(!0),a(Xe(t,p,!1)))},[k,h,t,a]),l.useEffect(()=>{if(h.fetchState==="Completed"&&(D===!1||D&&M?.status?.code!=="active"||M?.cardHolderUserId!==r.userId||g===!1&&E===!1||M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card")){const W=pe(n.tenantEmailDomain,t,r,M,g);e(W)}},[h.fetchState,g,D]),l.useEffect(()=>{L.fetchState!=="Completed"&&L.fetchState!=="In-Progress"&&o&&C&&u&&a(Ha()),F.fetchState!=="Completed"&&F.fetchState!=="In-Progress"&&o&&C&&u&&a(Ma()),R!=="Completed"&&R!=="In-Progress"&&a(ct())},[L.fetchState,F.fetchState,a,o,C,u,R]);const G=()=>{if(r!=null&&t!=null){a(fa());const W=pe(n.tenantEmailDomain,t,r);e(W)}},ae=M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card",se=Ue(o,b,w,C),J=la(o,C,u,L,F),de=Ot(ae,h);return h.fetchState!=="Completed"?s.jsx(_e,{fetchState:"In-Progress"}):s.jsxs(s.Fragment,{children:[s.jsx(Ta,{showConfetti:g}),s.jsx(tr,{onGotItClick:G,isDebitCard:M?.type.code==="business_physical_debit_card",controllerEmails:N,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:b,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:C,productInformation:se,creditAccountInformation:J,debitAccountInformation:de,chargeCardDetailView:h,creditAccount:L,classListFetchState:R,creditAccountRepayment:F,cardIssuedByRoles:H?.userRoles,cardIssuedByDepartmentName:y?.className,cardHolderRoles:x?.userRoles,cardHolderDepartmentName:z?.className})]})}const wr=he(function(e){const t=ze(e);return{insightsData:t.insight,cashbackByPeriod:t.cashbackByPeriod,uiState:t.uiState,cashbackSummary:t.cashbackSummary}},function(e,t){const{currentTenant:a,navigate:r,location:n}=t,{tenantEmailDomain:c}=a;return{onColumnSortConfigChanged:(u,m)=>{e($t({uiState:{sortKey:u,sortOrder:m}}))},onBackClick:()=>{const u=Te(n.state?.pathnameStackToGoBack),m=u.poppedPathname??Tr(c);r(m,{state:{pathnameStackToGoBack:u.newStack}})}}})(nr);function Pr(){const e=ue(),t=me(),a=be(),r=X.getSignedInUser(),n=S(E=>ce(E)),[c,u]=l.useState(!1),m=S(E=>ze(E));if(l.useEffect(()=>{c||m.fetchState==="Completed"||m.fetchState==="In-Progress"||(u(!0),t(it()))},[c,m,t]),r==null)throw Error("Can't access cashback detail page without signing in...");return m.fetchState==="In-Progress"?s.jsx(_e,{fetchState:m.fetchState}):m.cashbackSummary.cashbackEarned.amount===0&&m.fetchState==="Completed"?s.jsx(xa,{}):s.jsx(wr,{navigate:e,location:a,currentTenant:n})}const Tr=e=>`/${e}/cards`,Fr={containerWidth:new da(100,58)},vr=({appContent:e})=>{const t=ia(),a=me(),r=ue(),{cardId:n}=oa(),c=be(),{useDynamicConfig:u}=oe(),[m,E]=l.useState(!1),[i,g]=l.useState(!1),[I,_]=l.useState(!1),[C,U]=l.useState(!1),v=X.getSignedInUser();if(v==null)throw Error("Can't access onboarding card page without signing in...");const T=S(z=>ce(z));if(n==null)throw Error("Empty card id is not valid...");const{configValue:d}=u(Pe.zeniCardsConfig),f=d.max_charge_card_activation_attempts_by_card_id,b=S(z=>Gt(z,n)),o=b.chargeCard,w=S(z=>z.chargeCardConfigState.fetchState),{useFeatureGate:O}=oe(),{isFeatureEnabled:N}=O(K.isChargeCardFeatureEnabled),{isFeatureEnabled:L}=O(K.isDebitCardFeatureEnabled),F=Ie(L,T),R=Ee({isDebitCardFeatureEnabled:L,isBankingOnlyTenant:F}),p=!!T.companyChargeCardInfo?.info?.isChargeCardEnabled,h=T.userRole.includes("charge_card_user"),k=ye(T),A=Se(T),M=T.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,$=Ae({isCardsOnlyTenant:k,isChargeCardFeatureEnabled:N,isBookKeepingTenant:A,isDebitCardProductVisible:R,chargeCardsCreditAccountLimit:M}),H=!h&&$&&p;l.useEffect(()=>{m===!1&&w!=="In-Progress"&&w!=="Completed"&&(a(ka()),E(!0)),i===!1&&b.fetchState==="Not-Started"&&(g(!0),a(Xe(n,H,$)))},[i,b.fetchState,m,w]);const B=o?.type.code==="business_physical_credit_card"||o?.type.code==="business_physical_debit_card";l.useEffect(()=>{if(b.fetchState==="Completed"){if(I===!1&&(B===!1||B&&o?.status?.code!=="inactive"||o?.cardHolderUserId!==v.userId)){const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);r(z,{state:{pathnameStackToGoBack:D}})}else if(I&&b.isRefreshingViewInBackground===!1&&o?.status?.code==="active"){a(zt({chargeCardId:n}));const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);a(Ea()),r(z,{state:{pathnameStackToGoBack:D}})}}},[b.fetchState,o?.type.code,I,b.isRefreshingViewInBackground]);const y=X.getZeniOtpTokenForCardHolder(n),Y=S(z=>dt(z.userState,v.userId)),x=()=>{o?.status?.code!=="active"&&a($a(n,!0))};l.useEffect(()=>{b.updatePhysicalChargeCardAttemptFetchState.fetchState==="Completed"&&o?.cardActivationAttemptHistory.some(z=>z.statusCode==="success")===!0&&I===!1&&(setTimeout(x,3e3),_(!0))},[b.updatePhysicalChargeCardAttemptFetchState.fetchState,o?.cardActivationAttemptHistory]);const P=z=>{U(z)};if(w!=="Completed"||o==null)return s.jsx(_e,{fetchState:"In-Progress"});if(o.shippingAddressId==null)throw Error("Can't access shippingAddressId.");if(Y?.phone==null)throw Error("Can't access user phone number.");return s.jsxs(Br,{children:[s.jsx(ua,{isAppContentDrawerOpen:C,handleDrawerToggle:P}),s.jsx(xr,{cardId:n,card:o,shippingAddressId:o.shippingAddressId,phone:Y.phone,signedInUser:v,isSandboxEnv:Ya(),chargeCardDetailState:b,signedInUserToken:y,navigate:r,currentTenant:T,location:c,maxChargeCardActivationAttempts:f[n]!=null?f[n]:d.default_max_charge_card_activation_attempts!=null?d.default_max_charge_card_activation_attempts:3,chargeCardCashbackRatePerTransaction:d.charge_card_cashback_rate_per_transaction!=null?d.charge_card_cashback_rate_per_transaction:.0175,onClickMenuIcon:()=>{P(!0)}}),e!=null?s.jsx(Lr,{windowSize:t,children:e}):null]})},xr=he(function(e,{chargeCardDetailState:t,shippingAddressId:a,location:r,cardId:n}){const c=Yt(e.addressState,a);if(c==null)throw Error("Can't access shippingAddress.");const u=lt(e,n),m=t.updateStatus,E=Ye(e,!1,!1,!1);let i=!1;E.fetchState==="Completed"&&E.cards.length<=1&&(i=!0);const g=r.state?.message==="comingFromV2UrlPath";return{showActivatePage:t.chargeCard?.providerCardCreateTime!=null&&t.chargeCard.providerCardCreateTime.add(24,"h").isBefore(Zt())||g,showMenuIcon:i,shippingAddress:c,vgsVaultId:Fa.cardVaultId,twoFAView:u,activationWaitStatus:m,isRefreshingViewInBackground:t.isRefreshingViewInBackground}},function(e,t){const{navigate:a,cardId:r,location:n,currentTenant:c,chargeCardDetailState:u}=t,m=u.chargeCard?.cardProviderID,{tenantEmailDomain:E}=c;return{onGetOtp:i=>{m!=null&&e(_a(i,"ChargeCardHolder",r))},onUpdatePhysicalChargeCardAttempt:i=>{e(Wt(r,i))},onResendOtp:i=>{m!=null&&e(Da(i,"ChargeCardHolder",r))},onVerifyOtp:(i,g)=>{m!=null&&e(Aa(i,g,"ChargeCardHolder",r))},onVerifyOtpSuccess:i=>{i!=null&&X.saveZeniOtpTokenForCardHolder(i,r)},onCVVActivateSuccess:()=>{e(Kt({chargeCardId:r}))},onBackClick:()=>{const i=Te(n.state?.pathnameStackToGoBack),g=i.poppedPathname==null||i.poppedPathname.includes("onboard")===!0?Oe(E):i.poppedPathname;a(g,{state:{pathnameStackToGoBack:i.newStack}})}}})(rr),Lr=ke.div`
|
|
1
|
+
import{j as s}from"./pdf-Bel8Snu-.js";import{j as ue,l as oa,i as me,u as S,h as be,k as he,N as pa,o as ot,R as Mt,m as te}from"./core-BKvxtRah.js";import{ct as ce,F4 as Be,MN as Ia,cy as ye,cz as Se,cA as Ie,dt as Me,bH as $e,MO as Ge,MP as Va,pS as ha,gT as ga,MQ as fa,eg as ra,v$ as Xe,w1 as Ha,w2 as Ma,gL as ct,MR as ze,vP as it,MS as $t,MT as Gt,vS as ka,MU as zt,Lh as Ea,o2 as dt,vY as $a,er as Yt,MV as lt,MW as Ye,bs as Zt,MX as Kt,dj as Aa,di as Da,ww as Wt,dh as _a,KZ as qt,MY as ut,F5 as mt,bM as Qt,Lg as ca,x6 as Xt,MZ as Ja,wI as wa,M_ as Ct,x7 as Jt,LH as en,x8 as an,y2 as tn,pc as nn,xY as rn,wh as pt,wa as sn,M$ as on,dv as cn,wq as ht,wu as gt,du as dn,N0 as ln,wU as ft,N1 as un,N2 as mn,N3 as Cn,ws as bt,wd as yt,vV as St,wm as It,wk as kt,wo as pn,w0 as et,N4 as Et,N5 as Pa,wF as ba,HX as At,bN as Ga,N6 as hn,N7 as gn,N8 as fn,N9 as bn,wC as Oa,w$ as yn,wX as Sn,wy as In,wZ as kn,wP as En,wR as An,Na as Dt,x5 as _t,Dr as Dn,Nb as _n,Nc as wn,Nd as Pn,Ne as wt,Nf as Tn,xs as Fn,wH as Pt,wB as sa,wG as vn,Ng as xn,Nh as Ln,vM as Bn,Ni as Tt,Nj as Ft,Nk as Un,vO as Rn,vN as at,Nl as On,Nm as Nn,Nn as jn,HT as Vn,No as za,Np as Hn,sE as vt,hr as Mn,eh as $n,xx as Gn,Nq as xt,Nr as zn,xy as Yn,Ns as Zn,cg as Kn,pM as Wn,xn as qn,xh as Le,bt as Qn,FX as Xn,FY as Jn,G5 as er,Hb as ar}from"./zeni-epic-state-4Sh7AIuB.js";import{js as X,_ as Re,aE as oe,aG as K,jQ as _e,lM as Ta,lX as tr,lY as nr,jM as Te,e as ia,aF as Pe,jO as fe,l8 as Ya,lZ as rr,x as da,jD as Fa,y as va,jz as q,O as Za,l_ as sr,a7 as Ka,i5 as qe,cR as Na,L as or,bk as Wa,k9 as cr,l$ as ir,kv as Lt,k4 as ja,k2 as Bt,J as Ut,m0 as dr,m1 as lr,m2 as ur,m3 as mr,o as ya,m4 as Cr,m5 as pr,m as Ba,N as hr,m6 as gr,m7 as fr,m8 as br,kc as yr}from"./index-KcTwm1K9.js";import{n as ke,D as Rt,S as Sr}from"./mui-n8MJ8WXv.js";import{a as l}from"./sentry-JtTANUcK.js";import{g as pe,a as la,b as Ot,c as Ee,d as Ae,e as Ue,f as Oe,A as Ir,h as qa,P as kr,i as Qa,s as Qe,j as Nt,k as He,l as jt,m as Er,n as Vt,p as Ar,S as tt}from"./SetupPagesScreen-CIriiNTf.js";import xa from"./NotFoundScreen-Do4glXJR.js";import{M as ua}from"./MobileAppDrawer-D_Zv7SEm.js";import{v as nt}from"./utils-NVDzAOjk.js";import{t as Dr}from"./AddressScreen-PFAhLrpu.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./analyticsHelper-CAh70fFl.js";import"./routePaths-IQhVVjuV.js";import"./BusinessVerificationPageScreen-IjG0yQZ_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1bb7015f-ae9d-4ae4-8974-bd252d3d5892",e._sentryDebugIdIdentifier="sentry-dbid-1bb7015f-ae9d-4ae4-8974-bd252d3d5892")}catch{}})();function _r(){const e=ue(),{cardId:t}=oa(),a=me(),r=X.getSignedInUser(),n=S(W=>ce(W)),c=Re(),u=Be(c?.loggedInUserRoleMap),{useFeatureGate:m}=oe();if(r==null)throw Error("Can't access Add To Wallet Page without signing in...");const[E,i]=l.useState(!1),g=S(W=>Ia(W).firstViewAfterActivation);if(t==null)throw Error("Empty card id is not valid...");const I=n.userRole.includes("charge_card_user"),{isFeatureEnabled:_}=m(K.isChargeCardFeatureEnabled),C=!!n.companyChargeCardInfo?.info?.isChargeCardEnabled,{isFeatureEnabled:U}=m(K.isDebitCardFeatureEnabled),v=ye(n),T=Se(n),d=Ie(U,n),f=n.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,b=Ee({isDebitCardFeatureEnabled:U,isBankingOnlyTenant:d}),o=Ae({isCardsOnlyTenant:v,isChargeCardFeatureEnabled:_,isBookKeepingTenant:T,isDebitCardProductVisible:b,chargeCardsCreditAccountLimit:f}),w=!!n.companyDebitCardInfo?.info?.isDebitCardEnabled,O=S(W=>Me(W,n.companyId)),N=$e(O.controllers),{creditAccount:L,creditAccountRepayment:F}=S(W=>Ge(W)),R=S(W=>W.classListState.fetchState),p=!I&&o&&C,h=S(W=>Va(W,t,p,o)),[k,A]=l.useState(!1),M=h.chargeCard,$=M?.cardCreatedByUser?.userId,H=S(W=>$!=null?ha(W.userRoleState,$):void 0),B=H?.accountingClassIDs[0],y=S(W=>B!=null?ga(W.classState,{classId:B,reportId:"class_list"}):void 0),Y=M?.cardHolderUser?.userId,x=S(W=>Y!=null?ha(W.userRoleState,Y):void 0),P=x?.accountingClassIDs[0],z=S(W=>P!=null?ga(W.classState,{classId:P,reportId:"class_list"}):void 0),D=M?.type.code==="business_physical_credit_card"||M?.type.code==="business_physical_debit_card",Z=M?.type.code==="business_physical_debit_card";l.useEffect(()=>{g&&E===!1&&D&&(i(!0),setTimeout(()=>{a(fa()),Z&&a(ra({messageSection:"set_debit_card_pin",messageText:"success",type:"success",showStatusIcon:!0}))},5e3))},[g,E,D,Z]),l.useEffect(()=>{k||h.fetchState==="Completed"||h.fetchState==="In-Progress"||t==null||(A(!0),a(Xe(t,p,!1)))},[k,h,t,a]),l.useEffect(()=>{if(h.fetchState==="Completed"&&(D===!1||D&&M?.status?.code!=="active"||M?.cardHolderUserId!==r.userId||g===!1&&E===!1||M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card")){const W=pe(n.tenantEmailDomain,t,r,M,g);e(W)}},[h.fetchState,g,D]),l.useEffect(()=>{L.fetchState!=="Completed"&&L.fetchState!=="In-Progress"&&o&&C&&u&&a(Ha()),F.fetchState!=="Completed"&&F.fetchState!=="In-Progress"&&o&&C&&u&&a(Ma()),R!=="Completed"&&R!=="In-Progress"&&a(ct())},[L.fetchState,F.fetchState,a,o,C,u,R]);const G=()=>{if(r!=null&&t!=null){a(fa());const W=pe(n.tenantEmailDomain,t,r);e(W)}},ae=M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card",se=Ue(o,b,w,C),J=la(o,C,u,L,F),de=Ot(ae,h);return h.fetchState!=="Completed"?s.jsx(_e,{fetchState:"In-Progress"}):s.jsxs(s.Fragment,{children:[s.jsx(Ta,{showConfetti:g}),s.jsx(tr,{onGotItClick:G,isDebitCard:M?.type.code==="business_physical_debit_card",controllerEmails:N,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:b,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:C,productInformation:se,creditAccountInformation:J,debitAccountInformation:de,chargeCardDetailView:h,creditAccount:L,classListFetchState:R,creditAccountRepayment:F,cardIssuedByRoles:H?.userRoles,cardIssuedByDepartmentName:y?.className,cardHolderRoles:x?.userRoles,cardHolderDepartmentName:z?.className})]})}const wr=he(function(e){const t=ze(e);return{insightsData:t.insight,cashbackByPeriod:t.cashbackByPeriod,uiState:t.uiState,cashbackSummary:t.cashbackSummary}},function(e,t){const{currentTenant:a,navigate:r,location:n}=t,{tenantEmailDomain:c}=a;return{onColumnSortConfigChanged:(u,m)=>{e($t({uiState:{sortKey:u,sortOrder:m}}))},onBackClick:()=>{const u=Te(n.state?.pathnameStackToGoBack),m=u.poppedPathname??Tr(c);r(m,{state:{pathnameStackToGoBack:u.newStack}})}}})(nr);function Pr(){const e=ue(),t=me(),a=be(),r=X.getSignedInUser(),n=S(E=>ce(E)),[c,u]=l.useState(!1),m=S(E=>ze(E));if(l.useEffect(()=>{c||m.fetchState==="Completed"||m.fetchState==="In-Progress"||(u(!0),t(it()))},[c,m,t]),r==null)throw Error("Can't access cashback detail page without signing in...");return m.fetchState==="In-Progress"?s.jsx(_e,{fetchState:m.fetchState}):m.cashbackSummary.cashbackEarned.amount===0&&m.fetchState==="Completed"?s.jsx(xa,{}):s.jsx(wr,{navigate:e,location:a,currentTenant:n})}const Tr=e=>`/${e}/cards`,Fr={containerWidth:new da(100,58)},vr=({appContent:e})=>{const t=ia(),a=me(),r=ue(),{cardId:n}=oa(),c=be(),{useDynamicConfig:u}=oe(),[m,E]=l.useState(!1),[i,g]=l.useState(!1),[I,_]=l.useState(!1),[C,U]=l.useState(!1),v=X.getSignedInUser();if(v==null)throw Error("Can't access onboarding card page without signing in...");const T=S(z=>ce(z));if(n==null)throw Error("Empty card id is not valid...");const{configValue:d}=u(Pe.zeniCardsConfig),f=d.max_charge_card_activation_attempts_by_card_id,b=S(z=>Gt(z,n)),o=b.chargeCard,w=S(z=>z.chargeCardConfigState.fetchState),{useFeatureGate:O}=oe(),{isFeatureEnabled:N}=O(K.isChargeCardFeatureEnabled),{isFeatureEnabled:L}=O(K.isDebitCardFeatureEnabled),F=Ie(L,T),R=Ee({isDebitCardFeatureEnabled:L,isBankingOnlyTenant:F}),p=!!T.companyChargeCardInfo?.info?.isChargeCardEnabled,h=T.userRole.includes("charge_card_user"),k=ye(T),A=Se(T),M=T.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,$=Ae({isCardsOnlyTenant:k,isChargeCardFeatureEnabled:N,isBookKeepingTenant:A,isDebitCardProductVisible:R,chargeCardsCreditAccountLimit:M}),H=!h&&$&&p;l.useEffect(()=>{m===!1&&w!=="In-Progress"&&w!=="Completed"&&(a(ka()),E(!0)),i===!1&&b.fetchState==="Not-Started"&&(g(!0),a(Xe(n,H,$)))},[i,b.fetchState,m,w]);const B=o?.type.code==="business_physical_credit_card"||o?.type.code==="business_physical_debit_card";l.useEffect(()=>{if(b.fetchState==="Completed"){if(I===!1&&(B===!1||B&&o?.status?.code!=="inactive"||o?.cardHolderUserId!==v.userId)){const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);r(z,{state:{pathnameStackToGoBack:D}})}else if(I&&b.isRefreshingViewInBackground===!1&&o?.status?.code==="active"){a(zt({chargeCardId:n}));const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);a(Ea()),r(z,{state:{pathnameStackToGoBack:D}})}}},[b.fetchState,o?.type.code,I,b.isRefreshingViewInBackground]);const y=X.getZeniOtpTokenForCardHolder(n),Y=S(z=>dt(z.userState,v.userId)),x=()=>{o?.status?.code!=="active"&&a($a(n,!0))};l.useEffect(()=>{b.updatePhysicalChargeCardAttemptFetchState.fetchState==="Completed"&&o?.cardActivationAttemptHistory.some(z=>z.statusCode==="success")===!0&&I===!1&&(setTimeout(x,3e3),_(!0))},[b.updatePhysicalChargeCardAttemptFetchState.fetchState,o?.cardActivationAttemptHistory]);const P=z=>{U(z)};if(w!=="Completed"||o==null)return s.jsx(_e,{fetchState:"In-Progress"});if(o.shippingAddressId==null)throw Error("Can't access shippingAddressId.");if(Y?.phone==null)throw Error("Can't access user phone number.");return s.jsxs(Br,{children:[s.jsx(ua,{isAppContentDrawerOpen:C,handleDrawerToggle:P}),s.jsx(xr,{cardId:n,card:o,shippingAddressId:o.shippingAddressId,phone:Y.phone,signedInUser:v,isSandboxEnv:Ya(),chargeCardDetailState:b,signedInUserToken:y,navigate:r,currentTenant:T,location:c,maxChargeCardActivationAttempts:f[n]!=null?f[n]:d.default_max_charge_card_activation_attempts!=null?d.default_max_charge_card_activation_attempts:3,chargeCardCashbackRatePerTransaction:d.charge_card_cashback_rate_per_transaction!=null?d.charge_card_cashback_rate_per_transaction:.0175,onClickMenuIcon:()=>{P(!0)}}),e!=null?s.jsx(Lr,{windowSize:t,children:e}):null]})},xr=he(function(e,{chargeCardDetailState:t,shippingAddressId:a,location:r,cardId:n}){const c=Yt(e.addressState,a);if(c==null)throw Error("Can't access shippingAddress.");const u=lt(e,n),m=t.updateStatus,E=Ye(e,!1,!1,!1);let i=!1;E.fetchState==="Completed"&&E.cards.length<=1&&(i=!0);const g=r.state?.message==="comingFromV2UrlPath";return{showActivatePage:t.chargeCard?.providerCardCreateTime!=null&&t.chargeCard.providerCardCreateTime.add(24,"h").isBefore(Zt())||g,showMenuIcon:i,shippingAddress:c,vgsVaultId:Fa.cardVaultId,twoFAView:u,activationWaitStatus:m,isRefreshingViewInBackground:t.isRefreshingViewInBackground}},function(e,t){const{navigate:a,cardId:r,location:n,currentTenant:c,chargeCardDetailState:u}=t,m=u.chargeCard?.cardProviderID,{tenantEmailDomain:E}=c;return{onGetOtp:i=>{m!=null&&e(_a(i,"ChargeCardHolder",r))},onUpdatePhysicalChargeCardAttempt:i=>{e(Wt(r,i))},onResendOtp:i=>{m!=null&&e(Da(i,"ChargeCardHolder",r))},onVerifyOtp:(i,g)=>{m!=null&&e(Aa(i,g,"ChargeCardHolder",r))},onVerifyOtpSuccess:i=>{i!=null&&X.saveZeniOtpTokenForCardHolder(i,r)},onCVVActivateSuccess:()=>{e(Kt({chargeCardId:r}))},onBackClick:()=>{const i=Te(n.state?.pathnameStackToGoBack),g=i.poppedPathname==null||i.poppedPathname.includes("onboard")===!0?Oe(E):i.poppedPathname;a(g,{state:{pathnameStackToGoBack:i.newStack}})}}})(rr),Lr=ke.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: ${e=>`${Fr.containerWidth.value(e.windowSize)}%`};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as je,e as Be,h as Ue,a7 as G,T as _e,c8 as ze,ad as Z,V as t,eI as Re,f as Le,x as d,a_ as We,L as $e,A as Ne,eZ as qe,de as He,e_ as Me,o as B,w as Ge,i4 as J,aU as Ze,a9 as Je,f0 as Ke,O as Qe,m as
|
|
1
|
+
import{y as je,e as Be,h as Ue,a7 as G,T as _e,c8 as ze,ad as Z,V as t,eI as Re,f as Le,x as d,a_ as We,L as $e,A as Ne,eZ as qe,de as He,e_ as Me,o as B,w as Ge,i4 as J,aU as Ze,a9 as Je,f0 as Ke,O as Qe,m as o,l as Xe}from"./index-KcTwm1K9.js";import{a as f}from"./sentry-JtTANUcK.js";import{n as S}from"./mui-n8MJ8WXv.js";import{cg as Ye}from"./zeni-epic-state-4Sh7AIuB.js";import{x as et}from"./LabeledControlledCheckBoxField-BdWZgcQc-DBRyRoy4.js";import{g as tt}from"./UploadAdditionalDocumentOverlay-DrAWxBXn-CVrGlUxs.js";import"./pdf-Bel8Snu-.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.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]="fdac0705-298c-4b0a-9d20-08541d0f30ab",e._sentryDebugIdIdentifier="sentry-dbid-fdac0705-298c-4b0a-9d20-08541d0f30ab")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,o[5],o[5]),sectionRowGap:new d(o[5],o[9],o[9]),iconWidthHeight:new d(20,o[4]),subTitlePaddingTop:new d(12,o[3]),subTitlePaddingBottom:new d(o[3],o[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(o[1],o[0])},K="chargeCardSetUpPage",g="payAccount",{commonSetUp:nt,spendManagement:it}=Qe.getLocalizedStrings(),{chargeCard:Y}=it,{chargeCardSetUp:m}=Y,{setUp:U}=nt,At=({autoPayThreshold:e,isDisabled:r,meetingUrl:w,isEarlyPayEnabled:h,chargeCardSetUpView:i,connectedAccountProvider:ee,filesEndPoint:te,authParams:ne,isAccountsEnabled:ie,isDebitCardOnlyEnabled:k,isCreditCardOnlyEnabled:ae,accountsPromoConfig:oe,onFetchLinkTokenClick:ce,onBackClick:se,onEnableChargeCardClick:le,onUpdateChargeCardClick:de,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,onUpdatePrimaryFundingAccount:fe,onUpdateAutoPayClick:me,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:he,onClickMenuIcon:ye,onEnableChargeCardSuccess:x,onEditFileName:be,onDeleteFile:Ce,updateFilesEntity:Se,onCompanyOfficerUpdated:we,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const y=je(),n=Be(),T=Ue().analytics,[P,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:_,isRefreshingViewInBackground:Ae,updateStatus:u,accountUpdateStatus:ke,plaidConnectionDetails:Te,allBankAccounts:Ee,companyChargeCardInfo:E,companyDebitCardInfo:z,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:R}=i,L=G(C),A=G(u.fetchState),v=_e({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>Q(i),[i]),values:Q(i)}),ve=v.handleSubmit(le);f.useEffect(()=>{const Oe=v.watch((H,{name:M})=>{M!=null&&H!=null&&ze(()=>(async(V,Ve)=>{const a=Ve[g];if(V.includes(g))if(V.includes("fundingAccount")){if(a.fundingAccount.selectedOption!=null&&l?.id!=a.fundingAccount.selectedOption){const p=R.find(j=>j.id===a.fundingAccount.selectedOption);p!=null&&fe(a.fundingAccount.selectedOption,p.accType)}}else if(a.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=a.account.selectedOption){const p=a.account.allOptions.find(j=>j.value===a.account.selectedOption);p!=null&&typeof p.label=="string"&&T.trackConnectBankLink(p.value,p.label,"charge_cards"),de(a.account.selectedOption,l.id,l.accType)}else V.includes("enableAutoPay")&&a.enableAutoPay!=null&&me(a.enableAutoPay)})(M,H))});return()=>{Oe.unsubscribe()}}),f.useEffect(()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),P&&L==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,L]),f.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const I=E?.isChargeCardEnabled===!0,D=z?.isDebitCardEnabled===!0,W=z?.isDebitCardTOSAccepted===!0,$=E?.isChargeCardTOSAccepted===!0,N=_?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),F=k?N:N&&Ie,De=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const O=k?F&&!D&&W:ae?F&&!I&&$:F&&!(I&&D)&&$&&W,Fe=O?m.setupSubTitleNotEnabled:m.setupSubTitle,q=y.mode==="light"?new Z(y.colors.brandColorJadeLight):new Z(y.colors.brandColorJadeDark);return t.jsxs(ot,{children:[t.jsx(Re,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(n),boxShadow:"none"}},open:P,onClose:()=>b(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(tt,{authParams:ne,filesEndPoint:te,updateStatus:u,onEditFileName:be,onDeleteFile:Ce,updateFilesEntity:Se,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:xe})}),t.jsx(We,{title:m.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:se,showMenuIcon:!(I||D||n!=="medium-compact"&&n!=="small"),onClickMenuIcon:ye,source:"ChargeCardSetupPage"}),t.jsxs(at,{windowSize:n,children:[t.jsx(ct,{windowSize:n,children:Fe}),De?t.jsx(st,{children:t.jsx($e,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...v,children:t.jsx("form",{id:X(K),onSubmit:ve,children:t.jsxs(lt,{windowSize:n,children:[t.jsx(qe,{onClick:()=>{P||s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")!==!0||!s.areAdditionalDocumentsRequestedForVerification||s.areAdditionalDocumentsSubmittedForVerification||s.userVerificationStatus?.code!=="require_info"?re?.():b(!0)},title:U.businessVerificationTitle,subTitle:U.businessVerificationSubTitle,header:U.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(n),height:c.iconWidthHeight.valuePx(n)}),color:q},status:_?.businessVerificationStatus,isLoading:Ae,isActiveWhileLoading:!0}),k?null:t.jsx(Me,{connectedAccountProvider:ee,primaryFundingAccount:l,allFundingAccounts:R,plaidConnectionDetails:Te,allBankAccounts:Ee,sectionId:g,isDisabled:r,onFetchLinkTokenClick:ce,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:he,icon:{element:t.jsx(Ze,{width:c.iconWidthHeight.valuePx(n),height:c.iconWidthHeight.valuePx(n)}),color:q},analytics:T,productType:"charge_cards",isAccountsEnabled:ie,onSignUpClick:Pe,pageName:m.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(et,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Ge.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:n==="small"?"flex-start":"center"},checkBoxField:{name:J(g,"enableAutoPay"),checkBoxValue:J(g,"enableAutoPay"),defaultChecked:E?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(n)}}})})]})})})]}),O?t.jsx(Je,{formId:X(K),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:O,meetingUrl:w,analytics:T,productType:"charge_cards"})]})},Q=e=>{const{allBankAccounts:r,allFundingAccounts:w,primaryFundingAccount:h}=e;return{[g]:{fundingAccount:{selectedOption:h?.id,allOptions:w.map(i=>({label:i.label,value:i.id,isRecommended:i.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(i=>({label:i.accountName,value:i.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,at=S.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -6,7 +6,7 @@ import{y as je,e as Be,h as Ue,a7 as G,T as _e,c8 as ze,ad as Z,V as t,eI as Re,
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
align-items: center;
|
|
8
8
|
row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
-
`,
|
|
9
|
+
`,ot=S.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
min-height: 100%;
|
|
12
12
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as F,e as T,V as t,a_ as W,o as h,O as R,x as g,l as B,at as _,h as O,h9 as V,L as q,b as J,m as s,by as U}from"./index-
|
|
1
|
+
import{y as F,e as T,V as t,a_ as W,o as h,O as R,x as g,l as B,at as _,h as O,h9 as V,L as q,b as J,m as s,by as U}from"./index-KcTwm1K9.js";import{n as o}from"./mui-n8MJ8WXv.js";import{$ as G,g as H}from"./BoxItem-CIyMdw2s-D-lQpxkp.js";import{a as K}from"./sentry-JtTANUcK.js";import{w as Q}from"./downloadPdf-BFFM3Hea-QUnesvej.js";import"./pdf-Bel8Snu-.js";import"./zeni-epic-state-4Sh7AIuB.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.js";import"./commonDimensions-CzWWgDTA-B2ds-CHa.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]="5ad18f1e-4011-46d5-8fbf-40a6e53b87c4",e._sentryDebugIdIdentifier="sentry-dbid-5ad18f1e-4011-46d5-8fbf-40a6e53b87c4")}catch{}})();const E=R.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},X=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: ${h.sp3} ${h.sp4};
|
|
4
4
|
flex-direction: row;
|
|
@@ -27,7 +27,7 @@ import{y as F,e as T,V as t,a_ as W,o as h,O as R,x as g,l as B,at as _,h as O,h
|
|
|
27
27
|
&:hover {
|
|
28
28
|
color: ${e=>e.theme.colors.primary};
|
|
29
29
|
}
|
|
30
|
-
`;function ae({currentTenantCompanyName:e,data:a,index:r,controllerEmails:l,isDebitCardFeatureEnabled:i,isDebitCardSetupEnabled:n,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:y,debitCardSummary:x,productInformation:C,creditAccountInformation:S,debitAccountInformation:
|
|
30
|
+
`;function ae({currentTenantCompanyName:e,data:a,index:r,controllerEmails:l,isDebitCardFeatureEnabled:i,isDebitCardSetupEnabled:n,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:y,debitCardSummary:x,productInformation:C,creditAccountInformation:S,debitAccountInformation:I,cashbackInformation:f,creditAccountRepayment:P,authParams:$,downloadEndPoint:j,boxType:k}){const b=O().analytics,[v,z]=K.useState(!1),c=T(),D=E[a.monthYearPeriod.month-1],p=`${e}-Credit-Card-Monthly-Statement-${E[a.monthYearPeriod.month-1]}-${a.monthYearPeriod.year}.pdf`,m={period:`${a.monthYearPeriod.year}-${V(a.monthYearPeriod.month)}`,format:"pdf"},u=t.jsx(X,{children:t.jsxs(Z,{children:[t.jsx(ee,{children:D}),t.jsx(te,{"data-testid":J("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&P.fetchState==="Completed"&&(!(i&&n)||y.fetchState==="Completed"&&x?.fetchState==="Completed")&&f!=null&&b.trackCardsDownloadClick(l,C,f,{fileCategory:"Credit Card Statement",fileType:"pdf",fileName:p,fileMonthYear:`${E[a.monthYearPeriod.month-1]} ${a.monthYearPeriod.year}`},"Credit Card Statements",r+1,S,I),Q(`${j}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,p,$,z)},children:v?t.jsx(q,{size:"Small",start:!0}):t.jsx(ie,{windowSize:c})})]})});return t.jsx(H,{content:u,boxType:k,isDisabled:!1,isNotClickable:!0})}const L=R.getLocalizedStrings().spendManagement.chargeCard.statements,w={listItemMarginLeftRight:new g(s[3],s[8]),containerMarginTop:new g(s[0],s[2]),titleMarginLeftRight:new g(s[3],s[8])},ve=({currentTenantCompanyName:e,authParams:a,controllerEmails:r,productInformation:l,cashbackInformation:i,creditAccountInformation:n,debitAccountInformation:d,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:I,depositAccountListWithDebitCardIssued:f,creditAccountRepayment:P,debitCardSummary:$,creditAccount:j,downloadEndPoint:k,statementListView:b,onBackClick:v})=>{const z=F(),c=T(),{sortedYear:D,monthsByYearWithSortedMonth:p}=me(b.statements);return t.jsxs(se,{children:[t.jsx(W,{title:L.title,backgroundColor:z.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:b.statements.length===0?t.jsx(M,{children:t.jsx(de,{children:t.jsx(N,{windowSize:c,children:t.jsx(le,{children:L.noStatements})})})}):t.jsx(oe,{children:D.map(m=>t.jsxs(re,{children:[t.jsx(ne,{windowSize:c,children:m}),t.jsx(M,{children:p[m].map((u,A)=>t.jsx(N,{windowSize:c,children:t.jsx(ae,{productInformation:l,creditAccountInformation:n,debitAccountInformation:d,cashbackInformation:i,creditAccountRepayment:P,depositAccountListWithDebitCardIssued:f,debitCardSummary:$,controllerEmails:r,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:I,creditAccount:j,currentTenantCompanyName:e,index:A,data:u,authParams:a,downloadEndPoint:k,boxType:G(A,p[m].length)},u.id)},u.id))})]},m))})})]})},oe=o.div``,re=o.div`
|
|
31
31
|
margin-bottom: ${h.sp6};
|
|
32
32
|
`,M=o.div``,ne=o(_)`
|
|
33
33
|
margin-left: ${e=>w.titleMarginLeftRight.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as oe,V as t,b as y,a5 as R,a as X,o,a9 as de,x as n,a8 as te,n as pe,O as ie,at as he,c2 as ae,C as ue,l as B,a7 as me,T as ge,c8 as
|
|
1
|
+
import{e as oe,V as t,b as y,a5 as R,a as X,o,a9 as de,x as n,a8 as te,n as pe,O as ie,at as he,c2 as ae,C as ue,l as B,a7 as me,T as ge,c8 as xe,f as j,A as fe,fD as ke,cd as De,el as Y,cj as J,m as a,eT as be,bH as we,bv as $e,ex as ye,gk as je,H as G,gl as Le}from"./index-KcTwm1K9.js";import{a as b}from"./sentry-JtTANUcK.js";import{n as i}from"./mui-n8MJ8WXv.js";import{v as Pe}from"./SuccessAnimation-DdyAYe1e-DLWRRkYw.js";import"./pdf-Bel8Snu-.js";import"./zeni-epic-state-4Sh7AIuB.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="bb0d55da-3f56-44a6-995b-6e172ae1247d",e._sentryDebugIdIdentifier="sentry-dbid-bb0d55da-3f56-44a6-995b-6e172ae1247d")}catch{}})();const m="checkDepositDetails",Se="amount",ve="depositTo",Fe="source",se="fileIds",O="selectDocument",M=e=>{const l=[];return e.checkFront!=null&&l.push(e.checkFront.fileId),e.checkBack!=null&&l.push(e.checkBack.fileId),{[m]:{[Se]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Fe]:e.checkDepositLocalData.source,[ve]:{allOptions:e.depositAccounts.depositAccounts.map(g=>({label:g.accountName,value:g.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[se]:l,[O]:{front:e.checkFront,back:e.checkBack}}}},$=(e,l)=>`${e}.${l}`,Ce=e=>`${e}_form`,p={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(a[3],a[4]),checkPicRowContentPaddingXAxis:new n(a[3],a[4]),labeleMarginLeft:new n(a[0],a[0]),labeleMarginBottom:new n(a[2],a[0]),labelMarginRight:new n(a[3],a[3]),labeledFieldPaddingLeft:new n(a[3],a[0]),labeledFieldPaddingRight:new n(a[3],a[2]),labeledFieldPaddingTop:new n(a[3],a[3]),labeledFieldPaddingBottom:new n(a[3],a[2]),infoLabelPaddingRight:new n(a[0],a[3]),infoLabelMarginTop:new n(a[1],a[0])},{spendManagement:Te,common:q}=ie.getLocalizedStrings(),r=Te.zeniAccounts.zeniAccountList,Be=q.documents;function ze({checkDeposit:e,analytics:l,filesEndPoint:g,openPopup:L,authParams:P,onSaveChangesToLocalStore:z,updateFilesEntity:S,onDeleteFile:v,onEditFileName:F,onCheckDpositClick:A}){const c=oe(),d=e.fetchState,C=me(d),[T,H]=b.useState(!1),[le,I]=b.useState(!1),E=p.largeLabelWidth.value(c),k=ge({mode:"all",reValidateMode:"onBlur",defaultValues:M(e),values:M(e)}),{isValid:re}=k.formState,W=s=>{const x={amount:{amount:s[m].amount??0,currencyCode:q.currency.currencyCode,currencySymbol:q.currency.currencySymbol},source:s[m].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===s[m].depositTo.selectedOption),fileIds:s[m][se]};z(x)};b.useEffect(()=>{const s=k.watch((x,{name:h})=>{h!=null&&x!=null&&xe(()=>(async(D,f)=>{if(D!=null){if(D.includes("source")||D.includes("amount"))return;const w=Object.assign({},f);W(w)}})(h,x))});return()=>{s.unsubscribe()}}),b.useEffect(()=>{C==="Completed"&&d==="Not-Started"&&k.reset(M(e))},[C,d,k,e]),b.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const ne=k.handleSubmit(()=>{if(re){l.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const s=k.getValues();W(s),A?.()}});return t.jsxs(t.Fragment,{children:[le?t.jsx(Ve,{children:t.jsxs(Re,{children:[t.jsxs(Oe,{children:[t.jsx(_e,{}),t.jsxs(Ge,{children:[t.jsx(He,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(qe,{children:t.jsx(ao,{"data-testid":y("check-deposit-form-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),I(!1)},style:{width:o.sp3,height:o.sp3,color:j.heroLight}})})]})}):null,t.jsx(Xe,{children:R("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(fe,{...k,children:t.jsx("form",{id:Ce("checkDepositDetailPage"),onSubmit:ne,children:t.jsxs(Je,{children:[t.jsx(ke,{showAdditionalInfoLabel:!1,label:{label:r.checkDepositDrawer.amountLabel,width:E},formattedTextField:{type:"number",name:$(m,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:r.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(V,{}),t.jsx(De,{label:{label:r.checkDepositDrawer.sourceLabel,width:E},style:{width:"100%"},text:{type:"text",name:$(m,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:r.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:s=>s!=null}}}),t.jsx(V,{}),t.jsx(ce,{size:c,children:t.jsx(Qe,{size:c,children:t.jsx(Ye,{label:{label:r.checkDepositDrawer.depositToLabel,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(c),marginBottom:p.labeleMarginBottom.valuePx(c),marginRight:p.labelMarginRight.valuePx(c)}},style:{paddingTop:p.labeledFieldPaddingTop.valuePx(c),paddingBottom:p.labeledFieldPaddingBottom.valuePx(c),paddingLeft:p.labeledFieldPaddingLeft.valuePx(c),paddingRight:p.labeledFieldPaddingRight.valuePx(c),border:"none",width:"100%",outline:"none",padding:0,display:c==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:c==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(c),marginTop:p.infoLabelMarginTop.valuePx(c)},singleSelectPickerField:{valueToLogo:(s,x)=>((h,D)=>{if(!h)return null;const f=e.depositAccounts.depositAccounts.find(N=>N.id===h),w=e.depositAccounts.depositAccounts.findIndex(N=>N.id===h);return f?t.jsx(Me,{color:je(w),isSelectedValue:D}):null})(s,x),valueToSubLabels:(s,x)=>((h,D)=>{if(!h)return null;const f=e.depositAccounts.depositAccounts.find(w=>w.id===h);return f?D===!0?t.jsx(Ne,{children:f?.maskedAccountNumber}):t.jsxs(Ee,{children:[t.jsx(Z,{children:f?.maskedAccountNumber}),t.jsx(eo,{}),t.jsx(Z,{children:R("0,0[.]00",f?.accountBalance?.available)})]}):null})(s,x),name:$(m,"depositTo"),placeholder:r.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(s=>({label:s.accountName,value:s.id}))},textAlignment:"right",registerOptions:{required:!0,validate:s=>!(s==null||!s.selectedOption)}}})})}),t.jsx(V,{}),t.jsxs(Ze,{size:c,children:[t.jsxs(Ke,{size:c,children:[t.jsx(Ae,{children:r.checkDepositDrawer.checkPicLabel}),t.jsx(K,{isLast:!1,children:r.checkDepositDrawer.frontSide}),t.jsx(Y,{name:`${$(m,O)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:g,authParams:P,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:c==="small"?r.checkDepositDrawer.uploadDocument:r.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>H(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:r.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(K,{isLast:!0,children:r.checkDepositDrawer.backSide}),t.jsx(Y,{name:`${$(m,O)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:g,authParams:P,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:c==="small"?r.checkDepositDrawer.uploadDocument:r.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>H(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:r.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(oo,{children:r.checkDepositDrawer.picGuides.map(s=>t.jsxs(to,{children:[t.jsx(Ue,{}),t.jsx(Ie,{children:s})]},s))})]}),t.jsx(io,{windowSize:c,children:Be.formatJPGText10MB})]})]})})})]})}const Ae=i(B)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
`,Ie=i(B)`
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -145,7 +145,7 @@ import{e as oe,V as t,b as y,a5 as R,a as X,o,a9 as de,x as n,a8 as te,n as pe,O
|
|
|
145
145
|
&:hover {
|
|
146
146
|
color: ${e=>e.theme.colors.primary};
|
|
147
147
|
}
|
|
148
|
-
`,so={NavBarContainerPaddingYAxis:new n(10,a[3])},co=e=>`${e}_form`,_={containerPaddingLeft:new n(a[3],a[6],a[8]),containerPaddingRight:new n(a[3],a[6],a[8]),successContentMargin:new n(a[3],a[12])},{spendManagement:lo}=ie.getLocalizedStrings(),u=lo.zeniAccounts.zeniAccountList,Bo=({checkDeposit:e,analytics:l,filesEndPoint:g,authParams:L,onSaveChangesToLocalStore:P,onAnotherTransferClick:z,updateFilesEntity:S,onDeleteFile:v,onEditFileName:F,onCheckDpositClick:A,onDismissClick:c})=>{const d=oe(),[C,T]=b.useState(!1);return t.jsx(ho,{windowSize:d,children:e.fetchState==="Completed"?t.jsxs(Q,{windowSize:d,children:[t.jsx(U,{windowSize:d,children:t.jsx(ee,{"data-testid":y("check-deposit-drawer-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),c?.()}})}),t.jsxs(go,{windowSize:d,children:[t.jsx(Pe,{width:150,height:150,shouldDisplay:!0,animationInLoop:!0}),t.jsxs(uo,{children:[u.checkDepositDrawer.transferSuccessMsgPrefix,t.jsx(po,{children:R("0,0.[00]",e.checkDepositLocalData.amount)}),u.checkDepositDrawer.transferSuccessMsgSuffix]}),t.jsxs(mo,{children:[t.jsx(X,{variant:"secondary",label:u.checkDepositDrawer.makeAnotherTransferBtn,onClick:z,"data-testid":y("check-deposit-drawer-another-transfer")}),t.jsx(X,{variant:"primary",label:u.checkDepositDrawer.goToAccountBtn,onClick:c,style:{marginLeft:d==="small"?o.sp3:o.sp5},"data-testid":y("check-deposit-drawer-go-to-account")})]})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(Q,{windowSize:d,children:[t.jsx(U,{windowSize:d,children:t.jsx(ee,{"data-testid":y("check-deposit-drawer-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),c?.()}})}),d==="small"?t.jsx(
|
|
148
|
+
`,so={NavBarContainerPaddingYAxis:new n(10,a[3])},co=e=>`${e}_form`,_={containerPaddingLeft:new n(a[3],a[6],a[8]),containerPaddingRight:new n(a[3],a[6],a[8]),successContentMargin:new n(a[3],a[12])},{spendManagement:lo}=ie.getLocalizedStrings(),u=lo.zeniAccounts.zeniAccountList,Bo=({checkDeposit:e,analytics:l,filesEndPoint:g,authParams:L,onSaveChangesToLocalStore:P,onAnotherTransferClick:z,updateFilesEntity:S,onDeleteFile:v,onEditFileName:F,onCheckDpositClick:A,onDismissClick:c})=>{const d=oe(),[C,T]=b.useState(!1);return t.jsx(ho,{windowSize:d,children:e.fetchState==="Completed"?t.jsxs(Q,{windowSize:d,children:[t.jsx(U,{windowSize:d,children:t.jsx(ee,{"data-testid":y("check-deposit-drawer-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),c?.()}})}),t.jsxs(go,{windowSize:d,children:[t.jsx(Pe,{width:150,height:150,shouldDisplay:!0,animationInLoop:!0}),t.jsxs(uo,{children:[u.checkDepositDrawer.transferSuccessMsgPrefix,t.jsx(po,{children:R("0,0.[00]",e.checkDepositLocalData.amount)}),u.checkDepositDrawer.transferSuccessMsgSuffix]}),t.jsxs(mo,{children:[t.jsx(X,{variant:"secondary",label:u.checkDepositDrawer.makeAnotherTransferBtn,onClick:z,"data-testid":y("check-deposit-drawer-another-transfer")}),t.jsx(X,{variant:"primary",label:u.checkDepositDrawer.goToAccountBtn,onClick:c,style:{marginLeft:d==="small"?o.sp3:o.sp5},"data-testid":y("check-deposit-drawer-go-to-account")})]})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(Q,{windowSize:d,children:[t.jsx(U,{windowSize:d,children:t.jsx(ee,{"data-testid":y("check-deposit-drawer-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),c?.()}})}),d==="small"?t.jsx(xo,{windowSize:d,children:u.checkDepositDrawer.title}):t.jsx(fo,{children:u.checkDepositDrawer.title}),d==="small"?t.jsx(no,{children:u.checkDepositDrawer.subTitle}):t.jsx(ro,{children:u.checkDepositDrawer.subTitle}),t.jsx(ze,{analytics:l,authParams:L,checkDeposit:e,filesEndPoint:g,onSaveChangesToLocalStore:P,openPopup:T,onCheckDpositClick:A,onDeleteFile:v,onEditFileName:F,updateFilesEntity:S})]}),t.jsx(de,{formId:co("checkDepositDetailPage"),helperText:u.checkDepositDrawer.footNote,helperStyle:{paddingTop:o.sp0,paddingBottom:o.sp0},style:{zIndex:C?0:4,paddingTop:o.sp3,paddingBottom:o.sp3},primaryBtn:{label:u.checkDepositDrawer.depositBtn,isLoading:e.fetchState==="In-Progress"},cancelBtn:{label:u.checkDepositDrawer.cancelBtn,onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cancel",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),c?.()}}})]})})},ro=i(B)`
|
|
149
149
|
color: ${e=>e.theme.colors.hero};
|
|
150
150
|
`,no=i(ue)`
|
|
151
151
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -195,12 +195,12 @@ import{e as oe,V as t,b as y,a5 as R,a as X,o,a9 as de,x as n,a8 as te,n as pe,O
|
|
|
195
195
|
&:hover {
|
|
196
196
|
color: ${e=>e.theme.colors.primary};
|
|
197
197
|
}
|
|
198
|
-
`,
|
|
198
|
+
`,xo=i(ae)`
|
|
199
199
|
color: ${e=>e.theme.colors.primary};
|
|
200
200
|
margin-top: ${o.sp3};
|
|
201
201
|
margin-bottom: ${o.sp0};
|
|
202
202
|
margin-right: ${o.sp3};
|
|
203
|
-
`,
|
|
203
|
+
`,fo=i(ae)`
|
|
204
204
|
color: ${e=>e.theme.colors.primary};
|
|
205
205
|
margin-top: ${o.sp3};
|
|
206
206
|
`;export{Bo as default,co as uniqueFormName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a7 as Wn,e as W,S as Pn,B as Ui,cN as Fn,cO as Zi,O as N,m as C,cP as qt,bE as Qt,cQ as Jt,x as E,cs as Xt,_ as en,E as st,bO as He,bg as Y,L as qi,aE as Qi,aG as Ji,y as de,ad as I,aj as wo,bj as yo,j as Te,cR as Xi,cS as se,bD as tn,bu as zn,C as er,H as Ce,cT as dt,cU as Ve,cV as mt,l as _,bH as ne,cW as bo,cX as tr,w as nn,cY as Je,cZ as Tn,c_ as nr,c$ as or,d0 as Vn,d1 as ir,d2 as rr,d3 as ar,at as ko,aq as lr,b_ as on,bZ as rn,d4 as cr,ar as jo,c1 as So,bm as sr,d5 as dr,d6 as hr,d7 as Dn,d8 as En,d9 as ur,da as pr,bo as gr,b6 as xr,db as fr}from"./index-
|
|
1
|
+
import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a7 as Wn,e as W,S as Pn,B as Ui,cN as Fn,cO as Zi,O as N,m as C,cP as qt,bE as Qt,cQ as Jt,x as E,cs as Xt,_ as en,E as st,bO as He,bg as Y,L as qi,aE as Qi,aG as Ji,y as de,ad as I,aj as wo,bj as yo,j as Te,cR as Xi,cS as se,bD as tn,bu as zn,C as er,H as Ce,cT as dt,cU as Ve,cV as mt,l as _,bH as ne,cW as bo,cX as tr,w as nn,cY as Je,cZ as Tn,c_ as nr,c$ as or,d0 as Vn,d1 as ir,d2 as rr,d3 as ar,at as ko,aq as lr,b_ as on,bZ as rn,d4 as cr,ar as jo,c1 as So,bm as sr,d5 as dr,d6 as hr,d7 as Dn,d8 as En,d9 as ur,da as pr,bo as gr,b6 as xr,db as fr}from"./index-KcTwm1K9.js";import{n as a,c as z}from"./mui-n8MJ8WXv.js";import{a as V,b as mr}from"./sentry-JtTANUcK.js";import{Fu as Ot,Ff as an,FM as ln,FN as Ke,FO as cn,FP as sn,FQ as dn,FR as hn,FS as Co,FT as wr,Fh as Me,cj as Gn,bt as vo,FU as $o,cs as yr,cp as br,Fv as _o}from"./zeni-epic-state-4Sh7AIuB.js";import{N as ct,D as kr,R as jr,B as ve,u as A}from"./AccountRow-C-Iunc36-4-Fl4GH4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="38a6483b-f9c3-47bf-9630-434084be96b8",e._sentryDebugIdIdentifier="sentry-dbid-38a6483b-f9c3-47bf-9630-434084be96b8")}catch{}})();const Nt=[O.graphColor34,O.graphColor08,O.graphColor11,O.graphColor13,O.graphColor19,O.graphColor20,O.graphColor14,O.graphColor35,O.graphColor32,O.graphColor02,O.graphColor06,O.graphColor04,O.graphColor10,O.graphColor12,O.graphColor15,O.graphColor18];function un(e,n=0){const o=(i=>{const r=String.prototype.concat(...new Set(i));let l=0;for(let c=0;c<r.length;++c)l+=r.charCodeAt(c);return l})(e)+n*n*n;return Nt[Math.floor(o/Nt.length)%Nt.length]}function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return Z("0,0",e?.balance)}function J(e){return Z("0,0",e?.forecast)}function Lo(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.totalPercentValue)}return Z("0,0",e?.totalBalance)}function Tt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.forecastPercentValue)}return Z("0,0",e?.totalForecast)}function pe(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function ge(e){if(e!=null&&e.forecast!=null){const n=Math.floor(100*(e.balance.amount-e.forecast.amount)/100);return Z("0,0",Object.assign({},e.forecast,{amount:n}))}return Z("0,0",null)}function Ao(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function Bo(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor(100*(e.totalBalance.amount-e.totalForecast.amount)/100);return Z("0,0",Object.assign({},e.totalForecast,{amount:n}))}return Z("0,0",null)}const Ye=(e,n,o)=>{const{startDate:i,balanceType:r}=n,{dateFormat:{visual:l}}=N.getLocalizedStrings();switch(o){case"month":return r==="default"||r==="default_with_percent"?`${Ot(i,l.MMMYYYYFormat,e)}`:Mt(r,o);case"quarter":return r==="default"||r==="default_with_percent"?`${N.getLocalizedStrings().reports.quarterPrefix}${Ot(i,l.QYYYYformat,e)}`:Mt(r,o);case"year":return r==="default"||r==="default_with_percent"?`${Ot(i,l.YYYYformat,e)}`:Mt(r,o);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function Mt(e,n){return N.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const fg=(e,n,o)=>{const i=n.length==0?e:`${e}_${n.join("_")}`;return o!=null&&o.trim().length>0?`${i}_${o}`:`${i}_${Yi(10)}`},Sr=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|