@zeniai/web-cockpit-ui 1.14.4-qa → 1.14.5-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-DuaBM5pi-BRBMQFaT.js → ACHDetailsPage-CIw_jdIY-EStBcSrm.js} +1 -1
- package/dist/assets/{AIPerformancePage-DNJZld4y-DMIm2NRA.js → AIPerformancePage-BflDOenW-CjUjyslO.js} +1 -1
- package/dist/assets/{AccountInfoPage-B26iFpUV-DkGfE84F.js → AccountInfoPage-D8k3wGmD-DamUkJFt.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-D52iIQne-UeJWnRIX.js → AccountInfoPageContent-C5gATs9y-Aq7oy9Ig.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CB9vTHCy-DpgvGMoO.js → AccountReconDetailsDrawerPage-CddofGws-BWJTJn-b.js} +1 -1
- package/dist/assets/{AccountRow-BtJsms16-tQg_o4NC.js → AccountRow-WEuGwVlL-DsevTGM6.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DxkEUAyX-CtAPE1aY.js → AccountsPromoCardStack-DSxSdGCd-TrOEQAHz.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-nrwPhSQ7-BeIlwsJN.js → AddAddressForCardDrawer-CdIt-G3_-DjpDV6_f.js} +1 -1
- package/dist/assets/{AddToWalletPage-U3xQJ0ga-CdRyFT2q.js → AddToWalletPage-CxzUceYd-D2sGtnBI.js} +1 -1
- package/dist/assets/{AgingReportsPage-C-XPC3Ye-CJr_UOiA.js → AgingReportsPage-FVsrlpLM-DnWFD5Yj.js} +1 -1
- package/dist/assets/{AllUserItems-D9bUKynh-BGBgB2uC.js → AllUserItems-Bw0qVHfp-PS7wDv_l.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-Ct-dl0QP-D5YrJCoV.js → ApAgingDetailPage-Dnq6kgik-DB5oyS19.js} +1 -1
- package/dist/assets/{AppBasePage-DR85cYP5-5zTpEAJG.js → AppBasePage-CnvWVXa_-D6c6ZjSi.js} +1 -1
- package/dist/assets/{AppDrawerContent-CEALC8UE-D91gttES.js → AppDrawerContent-COo8rIzQ-BmKCQoIt.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-OEXjss85-DVWi6Ge1.js → ApprovalRulesSettingsPage-DEDgJJu_-zlMCE6T7.js} +1 -1
- package/dist/assets/{ArAgingChart-CU6nYJDL-CJSDiNge.js → ArAgingChart-B5rtQeer-CyYU_q2Z.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-SlPH0ZP_--PaKeMDJ.js → ArAgingDetailPage-DyNSK8aO-21Q1wWb9.js} +1 -1
- package/dist/assets/{AttachmentView-B_a5fakI-B-lr1Uid.js → AttachmentView-OXyBpL2F-B98ixmV9.js} +1 -1
- package/dist/assets/{BankAccountSection-CHFSoKtQ-C9k2KjqE.js → BankAccountSection-DQns2Rla-BtsYu530.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-BEPUwZxt-CoIbHCz_.js → BankAccountWarningSection-qTsFgeuD-DLnyfabN.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-RqqXRKg2-B7a5DdvH.js → BankConnectionsSettingsPage-Bvnltb7a-BizuFxG2.js} +1 -1
- package/dist/assets/{BillDetailPage-Cri2O4fW-60qQT5xI.js → BillDetailPage-Da_E9_nC-Bm2cV3pY.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-CflhMC1k-eibbyFbA.js → BillPayApprovalRuleDetailPage-ziAMcG0m-BFbS3vj9.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-B3w9pJTA-BlAmLWkF.js → BillPayApprovalRulesPage-97qcqa5F-kjoPSJcr.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DK2kXArZ-CG1z8eMq.js → BillPayPromoPage-BYzFaKct-CDHTMot9.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-C3pMQJHf-C8W1A3ex.js → BillPaySetUpPage-ijAWNt3n-BeHcX0-H.js} +1 -1
- package/dist/assets/{BillingSettingsPage-B3Z4o1Ju-pSUDMveQ.js → BillingSettingsPage-DNZAJ-3V-gI3CJLox.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DRFjIKgb-B5bdAwJe.js → BillsBulkReviewDrawerPage-DqQL9iFe-CzXSpzu9.js} +1 -1
- package/dist/assets/{BoxItem-CCvSsuyr-MDs8sUxL.js → BoxItem-DT51UimN-BkUmi6KI.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-HAKln9TW-CUfWNt7S.js → BusinessVerificationPage-D_sLy4b9-D-l1-WZH.js} +1 -1
- package/dist/assets/{CardNumberSubText-BN0HQsC5-BIKH-Z7l.js → CardNumberSubText-BkDxvc37-7nw4awZ5.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CWMrI6N5-DSNzUWi9.js → CashbackDetailPage-eJO-ODcm-kTAIg1du.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-C7i4P8xn-Bg7mCQ1C.js → ChargeCardDetailPage-Dc-3stHW-DYEsBYSN.js} +1 -1
- package/dist/assets/{ChargeCardListPage-rjBPLgqe-DKYsFuxh.js → ChargeCardListPage-DRot1SKG-CumfuWnP.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DZky8Lwh-BbBwVllv.js → ChargeCardListTable-B3HCvxfz-COsCkUxC.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-BEzLSyck-BcA8EMzk.js → ChargeCardPromoPage-oU5JQfGc-BaigQi9v.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-6yjkxRan-CaPUo89B.js → ChargeCardSetupPage-BADfRJlj-8f9V8k0K.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DbW7AzXa-C0pkrafW.js → ChargeCardStatementsPage-B-XViYjO-CkULOAIC.js} +1 -1
- package/dist/assets/{ChargeCardUtils-KGLTWfKZ-BhC6Lvh9.js → ChargeCardUtils-Bol5oWmA-Bsg8Oyfl.js} +1 -1
- package/dist/assets/{ChaseOverlay-ZotQ5CpW-Aj58UsuP.js → ChaseOverlay-DAxqw7Vj-BauzKak2.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DmxBu2PA-KyrK1TrT.js → CheckDepositDrawerPage-CkKK3qKT-D1bSpYdX.js} +1 -1
- package/dist/assets/{CollapsableReportTable-CFXAvolG-C5THzuyP.js → CollapsableReportTable-q6K7jAw6-Bi51AVDt.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BvZ8RVfx-BF_EccEI.js → CompanyOfficerDetailsSection-BVARFx2M-BHgG6HPS.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DoaxcZ7_-zo4pLaa7.js → CompanyPassportCard-Bfc0SPQL-Dh8MFAhf.js} +1 -1
- package/dist/assets/{CompanyPassportPage-DQvFR_RP-B4SlFqG_.js → CompanyPassportPage-CnEeyb9L-D_iB-_5N.js} +1 -1
- package/dist/assets/{CompleteProfile-Bx56Tens-D_0Gp3tN.js → CompleteProfile-DvtAzqIF-BLgjqjYM.js} +1 -1
- package/dist/assets/{ConfettiBurst-DnYSdE1w-Bbmfjn32.js → ConfettiBurst-DI_ur1ii-CsWOw1kw.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DHxKxmOq-BLw_gcZC.js → CreateOrEditVendorPage-DmaAqZ07-C5sH8mzY.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-C46M2-tK-Vo69nAgR.js → CreditCardPaymentDrawerPage-CvNctQ-G-BAbmGdtS.js} +1 -1
- package/dist/assets/{CreditCardPaymentPlgSection-DNMXEbs0-V8Lb31hl.js → CreditCardPaymentPlgSection-CGiJIVca-D8S_Byyw.js} +1 -1
- package/dist/assets/{CurrencySelectField-V5pEFFIR-Dyh3jwag.js → CurrencySelectField-Dg-v771d-BONtT-Lh.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-T-V2eiKa-EKaVR1Zu.js → CustomerOnboardingActivationPage-VpzSrW82-d3XMbdhW.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-L6Hnku03-BJqUk8si.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BSE7KmYp-3ZenKqSj.js → CustomerOnboardingDetailPageSkeleton-j16Xqnmk-vwUPN2fe.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-BukqpZ8B-C2U4X7F1.js → CustomerOnboardingNoStepsPage-DwdySDPO-BuhfYSnP.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-8A2Z3y9v-DZLCw-At.js → CustomerOnboardingPage-BB1ZxqG3-DDJ80Jou.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-Dpr8oJNi-Dpm0uobQ.js → CustomerOnboardingProductSuitePage-BScpvgDb-D-M-s6CI.js} +1 -1
- package/dist/assets/{Dashboard-P0yPNp-4-iVTh_hoQ.js → Dashboard-BpolYa4C-wmaor9Jb.js} +1 -1
- package/dist/assets/{DashboardReportPage-Bkx6FmDQ-B2I6Re5N.js → DashboardReportPage-pQRUl_gG-BAnFGMh3.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-Cx08KL0D-BNWRDZ3g.js → DepositAccTransactionItem-Wt0dXING-B3cf-R2S.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-BDExP7eh-CMF6NdGs.js → DepositAccTransactionListPage-Cs0KlI24-KxyGJ75v.js} +1 -1
- package/dist/assets/{DocumentSecurityBanner-omOUa698-JvoKSN89.js → DocumentSecurityBanner-DDc5UFRt-CWn048t2.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-_6h8wT5x-BkctRs_T.js → DomesticWireDetailsPage-CPGShq-e-BNGMFCTT.js} +1 -1
- package/dist/assets/{DownloadOverlay-DPU0VkUu-BCFlsKSJ.js → DownloadOverlay-2cyqFPGO-B1MKnbs4.js} +1 -1
- package/dist/assets/{DrawerPage-CWKR8Rw5-CUikFAEg.js → DrawerPage-C-qJ2Dm4-Bs0bNVaT.js} +1 -1
- package/dist/assets/{EditPeoplePage-DZaNNyln-C1lvhueX.js → EditPeoplePage-lFbayOOG--qnFcWgS.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-CcGcN8w2-BHToJcx3.js → EditReimbursementDetailPage-UuxUgVMA-DMDkG2sP.js} +16 -16
- package/dist/assets/{EntityDetailPage-D3LRtQ3C-OY6FTfZt.js → EntityDetailPage-scWkPKyF-xZMzIAny.js} +1 -1
- package/dist/assets/{EntitySummarySection-BWdoghlh-BSsyOTuT.js → EntitySummarySection-BiMRux1v-CMXvqn4M.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-mO5gwQc_-iu6vs3NY.js → ExpenseAutomationOverviewPage-CdyrLRZJ-BO0gLlxk.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DMvlc3hY-Dn4el89p.js → ExpenseAutomationPage-CbEb08AK-512YZdoQ.js} +1 -1
- package/dist/assets/{ExpressPayPage-CqqA3yus-DZEhE96d.js → ExpressPayPage-DA_tTo4g-DCtJeEaC.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-DFhnoUW--DrWaR0Br.js → FeaturePreviewPage-BNqQXX2a-Bo3rOz2Q.js} +1 -1
- package/dist/assets/{FollowStepsSection-B788Zc2c-YpKvtidz.js → FollowStepsSection-BbWkIUb_-CphiyqmN.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-Dj4hMBFz-mpUX3nlh.js → GlobalReviewListPage-COj3_1we-hy0lcaek.js} +1 -1
- package/dist/assets/{HelpButton-BDMRH4As-CFXCoT8S.js → HelpButton-B-GBd1e8-CH_NlSUq.js} +1 -1
- package/dist/assets/{InformationCardStack-Ba4PzwbG-CyqN7WCa.js → InformationCardStack-BQz2--SG-CwT2LKUQ.js} +1 -1
- package/dist/assets/{InsightsCardStack-4ht4YZWA-B10eS6k3.js → InsightsCardStack-es6BneiX-CQtblUsF.js} +1 -1
- package/dist/assets/{InsightsSection-0LvR4mZQ-CqvPYuvN.js → InsightsSection-DXW-B4Fa-CBc1c1kv.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-6BJsk-Zu-A5jzzEqp.js → IntegrationsSettingsPage-C_sRDpnl-CU8asy4o.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-DhOLruXZ-CVB3arjZ.js → InternationalWireSwiftDetailsPage-Dxab2GVU-BFZvNuGQ.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-Dd_gqrju-F9s94qYg.js → InternationalWireVerificationPage-DnJzLl92-D_BNctjs.js} +1 -1
- package/dist/assets/{InviteFormPage-C4UNR9b6-BUrWJ7NN.js → InviteFormPage-BS5WRi1w-BASH6zLc.js} +1 -1
- package/dist/assets/{InvitePageListView-Byp3MA_v-Dd1WN4TY.js → InvitePageListView-CO8_ZG4N-BuILHWuv.js} +1 -1
- package/dist/assets/{InvitePeoplePage-BiKieQDe-DwkyXmFz.js → InvitePeoplePage-D3vbP-JS-B3aKkvRJ.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DZL57cJT-DL1BGByf.js → InvoiceUploadSection-B-ZrMaqn-Bw0_MSZR.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-BtPK5cNg-CtXDgEC7.js → IssueChargeCardPage-CjWitICD-B5MX-Ujc.js} +1 -1
- package/dist/assets/{LabeledAddressValue-BSIB8Qf_-DdxXeL8g.js → LabeledAddressValue-Brl4LzSu-DNukYUFD.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-B42nS3_A-D2DJvK0S.js → LabeledAddressValueField-CkMlEpyG-CQl1AzOB.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-C4A2B6vg-CW3CLe18.js → LabeledControlledCheckBoxField-KplLKC3R-Wem66Wwg.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CBDrFWBx-CG_t4B8L.js → LabeledCreatableSingleSelectField-CB5WGZwa-BmU7gaPq.js} +1 -1
- package/dist/assets/{LabeledDocumentField-C_-ej9Ow-CBPRN6qy.js → LabeledDocumentField-ClOVVHoy-Ct5LcCg0.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-Cwc0pxm3-CCGYrAMG.js → LabeledDropDownFormattedTextField-7a2TUZx2-D1yPduF0.js} +1 -1
- package/dist/assets/{LabeledText-3TJmm0tF-DE-9jAkv.js → LabeledText-DbGX_kFb-CW369wKm.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BeKUbkvn-D2gngt51.js → LabeledUserSingleSelectWithSubtitlesField-C_2dWkTR-tDofLQg_.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-Y4xH8vGm-5JgVeb0L.js → LabeledZeniRolesDropDownField-BOE3zuQX-Cg9sqLM0.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-Dx5YK4tN-CHJ8Zvhq.js → LinkJETransactionPage-DnXY1rVh-ByeOa7K2.js} +1 -1
- package/dist/assets/{LowBalancePopup-BEQHyRLg-C_7UDNUn.js → LowBalancePopup-DCPaPCI6-BTC6Xxto.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-CAfhLmSb-CJHWcLbY.js → MagicLinkACHDetailsPage-BfKYEUuG-B3AXAiS4.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-Bmk401kR-DUFhaM31.js → MagicLinkDomesticWireDetailsPage-CFQuFGEV-B2_p_HKz.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-sEXYjLgT-CK7vSTVG.js → MagicLinkInternationalWireDetailsPage-BCyp3gND-DYiByHAY.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BJ8DC1kk-CRj2tSl_.js → MagicLinkSuccessPage-DVobyltE-CjsvaCu4.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DT1byqwI-C2cIRmk6.js → MagicLinkTitleSection-C2kT2QNt-BDevW1e7.js} +1 -1
- package/dist/assets/{MailingDetailsSection-iqN9dgmJ-Oje-FQUo.js → MailingDetailsSection-DUFIMEFw-CK5he1A-.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-Ck4DBnLb-CsPdjrTs.js → MeetingCalenderPopup-Zcyrwwqh-DI8AlcT3.js} +1 -1
- package/dist/assets/{Menu-DdDY0xYV-CQGC9t7I.js → Menu-DxxrCzV1-BVPj0GgG.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BssdQbZt-BzD4dZbe.js → MyBankConnectionsSettingsPage-DqpBaroQ-D-M7AX9_.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-Bk15K6aY-pkzWr0ox.js → MyPendingActivationChargeCardListPage-BRBQ-D56-gyQvYiE-.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DXBK98XL-D8m_9Tm5.js → MyProfileSettingsPage-1KpIFCJp-1l_hKJQN.js} +1 -1
- package/dist/assets/{NavBarWithPicker-CiTE0-y8-vcn1tihr.js → NavBarWithPicker-CTn1eQHT-Baalm_us.js} +1 -1
- package/dist/assets/{NavigationArrow-DSUT4aub-CxzNyB0W.js → NavigationArrow-B6h0SDdP-DhLDfqI7.js} +1 -1
- package/dist/assets/{NavigationDots-BjzeF34D-C7Ub-Gr5.js → NavigationDots-BzUjuHrF-DAUkzFdj.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Y5YIhEkg-DQ8qhilS.js → NewGlobalMerchantPage-Vv7Gn5oQ-B3GrpT51.js} +1 -1
- package/dist/assets/{NoDataChart-3HE6nhZn-mYH3e4Ib.js → NoDataChart-T4586K3d-ANrQHpL4.js} +1 -1
- package/dist/assets/{NoDataTable-BTw1BmAf-DfGCTorh.js → NoDataTable-7SOJQOqT-iWjAhvik.js} +1 -1
- package/dist/assets/{NotFoundPage-tRMR7UW4-DgsRpy7I.js → NotFoundPage-C7JGgj7V-1UH6Umzc.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CQqmntm6-Bnagmkyf.js → NotificationSettingsPage-DYxOSsX7-BcgSUwRV.js} +1 -1
- package/dist/assets/{NotificationsListConfig-Dm1G55mu-BA8Jk9eT.js → NotificationsListConfig-DRx-9Yz6-CpobjzGU.js} +1 -1
- package/dist/assets/{NotificationsPage-Asdeuaqq-Da_g-1eg.js → NotificationsPage-CWCUtTy2-BYlGKc5u.js} +1 -1
- package/dist/assets/{OpExByVendorPage-BLq8Ctj1-DYmwsZBo.js → OpExByVendorPage-CcYVhhkB-BN4AImBf.js} +1 -1
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-DUcb0mpo.js → OverlayContainerPage-GWXnlbZH-D3rfcxg4.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DwJKEUDv-DhjpyLor.js → PandLWithForecastPage-B9DbC93o-DyEUuNsz.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-wujd9fIw-DjIZjG76.js → PaymentAccountSetupBillingAddressSection-CCX-Pec--DTgUpNfb.js} +1 -1
- package/dist/assets/{PeoplePage-DPfCZF1U-BDEHipfk.js → PeoplePage-BiCeSvCZ-CMJtGjdI.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-D9mZATtO-BMG1-JcO.js → PortfolioAllocationFormPage-BSvoK4qv-D-33A221.js} +1 -1
- package/dist/assets/{PortfolioDetails-Cgq2JdwS-DpqrT4SC.js → PortfolioDetails-pPKPD1a1-CmdC3Hgu.js} +1 -1
- package/dist/assets/{ProductsCarousel-B77mX5vy-B0p64Ch4.js → ProductsCarousel-DR2qv1mK-D7CZVPHC.js} +1 -1
- package/dist/assets/{PromoBaseCards-D-19cOmP-CXeHQXSc.js → PromoBaseCards-BnHveXZh-Bw8HF0-6.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-Afsdvgkl-CVvyxfo0.js → QBOConnectionDialog-D8vq5tbS-azZZFrei.js} +1 -1
- package/dist/assets/{QBOSetupSection-CIINq6G--9tAy6-YZ.js → QBOSetupSection-A1omZG46-BKnMJbi5.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BauwtxXL-CNRF_LY9.js → ReimbursementApprovalRuleDetailPage-zd6wsvgN-CLztKfHA.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-CJ_7q2S5-qsYIj3WP.js → ReimbursementApprovalRulesPage-DmRH5taR-DujoTAby.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BfA-gWiV-Cp7Pv1fo.js → ReimbursementDetailPage-B1I-bvKz-DTpLbpID.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-BugyRgus-IibIIQ0R.js → ReimbursementPromoPage-BUMZSzw5-Cx2rIW3i.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-U56eB_bc-Dqf6heYf.js → ReimbursementSetUpPage-C3k9-DjY-9LunKawL.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BF7-BQrP-DOCYzAcj.js → ReimbursementsBulkReviewDrawerPage-CuSB32kj-Co_FFqoc.js} +1 -1
- package/dist/assets/{ReloadCard-CUwDcZ5d-B6fUb18j.js → ReloadCard-BsW5v4Z9---0mSkBN.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DPZiNtOP-6L-Yv059.js → ReportTableViewSelector-KU1rwaTS-BdaryqkR.js} +1 -1
- package/dist/assets/{ReportsPage-DG2RyIza-DJbGBO9W.js → ReportsPage-BIz5qsi--DQJhfB8D.js} +1 -1
- package/dist/assets/{RevenueChart-DV12hQwS-BZdABFLP.js → RevenueChart-lzn4f31Q-BmFc8SvL.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-C2qnZOx_-D0qIdUT5.js → ReviewDetailsPage-BAHxvnIm-DxRka8bQ.js} +1 -1
- package/dist/assets/{ReviewOverlay-B0us5qds-Da-QQAm6.js → ReviewOverlay-BS3Bb8UE-CgkgHlXs.js} +1 -1
- package/dist/assets/{RoleWithToolTip-KqICk9kG-nRyQpQu1.js → RoleWithToolTip-Bg5SMNk0-C4MLXOkz.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-C6OEABHj-IaOGmz4C.js → ScheduleDetailsFixedAssetsPage-BV45Yp7u-BsYJcKjW.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-CrzvMwbJ-DlxxKw05.js → ScheduleDetailsPage-BImlVd01-BCskNWKv.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-BUDWyViz-C4pMwNEG.js → ScheduleSequenceTable-1JyAvL7Q-CU5Q9KXb.js} +1 -1
- package/dist/assets/{ScreenRoutes-DSjSpPqr.js → ScreenRoutes-DI-ocwzu.js} +1 -1
- package/dist/assets/{SetUpAccountSection-Imz6rw6K-BB6e5h8X.js → SetUpAccountSection-BWj67_7V-BnuyC7TY.js} +1 -1
- package/dist/assets/{SetUpDefaultSection-bAd0d4qo-DyV4jHub.js → SetUpDefaultSection-CcTYu9KI-C5oQBgxO.js} +1 -1
- package/dist/assets/{SignIn-C1k0afjs-d36KDLoF.js → SignIn-C9Bis1UR-VByOj0_C.js} +1 -1
- package/dist/assets/{SignInScreen-BEf1Yst-.js → SignInScreen-Bl9JD_1W.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CvjkWB-_-C_Lu39_G.js → SpendManagementListViewPage-CAqXkCNm-BeUXvyJy.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-DYq_U4nN-DrugFuba.js → SpendManagementPerTabPage-BH8fKe7l-CnJruuEa.js} +1 -1
- package/dist/assets/{SpendManagementSection-CHBLAXiF-C1bspEzt.js → SpendManagementSection-C5TccKK--DGNxr4DQ.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-C7lpDD5w-BBBJg0oe.js → SpendMgmtSetupAccountSection-B_tGpehs-DP-Eq88w.js} +1 -1
- package/dist/assets/{StatementItem-ClfyhiJC-Vc3jYvuO.js → StatementItem-DG9w15d--CLyjvavs.js} +1 -1
- package/dist/assets/{StatementsPage-BLtMccZw-DhIzEKGr.js → StatementsPage-BdN88QJJ-C1_CXUKv.js} +1 -1
- package/dist/assets/{StatusSwitcher-DrlUYFAO-7rlDNhnX.js → StatusSwitcher-gNATihC3-C0z2Mexx.js} +1 -1
- package/dist/assets/{SubTabSwitcher-Dyq1x5SP-Dagterhd.js → SubTabSwitcher-DAEoIU-Q-Dtz-9M5x.js} +1 -1
- package/dist/assets/{SummaryCard-CzHp89o2-si2jeEKZ.js → SummaryCard-OxWKTAi_-BV6gh84m.js} +1 -1
- package/dist/assets/{TaskManagementPage-V4Jb53tv-JE6CMjG1.js → TaskManagementPage-ucrH-SxY-OGOTE-my.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-BxJX9ASF-CbY1Pacf.js → TimeRangeSwitcher-Ebmo9AYk-CqVoqauF.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-C5xMAnLt-CKy7JtTx.js → TimeframeSwitcher-pPrxCjwR-CG06w8xv.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DMX6o1BS-BIQ20NdF.js → TimeframeSwitcherWithToggle-ywAz9QoN-DwQriSFk.js} +1 -1
- package/dist/assets/{TopExCard-D6jvucRB-yrxGCErh.js → TopExCard-DBn2NqIA-DNSj3fuN.js} +1 -1
- package/dist/assets/{TopExDetailPage-QpVoLtzq-d-5KZIB3.js → TopExDetailPage-p64hNnnA-B7Zr1b6T.js} +1 -1
- package/dist/assets/{TransactionDetailPage-3aDWdlUB-w4v0VH4v.js → TransactionDetailPage-CxAe72G9-W4k5L2pW.js} +1 -1
- package/dist/assets/{TransactionList-k8YmeJcr-f7-s14P7.js → TransactionList-yK7ZYEou-CTbn1skD.js} +1 -1
- package/dist/assets/{TransactionListBig-vTaTpmta-YAtu2Czz.js → TransactionListBig-D7aG1I33-AH9IY3BV.js} +1 -1
- package/dist/assets/{TransactionListPage-CYnJEUFj-DLBWxFiy.js → TransactionListPage-CRqs-wlv-DsZDIyf6.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BdGJYzkn-qYgHd3s2.js → TransactionVendorDetailPage-CZTN0wW8-Si5ip29m.js} +1 -1
- package/dist/assets/{TransferDrawerPage-JhER6Fzb-BGOJIsrd.js → TransferDrawerPage-BrhFck8u-DuuSE8hX.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-etZMI5qq-CVEDSns3.js → TreasuryOverviewPage-BpV4pCSA-CZk1RDVu.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DMQCUGTI-BP_kkSDN.js → TreasuryPromoPage-C6ZnQSpk-xQ6YrrL3.js} +1 -1
- package/dist/assets/{TreasurySetupPage-CLLUfgvc-DE8SZjT-.js → TreasurySetupPage-BmoVprJL-ClE7TWv1.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-CbJuuQJf-CnPKmHeW.js → TreasuryStatementsPage-Cm5_xU1n-DbP2OUeq.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-CNZRB1JA-DFtOsBP7.js → TreasuryTaxLetterPage-_rEGQMR3-LyOHvvj-.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-_KQow8xx-BuNBIsAT.js → TreasuryTransferOrReviewPage-DgiHAsBg-Dg9T24hQ.js} +1 -1
- package/dist/assets/{TrendChart-DgcS2Qi8-D_ZPU8O7.js → TrendChart-xIdxctU8-x2wNYwyE.js} +1 -1
- package/dist/assets/{TrendWithTransactions-BV5_3PZZ-D4Y1ojZm.js → TrendWithTransactions-BfLGuXQj-BwqZa2OH.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-Bsm7bAwr-DzecGiQQ.js → UncategorizedAccountsMappingPage-CDy9Ri0a-CLZlxSoG.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-ChuaH8ac-qyhPQtyu.js → UnitIntegrationPage-k2FVWXIc-BDQWm355.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-Bz_n0Pn3-BbefJzR5.js → UploadAdditionalDocumentOverlay-BOA4AHm2-BusQsRnA.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-R19bkGMS-BSUiczZW.js → Vendor2FAPopup-DWbOSde1-Cp-IRpRE.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-C_RgFepi-CUSw7fjw.js → VendorACHDetailsPage-Dxa1YMIJ-BbJXaYMM.js} +1 -1
- package/dist/assets/{VendorDetailPage-uA1hH2Jz-BhAulD-u.js → VendorDetailPage-Iiwzh-ZT-DhamKYIQ.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-9tAj_M02-3nXvZoo5.js → VendorDomesticWireDetailsPage-CGJ4MlC8-DJcNrRF0.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DG0cllTw-BwKqWXCY.js → VendorFiling1099EditablePage-B7871Mhw-CIXHwaXh.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-Bt-yNa1d-Bi5sn6Y3.js → VendorFirstReviewPage-BkEdIBG_-D3K8943E.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CgI4LQyI-BEHVoXjy.js → VendorInternationalWireDetailsPage-Kfagr169-w56xeP4u.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BrMTSUIo-Cb45Vgi0.js → VendorInternationalWireSwiftDetailsPage-DOProal8-CtDiuFlh.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-WaX0Qe7x-D7uOygsn.js → VendorsAccountsSection-Dvq3DO8J-B7o-i1Em.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-Cafo6rCY-t9RPHA4E.js → WarningsDrawerPage-CT9Yu_kA-B9wJqZBd.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-B7wC3QXT-DZ7oarPL.js → ZeniAccountDetailPage-Bn-xkPN7-MtMh5_mH.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-pAoiX5t8-CwZPzidz.js → ZeniAccountListViewPage-CrfoK_-S-SmXYtT1L.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-DK__bQjs-BoFKbW0G.js → ZeniAccountNavBarPieces-CauNX8EE-1-JrCfVu.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DI4EDGF1-DEKb5_Ah.js → ZeniAccountPromoPage-BjvqNB1t-BbsRVFfW.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-C7Sl8Kvq-Cyd5p6p_.js → ZeniAccountSetupPage-DSw_KPxq-ayRn_Z8f.js} +1 -1
- package/dist/assets/{ZeniCopyright-Clbu-tZt-Ds-lXnbJ.js → ZeniCopyright-QA9RHYMK-BxwwUme_.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CF39KlIc-D8KNv1xm.js → ZeniTransferAmountSlider-B4cUboEh-7Hw-Bp0A.js} +1 -1
- package/dist/assets/{analyticsHelper-BF4C5cfp-BCgtBb08.js → analyticsHelper-C4qmWpU5-ET8eIXCq.js} +1 -1
- package/dist/assets/{analyticsHelper-Dgc12gUO.js → analyticsHelper-CE1ODvI7.js} +1 -1
- package/dist/assets/{chartTypes-BuFzxmL_-Rp8LBMqF.js → chartTypes-voo0IDRB-BN1nw5Kh.js} +1 -1
- package/dist/assets/{commonDimensions-DNp72kDa-BiDykxcn.js → commonDimensions-DlTnUSCm-C65miBPp.js} +1 -1
- package/dist/assets/{detailCommon-ClngFipo-GvWix4mb.js → detailCommon-D_Iv7bJI-DVxwMPcD.js} +1 -1
- package/dist/assets/{downloadPdf-CvBnJ3dy-C0n-pbhV.js → downloadPdf-C3McD4L4-CrdBKxJ9.js} +1 -1
- package/dist/assets/{index-zArkc2x8.js → index-Dyf14sbB.js} +3 -3
- package/dist/assets/{mapLoadingInProgressToTreeNode-_i8eyx1f-DvHcv8gm.js → mapLoadingInProgressToTreeNode-DPFqqVtT-BRMYbLZu.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CG5X_Lif-CViAjOPu.js → mapSectionWithAcOnlyToTreeNode-B1YNY6Ry-te8OgjLN.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-C58mhpiy-B-gYlJiN.js → mapSpacerToTreeNode-CiA7DvHN-C4ja3CFZ.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-By8Tp-Gv-XMwVK7n_.js → mapTimeframeBalancesToTreeNode-DaJ2Xi-V-M1SEsY1c.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-oCLMU9SF-B_V8FU9i.js → mapTimeframeBalancesToTreeNode-JmS044Zg-KX5pYbzN.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-GuK79d7h-Blg97AJn.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DxwUIfBr-De_XiXQy.js} +1 -1
- package/dist/assets/{play-icon-CIcjP313-C5rdEL3V.js → play-icon-Bp64ZIEx-BjFf35CP.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-C-bTJwi8-B2Rblmfw.js → toCOABalancesWithID-B7LbirMG-FQxgolVV.js} +1 -1
- package/dist/assets/{toChartData-Cy5VqMOG-D44aheIf.js → toChartData-CuB9yc-H-BOn1p0Uq.js} +1 -1
- package/dist/assets/{treasuryColorHelper-DAviLn_P-CfPDjBRD.js → treasuryColorHelper-DyLAAeN7-CgoRjQNs.js} +1 -1
- package/dist/assets/{uploadAttachment-Xl-SHr7p--zcYcDwW.js → uploadAttachment-NIRC4dWz-FhHwOWtr.js} +1 -1
- package/dist/assets/{uploadReceipts-D80JLNY4-aejyHeCw.js → uploadReceipts-D80JLNY4-CaZ_b3QD.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-DGD2vqOH-kUIaItsl.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as ht,u as qe,j as t,M as oe,iG as Y,aV as mt,T as V,bO as gt,s as K,Z as kt,l as Q,o as s,eH as Ze,bH as Ie,bL as xt,fy as wt,an as ft,be as Xe,a5 as Ct,X as le,a as Tt,C as Je,c3 as $t,F as yt,ai as bt,bT as vt,ia as jt,ib as St,iH as Be,a3 as Gt,K as De,bs as Ee,eD as Qe,iI as Lt,cq as et,iJ as pe,iK as xe,iL as Nt,iM as we,iN as tt,iO as st,iP as ot,iQ as nt,iR as at,iS as rt,iT as _,m as ke,iU as re,v as ie,iV as It,iW as Et,a2 as Mt,n as Dt,iX as Bt,d6 as zt,iY as At,cg as it,cA as Wt,p as Rt,iZ as Ot,i_ as Ft,fz as Pt,eG as Ht,i$ as Vt,j0 as X,j1 as ze,bV as Ut,j2 as _t,j3 as Kt,j4 as Ae,j5 as Yt,g as We,fW as qt,e as Zt}from"./index-
|
|
1
|
+
import{w as ht,u as qe,j as t,M as oe,iG as Y,aV as mt,T as V,bO as gt,s as K,Z as kt,l as Q,o as s,eH as Ze,bH as Ie,bL as xt,fy as wt,an as ft,be as Xe,a5 as Ct,X as le,a as Tt,C as Je,c3 as $t,F as yt,ai as bt,bT as vt,ia as jt,ib as St,iH as Be,a3 as Gt,K as De,bs as Ee,eD as Qe,iI as Lt,cq as et,iJ as pe,iK as xe,iL as Nt,iM as we,iN as tt,iO as st,iP as ot,iQ as nt,iR as at,iS as rt,iT as _,m as ke,iU as re,v as ie,iV as It,iW as Et,a2 as Mt,n as Dt,iX as Bt,d6 as zt,iY as At,cg as it,cA as Wt,p as Rt,iZ as Ot,i_ as Ft,fz as Pt,eG as Ht,i$ as Vt,j0 as X,j1 as ze,bV as Ut,j2 as _t,j3 as Kt,j4 as Ae,j5 as Yt,g as We,fW as qt,e as Zt}from"./index-Dyf14sbB.js";import{b as n,n as o,j as fe}from"./vendor-CnQcJ2Lu.js";import{J as Xt,Y as Jt}from"./SpendManagementSection-C5TccKK--DGNxr4DQ.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-DRx-9Yz6-CpobjzGU.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-CAqXkCNm-BeUXvyJy.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./StatusSwitcher-gNATihC3-C0z2Mexx.js";const ns=100,as=100,rs=3,is=.7,ls=({scrollContainerRef:e,isEnabled:u=!0,edgeThreshold:r=ns,scrollSpeed:h=as,minScrollAmount:m=rs,scrollCurveExponent:p=is})=>{n.useEffect(()=>{if(!u||typeof window>"u"||typeof document>"u")return;let a=!1,c=0,i=null;const d=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>j(x),M=x=>{const S=Math.max(x,0)/d,y=Math.pow(S,p)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=c;if(y<d&&y>0){const L=d-y,g=M(L);k(x,g,"up")}else if(y>S-d){const L=y-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{E(x)?a=!0:(a=!1,C())},B=()=>{a=!1,C()},z=x=>{a&&(c=x.clientY)},$=x=>{z(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",B),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",B),document.removeEventListener("dragover",$),C()}},[r,u,m,e,p,h])},Se=oe.getLocalizedStrings(),lt=({count:e})=>t.jsx(ds,{isCircular:e<10,children:t.jsx(cs,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),ds=o.div`
|
|
2
2
|
${e=>e.isCircular?fe`
|
|
3
3
|
height: 18px;
|
|
4
4
|
width: 18px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,ai as V,H as j,df as Y,aL as D,o as a,v as q}from"./index-
|
|
1
|
+
import{j as t,ai as V,H as j,df as Y,aL as D,o as a,v as q}from"./index-Dyf14sbB.js";import{n as g,b as i}from"./vendor-CnQcJ2Lu.js";import{R as A}from"./mui-C5LQ0bMa.js";import{V as U}from"./CollapsableReportTable-q6K7jAw6-Bi51AVDt.js";const W=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,o,v as p,M as u}from"./index-
|
|
1
|
+
import{j as t,o,v as p,M as u}from"./index-Dyf14sbB.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const f=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as c,j as t,C as n,v as x,b3 as w}from"./index-
|
|
1
|
+
import{X as c,j as t,C as n,v as x,b3 as w}from"./index-Dyf14sbB.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-pPrxCjwR-CG06w8xv.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{H as _,X as V,j as t,u as f,b5 as T,au as C,at as S,b9 as E,bi as k,m as x,aa as R,p as $,bj as H,bk as X,_ as q,l as Y,U as G,o as p,v as L,an as J,s as F,M as A,W as N,Y as U,a4 as O,ah as W,ai as Q,a5 as Z,bl as ee}from"./index-
|
|
1
|
+
import{H as _,X as V,j as t,u as f,b5 as T,au as C,at as S,b9 as E,bi as k,m as x,aa as R,p as $,bj as H,bk as X,_ as q,l as Y,U as G,o as p,v as L,an as J,s as F,M as A,W as N,Y as U,a4 as O,ah as W,ai as Q,a5 as Z,bl as ee}from"./index-Dyf14sbB.js";import{f as v,b as te,n as g}from"./vendor-CnQcJ2Lu.js";import{I as ae,T as re}from"./ReloadCard-BsW5v4Z9---0mSkBN.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ie=g(O)`
|
|
2
2
|
justify-content: space-between;
|
|
3
3
|
margin: 0;
|
|
4
4
|
height: ${e=>e.height!=null?e.height+"px":"auto"};
|
package/dist/assets/{TopExDetailPage-QpVoLtzq-d-5KZIB3.js → TopExDetailPage-p64hNnnA-B7Zr1b6T.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as v,X as S,l as A,j as t,aV as B,M as u,_ as b,ai as H,D as P,o as i,C as E,bh as z,aM as V,m as c,g as F,s as y,Y as T,ae as M}from"./index-
|
|
1
|
+
import{u as v,X as S,l as A,j as t,aV as B,M as u,_ as b,ai as H,D as P,o as i,C as E,bh as z,aM as V,m as c,g as F,s as y,Y as T,ae as M}from"./index-Dyf14sbB.js";import{n as l,f as D,b as o}from"./vendor-CnQcJ2Lu.js";import{E as _,I as L}from"./TopExCard-DBn2NqIA-DNSj3fuN.js";import{b as Z}from"./TimeframeSwitcher-pPrxCjwR-CG06w8xv.js";import{d as O}from"./NoDataTable-7SOJQOqT-iWjAhvik.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-BsW5v4Z9---0mSkBN.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const j="141px",I=i.sp4,R="123px",X=l(M)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
width: ${i.sp3};
|
|
4
4
|
height: ${i.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as jt,a as zo,X as J,M as N,a1 as Rt,dK as Ao,dL as Vo,c3 as Ro,H as Po,dM as Gi,l as ue,dN as Eo,j as i,Y as B,F as _o,aV as No,dO as Bo,dP as Mo,c as Bt,dQ as Ii,a3 as Fo,C as R,dR as Wo,dS as Zi,dT as Ki,dU as Ji,dV as Ie,dW as ve,dX as Ee,dY as Ge,dZ as Ze,d_ as It,d$ as vt,e0 as Ke,e1 as rt,e2 as Ct,e3 as Dt,e4 as Pt,e5 as re,e6 as Et,e7 as se,e8 as le,S as qo,e9 as bt,ea as vi,eb as Uo,K as Ho,bO as Yo,o as n,ec as Go,m as v,D as si,g as ie,Z as mi,ao as Mt,ax as Zo,ed as Ko,bJ as Jo,bH as Ft,_ as De,cg as Be,ee as Qo,ef as kt,a6 as Qi,cl as Xo,eg as en,bF as tn,bG as on,s as he,ae as nn,cA as an,eh as Xi,ei as li,ej as ri,ek as Xt,db as sn,ai as ln,bT as rn,co as hi,cm as eo,d2 as cn,el as Ci,em as Di,en as dn,bs as to,eo as ei,dg as ti,ep as un,aM as pn,eq as mn,er as Ti,es as hn,z as gn,cp as fn,et as yn,Q as io,eu as bn,b4 as xn,ev as ji,b2 as tt,ew as wn,ex as $n,ey as In,b0 as vn,aB as Cn,dp as Dn,p as oo,ez as Tn,a$ as jn,a2 as On,e as Ln,eA as Sn,a8 as ci}from"./index-
|
|
1
|
+
import{u as jt,a as zo,X as J,M as N,a1 as Rt,dK as Ao,dL as Vo,c3 as Ro,H as Po,dM as Gi,l as ue,dN as Eo,j as i,Y as B,F as _o,aV as No,dO as Bo,dP as Mo,c as Bt,dQ as Ii,a3 as Fo,C as R,dR as Wo,dS as Zi,dT as Ki,dU as Ji,dV as Ie,dW as ve,dX as Ee,dY as Ge,dZ as Ze,d_ as It,d$ as vt,e0 as Ke,e1 as rt,e2 as Ct,e3 as Dt,e4 as Pt,e5 as re,e6 as Et,e7 as se,e8 as le,S as qo,e9 as bt,ea as vi,eb as Uo,K as Ho,bO as Yo,o as n,ec as Go,m as v,D as si,g as ie,Z as mi,ao as Mt,ax as Zo,ed as Ko,bJ as Jo,bH as Ft,_ as De,cg as Be,ee as Qo,ef as kt,a6 as Qi,cl as Xo,eg as en,bF as tn,bG as on,s as he,ae as nn,cA as an,eh as Xi,ei as li,ej as ri,ek as Xt,db as sn,ai as ln,bT as rn,co as hi,cm as eo,d2 as cn,el as Ci,em as Di,en as dn,bs as to,eo as ei,dg as ti,ep as un,aM as pn,eq as mn,er as Ti,es as hn,z as gn,cp as fn,et as yn,Q as io,eu as bn,b4 as xn,ev as ji,b2 as tt,ew as wn,ex as $n,ey as In,b0 as vn,aB as Cn,dp as Dn,p as oo,ez as Tn,a$ as jn,a2 as On,e as Ln,eA as Sn,a8 as ci}from"./index-Dyf14sbB.js";import{b as T,n as l,f as xt}from"./vendor-CnQcJ2Lu.js";import{x as Oi}from"./LabeledControlledCheckBoxField-KplLKC3R-Wem66Wwg.js";import{R as kn}from"./TrendWithTransactions-BfLGuXQj-BwqZa2OH.js";import{u as zn,c as An,d as Vn,m as Rn}from"./uploadAttachment-NIRC4dWz-FhHwOWtr.js";import{o as Pn}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TrendChart-xIdxctU8-x2wNYwyE.js";import"./chartTypes-voo0IDRB-BN1nw5Kh.js";import"./toCOABalancesWithID-B7LbirMG-FQxgolVV.js";import"./toChartData-CuB9yc-H-BOn1p0Uq.js";import"./NoDataChart-T4586K3d-ANrQHpL4.js";import"./InsightsSection-DXW-B4Fa-CBc1c1kv.js";import"./NavigationDots-BzUjuHrF-DAUkzFdj.js";import"./TransactionList-yK7ZYEou-CTbn1skD.js";import"./BoxItem-DT51UimN-BkUmi6KI.js";import"./commonDimensions-DlTnUSCm-C65miBPp.js";const En={headerMarginTop:new R(v[7],v[8])},_n=l(he)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
`,Nn=l(he)`
|
|
4
4
|
margin-right: ${n.sp1};
|
package/dist/assets/{TransactionList-k8YmeJcr-f7-s14P7.js → TransactionList-yK7ZYEou-CTbn1skD.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{bC as et,X as N,j as e,ai as it,Y as h,db as at,M as y,dc as ot,d6 as rt,dd as nt,o as i,g as E,bT as st,C as q,l as f,c as dt,s as j,m as g,v as lt,de as Q,cs as V,_ as U,e as ct}from"./index-
|
|
1
|
+
import{bC as et,X as N,j as e,ai as it,Y as h,db as at,M as y,dc as ot,d6 as rt,dd as nt,o as i,g as E,bT as st,C as q,l as f,c as dt,s as j,m as g,v as lt,de as Q,cs as V,_ as U,e as ct}from"./index-Dyf14sbB.js";import{b as L,n,f as mt}from"./vendor-CnQcJ2Lu.js";import{g as W}from"./BoxItem-DT51UimN-BkUmi6KI.js";import{o as O}from"./commonDimensions-DlTnUSCm-C65miBPp.js";const D=t=>t?24:125,ft={containerPaddingBottom:new q(g[9],g[8])},A=n.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex: 1 1 auto;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{C as a,X as R,w as W,I as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as w,m as n,p as ae,g as B,o,Q as j,h as q,aK as se,aL as le,v as de,Z as ce,_ as me,aM as pe,f as he,c as ue,K as Y,D as G,aN as X,a5 as ee}from"./index-
|
|
1
|
+
import{C as a,X as R,w as W,I as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as w,m as n,p as ae,g as B,o,Q as j,h as q,aK as se,aL as le,v as de,Z as ce,_ as me,aM as pe,f as he,c as ue,K as Y,D as G,aN as X,a5 as ee}from"./index-Dyf14sbB.js";import{b as N,n as i,f,j as ge}from"./vendor-CnQcJ2Lu.js";import{G as xe,c as we}from"./AccountsPromoCardStack-DSxSdGCd-TrOEQAHz.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./SummaryCard-OxWKTAi_-BV6gh84m.js";import"./ReloadCard-BsW5v4Z9---0mSkBN.js";import"./NavigationArrow-B6h0SDdP-DhLDfqI7.js";import"./NavigationDots-BzUjuHrF-DAUkzFdj.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
cursor: default;
|
|
4
4
|
`,be=i.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as z,aT as A,aU as M,j as o,Y as h,aV as q,c as K,aW as U,o as n,s as V}from"./index-
|
|
1
|
+
import{u as z,aT as A,aU as M,j as o,Y as h,aV as q,c as K,aW as U,o as n,s as V}from"./index-Dyf14sbB.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{d as W}from"./TransactionList-yK7ZYEou-CTbn1skD.js";import{t as Z}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-DT51UimN-BkUmi6KI.js";import"./commonDimensions-DlTnUSCm-C65miBPp.js";const _=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
height: 100vh;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as H,M as A,j as o,c as q,Y as D,a3 as W,o as a,C as g,a2 as Q,Q as K,cu as U,a as X,gt as F,gu as M,gv as R,c3 as Y,F as _,m as r,u as G,c6 as J,g8 as z,gA as Z,al as ee,gE as oe,gF as te}from"./index-
|
|
1
|
+
import{X as H,M as A,j as o,c as q,Y as D,a3 as W,o as a,C as g,a2 as Q,Q as K,cu as U,a as X,gt as F,gu as M,gv as R,c3 as Y,F as _,m as r,u as G,c6 as J,g8 as z,gA as Z,al as ee,gE as oe,gF as te}from"./index-Dyf14sbB.js";import{b as j,n as d}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:h,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=G(),$=N.labelWidth.value(l),I=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(B=>B.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(J,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:h,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:I}):null]})]})},re=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
padding-top: ${a.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,c as We,a3 as we,o as a,C as c,a2 as Ye,k as st,an as ct,Z as dt,c0 as xe,v as $e,s as ue,a1 as pe,eX as ut,a as Ve,l as ft,c3 as pt,aa as mt,a0 as ht,g as G,F as Ne,f4 as Se,f5 as ve,fD as gt,bs as De,fy as wt,gY as xt,m as o,cW as $t,bH as Xe,bm as Dt,cz as bt,b4 as Tt,e as Ze,f0 as yt,dp as Ct,bo as qe,f7 as St,f9 as vt}from"./index-zArkc2x8.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-CF39KlIc-D8KNv1xm.js";import{r as At}from"./AccountInfoPageContent-D52iIQne-UeJWnRIX.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-CvBnJ3dy-C0n-pbhV.js";import"./commonDimensions-DNp72kDa-BiDykxcn.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ge="transferDetailPage",me=(e,n)=>`${e}.${n}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:H}){const i=de(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),Q=n.transferMoneyPartiesFetchState,oe=pe(Q),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),Je=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),He=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:Z,ready:te}=ut({token:v,onSuccess:Je,onExit:He}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?Z():z(!0)},[Z,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&Z()},[V,Z,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>Z()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,P,n,Z]);const{isValid:Qe}=P.formState,et=async(s,h)=>{if(s!=null){const B={...h},se={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};K(se)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(y(!0),C(!0)):C(!1),S(se)}});return()=>{s.unsubscribe()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&pt(()=>et(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=P.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),H())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,ye=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:q("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Bt,{id:Ke(Ge),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Fe,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Be,{}),t.jsx(Fe,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,Pt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Be,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ue),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.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.jsxs(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",ye).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",ye)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Jt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(We,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Ae=(e,n)=>({transferDetails:{[Ue]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.div`
|
|
1
|
+
import{j as t,X as de,Y as A,gN as it,M as I,_ as q,K as Ce,gX as lt,c as We,a3 as we,o as a,C as c,a2 as Ye,k as st,an as ct,Z as dt,c0 as xe,v as $e,s as ue,a1 as pe,eX as ut,a as Ve,l as ft,c3 as pt,aa as mt,a0 as ht,g as G,F as Ne,f4 as Se,f5 as ve,fD as gt,bs as De,fy as wt,gY as xt,m as o,cW as $t,bH as Xe,bm as Dt,cz as bt,b4 as Tt,e as Ze,f0 as yt,dp as Ct,bo as qe,f7 as St,f9 as vt}from"./index-Dyf14sbB.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-B4cUboEh-7Hw-Bp0A.js";import{r as At}from"./AccountInfoPageContent-C5gATs9y-Aq7oy9Ig.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-C3McD4L4-CrdBKxJ9.js";import"./commonDimensions-DlTnUSCm-C65miBPp.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ge="transferDetailPage",me=(e,n)=>`${e}.${n}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:H}){const i=de(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),Q=n.transferMoneyPartiesFetchState,oe=pe(Q),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),Je=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),He=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:Z,ready:te}=ut({token:v,onSuccess:Je,onExit:He}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?Z():z(!0)},[Z,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&Z()},[V,Z,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>Z()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,P,n,Z]);const{isValid:Qe}=P.formState,et=async(s,h)=>{if(s!=null){const B={...h},se={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};K(se)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(y(!0),C(!0)):C(!1),S(se)}});return()=>{s.unsubscribe()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&pt(()=>et(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=P.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),H())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,ye=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:q("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Bt,{id:Ke(Ge),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Fe,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Be,{}),t.jsx(Fe,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,Pt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Be,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ue),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.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.jsxs(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",ye).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",ye)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Jt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(We,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Ae=(e,n)=>({transferDetails:{[Ue]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.div`
|
|
2
2
|
margin-top: ${a.sp3};
|
|
3
3
|
display: flex;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,bs as ae,aV as Ne,p as ie,Y as W,c as Ke,o as i,v as k,g as w,b4 as Ve,C as u,cO as _,Q as B,l as F,m as h,gQ as le,ar as de,au as ce,at as he,as as pe,b7 as Fe,be as Le,a5 as Me,w as Ee,fk as We,gk as Ue,K as Ge,s as A,ae as Je,iB as Xe,jc as _e,ay as Qe,eE as qe,d4 as Ze,f0 as et,ai as tt,bT as it,ia as ot,ib as rt,kc as at,bl as st,e as U,bY as xe,id as nt,b$ as lt,ie as dt,ig as ct}from"./index-
|
|
1
|
+
import{X as C,u as M,d2 as Ye,j as t,M as L,_ as E,bs as ae,aV as Ne,p as ie,Y as W,c as Ke,o as i,v as k,g as w,b4 as Ve,C as u,cO as _,Q as B,l as F,m as h,gQ as le,ar as de,au as ce,at as he,as as pe,b7 as Fe,be as Le,a5 as Me,w as Ee,fk as We,gk as Ue,K as Ge,s as A,ae as Je,iB as Xe,jc as _e,ay as Qe,eE as qe,d4 as Ze,f0 as et,ai as tt,bT as it,ia as ot,ib as rt,kc as at,bl as st,e as U,bY as xe,id as nt,b$ as lt,ie as dt,ig as ct}from"./index-Dyf14sbB.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-DlTnUSCm-C65miBPp.js";import{g as me}from"./BoxItem-DT51UimN-BkUmi6KI.js";import{l as se,d as xt}from"./treasuryColorHelper-DyLAAeN7-CgoRjQNs.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import{o as mt}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ne=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:ne.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:ne.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:ne.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(dt,ct),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:s}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const n of p)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,n)=>{let m=n;r.sortKey===p&&(m=n==="ascending"?"descending":"ascending"),s(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(n=>n.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(st,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const $t=ht.memo(wt),jt=o.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as ae,X as E,w as xe,d2 as we,a1 as $e,l as fe,M as O,j as r,aV as ye,o as i,iB as je,bs as be,v as S,K,Y as Q,Q as f,Z as F,C as v,g as t,s as _,d4 as Se,eW as ke,k as ze,e as ve,cI as Ce,m,dI as Le,aw as Pe,c0 as Te,a2 as Ie,p as Z,cu as De}from"./index-
|
|
1
|
+
import{u as ae,X as E,w as xe,d2 as we,a1 as $e,l as fe,M as O,j as r,aV as ye,o as i,iB as je,bs as be,v as S,K,Y as Q,Q as f,Z as F,C as v,g as t,s as _,d4 as Se,eW as ke,k as ze,e as ve,cI as Ce,m,dI as Le,aw as Pe,c0 as Te,a2 as Ie,p as Z,cu as De}from"./index-Dyf14sbB.js";import{b as P,n as o,f as Me}from"./vendor-CnQcJ2Lu.js";import{x as Be}from"./MeetingCalenderPopup-Zcyrwwqh-DI8AlcT3.js";import{l as Re}from"./treasuryColorHelper-DyLAAeN7-CgoRjQNs.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as Ge}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const _e=({isOpen:e,onClose:x})=>{const c=E(),u=O.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(He,{children:[r.jsx(Ae,{children:r.jsx(Oe,{onClick:x})}),r.jsxs(Ve,{children:[r.jsx(Ee,{windowSize:c,children:u.agreementDrawer.title}),r.jsx(J,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((d,w)=>r.jsx(re,{children:d},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((d,w)=>r.jsx(Ye,{children:d.hasMultipleLinks===!0&&d.links?r.jsx(qe,{children:d.links.map((h,$)=>r.jsx(Ue,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:d.link,target:"_blank",rel:"noopener noreferrer",children:d.text})},w))}),r.jsx(J,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((d,w)=>r.jsx(re,{children:d},w))})]})]})})},He=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d2 as Ge,u as qe,X as pe,a1 as me,a as he,c3 as fe,M as ge,a7 as le,j as t,cI as Ke,g as Ye,C as r,aV as Je,c as Qe,F as ye,c_ as Xe,aQ as Ze,m as n,l as et,K as tt,bs as it,Y as ot,cd as nt,c9 as at,a3 as st,o as i,s as xe,c0 as lt,a2 as rt,Q as ct,h as dt}from"./index-
|
|
1
|
+
import{d2 as Ge,u as qe,X as pe,a1 as me,a as he,c3 as fe,M as ge,a7 as le,j as t,cI as Ke,g as Ye,C as r,aV as Je,c as Qe,F as ye,c_ as Xe,aQ as Ze,m as n,l as et,K as tt,bs as it,Y as ot,cd as nt,c9 as at,a3 as st,o as i,s as xe,c0 as lt,a2 as rt,Q as ct,h as dt}from"./index-Dyf14sbB.js";import{b as l,n as o}from"./vendor-CnQcJ2Lu.js";import{F as ut}from"./HelpButton-B-GBd1e8-CH_NlSUq.js";import{Y as pt}from"./LabeledDocumentField-ClOVVHoy-Ct5LcCg0.js";import{P as mt}from"./DocumentSecurityBanner-DDc5UFRt-CWn048t2.js";import{r as ht}from"./verification-CW6uEyev-DdkqedMU.js";import{K as re}from"./SetUpDefaultSection-CcTYu9KI-C5oQBgxO.js";import{f as ft}from"./SpendMgmtSetupAccountSection-B_tGpehs-DP-Eq88w.js";import gt from"./PortfolioAllocationFormPage-BSvoK4qv-D-33A221.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-Zcyrwwqh-DI8AlcT3.js";import"./ChargeCardUtils-Bol5oWmA-Bsg8Oyfl.js";import"./CreditCardPaymentPlgSection-CGiJIVca-D8S_Byyw.js";import"./ChaseOverlay-DAxqw7Vj-BauzKak2.js";import"./PortfolioDetails-pPKPD1a1-CmdC3Hgu.js";import"./treasuryColorHelper-DyLAAeN7-CgoRjQNs.js";const ce=(e,s)=>`${e}.${s}`,S={labelWidth:new r(145,155),largeLabelDocumentWidth:new r(210,252),marginBottom:new r(n[2],n[0]),navBarContainerPaddingYaxis:new r(10,n[3]),containerPaddingLeft:new r(n[3],n[6],n[8]),containerPaddingRight:new r(n[3],n[6],n[8])},yt={stepTitle:new ct("h6Regular","h5Regular")},we=ge.getLocalizedStrings(),{common:de}=we,p=we.commonSetUp.businessVerification,ee=p.sourceOfFundOptions,b="additionalVerificationFields",xt=({companyOfficer:e,companyDetails:s,updateStatus:h,fileProps:f,isDetailsSubmitted:g,onClose:F,onAdditionalVerificationFieldsChanged:B,onSendForVerificationClick:W,onCloseOverlay:$})=>{const c=pe(),_=S.labelWidth.value(c),k=S.largeLabelDocumentWidth.value(c),M=me(h.fetchState),C=he({mode:"all",reValidateMode:"onChange",defaultValues:l.useMemo(()=>({[b]:{sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},formationDocument:s?.companyFiles.find(a=>a.documentType==="company_formation_document")}}),[s?.sourceOfFunds,s?.companyFiles])}),U=a=>ee[a]??a,O=s?.deleteFileStatusById??{},A=s?.updateFileStatusById??{},N=Object.values(O??{}).filter(a=>a!=null),H=et.reduceAllFetchState(N),R=C.handleSubmit(()=>{H.fetchState!=="In-Progress"&&W(e?.officerType??"Officer_1")}),G=async(a,x)=>{B(x[b])};return l.useEffect(()=>{const a=C.watch((x,{name:T})=>{T!=null&&x!=null&&fe(()=>G(T,x))});return()=>{a.unsubscribe()}}),M==="In-Progress"&&h.fetchState==="Completed"||g===!0?t.jsxs(Pt,{children:[t.jsxs(Ft,{children:[t.jsx(ht,{}),t.jsx(St,{windowSize:c,children:p.submittedTitle}),t.jsx(kt,{children:p.submittedDescription})]}),t.jsx(tt,{label:p.submittedButton,onClick:$,variant:"primary"})]}):t.jsxs(wt,{windowSize:c,children:[t.jsx(bt,{windowSize:c,children:t.jsx(it,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(vt,{"data-testid":ot("nav-bar-back-portfolio-allocation"),onClick:$||F})})}),t.jsxs($t,{windowSize:c,children:[t.jsx(Ot,{windowSize:c,children:p.verifyBusinessDetails}),t.jsx(At,{children:t.jsxs(Tt,{children:[t.jsx(Et,{}),t.jsx(Lt,{})]})})]}),t.jsx(be,{children:p.verifyBusinessDetailsDescription}),t.jsx(ye,{...C,children:t.jsxs("form",{id:b,onSubmit:R,children:[t.jsxs(Ct,{children:[t.jsx(mt,{}),t.jsx(pt,{name:ce(b,"formationDocument"),sizeLimit:nt,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:p.formationDocumentLabel,width:k,style:{marginBottom:S.marginBottom.valuePx(c)}},style:{width:"auto"},file:s?.companyFiles.find(a=>a.documentType==="company_formation_document"),filemetadataPayload:{documentType:"company_formation_document",purposeId:"business_verification",documentSide:"front"},acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!0},additionalInfoLabel:p.formationDocumentError.replace("_product_type_","business verification"),updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,deleteFileStatusById:O,updateFileStatusById:A}),t.jsx(jt,{}),t.jsx(at,{label:{label:p.sourceOfFundsLabel,width:_},style:{width:"auto"},additionalInfoLabel:p.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:ce(b,"sourceOfFunds"),placeholder:p.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:U,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},registerOptions:{required:!0,validate:a=>!!a?.selectedOption}},isFunctional:!0,errorInfoLabel:p.sourceOfFundsError.replace("_product_type_","business verification")})]}),t.jsx(st,{formId:b,primaryBtn:{label:de.footer.submit,style:{width:"auto",minWidth:c==="small"?"auto":"83px"},isLoading:h.fetchState==="In-Progress"},cancelBtn:{label:de.footer.back,style:{width:c==="small"?"auto":"83px"},onClick:F},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},wt=o.div`
|
|
2
2
|
height: auto;
|
|
3
3
|
padding-left: ${e=>`${S.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
4
4
|
padding-right: ${e=>`${S.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as j,X as v,j as t,aV as z,M as C,ai as P,o as r,g as c,bT as T,C as I,m as d,s as M}from"./index-
|
|
1
|
+
import{u as j,X as v,j as t,aV as z,M as C,ai as P,o as r,g as c,bT as T,C as I,m as d,s as M}from"./index-Dyf14sbB.js";import{b as m,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as R}from"./BoxItem-DT51UimN-BkUmi6KI.js";import{o as B}from"./commonDimensions-DlTnUSCm-C65miBPp.js";import{J as E}from"./StatementItem-DG9w15d--CLyjvavs.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-C3McD4L4-CrdBKxJ9.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:R(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(X,{children:h.noStatements})})})})};return t.jsxs(V,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as S,X as v,j as t,aV as L,M as z,ai as C,o as r,g as c,bT as T,C as P,m as d,s as I}from"./index-
|
|
1
|
+
import{u as S,X as v,j as t,aV as L,M as z,ai as C,o as r,g as c,bT as T,C as P,m as d,s as I}from"./index-Dyf14sbB.js";import{b as h,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as M}from"./BoxItem-DT51UimN-BkUmi6KI.js";import{o as R}from"./commonDimensions-DlTnUSCm-C65miBPp.js";import{J as B}from"./StatementItem-DG9w15d--CLyjvavs.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-C3McD4L4-CrdBKxJ9.js";const m=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:M(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(X,{children:m.noTaxLetter})})})})};return t.jsxs(V,{children:[t.jsx(L,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,p=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,c as Qe,a3 as He,o as t,C as f,a2 as Ce,k as $t,al as bt,u as St,a1 as pe,bs as vt,cO as Je,Q as R,l as z,fX as jt,g as S,Z as At,h as et,v as W,s as X,eX as kt,a as Tt,c3 as Pt,F as Ct,fD as zt,m as c,bm as tt,cW as ot,bH as rt,cz as Dt,cq as Lt,f7 as Ft,e$ as Mt,d2 as Rt,e as Bt,f0 as Ot,dp as It,bY as Et,bX as _t,aP as Nt,bc as Vt,f9 as Yt,fi as Wt,aa as Xt}from"./index-
|
|
1
|
+
import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,c as Qe,a3 as He,o as t,C as f,a2 as Ce,k as $t,al as bt,u as St,a1 as pe,bs as vt,cO as Je,Q as R,l as z,fX as jt,g as S,Z as At,h as et,v as W,s as X,eX as kt,a as Tt,c3 as Pt,F as Ct,fD as zt,m as c,bm as tt,cW as ot,bH as rt,cz as Dt,cq as Lt,f7 as Ft,e$ as Mt,d2 as Rt,e as Bt,f0 as Ot,dp as It,bY as Et,bX as _t,aP as Nt,bc as Vt,f9 as Yt,fi as Wt,aa as Xt}from"./index-Dyf14sbB.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}from"./PortfolioDetails-pPKPD1a1-CmdC3Hgu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-DyLAAeN7-CgoRjQNs.js";const Gt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Ut=1e3;function qt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(Jt,{sliderValue:s,children:[o.jsx(Ht,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:Ut,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Kt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Zt(i)},children:o.jsx(ro,{isSelected:s>=h,children:Qt(h)})},h))})]})}const Kt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${Gt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Zt=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Qt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ht=r.input`
|
|
2
2
|
width: 100%;
|
|
3
3
|
&[type="range"]::-webkit-slider-runnable-track {
|
|
4
4
|
height: 2px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{M as $,j as s,l as u,u as Z,Y as j,ai as z,b5 as B,b6 as F,au as P,p as w,at as R,aa as O,b7 as q,av as K,b9 as _,o as L,g as G,s as N}from"./index-
|
|
1
|
+
import{M as $,j as s,l as u,u as Z,Y as j,ai as z,b5 as B,b6 as F,au as P,p as w,at as R,aa as O,b7 as q,av as K,b9 as _,o as L,g as G,s as N}from"./index-Dyf14sbB.js";import{b as v,f as V,n as k}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as D,u as Q}from"./chartTypes-voo0IDRB-BN1nw5Kh.js";import{o as X}from"./toCOABalancesWithID-B7LbirMG-FQxgolVV.js";import{V as H}from"./toChartData-CuB9yc-H-BOn1p0Uq.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const I=k.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,J=k.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as D,j as i,c as R,o as t,M as F,C as c,Y as S,ai as E,al as Y,c0 as K,m as a,s as X,a2 as q}from"./index-
|
|
1
|
+
import{X as D,j as i,c as R,o as t,M as F,C as c,Y as S,ai as E,al as Y,c0 as K,m as a,s as X,a2 as q}from"./index-Dyf14sbB.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-xIdxctU8-x2wNYwyE.js";import{C as W}from"./NoDataChart-T4586K3d-ANrQHpL4.js";import{F as _}from"./InsightsSection-DXW-B4Fa-CBc1c1kv.js";import{d as Z}from"./TransactionList-yK7ZYEou-CTbn1skD.js";const G=n.div`
|
|
2
2
|
display: inline-block;
|
|
3
3
|
`,J=n.div`
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as ce,X as se,w as Ke,a1 as en,g3 as R,hb as U,M as q,a as nn,hc as tn,hd as Te,c3 as on,j as t,aV as cn,bO as sn,bQ as ln,bR as an,F as rn,l as J,he as dn,c as un,hf as X,hg as pn,a3 as mn,hh as Ve,C as u,s as gn,o as l,cg as fe,a7 as W,g8 as oe,hi as ie,m as d,Q as Ae,g as $e,fx as _e,v as Se,aA as xn}from"./index-
|
|
1
|
+
import{u as ce,X as se,w as Ke,a1 as en,g3 as R,hb as U,M as q,a as nn,hc as tn,hd as Te,c3 as on,j as t,aV as cn,bO as sn,bQ as ln,bR as an,F as rn,l as J,he as dn,c as un,hf as X,hg as pn,a3 as mn,hh as Ve,C as u,s as gn,o as l,cg as fe,a7 as W,g8 as oe,hi as ie,m as d,Q as Ae,g as $e,fx as _e,v as Se,aA as xn}from"./index-Dyf14sbB.js";import{b as Y,n as s}from"./vendor-CnQcJ2Lu.js";import{F as hn}from"./HelpButton-B-GBd1e8-CH_NlSUq.js";import{h as wn}from"./VendorsAccountsSection-Dvq3DO8J-B7o-i1Em.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-Zcyrwwqh-DI8AlcT3.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},He={title:new Ae("standardMedium","largeMedium")},bn=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a1 as b,j as t,hk as R,hl as _,X as F,M as O,bO as U,i as C,bQ as z,bR as N,a as M,F as G,cc as H,l as T,c8 as D,C as g,c9 as K,g as A,f as Z,c as J,K as Q,o as i,s as X,m as B,Z as Y,ao as ee}from"./index-
|
|
1
|
+
import{a1 as b,j as t,hk as R,hl as _,X as F,M as O,bO as U,i as C,bQ as z,bR as N,a as M,F as G,cc as H,l as T,c8 as D,C as g,c9 as K,g as A,f as Z,c as J,K as Q,o as i,s as X,m as B,Z as Y,ao as ee}from"./index-Dyf14sbB.js";import{b as c,n as f}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as R,fa as x,a1 as U,l as W,X as Y,M as _,j as i,c3 as q,F as A,Y as K,fb as X,o as a,g as G,cd as H,a3 as J,C as y,a2 as Q,c0 as Z,ao as ee,an as te,m as c}from"./index-
|
|
1
|
+
import{a as R,fa as x,a1 as U,l as W,X as Y,M as _,j as i,c3 as q,F as A,Y as K,fb as X,o as a,g as G,cd as H,a3 as J,C as y,a2 as Q,c0 as Z,ao as ee,an as te,m as c}from"./index-Dyf14sbB.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:b,onEditFileName:v,onDeleteFile:I,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=R({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,O]=m.useState(!1),$=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=W.reduceAllFetchState(T);m.useEffect(()=>{$==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[$,f,n,t?.additionalFiles]);const r=Y(),h=_.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),M=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>M(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:k,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:b,"data-testid":K("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:v,onDeleteFile:I,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:b},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
|
|
2
2
|
margin-top: 19px;
|
|
3
3
|
color: ${e=>e.theme.colors.primary};
|
|
4
4
|
margin-bottom: ${a.sp2};
|
package/dist/assets/{Vendor2FAPopup-R19bkGMS-BSUiczZW.js → Vendor2FAPopup-DWbOSde1-Cp-IRpRE.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a1 as o,M as k,j as i,hk as v,hl as j}from"./index-
|
|
1
|
+
import{a1 as o,M as k,j as i,hk as v,hl as j}from"./index-Dyf14sbB.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const z=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=k.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(v,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(j,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{z as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as u}from"./index-
|
|
1
|
+
import{j as u}from"./index-Dyf14sbB.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-CIw_jdIY-EStBcSrm.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-qTsFgeuD-DLnyfabN.js";import"./MagicLinkTitleSection-C2kT2QNt-BDevW1e7.js";import"./BankAccountSection-DQns2Rla-BtsYu530.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
|
package/dist/assets/{VendorDetailPage-uA1hH2Jz-BhAulD-u.js → VendorDetailPage-Iiwzh-ZT-DhamKYIQ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{M as _,u as Re,X as ne,C as g,H as be,l as se,c5 as xt,a as yt,gt as Ae,gu as Be,gv as Ee,gw as fe,gx as bt,a7 as ft,c3 as wt,j as t,aV as Ct,F as $t,gy as St,gz as ue,m as l,c4 as Dt,a3 as jt,o,bf as S,cg as Tt,g8 as we,gA as Lt,c6 as Vt,c7 as kt,c8 as It,gB as Ot,fE as Pt,ce as Ft,gC as zt,gD as Mt,g as M,dn as _t,dm as Ht,cs as Nt,aa as de,al as Ue,v as qe,dp as Wt,f0 as Rt,gE as At,gF as Bt,s as Et,gG as Ut,bH as Ye,gH as qt,Q as Ce,h as Qe}from"./index-
|
|
1
|
+
import{M as _,u as Re,X as ne,C as g,H as be,l as se,c5 as xt,a as yt,gt as Ae,gu as Be,gv as Ee,gw as fe,gx as bt,a7 as ft,c3 as wt,j as t,aV as Ct,F as $t,gy as St,gz as ue,m as l,c4 as Dt,a3 as jt,o,bf as S,cg as Tt,g8 as we,gA as Lt,c6 as Vt,c7 as kt,c8 as It,gB as Ot,fE as Pt,ce as Ft,gC as zt,gD as Mt,g as M,dn as _t,dm as Ht,cs as Nt,aa as de,al as Ue,v as qe,dp as Wt,f0 as Rt,gE as At,gF as Bt,s as Et,gG as Ut,bH as Ye,gH as qt,Q as Ce,h as Qe}from"./index-Dyf14sbB.js";import{b as $,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Qt}from"./SubTabSwitcher-DAEoIU-Q-Dtz-9M5x.js";import{d as Gt}from"./TransactionList-yK7ZYEou-CTbn1skD.js";import{R as Xt}from"./TrendWithTransactions-BfLGuXQj-BwqZa2OH.js";import{o as Zt,t as Jt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{W as Kt}from"./LabeledAddressValueField-CkMlEpyG-CQl1AzOB.js";import{Y as es}from"./LabeledDropDownFormattedTextField-7a2TUZx2-D1yPduF0.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-DT51UimN-BkUmi6KI.js";import"./commonDimensions-DlTnUSCm-C65miBPp.js";import"./TrendChart-xIdxctU8-x2wNYwyE.js";import"./chartTypes-voo0IDRB-BN1nw5Kh.js";import"./toCOABalancesWithID-B7LbirMG-FQxgolVV.js";import"./toChartData-CuB9yc-H-BOn1p0Uq.js";import"./NoDataChart-T4586K3d-ANrQHpL4.js";import"./InsightsSection-DXW-B4Fa-CBc1c1kv.js";import"./NavigationDots-BzUjuHrF-DAUkzFdj.js";const ts=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: center;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as S}from"./index-
|
|
1
|
+
import{j as S}from"./index-Dyf14sbB.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{y as b}from"./DomesticWireDetailsPage-CPGShq-e-BNGMFCTT.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-DQns2Rla-BtsYu530.js";import"./MagicLinkTitleSection-C2kT2QNt-BDevW1e7.js";import"./BankAccountWarningSection-qTsFgeuD-DLnyfabN.js";import"./MailingDetailsSection-DUFIMEFw-CK5he1A-.js";import"./LabeledAddressValueField-CkMlEpyG-CQl1AzOB.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as oe,u as ze,M as ne,a as ke,cw as K,gI as de,c3 as Ae,C as w,j as t,aV as Be,Y as Ee,F as Oe,c6 as C,o as s,ca as Re,gB as We,fE as Me,ce as qe,gC as He,gD as Ue,cm as Ke,a3 as Ge,co as Ye,cx as Qe,m as c,a2 as Ze,bf as D,c1 as _e,gJ as Je,g as I,eQ as Xe,bH as et,s as ce,ez as tt,gK as st,gL as lt,gM as q,cy as it}from"./index-
|
|
1
|
+
import{X as oe,u as ze,M as ne,a as ke,cw as K,gI as de,c3 as Ae,C as w,j as t,aV as Be,Y as Ee,F as Oe,c6 as C,o as s,ca as Re,gB as We,fE as Me,ce as qe,gC as He,gD as Ue,cm as Ke,a3 as Ge,co as Ye,cx as Qe,m as c,a2 as Ze,bf as D,c1 as _e,gJ as Je,g as I,eQ as Xe,bH as et,s as ce,ez as tt,gK as st,gL as lt,gM as q,cy as it}from"./index-Dyf14sbB.js";import{b as y,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-7a2TUZx2-D1yPduF0.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:h,style:R}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:q(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:q(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:q(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
margin-left: ${s.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as ae,w as Nn,u as mn,a as nt,hw as Te,c3 as tt,z as On,hx as ie,hy as ve,hz as fe,hA as be,hB as me,M as je,j as n,hs as ot,F as rt,aV as it,T as st,bO as at,bQ as lt,bR as dt,eW as ct,Y as J,be as mt,bL as pt,ai as ut,di as ht,bT as gt,C as w,c as wt,D as Ne,o as t,a6 as In,s as De,a5 as xt,m as c,v as Re,bY as vt,l as Pn,dn as Tn,bf as Pe,az as zn,b$ as ft,bB as bt,c$ as $t,ao as Je,aN as pn,g as B,ax as Dn,fe as St,de as wn,cs as rn,hC as yt,hD as sn,f as jt,bs as Be,c_ as Rt,eo as xn,b4 as Ct,dq as Vt,K as vn,hE as kt,cg as Mt,co as Nt,cp as Ot,et as It,e as Ln,hF as Pt,b2 as se,hG as fn,ga as Tt,b0 as zt,aB as Dt,dp as Lt,p as _n,Q as _t,eA as At,a8 as dn}from"./index-
|
|
1
|
+
import{X as ae,w as Nn,u as mn,a as nt,hw as Te,c3 as tt,z as On,hx as ie,hy as ve,hz as fe,hA as be,hB as me,M as je,j as n,hs as ot,F as rt,aV as it,T as st,bO as at,bQ as lt,bR as dt,eW as ct,Y as J,be as mt,bL as pt,ai as ut,di as ht,bT as gt,C as w,c as wt,D as Ne,o as t,a6 as In,s as De,a5 as xt,m as c,v as Re,bY as vt,l as Pn,dn as Tn,bf as Pe,az as zn,b$ as ft,bB as bt,c$ as $t,ao as Je,aN as pn,g as B,ax as Dn,fe as St,de as wn,cs as rn,hC as yt,hD as sn,f as jt,bs as Be,c_ as Rt,eo as xn,b4 as Ct,dq as Vt,K as vn,hE as kt,cg as Mt,co as Nt,cp as Ot,et as It,e as Ln,hF as Pt,b2 as se,hG as fn,ga as Tt,b0 as zt,aB as Dt,dp as Lt,p as _n,Q as _t,eA as At,a8 as dn}from"./index-Dyf14sbB.js";import{b as f,n as o,j as cn}from"./vendor-CnQcJ2Lu.js";import{r as Ft}from"./mui-C5LQ0bMa.js";import{R as Bt}from"./Menu-DxxrCzV1-BVPj0GgG.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const An=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(Gt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(qt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,X as G,a as he,M as U,c3 as ye,H as ge,l as Y,bO as be,bQ as fe,bR as xe,F as ve,a3 as we,C as p,cw as le,cx as Ce,o as y,an as $e,cg as oe,u as ne,cy as je,cz as K,cm as Q,ag as H,c6 as De,cA as Te,m as a,co as Se,Y as ke,g as V,c as Fe,Q as Oe,bs as Ae,v as Le,b4 as ze}from"./index-
|
|
1
|
+
import{j as t,X as G,a as he,M as U,c3 as ye,H as ge,l as Y,bO as be,bQ as fe,bR as xe,F as ve,a3 as we,C as p,cw as le,cx as Ce,o as y,an as $e,cg as oe,u as ne,cy as je,cz as K,cm as Q,ag as H,c6 as De,cA as Te,m as a,co as Se,Y as ke,g as V,c as Fe,Q as Oe,bs as Ae,v as Le,b4 as ze}from"./index-Dyf14sbB.js";import{b as I,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Re}from"./BankAccountWarningSection-qTsFgeuD-DLnyfabN.js";import{T as Ie}from"./MailingDetailsSection-DUFIMEFw-CK5he1A-.js";import{S as Pe}from"./CurrencySelectField-Dg-v771d-BONtT-Lh.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-CkMlEpyG-CQl1AzOB.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=G(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as l}from"./index-
|
|
1
|
+
import{j as l}from"./index-Dyf14sbB.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-Dxab2GVU-BFZvNuGQ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-qTsFgeuD-DLnyfabN.js";import"./MailingDetailsSection-DUFIMEFw-CK5he1A-.js";import"./LabeledAddressValueField-CkMlEpyG-CQl1AzOB.js";import"./MagicLinkTitleSection-C2kT2QNt-BDevW1e7.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as ie,u as oe,M as te,C as c,g3 as w,a7 as T,j as i,hj as m,hi as g,o as n,Q as re,g as ne,dv as se,v as le,m as a}from"./index-
|
|
1
|
+
import{X as ie,u as oe,M as te,C as c,g3 as w,a7 as T,j as i,hj as m,hi as g,o as n,Q as re,g as ne,dv as se,v as le,m as a}from"./index-Dyf14sbB.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as C,l as B,M as D,j as s,eM as j,eQ as S,K as M,p as E,o as n,C as $,Q as L,h as P,a2 as z,c0 as N,g as w,k as A,ax as Q,eA as R,m as g}from"./index-
|
|
1
|
+
import{X as C,l as B,M as D,j as s,eM as j,eQ as S,K as M,p as E,o as n,C as $,Q as L,h as P,a2 as z,c0 as N,g as w,k as A,ax as Q,eA as R,m as g}from"./index-Dyf14sbB.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},T={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=O(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=F(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=V(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(q,{children:[s.jsx(H,{windowSize:l,children:s.jsx(K,{children:s.jsxs(_,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(Y,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
|
|
2
2
|
${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(U,{isStepInError:i.status==="Error",children:s.jsxs(W,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...E.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},O=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},F=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},G=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},V=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},q=t.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|