@zeniai/web-cockpit-ui 1.15.53-dev → 1.15.53-prod
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.
Potentially problematic release.
This version of @zeniai/web-cockpit-ui might be problematic. Click here for more details.
- package/dist/assets/{ACHDetailsPage-D2Xav-UW-DmDhM3Ya.js → ACHDetailsPage-D2Xav-UW-CNyXc2q1.js} +1 -1
- package/dist/assets/{AIPerformancePage-DlTdGosv-DQP6RhOc.js → AIPerformancePage-DlTdGosv-CoMZjNoX.js} +1 -1
- package/dist/assets/{AccountInfoPage-B8-8kUGD-CToACIO4.js → AccountInfoPage-B8-8kUGD-8w9j4dqk.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-BS2TBUSE-CXMTjqRR.js → AccountInfoPageContent-BS2TBUSE-KTN9dU5f.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-aukulrV7-BdgVRhsa.js → AccountLockedInfoModal-aukulrV7-NIXWm48B.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-CswOv8sQ.js → AccountReconDetailsDrawerPage-kQJld6_N-C1vmK_-Z.js} +3 -3
- package/dist/assets/{AccountRow-BiEYR4Y1-CmfzC2gE.js → AccountRow-BiEYR4Y1-MB8pZeni.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-D0z5TFOj.js → AccountsPromoCardStack-DBQnDPXQ-CwEqM90O.js} +6 -6
- package/dist/assets/{AddAddressForCardDrawer-DTnfk8K7-BFrcrnKm.js → AddAddressForCardDrawer-DTnfk8K7-B1Pu_NaB.js} +1 -1
- package/dist/assets/{AddToWalletPage-C4EwdLZJ-BInlB4A7.js → AddToWalletPage-C4EwdLZJ-CdqlY1S_.js} +11 -11
- package/dist/assets/{AgingReportsPage-vAvkUfOS-D7pZCvXq.js → AgingReportsPage-vAvkUfOS-DDqmwNch.js} +1 -1
- package/dist/assets/{AllUserItems-qrYg6Gdx-BCdM6c47.js → AllUserItems-qrYg6Gdx-59Jumbts.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-BRYQMwo2-D_TMSgpW.js → ApAgingDetailPage-BRYQMwo2-B6tiaEyA.js} +1 -1
- package/dist/assets/{AppBasePage-DrE-W6d7-DvGq3J7n.js → AppBasePage-DrE-W6d7-3USQGPUO.js} +1 -1
- package/dist/assets/{AppDrawerContent-ATbZG_cu-BjnW7Nvp.js → AppDrawerContent-ATbZG_cu-BvvAfkxb.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-5MYC1I6k-Ds-SstoD.js → ApprovalRulesSettingsPage-5MYC1I6k-HVmBb4cv.js} +6 -6
- package/dist/assets/{ArAgingChart-CuzG9AZY-LyeeC-_F.js → ArAgingChart-CuzG9AZY-D78G_VVn.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DwRkcLEu-BwO8bg0D.js → ArAgingDetailPage-DwRkcLEu-D81WmJqn.js} +1 -1
- package/dist/assets/{AttachmentView-BrQRChzc-Dm5F4MLP.js → AttachmentView-BrQRChzc-C3UjjC9d.js} +1 -1
- package/dist/assets/{BankAccountSection-hcKEMs80-9386hWb2.js → BankAccountSection-hcKEMs80-DOB-QXa9.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CpxVDMSZ-DXfuEuGA.js → BankAccountWarningSection-CpxVDMSZ-ZxypBLGM.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-B0uSwnpP.js → BankConnectionsSettingsPage-Bdw1K00m-DSszExQn.js} +1 -1
- package/dist/assets/{BillDetailPage-D0NLFZXA-BAo9uy4y.js → BillDetailPage-D0NLFZXA-ohTix2QH.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-BXtcghrA.js → BillPayApprovalRuleDetailPage-DkpCvYvo-D0tz2mnp.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-BhjcWx9B.js → BillPayApprovalRulesPage-BEqZD0GU-DgMqvkn_.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BMcP4EU5-DK5zwMUs.js → BillPayPromoPage-BMcP4EU5-BaJUNmtb.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-WdEdbf16-BdgMOYAB.js → BillPaySetUpPage-WdEdbf16-CZ2Ksorb.js} +1 -1
- package/dist/assets/{BillingSettingsPage-GtRUqSZm-JcS3RT-t.js → BillingSettingsPage-GtRUqSZm-CcpJuWAg.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DAUoo9pq-CGT1MF5v.js → BillsBulkReviewDrawerPage-DAUoo9pq-y1Zpd-6j.js} +1 -1
- package/dist/assets/{BoxItem-CACRFWG2-CnmPjRPK.js → BoxItem-CACRFWG2-BQt9NwOK.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-9gZbBDL6-Dso7HJiD.js → BusinessVerificationPage-9gZbBDL6-D8fEfHVC.js} +2 -2
- package/dist/assets/{CardNumberSubText-C-oVdziK-DnaANIDf.js → CardNumberSubText-C-oVdziK-ClZIyAyF.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BhFKSl4p-DFlKoeZU.js → CashbackDetailPage-BhFKSl4p-Zys0m4CO.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-D8J6HINu-Cy0gxJPT.js → ChargeCardDetailPage-D8J6HINu-Bo4cyXcw.js} +26 -26
- package/dist/assets/{ChargeCardListPage-tdUKyHdz-DaeStUfM.js → ChargeCardListPage-tdUKyHdz-C43sdD2G.js} +1 -1
- package/dist/assets/{ChargeCardListTable-CByk3iqX-BP_2jTx-.js → ChargeCardListTable-CByk3iqX-DLrnc4ae.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-CqZTiCeW.js → ChargeCardPaymentHistoryPage-B8zRcrjo--Yr_BcfD.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-C4cgx2gm-EwMGXlYV.js → ChargeCardPromoPage-C4cgx2gm-BOWg0jUr.js} +14 -14
- package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-CKdHxRmI.js → ChargeCardSetupPage-DtwiTNKA-BOc-DTjW.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-BNkqxRQ2.js → ChargeCardStatementsPage-B0KPw52e-6bM7ZyYY.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-BSOutqAK.js → CheckDepositDrawerPage-DKNAXI77-C5L0tTGk.js} +1 -1
- package/dist/assets/{CollapsableReportTable-Cq8bhaYC-DXVGhc1U.js → CollapsableReportTable-Cq8bhaYC-D0tK5pUG.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-DB11gG9H.js → CompanyOfficerDetailsSection-Rk0B5cB5-Bsmn3TDH.js} +1 -1
- package/dist/assets/{CompanyPassportCard-CHaKk74P-BdhNiQs5.js → CompanyPassportCard-CHaKk74P-C2b4TRPw.js} +1 -1
- package/dist/assets/{CompanyPassportPage-DXWXFFKM-1Gz0LfNo.js → CompanyPassportPage-DXWXFFKM-B9DmK4RN.js} +1 -1
- package/dist/assets/{CompleteProfile-ChaWsK6t-CkLnv3sI.js → CompleteProfile-ChaWsK6t-Cd_DGhFO.js} +1 -1
- package/dist/assets/{ConfettiBurst-CdB5fRMt-CRqwwWlg.js → ConfettiBurst-CdB5fRMt-fSelFPlj.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CR-47kA2.js → ConstrainedInnerElement-BeIpAPjB-x6D80n7G.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-CAWRF5So.js → CreateOrEditVendorPage-C_8Jqubo-6MGeoxc5.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-2rzY7Y_f.js → CreditCardPaymentDrawerPage-lOjOtk28-BHR1lLcT.js} +1 -1
- package/dist/assets/{CurrencySelectField-BDqU4HVy-DUa8DDre.js → CurrencySelectField-BDqU4HVy-CvnjwBz1.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DO6NCakm-DB3F8kyi.js → CustomerOnboardingActivationPage-DO6NCakm-Bc2So-4X.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-D7fagFOM.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DQwtiYKE.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DoWk80gY.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CbG5WshV-B6Cq5cCV.js → CustomerOnboardingNoStepsPage-CbG5WshV-CjbZA9c-.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-Bbvqfzve.js → CustomerOnboardingPage-DyVyf8oK-AuNA5ENc.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-M5aWZTXB.js → CustomerOnboardingProductSuitePage-1F3JfCRp-CfTfV9zh.js} +1 -1
- package/dist/assets/{Dashboard-Csggwob0-e7KLrAzz.js → Dashboard-Csggwob0-gMoXi-EH.js} +1 -1
- package/dist/assets/{DashboardReportPage-DFIdi_I0-uYWfrIup.js → DashboardReportPage-DFIdi_I0-DSWXu8Hp.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C3Ovv-ob-DszHhGbA.js → DashboardSidebarBackgroundAnimation-C3Ovv-ob-CuTt44Dk.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-e2AT80rO.js → DepositAccTransactionItem-CZ7v1T4S-4gI0mLyD.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-Db6KKzae.js → DepositAccTransactionListPage-FldPGX6K-B8F3xoqK.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-h0uzjMVt.js → DomesticWireDetailsPage-C--eZ-UG-6Crr2LoJ.js} +1 -1
- package/dist/assets/{DownloadOverlay-4f9deyJS-Bmz0ejyE.js → DownloadOverlay-4f9deyJS-ffKSKyws.js} +1 -1
- package/dist/assets/{DrawerPage-roO3xvRT-BGC_3oGn.js → DrawerPage-roO3xvRT-DSkqjL0x.js} +1 -1
- package/dist/assets/{EditPeoplePage-pi5RclAj-BAKsXmAv.js → EditPeoplePage-pi5RclAj-CuNY86dS.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-CIUcImns-CpOeMOYM.js → EditReimbursementDetailPage-CIUcImns-DJEMwcM_.js} +1 -1
- package/dist/assets/{EntityDetailPage-OTKTVNMD-madC1I3v.js → EntityDetailPage-OTKTVNMD-CjIHF41D.js} +1 -1
- package/dist/assets/{EntitySummarySection-fBL4TZpT-DpmgFY5q.js → EntitySummarySection-fBL4TZpT-DhRCy8ou.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-Ba-7I2q6.js → ExpenseAutomationOverviewPage-CnhNINCc-CeerlQ0C.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-BDLCJbFw-B65uFwyw.js → ExpenseAutomationPage-BDLCJbFw-C7whqX-g.js} +1 -1
- package/dist/assets/{ExpressPayPage-c8oTCnBR-DLD1ESsm.js → ExpressPayPage-c8oTCnBR-CkDahyQt.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-DkiAajs2-jW7XTS4W.js → FeaturePreviewPage-DkiAajs2-BeoPPwLp.js} +1 -1
- package/dist/assets/{FollowStepsSection-GaWu1kt9-DPxSdgo3.js → FollowStepsSection-GaWu1kt9-GSG6Qzzx.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DEzj0RVG-CeRFieMj.js → GlobalReviewListPage-DEzj0RVG-ChNJAT_n.js} +1 -1
- package/dist/assets/{InformationCardStack-dMFbHUWM-xL6qax_7.js → InformationCardStack-dMFbHUWM-CP_SVYds.js} +1 -1
- package/dist/assets/{InsightsCardStack-BlXkyuyz-CSObZxx-.js → InsightsCardStack-BlXkyuyz-BXAqdcgw.js} +1 -1
- package/dist/assets/{InsightsSection-D-oCmrir-BDt4fRIh.js → InsightsSection-D-oCmrir-DsyYY69e.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-D-hfghuq-BXO5c_dn.js → IntegrationsSettingsPage-D-hfghuq-AjwfTwqu.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-B7KYCkcv.js → InternationalWireSwiftDetailsPage-DxdKE300-pEPcQv22.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-CkSmhOrS-D-mLEGol.js → InternationalWireVerificationPage-CkSmhOrS-CkeJ0LNp.js} +1 -1
- package/dist/assets/{InviteFormPage-BCdalqtP-CaETHzpB.js → InviteFormPage-BCdalqtP-ReXaK5qV.js} +1 -1
- package/dist/assets/{InvitePageListView-B88FW48q-fpDsceSB.js → InvitePageListView-B88FW48q-D12AKiHm.js} +1 -1
- package/dist/assets/{InvitePeoplePage-Z-2L7lWc-UD6n_Q7k.js → InvitePeoplePage-Z-2L7lWc-pIkWb_X4.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-C8hytmay-HB4lI_N7.js → InvoiceUploadSection-C8hytmay-BewwZtqa.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-B6wmvbEr-JIsHDCkw.js → IssueChargeCardPage-B6wmvbEr-DwDxfaj_.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CQrDCgNs-3ouFKt7p.js → LabeledAddressValue-CQrDCgNs-Bb_lvnHX.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BoHS44YO-B3Azc_ND.js → LabeledAddressValueField-BoHS44YO-Cej4tiTJ.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BsFqjCpn-CNZwev0o.js → LabeledControlledCheckBoxField-BsFqjCpn-LcPyDi__.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-BT0zs0Jm.js → LabeledCountryMultiSelectField-D1fVDYR_-D8CYIAsf.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-D8-1M_Br.js → LabeledCreatableSingleSelectField-Bhka-Faj-DHHwYijK.js} +1 -1
- package/dist/assets/{LabeledDocumentField-CnRk5aKZ-CV8AaRRN.js → LabeledDocumentField-CnRk5aKZ-DdfXAd_A.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-DExq8QI7.js → LabeledDropDownFormattedTextField-ChgtJqPr-DCv0FHDL.js} +1 -1
- package/dist/assets/{LabeledText-2EDpuXZ4-BLBQclH9.js → LabeledText-2EDpuXZ4-a1cjnLCX.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-CDUhkAJw.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-BixByMwj.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-BN0y8uby.js → LabeledZeniRolesDropDownField-CpH0eDWO-VyBxrvle.js} +8 -8
- package/dist/assets/{LinkJETransactionPage-BhV2MnCY-UMeDagXs.js → LinkJETransactionPage-BhV2MnCY-BJYljY3g.js} +1 -1
- package/dist/assets/{LockCardPage-CHv1xi2J-mFvWtqsS.js → LockCardPage-CHv1xi2J-B44825f5.js} +6 -6
- package/dist/assets/{LowBalancePopup-Cb55PGLc-DRqPG0mh.js → LowBalancePopup-Cb55PGLc-CydyUGIH.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-Dnp01hnF-DQ8yr6uv.js → MagicLinkACHDetailsPage-Dnp01hnF-Hlk7OZ_7.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B36rsikS-BxHsYq7B.js → MagicLinkDomesticWireDetailsPage-B36rsikS-D6KyvBLt.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-Zo4oNZez-CpqMSy1N.js → MagicLinkInternationalWireDetailsPage-Zo4oNZez-BuyyCMqI.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-09NLbjFG-Co3vSy6t.js → MagicLinkSuccessPage-09NLbjFG-CHXQKBBq.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-RLm3mDeb.js → MagicLinkTitleSection-BA-i6vzA-B0gxKJAo.js} +1 -1
- package/dist/assets/{MailingDetailsSection-EwtoQ2TZ-CYDGTCnx.js → MailingDetailsSection-EwtoQ2TZ-BjLXvKCx.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-7WBcezSN.js → MyBankConnectionsSettingsPage-Aer6AWxY-DxzBIz2P.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-Ddy4bAEY-D3ybcBV0.js → MyPendingActivationChargeCardListPage-Ddy4bAEY-l12r6UU4.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-DMz-6h9F-BcvPvdDW.js → MyProfileSettingsPage-DMz-6h9F-iy-PzTdE.js} +1 -1
- package/dist/assets/{NavBarWithPicker-D8WNahg--DzolItlM.js → NavBarWithPicker-D8WNahg--BaSp4Lxv.js} +1 -1
- package/dist/assets/{NavigationArrow-kQWS5Pzb-DnxK-xgA.js → NavigationArrow-kQWS5Pzb-DAZ3ZzOU.js} +1 -1
- package/dist/assets/{NavigationDots-BQb_Fodq-CVrmLvYQ.js → NavigationDots-BQb_Fodq-Dzju1vgj.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-z86XZorn-DxAD7tTY.js → NewGlobalMerchantPage-z86XZorn-C_co7jck.js} +1 -1
- package/dist/assets/{NoDataChart-CyYJ6icu-CHQY_bIW.js → NoDataChart-CyYJ6icu-B_ibj8yR.js} +1 -1
- package/dist/assets/{NoDataTable-DVe7sQhD-nqOrgT1n.js → NoDataTable-DVe7sQhD-Dkk7z7B9.js} +1 -1
- package/dist/assets/{NotFoundPage-B1XCmhSe-DJxMFFFe.js → NotFoundPage-B1XCmhSe-KkDDDabl.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BaN20EGV-BZKokXl_.js → NotificationSettingsPage-BaN20EGV-D6-JUrX1.js} +12 -12
- package/dist/assets/{NotificationsListConfig-BOW_TmPC-2OPYdfiF.js → NotificationsListConfig-BOW_TmPC-CZmsrUp-.js} +1 -1
- package/dist/assets/{NotificationsPage-C9efAgjo-Q1uCdSWG.js → NotificationsPage-C9efAgjo-CwOgVQZD.js} +1 -1
- package/dist/assets/{OpExByVendorPage-DXeBU3-z-ClrNqg-6.js → OpExByVendorPage-DXeBU3-z-DvPDeTkR.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-5C-NUnJ8.js → OverlayContainerPage-D4QU0p4o-DpB-tVSg.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CXtJhnA_-_B_OXjuI.js → PandLWithForecastPage-CXtJhnA_-DIwsS6DO.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-BYIDdJGi.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-IRTqVZCI.js} +1 -1
- package/dist/assets/{PeoplePage-DXC2CtOt-BmC0xa13.js → PeoplePage-DXC2CtOt-DoIt9eGe.js} +13 -13
- package/dist/assets/{Preview-DIhdxTnV.js → Preview-Bgcl0PJX.js} +1 -1
- package/dist/assets/{ProductsCarousel-ufZlh7Rx-BhPoplzW.js → ProductsCarousel-ufZlh7Rx-peK9rgeZ.js} +1 -1
- package/dist/assets/{PromoBaseCards-D2UbhBhT-DISJBAGU.js → PromoBaseCards-D2UbhBhT-CIYIbyF_.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BrQ71F06-CE8JPZ4E.js → QBOConnectionDialog-BrQ71F06-fF_yB2b_.js} +1 -1
- package/dist/assets/{QBOSetupSection-EOFscEW--D0QcMDeq.js → QBOSetupSection-EOFscEW--OVdnvEwV.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-C-HPI4Ng-1hqq3vgZ.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BBqtguYA.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-PKr02NgU.js → ReimbursementApprovalRulesPage-CMpYn5y_-Cn33sGX0.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CfmICHZb-C0Vlu4pV.js → ReimbursementDetailPage-CfmICHZb-DIl5AJ6n.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-DXTAY8c7-ijLyTKXj.js → ReimbursementPromoPage-DXTAY8c7-CShEb-F3.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-Cndb3yRw.js → ReimbursementSetUpPage-KrGPXTCb-BSYkhzVc.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-l2mYNEKn-t36_7iYz.js → ReimbursementsBulkReviewDrawerPage-l2mYNEKn-BAdy79Lm.js} +1 -1
- package/dist/assets/{ReloadCard-vAhL7B8U-CXvjyFbd.js → ReloadCard-vAhL7B8U-Dw-PqaQf.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-Y97ney3W-BsXF5NSn.js → ReportTableViewSelector-Y97ney3W-9zOFv1BS.js} +1 -1
- package/dist/assets/{ReportsPage-DKM0gVzR-CWRqDWS7.js → ReportsPage-DKM0gVzR-QbWKIQxE.js} +1 -1
- package/dist/assets/{RevenueChart-BEjDS1u4-o0vV82hU.js → RevenueChart-BEjDS1u4-BcSZzy8l.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-BlQLrN9z-CPNBWRFb.js → ReviewDetailsPage-BlQLrN9z-CtxwcPz-.js} +6 -6
- package/dist/assets/{ReviewOverlay-Bn3TFqfi-61PAxosm.js → ReviewOverlay-Bn3TFqfi-BNzIrw2d.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DhBFvJea-vHmZXp6q.js → RoleWithToolTip-DhBFvJea-CdVG2bUA.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-jDSlk-pR.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-BQvOafrC.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-1II188uq.js → ScheduleDetailsPage-BP0wdtoP-Bk7y84OT.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-D-rZ4ftr-tSWSHWOw.js → ScheduleSequenceTable-D-rZ4ftr-kFr_wsWf.js} +1 -1
- package/dist/assets/{ScreenRoutes-DZZxoCM2.js → ScreenRoutes-DWP8GfVe.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CoVrSSYL-DbZWiYfU.js → SetUpAccountSection-CoVrSSYL-dR9JnLtS.js} +1 -1
- package/dist/assets/{SignIn-BoAejo7r-PQVivWYh.js → SignIn-BoAejo7r-NqO60YRr.js} +6 -6
- package/dist/assets/{SignInScreen-efHROixG.js → SignInScreen-BUyGhDDE.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-D3eISFuA-B7nSuLpf.js → SpendManagementListViewPage-D3eISFuA-CfUqu7cE.js} +7 -7
- package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-BKnsfe2z.js → SpendManagementPerTabPage-BWDjZyLp-BfFfsbJz.js} +34 -34
- package/dist/assets/{SpendManagementSection-D8rBpC-y-wjuhm2Gv.js → SpendManagementSection-D8rBpC-y-BK434VnL.js} +7 -7
- package/dist/assets/{StatementItem-Cu6dlAsl-BxjOZIKR.js → StatementItem-Cu6dlAsl-0BWW7RnN.js} +1 -1
- package/dist/assets/{StatementsPage-DiY2BOcu-jACVIQ7g.js → StatementsPage-DiY2BOcu-DOawG-nh.js} +1 -1
- package/dist/assets/{StatusSwitcher-B9MARTyR-CVrMK43S.js → StatusSwitcher-B9MARTyR-XJNlxoKq.js} +1 -1
- package/dist/assets/{SubTabSwitcher-C3rtSwro-Bfv-jqX0.js → SubTabSwitcher-C3rtSwro-B2hxzitW.js} +1 -1
- package/dist/assets/{SummaryCard-CShVbqhj-C7VDYfDP.js → SummaryCard-CShVbqhj-WCnNiOeE.js} +1 -1
- package/dist/assets/{TaskManagementPage-RVS8nv0n-IfMaVZ79.js → TaskManagementPage-RVS8nv0n-CHLZTSJm.js} +13 -13
- package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-B3NiZwLX.js → TimeRangeSwitcher-DFnX6_WT-GWR_ifB6.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-CW08yYgo-DBfI-CDo.js → TimeframeSwitcher-CW08yYgo-BdSlU0Ze.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DJOCWqpZ-CxMWU2YP.js → TimeframeSwitcherWithToggle-DJOCWqpZ-DKc1B1qn.js} +1 -1
- package/dist/assets/{TopExCard-dI_WEGWb-C_ouXuJx.js → TopExCard-dI_WEGWb-DUuyhve4.js} +1 -1
- package/dist/assets/{TopExDetailPage-BWy5E8Lp-DHDoD8xK.js → TopExDetailPage-BWy5E8Lp-Bwbr7Qt_.js} +1 -1
- package/dist/assets/{TransactionActivityLogPage-DjhEIUYm-CDOSrUCy.js → TransactionActivityLogPage-DjhEIUYm-6W3R-LLw.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CuxqQd8U-DaUcyO77.js → TransactionDetailPage-CuxqQd8U-BOhDk3J3.js} +1 -1
- package/dist/assets/{TransactionList-80KjM8Kg-CP1kCzOZ.js → TransactionList-80KjM8Kg-BV4ncKOi.js} +1 -1
- package/dist/assets/{TransactionListBig-DWQXH4ID-C0AgFfET.js → TransactionListBig-DWQXH4ID-DUWv_VJr.js} +4 -4
- package/dist/assets/{TransactionListPage-DC08rCC9-CKoNbk76.js → TransactionListPage-DC08rCC9-BqFTHSSL.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-D0WTBIN_.js → TransactionVendorDetailPage-CzfJ5b_3-UHsXDEF6.js} +1 -1
- package/dist/assets/{TransferDrawerPage-6z-MoZZP-DIDlNkaw.js → TransferDrawerPage-6z-MoZZP-TNe-9XNT.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CF_ter0o-D0FwCj4F.js → TreasuryOverviewPage-CF_ter0o-DsWAMpMo.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-Do-PTcjI-BdsWLtH0.js → TreasuryPromoPage-Do-PTcjI-61vLEiyA.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-l_HC4zsb-9mkdhIeY.js → TreasuryStatementsPage-l_HC4zsb-BSXp6OEx.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-B8YxWytK-Bvqd0Hp0.js → TreasuryTaxLetterPage-B8YxWytK-DNlHlMYT.js} +1 -1
- package/dist/assets/{TrendChart-C6B61CAm-BLOs7lid.js → TrendChart-C6B61CAm-C0UUKmUn.js} +1 -1
- package/dist/assets/{TrendWithTransactions-Bp3vhaPa-tGqMC5Vu.js → TrendWithTransactions-Bp3vhaPa-DvhstWt3.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-D6JJ85e-.js → UncategorizedAccountsMappingPage-cbFqKAv4-BeQLJ6JT.js} +6 -6
- package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-FsM5I6N8.js → UnitIntegrationPage-DZ0ZpE5p-CLzOeV9G.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BKY6hK51-D5vRfL2N.js → UploadAdditionalDocumentOverlay-BKY6hK51-CKaAE93t.js} +4 -4
- package/dist/assets/{Vendor2FAPopup-DezpDfp8-CgUqUKgv.js → Vendor2FAPopup-DezpDfp8-C3RSYJKE.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-C8TWKYfc-BBHDUovS.js → VendorACHDetailsPage-C8TWKYfc-BgngBLqi.js} +1 -1
- package/dist/assets/{VendorDetailPage-C4g_Gfsl-DrbUQaMS.js → VendorDetailPage-C4g_Gfsl-_yTgShu0.js} +9 -9
- package/dist/assets/{VendorDomesticWireDetailsPage-BhJQ-Vmn-DAw-3yRj.js → VendorDomesticWireDetailsPage-BhJQ-Vmn-WGhnSar1.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-C5Y0Hhpj.js → VendorFiling1099EditablePage-Ckt2MiVN-CgGB3YCN.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-CIKRaTax-DZ_fWsTs.js → VendorFirstReviewPage-CIKRaTax-Bet_FF0a.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-5RolL7pk.js → VendorInternationalWireDetailsPage-Dz8mMD8d-Bf5r8Rj1.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-XcV7Ot44-C7gWvoAM.js → VendorInternationalWireSwiftDetailsPage-XcV7Ot44-Dm-2gYh2.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BT-RADSV-vp7VaRO6.js → VendorsAccountsSection-BT-RADSV-usRXN8LD.js} +1 -1
- package/dist/assets/{VerifyDevice-Cxc9CVMi-Cgu3mf8y.js → VerifyDevice-Cxc9CVMi-BcuPPiUE.js} +1 -1
- package/dist/assets/{VideoPlayer-9UkKMhGy-DJ6uBu61.js → VideoPlayer-9UkKMhGy-CrxItSVF.js} +2 -2
- package/dist/assets/{VideoPopup-rfiYmtio-_iCjbOm3.js → VideoPopup-rfiYmtio-Bu6GLzWj.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-DrUA4asI-CcwFPuTA.js → WarningsDrawerPage-DrUA4asI-Be-AjJu4.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-K016HgQt-Cd131nKw.js → ZeniAccountDetailPage-K016HgQt-CuftklXs.js} +7 -7
- package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-CjD6nbtT.js → ZeniAccountListViewPage-1oZZynB1-BrCdP2K7.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-C6Oicpue-DGKKSqgJ.js → ZeniAccountNavBarPieces-C6Oicpue-DaSoaDat.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-DwhnKx-9.js → ZeniAccountPromoPage-BCgys-YM-gaL56kq6.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-BubBgkoa-BFY0LSuz.js → ZeniAccountSetupPage-BubBgkoa-Bm0JKoat.js} +1 -1
- package/dist/assets/{ZeniCopyright-BxIwmms--BfYUogKF.js → ZeniCopyright-BxIwmms--BgbWhWIo.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DVJ0puXA-aYxPZEFI.js → ZeniTransferAmountSlider-DVJ0puXA-CMC395PX.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-DZGmKyiB.js → add-to-wallet-DgdBD8_G-CEKtfmRG.js} +1 -1
- package/dist/assets/{analytics-D_c73QMR.js → analytics-6q2YPSTL.js} +1 -1
- package/dist/assets/{analyticsHelper-Di73_evd.js → analyticsHelper-B-0AfSPy.js} +1 -1
- package/dist/assets/{analyticsHelper-CT5zOInj-BgC6kfqx.js → analyticsHelper-CT5zOInj-BlrArCGj.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Cl5bzAze.js → arrow-south-east-round-PEovUgvH-CtdbjVA2.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Cgd1DzFo.js → auto-transfer-rule-mbafm5D3-CUXCiVxF.js} +1 -1
- package/dist/assets/{chartTypes-Ddw_3-6f-DDbD-D2D.js → chartTypes-Ddw_3-6f-DgrkzuCZ.js} +1 -1
- package/dist/assets/{commonDimensions-ClmbdehE-D3isPdv2.js → commonDimensions-ClmbdehE-CUqGbH6M.js} +1 -1
- package/dist/assets/{commonTypes-B-foaEwJ-B3kT4sSr.js → commonTypes-B-foaEwJ-71MnEnLC.js} +1 -1
- package/dist/assets/{constants-DYpW9FGW.js → constants-BrqJwe63.js} +1 -1
- package/dist/assets/{core-Cfmldnhs.js → core-DhTpg44s.js} +1 -1
- package/dist/assets/{dash.all.min-CRn-LRx6.js → dash.all.min-Dmz7QXb7.js} +1 -1
- package/dist/assets/{detailCommon-Cpgf9GLg-YHVPzUGh.js → detailCommon-Cpgf9GLg-Dq4BQywp.js} +1 -1
- package/dist/assets/{downloadPdf-DfRYmfsd-yijlpLuZ.js → downloadPdf-DfRYmfsd-DryKWAvL.js} +1 -1
- package/dist/assets/{empty-i3z-0iVf.js → empty-DY6ar3s9.js} +1 -1
- package/dist/assets/{empty-BKT9Ep8-.js → empty-vxQLOqQD.js} +1 -1
- package/dist/assets/{epic-DzSc1k1-.js → epic-CNug8mXh.js} +2 -2
- package/dist/assets/{gift-box-Cmt9OgIZ-DwiLPIzZ.js → gift-box-Cmt9OgIZ-CJbAYIkz.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CeAnn4nf.js → graphic-no-data-l-DU4J8fDt-B3EDq2My.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-QJP23LBP.js → graphic-no-data-net-burn-l-CzmycA0m-CBPFr7dD.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-D1HUbDRz.js → handshake-BPg58FML-c1uSNCqN.js} +1 -1
- package/dist/assets/{helper-DP3YY99s-BUuDECup.js → helper-DP3YY99s-BijNSKZL.js} +1 -1
- package/dist/assets/{index-8pN1_LrG.js → index-9fCfm4CN.js} +1 -1
- package/dist/assets/{index-4u2OqriH.js → index-B8umEkB_.js} +1 -1
- package/dist/assets/{index-BfeLc3Lr.js → index-CZqx70Qj.js} +1 -1
- package/dist/assets/{index-ByXRm0Fj.js → index-DBvg5JK1.js} +7 -7
- package/dist/assets/{index-vHvAicGU.js → index-DeEJJsiS.js} +1 -1
- package/dist/assets/{index-DJSq-oST.js → index-SLYoLNDj.js} +1 -1
- package/dist/assets/{index-BBjGKJIj.js → index-_jJPcK9Q.js} +1 -1
- package/dist/assets/{lexical-C8q9B2Uw.js → lexical-CUG-jFYn.js} +1 -1
- package/dist/assets/{liveblocks-DWegUhIu.js → liveblocks-ZYzhSRWz.js} +1 -1
- package/dist/assets/{lottie-BGI-L4nL.js → lottie-UCmESiQw.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-C0YIUOnb-BrISft7C.js → mapLoadingInProgressToTreeNode-C0YIUOnb-Dxgu-FhZ.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DiRfs5eL.js → mapSectionWithAcOnlyToTreeNode-QJI_OYzu-D3Eqbupt.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DKDsz0vw-DbMmCeng.js → mapSpacerToTreeNode-DKDsz0vw-ColpgIRb.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DqDJAeAj-CPfI0i_B.js → mapTimeframeBalancesToTreeNode-DqDJAeAj-D9K__yTx.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-J3b1nb_T-Bbpk49fN.js → mapTimeframeBalancesToTreeNode-J3b1nb_T-DNknS-D-.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-DVA96-CU.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-BdzxiHaP.js} +1 -1
- package/dist/assets/{mui-BtuxyOQU.js → mui-CVkStVfi.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-B7ep9GDp.js → page-detail-CWX5S47F-Dvf8rKRj.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-C9iYLSFp.js → panelSelectedMixin-CzfD5-Zs-DCvCCOVA.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CZZPsdKI.js → radio-default-CiSgisfh-CSFESyBW.js} +1 -1
- package/dist/assets/{react-DqQwPwcU.js → react-BXHGGvaS.js} +1 -1
- package/dist/assets/{react-CN9vRF0g.js → react-Bwe2ayJc.js} +1 -1
- package/dist/assets/{react-B9JOATsB.js → react-C3bIUhHS.js} +1 -1
- package/dist/assets/{react-CCOUBQ3I.js → react-C6_oHnDC.js} +2 -2
- package/dist/assets/{react-DyhjmuQS.js → react-CfSD8L4B.js} +1 -1
- package/dist/assets/{react-BGg3sLTV.js → react-DG79XCPu.js} +1 -1
- package/dist/assets/{react-DmXC6qjh.js → react-YKLZuWvS.js} +1 -1
- package/dist/assets/{react-_UdfJnwg.js → react-dNnoah74.js} +1 -1
- package/dist/assets/{recharts-B1UpAC2z.js → recharts-BLPoQhru.js} +1 -1
- package/dist/assets/{sentry-BfjekFHA.js → sentry-DlWPKrHR.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-Diohej-j.js → shield-DOlUxcFf-DFjEO7N1.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-AzKAZ-Cv-DrJ7D3cP.js → toCOABalancesWithID-AzKAZ-Cv-DEq296KH.js} +1 -1
- package/dist/assets/toChartData-BEjMhb7--SCIfyppR.js +1 -0
- package/dist/assets/{uploadAttachment-DUpHzqMe-5f9vnkfw.js → uploadAttachment-DUpHzqMe-DE9XSoTe.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-Bxip3o5m.js → uploadReceipts-Dge0cNF1-BCk8sEC-.js} +1 -1
- package/dist/assets/{url-BKWNACvj.js → url-C42JWgC1.js} +1 -1
- package/dist/assets/{url-CCV-Hsrv.js → url-D14qQQ_-.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-448Ji6V-.js → useLongPress-GCK2COYQ-Ck7PeJ1R.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CdIO-gTm.js → usp-line-BBd1wKwW-frtVcEkM.js} +1 -1
- package/dist/assets/{utils-BhAlbbTk.js → utils-D4kXjSE5.js} +1 -1
- package/dist/assets/{zeni-epic-state-x1SruN8b.js → zeni-epic-state-BeWB6NzA.js} +6 -6
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-Q_KOJWYS.js +0 -1
- package/dist/assets/toChartData-BEjMhb7--Byh1Bg2r.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as a,J as R,ax as V,aG as ie,a_ as ne,V as t,b5 as re,aR as w,u as n,b as ae,p as A,o,H as j,a as ee,F as $,bs as se,bt as le,aj as de,ar as ce,aP as me,bu as pe,ap as he,T as ue,A as G,bv as te,i as q,aV as oe}from"./index-
|
|
1
|
+
import{y as a,J as R,ax as V,aG as ie,a_ as ne,V as t,b5 as re,aR as w,u as n,b as ae,p as A,o,H as j,a as ee,F as $,bs as se,bt as le,aj as de,ar as ce,aP as me,bu as pe,ap as he,T as ue,A as G,bv as te,i as q,aV as oe}from"./index-DBvg5JK1.js";import{a as T,P as C}from"./sentry-DlWPKrHR.js";import{n as i,c as ge}from"./mui-CVkStVfi.js";import{ER as xe,bg as we,bC as O}from"./zeni-epic-state-BeWB6NzA.js";import{G as $e,c as ye}from"./AccountsPromoCardStack-DBQnDPXQ-CwEqM90O.js";import{a as be}from"./ConstrainedInnerElement-BeIpAPjB-x6D80n7G.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";import"./SummaryCard-CShVbqhj-WCnNiOeE.js";import"./ReloadCard-vAhL7B8U-Dw-PqaQf.js";import"./NavigationArrow-kQWS5Pzb-DAZ3ZzOU.js";import"./NavigationDots-BQb_Fodq-Dzju1vgj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="9d90e49f-5680-4ee1-b690-c92f872c9877",e._sentryDebugIdIdentifier="sentry-dbid-9d90e49f-5680-4ee1-b690-c92f872c9877")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
cursor: default;
|
|
4
4
|
`,Se=i.div`
|
|
@@ -97,7 +97,7 @@ import{y as a,J as R,ax as V,aG as ie,a_ as ne,V as t,b5 as re,aR as w,u as n,b
|
|
|
97
97
|
background: ${e=>e.theme.colors.background};
|
|
98
98
|
text-align: center;
|
|
99
99
|
border-radius: ${o.sp1};
|
|
100
|
-
`;function Ae({accountDetails:e,analytics:g,isZeniUser:c,onSetAccountsStatementDate:k}){const m=$.getLocalizedStrings().statementCloseDay.dropdown.option1,u=$.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,f]=C.useState(!1),r=e.statementCloseDay,[y
|
|
100
|
+
`;function Ae({accountDetails:e,analytics:g,isZeniUser:c,onSetAccountsStatementDate:k}){const m=$.getLocalizedStrings().statementCloseDay.dropdown.option1,u=$.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,f]=C.useState(!1),r=e.statementCloseDay,[b,y]=C.useState(r!=="LAST_DAY_OF_THE_MONTH"?m:u),[x,p]=C.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[E,H]=C.useState(!1),L=C.useRef(r),D=V();C.useEffect(()=>{L.current!==r&&H(!1)},[r]);const M=s=>{O(D.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),f(!0),g.trackCardStatementCloseDate(G.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},F=s=>{const d=["th","st","nd","rd"],Z=s%100;return s+(d[(Z-20)%10]||d[Z]||d[0])};let z="";r!==void 0&&(r==="LAST_DAY_OF_THE_MONTH"?z=$.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:z=`${$.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${F(r)} ${$.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const I=s=>{const d=s.target.value;d===u&&p(void 0),y(d)},U=(s,d)=>{s.stopPropagation(),p(d),y(m)},W=()=>{p(void 0),y(u)},h=()=>{const s=e.accountId,d=x??"LAST_DAY_OF_THE_MONTH";r!==d&&(H(!0),k?.(s,d)),f(!1),g.trackCardStatementCloseDate(G.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",x!==void 0?`${x}`:"End")},v=()=>t.jsxs(Q,{children:[$.getLocalizedStrings().statementCloseDay.pickDate.prefix,t.jsx(Be,{children:x??" - "}),$.getLocalizedStrings().statementCloseDay.pickDate.suffix]}),N=()=>t.jsxs(ke,{role:"presentation","data-testid":w("statement-close-day-section"),onClick:s=>{s.stopPropagation()},children:[t.jsxs(K,{checked:b===m,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:m,value:m,onChange:I,checked:b===m,style:{width:"100%"},"data-testid":w("statement-close-day-input")}),v(),t.jsx(je,{children:Array.from({length:28},(s,d)=>d+1).map(s=>t.jsx(Pe,{isSelectedDate:s===x,"data-testid":w("statement-close-day-text"),onClick:d=>U(d,s),children:t.jsx(De,{children:s})},s))})]}),t.jsxs(K,{checked:b===u,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:u,value:u,onChange:I,checked:b===u,style:{width:"100%"},"data-testid":w("statement-close-day-input-last-day")}),t.jsx(Q,{onClick:()=>W(),children:$.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(Te,{children:[t.jsx(q,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{f(!1)},style:{marginRight:o.sp3},"data-testid":w("statement-close-day-button-secondary")}),t.jsx(q,{size:"small",variant:"primary",label:"Save",onClick:h,disabled:x==null&&b!==u,"data-testid":w("statement-close-day-button-primary")})]})]}),Y=R();return t.jsx(he,{onClickAway:()=>f(!1),children:t.jsxs("div",{onClick:M,"data-testid":w("statement-close-day-modal"),children:[E?t.jsx(ue,{size:"Small",start:!0}):z?t.jsxs(ve,{"data-testid":w("edit-statement-close-day"),children:[t.jsx(ze,{}),t.jsx(J,{className:"statementCloseDayText",windowSize:Y,children:z})]}):O(D.loggedInUserRole??[])&&c===!0?t.jsxs(Se,{"data-testid":w("add-statement-close-day"),children:[t.jsx(Ce,{}),t.jsx(J,{className:"statementCloseDayText",windowSize:Y,children:$.getLocalizedStrings().statementCloseDay.statement})]}):"",P?N():""]})})}const He=new a(n[9],98),S={contentContainerPadding:new a(n[3],n[4]),minItemHeight:new a(n[9],96),imageHeight:new a(n[5],n[7]),imageWidth:new a(n[5],n[7]),amountWrapperWidth:new a(100,230),titleLeftMargin:new a(n[2],n[3])},Ie={textContainer:new j("standardMedium","largeMedium")},Re=i.div`
|
|
101
101
|
display: flex;
|
|
102
102
|
width: 100%;
|
|
103
103
|
`,_e=i.div`
|
|
@@ -157,7 +157,7 @@ import{y as a,J as R,ax as V,aG as ie,a_ as ne,V as t,b5 as re,aR as w,u as n,b
|
|
|
157
157
|
align-items: flex-end;
|
|
158
158
|
flex-direction: column;
|
|
159
159
|
justify-content: center;
|
|
160
|
-
`,We=i(pe)``;function Ne({data:e,showStatementSection:g,analytics:c,isZeniUser:k,onItemClick:m,onSetAccountsStatementDate:u}){const{key:P,title:f,amount:r,logoUri:
|
|
160
|
+
`,We=i(pe)``;function Ne({data:e,showStatementSection:g,analytics:c,isZeniUser:k,onItemClick:m,onSetAccountsStatementDate:u}){const{key:P,title:f,amount:r,logoUri:b}=e,y=V(),x=y.loggedInUserRole!=null&&!we(y.loggedInUserRole),p=R();return t.jsx(Re,{windowSize:p,children:t.jsx(_e,{"data-testid":w("transaction-list-item-big",e.title),windowSize:p,showEditStatementIcon:O(y.loggedInUserRole??[])&&k===!0,isClickEnabled:x,onClick:()=>x===!0?m?.(P,e.source):null,children:t.jsxs(Ee,{windowSize:p,children:[t.jsxs(Le,{windowSize:p,children:[t.jsx(Me,{windowSize:p,src:b,loading:"lazy"}),t.jsx(Fe,{windowSize:p,children:f})]}),t.jsxs(Ue,{windowSize:p,children:[t.jsx(We,{children:me("0,0",r)}),g&&p!=="small"&&t.jsx(Ae,{accountDetails:e.source,isZeniUser:k,onSetAccountsStatementDate:u,analytics:c})]})]})})})}const Oe=C.memo(Ne),B=$.getLocalizedStrings().zeniAccountsPromoCard,l={marginTop:new a(n[6],n[8]),marginBottom:new a(n[3],n[4]),itemPaddingBottom:new a(n[3],n[4]),maxWidth:new a(100,67),sectionTitleHeight:new a(83,110),promoBannerPadding:new a(n[3],n[4]),promoBannerMarginBottom:new a(n[3],n[4]),promoBannerGap:new a(n[1],n[3]),promoHighlightContainerMaxHeight:new a(30,ae.h5Regular.lineHeightValue),promoButtonBorderRadius:new a(n[1],n[2]),promoButtonPaddingVertical:new a(2,6),promoButtonPaddingHorizontal:new a(n[1],n[3]),promoFooterPositionBottom:new a(n[3],n[1]),promoFooterPositionRight:new a(n[3],n[4]),promoFooterMarginTop:new a(0,n[2])},_={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},X=8,Ve=i.div`
|
|
161
161
|
display: flex;
|
|
162
162
|
flex: 1 1 auto;
|
|
163
163
|
flex-direction: column;
|
|
@@ -281,4 +281,4 @@ import{y as a,J as R,ax as V,aG as ie,a_ as ne,V as t,b5 as re,aR as w,u as n,b
|
|
|
281
281
|
position: absolute;
|
|
282
282
|
bottom: ${e=>l.promoFooterPositionBottom.valuePx(e.size)};
|
|
283
283
|
right: ${e=>l.promoFooterPositionRight.valuePx(e.size)};
|
|
284
|
-
`,st=({sectionTitle:e,totalFormatted:g})=>{const c=R();return t.jsx(Ye,{windowSize:c,children:t.jsxs(Ge,{windowSize:c,children:[t.jsx(qe,{children:e}),t.jsx(Je,{children:g})]})})};function Ct({sectionTitle:e,analytics:g,transactionArray:c,isZeniUser:k,zeniAccountsPromoCardReport:m,onItemClick:u,onSetAccountsStatementDate:P,onPromoCardBtnClick:f}){const r=R(),
|
|
284
|
+
`,st=({sectionTitle:e,totalFormatted:g})=>{const c=R();return t.jsx(Ye,{windowSize:c,children:t.jsxs(Ge,{windowSize:c,children:[t.jsx(qe,{children:e}),t.jsx(Je,{children:g})]})})};function Ct({sectionTitle:e,analytics:g,transactionArray:c,isZeniUser:k,zeniAccountsPromoCardReport:m,onItemClick:u,onSetAccountsStatementDate:P,onPromoCardBtnClick:f}){const r=R(),b=T.createRef(),[y,x]=T.useState(0),p=V(),E=ie(c,function(h,v){return h+(v.amount?.amount??0)},0),H=c.length>0?c[0].amount?.currencySymbol:"",L=ne("0,0",E,H),D=T.useRef(u);D.current=u;const M=T.useCallback((...h)=>{D.current?.(...h)},[]),F=({index:h,style:v})=>t.jsx("div",{style:{...v},children:t.jsx(Ke,{children:t.jsx(Qe,{windowSize:r,children:t.jsx(Oe,{data:c[h],showStatementSection:e===$.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:k,analytics:g,onItemClick:M,onSetAccountsStatementDate:P})})})}),z=T.useRef(null),I=()=>{const h=z.current;h!=null&&h.clientHeight>0&&h.clientHeight!=y&&x(h.clientHeight)},U=()=>{f?.(m?.depositAccountId??"")},W=xe(p.loggedInUserRoleMap);return t.jsxs(Ve,{windowSize:r,listHeight:y,"data-testid":w("transaction-list-big"),children:[t.jsx(st,{sectionTitle:e,totalFormatted:L}),t.jsx(Ze,{children:t.jsx(re,{children:({height:h,width:v})=>t.jsxs(t.Fragment,{children:[m?.isShowDepositAccountsPromo===!0?t.jsxs(et,{width:v,size:r,children:[t.jsxs(tt,{size:r,children:[t.jsx(ot,{size:r,children:B.keepInterest.prefixCashBalance}),t.jsx(it,{size:r,children:$e("keepInterest",ye(m.maxPossibleInterest??0))})]}),t.jsx(nt,{onClick:U,size:r,children:t.jsx(rt,{size:r,children:W?m.depositAccountId!=null?B.button:B.signUp:B.learnMore})}),t.jsx(at,{size:r,children:B.keepInterest.footer.replace(/<interest>/,m.maxAnnualPercentageYield.toString())})]}):null,t.jsx(Xe,{ref:b,height:h,width:v,style:{overflow:"unset"},innerElementType:be,itemCount:c.length,itemSize:He.value(r)+l.itemPaddingBottom.value(r),onItemsRendered:I,itemKey:N=>c[N].key,innerRef:z,children:F})]})})})]})}export{Ct as default,l as dimensions};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as z,bB as M,bC as q,V as t,bD as J,T as U,aR as h,bE as X,o as n,am as G}from"./index-
|
|
1
|
+
import{d as z,bB as M,bC as q,V as t,bD as J,T as U,aR as h,bE as X,o as n,am as G}from"./index-DBvg5JK1.js";import{a as r,n as H}from"./sentry-DlWPKrHR.js";import{n as l}from"./mui-CVkStVfi.js";import{T as K}from"./TransactionList-80KjM8Kg-BV4ncKOi.js";import{t as Q}from"./page-detail-CWX5S47F-Dvf8rKRj.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./zeni-epic-state-BeWB6NzA.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";import"./ConstrainedInnerElement-BeIpAPjB-x6D80n7G.js";import"./BoxItem-CACRFWG2-BQt9NwOK.js";import"./commonDimensions-ClmbdehE-CUqGbH6M.js";import"./panelSelectedMixin-CzfD5-Zs-DCvCCOVA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="0a6db802-a304-4373-9ba8-41b5bf773223",e._sentryDebugIdIdentifier="sentry-dbid-0a6db802-a304-4373-9ba8-41b5bf773223")}catch{}})();const W=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as A,F as k,V as o,T as B,aR as L,aT as W,o as a,y as g,x as _,H as J,d5 as Q,aa as U,cH as G,ad as K,u as r,hi as M,hj as F,hk as R,d as X,cM as Y,gQ as z,hl as Z,b9 as ee,hp as oe,hq as te}from"./index-
|
|
1
|
+
import{J as A,F as k,V as o,T as B,aR as L,aT as W,o as a,y as g,x as _,H as J,d5 as Q,aa as U,cH as G,ad as K,u as r,hi as M,hj as F,hk as R,d as X,cM as Y,gQ as z,hl as Z,b9 as ee,hp as oe,hq as te}from"./index-DBvg5JK1.js";import{a as I}from"./sentry-DlWPKrHR.js";import{n as c}from"./mui-CVkStVfi.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./zeni-epic-state-BeWB6NzA.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f10ed87b-b410-47b1-9684-6aae427a0283",e._sentryDebugIdIdentifier="sentry-dbid-f10ed87b-b410-47b1-9684-6aae427a0283")}catch{}})();const O=(e,n)=>`${e}.${n}`,T={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:x})=>{const i=A(),b=X(),$=T.labelWidth.value(i),j=T.controlWidth.value(i),V=s=>h.filter(D=>D.accountId===s)[0]?.coaId??"",l=s=>C.filter(D=>D.classId===s)[0]?.accountingClassNumber??"",y=s=>{const D=h.find(q=>q.accountId===s)?.accountName;return[oe,te].includes(D??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:F(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:M(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:R(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
padding-top: ${a.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,J as ue,aR as A,hy as lt,aP as J,i as ve,hH as ct,T as Ne,aT as $e,o as a,F as E,y as c,x as Ye,c as dt,bb as ut,ar as ft,R as be,aj as De,am as fe,aS as ce,fE as pt,aa as Xe,cH as mt,a_ as ht,aQ as gt,p as H,ad as qe,fI as ke,fJ as Ae,gg as wt,bV as ye,ga as xt,hI as $t,u as o,fs as bt,ck as Je,c2 as Dt,f4 as yt,bM as Tt,an as Ue,fV as Ct,dw as St,c4 as He,g$ as vt,h0 as kt}from"./index-ByXRm0Fj.js";import{a as u}from"./sentry-BfjekFHA.js";import{n}from"./mui-BtuxyOQU.js";import{bL as At}from"./zeni-epic-state-x1SruN8b.js";import{v as Pt}from"./ZeniTransferAmountSlider-DVJ0puXA-aYxPZEFI.js";import{r as Lt}from"./AccountInfoPageContent-BS2TBUSE-CXMTjqRR.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.js";import"./downloadPdf-DfRYmfsd-yijlpLuZ.js";import"./commonDimensions-ClmbdehE-D3isPdv2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="ca4ca8f6-ecc6-4ab4-83d1-abf2d72fec31",e._sentryDebugIdIdentifier="sentry-dbid-ca4ca8f6-ecc6-4ab4-83d1-abf2d72fec31")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ke="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ze="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ge=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 zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Z,onReviewClick:G}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),Y(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Z?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};K(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),G())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:H.heroLight}})})]})}):null,t.jsx(Nt,{children:J("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ge(Ze),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.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:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.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:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ke),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.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(Jt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Ut,{windowSize:i,children:[t.jsx(Zt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ht,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${J("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Kt,{windowSize:i}),t.jsx(Gt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${J("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?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(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ke]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
1
|
+
import{V as t,J as ue,aR as A,hy as lt,aP as J,i as ve,hH as ct,T as Ne,aT as $e,o as a,F as E,y as c,x as Ye,c as dt,bb as ut,ar as ft,R as be,aj as De,am as fe,aS as ce,fE as pt,aa as Xe,cH as mt,a_ as ht,aQ as gt,p as H,ad as qe,fI as ke,fJ as Ae,gg as wt,bV as ye,ga as xt,hI as $t,u as o,fs as bt,ck as Je,c2 as Dt,f4 as yt,bM as Tt,an as Ue,fV as Ct,dw as St,c4 as He,g$ as vt,h0 as kt}from"./index-DBvg5JK1.js";import{a as u}from"./sentry-DlWPKrHR.js";import{n}from"./mui-CVkStVfi.js";import{bL as At}from"./zeni-epic-state-BeWB6NzA.js";import{v as Pt}from"./ZeniTransferAmountSlider-DVJ0puXA-CMC395PX.js";import{r as Lt}from"./AccountInfoPageContent-BS2TBUSE-KTN9dU5f.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";import"./downloadPdf-DfRYmfsd-DryKWAvL.js";import"./commonDimensions-ClmbdehE-CUqGbH6M.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="ca4ca8f6-ecc6-4ab4-83d1-abf2d72fec31",e._sentryDebugIdIdentifier="sentry-dbid-ca4ca8f6-ecc6-4ab4-83d1-abf2d72fec31")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ke="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ze="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ge=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 zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Z,onReviewClick:G}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),Y(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Z?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};K(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),G())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:H.heroLight}})})]})}):null,t.jsx(Nt,{children:J("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ge(Ze),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.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:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.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:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ke),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.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(Jt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Ut,{windowSize:i,children:[t.jsx(Zt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ht,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${J("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Kt,{windowSize:i}),t.jsx(Gt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${J("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?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(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ke]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.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{J as C,d as M,a9 as Fe,cf as Ke,V as t,aP as V,bV as ae,bE as Ve,b as ie,aR as W,T as We,o as i,aj as k,F as L,p as w,bM as Ee,y,fl as X,H as B,u as p,b6 as ne,bQ as Le,aV as Me,ax as Ge,fY as Ue,h5 as Je,i as _e,am as A,b1 as Xe,ju as Qe,k6 as qe,bi as Ze,eR as et,da as tt,fV as it,k$ as ot,j3 as Ae,j4 as Re,cv as rt,iW as at,iX as nt,l0 as st,kh as lt,an as E,bT as dt,cB as le,j2 as ct,cE as ht}from"./index-
|
|
1
|
+
import{J as C,d as M,a9 as Fe,cf as Ke,V as t,aP as V,bV as ae,bE as Ve,b as ie,aR as W,T as We,o as i,aj as k,F as L,p as w,bM as Ee,y,fl as X,H as B,u as p,b6 as ne,bQ as Le,aV as Me,ax as Ge,fY as Ue,h5 as Je,i as _e,am as A,b1 as Xe,ju as Qe,k6 as qe,bi as Ze,eR as et,da as tt,fV as it,k$ as ot,j3 as Ae,j4 as Re,cv as rt,iW as at,iX as nt,l0 as st,kh as lt,an as E,bT as dt,cB as le,j2 as ct,cE as ht}from"./index-DBvg5JK1.js";import{a as f,P as pt}from"./sentry-DlWPKrHR.js";import{n as o,c as de}from"./mui-CVkStVfi.js";import{bL as G,c4 as xt}from"./zeni-epic-state-BeWB6NzA.js";import{s as gt}from"./commonDimensions-ClmbdehE-CUqGbH6M.js";import{g as ce}from"./BoxItem-CACRFWG2-BQt9NwOK.js";import{o as mt}from"./shield-DOlUxcFf-DFjEO7N1.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-BLPoQhru.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="bc5ae032-7636-4d7b-a66e-796c9dfe0fad",e._sentryDebugIdIdentifier="sentry-dbid-bc5ae032-7636-4d7b-a66e-796c9dfe0fad")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Re),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{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(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as ce,J as V,ax as $e,a9 as fe,aS as ye,V as r,bE as be,fx as ke,b6 as je,o as t,ju as Se,bV as ze,aj as k,i as Q,aR as Z,F as A,H as $,ar as F,p as a,y as z,am as R,da as ve,bX as Le,c as Pe,an as Me,ff as Be,u as h,dQ as Ee,bh as Ie,R as Te,x as De,b as ee,d5 as We}from"./index-
|
|
1
|
+
import{d as ce,J as V,ax as $e,a9 as fe,aS as ye,V as r,bE as be,fx as ke,b6 as je,o as t,ju as Se,bV as ze,aj as k,i as Q,aR as Z,F as A,H as $,ar as F,p as a,y as z,am as R,da as ve,bX as Le,c as Pe,an as Me,ff as Be,u as h,dQ as Ee,bh as Ie,R as Te,x as De,b as ee,d5 as We}from"./index-DBvg5JK1.js";import{a as s,P as _e}from"./sentry-DlWPKrHR.js";import{n as i}from"./mui-CVkStVfi.js";import{GI as Re}from"./zeni-epic-state-BeWB6NzA.js";import{I as He,N as Ge}from"./VideoPlayer-9UkKMhGy-CrxItSVF.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-CUXCiVxF.js";import{o as Ve}from"./shield-DOlUxcFf-DFjEO7N1.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="b06ce8a7-4cfa-4390-a771-2c4e28fdf621",e._sentryDebugIdIdentifier="sentry-dbid-b06ce8a7-4cfa-4390-a771-2c4e28fdf621")}catch{}})();const Ae=({isOpen:e,onClose:g})=>{const d=V(),C=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(Ue,{onClick:g})}),r.jsxs(Ye,{children:[r.jsx(qe,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Je,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Qe,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Fe=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as S,J as j,V as t,bE as I,b5 as z,o as r,F as C,p as m,cv as E,y as P,u as p,am as T}from"./index-
|
|
1
|
+
import{d as S,J as j,V as t,bE as I,b5 as z,o as r,F as C,p as m,cv as E,y as P,u as p,am as T}from"./index-DBvg5JK1.js";import{a as h}from"./sentry-DlWPKrHR.js";import{n as o}from"./mui-CVkStVfi.js";import{$ as D}from"./BoxItem-CACRFWG2-BQt9NwOK.js";import{o as M}from"./commonDimensions-ClmbdehE-CUqGbH6M.js";import{M as B}from"./StatementItem-Cu6dlAsl-0BWW7RnN.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./zeni-epic-state-BeWB6NzA.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";import"./downloadPdf-DfRYmfsd-DryKWAvL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="43b06bbd-e3a2-4d25-9df7-63b859d0d59d",e._sentryDebugIdIdentifier="sentry-dbid-43b06bbd-e3a2-4d25-9df7-63b859d0d59d")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new P(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:s,onBackClick:f})=>{const g=S(),i=j(),x=h.createRef(),y=h.useRef(),k=s.statements.length===0,$=()=>M.transactionItemHeightResponsive.value(i),v=({index:a,style:l})=>{const d=s.statements[a];return k===!1?t.jsx(u,{windowSize:i,style:{...l,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:D(a,s.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(u,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:f,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:a,width:l})=>t.jsx(H,{ref:x,height:a,width:l,innerRef:y,itemKey:d=>d,itemCount:s.statements.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},R=o.div``,u=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${w.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as j,J as S,V as t,bE as L,b5 as I,o as r,F as z,p,cv as T,y as C,u as h,am as E}from"./index-
|
|
1
|
+
import{d as j,J as S,V as t,bE as L,b5 as I,o as r,F as z,p,cv as T,y as C,u as h,am as E}from"./index-DBvg5JK1.js";import{a as m}from"./sentry-DlWPKrHR.js";import{n as o}from"./mui-CVkStVfi.js";import{$ as P}from"./BoxItem-CACRFWG2-BQt9NwOK.js";import{o as D}from"./commonDimensions-ClmbdehE-CUqGbH6M.js";import{M}from"./StatementItem-Cu6dlAsl-0BWW7RnN.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./zeni-epic-state-BeWB6NzA.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";import"./downloadPdf-DfRYmfsd-DryKWAvL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="9dcd8f2f-021a-4317-93f7-371778659f93",e._sentryDebugIdIdentifier="sentry-dbid-9dcd8f2f-021a-4317-93f7-371778659f93")}catch{}})();const f=z.getLocalizedStrings().spendManagement.treasury.taxLetter,b={listItemMargin:new C(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=j(),i=S(),g=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>D.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${b.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:P(s,n.taxLetters.length)},d.id)}):t.jsx(B,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(N,{children:f.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:f.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:g,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},B=o.div``,x=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${b.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as $,V as n,d as _,b5 as P,b as j,a_ as R,aR as Y,o as L,p as A,am as I}from"./index-
|
|
1
|
+
import{F as $,V as n,d as _,b5 as P,b as j,a_ as R,aR as Y,o as L,p as A,am as I}from"./index-DBvg5JK1.js";import{a as v,P as z}from"./sentry-DlWPKrHR.js";import{Fc as m}from"./zeni-epic-state-BeWB6NzA.js";import{d as B,g as T,p as D,u as O}from"./chartTypes-Ddw_3-6f-DgrkzuCZ.js";import{n as k}from"./mui-CVkStVfi.js";import{o as q}from"./toCOABalancesWithID-AzKAZ-Cv-DEq296KH.js";import{V as K}from"./toChartData-BEjMhb7--SCIfyppR.js";import{H as V,I as G,X as N,Y as W,J as X,R as H,K as J}from"./recharts-BLPoQhru.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4347b9e5-5967-480d-ad30-c681176c35bd",e._sentryDebugIdIdentifier="sentry-dbid-4347b9e5-5967-480d-ad30-c681176c35bd")}catch{}})();const Q=k.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,Z=k.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as H,V as i,T as L,o as r,F as R,b5 as E,aR as T,y as c,b9 as I,R as V,u as a,am as A,x as q}from"./index-
|
|
1
|
+
import{J as H,V as i,T as L,o as r,F as R,b5 as E,aR as T,y as c,b9 as I,R as V,u as a,am as A,x as q}from"./index-DBvg5JK1.js";import{a as k}from"./sentry-DlWPKrHR.js";import{n}from"./mui-CVkStVfi.js";import K from"./TrendChart-C6B61CAm-C0UUKmUn.js";import{C as W}from"./NoDataChart-CyYJ6icu-B_ibj8yR.js";import{F as J}from"./InsightsSection-D-oCmrir-DsyYY69e.js";import{T as Q}from"./TransactionList-80KjM8Kg-BV4ncKOi.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="69fcb17e-5bef-4c0d-82ee-d84b542c7fed",e._sentryDebugIdIdentifier="sentry-dbid-69fcb17e-5bef-4c0d-82ee-d84b542c7fed")}catch{}})();const Z=n.div`
|
|
2
2
|
display: inline-block;
|
|
3
3
|
`,G=n.div`
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as ie,J as ce,ax as Xe,aS as en,gL as I,hT as U,aa as nn,hU as tn,hV as je,cH as on,V as t,bE as cn,cr as sn,cs as an,ct as ln,ad as dn,hW as rn,T as un,aT as pn,fB as mn,F as W,hX as _e,y as u,am as gn,o as a,cL as we,aX as q,gQ as te,hY as oe,hZ as Z,h_ as xn,u as r,H as ye,p as Ae,g9 as Ve,aj as $e,bk as hn}from"./index-
|
|
1
|
+
import{d as ie,J as ce,ax as Xe,aS as en,gL as I,hT as U,aa as nn,hU as tn,hV as je,cH as on,V as t,bE as cn,cr as sn,cs as an,ct as ln,ad as dn,hW as rn,T as un,aT as pn,fB as mn,F as W,hX as _e,y as u,am as gn,o as a,cL as we,aX as q,gQ as te,hY as oe,hZ as Z,h_ as xn,u as r,H as ye,p as Ae,g9 as Ve,aj as $e,bk as hn}from"./index-DBvg5JK1.js";import{a as K}from"./sentry-DlWPKrHR.js";import{n as s}from"./mui-CVkStVfi.js";import{G3 as Te,FJ as bn,FK as fn,G4 as wn}from"./zeni-epic-state-BeWB6NzA.js";import{h as yn}from"./VendorsAccountsSection-BT-RADSV-usRXN8LD.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f09e1ee9-6c68-4c1f-8737-05c7cadfb107",e._sentryDebugIdIdentifier="sentry-dbid-f09e1ee9-6c68-4c1f-8737-05c7cadfb107")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new ye("standardMedium","largeMedium")},An=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
|
|
@@ -65,7 +65,7 @@ import{d as ie,J as ce,ax as Xe,aS as en,gL as I,hT as U,aa as nn,hU as tn,hV as
|
|
|
65
65
|
background-color: ${e=>e.theme.colors.grey5};
|
|
66
66
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
67
67
|
border-radius: ${a.sp2};
|
|
68
|
-
`,
|
|
68
|
+
`,Y=(e,n)=>`${e}.${n}`;function kn({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=W.getLocalizedStrings().uncategorizedAccountsMapping,M=C.labelWidth.value(l),z=o.billPayRecommendation!=null?[o.billPayRecommendation]:[],R=I(o.billPayAccountHierarchy,z,"Accounts"),k=o.billPayRecommendation?.account?.reason??"",O=c.tooltip.replace("__based__",k).replace("__account__",c.billsSection.billPayExpenseAccount),$=o.billPayAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedBillPayAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=we(),v=p.mode==="light"?new q(p.colors.brandColorJadeLight):new q(p.colors.brandColorJadeDark);return t.jsxs(An,{windowSize:l,children:[t.jsx(In,{windowSize:l,children:c.billsSection.heading}),t.jsxs($n,{windowSize:l,children:[t.jsxs(Sn,{windowSize:l,children:[t.jsx(vn,{windowSize:l,iconColor:v,isDarkMode:p.mode==="dark",children:t.jsx(Ln,{})}),t.jsxs(Rn,{children:[t.jsx(Cn,{windowSize:l,children:c.billsSection.title}),t.jsx(Pn,{children:c.billsSection.subTitle})]})]}),t.jsx(Mn,{children:t.jsx(zn,{windowSize:l,children:t.jsx(te,{isZeniRecommendsLabel:!0,isLoading:!1,label:{label:c.billsSection.bankChargesAndFeesLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.billPayRecommendation!=null,name:Y(e,"billPayAccount"),placeholder:c.placeholder.accountPlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:h=>oe(h,o.billPayAccountList),defaultValue:{selectedOption:$?.qboId,allOptions:R},style:{border:`1px solid ${p.colors.grey3}`},customStyleConfig:S,registerOptions:{required:!1},menuPortal:n},style:{border:`1px solid ${p.colors.grey3}`,borderRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.billPayRecommendation!=null?{tooltipProps:{text:O},label:{label:o.billPayRecommendation?.account?.accountName??W.getLocalizedStrings().common.strings.empty},checkBoxField:{name:Y(e,"isRecommendedBillPayAccountChecked"),defaultChecked:d(Y(e,"isRecommendedBillPayAccountChecked"))}}:void 0},Y(e,"billPayAccount"))})})]})]})}const P={labelWidth:new u(120,145,160),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},We={title:new ye("standardMedium","largeMedium")},On=s.div`
|
|
69
69
|
display: flex;
|
|
70
70
|
flex-direction: column;
|
|
71
71
|
row-gap: ${e=>P.rowGap.valuePx(e.windowSize)};
|
|
@@ -178,10 +178,10 @@ import{d as ie,J as ce,ax as Xe,aS as en,gL as I,hT as U,aa as nn,hU as tn,hV as
|
|
|
178
178
|
max-width: ${e=>L.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
179
179
|
max-height: ${e=>L.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
180
180
|
margin-right: ${e=>L.iconContainerMarginRight.valuePx(e.windowSize)};
|
|
181
|
-
`,
|
|
181
|
+
`,Kn=s.div`
|
|
182
182
|
${e=>`${qe.title.style(e.windowSize)}`};
|
|
183
183
|
color: ${e=>e.theme.colors.primary};
|
|
184
|
-
`,
|
|
184
|
+
`,Yn=s($e)`
|
|
185
185
|
color: ${e=>e.theme.colors.hero};
|
|
186
186
|
`,Xn=s(Ve)`
|
|
187
187
|
width: ${a.sp4};
|
|
@@ -199,7 +199,7 @@ import{d as ie,J as ce,ax as Xe,aS as en,gL as I,hT as U,aa as nn,hU as tn,hV as
|
|
|
199
199
|
background-color: ${e=>e.theme.colors.grey5};
|
|
200
200
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
201
201
|
border-radius: ${a.sp2};
|
|
202
|
-
`,D=(e,n)=>`${e}.${n}`;function tt({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=W.getLocalizedStrings().uncategorizedAccountsMapping,M=L.labelWidth.value(l),z=o.incomeRecommendation!=null?[o.incomeRecommendation]:[],R=I(o.incomeAccountHierachy,z),k=o.expenseRecommendation!=null?[o.expenseRecommendation]:[],O=I(o.expenseAccountHierarchy,k),$=o.incomeRecommendation?.account?.reason??"",S=c.tooltip.replace("__based__",$).replace("__account__",c.uncategorizedSection.incomeAccount),d=o.expenseRecommendation?.account?.reason??"",v=c.tooltip.replace("__based__",d).replace("__account__",c.uncategorizedSection.expenseAccount),h=o.incomeAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedIncomeAccountId),E=o.expenseAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedExpenseAccountId),F={valueContainer:y=>({...y,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:B}=we(),V=p.mode==="light"?new q(p.colors.brandColorJadeLight):new q(p.colors.brandColorJadeDark);return t.jsxs(Gn,{windowSize:l,children:[t.jsx(Jn,{windowSize:l,children:c.uncategorizedSection.heading}),t.jsxs(Nn,{windowSize:l,children:[t.jsxs(Un,{windowSize:l,children:[t.jsx(Zn,{windowSize:l,iconColor:V,isDarkMode:p.mode==="dark",children:t.jsx(Xn,{})}),t.jsxs(Qn,{children:[t.jsx(
|
|
202
|
+
`,D=(e,n)=>`${e}.${n}`;function tt({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=W.getLocalizedStrings().uncategorizedAccountsMapping,M=L.labelWidth.value(l),z=o.incomeRecommendation!=null?[o.incomeRecommendation]:[],R=I(o.incomeAccountHierachy,z),k=o.expenseRecommendation!=null?[o.expenseRecommendation]:[],O=I(o.expenseAccountHierarchy,k),$=o.incomeRecommendation?.account?.reason??"",S=c.tooltip.replace("__based__",$).replace("__account__",c.uncategorizedSection.incomeAccount),d=o.expenseRecommendation?.account?.reason??"",v=c.tooltip.replace("__based__",d).replace("__account__",c.uncategorizedSection.expenseAccount),h=o.incomeAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedIncomeAccountId),E=o.expenseAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedExpenseAccountId),F={valueContainer:y=>({...y,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:B}=we(),V=p.mode==="light"?new q(p.colors.brandColorJadeLight):new q(p.colors.brandColorJadeDark);return t.jsxs(Gn,{windowSize:l,children:[t.jsx(Jn,{windowSize:l,children:c.uncategorizedSection.heading}),t.jsxs(Nn,{windowSize:l,children:[t.jsxs(Un,{windowSize:l,children:[t.jsx(Zn,{windowSize:l,iconColor:V,isDarkMode:p.mode==="dark",children:t.jsx(Xn,{})}),t.jsxs(Qn,{children:[t.jsx(Kn,{windowSize:l,children:c.uncategorizedSection.title}),t.jsx(Yn,{children:c.uncategorizedSection.subTitle})]})]}),t.jsx(et,{children:t.jsxs(nt,{windowSize:l,children:[t.jsx(te,{isLoading:!1,label:{label:c.uncategorizedSection.incomeLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.incomeRecommendation!=null,name:D(e,"incomeAccount"),placeholder:c.placeholder.incomePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:y=>oe(y,o.incomeAccountList),defaultValue:{selectedOption:h?.qboId,allOptions:R},style:{width:"100%"},customStyleConfig:F,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.incomeRecommendation!=null?{tooltipProps:{text:S},label:{label:o.incomeRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedIncomeAccountChecked"),defaultChecked:B(D(e,"isRecommendedIncomeAccountChecked"))}}:void 0},D(e,"incomeAccount")),t.jsx(te,{isLoading:!1,label:{label:c.uncategorizedSection.expenseLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.expenseRecommendation!=null,name:D(e,"expenseAccount"),placeholder:c.placeholder.expensePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:y=>oe(y,o.expenseAccountList),defaultValue:{selectedOption:E?.qboId,allOptions:O},style:{borderBottom:`1px solid ${p.colors.grey3}`},customStyleConfig:F,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.expenseRecommendation!=null?{tooltipProps:{text:v},label:{label:o.expenseRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedExpenseAccountChecked"),defaultChecked:B(D(e,"isRecommendedExpenseAccountChecked"))}}:void 0},D(e,"expenseAccount"))]})})]})]})}const J={titleWidth:new u(343,580,826,1048),setupDetailsRowGap:new u(12,r[5],r[5]),sectionsRowGap:new u(12,r[7],r[7]),subTitlePaddingTop:new u(12,r[3]),subTitlePaddingBottom:new u(r[3],r[3])},{common:m,uncategorizedAccountsMapping:_}=W.getLocalizedStrings(),De="uncategorizedAccountsMappingPage",H="uncategorizedAccountSection",x="filing1099Section",ee="billsAccountSection",ne="reimbursementsAccountSection",Ge="vendorsAccountSection",ot=s.div`
|
|
203
203
|
display: flex;
|
|
204
204
|
height: 100vh;
|
|
205
205
|
width: 100%;
|
|
@@ -241,4 +241,4 @@ import{d as ie,J as ce,ax as Xe,aS as en,gL as I,hT as U,aa as nn,hU as tn,hV as
|
|
|
241
241
|
padding-top: ${e=>J.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
242
242
|
padding-bottom: ${e=>J.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
243
243
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
244
|
-
`;function yt({currentTenant:e,accountMappingView:n,isFiling1099FeatureEnabled:o,isAccruedExpensesFeatureEnabled:l,meetingUrl:p,isSettings:c=!1,onAccountMappingChange:M,onSaveClick:z,onBackClick:R,onClickMenuIcon:k}){const O=ie(),$=ce(),S=Xe(),[d,v]=Y.useState(!1),h=en(n.saveState.fetchState),E=Y.useRef(null),{incomeRecommendation:F,expenseRecommendation:B,billPayRecommendation:V,reimbursementsRecommendation:y,prepaidExpensesRecommendation:se,fixedAssetsRecommendation:ae,accruedExpensesRecommendation:le}=n,de=F!=null?[F]:[],re=B!=null?[B]:[],ue=V!=null?[V]:[],pe=y!=null?[y]:[],me=se,ge=ae,xe=le,i=I(n.incomeAccountHierachy,de,"Accounts"),G=I(n.expenseAccountHierarchy,re,"Accounts"),he=I(n.billPayAccountHierarchy,ue,"Accounts"),be=I(n.reimbursementsAccountHierarchy,pe,"Accounts"),Se=I(n.prepaidExpensesAccountHierarchy,me,"Accounts"),Ie=I(n.fixedAssetsAccountHierarchy,ge,"Accounts"),Re=I(n.accruedExpensesAccountHierarchy,xe,"Accounts"),ve=I(n.bankAccounts1099FilingAccountHierarchy,[],"Accounts"),Ce=I(n.expenseAccounts1099FilingAccountHierarchy,[],"Categories"),Pe=U(n.expenseTypeList,_.filing1099Section.allExpenseTypes),Le=U(n.expense1099TypeList,_.filing1099Section.all1099Types),Ne=U(n.boxTypesList.int,_.filing1099Section.allBoxes),Ue=U(n.boxTypesList.misc,_.filing1099Section.allBoxes),Je=U(n.boxTypesList.nec,_.filing1099Section.allBoxes),fe={int:Ne,misc:Ue,nec:Je},f=nn({mode:"all",defaultValues:Be(n,i,G,he,be,Se,Ie,Re,ve,Ce,Pe,Le,fe),resetOptions:{keepDirtyValues:!0},values:Be(n,i,G,he,be,Se,Ie,Re,ve,Ce,Pe,Le,fe)}),Qe=f.handleSubmit(b=>{const A=b[x].bankAccount.selectedOptions.length,g=b[x].expenseCategory1099.length,w=A===0&&g===1&&tn(b[x].expenseCategory1099[0]),j=b[x].expenseCategory1099,N=[];j.forEach((Q,T)=>{if(!w){const ze=Q.accountId?.selectedOption,ke=Q.expenseType?.selectedOption,Oe=Q.type1099?.selectedOption,Ee=Q.boxType?.selectedOption;(ze==null||ze==="")&&(f.setError(`${x}.expenseCategory1099.${T}.accountId`,{type:"manual",message:"Account ID is required."}),N.push(`${T}.accountId`)),(ke==null||ke==="")&&(f.setError(`${x}.expenseCategory1099.${T}.expenseType`,{type:"manual",message:"Expense Type is required."}),N.push(`${T}.expenseType`)),(Oe==null||Oe==="")&&(f.setError(`${x}.expenseCategory1099.${T}.type1099`,{type:"manual",message:"Type 1099 is required."}),N.push(`${T}.type1099`)),(Ee==null||Ee==="")&&(f.setError(`${x}.expenseCategory1099.${T}.boxType`,{type:"manual",message:"Box Type is required."}),N.push(`${T}.boxType`))}}),N.length===0&&(A>0&&g>1&&je(b[x].expenseCategory1099[0])||A>0&&g===1&&je(b[x].expenseCategory1099[0])||w)&&z(b)}),Ze=async(b,A)=>{if(b.includes("isRecommendedIncomeAccountChecked")){const g=A[H].isRecommendedIncomeAccountChecked===!0?n.incomeRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousIncomeAccount?.qboId;f.setValue(`${H}.incomeAccount`,{selectedOption:g,allOptions:i},{shouldValidate:!0})}if(b.includes("isRecommendedExpenseAccountChecked")){const g=A[H].isRecommendedExpenseAccountChecked===!0?n.expenseRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousExpenseAccount?.qboId;f.setValue(`${H}.expenseAccount`,{selectedOption:g,allOptions:G},{shouldValidate:!0})}if(b.includes("isRecommendedBillPayAccountChecked")){const g=A[ee].isRecommendedBillPayAccountChecked===!0?n.billPayRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousBillPayAccount?.qboId;f.setValue(`${ee}.billPayAccount`,{selectedOption:g,allOptions:he},{shouldValidate:!0})}if(b.includes("isRecommendedReimbursementsAccountChecked")){const g=A[ne].isRecommendedReimbursementsAccountChecked===!0?n.reimbursementsRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousReimbursementsAccount?.qboId;f.setValue(`${ne}.reimbursementsAccount`,{selectedOption:g,allOptions:be},{shouldValidate:!0})}if(b.includes("filing1099Section.expenseCategory1099")){const g=b.split(".").find(w=>!isNaN(Number(w)));if(g!==void 0){const w=parseInt(g,10),j=A[x].expenseCategory1099[w];j.accountId?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.accountId`),j.expenseType?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.expenseType`),j.type1099?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.type1099`),j.boxType?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.boxType`)}}if(b.includes("type1099")){const g=b?.split(".")?.find(w=>!isNaN(Number(w)));if(g!=null){const w=parseInt(g,10),j=A[x].expenseCategory1099[w].type1099?.selectedOption;f.setValue(`${x}.expenseCategory1099.${w}.boxType`,{selectedOption:m.strings.empty,allOptions:_e(j??m.strings.empty,fe)},{shouldValidate:!0})}}M(A)};Y.useEffect(()=>{h==="In-Progress"&&n.saveState.fetchState==="Completed"&&R?.()},[h,n.saveState.fetchState,R]),Y.useEffect(()=>{const b=f.watch((A,{name:g})=>{g!=null&&A!=null&&on(()=>Ze(g,A))});return()=>{b.unsubscribe()}});const Me=()=>n.fetchState==="Completed"&&(n.accountMappingLocalData?.selectedExpenseAccountId!==n.accountMappingLocalData?.previousExpenseAccount?.accountId||n.accountMappingLocalData?.selectedIncomeAccountId!==n.accountMappingLocalData?.previousIncomeAccount?.accountId||n.accountMappingLocalData?.selectedBillPayAccountId!==n.accountMappingLocalData?.previousBillPayAccount?.accountId||n.accountMappingLocalData?.selectedReimbursementsAccountId!==n.accountMappingLocalData?.previousReimbursementsAccount?.accountId||Z(n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds,n.accountMappingLocalData?.previousPrepaidExpensesAccount)||Z(n.accountMappingLocalData?.selectedFixedAssetsAccountIds,n.accountMappingLocalData?.previousFixedAssetsAccount)||Z(n.accountMappingLocalData?.selectedAccruedExpensesAccountIds,n.accountMappingLocalData?.previousAccruedExpensesAccount)||Z(n.accountMappingLocalData?.selectedBankAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousBankAccounts1099FilingAccount)||xn(n.accountMappingLocalData?.selectedExpenseAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousExpenseAccounts1099FilingAccount)),Ye=n.fetchState!=="Completed",Ke={onOkClick:()=>{v(!1),R?.(),f.reset()},onCancelClick:()=>{v(!1)}};return t.jsxs(ot,{ref:E,children:[t.jsx(cn,{title:c?m.settings.title.accounting:_.title,onBackClick:R,backgroundColor:O.colors.grey4,showBackButton:!c,showMenuIcon:c?$==="medium-compact"||$==="small":!1,onClickMenuIcon:k,source:"UncategorizedAccountsMappingPage"}),d===!0?t.jsx(sn,{titleComponent:t.jsx(ln,{children:m.confirmationPopup.discardTitle}),descriptionComponent:t.jsx(an,{children:m.confirmationPopup.discardDescription}),primaryButtonText:m.confirmationPopup.discard,secondaryButtonText:m.confirmationPopup.cancel,action:Ke,proceedButtonVariant:"danger"}):null,t.jsxs(it,{windowSize:$,children:[t.jsx(at,{windowSize:$,children:_.subTitle}),Ye===!1?t.jsx(dn,{...f,children:t.jsx("form",{id:Fe(De),onSubmit:Qe,children:t.jsxs(ct,{windowSize:$,children:[Te(S.loggedInUserRole??[])?t.jsx(tt,{sectionId:H,containerRef:E.current,accountMappingView:n}):null,bn(e,S.loggedInUserRoleMap)?t.jsx(kn,{sectionId:ee,containerRef:E.current,accountMappingView:n}):null,fn(e,S.loggedInUserRoleMap)?t.jsx(qn,{sectionId:ne,containerRef:E.current,accountMappingView:n}):null,Te(S.loggedInUserRole??[])?t.jsx(yn,{sectionId:Ge,vendorAccountMappingSection:{accruedExpensesAccountHierarchy:n.accruedExpensesAccountHierarchy,accruedExpensesAccountList:n.accruedExpensesAccountList,accruedExpensesRecommendations:n.accruedExpensesRecommendation,fixedAssetsAccountHierarchy:n.fixedAssetsAccountHierarchy,fixedAssetsAccountList:n.fixedAssetsAccountList,fixedAssetsRecommendations:n.fixedAssetsRecommendation,prepaidExpensesAccountHierarchy:n.prepaidExpensesAccountHierarchy,prepaidExpensesAccountList:n.prepaidExpensesAccountList,prepaidExpensesRecommendations:n.prepaidExpensesRecommendation,selectedAccruedExpensesAccountIds:n.accountMappingLocalData?.selectedAccruedExpensesAccountIds??[],selectedFixedAssetsAccountIds:n.accountMappingLocalData?.selectedFixedAssetsAccountIds??[],selectedPrepaidExpensesAccountIds:n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds??[]},isAccruedExpensesFeatureEnabled:l}):null,o&&wn(S.loggedInUserRoleMap)?t.jsx(rn,{sectionId:x,accountMappingView:n,containerRef:E.current,isSettingsPage:!0}):null]})})}):t.jsx(st,{children:t.jsx(un,{size:"ExtraLarge",start:!0})})]}),Me()===!0?t.jsx(pn,{formId:Fe(De),primaryBtn:{label:m.footer.save,style:{width:"82px"},isLoading:n.saveState.fetchState==="In-Progress",isDisabled:n.saveState.fetchState==="In-Progress"},cancelBtn:{label:m.footer.cancel,style:{width:"82px"},shouldResetOnCancel:!0,onClick:()=>{v(!0)}}}):null,c?null:t.jsx(mn,{isFooterRendered:Me(),meetingUrl:p})]})}const Fe=e=>`${e}_form`,Be=(e,n,o,l,p,c,M,z,R,k,O,$,S)=>{const{accountMappingLocalData:d,incomeRecommendation:v,expenseRecommendation:h,billPayRecommendation:E,reimbursementsRecommendation:F}=e,B=d?.selectedIncomeAccountId===v?.account?.accountId,V=d?.selectedExpenseAccountId===h?.account?.accountId,y=d?.selectedBillPayAccountId===E?.account?.accountId,se=d?.selectedReimbursementsAccountId===F?.account?.accountId,ae=d?.selectedIncomeAccountId!=null?e.incomeAccountList.find(i=>i.accountId===d.selectedIncomeAccountId):void 0,le=d?.selectedExpenseAccountId!=null?e.expenseAccountList.find(i=>i.accountId===d.selectedExpenseAccountId):void 0,de=d?.selectedBillPayAccountId!=null?e.billPayAccountList.find(i=>i.accountId===d.selectedBillPayAccountId):void 0,re=d?.selectedReimbursementsAccountId!=null?e.reimbursementsAccountList.find(i=>i.accountId===d.selectedReimbursementsAccountId):void 0,ue=d?.selectedPrepaidExpensesAccountIds!=null?e.prepaidExpensesAccountList.filter(i=>d.selectedPrepaidExpensesAccountIds.includes(i.accountId)):[],pe=d?.selectedFixedAssetsAccountIds!=null?e.fixedAssetsAccountList.filter(i=>d.selectedFixedAssetsAccountIds.includes(i.accountId)):[],me=d?.selectedAccruedExpensesAccountIds!=null?e.accruedExpensesAccountList.filter(i=>d.selectedAccruedExpensesAccountIds.includes(i.accountId)):[],ge=d?.selectedBankAccounts1099FilingAccountIds!=null?e.bankAccounts1099FilingAccountList.filter(i=>d.selectedBankAccounts1099FilingAccountIds.includes(i.accountId)):[],xe=d?.selectedExpenseAccounts1099FilingAccountIds!=null?d.selectedExpenseAccounts1099FilingAccountIds.map(i=>({accountId:i.accountId??m.strings.empty,tax1099Config:{expenseType1099:i.expenseType??m.strings.empty,type1099:i.type1099??m.strings.empty,boxType:i.boxType??m.strings.empty}})):[];return{[x]:{bankAccount:{selectedOptions:ge.map(i=>i.qboId).filter(i=>i!=null),allOptions:R},expenseCategory1099:xe.map(i=>({accountId:{selectedOption:e.expenseAccounts1099FilingAccountList.find(G=>G.accountId===i.accountId)?.qboId??m.strings.empty,allOptions:k},expenseType:{selectedOption:i?.tax1099Config?.expenseType1099??m.strings.empty,allOptions:O},type1099:{selectedOption:i?.tax1099Config?.type1099??m.strings.empty,allOptions:$},boxType:{selectedOption:i?.tax1099Config?.boxType??m.strings.empty,allOptions:_e(i?.tax1099Config?.type1099??m.strings.empty,S)}}))},[H]:{incomeAccount:{selectedOption:ae?.qboId,allOptions:n},isRecommendedIncomeAccountChecked:B,expenseAccount:{selectedOption:le?.qboId,allOptions:o},isRecommendedExpenseAccountChecked:V},[ee]:{billPayAccount:{selectedOption:de?.qboId,allOptions:l},isRecommendedBillPayAccountChecked:y},[ne]:{reimbursementsAccount:{selectedOption:re?.qboId,allOptions:p},isRecommendedReimbursementsAccountChecked:se},[Ge]:{prepaidExpensesAccount:{selectedOptions:ue.map(i=>i.qboId).filter(i=>i!=null),allOptions:c},fixedAssetsAccount:{selectedOptions:pe.map(i=>i.qboId).filter(i=>i!=null),allOptions:M},accruedExpensesAccount:{selectedOptions:me.map(i=>i.qboId).filter(i=>i!=null),allOptions:z}}}};export{yt as default};
|
|
244
|
+
`;function yt({currentTenant:e,accountMappingView:n,isFiling1099FeatureEnabled:o,isAccruedExpensesFeatureEnabled:l,meetingUrl:p,isSettings:c=!1,onAccountMappingChange:M,onSaveClick:z,onBackClick:R,onClickMenuIcon:k}){const O=ie(),$=ce(),S=Xe(),[d,v]=K.useState(!1),h=en(n.saveState.fetchState),E=K.useRef(null),{incomeRecommendation:F,expenseRecommendation:B,billPayRecommendation:V,reimbursementsRecommendation:y,prepaidExpensesRecommendation:se,fixedAssetsRecommendation:ae,accruedExpensesRecommendation:le}=n,de=F!=null?[F]:[],re=B!=null?[B]:[],ue=V!=null?[V]:[],pe=y!=null?[y]:[],me=se,ge=ae,xe=le,i=I(n.incomeAccountHierachy,de,"Accounts"),G=I(n.expenseAccountHierarchy,re,"Accounts"),he=I(n.billPayAccountHierarchy,ue,"Accounts"),be=I(n.reimbursementsAccountHierarchy,pe,"Accounts"),Se=I(n.prepaidExpensesAccountHierarchy,me,"Accounts"),Ie=I(n.fixedAssetsAccountHierarchy,ge,"Accounts"),Re=I(n.accruedExpensesAccountHierarchy,xe,"Accounts"),ve=I(n.bankAccounts1099FilingAccountHierarchy,[],"Accounts"),Ce=I(n.expenseAccounts1099FilingAccountHierarchy,[],"Categories"),Pe=U(n.expenseTypeList,_.filing1099Section.allExpenseTypes),Le=U(n.expense1099TypeList,_.filing1099Section.all1099Types),Ne=U(n.boxTypesList.int,_.filing1099Section.allBoxes),Ue=U(n.boxTypesList.misc,_.filing1099Section.allBoxes),Je=U(n.boxTypesList.nec,_.filing1099Section.allBoxes),fe={int:Ne,misc:Ue,nec:Je},f=nn({mode:"all",defaultValues:Be(n,i,G,he,be,Se,Ie,Re,ve,Ce,Pe,Le,fe),resetOptions:{keepDirtyValues:!0},values:Be(n,i,G,he,be,Se,Ie,Re,ve,Ce,Pe,Le,fe)}),Qe=f.handleSubmit(b=>{const A=b[x].bankAccount.selectedOptions.length,g=b[x].expenseCategory1099.length,w=A===0&&g===1&&tn(b[x].expenseCategory1099[0]),j=b[x].expenseCategory1099,N=[];j.forEach((Q,T)=>{if(!w){const ze=Q.accountId?.selectedOption,ke=Q.expenseType?.selectedOption,Oe=Q.type1099?.selectedOption,Ee=Q.boxType?.selectedOption;(ze==null||ze==="")&&(f.setError(`${x}.expenseCategory1099.${T}.accountId`,{type:"manual",message:"Account ID is required."}),N.push(`${T}.accountId`)),(ke==null||ke==="")&&(f.setError(`${x}.expenseCategory1099.${T}.expenseType`,{type:"manual",message:"Expense Type is required."}),N.push(`${T}.expenseType`)),(Oe==null||Oe==="")&&(f.setError(`${x}.expenseCategory1099.${T}.type1099`,{type:"manual",message:"Type 1099 is required."}),N.push(`${T}.type1099`)),(Ee==null||Ee==="")&&(f.setError(`${x}.expenseCategory1099.${T}.boxType`,{type:"manual",message:"Box Type is required."}),N.push(`${T}.boxType`))}}),N.length===0&&(A>0&&g>1&&je(b[x].expenseCategory1099[0])||A>0&&g===1&&je(b[x].expenseCategory1099[0])||w)&&z(b)}),Ze=async(b,A)=>{if(b.includes("isRecommendedIncomeAccountChecked")){const g=A[H].isRecommendedIncomeAccountChecked===!0?n.incomeRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousIncomeAccount?.qboId;f.setValue(`${H}.incomeAccount`,{selectedOption:g,allOptions:i},{shouldValidate:!0})}if(b.includes("isRecommendedExpenseAccountChecked")){const g=A[H].isRecommendedExpenseAccountChecked===!0?n.expenseRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousExpenseAccount?.qboId;f.setValue(`${H}.expenseAccount`,{selectedOption:g,allOptions:G},{shouldValidate:!0})}if(b.includes("isRecommendedBillPayAccountChecked")){const g=A[ee].isRecommendedBillPayAccountChecked===!0?n.billPayRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousBillPayAccount?.qboId;f.setValue(`${ee}.billPayAccount`,{selectedOption:g,allOptions:he},{shouldValidate:!0})}if(b.includes("isRecommendedReimbursementsAccountChecked")){const g=A[ne].isRecommendedReimbursementsAccountChecked===!0?n.reimbursementsRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousReimbursementsAccount?.qboId;f.setValue(`${ne}.reimbursementsAccount`,{selectedOption:g,allOptions:be},{shouldValidate:!0})}if(b.includes("filing1099Section.expenseCategory1099")){const g=b.split(".").find(w=>!isNaN(Number(w)));if(g!==void 0){const w=parseInt(g,10),j=A[x].expenseCategory1099[w];j.accountId?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.accountId`),j.expenseType?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.expenseType`),j.type1099?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.type1099`),j.boxType?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.boxType`)}}if(b.includes("type1099")){const g=b?.split(".")?.find(w=>!isNaN(Number(w)));if(g!=null){const w=parseInt(g,10),j=A[x].expenseCategory1099[w].type1099?.selectedOption;f.setValue(`${x}.expenseCategory1099.${w}.boxType`,{selectedOption:m.strings.empty,allOptions:_e(j??m.strings.empty,fe)},{shouldValidate:!0})}}M(A)};K.useEffect(()=>{h==="In-Progress"&&n.saveState.fetchState==="Completed"&&R?.()},[h,n.saveState.fetchState,R]),K.useEffect(()=>{const b=f.watch((A,{name:g})=>{g!=null&&A!=null&&on(()=>Ze(g,A))});return()=>{b.unsubscribe()}});const Me=()=>n.fetchState==="Completed"&&(n.accountMappingLocalData?.selectedExpenseAccountId!==n.accountMappingLocalData?.previousExpenseAccount?.accountId||n.accountMappingLocalData?.selectedIncomeAccountId!==n.accountMappingLocalData?.previousIncomeAccount?.accountId||n.accountMappingLocalData?.selectedBillPayAccountId!==n.accountMappingLocalData?.previousBillPayAccount?.accountId||n.accountMappingLocalData?.selectedReimbursementsAccountId!==n.accountMappingLocalData?.previousReimbursementsAccount?.accountId||Z(n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds,n.accountMappingLocalData?.previousPrepaidExpensesAccount)||Z(n.accountMappingLocalData?.selectedFixedAssetsAccountIds,n.accountMappingLocalData?.previousFixedAssetsAccount)||Z(n.accountMappingLocalData?.selectedAccruedExpensesAccountIds,n.accountMappingLocalData?.previousAccruedExpensesAccount)||Z(n.accountMappingLocalData?.selectedBankAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousBankAccounts1099FilingAccount)||xn(n.accountMappingLocalData?.selectedExpenseAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousExpenseAccounts1099FilingAccount)),Ke=n.fetchState!=="Completed",Ye={onOkClick:()=>{v(!1),R?.(),f.reset()},onCancelClick:()=>{v(!1)}};return t.jsxs(ot,{ref:E,children:[t.jsx(cn,{title:c?m.settings.title.accounting:_.title,onBackClick:R,backgroundColor:O.colors.grey4,showBackButton:!c,showMenuIcon:c?$==="medium-compact"||$==="small":!1,onClickMenuIcon:k,source:"UncategorizedAccountsMappingPage"}),d===!0?t.jsx(sn,{titleComponent:t.jsx(ln,{children:m.confirmationPopup.discardTitle}),descriptionComponent:t.jsx(an,{children:m.confirmationPopup.discardDescription}),primaryButtonText:m.confirmationPopup.discard,secondaryButtonText:m.confirmationPopup.cancel,action:Ye,proceedButtonVariant:"danger"}):null,t.jsxs(it,{windowSize:$,children:[t.jsx(at,{windowSize:$,children:_.subTitle}),Ke===!1?t.jsx(dn,{...f,children:t.jsx("form",{id:Fe(De),onSubmit:Qe,children:t.jsxs(ct,{windowSize:$,children:[Te(S.loggedInUserRole??[])?t.jsx(tt,{sectionId:H,containerRef:E.current,accountMappingView:n}):null,bn(e,S.loggedInUserRoleMap)?t.jsx(kn,{sectionId:ee,containerRef:E.current,accountMappingView:n}):null,fn(e,S.loggedInUserRoleMap)?t.jsx(qn,{sectionId:ne,containerRef:E.current,accountMappingView:n}):null,Te(S.loggedInUserRole??[])?t.jsx(yn,{sectionId:Ge,vendorAccountMappingSection:{accruedExpensesAccountHierarchy:n.accruedExpensesAccountHierarchy,accruedExpensesAccountList:n.accruedExpensesAccountList,accruedExpensesRecommendations:n.accruedExpensesRecommendation,fixedAssetsAccountHierarchy:n.fixedAssetsAccountHierarchy,fixedAssetsAccountList:n.fixedAssetsAccountList,fixedAssetsRecommendations:n.fixedAssetsRecommendation,prepaidExpensesAccountHierarchy:n.prepaidExpensesAccountHierarchy,prepaidExpensesAccountList:n.prepaidExpensesAccountList,prepaidExpensesRecommendations:n.prepaidExpensesRecommendation,selectedAccruedExpensesAccountIds:n.accountMappingLocalData?.selectedAccruedExpensesAccountIds??[],selectedFixedAssetsAccountIds:n.accountMappingLocalData?.selectedFixedAssetsAccountIds??[],selectedPrepaidExpensesAccountIds:n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds??[]},isAccruedExpensesFeatureEnabled:l}):null,o&&wn(S.loggedInUserRoleMap)?t.jsx(rn,{sectionId:x,accountMappingView:n,containerRef:E.current,isSettingsPage:!0}):null]})})}):t.jsx(st,{children:t.jsx(un,{size:"ExtraLarge",start:!0})})]}),Me()===!0?t.jsx(pn,{formId:Fe(De),primaryBtn:{label:m.footer.save,style:{width:"82px"},isLoading:n.saveState.fetchState==="In-Progress",isDisabled:n.saveState.fetchState==="In-Progress"},cancelBtn:{label:m.footer.cancel,style:{width:"82px"},shouldResetOnCancel:!0,onClick:()=>{v(!0)}}}):null,c?null:t.jsx(mn,{isFooterRendered:Me(),meetingUrl:p})]})}const Fe=e=>`${e}_form`,Be=(e,n,o,l,p,c,M,z,R,k,O,$,S)=>{const{accountMappingLocalData:d,incomeRecommendation:v,expenseRecommendation:h,billPayRecommendation:E,reimbursementsRecommendation:F}=e,B=d?.selectedIncomeAccountId===v?.account?.accountId,V=d?.selectedExpenseAccountId===h?.account?.accountId,y=d?.selectedBillPayAccountId===E?.account?.accountId,se=d?.selectedReimbursementsAccountId===F?.account?.accountId,ae=d?.selectedIncomeAccountId!=null?e.incomeAccountList.find(i=>i.accountId===d.selectedIncomeAccountId):void 0,le=d?.selectedExpenseAccountId!=null?e.expenseAccountList.find(i=>i.accountId===d.selectedExpenseAccountId):void 0,de=d?.selectedBillPayAccountId!=null?e.billPayAccountList.find(i=>i.accountId===d.selectedBillPayAccountId):void 0,re=d?.selectedReimbursementsAccountId!=null?e.reimbursementsAccountList.find(i=>i.accountId===d.selectedReimbursementsAccountId):void 0,ue=d?.selectedPrepaidExpensesAccountIds!=null?e.prepaidExpensesAccountList.filter(i=>d.selectedPrepaidExpensesAccountIds.includes(i.accountId)):[],pe=d?.selectedFixedAssetsAccountIds!=null?e.fixedAssetsAccountList.filter(i=>d.selectedFixedAssetsAccountIds.includes(i.accountId)):[],me=d?.selectedAccruedExpensesAccountIds!=null?e.accruedExpensesAccountList.filter(i=>d.selectedAccruedExpensesAccountIds.includes(i.accountId)):[],ge=d?.selectedBankAccounts1099FilingAccountIds!=null?e.bankAccounts1099FilingAccountList.filter(i=>d.selectedBankAccounts1099FilingAccountIds.includes(i.accountId)):[],xe=d?.selectedExpenseAccounts1099FilingAccountIds!=null?d.selectedExpenseAccounts1099FilingAccountIds.map(i=>({accountId:i.accountId??m.strings.empty,tax1099Config:{expenseType1099:i.expenseType??m.strings.empty,type1099:i.type1099??m.strings.empty,boxType:i.boxType??m.strings.empty}})):[];return{[x]:{bankAccount:{selectedOptions:ge.map(i=>i.qboId).filter(i=>i!=null),allOptions:R},expenseCategory1099:xe.map(i=>({accountId:{selectedOption:e.expenseAccounts1099FilingAccountList.find(G=>G.accountId===i.accountId)?.qboId??m.strings.empty,allOptions:k},expenseType:{selectedOption:i?.tax1099Config?.expenseType1099??m.strings.empty,allOptions:O},type1099:{selectedOption:i?.tax1099Config?.type1099??m.strings.empty,allOptions:$},boxType:{selectedOption:i?.tax1099Config?.boxType??m.strings.empty,allOptions:_e(i?.tax1099Config?.type1099??m.strings.empty,S)}}))},[H]:{incomeAccount:{selectedOption:ae?.qboId,allOptions:n},isRecommendedIncomeAccountChecked:B,expenseAccount:{selectedOption:le?.qboId,allOptions:o},isRecommendedExpenseAccountChecked:V},[ee]:{billPayAccount:{selectedOption:de?.qboId,allOptions:l},isRecommendedBillPayAccountChecked:y},[ne]:{reimbursementsAccount:{selectedOption:re?.qboId,allOptions:p},isRecommendedReimbursementsAccountChecked:se},[Ge]:{prepaidExpensesAccount:{selectedOptions:ue.map(i=>i.qboId).filter(i=>i!=null),allOptions:c},fixedAssetsAccount:{selectedOptions:pe.map(i=>i.qboId).filter(i=>i!=null),allOptions:M},accruedExpensesAccount:{selectedOptions:me.map(i=>i.qboId).filter(i=>i!=null),allOptions:z}}}};export{yt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aS as S,V as t,i0 as q,i1 as W,J as P,F as O,cr as L,af as C,cs as U,ct as N,aa as R,ad as H,cT as M,cO as F,y as g,cP as G,p as A,ap as J,T as K,i as Q,o as i,am as X,u as D,ar as Y,bc as Z}from"./index-
|
|
1
|
+
import{aS as S,V as t,i0 as q,i1 as W,J as P,F as O,cr as L,af as C,cs as U,ct as N,aa as R,ad as H,cT as M,cO as F,y as g,cP as G,p as A,ap as J,T as K,i as Q,o as i,am as X,u as D,ar as Y,bc as Z}from"./index-DBvg5JK1.js";import{a as l}from"./sentry-DlWPKrHR.js";import{n as p}from"./mui-CVkStVfi.js";import{bL as ee,bh as te}from"./zeni-epic-state-BeWB6NzA.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="cb857b44-5f57-4bdf-a496-f69543504211",e._sentryDebugIdIdentifier="sentry-dbid-cb857b44-5f57-4bdf-a496-f69543504211")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(D[3],D[2]),width:new g(300,420,420)},ie=p.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{aa as U,fC as b,aS as k,J as M,F as A,cH as H,V as i,ad as W,aR as q,fD as J,o as a,p as K,cU as G,aT as Q,y as x,x as X,R as Y,bc as Z,bb as ee,u as c}from"./index-
|
|
1
|
+
import{aa as U,fC as b,aS as k,J as M,F as A,cH as H,V as i,ad as W,aR as q,fD as J,o as a,p as K,cU as G,aT as Q,y as x,x as X,R as Y,bc as Z,bb as ee,u as c}from"./index-DBvg5JK1.js";import{a as f}from"./sentry-DlWPKrHR.js";import{n as o}from"./mui-CVkStVfi.js";import{ES as te}from"./zeni-epic-state-BeWB6NzA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="569a7581-76ac-4fe5-841f-74ec49793c36",e._sentryDebugIdIdentifier="sentry-dbid-569a7581-76ac-4fe5-841f-74ec49793c36")}catch{}})();const S={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:F,companyOfficer:t,updateStatus:p,onClose:$,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:P,onCompanyOfficerUpdated:T}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,w]=f.useState(!1),[z,N]=f.useState(!1),D=k(p.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},V=Object.values(j??{}).filter(l=>l!=null),B=te(V);f.useEffect(()=>{D==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[D,p,n,t?.additionalFiles]);const r=M(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{B.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(T?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&H(()=>_(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":q("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(oe,{children:i.jsx(se,{children:L})}),i.jsx(J,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:G,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${K.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:O,filesEndPoint:m,authParams:F,hasError:z,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>N(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(Q,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
|
|
2
2
|
margin-top: 19px;
|
|
3
3
|
color: ${e=>e.theme.colors.primary};
|
|
4
4
|
margin-bottom: ${a.sp2};
|
|
@@ -15,7 +15,7 @@ import{aa as U,fC as b,aS as k,J as M,F as A,cH as H,V as i,ad as W,aR as q,fD a
|
|
|
15
15
|
`,oe=o.div`
|
|
16
16
|
padding: ${a.sp3} ${a.sp0};
|
|
17
17
|
`,le=o.div`
|
|
18
|
-
height: ${e=>
|
|
18
|
+
height: ${e=>S.height.valuePx(e.size)};
|
|
19
19
|
`,ne=o(X)`
|
|
20
20
|
cursor: pointer;
|
|
21
21
|
width: ${a.sp4};
|
|
@@ -28,8 +28,8 @@ import{aa as U,fC as b,aS as k,J as M,F as A,cH as H,V as i,ad as W,aR as q,fD a
|
|
|
28
28
|
color: ${e=>e.theme.colors.primary};
|
|
29
29
|
}
|
|
30
30
|
`,re=o.div`
|
|
31
|
-
margin-right: ${e=>
|
|
32
|
-
margin-left: ${e=>
|
|
31
|
+
margin-right: ${e=>S.marginRight.valuePx(e.size)};
|
|
32
|
+
margin-left: ${e=>S.marginLeft.valuePx(e.size)};
|
|
33
33
|
`,de=o.div`
|
|
34
34
|
padding: ${a.sp3} ${a.sp0};
|
|
35
35
|
display: flex;
|
package/dist/assets/{Vendor2FAPopup-DezpDfp8-CgUqUKgv.js → Vendor2FAPopup-DezpDfp8-C3RSYJKE.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aS as i,F as w,V as r,i0 as v,i1 as x}from"./index-
|
|
1
|
+
import{aS as i,F as w,V as r,i0 as v,i1 as x}from"./index-DBvg5JK1.js";import{a as s}from"./sentry-DlWPKrHR.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./zeni-epic-state-BeWB6NzA.js";import"./mui-CVkStVfi.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="8c2bef07-72f6-44ab-8a95-31ae674ad6b1",t._sentryDebugIdIdentifier="sentry-dbid-8c2bef07-72f6-44ab-8a95-31ae674ad6b1")}catch{}})();const G=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:b}=t,f=Object.assign({},m??b),[V,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(v,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(x,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{G as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as p}from"./index-
|
|
1
|
+
import{V as p}from"./index-DBvg5JK1.js";import{a as m}from"./sentry-DlWPKrHR.js";import{f as u}from"./ACHDetailsPage-D2Xav-UW-CNyXc2q1.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./zeni-epic-state-BeWB6NzA.js";import"./mui-CVkStVfi.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";import"./BankAccountWarningSection-CpxVDMSZ-ZxypBLGM.js";import"./MagicLinkTitleSection-BA-i6vzA-B0gxKJAo.js";import"./BankAccountSection-hcKEMs80-DOB-QXa9.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="a15fa08c-96cf-430e-9dc3-7dd5a4b2e965",t._sentryDebugIdIdentifier="sentry-dbid-a15fa08c-96cf-430e-9dc3-7dd5a4b2e965")}catch{}})();const I=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})=>{const{bankAccountCreationState:o,bankNameByRouting:s,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=t;return m.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:s,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})};export{I as default};
|