@zeniai/web-cockpit-ui 1.14.94-qa → 1.14.95-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--3bIj7tB-DrDErnNL.js → ACHDetailsPage-OhfwzmDP-BxTDVOh1.js} +1 -1
- package/dist/assets/{AIPerformancePage-DBCeKLy6-By9DMVXx.js → AIPerformancePage-9OxanlvK-CgJqovaF.js} +1 -1
- package/dist/assets/AccountInfoPage-CDn5K_o2-Jz8ASTF3.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Zb49sPy6-BxbI1uqA.js → AccountInfoPageContent-Bu-ZFVKf-Bzjfgq-w.js} +10 -10
- package/dist/assets/{AccountLockedInfoModal-BcokXO2D-Co3qEZOv.js → AccountLockedInfoModal-BqLkGmTA-BNXIZ-_c.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BWydimgX-CHT8CRlz.js → AccountReconDetailsDrawerPage-CyQ13mJl-FHiDm0XX.js} +1 -1
- package/dist/assets/{AccountRow-XnGMYfcj-DObYPAJJ.js → AccountRow-pJ59k4-J-byrgsZ5o.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-BQeRFxKs-sxU_SQN3.js → AccountsPromoCardStack-Ukdm1VDj-LXzQVhgG.js} +8 -8
- package/dist/assets/{AddAddressForCardDrawer-DOXNDswm-CcCKCIGE.js → AddAddressForCardDrawer-CZ9kZK-_-BorvwiUS.js} +1 -1
- package/dist/assets/{AddToWalletPage-D4yEGRLZ-BkCaswnJ.js → AddToWalletPage-Bc0GY8mw-Bzy3APVO.js} +1 -1
- package/dist/assets/{AgingReportsPage-Bos6Ptg1-DFUrEqFA.js → AgingReportsPage-Cam_Ox67-esv0vh5e.js} +3 -3
- package/dist/assets/{AllUserItems-JjQPLLSr-DTpPvg0u.js → AllUserItems-CEBWfFac-DTqOorYc.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-Y4VWhY78-BVAmz3xM.js → ApAgingDetailPage-uy2AK45a-DNUi-nEy.js} +2 -2
- package/dist/assets/{AppBasePage-CaAadL3t-C3XqVSW3.js → AppBasePage-BBolfeYB-DNhslGFP.js} +1 -1
- package/dist/assets/{AppDrawerContent-BKsLlcGq-CZQ6749H.js → AppDrawerContent-Df0b3OK2-B2ahGZLO.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-sHR8nTbf-B4GmnvCX.js → ApprovalRulesSettingsPage-ChI1Wnf--Dl3-g6oX.js} +1 -1
- package/dist/assets/{ArAgingChart-Cn2M7EaL-rahkvPhe.js → ArAgingChart-PIQ_BFy4-BnDMbQVn.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-vdpIT5_o-4DnPrw53.js → ArAgingDetailPage-DpdUPb6--z8BZ4n5F.js} +1 -1
- package/dist/assets/{AttachmentView-QyMOK54a-yHfOa1ag.js → AttachmentView-mC246Bpw-BHWqGVkj.js} +1 -1
- package/dist/assets/{BankAccountSection-BexfgJ02-BdNur9UM.js → BankAccountSection-DehqZ04x-DO-HA5ys.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-MLEqvFgR-DBOH6zDo.js → BankAccountWarningSection-WkczfI75-CuH7tIxu.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-DP9KRNaJ-CNEOfPUf.js → BankConnectionsSettingsPage-CCEKqkfW-BfqVttB9.js} +1 -1
- package/dist/assets/{BillDetailPage-jNE4rg05-BBmr6_46.js → BillDetailPage-DA1djKtd-DyCGsfw-.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-C8hROA4_-C1c28UPR.js → BillPayApprovalRuleDetailPage-CLkMLaIk-C1v-sTgA.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-BQywFC8e-o7uF7NjZ.js → BillPayApprovalRulesPage-CZnYZ8cn-CAMKGQJy.js} +1 -1
- package/dist/assets/{BillPayPromoPage-D2OmNki0-C0AfkR54.js → BillPayPromoPage-M3bRYehy-SjsaKPSV.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-C81gx8-a-DDlMbDXO.js → BillPaySetUpPage-CJyPhrld-C0AU7hvY.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CIUisdZK-w3vJ1And.js → BillingSettingsPage-CQngU3lq-Dyxs7zHK.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DqjW9AqP-CmB_LcND.js → BillsBulkReviewDrawerPage-DlAOz-SY-3nnvXFIK.js} +1 -1
- package/dist/assets/{BoxItem-YBSbdQ7d-BwMDCITL.js → BoxItem-Cb4_ZBkK-Bkgg0u3k.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DeJbdegJ-CUYYGIL9.js → BusinessVerificationPage-D7btikKT-CvsI0MLJ.js} +1 -1
- package/dist/assets/{CardNumberSubText-Bq9G3f38-DLJhJoLi.js → CardNumberSubText-DQ6T2OKm-DvKU5ajv.js} +1 -1
- package/dist/assets/{CashbackDetailPage-C-0eaJVF-Cx6j_Uk4.js → CashbackDetailPage-ToN5ueBt-C9SvI1bn.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-CBB5up99-KXJuUvRz.js → ChargeCardDetailPage-BYNjlLQX-CdtS9CW8.js} +21 -21
- package/dist/assets/{ChargeCardListPage-52TDMfjH-DXcbVN4v.js → ChargeCardListPage-CTG6bNbA-CEyn9Rpg.js} +1 -1
- package/dist/assets/{ChargeCardListTable-BdHKiQtr-gDqLA-sS.js → ChargeCardListTable-BRAAvmWW-D-sN9KpZ.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-D43dBHNx-sLgU5ULy.js → ChargeCardPromoPage-xhEvT_sU-BkSGNTuR.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-CgzI8qMq-CPQUeaXF.js → ChargeCardSetupPage-Be89R3A7-DtcPTkPM.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-C1PYOcuH-DBVxGbQ9.js → ChargeCardStatementsPage-CFNCOiLr-iPk9fUPX.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-CrYCkxKl-BeZkTazq.js → CheckDepositDrawerPage-Cy0NVgKc-D5Z7NEXx.js} +1 -1
- package/dist/assets/{CollapsableReportTable-CvXUxopt-f_pwfY1A.js → CollapsableReportTable-CrR91Kpi-5o5TUvM_.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-DYAECWJz-HKtVrqo7.js → CompanyOfficerDetailsSection-4FjXy6T9-BeFKaxwk.js} +1 -1
- package/dist/assets/{CompanyPassportCard-CLoIl-hE-wllBt2bZ.js → CompanyPassportCard-Bv6Aws7i-BHrtuPF7.js} +2 -2
- package/dist/assets/{CompanyPassportPage-B3opPlfY-CDzkB8k9.js → CompanyPassportPage-DRhnOgdd-CAYATeHw.js} +1 -1
- package/dist/assets/{CompleteProfile-DKCP0ZOq-DzVwkLls.js → CompleteProfile-CdVQdaB0-B5_lHcue.js} +1 -1
- package/dist/assets/{ConfettiBurst-Ccs36Y8q-DP6hv2Ja.js → ConfettiBurst-Cygb8bhF-BkIJka8y.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CC5jroI_-BZmnNHLX.js → CreateOrEditVendorPage-_jZBL7C2-LSCYEMsl.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-BNSfaY2k-DZ94bqli.js → CreditCardPaymentDrawerPage-CWF47Q9G-DhX1QGtb.js} +101 -101
- package/dist/assets/{CurrencySelectField-CfFOlEnM-D66cwJ1s.js → CurrencySelectField-ppkSKTpN-C5rfRVft.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-Cac_xdpd-BqkKylRA.js → CustomerOnboardingActivationPage-DbaC9Uy1-BFo_8GS3.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-qmrLtjkH-BBYdYWUC.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cktian-X-CQ7_PG1e.js → CustomerOnboardingDetailPageSkeleton-5PeyznvM-CWHXVqDg.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-BVW1Hd-G-D1PQRFKa.js → CustomerOnboardingNoStepsPage-CWvaI2vY-BMWDOChj.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-CSTODxiL-CnN2kXF1.js → CustomerOnboardingPage-DWmMR5Ke-DrHmimlq.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-dcjDfxm3-9tyO47vS.js → CustomerOnboardingProductSuitePage-CEOJEMdY-BJwF7tHC.js} +7 -7
- package/dist/assets/{Dashboard-DHwjF8AD-DMQt4Oy0.js → Dashboard-CJSMYKO7-DtTMv2YE.js} +1 -1
- package/dist/assets/{DashboardReportPage-BbFqvGcc-DoOcHGWw.js → DashboardReportPage-CcY-7-W_-B9Xu9Dc7.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Aepv0x8n-xzde-NIZ.js → DashboardSidebarBackgroundAnimation-D3qI_q0a-zE-tHYqy.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-B6bYU73--B_rVssO-.js → DepositAccTransactionItem-BpbS0SRE-4G4pZt9E.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-DdCwnDuw-D17ygMOK.js → DepositAccTransactionListPage-C1EuUbFg-CipCQ4gA.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-DXlw9Ok--DcCgS8G_.js → DomesticWireDetailsPage-DTrY_uHQ-Bx_xjnPA.js} +1 -1
- package/dist/assets/{DownloadOverlay-KKP34aVT-D21U0JpA.js → DownloadOverlay-gRH0FIa6-DKDTdwBo.js} +1 -1
- package/dist/assets/{DrawerPage-DXGL0DM7-Dnq1XdM2.js → DrawerPage-gsfboWa--BG-IsntA.js} +1 -1
- package/dist/assets/{EditPeoplePage-DWmJ1PpR-CqqlGsSI.js → EditPeoplePage-D3GenIke-fFVPNEu-.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-B_5V1IzS-CqQtKcYG.js → EditReimbursementDetailPage-CC4JbXua-BHQf6Tq_.js} +1 -1
- package/dist/assets/{EntityDetailPage-BUzV8V9O-DvXYUK9r.js → EntityDetailPage-dZ-H_-kO-B7ZtrjJi.js} +1 -1
- package/dist/assets/{EntitySummarySection-CdjupOWB-CL42t66x.js → EntitySummarySection-BaSzuw3T-LStVjn5r.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-Bx47Uuzu-BN_R5YdO.js → ExpenseAutomationOverviewPage-CtBVIXza-jj81QXv0.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-aVCW740N-BDOWuVmm.js → ExpenseAutomationPage-BByZfMUo-5XiRqMlX.js} +1 -1
- package/dist/assets/{ExpressPayPage-xIDJP3---Fhlkf5xA.js → ExpressPayPage-Dx4Cc9w2-BPUrRRqb.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BeGkbhpj-Ci6nIkqK.js → FeaturePreviewPage-Us5W5Wo9-B9QYuRIC.js} +1 -1
- package/dist/assets/{FollowStepsSection-9Bp032CO-BwvbM2x2.js → FollowStepsSection-DDXRZdXi-SO_ZPpiI.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BKgbn5KU-BhKDlhzQ.js → GlobalReviewListPage-Ou4B6O28-BDWqy7nZ.js} +1 -1
- package/dist/assets/{InformationCardStack-DR09Frl5-BrWPXMqI.js → InformationCardStack-DEj81xCg-Co1eZBNX.js} +3 -3
- package/dist/assets/{InsightsCardStack-Bs9n7ddB-Bdea0gBC.js → InsightsCardStack-BSigEuRs-DTXlX0eo.js} +1 -1
- package/dist/assets/{InsightsSection-Bt4Z2mKl-CZhPVZdj.js → InsightsSection-BrjpMz4X-CQnyuoM5.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-Ce3RYvgj-DkQkGcVD.js → IntegrationsSettingsPage-BEBtsJ8z-CpdXXLPE.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-Dl6FL0Lc-CeTGQl65.js → InternationalWireSwiftDetailsPage-DqTA5UPe-Dh2m_ClR.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-MYSltOya-ChmzW4fF.js → InternationalWireVerificationPage-CGLyTJOX-CgqcwWhe.js} +1 -1
- package/dist/assets/{InviteFormPage-C0ezbQfC-zaOHUuBq.js → InviteFormPage-CHZVhrof-C1BLULVh.js} +1 -1
- package/dist/assets/{InvitePageListView-SMhlCNKA-pNiCbfR5.js → InvitePageListView-B0aN2fz0-CXq89Ggq.js} +1 -1
- package/dist/assets/{InvitePeoplePage-Dna0gg0J-alegwu6Z.js → InvitePeoplePage-DLPupvdi-QL22x-_S.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-QGU5U32X-B3PQnhTF.js → InvoiceUploadSection-COIpUGEB-BbbQUA3q.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-jai5Nd4c-BfIWPw2C.js → IssueChargeCardPage-6LWMwuaq-9nL_K9SN.js} +1 -1
- package/dist/assets/{LabeledAddressValue-cvWoRExB-u9I1yfA6.js → LabeledAddressValue-BOPQCQtK-6Ctaq2uZ.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BewnvHGP-DjW6JnAq.js → LabeledAddressValueField-DxybAWPO-C8g5Q5Mh.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DFKeD5HK-CdGhkX3l.js → LabeledControlledCheckBoxField-BSciMX7_-DE5GxjWa.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-nc8iZ1C1-MhnCqODk.js → LabeledCreatableSingleSelectField-q23ARfG8-CHK3wFhd.js} +1 -1
- package/dist/assets/{LabeledDocumentField-DmRNRSkb-CXjo-H6x.js → LabeledDocumentField-Icg5_obX-Dhu5oRPx.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BP1jmZf7-C9V3iWtU.js → LabeledDropDownFormattedTextField-BiJOzT5B-mztVwrkZ.js} +1 -1
- package/dist/assets/{LabeledText-CIupsEGL-CntLICmG.js → LabeledText-Tn7u-Ek3-kHR2OkPB.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CeZEGuNW-PKKEd4h3.js → LabeledUserSingleSelectWithSubtitlesField-B_MWazM_-C56dsjd7.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-CDmiz3py-BKOa8CSX.js → LabeledZeniRolesDropDownField-DyCxNVQD-BPCdN2r2.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-BtUXXguK-CkI7dWOM.js → LinkJETransactionPage-NXVaaeQn-BpSun53t.js} +2 -2
- package/dist/assets/{LockCardPage-TzEwLGD1-BMDbMEzr.js → LockCardPage-DFFQF_XE-BFlJ9UKK.js} +1 -1
- package/dist/assets/{LowBalancePopup-BWD6Kz-D-Dt8WY0Kf.js → LowBalancePopup-T5Ms2v-E-BQ4WCPPF.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-DtxKOlmX-0863GAuu.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-C7DsI3GD-D5Dxo8vU.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BQtq93Cv-mQxkDvCy.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DQAUDzEV-DlTJx_bf.js → MagicLinkSuccessPage-BU8oXuny-B0XijyZh.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-JcGSlbn4-Dj4t5Fz6.js → MagicLinkTitleSection-kbY8yTTa-Dn-LABVB.js} +1 -1
- package/dist/assets/MailingDetailsSection-CMekdUCQ-D6VV7KFJ.js +21 -0
- package/dist/assets/{Menu-B05IRjpP-BhJtN8lL.js → Menu-DTdVYIrC-BgV_8qov.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-D2a7LgLg-j2LsZ1Ah.js → MyBankConnectionsSettingsPage-B67G0-7Z-BU9I3M_U.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-pDexjhqy-tCtgPjWb.js → MyPendingActivationChargeCardListPage-Cbap6Vpr-CMtgu-Ia.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CRkrD2Bn-CcTXJl9y.js → MyProfileSettingsPage-TqtGXk0G-C5zioJrw.js} +1 -1
- package/dist/assets/{NavBarWithPicker-9HjZDzt5-DEXh3IFe.js → NavBarWithPicker-C4_SW0nA-C0GnDmGd.js} +1 -1
- package/dist/assets/{NavigationArrow-CgBj8o4H-D5s9b1YB.js → NavigationArrow-6jp6I9fp-CnBvKiHR.js} +1 -1
- package/dist/assets/{NavigationDots-BcSXYcwF-Cczng_71.js → NavigationDots-BSjG6OlY-BrwTxyv0.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Dv9JrWDT-Bt8bwJ69.js → NewGlobalMerchantPage-BXM36kwh-CpDwRLSC.js} +1 -1
- package/dist/assets/{NoDataChart-tkUQHi-b-DZbAkxZ7.js → NoDataChart-CRhOisS1-COtAQCUj.js} +1 -1
- package/dist/assets/{NoDataTable-DHZ1gQeV-BbFx8lrK.js → NoDataTable-bIZY56VS-CN217muV.js} +1 -1
- package/dist/assets/{NotFoundPage-D59UVi8i-B4bV_ayL.js → NotFoundPage-Y4UqiUrL-B4YsYETt.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-xVOogGxf-DJDQL-Sy.js → NotificationSettingsPage-Ct1wYM98-B_bcsz6g.js} +1 -1
- package/dist/assets/{NotificationsListConfig-CkDLXlK_-BPCzXUat.js → NotificationsListConfig-tD8IFVDs-ULU_nTGm.js} +1 -1
- package/dist/assets/{NotificationsPage-C8zx5kJx-CHZfhnLZ.js → NotificationsPage-C8PlG40Q-5AviDmKP.js} +1 -1
- package/dist/assets/{OpExByVendorPage-BaUEnLMo-CDWdSOLP.js → OpExByVendorPage-B5dz3g_I-D-sfcCoC.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-BvpaBCAg.js → OverlayContainerPage-Daz3A7cI-BbvZjeSQ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BKWEOfwP-BP5W9RRw.js → PandLWithForecastPage-BzeV5E9J-DYpR0NHu.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Ddm0Q_3J-lFZuZpft.js → PaymentAccountSetupBillingAddressSection-C7ucXP-C-jaxMZozI.js} +1 -1
- package/dist/assets/{PeoplePage-ChBsx1YC-CMrxjBM5.js → PeoplePage-Di9LbUPG-gazTpQwX.js} +1 -1
- package/dist/assets/{Preview-BJlkYk4_.js → Preview-Blj_5IQY.js} +1 -1
- package/dist/assets/{ProductsCarousel-CaOQupY4-Cu3DJwCX.js → ProductsCarousel-IX34mwaP-K798zKfC.js} +1 -1
- package/dist/assets/{PromoBaseCards-DeJ4J5Lp-e7atVcj5.js → PromoBaseCards-DKl5hmY7-DFLcHPib.js} +1 -1
- package/dist/assets/{QBOConnectionDialog--nz5v12t-Chf_IKXr.js → QBOConnectionDialog-CFgV4ltt-CYpBxArF.js} +1 -1
- package/dist/assets/{QBOSetupSection-DQTH1dAT-BJAvF6ln.js → QBOSetupSection-3Igwysxj-sm9A6uU9.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BottOscg-Bt4k5jhg.js → ReimbursementApprovalRuleDetailPage-gUzCi41q-CGYjTbGQ.js} +3 -3
- package/dist/assets/{ReimbursementApprovalRulesPage-B46nrYDg-DzFdIkG-.js → ReimbursementApprovalRulesPage-CUQt2z6s-m3DmX-q3.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DvSn2LUG-CB3VUQyQ.js → ReimbursementDetailPage-CgwRpLnh-BKKRl5XL.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-DRItpn0n-Cak4ocKY.js → ReimbursementPromoPage-BxBAhFM1-CCmdLSng.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-CRnE1XYI-BqgLXo1n.js → ReimbursementSetUpPage-CP8WtKvQ-BzwYqD-v.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C6Cn3AOg-CihJ6l3b.js → ReimbursementsBulkReviewDrawerPage-Ir7LV3Qg-FmB-IcoK.js} +1 -1
- package/dist/assets/{ReloadCard-CRQf0INS-gD-f0T0E.js → ReloadCard-DLKVg3Sx-CJGjLDvX.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-Dj9qmDS0-DoYBZUZ6.js → ReportTableViewSelector-BlpUjTMl-BDDVFcAy.js} +1 -1
- package/dist/assets/{ReportsPage-BJmkDtu3-B3jITcDv.js → ReportsPage-D-4SKTVF-1DspK86K.js} +5 -5
- package/dist/assets/{RevenueChart-LvTct9qg-D8P6KpT1.js → RevenueChart-C3cckydL-g0yPIBMk.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CDWKsdgl-5TmUOBd_.js → ReviewDetailsPage-Df882foz-CxLlFw3j.js} +2 -2
- package/dist/assets/{ReviewOverlay-Bh8LAnRM-CijIHXs6.js → ReviewOverlay-n3lZIztC-BaYE0CrF.js} +1 -1
- package/dist/assets/{RoleWithToolTip-BHHwWcYs-CKCMMtSI.js → RoleWithToolTip-jGxjGCFo-BZAgNS7O.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-C_nki9xG-DYaDxqOc.js → ScheduleDetailsFixedAssetsPage-cVGyXDC1-4W97BSmP.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BXmAqbuh-Ds1ow-b7.js → ScheduleDetailsPage-Dcl5GREY-CSgH86CC.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-BePVgFIB-BFq2oleG.js → ScheduleSequenceTable-CkqvmnzR-BkWT4A03.js} +1 -1
- package/dist/assets/{ScreenRoutes-GYx8ZR27.js → ScreenRoutes--Xu4aTei.js} +1 -1
- package/dist/assets/{SetUpAccountSection-B1mXaFmw-Bqwkop-y.js → SetUpAccountSection-bKk_0Pau-WnVMpA_D.js} +1 -1
- package/dist/assets/SignIn-BZXzRb1K-BrEU8WAx.js +448 -0
- package/dist/assets/{SignInScreen-DMwMCG9P.js → SignInScreen-DgTeNXoF.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-D-XwxN9o-Cnh30Orw.js → SpendManagementListViewPage-jdvSYQ4J-DsXAHxjb.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-CF7D2umh-BDSqJ_qs.js → SpendManagementPerTabPage-BlyFIn6o-DJWoY1io.js} +1 -1
- package/dist/assets/{SpendManagementSection-CIqYxYxX-C_Ft2uxq.js → SpendManagementSection-Dzlokoym-2kDboE_-.js} +1 -1
- package/dist/assets/StatementItem-BMV39A0D-CK6a43sV.js +31 -0
- package/dist/assets/{StatementsPage-CB8LocUZ-D__0esHw.js → StatementsPage-Cw6GRd81-DnrYrFIX.js} +1 -1
- package/dist/assets/{StatusSwitcher-DetjWSRH-ClE_X_wX.js → StatusSwitcher-CcLiXtx4-Bk8L4YH5.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DNqrmpKa-BobpQ5zG.js → SubTabSwitcher-zpnLoSBy-Dt5pYptL.js} +1 -1
- package/dist/assets/{SummaryCard-CxlxmBvk-Cg9XbfeP.js → SummaryCard-C2KHXXwg-B46OJl_E.js} +1 -1
- package/dist/assets/{TaskManagementPage-zHTW1LJ--zNfzy78X.js → TaskManagementPage-C3M_HCXR-Dmk36h9D.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-8D64-X4u-BuyINl3m.js → TimeRangeSwitcher-COHAPH9b-Duk9Ni0x.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-YicRGCkf-DdRTJ8ZO.js → TimeframeSwitcher-5ql0bSzz-PyYhkmzr.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-mP6ezXyM-DyP-pynp.js → TimeframeSwitcherWithToggle-BXSkHN5Y-CXXTcEDU.js} +3 -3
- package/dist/assets/{TopExCard-BDEoKFUO-BVpgu9GN.js → TopExCard-BrodwfJq-Cb6RgMjA.js} +10 -10
- package/dist/assets/{TopExDetailPage-CLUf9sHg-qa7tyQqC.js → TopExDetailPage-B8-Zzr1B-uipHxmei.js} +8 -8
- package/dist/assets/{TransactionDetailPage-C-GKDIp2-BdGgljwI.js → TransactionDetailPage-D8v3KPrb-DUtpwjHc.js} +1 -1
- package/dist/assets/{TransactionList-BqQVYWs_-DNijPXIq.js → TransactionList-DMb2xYOV-B2oFoO-E.js} +1 -1
- package/dist/assets/{TransactionListBig-CDgdq8hU-Bskrx-MI.js → TransactionListBig-dUBjAacV-Bmm-sJh2.js} +5 -5
- package/dist/assets/{TransactionListPage-CyGTX1pW-DvPgD5Sm.js → TransactionListPage-x0r04hx4-CX-3Zldl.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-NKocfHyN-DNhYCQWS.js → TransactionVendorDetailPage-BqjeDf6Q-CKKZt-sE.js} +1 -1
- package/dist/assets/{TransferDrawerPage-qNh4Fww2-DIXnm2LT.js → TransferDrawerPage-LppLtT6A-UVTq-XXy.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-D1RQYkoX-DM6UEUbi.js → TreasuryOverviewPage-DNoQLXPn-I3GX0kn0.js} +9 -9
- package/dist/assets/{TreasuryPromoPage-najiDjYG-D2mn7FJp.js → TreasuryPromoPage--MgysW-J-C4qW5Hjb.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-CRR-Df5x-B3YvHLgx.js → TreasuryStatementsPage-DRPB8HzF-Us1El1nE.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-vKXs7eCx-DUpsYipw.js → TreasuryTaxLetterPage-BeeNFRtm-BNRt42uj.js} +1 -1
- package/dist/assets/{TrendChart-DtubLSsW-qE4-f7Bj.js → TrendChart-C7DgNHh6-DWSLEK7h.js} +1 -1
- package/dist/assets/{TrendWithTransactions-DB5hmoGk-DSVigW2k.js → TrendWithTransactions-CpQPkCN4-CjThbvYV.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-ldBfy4n9-CvpMxcT7.js → UncategorizedAccountsMappingPage-f9xrtur3-wJ4bdRvL.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-DPHlAm3E-D0_EYePL.js → UnitIntegrationPage-SiS8CA0g-LkCGZb5A.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-C2kqDNTp-BQNyaPQp.js → UploadAdditionalDocumentOverlay-Djnl6dYH-Cb6cznud.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-_DrX-sZ2-Byp_MVd3.js → Vendor2FAPopup-CYwD3yQ8-DteE76iF.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-ChZp1Db0-m74ooXZH.js +1 -0
- package/dist/assets/{VendorDetailPage-dh7UBGAL-CoEBMyw2.js → VendorDetailPage-CG0SxxIa-CErJAoDL.js} +86 -86
- package/dist/assets/VendorDomesticWireDetailsPage-Dfawpwuo-XWP9GiBd.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CGEA0mkh-_Cjo4ySS.js → VendorFiling1099EditablePage-DQs8RP_2-Buxj_PiL.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-BGktoc9W-BgcPM6Uo.js → VendorFirstReviewPage-XaE6ddOQ-BWMGU3Tl.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DidLa6Yx-BCgl9-MR.js → VendorInternationalWireDetailsPage-CT75sZ0O-DqLwSNE1.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CBKqnkvK-D4x_F8qG.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BtjrsclQ-C0gCUVyM.js → VendorsAccountsSection-C9NkRN0p-CxSkczTx.js} +1 -1
- package/dist/assets/{VerifyDevice-DkibYc6v-CXmOAARZ.js → VerifyDevice-c6uTgDIl-DXrax5KK.js} +1 -1
- package/dist/assets/{VideoPlayer-C8VeeJIx-CCPJnDsQ.js → VideoPlayer-BgTXP1p7-DSVVGcbk.js} +2 -2
- package/dist/assets/{VideoPopup-aA7dkXbZ-vpwP4W2W.js → VideoPopup-BD0vmbkL-B1pshKUR.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-CA0EogPY-BBcekFqB.js → WarningsDrawerPage-BS-TFvBs-CxQBdq8b.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Z7ZXcJ98-CFSyuPte.js → ZeniAccountDetailPage-CSVQF6vO-BPYfZJgl.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CllLl65J-glKaM01N.js → ZeniAccountListViewPage-BVGsjSB2-1PFcObmH.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CHXbVcQE-CiczUJNV.js → ZeniAccountNavBarPieces-B1l8Hjdg-DxwPdu4w.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DAtyHUfj-C_xB6viA.js → ZeniAccountPromoPage-s-QGT-pZ-DicXAF4k.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-Cy6_fMVK-ousECeIh.js → ZeniAccountSetupPage-CqXokSq4-ZNS-0xul.js} +1 -1
- package/dist/assets/{ZeniCopyright-D5JfDH77-94Q62ubQ.js → ZeniCopyright-_f5jw1U0-D4XdQ2SF.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Bk2gg7DY-B7GGO8c9.js → ZeniTransferAmountSlider-yvd98l69-BEYj6C-O.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-DgOR9SZD.js → add-to-wallet-DgdBD8_G-BUzE53FC.js} +1 -1
- package/dist/assets/{analytics-BBQGK0ON.js → analytics-CudETrrD.js} +1 -1
- package/dist/assets/{analyticsHelper-Cnk2OUU2-ibgkPVjO.js → analyticsHelper-BvohFLdK-Dy4GAyAC.js} +1 -1
- package/dist/assets/{analyticsHelper-BaekG9Nx.js → analyticsHelper-DO-eHSEi.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-UA9PyeH_.js → arrow-south-east-round-PEovUgvH-QknSTNl-.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-B82gnpmQ.js → auto-transfer-rule-mbafm5D3-Bj4AnUyI.js} +1 -1
- package/dist/assets/{chartTypes-CMIndIax-DT8rBK_x.js → chartTypes-h1GkAvwh-DeXrp29h.js} +1 -1
- package/dist/assets/{commonDimensions-DSS8XDHZ-CYH5L85f.js → commonDimensions-7B20r1RL-BsLeN16e.js} +1 -1
- package/dist/assets/{constants-BACNgsOZ.js → constants-qsYvqsp_.js} +1 -1
- package/dist/assets/{core-CeETxMam.js → core-CSvDBKbK.js} +1 -1
- package/dist/assets/{dash.all.min-0VJS93lH.js → dash.all.min-CXX6UwCX.js} +1 -1
- package/dist/assets/{detailCommon-DWd4agOz-Cbc42OXo.js → detailCommon-C28aeDGm-DXaZUKe3.js} +5 -5
- package/dist/assets/{downloadPdf-BCoq8NLc-BHyplGhh.js → downloadPdf-D1MhyCE3-Bl_kVnuy.js} +1 -1
- package/dist/assets/{empty-BZ_oISQJ.js → empty-BdJ2ubLR.js} +1 -1
- package/dist/assets/{empty-BfYLVmMJ.js → empty-BlN3pbr0.js} +1 -1
- package/dist/assets/{epic-DjSfInN0.js → epic-DoNCnWgY.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-CGKB1jme.js → gift-box-Cmt9OgIZ-CMjOsL5s.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DK0zdKjX.js → graphic-no-data-l-DU4J8fDt-P_uJxgqv.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CI28iX2P.js → graphic-no-data-net-burn-l-CzmycA0m-DX8wy8i8.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BNAvf_Ce.js → handshake-BPg58FML-Cvq-V9c-.js} +1 -1
- package/dist/assets/{index-BFH76pPn.js → index-B3_vBBYe.js} +1 -1
- package/dist/assets/{index-1VfEZ1Gz.js → index-BRDgVxUL.js} +561 -561
- package/dist/assets/{index-DwywdP6e.js → index-B_ST3N1m.js} +1 -1
- package/dist/assets/{index-Dqzx8hMk.js → index-BmlsHaIe.js} +1 -1
- package/dist/assets/{index-CwSI7eqB.js → index-Bmog4VKy.js} +1 -1
- package/dist/assets/{index-CBJAVt7a.js → index-C_7vQmrg.js} +1 -1
- package/dist/assets/{index-B4B93LK6.js → index-DTPFP43Z.js} +1 -1
- package/dist/assets/{lexical-B3ldBehs.js → lexical-BmM_-J9_.js} +1 -1
- package/dist/assets/{liveblocks-C14gIpGs.js → liveblocks-B7l6-lVT.js} +1 -1
- package/dist/assets/{lottie-D8T-stDd.js → lottie-Cx9dNUMI.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-Dgkep7PZ-I9xziQoM.js → mapLoadingInProgressToTreeNode-B5fs_QGb-1RRRqxAS.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DF-WWO6U-Dp5WLs5r.js → mapSectionWithAcOnlyToTreeNode-DtwKYRnC-BG8zzg0l.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BufNagSk-BerYj-N8.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CBfPdKyR-C3tNzgVY.js → mapTimeframeBalancesToTreeNode-BHbBvkxK-Sg9H38Nv.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BOahnk__-Bv8a8zZk.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dscp66eK-Ca65g1u9.js +1 -0
- package/dist/assets/{mui-XgHtLv9t.js → mui-Cm3rVrD-.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DsrWzhgT.js → page-detail-CWX5S47F-kxZACSVt.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Bsr2gTRV.js → radio-default-CiSgisfh-rhwWstOk.js} +1 -1
- package/dist/assets/{react-C7sphqM3.js → react-Byv2U7h7.js} +1 -1
- package/dist/assets/{react-CZlRv3QX.js → react-BzJpcjr6.js} +1 -1
- package/dist/assets/{react-CeFScvvD.js → react-CPFSKMtT.js} +1 -1
- package/dist/assets/{react-2b1NYDOf.js → react-CgC6TIq9.js} +2 -2
- package/dist/assets/{react-jJQTuZbN.js → react-CkyQ_f7y.js} +1 -1
- package/dist/assets/{react-Dm40MgCX.js → react-DIbjB6T0.js} +1 -1
- package/dist/assets/{react-CB7OYEMc.js → react-h0mTaAoM.js} +1 -1
- package/dist/assets/{react-BmQlaNt9.js → react-yAx4DBuZ.js} +1 -1
- package/dist/assets/{recharts-DBix2kBp.js → recharts-CJP-6HgW.js} +1 -1
- package/dist/assets/{sentry-VCAzTDmi.js → sentry-BFGzyFr-.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-D0v76Uk3.js → shield-DOlUxcFf-DHIE85xb.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DScSc4rG-B7GkAgAH.js +1 -0
- package/dist/assets/{toChartData-DuH-6FTe-CWKDasR_.js → toChartData-BYQCR1Q4-DQjt-eqe.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-CDqBJeP5.js → transaction-placeholder-CpOwZAMG-CRJ-hgUa.js} +1 -1
- package/dist/assets/{uploadAttachment-BkoEZkOd-BiFyh28x.js → uploadAttachment-Cs2BAs2F-B7REmQX6.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-CWKWHJjU.js → uploadReceipts-CPw64UYa-MigMlgVj.js} +1 -1
- package/dist/assets/{url-C8zoIoT4.js → url-CN0vl3oZ.js} +1 -1
- package/dist/assets/{url-Bi-s7Ipz.js → url-Ql81cO0i.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CRSIFNOy.js → useLongPress-GCK2COYQ-CLIsgKqx.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DB-RQmMs.js → usp-line-BBd1wKwW-BMJkTVjT.js} +1 -1
- package/dist/assets/{utils-C6Cd8yMa.js → utils-DG7RBBiT.js} +1 -1
- package/dist/assets/{zeni-epic-state-CQJq5Qi5.js → zeni-epic-state-C--9cPPx.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-CITo61GF-CS2OsQNl.js +0 -18
- package/dist/assets/CustomerOnboardingContainerPage-DOZu4r0V-BVwImPN3.js +0 -1
- package/dist/assets/MagicLinkACHDetailsPage-CZQ8tUTD-Bx-FJDSd.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DHZY9sKi-Ch68uRBG.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BJtMjz1M-C1R90UdM.js +0 -1
- package/dist/assets/MailingDetailsSection-Ch5XvR8o-DY-bODbC.js +0 -21
- package/dist/assets/SignIn-B8qL3jmy-rG5LC_5F.js +0 -463
- package/dist/assets/StatementItem-Cj9_LMwP-BhabUnoX.js +0 -31
- package/dist/assets/VendorACHDetailsPage-ims8AKLH-BH1g_TY7.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-C_28sDKW-nhppTuB2.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-YqE835gy-BEp-3Yms.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CumKhTYV-Ce9e4hW2.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BttFKWAb-Ll-SiCTs.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BREIWW8N-BE3WT0kC.js +0 -1
- package/dist/assets/toCOABalancesWithID-v28KjzUb-C7PU3g60.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as C,d as M,a7 as Ne,ca as Ke,V as t,aK as V,bQ as ae,bz as Ve,b as ie,aM as W,m as We,o as i,ag as k,F as L,p as w,bH as Ee,y
|
|
1
|
+
import{q as C,d as M,a7 as Ne,ca as Ke,V as t,aK as V,bQ as ae,bz as Ve,b as ie,aM as W,m as We,o as i,ag as k,F as L,p as w,bH as Ee,y,fc as X,a as B,c as p,b2 as ne,bL as Le,aQ as Me,av as Ge,fP as Ue,gV as _e,n as Je,ak as R,aZ as Xe,ji as Ze,jV as Qe,be as qe,eH as et,d5 as tt,fM as it,kP as ot,iU as Re,iV as Oe,cq as rt,iL as at,iM as nt,kQ as st,al as E,bO as lt,cv as le,iT as dt,cy as ct}from"./index-BRDgVxUL.js";import{a as f,w as ht}from"./sentry-BFGzyFr-.js";import{n as o,c as de}from"./mui-Cm3rVrD-.js";import{bL as G,c4 as pt}from"./zeni-epic-state-C--9cPPx.js";import{s as xt}from"./commonDimensions-7B20r1RL-BsLeN16e.js";import{g as ce}from"./BoxItem-Cb4_ZBkK-Bkgg0u3k.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CRJ-hgUa.js";import{o as mt}from"./shield-DOlUxcFf-DHIE85xb.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-CJP-6HgW.js";import"./liveblocks-B7l6-lVT.js";import"./core-CSvDBKbK.js";import"./lottie-Cx9dNUMI.js";import"./analytics-CudETrrD.js";import"./lexical-BmM_-J9_.js";import"./utils-DG7RBBiT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="d242d769-75a9-424d-9dd9-b2859e4b054b",e._sentryDebugIdIdentifier="sentry-dbid-d242d769-75a9-424d-9dd9-b2859e4b054b")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Re,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=ht.memo($t),bt=o.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -59,7 +59,7 @@ import{q as C,d as M,a7 as Ne,ca as Ke,V as t,aK as V,bQ as ae,bz as Ve,b as ie,
|
|
|
59
59
|
align-items: center;
|
|
60
60
|
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
61
61
|
${e=>e.headerdata.sortOrder==="ascending"?`padding-top: ${S.headerPaddingTop.valuePx(e.windowSize)}`:"padding-bottom: 2px"}
|
|
62
|
-
`,
|
|
62
|
+
`,ye=o.div`
|
|
63
63
|
width: ${({windowSize:e})=>S.sortIconSize.valuePx(e)};
|
|
64
64
|
height: ${({windowSize:e})=>S.sortIconSize.valuePx(e)};
|
|
65
65
|
cursor: pointer;
|
|
@@ -95,7 +95,7 @@ import{q as C,d as M,a7 as Ne,ca as Ke,V as t,aK as V,bQ as ae,bz as Ve,b as ie,
|
|
|
95
95
|
cursor: pointer;
|
|
96
96
|
gap: 5px;
|
|
97
97
|
color: ${e=>e.theme.colors.primary};
|
|
98
|
-
`,U={containerPaddingLeft:new
|
|
98
|
+
`,U={containerPaddingLeft:new y(p[3],p[4]),containerPaddingRight:new y(p[2],p[3]),containerPaddingTop:new y(p[2],p[3]),containerPaddingBottom:new y(p[2],p[3])};function Rt({data:e,boxType:r}){const{description:n,amount:h,status:l,date:a}=e,u=V("0,0.00",h),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),$=x[0].width,j=x[1].width,c=x[2].width,s=st(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Wt,{children:[t.jsxs(Gt,{children:[t.jsx(fe,{}),t.jsx(Ut,{children:t.jsx(_t,{children:t.jsxs(Jt,{children:[n,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(Zt,{color:s?.color,children:s?.value})]}):null]})})})]}),t.jsx(Qt,{children:t.jsx(qt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Et,{children:t.jsx(ei,{children:t.jsx($e,{children:u})})})]})});return t.jsx(ce,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(Ot,{windowSize:d,children:[t.jsxs(At,{windowSize:d,width:$,children:[t.jsx(fe,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:n}),l!=null&&l.code!=="completed"?t.jsxs(Yt,{windowSize:d,children:[t.jsx(Nt,{}),t.jsx(Ft,{color:s?.color,children:s?.value})]}):null]})]}),t.jsx(Bt,{windowSize:d,width:j,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(It,{windowSize:d,width:c,children:t.jsx($e,{children:u})})]});return t.jsx(ce,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const Ot=o.div`
|
|
99
99
|
width: 100%;
|
|
100
100
|
display: flex;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -131,7 +131,7 @@ import{q as C,d as M,a7 as Ne,ca as Ke,V as t,aK as V,bQ as ae,bz as Ve,b as ie,
|
|
|
131
131
|
min-width: ${e=>e.width.valuePx(e.windowSize)};
|
|
132
132
|
padding-right: ${i.sp2};
|
|
133
133
|
box-sizing: border-box;
|
|
134
|
-
`,
|
|
134
|
+
`,fe=o(gt)`
|
|
135
135
|
width: ${i.sp4};
|
|
136
136
|
height: ${i.sp4};
|
|
137
137
|
`,we=o(R)`
|
|
@@ -246,7 +246,7 @@ import{q as C,d as M,a7 as Ne,ca as Ke,V as t,aK as V,bQ as ae,bz as Ve,b as ie,
|
|
|
246
246
|
`,ei=o.div`
|
|
247
247
|
display: flex;
|
|
248
248
|
align-items: flex-start;
|
|
249
|
-
`,re={lastListItemHeight:new
|
|
249
|
+
`,re={lastListItemHeight:new y(200,128),rowWrapperMarginLeftRight:new y(p[3],p[8])},{spendManagement:{chargeCard:ti},common:ii}=L.getLocalizedStrings(),oi=({transactionList:e,uiState:r,fetchState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>{const a=C(),u=f.useRef(null),d=f.useMemo(()=>a!=="small"?ot:xt+40,[a]),g=()=>d,x=a==="small"?Re:Oe,$=f.useMemo(()=>e.length*d+x,[e.length,d,x]);f.useEffect(()=>{u.current?.resetAfterIndex(0)},[a]);const j=()=>n==="Error"?t.jsxs(di,{children:[t.jsx(ci,{onClick:h,"data-testid":W("treasury-list-reload"),children:t.jsx(hi,{})}),t.jsx(pi,{children:ii.reloadPage.label})]}):n==="Completed"&&e.length===0?null:t.jsx(Be,{children:t.jsx(xi,{windowSize:a,children:t.jsx(rt,{ref:u,height:$,itemCount:e.length,innerElementType:c=>ri(c,l,r,n),itemSize:g,estimatedItemSize:nt,itemKey:c=>e[c].id,width:"100%",overscanCount:at,initialScrollOffset:0,style:{overflow:"hidden"},children:c=>t.jsx(ni,{...c,transactionList:e})})})});return t.jsx(li,{fetchState:n,children:j()})},ri=(e,r,n,h)=>t.jsx(Ae,{...e,onColumnSortConfigChanged:r,uiState:{sortKey:n.sortKey,sortOrder:n.sortOrder},fetchState:h}),Ae=f.forwardRef((e,r)=>{const{children:n,style:h,uiState:l,onColumnSortConfigChanged:a,...u}=e;return t.jsxs(Be,{ref:r,style:{...h,width:"auto"},...u,children:[t.jsx(jt,{companyNameSticky:!1,onColumnSortConfigChanged:a,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),t.jsx(mi,{children:n})]})});Ae.displayName=ti.cardList.headerElementDisplayName;const ai=({transactionList:e,fetchState:r,uiState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>t.jsx(oi,{transactionList:e,fetchState:r,onReloadCards:h,uiState:n,onColumnSortConfigChanged:l}),ni=({index:e,style:r,transactionList:n})=>{const h=C();return t.jsx(gi,{style:{...r,width:"100%",paddingLeft:re.rowWrapperMarginLeftRight.valuePx(h),paddingRight:re.rowWrapperMarginLeftRight.valuePx(h)},className:"spend-management-list-item",children:t.jsx(si,{transaction:n[e]})},"listItem"+n[e].id)},si=({transaction:e})=>t.jsx(Rt,{data:e,boxType:"roundedBox"},e.id),li=o.div`
|
|
250
250
|
margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
|
|
251
251
|
display: block;
|
|
252
252
|
height: 100%;
|
|
@@ -293,7 +293,7 @@ import{q as C,d as M,a7 as Ne,ca as Ke,V as t,aK as V,bQ as ae,bz as Ve,b as ie,
|
|
|
293
293
|
position: relative;
|
|
294
294
|
width: auto;
|
|
295
295
|
height: 100%;
|
|
296
|
-
`,Be=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],
|
|
296
|
+
`,Be=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],yi=e=>pt(e??"",ui),_=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:_.editPortfolio},{value:"taxLetter",label:_.taxLetter},{value:"statements",label:_.statements},{value:"settings",label:_.settings}],fi=({onOptionSelection:e,onTransferClick:r})=>{const n=Ge(),h=C(),l=L.getLocalizedStrings().spendManagement.treasury.overviewPage,a=n.loggedInUserRoleMap.treasury_user===!0||Ue(n),u=je.filter(g=>g.value==="statements"||g.value==="taxLetter"),d=M();return t.jsxs(wi,{isTopAlign:!1,children:[t.jsx(_e,{entity:"zeni_treasury",onOptionSelection:g=>{const x=yi(g);x!=null&&e(x)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:a?u:je}),!a&&(h==="small"?t.jsx($i,{onClick:r}):t.jsx(Je,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:r,label:l.transferFunds}))]})},wi=o.div`
|
|
297
297
|
display: flex;
|
|
298
298
|
flex-direction: row;
|
|
299
299
|
align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
|
|
@@ -311,7 +311,7 @@ import{q as C,d as M,a7 as Ne,ca as Ke,V as t,aK as V,bQ as ae,bz as Ve,b as ie,
|
|
|
311
311
|
justify-content: center;
|
|
312
312
|
align-items: center;
|
|
313
313
|
background-color: ${e=>e.theme.colors.grey4};
|
|
314
|
-
`,P={tickLabelText:new B("extraSmallRegular","smallRegular"),balanceIntegerStyles:new B("h5Regular","h3Regular"),integerStyles:new B("largeRegular","h6Regular"),decimalStyles:new B("standardRegular","standardRegular"),fundSummaryStyles:new B("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new B("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new f(p[3],p[8]),accountDetailHeaderPaddingBottom:new f(p[3],p[6]),accountDetailHeaderPaddingLeft:new f(p[3],p[8]),accountDetailHeaderPaddingTop:new f(p[3],p[6]),accountDetailContentMarginTop:new f(p[4],p[4]),areaChartHeight:new f(114,209),accountDetailHeaderGap:new f(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:Z,common:bi}=L.getLocalizedStrings(),Ie=y.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=y.useState(),a=y.useMemo(()=>{const s=G(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const O=D/6;let A;return O<.5?A=0:O<.6?A=.9*((O-.5)/.09999999999999998):A=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:A}})},[]),u=y.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=y.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=y.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=G(m[0].payload?.date??"").format(Z.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),$=y.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let O=!1;e.accountHistoryWithBalance.length>360&&(O=!0);const A=O?G(D).format(Z.visual.MMMformat):G(D).format(Z.visual.MMMDFormat);return t.jsx(Bi,{translateX:b,translateY:z,children:t.jsx(Ni,{windowSize:r,dy:20,dx:-25,children:A})})},[e.accountHistoryWithBalance.length,r]),j=y.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(Gi,{cx:s,cy:m,strokeWidth:1,r:p[1]})),[h]),c=y.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(eo,{children:[t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>$(s),interval:u,padding:{right:p[4]}}),t.jsx(ge,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(me,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(qi,{children:v.noData})})]}):t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>$(s),padding:{right:p[4]},interval:c}),t.jsx(ge,{tick:!1,axisLine:!1}),t.jsx(ut,{position:h,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(me,{activeDot:j,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Ie.displayName="AccountBalanceGraph";const Vo=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:h,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:u})=>{const d=C(),g=M(),x=Ne().analytics;Ke({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const $=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},j=e.accountSummary,c=y.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(Qi,{children:[t.jsx(Zi,{children:v.balanceTooltip.base}),t.jsxs(q,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",j?.totalBalance)})]}),t.jsxs(q,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",j?.processingBalance)})]}),t.jsxs(q,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",j?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(Ye,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(fo,{}):t.jsx(Fe,{})})})},[j,d]),s=t.jsx(yi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Ai,{windowSize:d,children:t.jsx(Ie,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(He,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Ii,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Fi,{})}),t.jsx(Yi,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(We,{size:"ExtraLarge",start:!0})})]})},He=y.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});He.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:h,fundsData:l})=>{const a=C(),[u,d]=y.useState(!1);return y.useEffect(()=>{u===!0&&setTimeout(()=>{d(!1)},800)},[u]),t.jsxs(Ri,{children:[t.jsxs(J,{children:[t.jsx(Vi,{children:t.jsxs(K,{children:[N(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(X,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(J,{children:[t.jsxs(K,{children:[N(v.insuredFunds),n("insuredFunds")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(K,{children:N(v.insuredFundsAmount)})]}),r&&t.jsxs(Oi,{children:[t.jsxs(Ce,{children:[t.jsx(K,{children:N(be.common.totalYieldEarned)}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(K,{children:[N(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(h??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:h})=>{const[l,a]=y.useState(!1),u=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:u,allTilesExpanded:l,children:r.map((x,$)=>{const j=l,c=ne($,d);return t.jsxs(oo,{expanded:j,windowSize:u,children:[t.jsx(go,{bgColor:c.headerBackground}),t.jsx(ki,{fund:x,fundIndex:$,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:h}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(_i,{})]})}),j&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:$,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const h=M(),l=ne(r,h),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(J,{children:e.fundCompanyName}),t.jsx(J,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(Ye,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Fe,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:h})=>{const l=M(),{common:a,spendManagement:u}=L.getLocalizedStrings(),d=u.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(yo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(F,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(F,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:Ze(r.fundSize,r.currencyCode)})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(F,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(F,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(F,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(F,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},$))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:h,children:[d.hide,t.jsx(Ji,{})]})]})]})};function zi(e,r){let n=0;for(const h of r){const l=e[h.fundCode]??0;l>0&&h.yield!=null&&(n+=h.yield*l)}return Number((n/100).toFixed(2))}const N=e=>t.jsx(Ui,{children:e}),Pi=o.div`
|
|
314
|
+
`,P={tickLabelText:new B("extraSmallRegular","smallRegular"),balanceIntegerStyles:new B("h5Regular","h3Regular"),integerStyles:new B("largeRegular","h6Regular"),decimalStyles:new B("standardRegular","standardRegular"),fundSummaryStyles:new B("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new B("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new y(p[3],p[8]),accountDetailHeaderPaddingBottom:new y(p[3],p[6]),accountDetailHeaderPaddingLeft:new y(p[3],p[8]),accountDetailHeaderPaddingTop:new y(p[3],p[6]),accountDetailContentMarginTop:new y(p[4],p[4]),areaChartHeight:new y(114,209),accountDetailHeaderGap:new y(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:Z,common:bi}=L.getLocalizedStrings(),Ie=f.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=f.useState(),a=f.useMemo(()=>{const s=G(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const O=D/6;let A;return O<.5?A=0:O<.6?A=.9*((O-.5)/.09999999999999998):A=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:A}})},[]),u=f.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=f.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=f.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=G(m[0].payload?.date??"").format(Z.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),$=f.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let O=!1;e.accountHistoryWithBalance.length>360&&(O=!0);const A=O?G(D).format(Z.visual.MMMformat):G(D).format(Z.visual.MMMDFormat);return t.jsx(Bi,{translateX:b,translateY:z,children:t.jsx(Ni,{windowSize:r,dy:20,dx:-25,children:A})})},[e.accountHistoryWithBalance.length,r]),j=f.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(Gi,{cx:s,cy:m,strokeWidth:1,r:p[1]})),[h]),c=f.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(eo,{children:[t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>$(s),interval:u,padding:{right:p[4]}}),t.jsx(ge,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(me,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(qi,{children:v.noData})})]}):t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>$(s),padding:{right:p[4]},interval:c}),t.jsx(ge,{tick:!1,axisLine:!1}),t.jsx(ut,{position:h,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(me,{activeDot:j,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Ie.displayName="AccountBalanceGraph";const Vo=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:h,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:u})=>{const d=C(),g=M(),x=Ne().analytics;Ke({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const $=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},j=e.accountSummary,c=f.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(Qi,{children:[t.jsx(Zi,{children:v.balanceTooltip.base}),t.jsxs(q,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",j?.totalBalance)})]}),t.jsxs(q,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",j?.processingBalance)})]}),t.jsxs(q,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",j?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(Ye,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(yo,{}):t.jsx(Fe,{})})})},[j,d]),s=t.jsx(fi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Ai,{windowSize:d,children:t.jsx(Ie,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(He,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Ii,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Fi,{})}),t.jsx(Yi,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(We,{size:"ExtraLarge",start:!0})})]})},He=f.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});He.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:h,fundsData:l})=>{const a=C(),[u,d]=f.useState(!1);return f.useEffect(()=>{u===!0&&setTimeout(()=>{d(!1)},800)},[u]),t.jsxs(Ri,{children:[t.jsxs(J,{children:[t.jsx(Vi,{children:t.jsxs(K,{children:[N(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(X,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(J,{children:[t.jsxs(K,{children:[N(v.insuredFunds),n("insuredFunds")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(K,{children:N(v.insuredFundsAmount)})]}),r&&t.jsxs(Oi,{children:[t.jsxs(Ce,{children:[t.jsx(K,{children:N(be.common.totalYieldEarned)}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(K,{children:[N(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(h??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:h})=>{const[l,a]=f.useState(!1),u=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:u,allTilesExpanded:l,children:r.map((x,$)=>{const j=l,c=ne($,d);return t.jsxs(oo,{expanded:j,windowSize:u,children:[t.jsx(go,{bgColor:c.headerBackground}),t.jsx(ki,{fund:x,fundIndex:$,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:h}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(_i,{})]})}),j&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:$,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const h=M(),l=ne(r,h),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(J,{children:e.fundCompanyName}),t.jsx(J,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(Ye,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Fe,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:h})=>{const l=M(),{common:a,spendManagement:u}=L.getLocalizedStrings(),d=u.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(fo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(F,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(F,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:Ze(r.fundSize,r.currencyCode)})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(F,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(F,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(F,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(F,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},$))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:h,children:[d.hide,t.jsx(Ji,{})]})]})]})};function zi(e,r){let n=0;for(const h of r){const l=e[h.fundCode]??0;l>0&&h.yield!=null&&(n+=h.yield*l)}return Number((n/100).toFixed(2))}const N=e=>t.jsx(Ui,{children:e}),Pi=o.div`
|
|
315
315
|
display: flex;
|
|
316
316
|
flex-direction: column;
|
|
317
317
|
align-items: center;
|
|
@@ -618,11 +618,11 @@ import{q as C,d as M,a7 as Ne,ca as Ke,V as t,aK as V,bQ as ae,bz as Ve,b as ie,
|
|
|
618
618
|
color: ${e=>e.theme.colors.primary};
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
`,
|
|
621
|
+
`,yo=o(mt)`
|
|
622
622
|
width: ${i.sp3};
|
|
623
623
|
height: ${i.sp3};
|
|
624
624
|
color: ${w.success};
|
|
625
|
-
`,
|
|
625
|
+
`,fo=o(R)`
|
|
626
626
|
padding: ${i.sp3} ${i.sp4} 0 ${i.sp4};
|
|
627
627
|
color: ${w.heroLight};
|
|
628
628
|
`,wo=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as ce,q as V,av as $e,a7 as fe,aN as ye,V as r,bz as be,fo as ke,b2 as je,o as t,ji as Se,bQ as ze,ag as k,n as Z,aM as J,F as A,a as $,ap as F,p as a,y as z,ak as R,d5 as ve,bS as Le,l as Me,al as Pe,f6 as Be,c as h,dK as Ee,bd as Te,D as Ie,L as De,b as ee,d0 as We}from"./index-
|
|
1
|
+
import{d as ce,q as V,av as $e,a7 as fe,aN as ye,V as r,bz as be,fo as ke,b2 as je,o as t,ji as Se,bQ as ze,ag as k,n as Z,aM as J,F as A,a as $,ap as F,p as a,y as z,ak as R,d5 as ve,bS as Le,l as Me,al as Pe,f6 as Be,c as h,dK as Ee,bd as Te,D as Ie,L as De,b as ee,d0 as We}from"./index-BRDgVxUL.js";import{a as s,w as _e}from"./sentry-BFGzyFr-.js";import{n as i}from"./mui-Cm3rVrD-.js";import{Go as Re}from"./zeni-epic-state-C--9cPPx.js";import{I as Ne,N as Ge}from"./VideoPlayer-BgTXP1p7-DSVVGcbk.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-Bj4AnUyI.js";import{o as Ve}from"./shield-DOlUxcFf-DHIE85xb.js";import"./liveblocks-B7l6-lVT.js";import"./core-CSvDBKbK.js";import"./recharts-CJP-6HgW.js";import"./lottie-Cx9dNUMI.js";import"./analytics-CudETrrD.js";import"./lexical-BmM_-J9_.js";import"./utils-DG7RBBiT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="2cfd43e1-1e9c-4cc1-98b8-94beb9a8f56f",e._sentryDebugIdIdentifier="sentry-dbid-2cfd43e1-1e9c-4cc1-98b8-94beb9a8f56f")}catch{}})();const Ae=({isOpen:e,onClose:g})=>{const d=V(),C=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Qe,{children:p.links.map((u,b)=>r.jsx(Ze,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Fe=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as v,q as j,V as t,bz as z,b1 as I,o as r,F as P,p as m,cq as C,y as T,c as p,ak as D}from"./index-
|
|
1
|
+
import{d as v,q as j,V as t,bz as z,b1 as I,o as r,F as P,p as m,cq as C,y as T,c as p,ak as D}from"./index-BRDgVxUL.js";import{a as h}from"./sentry-BFGzyFr-.js";import{n as o}from"./mui-Cm3rVrD-.js";import{$ as E}from"./BoxItem-Cb4_ZBkK-Bkgg0u3k.js";import{o as B}from"./commonDimensions-7B20r1RL-BsLeN16e.js";import{O as L}from"./StatementItem-BMV39A0D-CK6a43sV.js";import"./liveblocks-B7l6-lVT.js";import"./core-CSvDBKbK.js";import"./recharts-CJP-6HgW.js";import"./zeni-epic-state-C--9cPPx.js";import"./lottie-Cx9dNUMI.js";import"./analytics-CudETrrD.js";import"./lexical-BmM_-J9_.js";import"./utils-DG7RBBiT.js";import"./downloadPdf-D1MhyCE3-Bl_kVnuy.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]="b9761a7a-07d8-4f5a-95be-5c927248718d",e._sentryDebugIdIdentifier="sentry-dbid-b9761a7a-07d8-4f5a-95be-5c927248718d")}catch{}})();const b=P.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new T(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,statementListView:n,onBackClick:f})=>{const g=v(),i=j(),x=h.createRef(),y=h.useRef(),$=n.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:l})=>{const d=n.statements[s];return $===!1?t.jsx(u,{windowSize:i,style:{...l,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"treasuryStatement",boxType:E(s,n.statements.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(u,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(_,{children:[t.jsx(z,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:f,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(q,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,u=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${w.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as j,q as L,V as t,bz as S,b1 as z,o as r,F as I,p,cq as P,y as T,c as h,ak as C}from"./index-
|
|
1
|
+
import{d as j,q as L,V as t,bz as S,b1 as z,o as r,F as I,p,cq as P,y as T,c as h,ak as C}from"./index-BRDgVxUL.js";import{a as m}from"./sentry-BFGzyFr-.js";import{n as o}from"./mui-Cm3rVrD-.js";import{$ as D}from"./BoxItem-Cb4_ZBkK-Bkgg0u3k.js";import{o as E}from"./commonDimensions-7B20r1RL-BsLeN16e.js";import{O as B}from"./StatementItem-BMV39A0D-CK6a43sV.js";import"./liveblocks-B7l6-lVT.js";import"./core-CSvDBKbK.js";import"./recharts-CJP-6HgW.js";import"./zeni-epic-state-C--9cPPx.js";import"./lottie-Cx9dNUMI.js";import"./analytics-CudETrrD.js";import"./lexical-BmM_-J9_.js";import"./utils-DG7RBBiT.js";import"./downloadPdf-D1MhyCE3-Bl_kVnuy.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]="82cc4827-bef4-4349-b79d-d67e9fda06d3",e._sentryDebugIdIdentifier="sentry-dbid-82cc4827-bef4-4349-b79d-d67e9fda06d3")}catch{}})();const b=I.getLocalizedStrings().spendManagement.treasury.taxLetter,f={listItemMargin:new T(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=j(),i=L(),g=m.createRef(),y=m.useRef(),$=n.taxLetters.length===0,k=()=>E.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return $===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${f.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:D(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(N,{children:b.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(S,{title:b.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(q,{ref:g,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},M=o.div``,x=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${f.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as k,V as n,d as _,b1 as I,b as j,aV as P,aM as Y,o as L,p as R,ak as z}from"./index-
|
|
1
|
+
import{F as k,V as n,d as _,b1 as I,b as j,aV as P,aM as Y,o as L,p as R,ak as z}from"./index-BRDgVxUL.js";import{a as v,w as A}from"./sentry-BFGzyFr-.js";import{F1 as m}from"./zeni-epic-state-C--9cPPx.js";import{d as B,g as M,p as D,u as O}from"./chartTypes-h1GkAvwh-DeXrp29h.js";import{n as $}from"./mui-Cm3rVrD-.js";import{o as V}from"./toCOABalancesWithID-DScSc4rG-B7GkAgAH.js";import{V as q}from"./toChartData-BYQCR1Q4-DQjt-eqe.js";import{H as K,I as G,X as N,Y as W,J as X,R as H,K as J}from"./recharts-CJP-6HgW.js";import"./liveblocks-B7l6-lVT.js";import"./core-CSvDBKbK.js";import"./lottie-Cx9dNUMI.js";import"./analytics-CudETrrD.js";import"./lexical-BmM_-J9_.js";import"./utils-DG7RBBiT.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]="aa566ff4-4bf0-4879-a268-b473180ff3fa",e._sentryDebugIdIdentifier="sentry-dbid-aa566ff4-4bf0-4879-a268-b473180ff3fa")}catch{}})();const Q=$.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,Z=$.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as H,V as i,m as z,o as r,F as D,b1 as q,aM as y,y as c,b5 as I,D as E,c as a,ak as V,L as A}from"./index-
|
|
1
|
+
import{q as H,V as i,m as z,o as r,F as D,b1 as q,aM as y,y as c,b5 as I,D as E,c as a,ak as V,L as A}from"./index-BRDgVxUL.js";import{a as k}from"./sentry-BFGzyFr-.js";import{n}from"./mui-Cm3rVrD-.js";import K from"./TrendChart-C7DgNHh6-DWSLEK7h.js";import{C as W}from"./NoDataChart-CRhOisS1-COtAQCUj.js";import{q as X}from"./InsightsSection-BrjpMz4X-CQnyuoM5.js";import{f as Z}from"./TransactionList-DMb2xYOV-B2oFoO-E.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]="c303ecba-760e-4bae-be0d-5290a3b6135c",e._sentryDebugIdIdentifier="sentry-dbid-c303ecba-760e-4bae-be0d-5290a3b6135c")}catch{}})();const G=n.div`
|
|
2
2
|
display: inline-block;
|
|
3
3
|
`,J=n.div`
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as ie,q as ce,av as Ke,aN as en,gB as I,hJ as U,a8 as nn,hK as tn,hL as je,cB as on,V as t,bz as cn,cm as sn,cn as an,co as ln,ab as dn,hM as rn,m as un,aO as pn,fs as mn,F as H,hN as _e,y as u,ak as gn,o as a,cO as
|
|
1
|
+
import{d as ie,q as ce,av as Ke,aN as en,gB as I,hJ as U,a8 as nn,hK as tn,hL as je,cB as on,V as t,bz as cn,cm as sn,cn as an,co as ln,ab as dn,hM as rn,m as un,aO as pn,fs as mn,F as H,hN as _e,y as u,ak as gn,o as a,cO as fe,aS as W,gG as te,hO as oe,hP as Z,hQ as xn,c as r,a as ye,p as Ae,g0 as Ve,ag as $e,bg as hn}from"./index-BRDgVxUL.js";import{a as Y}from"./sentry-BFGzyFr-.js";import{n as s}from"./mui-Cm3rVrD-.js";import{FN as Te,Fs as bn,Ft as wn,FO as fn}from"./zeni-epic-state-C--9cPPx.js";import{h as yn}from"./VendorsAccountsSection-C9NkRN0p-CxSkczTx.js";import"./liveblocks-B7l6-lVT.js";import"./core-CSvDBKbK.js";import"./recharts-CJP-6HgW.js";import"./lottie-Cx9dNUMI.js";import"./analytics-CudETrrD.js";import"./lexical-BmM_-J9_.js";import"./utils-DG7RBBiT.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]="59ef6682-e2de-4961-82ec-2729fbc11d99",e._sentryDebugIdIdentifier="sentry-dbid-59ef6682-e2de-4961-82ec-2729fbc11d99")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new ye("standardMedium","largeMedium")},An=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
|
|
@@ -65,7 +65,7 @@ import{d as ie,q as ce,av as Ke,aN as en,gB as I,hJ as U,a8 as nn,hK as tn,hL as
|
|
|
65
65
|
background-color: ${e=>e.theme.colors.grey5};
|
|
66
66
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
67
67
|
border-radius: ${a.sp2};
|
|
68
|
-
`,X=(e,n)=>`${e}.${n}`;function On({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=C.labelWidth.value(l),z=o.billPayRecommendation!=null?[o.billPayRecommendation]:[],R=I(o.billPayAccountHierarchy,z,"Accounts"),O=o.billPayRecommendation?.account?.reason??"",k=c.tooltip.replace("__based__",O).replace("__account__",c.billsSection.billPayExpenseAccount),$=o.billPayAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedBillPayAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=
|
|
68
|
+
`,X=(e,n)=>`${e}.${n}`;function On({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=C.labelWidth.value(l),z=o.billPayRecommendation!=null?[o.billPayRecommendation]:[],R=I(o.billPayAccountHierarchy,z,"Accounts"),O=o.billPayRecommendation?.account?.reason??"",k=c.tooltip.replace("__based__",O).replace("__account__",c.billsSection.billPayExpenseAccount),$=o.billPayAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedBillPayAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=fe(),v=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(An,{windowSize:l,children:[t.jsx(In,{windowSize:l,children:c.billsSection.heading}),t.jsxs($n,{windowSize:l,children:[t.jsxs(Sn,{windowSize:l,children:[t.jsx(vn,{windowSize:l,iconColor:v,isDarkMode:p.mode==="dark",children:t.jsx(Ln,{})}),t.jsxs(Rn,{children:[t.jsx(Cn,{windowSize:l,children:c.billsSection.title}),t.jsx(Pn,{children:c.billsSection.subTitle})]})]}),t.jsx(Mn,{children:t.jsx(zn,{windowSize:l,children:t.jsx(te,{isZeniRecommendsLabel:!0,isLoading:!1,label:{label:c.billsSection.bankChargesAndFeesLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.billPayRecommendation!=null,name:X(e,"billPayAccount"),placeholder:c.placeholder.accountPlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:h=>oe(h,o.billPayAccountList),defaultValue:{selectedOption:$?.qboId,allOptions:R},style:{border:`1px solid ${p.colors.grey3}`},customStyleConfig:S,registerOptions:{required:!1},menuPortal:n},style:{border:`1px solid ${p.colors.grey3}`,borderRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.billPayRecommendation!=null?{tooltipProps:{text:k},label:{label:o.billPayRecommendation?.account?.accountName??H.getLocalizedStrings().common.strings.empty},checkBoxField:{name:X(e,"isRecommendedBillPayAccountChecked"),defaultChecked:d(X(e,"isRecommendedBillPayAccountChecked"))}}:void 0},X(e,"billPayAccount"))})})]})]})}const P={labelWidth:new u(120,145,160),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new ye("standardMedium","largeMedium")},kn=s.div`
|
|
69
69
|
display: flex;
|
|
70
70
|
flex-direction: column;
|
|
71
71
|
row-gap: ${e=>P.rowGap.valuePx(e.windowSize)};
|
|
@@ -132,7 +132,7 @@ import{d as ie,q as ce,av as Ke,aN as en,gB as I,hJ as U,a8 as nn,hK as tn,hL as
|
|
|
132
132
|
background-color: ${e=>e.theme.colors.grey5};
|
|
133
133
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
134
134
|
border-radius: ${a.sp2};
|
|
135
|
-
`,K=(e,n)=>`${e}.${n}`;function Wn({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=P.labelWidth.value(l),z=o.reimbursementsRecommendation!=null?[o.reimbursementsRecommendation]:[],R=I(o.reimbursementsAccountHierarchy,z,"Accounts"),O=o.reimbursementsRecommendation?.account?.reason??"",k=c.tooltip.replace("__based__",O).replace("__account__",c.reimbursementsSection.reimbursementsExpenseAccount),$=o.reimbursementsAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedReimbursementsAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=
|
|
135
|
+
`,K=(e,n)=>`${e}.${n}`;function Wn({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=P.labelWidth.value(l),z=o.reimbursementsRecommendation!=null?[o.reimbursementsRecommendation]:[],R=I(o.reimbursementsAccountHierarchy,z,"Accounts"),O=o.reimbursementsRecommendation?.account?.reason??"",k=c.tooltip.replace("__based__",O).replace("__account__",c.reimbursementsSection.reimbursementsExpenseAccount),$=o.reimbursementsAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedReimbursementsAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=fe(),v=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(kn,{windowSize:l,children:[t.jsx(Tn,{windowSize:l,children:c.reimbursementsSection.heading}),t.jsxs(En,{windowSize:l,children:[t.jsxs(jn,{windowSize:l,children:[t.jsx(Fn,{windowSize:l,iconColor:v,isDarkMode:p.mode==="dark",children:t.jsx(Vn,{})}),t.jsxs(Dn,{children:[t.jsx(Bn,{windowSize:l,children:c.reimbursementsSection.title}),t.jsx(_n,{children:c.reimbursementsSection.subTitle})]})]}),t.jsx(qn,{children:t.jsx(Hn,{windowSize:l,children:t.jsx(te,{isZeniRecommendsLabel:!0,isLoading:!1,label:{label:c.reimbursementsSection.mileageLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.reimbursementsRecommendation!=null,name:K(e,"reimbursementsAccount"),placeholder:c.placeholder.accountPlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:h=>oe(h,o.reimbursementsAccountList),defaultValue:{selectedOption:$?.qboId,allOptions:R},style:{border:`1px solid ${p.colors.grey3}`},customStyleConfig:S,registerOptions:{required:!1},menuPortal:n},style:{border:`1px solid ${p.colors.grey3}`,borderRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.reimbursementsRecommendation!=null?{tooltipProps:{text:k},label:{label:o.reimbursementsRecommendation?.account?.accountName??H.getLocalizedStrings().common.strings.empty},checkBoxField:{name:K(e,"isRecommendedReimbursementsAccountChecked"),defaultChecked:d(K(e,"isRecommendedReimbursementsAccountChecked"))}}:void 0},K(e,"reimbursementsAccount"))})})]})]})}const L={labelWidth:new u(120,145,160),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},We={title:new ye("standardMedium","largeMedium")},Nn=s.div`
|
|
136
136
|
display: flex;
|
|
137
137
|
flex-direction: column;
|
|
138
138
|
row-gap: ${e=>L.rowGap.valuePx(e.windowSize)};
|
|
@@ -199,7 +199,7 @@ import{d as ie,q as ce,av as Ke,aN as en,gB as I,hJ as U,a8 as nn,hK as tn,hL as
|
|
|
199
199
|
background-color: ${e=>e.theme.colors.grey5};
|
|
200
200
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
201
201
|
border-radius: ${a.sp2};
|
|
202
|
-
`,D=(e,n)=>`${e}.${n}`;function tt({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=L.labelWidth.value(l),z=o.incomeRecommendation!=null?[o.incomeRecommendation]:[],R=I(o.incomeAccountHierachy,z),O=o.expenseRecommendation!=null?[o.expenseRecommendation]:[],k=I(o.expenseAccountHierarchy,O),$=o.incomeRecommendation?.account?.reason??"",S=c.tooltip.replace("__based__",$).replace("__account__",c.uncategorizedSection.incomeAccount),d=o.expenseRecommendation?.account?.reason??"",v=c.tooltip.replace("__based__",d).replace("__account__",c.uncategorizedSection.expenseAccount),h=o.incomeAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedIncomeAccountId),E=o.expenseAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedExpenseAccountId),F={valueContainer:y=>({...y,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:B}=
|
|
202
|
+
`,D=(e,n)=>`${e}.${n}`;function tt({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=L.labelWidth.value(l),z=o.incomeRecommendation!=null?[o.incomeRecommendation]:[],R=I(o.incomeAccountHierachy,z),O=o.expenseRecommendation!=null?[o.expenseRecommendation]:[],k=I(o.expenseAccountHierarchy,O),$=o.incomeRecommendation?.account?.reason??"",S=c.tooltip.replace("__based__",$).replace("__account__",c.uncategorizedSection.incomeAccount),d=o.expenseRecommendation?.account?.reason??"",v=c.tooltip.replace("__based__",d).replace("__account__",c.uncategorizedSection.expenseAccount),h=o.incomeAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedIncomeAccountId),E=o.expenseAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedExpenseAccountId),F={valueContainer:y=>({...y,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:B}=fe(),V=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(Nn,{windowSize:l,children:[t.jsx(Jn,{windowSize:l,children:c.uncategorizedSection.heading}),t.jsxs(Gn,{windowSize:l,children:[t.jsxs(Un,{windowSize:l,children:[t.jsx(Zn,{windowSize:l,iconColor:V,isDarkMode:p.mode==="dark",children:t.jsx(Kn,{})}),t.jsxs(Qn,{children:[t.jsx(Yn,{windowSize:l,children:c.uncategorizedSection.title}),t.jsx(Xn,{children:c.uncategorizedSection.subTitle})]})]}),t.jsx(et,{children:t.jsxs(nt,{windowSize:l,children:[t.jsx(te,{isLoading:!1,label:{label:c.uncategorizedSection.incomeLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.incomeRecommendation!=null,name:D(e,"incomeAccount"),placeholder:c.placeholder.incomePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:y=>oe(y,o.incomeAccountList),defaultValue:{selectedOption:h?.qboId,allOptions:R},style:{width:"100%"},customStyleConfig:F,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.incomeRecommendation!=null?{tooltipProps:{text:S},label:{label:o.incomeRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedIncomeAccountChecked"),defaultChecked:B(D(e,"isRecommendedIncomeAccountChecked"))}}:void 0},D(e,"incomeAccount")),t.jsx(te,{isLoading:!1,label:{label:c.uncategorizedSection.expenseLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.expenseRecommendation!=null,name:D(e,"expenseAccount"),placeholder:c.placeholder.expensePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:y=>oe(y,o.expenseAccountList),defaultValue:{selectedOption:E?.qboId,allOptions:k},style:{borderBottom:`1px solid ${p.colors.grey3}`},customStyleConfig:F,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.expenseRecommendation!=null?{tooltipProps:{text:v},label:{label:o.expenseRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedExpenseAccountChecked"),defaultChecked:B(D(e,"isRecommendedExpenseAccountChecked"))}}:void 0},D(e,"expenseAccount"))]})})]})]})}const J={titleWidth:new u(343,580,826,1048),setupDetailsRowGap:new u(12,r[5],r[5]),sectionsRowGap:new u(12,r[7],r[7]),subTitlePaddingTop:new u(12,r[3]),subTitlePaddingBottom:new u(r[3],r[3])},{common:m,uncategorizedAccountsMapping:_}=H.getLocalizedStrings(),De="uncategorizedAccountsMappingPage",q="uncategorizedAccountSection",x="filing1099Section",ee="billsAccountSection",ne="reimbursementsAccountSection",Ne="vendorsAccountSection",ot=s.div`
|
|
203
203
|
display: flex;
|
|
204
204
|
height: 100vh;
|
|
205
205
|
width: 100%;
|
|
@@ -241,4 +241,4 @@ import{d as ie,q as ce,av as Ke,aN as en,gB as I,hJ as U,a8 as nn,hK as tn,hL as
|
|
|
241
241
|
padding-top: ${e=>J.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
242
242
|
padding-bottom: ${e=>J.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
243
243
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
244
|
-
`;function yt({currentTenant:e,accountMappingView:n,isFiling1099FeatureEnabled:o,isAccruedExpensesFeatureEnabled:l,meetingUrl:p,isSettings:c=!1,onAccountMappingChange:M,onSaveClick:z,onBackClick:R,onClickMenuIcon:O}){const k=ie(),$=ce(),S=Ke(),[d,v]=Y.useState(!1),h=en(n.saveState.fetchState),E=Y.useRef(null),{incomeRecommendation:F,expenseRecommendation:B,billPayRecommendation:V,reimbursementsRecommendation:y,prepaidExpensesRecommendation:se,fixedAssetsRecommendation:ae,accruedExpensesRecommendation:le}=n,de=F!=null?[F]:[],re=B!=null?[B]:[],ue=V!=null?[V]:[],pe=y!=null?[y]:[],me=se,ge=ae,xe=le,i=I(n.incomeAccountHierachy,de,"Accounts"),N=I(n.expenseAccountHierarchy,re,"Accounts"),he=I(n.billPayAccountHierarchy,ue,"Accounts"),be=I(n.reimbursementsAccountHierarchy,pe,"Accounts"),Se=I(n.prepaidExpensesAccountHierarchy,me,"Accounts"),Ie=I(n.fixedAssetsAccountHierarchy,ge,"Accounts"),Re=I(n.accruedExpensesAccountHierarchy,xe,"Accounts"),ve=I(n.bankAccounts1099FilingAccountHierarchy,[],"Accounts"),Ce=I(n.expenseAccounts1099FilingAccountHierarchy,[],"Categories"),Pe=U(n.expenseTypeList,_.filing1099Section.allExpenseTypes),Le=U(n.expense1099TypeList,_.filing1099Section.all1099Types),Ge=U(n.boxTypesList.int,_.filing1099Section.allBoxes),Ue=U(n.boxTypesList.misc,_.filing1099Section.allBoxes),Je=U(n.boxTypesList.nec,_.filing1099Section.allBoxes),fe={int:Ge,misc:Ue,nec:Je},f=nn({mode:"all",defaultValues:Be(n,i,N,he,be,Se,Ie,Re,ve,Ce,Pe,Le,fe),resetOptions:{keepDirtyValues:!0},values:Be(n,i,N,he,be,Se,Ie,Re,ve,Ce,Pe,Le,fe)}),Qe=f.handleSubmit(b=>{const A=b[x].bankAccount.selectedOptions.length,g=b[x].expenseCategory1099.length,w=A===0&&g===1&&tn(b[x].expenseCategory1099[0]),j=b[x].expenseCategory1099,G=[];j.forEach((Q,T)=>{if(!w){const ze=Q.accountId?.selectedOption,Oe=Q.expenseType?.selectedOption,ke=Q.type1099?.selectedOption,Ee=Q.boxType?.selectedOption;(ze==null||ze==="")&&(f.setError(`${x}.expenseCategory1099.${T}.accountId`,{type:"manual",message:"Account ID is required."}),G.push(`${T}.accountId`)),(Oe==null||Oe==="")&&(f.setError(`${x}.expenseCategory1099.${T}.expenseType`,{type:"manual",message:"Expense Type is required."}),G.push(`${T}.expenseType`)),(ke==null||ke==="")&&(f.setError(`${x}.expenseCategory1099.${T}.type1099`,{type:"manual",message:"Type 1099 is required."}),G.push(`${T}.type1099`)),(Ee==null||Ee==="")&&(f.setError(`${x}.expenseCategory1099.${T}.boxType`,{type:"manual",message:"Box Type is required."}),G.push(`${T}.boxType`))}}),G.length===0&&(A>0&&g>1&&je(b[x].expenseCategory1099[0])||A>0&&g===1&&je(b[x].expenseCategory1099[0])||w)&&z(b)}),Ze=async(b,A)=>{if(b.includes("isRecommendedIncomeAccountChecked")){const g=A[q].isRecommendedIncomeAccountChecked===!0?n.incomeRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousIncomeAccount?.qboId;f.setValue(`${q}.incomeAccount`,{selectedOption:g,allOptions:i},{shouldValidate:!0})}if(b.includes("isRecommendedExpenseAccountChecked")){const g=A[q].isRecommendedExpenseAccountChecked===!0?n.expenseRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousExpenseAccount?.qboId;f.setValue(`${q}.expenseAccount`,{selectedOption:g,allOptions:N},{shouldValidate:!0})}if(b.includes("isRecommendedBillPayAccountChecked")){const g=A[ee].isRecommendedBillPayAccountChecked===!0?n.billPayRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousBillPayAccount?.qboId;f.setValue(`${ee}.billPayAccount`,{selectedOption:g,allOptions:he},{shouldValidate:!0})}if(b.includes("isRecommendedReimbursementsAccountChecked")){const g=A[ne].isRecommendedReimbursementsAccountChecked===!0?n.reimbursementsRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousReimbursementsAccount?.qboId;f.setValue(`${ne}.reimbursementsAccount`,{selectedOption:g,allOptions:be},{shouldValidate:!0})}if(b.includes("filing1099Section.expenseCategory1099")){const g=b.split(".").find(w=>!isNaN(Number(w)));if(g!==void 0){const w=parseInt(g,10),j=A[x].expenseCategory1099[w];j.accountId?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.accountId`),j.expenseType?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.expenseType`),j.type1099?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.type1099`),j.boxType?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.boxType`)}}if(b.includes("type1099")){const g=b?.split(".")?.find(w=>!isNaN(Number(w)));if(g!=null){const w=parseInt(g,10),j=A[x].expenseCategory1099[w].type1099?.selectedOption;f.setValue(`${x}.expenseCategory1099.${w}.boxType`,{selectedOption:m.strings.empty,allOptions:_e(j??m.strings.empty,fe)},{shouldValidate:!0})}}M(A)};Y.useEffect(()=>{h==="In-Progress"&&n.saveState.fetchState==="Completed"&&R?.()},[h,n.saveState.fetchState,R]),Y.useEffect(()=>{const b=f.watch((A,{name:g})=>{g!=null&&A!=null&&on(()=>Ze(g,A))});return()=>{b.unsubscribe()}});const Me=()=>n.fetchState==="Completed"&&(n.accountMappingLocalData?.selectedExpenseAccountId!==n.accountMappingLocalData?.previousExpenseAccount?.accountId||n.accountMappingLocalData?.selectedIncomeAccountId!==n.accountMappingLocalData?.previousIncomeAccount?.accountId||n.accountMappingLocalData?.selectedBillPayAccountId!==n.accountMappingLocalData?.previousBillPayAccount?.accountId||n.accountMappingLocalData?.selectedReimbursementsAccountId!==n.accountMappingLocalData?.previousReimbursementsAccount?.accountId||Z(n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds,n.accountMappingLocalData?.previousPrepaidExpensesAccount)||Z(n.accountMappingLocalData?.selectedFixedAssetsAccountIds,n.accountMappingLocalData?.previousFixedAssetsAccount)||Z(n.accountMappingLocalData?.selectedAccruedExpensesAccountIds,n.accountMappingLocalData?.previousAccruedExpensesAccount)||Z(n.accountMappingLocalData?.selectedBankAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousBankAccounts1099FilingAccount)||xn(n.accountMappingLocalData?.selectedExpenseAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousExpenseAccounts1099FilingAccount)),Ye=n.fetchState!=="Completed",Xe={onOkClick:()=>{v(!1),R?.(),f.reset()},onCancelClick:()=>{v(!1)}};return t.jsxs(ot,{ref:E,children:[t.jsx(cn,{title:c?m.settings.title.accounting:_.title,onBackClick:R,backgroundColor:k.colors.grey4,showBackButton:!c,showMenuIcon:c?$==="medium-compact"||$==="small":!1,onClickMenuIcon:O,source:"UncategorizedAccountsMappingPage"}),d===!0?t.jsx(sn,{titleComponent:t.jsx(ln,{children:m.confirmationPopup.discardTitle}),descriptionComponent:t.jsx(an,{children:m.confirmationPopup.discardDescription}),primaryButtonText:m.confirmationPopup.discard,secondaryButtonText:m.confirmationPopup.cancel,action:Xe,proceedButtonVariant:"danger"}):null,t.jsxs(it,{windowSize:$,children:[t.jsx(at,{windowSize:$,children:_.subTitle}),Ye===!1?t.jsx(dn,{...f,children:t.jsx("form",{id:Fe(De),onSubmit:Qe,children:t.jsxs(ct,{windowSize:$,children:[Te(S.loggedInUserRole??[])?t.jsx(tt,{sectionId:q,containerRef:E.current,accountMappingView:n}):null,bn(e,S.loggedInUserRoleMap)?t.jsx(On,{sectionId:ee,containerRef:E.current,accountMappingView:n}):null,fn(e,S.loggedInUserRoleMap)?t.jsx(Wn,{sectionId:ne,containerRef:E.current,accountMappingView:n}):null,Te(S.loggedInUserRole??[])?t.jsx(yn,{sectionId:Ne,vendorAccountMappingSection:{accruedExpensesAccountHierarchy:n.accruedExpensesAccountHierarchy,accruedExpensesAccountList:n.accruedExpensesAccountList,accruedExpensesRecommendations:n.accruedExpensesRecommendation,fixedAssetsAccountHierarchy:n.fixedAssetsAccountHierarchy,fixedAssetsAccountList:n.fixedAssetsAccountList,fixedAssetsRecommendations:n.fixedAssetsRecommendation,prepaidExpensesAccountHierarchy:n.prepaidExpensesAccountHierarchy,prepaidExpensesAccountList:n.prepaidExpensesAccountList,prepaidExpensesRecommendations:n.prepaidExpensesRecommendation,selectedAccruedExpensesAccountIds:n.accountMappingLocalData?.selectedAccruedExpensesAccountIds??[],selectedFixedAssetsAccountIds:n.accountMappingLocalData?.selectedFixedAssetsAccountIds??[],selectedPrepaidExpensesAccountIds:n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds??[]},isAccruedExpensesFeatureEnabled:l}):null,o&&wn(S.loggedInUserRoleMap)?t.jsx(rn,{sectionId:x,accountMappingView:n,containerRef:E.current,isSettingsPage:!0}):null]})})}):t.jsx(st,{children:t.jsx(un,{size:"ExtraLarge",start:!0})})]}),Me()===!0?t.jsx(pn,{formId:Fe(De),primaryBtn:{label:m.footer.save,style:{width:"82px"},isLoading:n.saveState.fetchState==="In-Progress",isDisabled:n.saveState.fetchState==="In-Progress"},cancelBtn:{label:m.footer.cancel,style:{width:"82px"},shouldResetOnCancel:!0,onClick:()=>{v(!0)}}}):null,c?null:t.jsx(mn,{isFooterRendered:Me(),meetingUrl:p})]})}const Fe=e=>`${e}_form`,Be=(e,n,o,l,p,c,M,z,R,O,k,$,S)=>{const{accountMappingLocalData:d,incomeRecommendation:v,expenseRecommendation:h,billPayRecommendation:E,reimbursementsRecommendation:F}=e,B=d?.selectedIncomeAccountId===v?.account?.accountId,V=d?.selectedExpenseAccountId===h?.account?.accountId,y=d?.selectedBillPayAccountId===E?.account?.accountId,se=d?.selectedReimbursementsAccountId===F?.account?.accountId,ae=d?.selectedIncomeAccountId!=null?e.incomeAccountList.find(i=>i.accountId===d.selectedIncomeAccountId):void 0,le=d?.selectedExpenseAccountId!=null?e.expenseAccountList.find(i=>i.accountId===d.selectedExpenseAccountId):void 0,de=d?.selectedBillPayAccountId!=null?e.billPayAccountList.find(i=>i.accountId===d.selectedBillPayAccountId):void 0,re=d?.selectedReimbursementsAccountId!=null?e.reimbursementsAccountList.find(i=>i.accountId===d.selectedReimbursementsAccountId):void 0,ue=d?.selectedPrepaidExpensesAccountIds!=null?e.prepaidExpensesAccountList.filter(i=>d.selectedPrepaidExpensesAccountIds.includes(i.accountId)):[],pe=d?.selectedFixedAssetsAccountIds!=null?e.fixedAssetsAccountList.filter(i=>d.selectedFixedAssetsAccountIds.includes(i.accountId)):[],me=d?.selectedAccruedExpensesAccountIds!=null?e.accruedExpensesAccountList.filter(i=>d.selectedAccruedExpensesAccountIds.includes(i.accountId)):[],ge=d?.selectedBankAccounts1099FilingAccountIds!=null?e.bankAccounts1099FilingAccountList.filter(i=>d.selectedBankAccounts1099FilingAccountIds.includes(i.accountId)):[],xe=d?.selectedExpenseAccounts1099FilingAccountIds!=null?d.selectedExpenseAccounts1099FilingAccountIds.map(i=>({accountId:i.accountId??m.strings.empty,tax1099Config:{expenseType1099:i.expenseType??m.strings.empty,type1099:i.type1099??m.strings.empty,boxType:i.boxType??m.strings.empty}})):[];return{[x]:{bankAccount:{selectedOptions:ge.map(i=>i.qboId).filter(i=>i!=null),allOptions:R},expenseCategory1099:xe.map(i=>({accountId:{selectedOption:e.expenseAccounts1099FilingAccountList.find(N=>N.accountId===i.accountId)?.qboId??m.strings.empty,allOptions:O},expenseType:{selectedOption:i?.tax1099Config?.expenseType1099??m.strings.empty,allOptions:k},type1099:{selectedOption:i?.tax1099Config?.type1099??m.strings.empty,allOptions:$},boxType:{selectedOption:i?.tax1099Config?.boxType??m.strings.empty,allOptions:_e(i?.tax1099Config?.type1099??m.strings.empty,S)}}))},[q]:{incomeAccount:{selectedOption:ae?.qboId,allOptions:n},isRecommendedIncomeAccountChecked:B,expenseAccount:{selectedOption:le?.qboId,allOptions:o},isRecommendedExpenseAccountChecked:V},[ee]:{billPayAccount:{selectedOption:de?.qboId,allOptions:l},isRecommendedBillPayAccountChecked:y},[ne]:{reimbursementsAccount:{selectedOption:re?.qboId,allOptions:p},isRecommendedReimbursementsAccountChecked:se},[Ne]:{prepaidExpensesAccount:{selectedOptions:ue.map(i=>i.qboId).filter(i=>i!=null),allOptions:c},fixedAssetsAccount:{selectedOptions:pe.map(i=>i.qboId).filter(i=>i!=null),allOptions:M},accruedExpensesAccount:{selectedOptions:me.map(i=>i.qboId).filter(i=>i!=null),allOptions:z}}}};export{yt as default};
|
|
244
|
+
`;function yt({currentTenant:e,accountMappingView:n,isFiling1099FeatureEnabled:o,isAccruedExpensesFeatureEnabled:l,meetingUrl:p,isSettings:c=!1,onAccountMappingChange:M,onSaveClick:z,onBackClick:R,onClickMenuIcon:O}){const k=ie(),$=ce(),S=Ke(),[d,v]=Y.useState(!1),h=en(n.saveState.fetchState),E=Y.useRef(null),{incomeRecommendation:F,expenseRecommendation:B,billPayRecommendation:V,reimbursementsRecommendation:y,prepaidExpensesRecommendation:se,fixedAssetsRecommendation:ae,accruedExpensesRecommendation:le}=n,de=F!=null?[F]:[],re=B!=null?[B]:[],ue=V!=null?[V]:[],pe=y!=null?[y]:[],me=se,ge=ae,xe=le,i=I(n.incomeAccountHierachy,de,"Accounts"),N=I(n.expenseAccountHierarchy,re,"Accounts"),he=I(n.billPayAccountHierarchy,ue,"Accounts"),be=I(n.reimbursementsAccountHierarchy,pe,"Accounts"),Se=I(n.prepaidExpensesAccountHierarchy,me,"Accounts"),Ie=I(n.fixedAssetsAccountHierarchy,ge,"Accounts"),Re=I(n.accruedExpensesAccountHierarchy,xe,"Accounts"),ve=I(n.bankAccounts1099FilingAccountHierarchy,[],"Accounts"),Ce=I(n.expenseAccounts1099FilingAccountHierarchy,[],"Categories"),Pe=U(n.expenseTypeList,_.filing1099Section.allExpenseTypes),Le=U(n.expense1099TypeList,_.filing1099Section.all1099Types),Ge=U(n.boxTypesList.int,_.filing1099Section.allBoxes),Ue=U(n.boxTypesList.misc,_.filing1099Section.allBoxes),Je=U(n.boxTypesList.nec,_.filing1099Section.allBoxes),we={int:Ge,misc:Ue,nec:Je},w=nn({mode:"all",defaultValues:Be(n,i,N,he,be,Se,Ie,Re,ve,Ce,Pe,Le,we),resetOptions:{keepDirtyValues:!0},values:Be(n,i,N,he,be,Se,Ie,Re,ve,Ce,Pe,Le,we)}),Qe=w.handleSubmit(b=>{const A=b[x].bankAccount.selectedOptions.length,g=b[x].expenseCategory1099.length,f=A===0&&g===1&&tn(b[x].expenseCategory1099[0]),j=b[x].expenseCategory1099,G=[];j.forEach((Q,T)=>{if(!f){const ze=Q.accountId?.selectedOption,Oe=Q.expenseType?.selectedOption,ke=Q.type1099?.selectedOption,Ee=Q.boxType?.selectedOption;(ze==null||ze==="")&&(w.setError(`${x}.expenseCategory1099.${T}.accountId`,{type:"manual",message:"Account ID is required."}),G.push(`${T}.accountId`)),(Oe==null||Oe==="")&&(w.setError(`${x}.expenseCategory1099.${T}.expenseType`,{type:"manual",message:"Expense Type is required."}),G.push(`${T}.expenseType`)),(ke==null||ke==="")&&(w.setError(`${x}.expenseCategory1099.${T}.type1099`,{type:"manual",message:"Type 1099 is required."}),G.push(`${T}.type1099`)),(Ee==null||Ee==="")&&(w.setError(`${x}.expenseCategory1099.${T}.boxType`,{type:"manual",message:"Box Type is required."}),G.push(`${T}.boxType`))}}),G.length===0&&(A>0&&g>1&&je(b[x].expenseCategory1099[0])||A>0&&g===1&&je(b[x].expenseCategory1099[0])||f)&&z(b)}),Ze=async(b,A)=>{if(b.includes("isRecommendedIncomeAccountChecked")){const g=A[q].isRecommendedIncomeAccountChecked===!0?n.incomeRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousIncomeAccount?.qboId;w.setValue(`${q}.incomeAccount`,{selectedOption:g,allOptions:i},{shouldValidate:!0})}if(b.includes("isRecommendedExpenseAccountChecked")){const g=A[q].isRecommendedExpenseAccountChecked===!0?n.expenseRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousExpenseAccount?.qboId;w.setValue(`${q}.expenseAccount`,{selectedOption:g,allOptions:N},{shouldValidate:!0})}if(b.includes("isRecommendedBillPayAccountChecked")){const g=A[ee].isRecommendedBillPayAccountChecked===!0?n.billPayRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousBillPayAccount?.qboId;w.setValue(`${ee}.billPayAccount`,{selectedOption:g,allOptions:he},{shouldValidate:!0})}if(b.includes("isRecommendedReimbursementsAccountChecked")){const g=A[ne].isRecommendedReimbursementsAccountChecked===!0?n.reimbursementsRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousReimbursementsAccount?.qboId;w.setValue(`${ne}.reimbursementsAccount`,{selectedOption:g,allOptions:be},{shouldValidate:!0})}if(b.includes("filing1099Section.expenseCategory1099")){const g=b.split(".").find(f=>!isNaN(Number(f)));if(g!==void 0){const f=parseInt(g,10),j=A[x].expenseCategory1099[f];j.accountId?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${f}.accountId`),j.expenseType?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${f}.expenseType`),j.type1099?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${f}.type1099`),j.boxType?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${f}.boxType`)}}if(b.includes("type1099")){const g=b?.split(".")?.find(f=>!isNaN(Number(f)));if(g!=null){const f=parseInt(g,10),j=A[x].expenseCategory1099[f].type1099?.selectedOption;w.setValue(`${x}.expenseCategory1099.${f}.boxType`,{selectedOption:m.strings.empty,allOptions:_e(j??m.strings.empty,we)},{shouldValidate:!0})}}M(A)};Y.useEffect(()=>{h==="In-Progress"&&n.saveState.fetchState==="Completed"&&R?.()},[h,n.saveState.fetchState,R]),Y.useEffect(()=>{const b=w.watch((A,{name:g})=>{g!=null&&A!=null&&on(()=>Ze(g,A))});return()=>{b.unsubscribe()}});const Me=()=>n.fetchState==="Completed"&&(n.accountMappingLocalData?.selectedExpenseAccountId!==n.accountMappingLocalData?.previousExpenseAccount?.accountId||n.accountMappingLocalData?.selectedIncomeAccountId!==n.accountMappingLocalData?.previousIncomeAccount?.accountId||n.accountMappingLocalData?.selectedBillPayAccountId!==n.accountMappingLocalData?.previousBillPayAccount?.accountId||n.accountMappingLocalData?.selectedReimbursementsAccountId!==n.accountMappingLocalData?.previousReimbursementsAccount?.accountId||Z(n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds,n.accountMappingLocalData?.previousPrepaidExpensesAccount)||Z(n.accountMappingLocalData?.selectedFixedAssetsAccountIds,n.accountMappingLocalData?.previousFixedAssetsAccount)||Z(n.accountMappingLocalData?.selectedAccruedExpensesAccountIds,n.accountMappingLocalData?.previousAccruedExpensesAccount)||Z(n.accountMappingLocalData?.selectedBankAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousBankAccounts1099FilingAccount)||xn(n.accountMappingLocalData?.selectedExpenseAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousExpenseAccounts1099FilingAccount)),Ye=n.fetchState!=="Completed",Xe={onOkClick:()=>{v(!1),R?.(),w.reset()},onCancelClick:()=>{v(!1)}};return t.jsxs(ot,{ref:E,children:[t.jsx(cn,{title:c?m.settings.title.accounting:_.title,onBackClick:R,backgroundColor:k.colors.grey4,showBackButton:!c,showMenuIcon:c?$==="medium-compact"||$==="small":!1,onClickMenuIcon:O,source:"UncategorizedAccountsMappingPage"}),d===!0?t.jsx(sn,{titleComponent:t.jsx(ln,{children:m.confirmationPopup.discardTitle}),descriptionComponent:t.jsx(an,{children:m.confirmationPopup.discardDescription}),primaryButtonText:m.confirmationPopup.discard,secondaryButtonText:m.confirmationPopup.cancel,action:Xe,proceedButtonVariant:"danger"}):null,t.jsxs(it,{windowSize:$,children:[t.jsx(at,{windowSize:$,children:_.subTitle}),Ye===!1?t.jsx(dn,{...w,children:t.jsx("form",{id:Fe(De),onSubmit:Qe,children:t.jsxs(ct,{windowSize:$,children:[Te(S.loggedInUserRole??[])?t.jsx(tt,{sectionId:q,containerRef:E.current,accountMappingView:n}):null,bn(e,S.loggedInUserRoleMap)?t.jsx(On,{sectionId:ee,containerRef:E.current,accountMappingView:n}):null,wn(e,S.loggedInUserRoleMap)?t.jsx(Wn,{sectionId:ne,containerRef:E.current,accountMappingView:n}):null,Te(S.loggedInUserRole??[])?t.jsx(yn,{sectionId:Ne,vendorAccountMappingSection:{accruedExpensesAccountHierarchy:n.accruedExpensesAccountHierarchy,accruedExpensesAccountList:n.accruedExpensesAccountList,accruedExpensesRecommendations:n.accruedExpensesRecommendation,fixedAssetsAccountHierarchy:n.fixedAssetsAccountHierarchy,fixedAssetsAccountList:n.fixedAssetsAccountList,fixedAssetsRecommendations:n.fixedAssetsRecommendation,prepaidExpensesAccountHierarchy:n.prepaidExpensesAccountHierarchy,prepaidExpensesAccountList:n.prepaidExpensesAccountList,prepaidExpensesRecommendations:n.prepaidExpensesRecommendation,selectedAccruedExpensesAccountIds:n.accountMappingLocalData?.selectedAccruedExpensesAccountIds??[],selectedFixedAssetsAccountIds:n.accountMappingLocalData?.selectedFixedAssetsAccountIds??[],selectedPrepaidExpensesAccountIds:n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds??[]},isAccruedExpensesFeatureEnabled:l}):null,o&&fn(S.loggedInUserRoleMap)?t.jsx(rn,{sectionId:x,accountMappingView:n,containerRef:E.current,isSettingsPage:!0}):null]})})}):t.jsx(st,{children:t.jsx(un,{size:"ExtraLarge",start:!0})})]}),Me()===!0?t.jsx(pn,{formId:Fe(De),primaryBtn:{label:m.footer.save,style:{width:"82px"},isLoading:n.saveState.fetchState==="In-Progress",isDisabled:n.saveState.fetchState==="In-Progress"},cancelBtn:{label:m.footer.cancel,style:{width:"82px"},shouldResetOnCancel:!0,onClick:()=>{v(!0)}}}):null,c?null:t.jsx(mn,{isFooterRendered:Me(),meetingUrl:p})]})}const Fe=e=>`${e}_form`,Be=(e,n,o,l,p,c,M,z,R,O,k,$,S)=>{const{accountMappingLocalData:d,incomeRecommendation:v,expenseRecommendation:h,billPayRecommendation:E,reimbursementsRecommendation:F}=e,B=d?.selectedIncomeAccountId===v?.account?.accountId,V=d?.selectedExpenseAccountId===h?.account?.accountId,y=d?.selectedBillPayAccountId===E?.account?.accountId,se=d?.selectedReimbursementsAccountId===F?.account?.accountId,ae=d?.selectedIncomeAccountId!=null?e.incomeAccountList.find(i=>i.accountId===d.selectedIncomeAccountId):void 0,le=d?.selectedExpenseAccountId!=null?e.expenseAccountList.find(i=>i.accountId===d.selectedExpenseAccountId):void 0,de=d?.selectedBillPayAccountId!=null?e.billPayAccountList.find(i=>i.accountId===d.selectedBillPayAccountId):void 0,re=d?.selectedReimbursementsAccountId!=null?e.reimbursementsAccountList.find(i=>i.accountId===d.selectedReimbursementsAccountId):void 0,ue=d?.selectedPrepaidExpensesAccountIds!=null?e.prepaidExpensesAccountList.filter(i=>d.selectedPrepaidExpensesAccountIds.includes(i.accountId)):[],pe=d?.selectedFixedAssetsAccountIds!=null?e.fixedAssetsAccountList.filter(i=>d.selectedFixedAssetsAccountIds.includes(i.accountId)):[],me=d?.selectedAccruedExpensesAccountIds!=null?e.accruedExpensesAccountList.filter(i=>d.selectedAccruedExpensesAccountIds.includes(i.accountId)):[],ge=d?.selectedBankAccounts1099FilingAccountIds!=null?e.bankAccounts1099FilingAccountList.filter(i=>d.selectedBankAccounts1099FilingAccountIds.includes(i.accountId)):[],xe=d?.selectedExpenseAccounts1099FilingAccountIds!=null?d.selectedExpenseAccounts1099FilingAccountIds.map(i=>({accountId:i.accountId??m.strings.empty,tax1099Config:{expenseType1099:i.expenseType??m.strings.empty,type1099:i.type1099??m.strings.empty,boxType:i.boxType??m.strings.empty}})):[];return{[x]:{bankAccount:{selectedOptions:ge.map(i=>i.qboId).filter(i=>i!=null),allOptions:R},expenseCategory1099:xe.map(i=>({accountId:{selectedOption:e.expenseAccounts1099FilingAccountList.find(N=>N.accountId===i.accountId)?.qboId??m.strings.empty,allOptions:O},expenseType:{selectedOption:i?.tax1099Config?.expenseType1099??m.strings.empty,allOptions:k},type1099:{selectedOption:i?.tax1099Config?.type1099??m.strings.empty,allOptions:$},boxType:{selectedOption:i?.tax1099Config?.boxType??m.strings.empty,allOptions:_e(i?.tax1099Config?.type1099??m.strings.empty,S)}}))},[q]:{incomeAccount:{selectedOption:ae?.qboId,allOptions:n},isRecommendedIncomeAccountChecked:B,expenseAccount:{selectedOption:le?.qboId,allOptions:o},isRecommendedExpenseAccountChecked:V},[ee]:{billPayAccount:{selectedOption:de?.qboId,allOptions:l},isRecommendedBillPayAccountChecked:y},[ne]:{reimbursementsAccount:{selectedOption:re?.qboId,allOptions:p},isRecommendedReimbursementsAccountChecked:se},[Ne]:{prepaidExpensesAccount:{selectedOptions:ue.map(i=>i.qboId).filter(i=>i!=null),allOptions:c},fixedAssetsAccount:{selectedOptions:pe.map(i=>i.qboId).filter(i=>i!=null),allOptions:M},accruedExpensesAccount:{selectedOptions:me.map(i=>i.qboId).filter(i=>i!=null),allOptions:z}}}};export{yt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aN as S,V as t,hS as _,hT as W,q as T,F as D,cm as L,ad as C,cn as N,co as U,a8 as R,ab as G,cK as H,cG as F,y as g,cH as M,p as z,an as J,m as K,n as Q,o as i,ak as X,c as O,ap as Y,b8 as Z}from"./index-
|
|
1
|
+
import{aN as S,V as t,hS as _,hT as W,q as T,F as D,cm as L,ad as C,cn as N,co as U,a8 as R,ab as G,cK as H,cG as F,y as g,cH as M,p as z,an as J,m as K,n as Q,o as i,ak as X,c as O,ap as Y,b8 as Z}from"./index-BRDgVxUL.js";import{a as l}from"./sentry-BFGzyFr-.js";import{n as f}from"./mui-Cm3rVrD-.js";import{bL as ee,bh as te}from"./zeni-epic-state-C--9cPPx.js";import"./liveblocks-B7l6-lVT.js";import"./core-CSvDBKbK.js";import"./recharts-CJP-6HgW.js";import"./lottie-Cx9dNUMI.js";import"./analytics-CudETrrD.js";import"./lexical-BmM_-J9_.js";import"./utils-DG7RBBiT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="5dd118b6-d94d-46c7-bb2a-db9fc6bb95de",e._sentryDebugIdIdentifier="sentry-dbid-5dd118b6-d94d-46c7-bb2a-db9fc6bb95de")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(O[3],O[2]),width:new g(300,420,420)},ie=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as k,ft as b,aN as R,q as U,F as q,cB as A,V as i,ab as W,aM as H,fu as X,o as a,p as G,cL as J,aO as K,y as x,L as Q,D as Y,b8 as Z,b7 as ee,c}from"./index-
|
|
1
|
+
import{a8 as k,ft as b,aN as R,q as U,F as q,cB as A,V as i,ab as W,aM as H,fu as X,o as a,p as G,cL as J,aO as K,y as x,L as Q,D as Y,b8 as Z,b7 as ee,c}from"./index-BRDgVxUL.js";import{a as f}from"./sentry-BFGzyFr-.js";import{n as o}from"./mui-Cm3rVrD-.js";import{EH as te}from"./zeni-epic-state-C--9cPPx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="5750da30-8680-44d0-b734-2a5c2825d912",e._sentryDebugIdIdentifier="sentry-dbid-5750da30-8680-44d0-b734-2a5c2825d912")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:$,companyOfficer:t,updateStatus:p,onClose:S,onEditFileName:j,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:N,onCompanyOfficerUpdated:P}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,w]=f.useState(!1),[C,T]=f.useState(!1),D=R(p.fetchState),I=t?.deleteFileStatusById??{},L=t?.updateFileStatusById??{},O=Object.values(I??{}).filter(l=>l!=null),B=te(O);f.useEffect(()=>{D==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[D,p,n,t?.additionalFiles]);const r=U(),y=q.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,_=n.handleSubmit(()=>{B.fetchState!=="In-Progress"&&N?.(t?.officerType??"Officer_1")}),M=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(P?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&A(()=>M(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:u,onSubmit:_,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":H("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:J,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:I,updateFileStatusById:L,filesEndPoint:m,authParams:$,hasError:C,onEditFileName:j,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>T(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(K,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
|
|
2
2
|
margin-top: 19px;
|
|
3
3
|
color: ${e=>e.theme.colors.primary};
|
|
4
4
|
margin-bottom: ${a.sp2};
|
package/dist/assets/{Vendor2FAPopup-_DrX-sZ2-Byp_MVd3.js → Vendor2FAPopup-CYwD3yQ8-DteE76iF.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aN as i,F as I,V as r,hS as w,hT as E}from"./index-
|
|
1
|
+
import{aN as i,F as I,V as r,hS as w,hT as E}from"./index-BRDgVxUL.js";import{a as s}from"./sentry-BFGzyFr-.js";import"./liveblocks-B7l6-lVT.js";import"./core-CSvDBKbK.js";import"./recharts-CJP-6HgW.js";import"./zeni-epic-state-C--9cPPx.js";import"./mui-Cm3rVrD-.js";import"./lottie-Cx9dNUMI.js";import"./analytics-CudETrrD.js";import"./lexical-BmM_-J9_.js";import"./utils-DG7RBBiT.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]="2bbbe9c0-b86a-4e4e-8e63-0aa929800fda",t._sentryDebugIdIdentifier="sentry-dbid-2bbbe9c0-b86a-4e4e-8e63-0aa929800fda")}catch{}})();const H=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:b,newVendorState:m}=t,f=Object.assign({},b??m),[V,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=I.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(w,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(E,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:x=>S?.(x)}}):null})};export{H as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{V as p}from"./index-BRDgVxUL.js";import{a as m}from"./sentry-BFGzyFr-.js";import{f as u}from"./ACHDetailsPage-OhfwzmDP-BxTDVOh1.js";import"./liveblocks-B7l6-lVT.js";import"./core-CSvDBKbK.js";import"./recharts-CJP-6HgW.js";import"./zeni-epic-state-C--9cPPx.js";import"./mui-Cm3rVrD-.js";import"./lottie-Cx9dNUMI.js";import"./analytics-CudETrrD.js";import"./lexical-BmM_-J9_.js";import"./utils-DG7RBBiT.js";import"./BankAccountWarningSection-WkczfI75-CuH7tIxu.js";import"./MagicLinkTitleSection-kbY8yTTa-Dn-LABVB.js";import"./BankAccountSection-DehqZ04x-DO-HA5ys.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]="37fafec3-734c-4758-984b-7e2e1e2f58b9",e._sentryDebugIdIdentifier="sentry-dbid-37fafec3-734c-4758-984b-7e2e1e2f58b9")}catch{}})();const I=({vendorViewDetails:e,bankAccountContext:t,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=e;return m.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e.editVendorState?.saveStatus.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e.editVendorState?.saveStatus.fetchState,t,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{I as default};
|