@zeniai/web-cockpit-ui 1.15.53-qa → 1.15.54-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-D2Xav-UW-_MS3Dbs8.js → ACHDetailsPage-D2Xav-UW-Qg9KmM1J.js} +1 -1
- package/dist/assets/{AIPerformancePage-DlTdGosv-D9K7xeED.js → AIPerformancePage-DlTdGosv-Cm3Mp4Ij.js} +1 -1
- package/dist/assets/{AccountInfoPage-B8-8kUGD-tlC0Bi2R.js → AccountInfoPage-B8-8kUGD-BasVn8pp.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-BS2TBUSE-CM1jjEAn.js → AccountInfoPageContent-BS2TBUSE-CLPMkGHT.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-aukulrV7-7E9I77o3.js → AccountLockedInfoModal-aukulrV7-B3RnytHh.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-BEIicJSf.js → AccountReconDetailsDrawerPage-kQJld6_N-BI4KDB6U.js} +3 -3
- package/dist/assets/{AccountRow-BiEYR4Y1-K1NDuQb6.js → AccountRow-BiEYR4Y1-C9bV-VJJ.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-D2qv7EpN.js → AccountsPromoCardStack-DBQnDPXQ-BC7xAkRe.js} +6 -6
- package/dist/assets/{AddAddressForCardDrawer-DTnfk8K7-CatvMLJa.js → AddAddressForCardDrawer-DTnfk8K7-BreM9Gsb.js} +1 -1
- package/dist/assets/{AddToWalletPage-C4EwdLZJ-Dbo52T5y.js → AddToWalletPage-C4EwdLZJ-VBws5aqc.js} +11 -11
- package/dist/assets/{AgingReportsPage-vAvkUfOS-DOtieopz.js → AgingReportsPage-vAvkUfOS-DFuQAC2I.js} +1 -1
- package/dist/assets/{AllUserItems-qrYg6Gdx-DGLMc4Ea.js → AllUserItems-qrYg6Gdx-B3OIKnJo.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-BRYQMwo2-Bx1uK2ID.js → ApAgingDetailPage-BRYQMwo2-CYZVbNYW.js} +1 -1
- package/dist/assets/{AppBasePage-DrE-W6d7-BLasnT39.js → AppBasePage-DrE-W6d7-CTdjVQGy.js} +1 -1
- package/dist/assets/{AppDrawerContent-ATbZG_cu-B0p0REDy.js → AppDrawerContent-ATbZG_cu-Ddm9lxLJ.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-5MYC1I6k-29gx1_sx.js → ApprovalRulesSettingsPage-5MYC1I6k-Cc66UBZg.js} +6 -6
- package/dist/assets/{ArAgingChart-CuzG9AZY-sMoSQKQM.js → ArAgingChart-CuzG9AZY-zbnvDcY1.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DwRkcLEu-BbH7utAd.js → ArAgingDetailPage-DwRkcLEu-DRFArK6d.js} +1 -1
- package/dist/assets/{AttachmentView-BrQRChzc-BPL0XTAx.js → AttachmentView-BrQRChzc-uiw2DPZW.js} +1 -1
- package/dist/assets/{BankAccountSection-hcKEMs80-BU43XCzu.js → BankAccountSection-hcKEMs80-B_7x03fQ.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CpxVDMSZ-Cd0VrLFE.js → BankAccountWarningSection-CpxVDMSZ-CzExELRC.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-CTp0Zcax.js → BankConnectionsSettingsPage-Bdw1K00m-DccCEkIk.js} +1 -1
- package/dist/assets/{BillDetailPage-D0NLFZXA-BhmSttsy.js → BillDetailPage-D0NLFZXA-CnaW9EO9.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-DZUsIMzm.js → BillPayApprovalRuleDetailPage-DkpCvYvo-CT0Os_Zy.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-BNM0CL1U.js → BillPayApprovalRulesPage-BEqZD0GU-CdjJT8mp.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BMcP4EU5-a_ssGz0T.js → BillPayPromoPage-BMcP4EU5-CfE2_TGE.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-WdEdbf16-TkqOuwgT.js → BillPaySetUpPage-WdEdbf16-BMLL6j3q.js} +1 -1
- package/dist/assets/{BillingSettingsPage-GtRUqSZm-CrfYbiy6.js → BillingSettingsPage-GtRUqSZm-CJIarZd-.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DAUoo9pq-DNap9DWO.js → BillsBulkReviewDrawerPage-DAUoo9pq-DGXSx6AQ.js} +1 -1
- package/dist/assets/{BoxItem-CACRFWG2-BB7KWtP2.js → BoxItem-CACRFWG2-DUMZBWzz.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-9gZbBDL6-BPjZUS_X.js → BusinessVerificationPage-9gZbBDL6-BiZWXFlI.js} +2 -2
- package/dist/assets/{CardNumberSubText-C-oVdziK-DsJNwxlk.js → CardNumberSubText-C-oVdziK-CNdm0o_p.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BhFKSl4p-DfOrkK1f.js → CashbackDetailPage-BhFKSl4p-Dkaiw9E_.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-D8J6HINu-CNRhhw1b.js → ChargeCardDetailPage-D8J6HINu-BHr_Yylr.js} +26 -26
- package/dist/assets/{ChargeCardListPage-tdUKyHdz-CVk9IeAy.js → ChargeCardListPage-tdUKyHdz-BPbUlj_4.js} +1 -1
- package/dist/assets/{ChargeCardListTable-CByk3iqX-BZfvVsAb.js → ChargeCardListTable-CByk3iqX-BT6o3vDc.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-Bm08l8mB.js → ChargeCardPaymentHistoryPage-B8zRcrjo-BwhMfhXy.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-C4cgx2gm-X_f8Uw2k.js → ChargeCardPromoPage-C4cgx2gm-CcfcnQop.js} +14 -14
- package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-D_Cn2vhP.js → ChargeCardSetupPage-DtwiTNKA-ChAdhbCU.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-RetYFPUe.js → ChargeCardStatementsPage-B0KPw52e-CCgT_BKu.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-CREWt2i7.js → CheckDepositDrawerPage-DKNAXI77-C7lds4J9.js} +1 -1
- package/dist/assets/{CollapsableReportTable-Cq8bhaYC-C9u2JLOd.js → CollapsableReportTable-Cq8bhaYC-Ujx1GJOf.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-Diddq3D6.js → CompanyOfficerDetailsSection-Rk0B5cB5-C0IZ5szF.js} +1 -1
- package/dist/assets/{CompanyPassportCard-CHaKk74P-CcDYfW2A.js → CompanyPassportCard-CHaKk74P-BVtbTVag.js} +1 -1
- package/dist/assets/{CompanyPassportPage-DXWXFFKM-6Dbnjn3d.js → CompanyPassportPage-DXWXFFKM-D9MC_Bo-.js} +1 -1
- package/dist/assets/{CompleteProfile-ChaWsK6t-B97QNuLL.js → CompleteProfile-ChaWsK6t-bu0jnc14.js} +1 -1
- package/dist/assets/{ConfettiBurst-CdB5fRMt-CoqJmaBB.js → ConfettiBurst-CdB5fRMt-CIzjwHnv.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-2nYINCi5.js → ConstrainedInnerElement-BeIpAPjB-Cv6zV673.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-DZRxOCTJ.js → CreateOrEditVendorPage-C_8Jqubo-CWou3-7a.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-D4Z9YuFI.js → CreditCardPaymentDrawerPage-lOjOtk28-tK9qUV-H.js} +1 -1
- package/dist/assets/{CurrencySelectField-BDqU4HVy-x6dsjsw1.js → CurrencySelectField-BDqU4HVy-DwEarU92.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DO6NCakm-jfd_UipR.js → CustomerOnboardingActivationPage-DO6NCakm-t-JLGbfV.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-BRE4lysv.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-D4L9yqKc.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-D-s8t6ri.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CbG5WshV-C0cIUA33.js → CustomerOnboardingNoStepsPage-CbG5WshV-gJc5SJgc.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-P_Vvk1ga.js → CustomerOnboardingPage-DyVyf8oK-_9gyCcxN.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-CjetVE6h.js → CustomerOnboardingProductSuitePage-1F3JfCRp-C_uN4HgV.js} +1 -1
- package/dist/assets/{Dashboard-Csggwob0-XGLjB31v.js → Dashboard-Csggwob0-CkKOxFPp.js} +1 -1
- package/dist/assets/{DashboardReportPage-DFIdi_I0-DOBj8BM6.js → DashboardReportPage-DFIdi_I0-B1mTyLry.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C3Ovv-ob-BHKaXSba.js → DashboardSidebarBackgroundAnimation-C3Ovv-ob-B5OP-B4I.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-CYNI8YhK.js → DepositAccTransactionItem-CZ7v1T4S-CQvhxMi2.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-CZ6j7jLe.js → DepositAccTransactionListPage-FldPGX6K-C_uA3w3F.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-BVeDTM8b.js → DomesticWireDetailsPage-C--eZ-UG-Mxsf66Bz.js} +1 -1
- package/dist/assets/{DownloadOverlay-4f9deyJS-EICSDMoH.js → DownloadOverlay-4f9deyJS-BSI2hAvk.js} +1 -1
- package/dist/assets/{DrawerPage-roO3xvRT-M0GBNoWH.js → DrawerPage-roO3xvRT-CGGhEL5F.js} +1 -1
- package/dist/assets/{EditPeoplePage-pi5RclAj-CKnQT0Ux.js → EditPeoplePage-pi5RclAj-pfYPT_VC.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-CIUcImns-CVxoM56o.js → EditReimbursementDetailPage-CIUcImns-DcoVubyD.js} +1 -1
- package/dist/assets/{EntityDetailPage-OTKTVNMD-DMHVkS2a.js → EntityDetailPage-OTKTVNMD-adwqIyWQ.js} +1 -1
- package/dist/assets/{EntitySummarySection-fBL4TZpT-BFju8nQm.js → EntitySummarySection-fBL4TZpT-D7wkgp-a.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-CxNxg9dU.js → ExpenseAutomationOverviewPage-CnhNINCc-Dli7RRLy.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-BDLCJbFw-KqztxljN.js → ExpenseAutomationPage-BDLCJbFw-1KO3CMej.js} +1 -1
- package/dist/assets/{ExpressPayPage-c8oTCnBR-B-HoySFx.js → ExpressPayPage-c8oTCnBR-BXmzf5Uy.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-DkiAajs2-BJcd_edm.js → FeaturePreviewPage-DkiAajs2-IydRKNFw.js} +1 -1
- package/dist/assets/{FollowStepsSection-GaWu1kt9-Dac8UX-h.js → FollowStepsSection-GaWu1kt9-BVHL41Jb.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DEzj0RVG-BWMVJIHc.js → GlobalReviewListPage-DEzj0RVG-nBOLLb61.js} +1 -1
- package/dist/assets/{InformationCardStack-dMFbHUWM-G7a-UMJS.js → InformationCardStack-dMFbHUWM-C2wRbB6p.js} +1 -1
- package/dist/assets/{InsightsCardStack-BlXkyuyz-7zwNqnyc.js → InsightsCardStack-BlXkyuyz-B4OX5_7l.js} +1 -1
- package/dist/assets/{InsightsSection-D-oCmrir-zwdAlcVd.js → InsightsSection-D-oCmrir-BSx2VeKU.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-D-hfghuq-BVcofzzj.js → IntegrationsSettingsPage-D-hfghuq-Bp-0H88m.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-BAhiCZtA.js → InternationalWireSwiftDetailsPage-DxdKE300-DHFTD16I.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-CkSmhOrS-DEyLBA5A.js → InternationalWireVerificationPage-CkSmhOrS-CVsCnKKl.js} +1 -1
- package/dist/assets/{InviteFormPage-BCdalqtP-DvWknn44.js → InviteFormPage-BCdalqtP-DKh7L2Sm.js} +1 -1
- package/dist/assets/{InvitePageListView-B88FW48q-Bm3QF_Yx.js → InvitePageListView-B88FW48q-CXkqQYlA.js} +1 -1
- package/dist/assets/{InvitePeoplePage-Z-2L7lWc-DFev5HvB.js → InvitePeoplePage-Z-2L7lWc-CK4VlvZI.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-C8hytmay-B9oVp1v8.js → InvoiceUploadSection-C8hytmay-BLOWx67x.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-B6wmvbEr-Bl83LR42.js → IssueChargeCardPage-B6wmvbEr-DXeeJUlY.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CQrDCgNs-ngfVs4C6.js → LabeledAddressValue-CQrDCgNs-pzINZxmu.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BoHS44YO-Bob3pkds.js → LabeledAddressValueField-BoHS44YO-DTrVpXEk.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BsFqjCpn-CKjTDhsz.js → LabeledControlledCheckBoxField-BsFqjCpn-D3fNKAIX.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-pKkP60Kn.js → LabeledCountryMultiSelectField-D1fVDYR_-CyehacHQ.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-CCFbRNWN.js → LabeledCreatableSingleSelectField-Bhka-Faj-j-LA5cB8.js} +1 -1
- package/dist/assets/{LabeledDocumentField-CnRk5aKZ-CWrIkusZ.js → LabeledDocumentField-CnRk5aKZ-BLPH0bCm.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-BeTvOZvm.js → LabeledDropDownFormattedTextField-ChgtJqPr-iLOroUl9.js} +1 -1
- package/dist/assets/{LabeledText-2EDpuXZ4-BfAHyQUy.js → LabeledText-2EDpuXZ4-D9Lc7z1n.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-Ca3kyKh2.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-BU13Lrvj.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-CWb7Poua.js → LabeledZeniRolesDropDownField-CpH0eDWO-Cxup6JwI.js} +8 -8
- package/dist/assets/{LinkJETransactionPage-BhV2MnCY-B93FExBV.js → LinkJETransactionPage-BhV2MnCY-DFTRCWhL.js} +1 -1
- package/dist/assets/{LockCardPage-CHv1xi2J-D9zH1CYi.js → LockCardPage-CHv1xi2J-BWG37HMS.js} +6 -6
- package/dist/assets/{LowBalancePopup-Cb55PGLc-DJaQ2d7B.js → LowBalancePopup-Cb55PGLc-C8NZMVGO.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-Dnp01hnF-DLEv4Hck.js → MagicLinkACHDetailsPage-Dnp01hnF-4f89SlZa.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B36rsikS-ByxlZ4Q4.js → MagicLinkDomesticWireDetailsPage-B36rsikS-LLMqNHY7.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-Zo4oNZez-DuN7y5fH.js → MagicLinkInternationalWireDetailsPage-Zo4oNZez-DDiVUQRg.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-09NLbjFG-ZnMng-Jj.js → MagicLinkSuccessPage-09NLbjFG-CW-X5RMu.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-_69P063R.js → MagicLinkTitleSection-BA-i6vzA-CYBavCDH.js} +1 -1
- package/dist/assets/{MailingDetailsSection-EwtoQ2TZ-ifrSOG66.js → MailingDetailsSection-EwtoQ2TZ-LI0y4mBJ.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-BE-Q6nRH.js → MyBankConnectionsSettingsPage-Aer6AWxY-CuyPBRvz.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-Ddy4bAEY-Di4ZO52Y.js → MyPendingActivationChargeCardListPage-Ddy4bAEY-CWM80C9z.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-DMz-6h9F-CuhazKF_.js → MyProfileSettingsPage-DMz-6h9F-CeEAIQ0T.js} +1 -1
- package/dist/assets/{NavBarWithPicker-D8WNahg--kgpFMbZJ.js → NavBarWithPicker-D8WNahg--ZQJt0jhX.js} +1 -1
- package/dist/assets/{NavigationArrow-kQWS5Pzb-Bn2gzJsz.js → NavigationArrow-kQWS5Pzb-Bmz73CyZ.js} +1 -1
- package/dist/assets/{NavigationDots-BQb_Fodq-C676OOhh.js → NavigationDots-BQb_Fodq-DGHg-XPw.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-z86XZorn-BI7ZaiJs.js → NewGlobalMerchantPage-z86XZorn-72MLj5sA.js} +1 -1
- package/dist/assets/{NoDataChart-CyYJ6icu-UFnH1bQE.js → NoDataChart-CyYJ6icu-BGrJ0dxK.js} +1 -1
- package/dist/assets/{NoDataTable-DVe7sQhD-ugfGxCQf.js → NoDataTable-DVe7sQhD-D01UQalg.js} +1 -1
- package/dist/assets/{NotFoundPage-B1XCmhSe-DebnEALd.js → NotFoundPage-B1XCmhSe-ClJov-vk.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BaN20EGV-CxWiSCH2.js → NotificationSettingsPage-BaN20EGV-CRbziqST.js} +12 -12
- package/dist/assets/{NotificationsListConfig-BOW_TmPC-Cu2orVJH.js → NotificationsListConfig-BOW_TmPC-D3PYkPzl.js} +1 -1
- package/dist/assets/{NotificationsPage-C9efAgjo-bD9M0hhw.js → NotificationsPage-C9efAgjo-RjPyyT0q.js} +1 -1
- package/dist/assets/{OpExByVendorPage-DXeBU3-z-Bu6l0TiB.js → OpExByVendorPage-DXeBU3-z-DOskH6tO.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-Dxo8qiAq.js → OverlayContainerPage-D4QU0p4o-DfcYfj9I.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CXtJhnA_-Vc_lT7Bs.js → PandLWithForecastPage-CXtJhnA_-DiIco4Yi.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-kTC9f4zM.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-VwXepOfB.js} +1 -1
- package/dist/assets/{PeoplePage-DXC2CtOt-jglRXuAU.js → PeoplePage-DXC2CtOt-Bdp4QywP.js} +13 -13
- package/dist/assets/{Preview-DLSswg8i.js → Preview-C_scJ0LA.js} +1 -1
- package/dist/assets/{ProductsCarousel-ufZlh7Rx-QxXMcnzU.js → ProductsCarousel-ufZlh7Rx-CVm981GO.js} +1 -1
- package/dist/assets/{PromoBaseCards-D2UbhBhT-CKuo_xyF.js → PromoBaseCards-D2UbhBhT-uOFnp-4I.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BrQ71F06-BxGAQN3l.js → QBOConnectionDialog-BrQ71F06-AzQWwAtU.js} +1 -1
- package/dist/assets/{QBOSetupSection-EOFscEW--caOZ4mOT.js → QBOSetupSection-EOFscEW--NVc0ejxZ.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-C-HPI4Ng-HGqK4_6T.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-D-iB_52F.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-BDImgN8u.js → ReimbursementApprovalRulesPage-CMpYn5y_-ClImBwJb.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CfmICHZb-DCELL3Jj.js → ReimbursementDetailPage-CfmICHZb-elcZOrMn.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-DXTAY8c7-DVYIUiIc.js → ReimbursementPromoPage-DXTAY8c7-7C3gCnRu.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-DljBAjp7.js → ReimbursementSetUpPage-KrGPXTCb-DQ-XytVS.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-l2mYNEKn-Br80Kz3u.js → ReimbursementsBulkReviewDrawerPage-l2mYNEKn-CZfr1E1q.js} +1 -1
- package/dist/assets/{ReloadCard-vAhL7B8U-Cgus7erx.js → ReloadCard-vAhL7B8U-C7D11pQg.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-Y97ney3W-D7F8Figc.js → ReportTableViewSelector-Y97ney3W-jWWgIP_J.js} +1 -1
- package/dist/assets/{ReportsPage-DKM0gVzR-nmSyduXP.js → ReportsPage-DKM0gVzR-sNMocqQY.js} +1 -1
- package/dist/assets/{RevenueChart-BEjDS1u4-CSVYKV0y.js → RevenueChart-BEjDS1u4-C3yac_pt.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-BlQLrN9z-BnfRtnTo.js → ReviewDetailsPage-BlQLrN9z-Dh8B7Ysm.js} +6 -6
- package/dist/assets/{ReviewOverlay-Bn3TFqfi-fhFFeQ61.js → ReviewOverlay-Bn3TFqfi-D6E2loSx.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DhBFvJea-gODf7-hE.js → RoleWithToolTip-DhBFvJea-Dgz4vQkX.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-k5-sEVqH.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-DwpSWYLV.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-CAXsoeUv.js → ScheduleDetailsPage-BP0wdtoP-CjgxsIYK.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-D-rZ4ftr-kGWch2W0.js → ScheduleSequenceTable-D-rZ4ftr-aitk-8Mk.js} +1 -1
- package/dist/assets/{ScreenRoutes-BrIM8A1p.js → ScreenRoutes-BLEdjKb7.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CoVrSSYL-BirtNl9h.js → SetUpAccountSection-CoVrSSYL-DiujdYoE.js} +1 -1
- package/dist/assets/{SignIn-BoAejo7r-DhkZ2CuU.js → SignIn-BoAejo7r-PuJlj8Mq.js} +6 -6
- package/dist/assets/{SignInScreen-q7f54phH.js → SignInScreen-B_VXRHI7.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-D3eISFuA-CJycx0Zc.js → SpendManagementListViewPage-D3eISFuA-COuHisVc.js} +7 -7
- package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-BUgMzHX3.js → SpendManagementPerTabPage-BWDjZyLp-RbFC5Do1.js} +34 -34
- package/dist/assets/{SpendManagementSection-D8rBpC-y-Lugdskyo.js → SpendManagementSection-D8rBpC-y-DQQhx2Xa.js} +7 -7
- package/dist/assets/{StatementItem-Cu6dlAsl-DerHhv3i.js → StatementItem-Cu6dlAsl-BerGXuRv.js} +1 -1
- package/dist/assets/{StatementsPage-DiY2BOcu-DFQww83X.js → StatementsPage-DiY2BOcu-BxFY6ioB.js} +1 -1
- package/dist/assets/{StatusSwitcher-B9MARTyR-Bd4MBQeV.js → StatusSwitcher-B9MARTyR-DmEculcy.js} +1 -1
- package/dist/assets/{SubTabSwitcher-C3rtSwro-BFXLgQG1.js → SubTabSwitcher-C3rtSwro-CD-oYAPp.js} +1 -1
- package/dist/assets/{SummaryCard-CShVbqhj-g8V_c36y.js → SummaryCard-CShVbqhj-C6jVeTIc.js} +1 -1
- package/dist/assets/{TaskManagementPage-RVS8nv0n-sq8H_E-9.js → TaskManagementPage-RVS8nv0n-COwnCLsL.js} +13 -13
- package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-BmsC8wpz.js → TimeRangeSwitcher-DFnX6_WT-BAyfgggy.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-CW08yYgo-Byy81mMi.js → TimeframeSwitcher-CW08yYgo-8vdqQbDR.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DJOCWqpZ-BP_yz81G.js → TimeframeSwitcherWithToggle-DJOCWqpZ-utPOZmzZ.js} +1 -1
- package/dist/assets/{TopExCard-dI_WEGWb-DHrASS4Q.js → TopExCard-dI_WEGWb-DQ0a1B-p.js} +1 -1
- package/dist/assets/{TopExDetailPage-BWy5E8Lp-DosxAD6z.js → TopExDetailPage-BWy5E8Lp-CH3uXpM1.js} +1 -1
- package/dist/assets/{TransactionActivityLogPage-DjhEIUYm-CTSUyijq.js → TransactionActivityLogPage-DjhEIUYm-B9IfdM5q.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CuxqQd8U-Dt1rWnVY.js → TransactionDetailPage-CuxqQd8U-C7HaHQgc.js} +1 -1
- package/dist/assets/{TransactionList-80KjM8Kg-BHuPkwXo.js → TransactionList-80KjM8Kg-yWcw7Xvy.js} +1 -1
- package/dist/assets/{TransactionListBig-DWQXH4ID-B3DGuMye.js → TransactionListBig-DWQXH4ID-DwDp-KdB.js} +4 -4
- package/dist/assets/{TransactionListPage-DC08rCC9-Bhjoj0pu.js → TransactionListPage-DC08rCC9-D3Cy0p7j.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-DueE_9zr.js → TransactionVendorDetailPage-CzfJ5b_3-BoWlXDih.js} +1 -1
- package/dist/assets/{TransferDrawerPage-6z-MoZZP-BlfKQ7hb.js → TransferDrawerPage-6z-MoZZP-Bu91SQjn.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CF_ter0o-BgOTd3mX.js → TreasuryOverviewPage-CF_ter0o-C4V908yo.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-Do-PTcjI-hteu9yQt.js → TreasuryPromoPage-Do-PTcjI-BhpVWXqG.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-l_HC4zsb-CTgkSfj0.js → TreasuryStatementsPage-l_HC4zsb-OlwbyynI.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-B8YxWytK-D64UM-OT.js → TreasuryTaxLetterPage-B8YxWytK-D7CPKEkg.js} +1 -1
- package/dist/assets/{TrendChart-C6B61CAm-bXXragiZ.js → TrendChart-C6B61CAm-siwog8qJ.js} +1 -1
- package/dist/assets/{TrendWithTransactions-Bp3vhaPa-ZS_RG_DW.js → TrendWithTransactions-Bp3vhaPa-e76VZDlM.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-tfpQdIjx.js → UncategorizedAccountsMappingPage-cbFqKAv4-_N19TXgF.js} +6 -6
- package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-Bjt3mIfH.js → UnitIntegrationPage-DZ0ZpE5p-C8dxwLt9.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BKY6hK51-BjoPNevN.js → UploadAdditionalDocumentOverlay-BKY6hK51-y-fz9noY.js} +4 -4
- package/dist/assets/{Vendor2FAPopup-DezpDfp8-RFvPiWDa.js → Vendor2FAPopup-DezpDfp8-wvjmetSL.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-C8TWKYfc-BrQZEG-V.js → VendorACHDetailsPage-C8TWKYfc-CLh_He1D.js} +1 -1
- package/dist/assets/{VendorDetailPage-C4g_Gfsl-cfzvYJ9k.js → VendorDetailPage-C4g_Gfsl-gAl6AQiQ.js} +9 -9
- package/dist/assets/{VendorDomesticWireDetailsPage-BhJQ-Vmn-DAqfYhFQ.js → VendorDomesticWireDetailsPage-BhJQ-Vmn-CXw-nX5E.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-D079pRbJ.js → VendorFiling1099EditablePage-Ckt2MiVN-BwmhSJwI.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-CIKRaTax-ruTov0yD.js → VendorFirstReviewPage-CIKRaTax-CoRAyvQo.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-BvzGzcpv.js → VendorInternationalWireDetailsPage-Dz8mMD8d-DyxRi8OU.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-XcV7Ot44-BWIFx2bC.js → VendorInternationalWireSwiftDetailsPage-XcV7Ot44-Br-V9Ms7.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BT-RADSV-CKh-nWLp.js → VendorsAccountsSection-BT-RADSV-Cggl-rQg.js} +1 -1
- package/dist/assets/{VerifyDevice-Cxc9CVMi-rFyBi4Y7.js → VerifyDevice-Cxc9CVMi-BfmCJlPA.js} +1 -1
- package/dist/assets/{VideoPlayer-9UkKMhGy-DLo10Ipx.js → VideoPlayer-9UkKMhGy-B3TbligX.js} +2 -2
- package/dist/assets/{VideoPopup-rfiYmtio-DqZb38Wf.js → VideoPopup-rfiYmtio-DTzyP3EH.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-DrUA4asI-yVycA0Ua.js → WarningsDrawerPage-DrUA4asI-CGOd9KLu.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-K016HgQt-CH_u5tmb.js → ZeniAccountDetailPage-K016HgQt-CHQYyMvD.js} +7 -7
- package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-BeTnaRlR.js → ZeniAccountListViewPage-1oZZynB1-B8wIFo45.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-C6Oicpue-Crw_LmUH.js → ZeniAccountNavBarPieces-C6Oicpue-CWA-3mz6.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-oDx3xq8Z.js → ZeniAccountPromoPage-BCgys-YM-CDo3p8GM.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-BubBgkoa-BUflxDEA.js → ZeniAccountSetupPage-BubBgkoa-pxnHtdbo.js} +1 -1
- package/dist/assets/{ZeniCopyright-BxIwmms--C8fQjezy.js → ZeniCopyright-BxIwmms--CI9yS63f.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DVJ0puXA-DflfdXEj.js → ZeniTransferAmountSlider-DVJ0puXA-CBa-WxKr.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-DrzGEZUO.js → add-to-wallet-DgdBD8_G-UcbWekjH.js} +1 -1
- package/dist/assets/{analytics-BB7e_ruj.js → analytics-T3rNNQ2m.js} +1 -1
- package/dist/assets/{analyticsHelper-CT5zOInj-CLTaCUMK.js → analyticsHelper-CT5zOInj-DoqyoFKO.js} +1 -1
- package/dist/assets/{analyticsHelper--QOmPWcZ.js → analyticsHelper-Dwo-ncj8.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DYD4P8U3.js → arrow-south-east-round-PEovUgvH-olgOFIka.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Cx19s1IV.js → auto-transfer-rule-mbafm5D3-OAp9gfx6.js} +1 -1
- package/dist/assets/{chartTypes-Ddw_3-6f-Csaj7V69.js → chartTypes-Ddw_3-6f-CfWoV01X.js} +1 -1
- package/dist/assets/{commonDimensions-ClmbdehE-C4kq5775.js → commonDimensions-ClmbdehE-CI63aI0W.js} +1 -1
- package/dist/assets/{commonTypes-B-foaEwJ-CFGkbWWX.js → commonTypes-B-foaEwJ-DW3G1NS6.js} +1 -1
- package/dist/assets/{constants-WZhEa7dG.js → constants-C6THrgLW.js} +1 -1
- package/dist/assets/{core-ynj-rcGI.js → core-Cgphrdqi.js} +1 -1
- package/dist/assets/{dash.all.min-CbTBF1nm.js → dash.all.min-CO8eAuLp.js} +1 -1
- package/dist/assets/{detailCommon-Cpgf9GLg-BT_EhNYu.js → detailCommon-Cpgf9GLg-CZXpr6Ou.js} +1 -1
- package/dist/assets/{downloadPdf-DfRYmfsd-B_VLkj-_.js → downloadPdf-DfRYmfsd-BofmxfcJ.js} +1 -1
- package/dist/assets/{empty-ghkwToUg.js → empty-BwSS8C26.js} +1 -1
- package/dist/assets/{empty-DOnnW6ps.js → empty-C8tkeh8X.js} +1 -1
- package/dist/assets/{epic-n7OsXwIY.js → epic-25jnn6zT.js} +2 -2
- package/dist/assets/{gift-box-Cmt9OgIZ-IkS_PRlU.js → gift-box-Cmt9OgIZ-DbPQXtKu.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-B-vjfNa1.js → graphic-no-data-l-DU4J8fDt-BCQF8DO3.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C-Lgg2zB.js → graphic-no-data-net-burn-l-CzmycA0m-C6bp_xvO.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B3_wZwig.js → handshake-BPg58FML-CXWtMOZc.js} +1 -1
- package/dist/assets/{helper-DP3YY99s-Ba64ClTl.js → helper-DP3YY99s-D-PL5wk1.js} +1 -1
- package/dist/assets/{index-BTLnMSBu.js → index--_rdliV7.js} +1 -1
- package/dist/assets/{index-BjiMkPNd.js → index-Bh4f2Teb.js} +1 -1
- package/dist/assets/{index-WBPDS3-Z.js → index-CDUn2Emk.js} +1 -1
- package/dist/assets/{index-BkgFwDrN.js → index-CE4a3GDT.js} +7 -7
- package/dist/assets/{index-Ct14P_QF.js → index-C_6Z7efJ.js} +1 -1
- package/dist/assets/{index-BEy87smT.js → index-D3PatgcD.js} +1 -1
- package/dist/assets/{index-v6BtqX9b.js → index-DMJM1J8R.js} +1 -1
- package/dist/assets/{lexical-f2bgmP7p.js → lexical-B-NT_OOU.js} +1 -1
- package/dist/assets/{liveblocks-Fce3U47w.js → liveblocks-mJOf9rAw.js} +1 -1
- package/dist/assets/{lottie-DfQwbfZe.js → lottie-CH7yL4lR.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-C0YIUOnb-pGmyZ5k8.js → mapLoadingInProgressToTreeNode-C0YIUOnb-DtMCCLe4.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-BcM0_MMx.js → mapSectionWithAcOnlyToTreeNode-QJI_OYzu-Bc99xQK8.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DKDsz0vw-DrfhqLUC.js → mapSpacerToTreeNode-DKDsz0vw-C00tHB1T.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DqDJAeAj-D90hoIRT.js → mapTimeframeBalancesToTreeNode-DqDJAeAj-Bb2v0uWi.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-J3b1nb_T-DJ4YBp4i.js → mapTimeframeBalancesToTreeNode-J3b1nb_T-C60OkAbY.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-Dn_bFC9p.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-COXJNYz6.js} +1 -1
- package/dist/assets/{mui-B8eJ9Mf-.js → mui-4aI62okM.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DHzFrl8D.js → page-detail-CWX5S47F-DNNHDs11.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-CiHp6UKy.js → panelSelectedMixin-CzfD5-Zs-C5j9Taxu.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-DJRkcPvg.js → radio-default-CiSgisfh-DBK2UBgp.js} +1 -1
- package/dist/assets/{react-CFlKsGqS.js → react-14tgf1ik.js} +1 -1
- package/dist/assets/{react-KPbq6YvL.js → react-B4F47UeE.js} +1 -1
- package/dist/assets/{react-DGuEmiZJ.js → react-Bx8qq35O.js} +1 -1
- package/dist/assets/{react-X8-6TOPN.js → react-BxtZMNkY.js} +2 -2
- package/dist/assets/{react-1AASI5B3.js → react-D2-N_PY-.js} +1 -1
- package/dist/assets/{react-dxyEk0M0.js → react-pcnMIbV9.js} +1 -1
- package/dist/assets/{react-BmpaTIjZ.js → react-tQd3sk8G.js} +1 -1
- package/dist/assets/{react-DTkKR0hX.js → react-uhreOVUJ.js} +1 -1
- package/dist/assets/{recharts-DcXbW3wD.js → recharts-D-YAfDZj.js} +1 -1
- package/dist/assets/{sentry-DG5QSuAU.js → sentry-wpLc0w9b.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CPsw4sab.js → shield-DOlUxcFf-DeyPctcI.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-AzKAZ-Cv-CCwxF2fh.js → toCOABalancesWithID-AzKAZ-Cv-CQOX84Xq.js} +1 -1
- package/dist/assets/toChartData-BEjMhb7--hwFvZNwn.js +1 -0
- package/dist/assets/{uploadAttachment-DUpHzqMe-CZ5MQPFU.js → uploadAttachment-DUpHzqMe-DfPSBMVO.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-9bGZSaw_.js → uploadReceipts-Dge0cNF1-CG_JuBSh.js} +1 -1
- package/dist/assets/{url-D76wlScu.js → url-cU6drSVy.js} +1 -1
- package/dist/assets/{url-bzK3lhiJ.js → url-vFuKL29u.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DXAzB75a.js → useLongPress-GCK2COYQ-DYzZ4MNW.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-lgGVTPyO.js → usp-line-BBd1wKwW-Sh2YvFJY.js} +1 -1
- package/dist/assets/{utils-BaLrPeRI.js → utils-DCLZL4US.js} +1 -1
- package/dist/assets/{zeni-epic-state-DJMVsfEo.js → zeni-epic-state-BwFYSQY8.js} +6 -6
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-CfrOyVnL.js +0 -1
- package/dist/assets/toChartData-BEjMhb7--DYoES1lW.js +0 -1
package/dist/assets/{ACHDetailsPage-D2Xav-UW-_MS3Dbs8.js → ACHDetailsPage-D2Xav-UW-Qg9KmM1J.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as _,aa as E,F as w,cH as W,V as n,cr as H,cs as V,ct as F,ad as O,aT as J,y as r,e_ as K,b9 as Q,o as U,u as t}from"./index-
|
|
1
|
+
import{J as _,aa as E,F as w,cH as W,V as n,cr as H,cs as V,ct as F,ad as O,aT as J,y as r,e_ as K,b9 as Q,o as U,u as t}from"./index-CE4a3GDT.js";import{a as k}from"./sentry-wpLc0w9b.js";import{n as u}from"./mui-4aI62okM.js";import{W as q,A as G}from"./BankAccountWarningSection-CpxVDMSZ-CzExELRC.js";import{M as X}from"./MagicLinkTitleSection-BA-i6vzA-CYBavCDH.js";import{e as Y}from"./BankAccountSection-hcKEMs80-B_7x03fQ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="e0547d6b-60dc-4e65-8b05-6b0b1a7112bc",e._sentryDebugIdIdentifier="sentry-dbid-e0547d6b-60dc-4e65-8b05-6b0b1a7112bc")}catch{}})();const a={paddingTopBottomContainer:new r(t[3],t[3]),paddingLeftContainer:new r(t[3],t[6]),paddingRightContainer:new r(t[3],t[8]),sectionTitleMarginLeft:new r(t[4],t[6]),sectionTitleMarginTop:new r(12,t[3]),buttonWidth:new r(140,140)},T="achDetailsPage",p="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:x,style:S,onSaveHandler:B,onBackClick:h,onACHDetailsUpdated:N,onFetchBankName:j,isMagicLink:m,companyName:v,currencySymbol:D,amount:P,bankAccountContext:$})=>{const c=_(),i=E({mode:"onBlur",reValidateMode:"onChange",defaultValues:k.useMemo(()=>Z(o),[o])}),[z,b]=k.useState(!1),l=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=l,L={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},M=async(f,d)=>{const s=d[p].bankRoutingNumber;N(d),f===`${p}.bankRoutingNumber`&&s?.length===9&&K.test(s)===!0&&j?.(s)};k.useEffect(()=>{const f=i.watch((d,{name:s})=>{s!=null&&d!=null&&W(()=>M(s,d))});return()=>{f.unsubscribe()}});const R=i.handleSubmit(f=>{g.fetchState!=="In-Progress"&&B("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:S,size:c,children:[z===!0?n.jsx(H,{titleComponent:n.jsx(F,{children:l.discardTitle}),descriptionComponent:n.jsx(V,{children:l.discardDescription}),primaryButtonText:l.discard,secondaryButtonText:l.cancel,action:L}):null,n.jsx(q,{header:m?n.jsx(X,{companyName:v??"",currencySymbol:D??"",amount:P??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:b}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(G,{warningText:y.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:c,children:C.title}),n.jsx(ie,{children:n.jsx(O,{...i,children:n.jsx("form",{id:A(T),onSubmit:R,children:n.jsx(ee,{size:c,children:n.jsx(Y,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:p,isDisabled:x})})})})})]}),n.jsx(J,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(c)},isDisabled:x!=null},showCancel:!m,cancelBtn:{label:I.cancel,style:{width:a.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Z=e=>({[p]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=u.div`
|
|
2
2
|
padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
|
|
3
3
|
padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
|
|
4
4
|
padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as u,a9 as y1,J as M,F as j,cf as j1,V as C,bV as $1,o as r,aR as v1,b as D,cm as b1,ki as V,u as n,bR as g,dv as h1,p as d,a8 as S1,b5 as p1,d as m1,kj as f,aj as x,kk as Z1,kl as B1,as as S,R as K,b9 as Q,an as F1,km as W1,dQ as _1,g6 as D1,ck as u1,am as H1}from"./index-
|
|
1
|
+
import{y as u,a9 as y1,J as M,F as j,cf as j1,V as C,bV as $1,o as r,aR as v1,b as D,cm as b1,ki as V,u as n,bR as g,dv as h1,p as d,a8 as S1,b5 as p1,d as m1,kj as f,aj as x,kk as Z1,kl as B1,as as S,R as K,b9 as Q,an as F1,km as W1,dQ as _1,g6 as D1,ck as u1,am as H1}from"./index-CE4a3GDT.js";import{a as e}from"./sentry-wpLc0w9b.js";import{n as o,c as P1,k as V1}from"./mui-4aI62okM.js";import{Gq as E,Gr as e1,Gs as F}from"./zeni-epic-state-BwFYSQY8.js";import{R as T1}from"./NavBarWithPicker-D8WNahg--ZQJt0jhX.js";import{F as k1,X as x1,Y as I,I as z1,J as O1,G as t1}from"./recharts-D-YAfDZj.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.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]="ba9a2761-b886-4b36-bf33-a4a259f9900f",t._sentryDebugIdIdentifier="sentry-dbid-ba9a2761-b886-4b36-bf33-a4a259f9900f")}catch{}})();const C1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},R1=o.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
border: 1px solid ${t=>t.theme.colors.grey3};
|
package/dist/assets/{AccountInfoPage-B8-8kUGD-tlC0Bi2R.js → AccountInfoPage-B8-8kUGD-BasVn8pp.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as y,J as x,V as t,gT as b,o as r,y as d,hF as D,u as i}from"./index-
|
|
1
|
+
import{d as y,J as x,V as t,gT as b,o as r,y as d,hF as D,u as i}from"./index-CE4a3GDT.js";import{a as $}from"./sentry-wpLc0w9b.js";import{n as o}from"./mui-4aI62okM.js";import{K as A}from"./StatusSwitcher-B9MARTyR-DmEculcy.js";import{r as P}from"./AccountInfoPageContent-BS2TBUSE-CLPMkGHT.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./zeni-epic-state-BwFYSQY8.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";import"./downloadPdf-DfRYmfsd-BofmxfcJ.js";import"./commonDimensions-ClmbdehE-CI63aI0W.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]="905a0286-ab74-4a3d-afcf-a0cea2c4ff82",e._sentryDebugIdIdentifier="sentry-dbid-905a0286-ab74-4a3d-afcf-a0cea2c4ff82")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},q=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:f,currentTenant:u,onDismissClick:g})=>{const p=y(),c=x(),[l,m]=$.useState("achDetails"),w=h=>{m(h)};return t.jsxs(z,{children:[t.jsx(b,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:g}),t.jsx(v,{windowSize:c,children:a.accountName}),t.jsx(S,{children:t.jsx(A,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(T,{windowSize:c,children:t.jsx(P,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:u,depositAccount:a})})]})},T=o.div`
|
|
2
2
|
padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
3
|
padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
4
|
`,z=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as je,h1 as Ae,hG as W,V as r,bV as z,T as Se,aR as L,o as a,b9 as Te,F as ve,c5 as De,p as E,aj as re,h as Ce,h4 as ze,am as ae}from"./index-
|
|
1
|
+
import{J as je,h1 as Ae,hG as W,V as r,bV as z,T as Se,aR as L,o as a,b9 as Te,F as ve,c5 as De,p as E,aj as re,h as Ce,h4 as ze,am as ae}from"./index-CE4a3GDT.js";import{a as s}from"./sentry-wpLc0w9b.js";import{n as t}from"./mui-4aI62okM.js";import{w as Le}from"./downloadPdf-DfRYmfsd-BofmxfcJ.js";import{o as _e}from"./commonDimensions-ClmbdehE-CI63aI0W.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="bb0fc771-922e-43b8-a76c-2791b2466797",e._sentryDebugIdIdentifier="sentry-dbid-bb0fc771-922e-43b8-a76c-2791b2466797")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:F},billPay:{vendorCreation:{achDetails:o}},downloads:K}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:c,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,R]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,M]=s.useState(!1),[w,P]=s.useState(!1),[j,V]=s.useState(!1),[A,q]=s.useState(!1),[S,G]=s.useState(!1),[T,O]=s.useState(!1),[v,U]=s.useState(!1),[$,B]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=W(u.zeniAccountsConfigDetail.mailingAddress).text2,m=W(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{M(!1),O(!1),U(!1),B(!1),G(!1),q(!1),V(!1),P(!1)},1200)},[h,T,v,$,S,A,j,w]);const H=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":ue(n);break;case"beneficiaryName":fe(n);break;case"beneficiaryAddress":pe(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
|
|
2
2
|
|
|
3
3
|
${o.accountTypeLabel} ${c.accountSubType.name??""}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as g,F as c,V as t,am as x,bc as l,i as b,o,p,ar as y,b$ as j,c0 as $,c1 as w,bU as k}from"./index-
|
|
1
|
+
import{d as g,F as c,V as t,am as x,bc as l,i as b,o,p,ar as y,b$ as j,c0 as $,c1 as w,bU as k}from"./index-CE4a3GDT.js";import{n as r}from"./mui-4aI62okM.js";import{t as v}from"./handshake-BPg58FML-CXWtMOZc.js";import"./sentry-wpLc0w9b.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./zeni-epic-state-BwFYSQY8.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="e2b9d2a5-2a78-49d6-95bb-daf26af7dc7b",e._sentryDebugIdIdentifier="sentry-dbid-e2b9d2a5-2a78-49d6-95bb-daf26af7dc7b")}catch{}})();const m="support@zeni.ai",n=c.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),u=e.format(c.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),f=e.format(c.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(C,{children:n.accountLockedTitle}),t.jsxs(D,{children:[t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(A,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(z,{})}),t.jsxs(l,{children:[n.tryAgainAfter,t.jsxs(L,{children:[u,t.jsx(_,{children:"•"}),f]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(F,{})}),t.jsxs(l,{children:[n.accountLockedContactMessage,t.jsx(I,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(T,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const S=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aa as fe,fE as xe,V as t,ad as ye,cr as ge,cs as je,ct as Se,o as c,a as $e,b9 as Q,an as X,x as
|
|
1
|
+
import{aa as fe,fE as xe,V as t,ad as ye,cr as ge,cs as je,ct as Se,o as c,a as $e,b9 as Q,an as X,x as ke,ab as be,dP as ve,eX as we,d6 as q,dy as Z,F as Ce,am as d,d as Ee,aP as Pe,by as ee,dS as te,au as Re,p as ne,h as Ie}from"./index-CE4a3GDT.js";import{a as r}from"./sentry-wpLc0w9b.js";import{n as o}from"./mui-4aI62okM.js";import{bL as oe,GG as De,GH as _e}from"./zeni-epic-state-BwFYSQY8.js";import{E as Te,C as Fe,w as Ue,f as Le}from"./AccountRow-BiEYR4Y1-C9bV-VJJ.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.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]="f122f58a-6981-4310-aef3-6d1d82c548cf",e._sentryDebugIdIdentifier="sentry-dbid-f122f58a-6981-4310-aef3-6d1d82c548cf")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Me=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -19,7 +19,7 @@ import{aa as fe,fE as xe,V as t,ad as ye,cr as ge,cs as je,ct as Se,o as c,a as
|
|
|
19
19
|
z-index: 2;
|
|
20
20
|
top: ${c.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,Ae=o(
|
|
22
|
+
`,Ae=o(ke)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
color: ${e=>e.theme.colors.hero};
|
|
25
25
|
width: ${c.sp4};
|
|
@@ -236,4 +236,4 @@ import{aa as fe,fE as xe,V as t,ad as ye,cr as ge,cs as je,ct as Se,o as c,a as
|
|
|
236
236
|
color: ${e=>e.status==="connected"?e.theme.colors.success:e.status==="reconnect"?e.theme.colors.important:e.theme.colors.link};
|
|
237
237
|
cursor: pointer;
|
|
238
238
|
text-decoration: underline;
|
|
239
|
-
`,{common:p,dateFormat:J,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),b=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),k=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:k,[g,M]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,Y]=r.useState(!1),[B,A]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),A(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{A(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),w(!1)},[]),{open:G,ready:V}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&G()},[s,G]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(Ge,{children:t.jsx(Ae,{onClick:$})})]})})}),t.jsxs(Oe,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:b,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,showConfirmationPopup:N,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:L,setUploadErrorMessage:f})=>{const[b,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,k=[];n.accountReconEntity.account.accountType==="bank"&&k.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),k.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const v=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||b?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&f(Te(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(qe,{children:[t.jsxs(Je,{children:[t.jsx(O,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Qe,{children:[t.jsx(O,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(O,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(_,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(ke,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:k,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:_e,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:L,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{U()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{T(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(_,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(bt,{accountSubType:q(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(Z,{isLoading:b,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:q(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(W,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Le(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},bt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},kt=({monthYearPeriod:e})=>t.jsx(ce,{children:vt(e)}),vt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(J.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(J.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
|
|
239
|
+
`,{common:p,dateFormat:J,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),k=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),b=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:b,[g,M]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,Y]=r.useState(!1),[B,A]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),A(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{A(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),w(!1)},[]),{open:G,ready:V}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&G()},[s,G]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(bt,{monthYearPeriod:l})})]}),t.jsx(Ge,{children:t.jsx(Ae,{onClick:$})})]})})}),t.jsxs(Oe,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:k,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,showConfirmationPopup:N,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:L,setUploadErrorMessage:f})=>{const[k,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,b=[];n.accountReconEntity.account.accountType==="bank"&&b.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),b.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const v=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&f(Te(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(qe,{children:[t.jsxs(Je,{children:[t.jsx(O,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Qe,{children:[t.jsx(O,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(O,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(_,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(be,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:b,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:_e,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:L,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{U()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{T(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(_,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(kt,{accountSubType:q(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(Z,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:q(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(W,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Le(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},kt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},bt=({monthYearPeriod:e})=>t.jsx(ce,{children:vt(e)}),vt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(J.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(J.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,aP as E,bV as f,o,aR as y,ab as se,dP as re,F as le,am as w,dQ as de,p as g,dR as X,dS as Y,d1 as ue,aX as x,aj as Z,u as p,J as xe,d as S,b1 as pe,dw as he,ao as ge,i as me,an as I,bM as fe,dI as je}from"./index-
|
|
1
|
+
import{V as t,aP as E,bV as f,o,aR as y,ab as se,dP as re,F as le,am as w,dQ as de,p as g,dR as X,dS as Y,d1 as ue,aX as x,aj as Z,u as p,J as xe,d as S,b1 as pe,dw as he,ao as ge,i as me,an as I,bM as fe,dI as je}from"./index-CE4a3GDT.js";import{a as ye}from"./sentry-wpLc0w9b.js";import{n as a,c as we}from"./mui-4aI62okM.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]="20352ae2-986c-4c14-aab8-4f3e7349cad9",e._sentryDebugIdIdentifier="sentry-dbid-20352ae2-986c-4c14-aab8-4f3e7349cad9")}catch{}})();const $e=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F,V as o,o as t,a_ as z,p as v,ar as ne,b as ae,bw as ie,bx as se,by as ce,bz as le,bA as Y,c as de,aQ as E,aN as pe,d as G,ax as ue,aR as _,aZ as me,aO as he,aU as ge,aj as Q,aw as xe,b7 as fe,am as ye,bc as Ce}from"./index-
|
|
1
|
+
import{F,V as o,o as t,a_ as z,p as v,ar as ne,b as ae,bw as ie,bx as se,by as ce,bz as le,bA as Y,c as de,aQ as E,aN as pe,d as G,ax as ue,aR as _,aZ as me,aO as he,aU as ge,aj as Q,aw as xe,b7 as fe,am as ye,bc as Ce}from"./index-CE4a3GDT.js";import{a as Z,P as I}from"./sentry-wpLc0w9b.js";import{c as $e}from"./SummaryCard-CShVbqhj-C6jVeTIc.js";import{n as r,k as O,c as V}from"./mui-4aI62okM.js";import{ER as be}from"./zeni-epic-state-BwFYSQY8.js";import{N as K}from"./NavigationArrow-kQWS5Pzb-Bmz73CyZ.js";import{k as ve}from"./NavigationDots-BQb_Fodq-DGHg-XPw.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]="78adde83-05da-4a83-a606-df8b64f82bb2",e._sentryDebugIdIdentifier="sentry-dbid-78adde83-05da-4a83-a606-df8b64f82bb2")}catch{}})();const je="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return O`
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateX(${i});
|
|
@@ -107,7 +107,7 @@ import{F,V as o,o as t,a_ as z,p as v,ar as ne,b as ae,bw as ie,bx as se,by as c
|
|
|
107
107
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
108
108
|
margin-left: ${t.sp3};
|
|
109
109
|
margin-right: ${t.sp1};
|
|
110
|
-
`,
|
|
110
|
+
`,R=r(Y)`
|
|
111
111
|
color: ${e=>e.isZeniProgressBar?e.theme.colors.brandColorOnyx:e.theme.colors.primary};
|
|
112
112
|
`,Oe=r.div`
|
|
113
113
|
width: 2px;
|
|
@@ -120,7 +120,7 @@ import{F,V as o,o as t,a_ as z,p as v,ar as ne,b as ae,bw as ie,bx as se,by as c
|
|
|
120
120
|
transform-origin: top;
|
|
121
121
|
animation: ${ke} normal 0.6s 1 forwards;
|
|
122
122
|
animation-delay: 0.6s;
|
|
123
|
-
`,
|
|
123
|
+
`,J=r.div`
|
|
124
124
|
opacity: 0;
|
|
125
125
|
transform: translateX(-50%);
|
|
126
126
|
animation: ${T("right",50)} normal 0.6s 1
|
|
@@ -149,16 +149,16 @@ import{F,V as o,o as t,a_ as z,p as v,ar as ne,b as ae,bw as ie,bx as se,by as c
|
|
|
149
149
|
margin-right: ${t.sp3};
|
|
150
150
|
${q}
|
|
151
151
|
background-color:${v.brandColorGold};
|
|
152
|
-
`,
|
|
152
|
+
`,Re=r(ne)`
|
|
153
153
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
154
|
-
`,
|
|
154
|
+
`,Je=r(se)`
|
|
155
155
|
width: ${t.sp4};
|
|
156
156
|
height: ${t.sp4};
|
|
157
157
|
color: ${e=>e.theme.colors.zeniAccountsPromoCardHighlightText};
|
|
158
158
|
path {
|
|
159
159
|
stroke-width: 2px;
|
|
160
160
|
}
|
|
161
|
-
`,We=(e,n)=>{const{common:i}=F.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(Xe,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,h)=>o.jsx(k,{className:"card-highlight-text",children:p},`${p}_${h}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Be,{})]}),o.jsx(_e,{}),o.jsxs(Le,{children:[o.jsxs(Ne,{children:[o.jsx(Ue,{}),o.jsxs(
|
|
161
|
+
`,We=(e,n)=>{const{common:i}=F.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(Xe,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,h)=>o.jsx(k,{className:"card-highlight-text",children:p},`${p}_${h}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Be,{})]}),o.jsx(_e,{}),o.jsxs(Le,{children:[o.jsxs(Ne,{children:[o.jsx(Ue,{}),o.jsxs(R,{isZeniProgressBar:!1,children:[n[0].values[0]," ",i.texts.insured]})]}),o.jsxs(Ze,{children:[o.jsx(Fe,{children:n[0].values[1]}),o.jsx(R,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:i.texts.insured})]})]})]});case"freeWire":return o.jsxs(ee,{style:{gap:t.sp2},children:[o.jsxs(k,{style:{position:"relative"},children:[n[0].values[0],o.jsx(Oe,{})]}),o.jsx(k,{children:o.jsx(J,{children:o.jsx(Je,{})})}),o.jsx(k,{children:o.jsx(J,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(Ee,{children:[o.jsx(S,{style:{animationDelay:"0.2s"},children:o.jsx(L,{src:je})}),o.jsx(S,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(L,{src:Ae})}),o.jsx(S,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(L,{src:we})}),o.jsx(Ke,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(Re,{children:[" ",n[0].values[0]]})})]})}};let W;function Ye({zeniAccountsPromoCardContent:e,showConfetti:n}){const[i]=xe("Confetti"),a=G(),[s,p]=Z.useState(!1);Z.useEffect(()=>(n&&(W=setTimeout(()=>{p(!0)},2e3)),()=>{clearTimeout(W),p(!1)}),[n]);const{prefix:h,header:d,headerAnimationData:u,showAnimation:f,key:g}=e;return o.jsxs(ze,{children:[n&&s&&i!=null?o.jsx(fe,{loop:!1,play:!0,onComplete:()=>{p(!1)},segments:[100,299],animationData:i,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(Se,{children:[d!=null?o.jsx(Te,{children:d}):null,o.jsx(ee,{children:f?We(g,u):null})]}),o.jsx(Ie,{themeContext:a,children:h})]})}const Ge=r(he)`
|
|
162
162
|
flex-wrap: wrap;
|
|
163
163
|
overflow: hidden;
|
|
164
164
|
& .styledNav {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as h,J as S,aS as T,b as d,V as l,jy as w,o as t,y as m,aR as B,F as x,u as n}from"./index-
|
|
1
|
+
import{d as h,J as S,aS as T,b as d,V as l,jy as w,o as t,y as m,aR as B,F as x,u as n}from"./index-CE4a3GDT.js";import{a as C}from"./sentry-wpLc0w9b.js";import{n as j}from"./mui-4aI62okM.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./zeni-epic-state-BwFYSQY8.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="240ddfe7-f7a9-4761-b257-92f54cc01d3a",e._sentryDebugIdIdentifier="sentry-dbid-240ddfe7-f7a9-4761-b257-92f54cc01d3a")}catch{}})();const p={marginTop:new m(n[0],18),marginBottom:new m(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:c}},common:I}=x.getLocalizedStrings(),L=({googleAPIKey:e,customAddress:s,customAddressStatus:o,onDismissClick:r,onSubmitHandler:g})=>{const u=h(),a=S(),i=T(o.fetchState);C.useEffect(()=>{i==="In-Progress"&&o.fetchState==="Completed"&&r()},[o.fetchState,r,i]);const f=a==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=a==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return l.jsx(P,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:o.fetchState,addressToEdit:s,onSubmitHandler:y=>g(y),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:c.addAddress,subTitleMessage:c.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(a),marginBottom:p.marginBottom.valuePx(a),...b},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...f,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:I.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},P=j.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
background-color: ${e=>e.theme.colors.grey4};
|
|
4
4
|
height: 100%;
|
package/dist/assets/{AddToWalletPage-C4EwdLZJ-Dbo52T5y.js → AddToWalletPage-C4EwdLZJ-VBws5aqc.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as M,a9 as le,ax as ne,F as N,V as t,bE as de,u as p,jc as pe,jv as ce,o as i,i as W,aR as A,y as m,H as $,a as b,jw as he,jd as ge,ck as xe,p as r,jx as me,bz as we,c_ as ue,am as $e,b as be,jh as ye}from"./index-
|
|
1
|
+
import{J as M,a9 as le,ax as ne,F as N,V as t,bE as de,u as p,jc as pe,jv as ce,o as i,i as W,aR as A,y as m,H as $,a as b,jw as he,jd as ge,ck as xe,p as r,jx as me,bz as we,c_ as ue,am as $e,b as be,jh as ye}from"./index-CE4a3GDT.js";import{a as g}from"./sentry-wpLc0w9b.js";import{n as o,c as D}from"./mui-4aI62okM.js";import{EQ as fe}from"./zeni-epic-state-BwFYSQY8.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as ze}from"./add-to-wallet-DgdBD8_G-UcbWekjH.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.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]="21ae6ba8-1315-4caf-9cb0-a32ca6e1adce",e._sentryDebugIdIdentifier="sentry-dbid-21ae6ba8-1315-4caf-9cb0-a32ca6e1adce")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:f={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${u-1}%`,...j(),...k}}),e.map(n=>t.jsx(De,{style:f,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),h(n.id)},children:n.label},n.id))]})},We=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: ${e=>e.theme.colors.grey3};
|
|
@@ -37,32 +37,32 @@ import{J as M,a9 as le,ax as ne,F as N,V as t,bE as de,u as p,jc as pe,jv as ce,
|
|
|
37
37
|
transition: color 0.3s ease;
|
|
38
38
|
padding-top: ${i.sp1};
|
|
39
39
|
padding-bottom: ${i.sp1};
|
|
40
|
-
`,{spendManagement:{chargeCard:{chargeCardsPromo:F,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},Fe=(e,a,h)=>t.jsxs(ot,{translatePhone:e,showIphone:h,children:[t.jsxs(at,{children:[t.jsx(gt,{children:F.timeText}),t.jsxs(rt,{children:[t.jsx(lt,{children:[...Array(4).keys()].map(l=>t.jsx(nt,{towerIndex:l},l))}),t.jsx(dt,{children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave"})})})}),t.jsx(pt,{children:t.jsx(ct,{})}),t.jsx(ht,{})]})]}),t.jsxs(it,{children:[t.jsxs(
|
|
40
|
+
`,{spendManagement:{chargeCard:{chargeCardsPromo:F,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},Fe=(e,a,h)=>t.jsxs(ot,{translatePhone:e,showIphone:h,children:[t.jsxs(at,{children:[t.jsx(gt,{children:F.timeText}),t.jsxs(rt,{children:[t.jsx(lt,{children:[...Array(4).keys()].map(l=>t.jsx(nt,{towerIndex:l},l))}),t.jsx(dt,{children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave"})})})}),t.jsx(pt,{children:t.jsx(ct,{})}),t.jsx(ht,{})]})]}),t.jsxs(it,{children:[t.jsxs(Ue,{children:[t.jsx(qe,{showTick:a}),t.jsx(Ze,{showTick:a}),t.jsx(et,{showTick:a}),t.jsx(tt,{showTick:a}),t.jsxs(wt,{translateCardSkelton:e,children:[t.jsx($t,{}),[...Array(4).keys()].map(l=>t.jsx(ut,{lineIndex:l},l))]}),a?null:t.jsx(bt,{children:t.jsx(he,{scannerTheme:"light"})})]}),t.jsx(xt,{showTick:a}),t.jsx(mt,{showTick:a,children:F.addToWallet})]}),t.jsx(st,{})]}),B=({tabType:e})=>{const a=M();return t.jsxs(Le,{children:[t.jsxs(P,{children:[t.jsx(Ne,{children:t.jsx(Ge,{windowSize:a})}),t.jsx(R,{windowSize:a,children:d.openWalletAppOnPhone})]}),t.jsxs(L,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,t.jsx(E,{})]}),t.jsxs(P,{children:[t.jsx(Me,{children:t.jsx(Ve,{windowSize:a})}),t.jsx(R,{windowSize:a,children:d.verifyCard})]}),t.jsxs(L,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,t.jsx(E,{})]})]})},Rt=({onGotItClick:e,isDebitCard:a,controllerEmails:h,classListFetchState:l,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:G,creditAccount:V,creditAccountRepayment:_,cardIssuedByRoles:J,cardIssuedByDepartmentName:X,cardHolderRoles:Y,cardHolderDepartmentName:K})=>{const s=M(),O=le().analytics,[T,Q]=g.useState(!1),[z,U]=g.useState(!1),[q,Z]=g.useState(!1),[ee,te]=g.useState(!1),[S,ie]=g.useState("apple"),oe=ne(),ae=fe(oe.loggedInUserRoleMap),re=I=>{ge({chargeCardDetailView:G,classListFetchState:l,analytics:O,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:J,cardIssuedByDepartmentName:X,cardHolderRoles:Y,cardHolderDepartmentName:K,controllerEmails:h,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:f,creditAccount:V,creditAccountRepayment:_}),ie(I)};g.useEffect(()=>{setTimeout(()=>{Q(!0)},a?9500:4500),setTimeout(()=>{U(!0)},a?9e3:4e3),setTimeout(()=>{Z(!0)},a?10500:5500),setTimeout(()=>{te(!0)},a?15e3:1e4)},[a]);const se=T&&z,x=N.getLocalizedStrings().spendManagement.chargeCard;return t.jsx(vt,{windowSize:s,children:t.jsxs(Xe,{children:[t.jsx(de,{navBarContainerStyles:{paddingTop:p[2],alignItems:"center",paddingBottom:p[2]},title:x.addToWallet.title,ignoreScrollAction:!0,showBackButton:!1,showMenuIcon:!1,transparentBackground:!0,source:"AddToWalletPage",style:{zIndex:3},titleStyle:{marginTop:p[0]}}),t.jsxs(Ye,{windowSize:s,children:[t.jsx(yt,{windowSize:s,children:x.addToWallet.heading}),t.jsx(ft,{windowSize:s,children:x.addToWallet.subheading})]}),t.jsxs(Ke,{windowSize:s,children:[s!=="small"?t.jsx(Ct,{children:t.jsxs(Oe,{windowSize:s,children:[t.jsxs(Qe,{windowSize:s,flipCard:T,scaleCard:z,children:[t.jsx(pe,{isDebitCard:a}),t.jsx(ce,{showCrossIcon:!1,isDebitCard:a})]}),Fe(q,ee,se)]})}):null,t.jsxs(Pe,{windowSize:s,children:[t.jsx(Re,{children:t.jsx(Ie,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Je,{}),t.jsx(H,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(_e,{}),t.jsx(H,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:i.sp4,paddingBottom:i.sp4},containerStyle:{border:i.sp0},selected:S,onToggle:re})}),t.jsxs(Be,{children:[t.jsx(Ee,{isActive:S==="apple",children:t.jsx(B,{tabType:"apple"})}),t.jsx(He,{isActive:S==="google",children:t.jsx(B,{tabType:"google"})})]}),s!=="small"?t.jsx(jt,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),s==="small"?t.jsx(St,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-mobile")})}):null]})})},Be=o.div`
|
|
41
41
|
display: flex;
|
|
42
42
|
position: relative;
|
|
43
43
|
width: 100%;
|
|
44
44
|
height: 100%;
|
|
45
45
|
overflow: hidden;
|
|
46
|
-
`,
|
|
46
|
+
`,Ee=o.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
width: 100%;
|
|
49
49
|
position: absolute;
|
|
50
50
|
left: ${e=>e.isActive?i.sp0:"-369px"};
|
|
51
51
|
transition: left 0.3s ease-in-out;
|
|
52
|
-
`,
|
|
52
|
+
`,He=o.div`
|
|
53
53
|
display: flex;
|
|
54
54
|
width: 100%;
|
|
55
55
|
position: absolute;
|
|
56
56
|
right: ${e=>e.isActive?i.sp0:"-369px"};
|
|
57
57
|
transition: right 0.3s ease-in-out;
|
|
58
|
-
`,
|
|
58
|
+
`,E=o.div`
|
|
59
59
|
display: flex;
|
|
60
60
|
flex: 1;
|
|
61
61
|
background-color: ${e=>e.theme.colors.grey3};
|
|
62
62
|
min-height: 1px;
|
|
63
63
|
max-height: 1px;
|
|
64
64
|
margin: ${i.sp3} ${i.sp0};
|
|
65
|
-
`,
|
|
65
|
+
`,Pe=o.div`
|
|
66
66
|
display: flex;
|
|
67
67
|
width: ${({windowSize:e})=>e==="small"?"100%":"369px"};
|
|
68
68
|
flex-direction: column;
|
|
@@ -74,7 +74,7 @@ import{J as M,a9 as le,ax as ne,F as N,V as t,bE as de,u as p,jc as pe,jv as ce,
|
|
|
74
74
|
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
75
75
|
background: ${e=>e.theme.colors.grey3};
|
|
76
76
|
position: relative;
|
|
77
|
-
`,
|
|
77
|
+
`,H=o(xe)`
|
|
78
78
|
text-transform: none;
|
|
79
79
|
margin-left: ${i.sp2};
|
|
80
80
|
cursor: pointer;
|
|
@@ -92,7 +92,7 @@ import{J as M,a9 as le,ax as ne,F as N,V as t,bE as de,u as p,jc as pe,jv as ce,
|
|
|
92
92
|
border-radius: ${i.sp4};
|
|
93
93
|
background: ${e=>e.theme.colors.graphColor16Light};
|
|
94
94
|
display: flex;
|
|
95
|
-
`,
|
|
95
|
+
`,P=o.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
align-items: center;
|
|
98
98
|
gap: ${i.sp3};
|
|
@@ -140,7 +140,7 @@ import{J as M,a9 as le,ax as ne,F as N,V as t,bE as de,u as p,jc as pe,jv as ce,
|
|
|
140
140
|
display: flex;
|
|
141
141
|
position: relative;
|
|
142
142
|
align-items: center;
|
|
143
|
-
`,
|
|
143
|
+
`,Qe=o.div`
|
|
144
144
|
position: relative;
|
|
145
145
|
display: flex;
|
|
146
146
|
flex-direction: column;
|
|
@@ -151,13 +151,13 @@ import{J as M,a9 as le,ax as ne,F as N,V as t,bE as de,u as p,jc as pe,jv as ce,
|
|
|
151
151
|
transform-style: preserve-3d;
|
|
152
152
|
border-radius: ${i.sp2};
|
|
153
153
|
box-shadow: ${e=>`1px 3px ${i.sp4} ${i.sp0} ${e.theme.colors.chargeCardBackgroundShadow}`};
|
|
154
|
-
`,
|
|
154
|
+
`,Ue=o.div`
|
|
155
155
|
position: relative;
|
|
156
156
|
height: 118px;
|
|
157
157
|
width: 182px;
|
|
158
158
|
margin: 13px;
|
|
159
159
|
margin-top: 60px;
|
|
160
|
-
`,
|
|
160
|
+
`,qe=o(Se)`
|
|
161
161
|
height: 36px;
|
|
162
162
|
width: 36px;
|
|
163
163
|
position: absolute;
|
package/dist/assets/{AgingReportsPage-vAvkUfOS-DOtieopz.js → AgingReportsPage-vAvkUfOS-DFuQAC2I.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as H,J as j,i5 as _e,V as t,i6 as De,bQ as Ne,i7 as ve,bF as je,bE as Oe,y as D,ab as F,ga as ke,F as x,o as N,aV as Pe,u as m,aP as X,ch as Be,ci as $e,cj as Ie,am as Me,ck as Ae,b5 as ne,aF as oe,aX as re}from"./index-
|
|
1
|
+
import{d as H,J as j,i5 as _e,V as t,i6 as De,bQ as Ne,i7 as ve,bF as je,bE as Oe,y as D,ab as F,ga as ke,F as x,o as N,aV as Pe,u as m,aP as X,ch as Be,ci as $e,cj as Ie,am as Me,ck as Ae,b5 as ne,aF as oe,aX as re}from"./index-CE4a3GDT.js";import{a as f}from"./sentry-wpLc0w9b.js";import{n as y}from"./mui-4aI62okM.js";import{bh as T,G5 as Ye}from"./zeni-epic-state-BwFYSQY8.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Le}from"./ArAgingChart-CuzG9AZY-zbnvDcY1.js";import{C as ie}from"./NoDataChart-CyYJ6icu-BGrJ0dxK.js";import{I as se,R as $}from"./CollapsableReportTable-Cq8bhaYC-Ujx1GJOf.js";import{d as le}from"./NoDataTable-DVe7sQhD-D01UQalg.js";import{l as ce}from"./mapSpacerToTreeNode-DKDsz0vw-C00tHB1T.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";import"./chartTypes-Ddw_3-6f-CfWoV01X.js";import"./AccountRow-BiEYR4Y1-C9bV-VJJ.js";import"./graphic-no-data-l-DU4J8fDt-BCQF8DO3.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]="b39cea70-e14a-46b2-9a60-8b7a92773925",e._sentryDebugIdIdentifier="sentry-dbid-b39cea70-e14a-46b2-9a60-8b7a92773925")}catch{}})();const Fe={chartHeight:new D(288,360)},de=y.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ge=y.div`
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cL as J,ep as je,J as _,V as l,aR as P,y as T,o as i,bb as re,F as Z,i as ie,am as ne,d1 as Pe,ck as Ce,u as k,bV as Se,aL as te,cD as K,gU as de,g1 as R,f_ as Y,f$ as G,g0 as ce,g2 as pe,b1 as me,gV as Oe,p as ue,d0 as ge,an as he,ex as Te,ae as Re}from"./index-
|
|
1
|
+
import{cL as J,ep as je,J as _,V as l,aR as P,y as T,o as i,bb as re,F as Z,i as ie,am as ne,d1 as Pe,ck as Ce,u as k,bV as Se,aL as te,cD as K,gU as de,g1 as R,f_ as Y,f$ as G,g0 as ce,g2 as pe,b1 as me,gV as Oe,p as ue,d0 as ge,an as he,ex as Te,ae as Re}from"./index-CE4a3GDT.js";import{n as p}from"./mui-4aI62okM.js";import{FM as De,bg as X}from"./zeni-epic-state-BwFYSQY8.js";import{a as V}from"./sentry-wpLc0w9b.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-BU13Lrvj.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-CpH0eDWO-Cxup6JwI.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]="9cfbb976-2439-4ec9-9388-59a4695a4243",e._sentryDebugIdIdentifier="sentry-dbid-9cfbb976-2439-4ec9-9388-59a4695a4243")}catch{}})();const B=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},g=Z.getLocalizedStrings().peoplePage,ze=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:y,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:N,person:x,analytics:v})=>{const w=_(),C=se.largeLabelWidth.value(w),{setValue:S}=J(),z=te(h),$=z.splice(0,1),U=z.reduce((r,n)=>r.concat(`${n.email},`),""),M=V.useMemo(()=>te(K.roles),[]),u=X(e.role);return V.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(ke,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:B(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(Q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:B(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:G(m,f)},productsByUserRole:Y(e.role,y)},registerOptions:{required:!0}}}),l.jsx(Q,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(Le,{}),userSingleSelectWithSubTitlesField:{name:B(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],I=s.find(L=>L.classId===d.userRole.accountingClassIDs[0]),j=[];return I!=null&&j.push(I.className),j}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(Q,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:B(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),N?null:l.jsxs(Ne,{windowSize:w,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ue,{href:`mailto:${$[0].email}?cc=${U}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:B(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},Le=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,ke=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{d as H,J,F as g,V as o,bQ as K,ga as U,bD as q,co as Q,bE as X,o as F,aV as G,y as M,bF as W,ch as Z,ci as ee,cj as oe,u as y}from"./index-
|
|
1
|
+
import{d as H,J,F as g,V as o,bQ as K,ga as U,bD as q,co as Q,bE as X,o as F,aV as G,y as M,bF as W,ch as Z,ci as ee,cj as oe,u as y}from"./index-CE4a3GDT.js";import{a as v}from"./sentry-wpLc0w9b.js";import{n as i}from"./mui-4aI62okM.js";import{L as te,D as ne}from"./EntitySummarySection-fBL4TZpT-D7wkgp-a.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./zeni-epic-state-BwFYSQY8.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="d0986f7a-b00f-4960-90c6-c836bf07773e",e._sentryDebugIdIdentifier="sentry-dbid-d0986f7a-b00f-4960-90c6-c836bf07773e")}catch{}})();const C={wrapperContainerMarginTop:new M(y[4],y[0]),wrapperContaineHorizontalrMargin:new M(y[0],y[8])},re=i.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,J as m,x,o as r,y as p,p as a,aV as g,F as u,br as f,c$ as $,dQ as b,c_ as w}from"./index-
|
|
1
|
+
import{V as t,J as m,x,o as r,y as p,p as a,aV as g,F as u,br as f,c$ as $,dQ as b,c_ as w}from"./index-CE4a3GDT.js";import{n as i,k as y}from"./mui-4aI62okM.js";import{a as j}from"./sentry-wpLc0w9b.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./zeni-epic-state-BwFYSQY8.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="a64b6a1d-14e6-4373-8c31-1f587a24b408",e._sentryDebugIdIdentifier="sentry-dbid-a64b6a1d-14e6-4373-8c31-1f587a24b408")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=y`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
package/dist/assets/{AppDrawerContent-ATbZG_cu-B0p0REDy.js → AppDrawerContent-ATbZG_cu-Ddm9lxLJ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ax as oe,I as le,q as v,bl as re,V as n,bm as de,bn as ce,bo as ue,bp as pe,ab as be,bq as fe,o as t,br as me,aw as b,b7 as f}from"./index-
|
|
1
|
+
import{ax as oe,I as le,q as v,bl as re,V as n,bm as de,bn as ce,bo as ue,bp as pe,ab as be,bq as fe,o as t,br as me,aw as b,b7 as f}from"./index-CE4a3GDT.js";import{a as o,P as he}from"./sentry-wpLc0w9b.js";import{n as l}from"./mui-4aI62okM.js";import{bk as ge}from"./zeni-epic-state-BwFYSQY8.js";import{v as xe}from"./DashboardSidebarBackgroundAnimation-C3Ovv-ob-B5OP-B4I.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d0a0fc78-f676-4f58-ac58-7e6043fc3ebb",e._sentryDebugIdIdentifier="sentry-dbid-d0a0fc78-f676-4f58-ac58-7e6043fc3ebb")}catch{}})();const Ee=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ye,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ye=l.div`
|
|
2
2
|
position: absolute;
|
|
3
3
|
z-index: 0;
|
|
4
4
|
bottom: -${t.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as _,J as F,ax as J,F as p,aX as
|
|
1
|
+
import{d as _,J as F,ax as J,F as p,aX as b,V as t,bE as V,T as E,fy as v,dI as S,y as d,o as k,an as G,b as j,u as o}from"./index-CE4a3GDT.js";import{n as l}from"./mui-4aI62okM.js";import{FJ as N,FK as X}from"./zeni-epic-state-BwFYSQY8.js";import"./sentry-wpLc0w9b.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.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]="583f7727-6f9b-4096-a712-80da97ba29ce",e._sentryDebugIdIdentifier="sentry-dbid-583f7727-6f9b-4096-a712-80da97ba29ce")}catch{}})();const n={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:R,onClickMenuIcon:T,onSetupApprovalRulesBillPaySectionClick:I,onSetupApprovalRulesRemiSectionClick:P})=>{const r=_(),i=F(),u=J(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:z}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:A}=a,{commonSetUp:C,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,x=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:M}=$,{billPaySetup:W}=B,{reimbursementSetup:D}=M,{setUp:s}=C,L=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",y=r.mode==="light"?new b(r.colors.brandColorJadeLight):new b(r.colors.brandColorJadeDark),H=N(c,u.loggedInUserRoleMap),U=X(c,u.loggedInUserRoleMap);return t.jsxs(O,{children:[t.jsx(V,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:T}),t.jsx(Q,{windowSize:i,children:L?t.jsx(Y,{children:t.jsx(E,{size:"ExtraLarge",start:!0})}):t.jsxs(K,{children:[t.jsx(q,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:w.infoText.approvalRules})}),t.jsxs(Z,{windowSize:i,children:[H===!0&&t.jsx(v,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:W.approvalSubTitle,header:x.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:y},onClick:I,status:m.length>0?z:void 0}),U===!0&&t.jsx(v,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:D.approvalSubTitle,header:x.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(i)}),color:y},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:P,status:f.length>0?A:void 0})]})]})})]})},K=l.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
margin: auto;
|
|
4
4
|
display: flex;
|
|
@@ -7,19 +7,19 @@ import{d as _,J as F,ax as J,F as p,aX as y,V as t,bE as V,T as E,fy as v,dI as
|
|
|
7
7
|
overflow-y: auto;
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
align-items: center;
|
|
10
|
-
`,
|
|
10
|
+
`,O=l.div`
|
|
11
11
|
display: flex;
|
|
12
12
|
min-height: 100%;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
row-gap: ${k.sp3};
|
|
15
15
|
width: 100%;
|
|
16
16
|
background-color: ${e=>e.theme.colors.grey4};
|
|
17
|
-
`,
|
|
17
|
+
`,Q=l.div`
|
|
18
18
|
display: flex;
|
|
19
19
|
height: 100%;
|
|
20
20
|
overflow-y: auto;
|
|
21
21
|
justify-content: center;
|
|
22
|
-
`,
|
|
22
|
+
`,Y=l.div`
|
|
23
23
|
display: flex;
|
|
24
24
|
width: 100%;
|
|
25
25
|
height: calc(100vh - 110px);
|
|
@@ -27,11 +27,11 @@ import{d as _,J as F,ax as J,F as p,aX as y,V as t,bE as V,T as E,fy as v,dI as
|
|
|
27
27
|
justify-content: center;
|
|
28
28
|
align-items: center;
|
|
29
29
|
background-color: ${e=>e.theme.colors.grey4};
|
|
30
|
-
`,
|
|
30
|
+
`,Z=l.div`
|
|
31
31
|
display: flex;
|
|
32
32
|
flex-direction: column;
|
|
33
33
|
row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
|
|
34
|
-
`,
|
|
34
|
+
`,q=l(G)`
|
|
35
35
|
display: flex;
|
|
36
36
|
justify-content: center;
|
|
37
37
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as i,F as f,db as k,d as z,b5 as P,u as w,b as S,a_ as T,dc as N,dd as I,p as h,o as x,am as q}from"./index-
|
|
1
|
+
import{V as i,F as f,db as k,d as z,b5 as P,u as w,b as S,a_ as T,dc as N,dd as I,p as h,o as x,am as q}from"./index-CE4a3GDT.js";import{a as C,P as H}from"./sentry-wpLc0w9b.js";import{n as j}from"./mui-4aI62okM.js";import{l as v,_ as K,h as R,m as J,u as L}from"./chartTypes-Ddw_3-6f-CfWoV01X.js";import{bm as D,Ft as B}from"./zeni-epic-state-BwFYSQY8.js";import{N as V,I as A,X as W,Y as _,J as G,K as F}from"./recharts-D-YAfDZj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="58c028cb-0edb-494c-9b31-a8a95b5e8ef5",e._sentryDebugIdIdentifier="sentry-dbid-58c028cb-0edb-494c-9b31-a8a95b5e8ef5")}catch{}})();const Q=j.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,U=j.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as R,J as B,V as o,bQ as V,ga as H,bD as J,co as K,bE as U,F as _,o as M,aV as q,y as z,bF as Q,ch as X,ci as G,cj as W,u as y}from"./index-
|
|
1
|
+
import{d as R,J as B,V as o,bQ as V,ga as H,bD as J,co as K,bE as U,F as _,o as M,aV as q,y as z,bF as Q,ch as X,ci as G,cj as W,u as y}from"./index-CE4a3GDT.js";import{a as b}from"./sentry-wpLc0w9b.js";import{n as s}from"./mui-4aI62okM.js";import{L as Z,D as ee}from"./EntitySummarySection-fBL4TZpT-D7wkgp-a.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./zeni-epic-state-BwFYSQY8.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="a0dbb2af-af81-47f2-916a-9ed9598f8b00",e._sentryDebugIdIdentifier="sentry-dbid-a0dbb2af-af81-47f2-916a-9ed9598f8b00")}catch{}})();const C={wrapperContainerMarginTop:new z(y[4],y[0]),wrapperContaineHorizontalrMargin:new z(y[0],y[8])},{common:oe,reports:{common:te,aging:{agingDetail:re}},dateFormat:A}=_.getLocalizedStrings();function Ie(e){const l=R(),c=B(),{arAgingDetail:t,downloadParams:d,reportDate:r,analytics:a,onReload:n,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:T,sidePanelIsOpen:F,sidePanelIsFullView:N,panelContent:E}=e,{authParams:S,downloadEndPoint:v,timezone:I}=d,{fetchState:p,invoices:k,arAgingDetailUIState:j,customer:i,totalBalances:L}=t,{sortKey:x,sortOrder:D,downloadState:u}=j,[P,$]=b.useState(!1),O=b.useCallback((g,f)=>{t.customer!=null&&a.trackArAgingDetailReportSortChange(g,f,r.format(A.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name),m(g,f)},[t.customer,m,a,r]);if(b.useEffect(()=>{async function g(){const f={companyName:d.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:I,reportDate:r};await ae(v,S,f),w("Completed"),t.customer!=null&&a.trackApAgingDetailReportDownload(x,D,r.format(A.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name)}P&&u!=="In-Progress"&&($(!1),w("In-Progress"),g())},[S,v,d.companyName,u,P,r,x,D,I,w,i?.id,t.customer,a]),p==="Error")return o.jsxs(se,{children:[o.jsx(le,{onClick:n,children:o.jsx(V,{})}),o.jsx(ce,{children:te.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(H,{fetchState:p});const Y=o.jsx(Q,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async g=>{if(g==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else $(!0)}}}});return o.jsx(J,{isOpen:F??!1,isFullView:N??!1,panelContent:E,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(U,{title:oe.strings.empty,backgroundColor:l.colors.grey5,onBackClick:h,rightSideComponent:Y,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(ee,{totalBalances:L,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:r})]}),listContent:o.jsx(de,{children:o.jsx(ge,{windowSize:c,children:o.jsx(me,{windowSize:c,children:k.length===0||i==null?o.jsx(K,{message:re.noDataText}):o.jsx(ie,{windowSize:c,children:o.jsx(Z,{uiState:j,invoices:k,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:O,onTransactionClick:T})})})})})})}async function ae(e,l,c){const t=`${e}?query=${encodeURIComponent(JSON.stringify(ne(c)))}`,d=_.getLocalizedStrings(),r=d.reports.aging.arAging.arAging,a=d.download;try{const n=await X({urlEndPoint:t,authParams:l,fileType:"excel"});if(n.ok){const h=G(n.headers,a.defaultFileName),m=await n.arrayBuffer();W(m,h)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${n.statusText}`)}catch(n){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(n)}`)}}function ne(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:_.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const ie=s.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|