@zeniai/web-cockpit-ui 1.14.14-qa → 1.14.15-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-DzRJ2QAk-CD7bvBrj.js → ACHDetailsPage-DyEK-yAb-CR1iB_xc.js} +1 -1
- package/dist/assets/{AIPerformancePage-BFjLWbFj-B8php81u.js → AIPerformancePage-Do5bswa_-CdgPK33C.js} +1 -1
- package/dist/assets/{AccountInfoPage-iz3OwpQ7-C_rGxBXY.js → AccountInfoPage-BBhgLi_k-BrzJFlaA.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DqO5Kcep-Hi_ZRI3e.js → AccountInfoPageContent-BJqXMkH6-BzGTbIN9.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-kNZ0VZns-bS4LQ1sQ.js → AccountReconDetailsDrawerPage-CV09UnoU-l4pTZ2vA.js} +1 -1
- package/dist/assets/{AccountRow-CAXWtAin-BGG9HEwp.js → AccountRow-TlJ0aU9H-BM9KA8Rp.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-Dqrhr23F-C910Mcf5.js → AccountsPromoCardStack-D8Y5MNXA-C4cMa-NA.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-D2IMZgZa-B-aO9Stn.js → AddAddressForCardDrawer-DKJpGW7r-0F7SORv2.js} +1 -1
- package/dist/assets/{AddToWalletPage-qgqXvx0C-CiPgkIQp.js → AddToWalletPage-1gMvHWq2-CbJs4xPg.js} +1 -1
- package/dist/assets/{AgingReportsPage-CNWj8sV2-CLLqpf6D.js → AgingReportsPage-Bzn9xmRs-DzMv0HiR.js} +1 -1
- package/dist/assets/{AllUserItems--netGz7H-CJzpZ7a6.js → AllUserItems-BPSpj-dO-3CLmRBZX.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-CxLaoiqg-BsazbW1l.js → ApAgingDetailPage-C2HUvxWk-DFYdmJfh.js} +1 -1
- package/dist/assets/{AppBasePage-CbUMSiOb-CrwHY3Fg.js → AppBasePage-C63xauck-BWBOM_23.js} +1 -1
- package/dist/assets/{AppDrawerContent-BNTS8MtE-DGIlwro-.js → AppDrawerContent-Cq8GkRBD-DMx8Mcso.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-lFVUzKhw-BtcvSbhM.js → ApprovalRulesSettingsPage-zKh1CLv3-BIYZpY6g.js} +1 -1
- package/dist/assets/{ArAgingChart-BBavISMZ-Bg2WSdl_.js → ArAgingChart-Bs2fblA6-BsbEizCk.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-Bk49E_4I-B9ITkdyZ.js → ArAgingDetailPage-BWsV1tQP-D86I5PY2.js} +1 -1
- package/dist/assets/{AttachmentView-g756MrON-Dx8kJ_wk.js → AttachmentView-BDkq5i_5-BO6ipJLN.js} +1 -1
- package/dist/assets/{BankAccountSection-C0U0fm6r-DEPr81SF.js → BankAccountSection-DL-Qgypb-qVlfhNvY.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-GcaV2hCI-BQKm1Ol8.js → BankAccountWarningSection-PFOmZUmz-Bqvid317.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-YwtSaNry-Bd_-Nk2r.js → BankConnectionsSettingsPage-BiPEOltR-i9HyK4Qm.js} +1 -1
- package/dist/assets/{BillDetailPage-e0b0r_9U-C7RrAILe.js → BillDetailPage-nUoy5Pib-SqAso5S8.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-DZNOlmqa-vJ0wioqn.js → BillPayApprovalRuleDetailPage-uCd9CD_--DRTBOlZT.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-HvIHZYLp-DRglk4Bn.js → BillPayApprovalRulesPage-BsvzOO92-DBBsEfq5.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BKRIBuWK-BqkTD413.js → BillPayPromoPage-D9tHxFrw-DLOlbZMx.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-DVFYVrcF-CaXLevRO.js → BillPaySetUpPage-Ci__X7jC-CQdjr8_2.js} +1 -1
- package/dist/assets/{BillingSettingsPage-Boq7QJuJ-B5yYk5Zb.js → BillingSettingsPage-JcOqMK9G-B8TUnhBr.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DB1RnMx6-CkQIDNyM.js → BillsBulkReviewDrawerPage-FeZEMsS6-Ce-L5sMw.js} +1 -1
- package/dist/assets/{BoxItem-C5PEWObZ-CeuLKKcA.js → BoxItem-BcQH7ATF-CgWI28ii.js} +1 -1
- package/dist/assets/BusinessVerificationPage-ClBQ39GB-Dp7StxAv.js +140 -0
- package/dist/assets/{CardNumberSubText-Qd4Nl4Ie-BDRMn3jX.js → CardNumberSubText-CRythvN3-BPNRschq.js} +1 -1
- package/dist/assets/{CashbackDetailPage-pMaAPWGY-D9Y3IKTQ.js → CashbackDetailPage-CDa_GOsq-D-9-JqVH.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-ZhB56XeA-D-PHMtiH.js → ChargeCardDetailPage-BVxvmvYF-Dz3Dkcri.js} +1 -1
- package/dist/assets/{ChargeCardListPage-3k973dhm-2eKPtsLs.js → ChargeCardListPage-Dk_9p-sM-CLfdE6hG.js} +1 -1
- package/dist/assets/{ChargeCardListTable-aotBBLcN-BjoQ3nLG.js → ChargeCardListTable-DLAZTf8n-CNRNdnEB.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-D5h6LEV7-CtqHAn85.js → ChargeCardPromoPage-COA7csMK-CXI_5Tho.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-DLhS4IXu-ClI3TH91.js → ChargeCardSetupPage-QPLpJN2z-BC_NFJKr.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-C9JupC6z-DmxpqXJ6.js → ChargeCardStatementsPage-DwJYJjcf-DEvRTjh8.js} +1 -1
- package/dist/assets/{ChargeCardUtils-DlCRcsWm-D__qzTWb.js → ChargeCardUtils-BbByGmi9-DEgVq9Nd.js} +1 -1
- package/dist/assets/{ChaseOverlay-Cpt5a98f-dacal49t.js → ChaseOverlay-CvXMdD8r-BjJFL-eT.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-Nz2eeTkw-BpYeX6Ap.js → CheckDepositDrawerPage-Cfdkbh0L-DFqxsNxb.js} +1 -1
- package/dist/assets/{CollapsableReportTable-D_yuiPyJ-DvwXVdxx.js → CollapsableReportTable-BptltmMq-DGFCje0J.js} +1 -1
- package/dist/assets/CompanyOfficerDetailsSection-DTbhxCCJ-uAcyCJzT.js +260 -0
- package/dist/assets/{CompanyPassportCard-yl1IgKFI-PAYHKbkv.js → CompanyPassportCard-CRgbazO4-DnDR61ME.js} +1 -1
- package/dist/assets/{CompanyPassportPage-CVyMn0gX-B5YsJ6DE.js → CompanyPassportPage-wdWKvOuO-UVTXarrj.js} +1 -1
- package/dist/assets/{CompleteProfile-DzShtAr0-lZLdASXR.js → CompleteProfile-Cp_nXCBI-D_xHWKd0.js} +1 -1
- package/dist/assets/{ConfettiBurst-C47O0k3A-DgYPkzlU.js → ConfettiBurst-tf23hrA_-CQK1q6oq.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-LadbvQ9C-BUhpPwKd.js → CreateOrEditVendorPage-DTbrZv48-UgMANJA2.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-BQKmQNsf-I4kqkHCD.js → CreditCardPaymentDrawerPage-CGGM52ND-gsvEVx3R.js} +1 -1
- package/dist/assets/{CreditCardPaymentPlgSection-BKgF2tFu-DparH7B9.js → CreditCardPaymentPlgSection-BS99Rbz7-D3hONmqh.js} +1 -1
- package/dist/assets/{CurrencySelectField-D_UXMdLl-CNFJ6MOy.js → CurrencySelectField-Cz1ZFZNL-Do8LBYx6.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DYDUNktm-Cuul6Xm-.js → CustomerOnboardingActivationPage-Bw2z91CF-CXlsYQiE.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DXWtttsb-CkJ9yVd4.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-IwCrs_Ni-BwoSRsex.js → CustomerOnboardingDetailPageSkeleton-BY4rv3eB-CqGuM0YC.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-BinWH6wJ-CzTA-Ar-.js → CustomerOnboardingNoStepsPage-ByTpLszW-NQIzex-L.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-mGYcMJc6-B5TFAAVl.js → CustomerOnboardingPage-eyRDjOy--Cv80zIzo.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-CMmP2rhp-sRUh6iMf.js → CustomerOnboardingProductSuitePage-C_GOhUsC-C7NxSpR8.js} +1 -1
- package/dist/assets/{Dashboard-B8ej675T-BXfFBFZn.js → Dashboard-DXTfxwrE-Df2X5_2C.js} +1 -1
- package/dist/assets/{DashboardReportPage-D0g4Un-7-Bm03Ezvt.js → DashboardReportPage-C7LmV0rQ-DqW7yfxe.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BiYFTagV-COtoJPkR.js → DepositAccTransactionItem-BH6np-wq-pvmH9-13.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-B7seT4iQ-DcnxHPIM.js → DepositAccTransactionListPage-BTZovTIK-dLGcWM1z.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-c2Omt2uV-DlmFY2Kw.js → DomesticWireDetailsPage-DhM2CLtr-DepJOUT4.js} +1 -1
- package/dist/assets/{DownloadOverlay-Ca73StXh-D0NZgBgD.js → DownloadOverlay-CwqxQGbr-CGdDh008.js} +1 -1
- package/dist/assets/{DrawerPage-DbQ3fJ0a-DXEqv1MQ.js → DrawerPage-C3k5XFW6-D1QbIJ62.js} +1 -1
- package/dist/assets/{EditPeoplePage-BSGpToFc-CchXHa_A.js → EditPeoplePage-D2zQG-_T-BY4H9at4.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-CF4ITGWS-6ZvkVOwA.js → EditReimbursementDetailPage-DXLAtkkp-Cb7fe5V0.js} +1 -1
- package/dist/assets/{EntityDetailPage-CjjeYmrY-bmebsPCj.js → EntityDetailPage-_060OpVJ-Dl6JyUuQ.js} +1 -1
- package/dist/assets/{EntitySummarySection-CATUFkYD-CbbHQNn7.js → EntitySummarySection-0QXWkpbX-B1FOGhKX.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-DZJM8s1B-D66s2e8m.js → ExpenseAutomationOverviewPage-GPO42_rS-DYsIHfpN.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CJcg4JEX-BIBOqZFd.js → ExpenseAutomationPage-BQArYLAG-D24JhqEL.js} +1 -1
- package/dist/assets/{ExpressPayPage-DtAXlY7R-Ba2dQlX0.js → ExpressPayPage-DacK02lD-CBLCoj0U.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BsLKydgB-BPHzHuJw.js → FeaturePreviewPage-Bv0D92ik-F_nngpEs.js} +1 -1
- package/dist/assets/{FollowStepsSection-CkJm4bPf-CPlDdB_W.js → FollowStepsSection-CMTo4gYl-U-WQSPk0.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DmxSD6UV-BUfgnFpU.js → GlobalReviewListPage-BbI2YDxl-BJZeR8WE.js} +1 -1
- package/dist/assets/{HelpButton-BFbQbBAV-BQPDLXHd.js → HelpButton-Coe4ii48-CP7NC72-.js} +1 -1
- package/dist/assets/{InformationCardStack-BMrkstMK-C8LTAHrF.js → InformationCardStack-BIumm5SJ-1AXNePG9.js} +1 -1
- package/dist/assets/{InsightsCardStack-wYrlCPh0-D2rKcLyu.js → InsightsCardStack-nndLG-Gx-CPrz5cnd.js} +1 -1
- package/dist/assets/{InsightsSection-DncKJ7JM-ChN_oqlZ.js → InsightsSection-CSG5sVaE-B6JiP7yi.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-xySXq7aa-C58pEBs2.js → IntegrationsSettingsPage-BRH3t6mo-DdFh5Rf1.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-CSqm7kj7-CiFzXT35.js → InternationalWireSwiftDetailsPage-vgA7iek9-DBrrwazq.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-DUHW34SM-DlE-Wsjz.js → InternationalWireVerificationPage-DEIs1ydr-0N725pEo.js} +1 -1
- package/dist/assets/{InviteFormPage-FjAlfXw_-Dh7IBTtO.js → InviteFormPage-Bowy0arK-BdVkelsH.js} +1 -1
- package/dist/assets/{InvitePageListView-PObzTGOB-Df4c2HGS.js → InvitePageListView-DuXb15Ll-C1oqEYaE.js} +1 -1
- package/dist/assets/{InvitePeoplePage-BuqTZXW2-DraxkQIU.js → InvitePeoplePage-By3sTPj1-YDstidmS.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-CZXO__Vx-BgqHdBYt.js → InvoiceUploadSection-B8OA6oqe-2tj6XHC5.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CjsftuWA-CIBGJvCn.js → IssueChargeCardPage-BIL4e5I_-4QbaL8H_.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CfUYrlxS-B7W2Dek5.js → LabeledAddressValue-BJ1dXCb1-KlPGwEsa.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-B5z2zp_k-CGSpumtp.js → LabeledAddressValueField-DZCn1w6m-DlnblRke.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-CHl3uhk9-BFLBybV4.js → LabeledControlledCheckBoxField-CwiyOI1Z-D7LWnjIE.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CP-IuKrc-DjM8Weti.js → LabeledCreatableSingleSelectField-yLzlQU6_-DKdnF88p.js} +1 -1
- package/dist/assets/{LabeledDocumentField-DyMGgcCu-Bgxu4H6-.js → LabeledDocumentField-gxNaFx2j-qq-lZmSF.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-Bism2Slt-BWwjKMX5.js → LabeledDropDownFormattedTextField-M_7KWHOd-hGN1wwbj.js} +1 -1
- package/dist/assets/{LabeledText-RBbOYz7n-DBpZsWkU.js → LabeledText-CO_4w9Rx-BHaswoQg.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B9Mu2WJq-Di4MWf5A.js → LabeledUserSingleSelectWithSubtitlesField-zPoNOgP7-Coi1U77m.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BCvUNHGc-CO5qR-vY.js → LabeledZeniRolesDropDownField-C8-KfR-4-Bo19dflJ.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-C4JGb7aV-328UsU_k.js → LinkJETransactionPage-CZVlsT4d-DWiZb23z.js} +1 -1
- package/dist/assets/{LowBalancePopup-BeDr-jas-CZ5XIvfc.js → LowBalancePopup-Dl5IXVvh-CJcvyvoh.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-B8zPEOQv-Dla85qjg.js → MagicLinkACHDetailsPage-CP6ti0Ic-DSdPwaam.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CGdUqm2t-or9ptgFU.js → MagicLinkDomesticWireDetailsPage-BhpSDeQW-Dfr8KlVS.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-8hkLJ9A0-B0cV-OxG.js → MagicLinkInternationalWireDetailsPage-BXxTeh0G-CtvniFoq.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-DWCZWHis-BetY1CoQ.js → MagicLinkSuccessPage-Bix48QB5-BI2C-LU1.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-u5U6e-ve-CH9mVJpo.js → MagicLinkTitleSection-DdTLuD-8-D3POGhAB.js} +1 -1
- package/dist/assets/{MailingDetailsSection-nhPvZjVn-sir6Tfnb.js → MailingDetailsSection-Bo_v3Gp2-KQtMHUYs.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-CUA73Qvk-DoxrAhy8.js → MeetingCalenderPopup-DlnppXL_-CUHiDz63.js} +1 -1
- package/dist/assets/{Menu-D2zz2q9--B_AhVrPl.js → Menu-B_GJLZiP-BW2ajxXL.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CGZMdkpt-DdZf0Y6A.js → MyBankConnectionsSettingsPage-2DAYVmHh-GUdcUjZQ.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BKFgjKZX-BF7kPRDf.js → MyPendingActivationChargeCardListPage-CWQq9D2t-ErEXa5Ab.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BMRJLHbT-DBXZ0zCZ.js → MyProfileSettingsPage-imD_-Umc-QbWQNe6Z.js} +1 -1
- package/dist/assets/{NavBarWithPicker-BXotE7Lk-S3JyXTjR.js → NavBarWithPicker-D0Bv9P4m-CbuI_X1k.js} +1 -1
- package/dist/assets/{NavigationArrow-D-l9zblc-REpeCLdo.js → NavigationArrow-De1st3tA-D1UxRic2.js} +1 -1
- package/dist/assets/{NavigationDots-BXUbx14l-6QIteFmi.js → NavigationDots-BfJxPG2K-BkZqVum6.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DtDgNdr1-LA7e2sKB.js → NewGlobalMerchantPage-euJK3CXB-saCWbHbN.js} +1 -1
- package/dist/assets/{NoDataChart-Bve5zpXV-CWu45raX.js → NoDataChart-D_S6Pfkm-C2Kc7qtF.js} +1 -1
- package/dist/assets/{NoDataTable-3ROU0Vbp-CI99S85V.js → NoDataTable-CLwNCXFE-D3npQzLx.js} +1 -1
- package/dist/assets/{NotFoundPage-DAo53P_6-Dftm7F3Z.js → NotFoundPage-JfbMP3OG-CXI7bNdG.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DcGcigHn-aQqj0_Qj.js → NotificationSettingsPage-YBgrQBb2-CFbgdfVP.js} +1 -1
- package/dist/assets/{NotificationsListConfig-oE-ICX7d-BF8EQwxW.js → NotificationsListConfig-TCmn6L9k-nr6vflWI.js} +1 -1
- package/dist/assets/{NotificationsPage-TCXj6rCg-BaNkn_3l.js → NotificationsPage-C3pnQT-K-DzeH8fmd.js} +1 -1
- package/dist/assets/{OpExByVendorPage-xWhiJMru-CE1GX5w_.js → OpExByVendorPage-7FEOhvd--CM9TYAHU.js} +1 -1
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-BbWbCUrG.js → OverlayContainerPage-GWXnlbZH-LIk5K9-C.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BamjcoA8-Bx0wvTBG.js → PandLWithForecastPage-D0f5zvhp-B7mneOVq.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Byvw69gz-mE6MxWqh.js → PaymentAccountSetupBillingAddressSection-CBvjcBEH-CXrtDUXk.js} +1 -1
- package/dist/assets/{PeoplePage-BYeGKWDm-C03lvJfM.js → PeoplePage-B-j04rvc-B9Gs58fo.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-C-l23Cwp-cpiqeU3l.js → PortfolioAllocationFormPage-yvAHgF_R-DmHT3I_l.js} +1 -1
- package/dist/assets/{PortfolioDetails-BRhzzSFg-DO-1SFen.js → PortfolioDetails-C-YfZonF-Di6ScpkZ.js} +1 -1
- package/dist/assets/{ProductsCarousel-CP6ldspb-C0Np0Gj6.js → ProductsCarousel-9USsVLuf-A8Pb9na8.js} +1 -1
- package/dist/assets/{PromoBaseCards-Jze9Y7gb-D1gxtikT.js → PromoBaseCards-OKpdHchW-i4Aus_7s.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-9VnW9Bu9-H93cd5b5.js → QBOConnectionDialog-BUr2NQiK-Aqi4uG-w.js} +1 -1
- package/dist/assets/{QBOSetupSection-B1rw0-Q--zMoFTXwP.js → QBOSetupSection-Cmf7-3wv-a5e4QtQ4.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DEK0sHby-DrT2jHvA.js → ReimbursementApprovalRuleDetailPage-Dev4FHVt-C92gnL5H.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-D7dRwcKc-CLGfbhLw.js → ReimbursementApprovalRulesPage-BLMJY7El-CiLtyPS5.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-ZwlUAEc8-BqgpWdW7.js → ReimbursementDetailPage-BIyq0BC0-6zfZQkfP.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-CKuYFvqQ-DPri4GXp.js → ReimbursementPromoPage-Dox8Q_BC-sIFfcJ7t.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-Rn1i_Dc1-CMeSSlT5.js → ReimbursementSetUpPage-VKXRSodl-BJwVjHfr.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BwVFxo9s-D9yi3bRo.js → ReimbursementsBulkReviewDrawerPage-BmUcVSjU-5gKW2h5e.js} +1 -1
- package/dist/assets/{ReloadCard-7VJ3paTm-CAZ4QKCl.js → ReloadCard-DZhxB7Ar-3pX1Dvm4.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BrPJNFJD-BCUhxgyI.js → ReportTableViewSelector-DSfx5ZD--DVGbGr0z.js} +1 -1
- package/dist/assets/{ReportsPage-CCTvsUrL-DQ0C9QaF.js → ReportsPage-CLH0u0Bh-DDZqu2t3.js} +1 -1
- package/dist/assets/{RevenueChart-CCWOE5TQ-CdghIL8Z.js → RevenueChart-BeqQveLu-BLMOp8Ij.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-Y6gEXgmb-DEYn6MSL.js → ReviewDetailsPage-Dq7hRX5W-Dpl9KJkf.js} +1 -1
- package/dist/assets/{ReviewOverlay-CjSSDflN-CPgx4xba.js → ReviewOverlay-BNHqYk2g-D0iT-J9q.js} +1 -1
- package/dist/assets/{RoleWithToolTip-CFMnZiem-C4TYM06A.js → RoleWithToolTip-Cob2-Ppj-C_s6kG4X.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DVyLY2NJ-BsTj20p_.js → ScheduleDetailsFixedAssetsPage-QE0wa196-BDGpj2am.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-Dl76cUvA-Fycb4MqL.js → ScheduleDetailsPage-BVyX-Z0H-DEBuXdBs.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-CrxRnZch-BOdDiuzm.js → ScheduleSequenceTable-D1FYbPfU-DU9S07xt.js} +1 -1
- package/dist/assets/{ScreenRoutes-wx53GRGK.js → ScreenRoutes-Xcu_dsY9.js} +1 -1
- package/dist/assets/{SetUpAccountSection-Cv2os5ln-DPXBfr4R.js → SetUpAccountSection-CYn2o43t-Bpg0pToC.js} +1 -1
- package/dist/assets/{SetUpDefaultSection-BX28nGOx-BuMe3hLW.js → SetUpDefaultSection-C0-L2ZyA-COKZA6T-.js} +1 -1
- package/dist/assets/{SignIn-Bu5OrOXS-wy_xaGKY.js → SignIn-BIxTodeo-BLdheQTi.js} +1 -1
- package/dist/assets/{SignInScreen-JF_uZaEa.js → SignInScreen-BM8ypOO4.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C5e1RRp_-BVnkblC5.js → SpendManagementListViewPage-DXtvYcrg-iTUPRfV0.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-DZVY7vQ1-0CpCBBdQ.js → SpendManagementPerTabPage-Cn-UsxaR-C3J9zkot.js} +1 -1
- package/dist/assets/{SpendManagementSection-BJMJInkt-B5d_jbBf.js → SpendManagementSection-BBR4aFIT-JT9BxyTy.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-chezHlCW-BQkEXaOg.js → SpendMgmtSetupAccountSection-DedLETSm-D7MuWTH4.js} +1 -1
- package/dist/assets/{StatementItem-BFkpLh_o-y7ZGW1Vq.js → StatementItem-CnpTW8qb-BYZ_h7VG.js} +1 -1
- package/dist/assets/{StatementsPage-DWVI5t34-C9LKXGoX.js → StatementsPage-Pdhh6wDA-D6S4uOd7.js} +1 -1
- package/dist/assets/{StatusSwitcher-LVFF4Wxb-KYvjAXRF.js → StatusSwitcher-CY3fhZpk-CRtOh969.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BCJ6BY1u-CWKSNIjs.js → SubTabSwitcher-BgzS4on6-mKZmBEH_.js} +1 -1
- package/dist/assets/{SummaryCard-BauMuQ8s-Cp_w4Wqg.js → SummaryCard-DB_r9qW_-CTe61HcF.js} +1 -1
- package/dist/assets/{TaskManagementPage-vrN0Gf0_-BQxIgTC4.js → TaskManagementPage-B0gR2j1v-CS51JkmU.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-CNA64z6j-BjqPYk8T.js → TimeRangeSwitcher-BbdpFsMU-BPeXdkc0.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-C1Yz0y7I-CSIg0wbX.js → TimeframeSwitcher-CUpsv6b1-L84OUMou.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-C_Ah5N3M-BY1ssq39.js → TimeframeSwitcherWithToggle-DZbOWm8e-BWeA2PCI.js} +1 -1
- package/dist/assets/{TopExCard-Jo-Rn1MM-C8jicn1C.js → TopExCard-Bn5xXUvj-D1V8RPTg.js} +1 -1
- package/dist/assets/{TopExDetailPage-DDbJXH3w-CD_BWdGs.js → TopExDetailPage-DRjO-pGo-B7tFNTC-.js} +1 -1
- package/dist/assets/{TransactionDetailPage-BuIbGizX-F9O378Ra.js → TransactionDetailPage-L-yLO1SI-CIWP2d9W.js} +1 -1
- package/dist/assets/{TransactionList-CLKRxE0g-DNe71eGT.js → TransactionList-CSb5yqQj-DuZWKirU.js} +1 -1
- package/dist/assets/{TransactionListBig-B5vQkCC2-a4zGr6G6.js → TransactionListBig-f2x4xrky-DwUpevlR.js} +1 -1
- package/dist/assets/{TransactionListPage-BqX_rZET-CUMQNYL_.js → TransactionListPage-XP6Axg1M-BXMcfFNW.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DkTOdWyJ-CKBEI1cd.js → TransactionVendorDetailPage-CY9kUYZc-Lru4_qR4.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BOGBvRan-CjFpKlV5.js → TransferDrawerPage-DOMX4_HE-C4a3FolX.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-DyhWQzuM-fH7XT1iO.js → TreasuryOverviewPage-B01cSfUQ-CzhZxZKn.js} +2 -2
- package/dist/assets/{TreasuryPromoPage-DeahUeak-CT1FYSVG.js → TreasuryPromoPage-DC46ObGy-CFm5vR7T.js} +1 -1
- package/dist/assets/TreasurySetupPage-CiIqfQLR-CejuLzZM.js +146 -0
- package/dist/assets/{TreasuryStatementsPage-DjTS6UJU-v5QihWpg.js → TreasuryStatementsPage-C_pfPvgz-DmI7EzSk.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-B8-Rgr_d-DzbjM2nz.js → TreasuryTaxLetterPage-D-4Ntky2-xZV4fXfv.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-CWMEjwJl-D0XGTiiK.js → TreasuryTransferOrReviewPage-CjxiFUqO-JJCQbqAN.js} +1 -1
- package/dist/assets/{TrendChart-DZxa1hWw-DQJyr6Gq.js → TrendChart-DKIa4o8k-CoNPqTlA.js} +1 -1
- package/dist/assets/{TrendWithTransactions-DqF_gmA3-OahVeCao.js → TrendWithTransactions-BumhCIjm-gZh4UsjF.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-BTMqGJ-S-CIMe5xBe.js → UncategorizedAccountsMappingPage-C4Njvj_H-DztroIrS.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-BypogBLd-DWGWwZzF.js → UnitIntegrationPage-D_tfUXdS-B3x8_h1N.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BtjgWIt2-TPUqMBUX.js → UploadAdditionalDocumentOverlay-CSdTPTA3-X7rEur2Q.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-Cvht-fPJ-C_7afR47.js → Vendor2FAPopup-DgKVft1G-Bh4gZ5wc.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-UxL2Rrtg-DTdzfYXL.js → VendorACHDetailsPage-DdAbrbpS-CfYbL_d6.js} +1 -1
- package/dist/assets/{VendorDetailPage-D1W5LzEm-QwipvyBw.js → VendorDetailPage-CSPbUx-h-C1LwTfnG.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-42tTXqjf-6mVdshAx.js → VendorDomesticWireDetailsPage-GODvpEne-g15gbymX.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C-s1YZ6j-sTOOAgLc.js → VendorFiling1099EditablePage-ByfEwSZJ-Dnk9uxWt.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-DNWyzefV-DvCg1v5F.js → VendorFirstReviewPage-B2-UtNMO-B9gZuu-S.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-BLN_3qXP-CM_mA6aB.js → VendorInternationalWireDetailsPage-DSziQ0jO-BQin9ttL.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CK3lcupO-BMWjw1KX.js → VendorInternationalWireSwiftDetailsPage-Dqc7XLbW-WHIhq_gs.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-DN_7lQ28-cEhDobar.js → VendorsAccountsSection-BLwMi5AB-Bd-223-b.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-BO2PAioX-BhdINS-A.js → WarningsDrawerPage-3h7UME3Y-CKPc_4w8.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-yp-KTRnk-Do84GYYz.js → ZeniAccountDetailPage-Dn70Xhjm-Bm3fagRu.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-D5aqQNtX-BB0gnGLd.js → ZeniAccountListViewPage-C7CX6-Bl-CdiM8oGr.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-VPw7D7l3-C2OS1zdz.js → ZeniAccountNavBarPieces-Cl1zQVNd-BoOmxgUm.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-wCKqqpXU-Xl62BzvW.js → ZeniAccountPromoPage-CLufbB-B-CxZ93-O_.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-C9Huhxgd-ClP-TxFI.js → ZeniAccountSetupPage-rLdRA3Ld-0f1innhT.js} +1 -1
- package/dist/assets/{ZeniCopyright-DFiO9ffO-CdZ1GVnQ.js → ZeniCopyright-BItiuePl-DMGV7d5T.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CrkvbV6i-Ckvq_hVC.js → ZeniTransferAmountSlider-DYCK5UWr-pLWKMQLD.js} +1 -1
- package/dist/assets/{analyticsHelper-CcOQPReQ-Bxil0fX9.js → analyticsHelper-D4zFEqKN-Cv-Rt4Wa.js} +1 -1
- package/dist/assets/{analyticsHelper-DdGBglEP.js → analyticsHelper-D_rWzdzn.js} +1 -1
- package/dist/assets/{chartTypes-COEFDZb5-DwGNA7GB.js → chartTypes-yiqF7w9Y-C7Vh16CR.js} +1 -1
- package/dist/assets/{commonDimensions-CP6T7HqS-D48QOLbv.js → commonDimensions-PPvas5dK-BI_doeoz.js} +1 -1
- package/dist/assets/{detailCommon-Ce5EinV2-CYS83M8u.js → detailCommon-mCAXI64G-gkKdDA26.js} +1 -1
- package/dist/assets/{downloadPdf-D5vJmVtA-B3Fqszb0.js → downloadPdf-C3XpsGeN-BXwAdg40.js} +1 -1
- package/dist/assets/{index-Cvfy0zsh.js → index-DR9vSgqx.js} +6 -6
- package/dist/assets/{mapLoadingInProgressToTreeNode-rI4nf6KS-CK98QO6t.js → mapLoadingInProgressToTreeNode-7wU2HX2P-DM7OpgTV.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CQQ7dl1d-uEBESQE9.js → mapSectionWithAcOnlyToTreeNode-dSxF1sWM-9rR9XYui.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Br4381dY-DvCypDQ4.js → mapSpacerToTreeNode-1mXbBuNs-D0-H7nmE.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CFc2Dxqu-D_L54Bbm.js → mapTimeframeBalancesToTreeNode-DXVQrusd-BdiZmBVF.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B-Zn7TpW-BH302By2.js → mapTimeframeBalancesToTreeNode-DtAULIDB-CEdGFH8Q.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DaXzy5qa-Crsiejrh.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DAqn8gdX-BFVS7nhC.js} +1 -1
- package/dist/assets/{play-icon-nZkbdoFU-DLANNZGF.js → play-icon-NvLdXSYk-BtJZRy06.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-COQYDD-b-D2r9WVRN.js → toCOABalancesWithID-C9fWPLt9-OoFxmlBV.js} +1 -1
- package/dist/assets/{toChartData-Djv4ERSl-BDHZyRCT.js → toChartData-BMDCuCgs-pMvlI-3e.js} +1 -1
- package/dist/assets/{treasuryColorHelper-D8HHUK60-C135QZF4.js → treasuryColorHelper-COfuUI3C-DV_5mX3C.js} +1 -1
- package/dist/assets/{uploadAttachment-BLy0prl2-WutsqSlB.js → uploadAttachment-DSku547V-Dvu5JOyk.js} +1 -1
- package/dist/assets/{uploadReceipts-D80JLNY4-CM61PF-k.js → uploadReceipts-D80JLNY4-jTx9mqdq.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/BusinessVerificationPage-JFwqav9V-DcT8aYGJ.js +0 -140
- package/dist/assets/CompanyOfficerDetailsSection-C3yfgjGi-Bd3_muTE.js +0 -232
- package/dist/assets/CustomerOnboardingContainerPage-D34Fz5xA-C6h4Jblo.js +0 -1
- package/dist/assets/DocumentSecurityBanner-CQSsX1R1-B63qiUpU.js +0 -29
- package/dist/assets/TreasurySetupPage-kCSON6p8-DfPMx5Ua.js +0 -152
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Et,c3 as Ft,M as te,l as W,X,kM as Mt,j as t,F as Nt,bO as Vt,bQ as Ot,bR as Wt,a4 as Ut,o as i,bL as et,fy as Kt,aj as qt,bT as Ht,ia as Gt,ib as Yt,c as Zt,bs as Z,be as Qt,a6 as Xt,C as h,u as Ue,fz as Jt,kN as ei,g as Q,cn as ti,m as U,e as N,v as se,kO as ii,cH as oi,kP as ni,kQ as ut,kR as ht,jl as li,kS as ri,kT as si,bl as gt,f as je,_ as ee,w as Ke,g5 as qe,d2 as He,fK as Ge,cg as yt,kU as bt,kV as Ce,a0 as Be,kW as Ye,S as we,ie as xt,ig as wt,kX as ft,id as $t,bY as vt,b$ as St,kY as R,kZ as kt,fW as Tt,cl as Pt,dq as Ze,q as p}from"./index-
|
|
1
|
+
import{a as Et,c3 as Ft,M as te,l as W,X,kM as Mt,j as t,F as Nt,bO as Vt,bQ as Ot,bR as Wt,a4 as Ut,o as i,bL as et,fy as Kt,aj as qt,bT as Ht,ia as Gt,ib as Yt,c as Zt,bs as Z,be as Qt,a6 as Xt,C as h,u as Ue,fz as Jt,kN as ei,g as Q,cn as ti,m as U,e as N,v as se,kO as ii,cH as oi,kP as ni,kQ as ut,kR as ht,jl as li,kS as ri,kT as si,bl as gt,f as je,_ as ee,w as Ke,g5 as qe,d2 as He,fK as Ge,cg as yt,kU as bt,kV as Ce,a0 as Be,kW as Ye,S as we,ie as xt,ig as wt,kX as ft,id as $t,bY as vt,b$ as St,kY as R,kZ as kt,fW as Tt,cl as Pt,dq as Ze,q as p}from"./index-DR9vSgqx.js";import{b as P,n as o,f as jt,j as Y}from"./vendor-CnQcJ2Lu.js";import{d as Ct}from"./useLongPress-GCK2COYQ-gxLtL5O4.js";import{K as ai}from"./StatusSwitcher-CY3fhZpk-CRtOh969.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ue=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,_e={key:"name",value:ue.name,sortOrder:"ascending",width:new h(p[5],p[5])},Le={key:"invoiceDate",value:ue.invoiceDate,sortOrder:"ascending",width:new h(20,20)},di={key:"dueDate",value:ue.dueDate,sortOrder:"ascending",width:new h(20,20)},Qe={key:"dueDate",value:ue.paymentDate,sortOrder:"ascending",width:new h(20,20)},Xe={key:"status",value:ue.status,sortOrder:"ascending",width:new h(18,18)},ci={key:"paymentMethod",value:ue.paymentMethod,sortOrder:"ascending",width:new h(18,18)},ze={key:"amount",value:ue.amount,sortOrder:"ascending",width:new h(10,10)},be=[_e,Le,di,Xe,ze],pi=[_e,Le,Qe,Xe,ze],mi=[_e,Le,Qe,Xe,ze],ui=[_e,Le,Qe,ci,ze],ye={headerLastColumnTopPadding:new h(p[0],p[4]),headerLastColumnRightPadding:new h(p[3],p[11]),headerLastColumnBottomPadding:new h(p[0],p[4]),headerLastColumnLeftPadding:new h(p[0],p[4]),headerHeight:new h(xt,wt)};function hi({companyNameSticky:e,currentTab:n,onColumnSortConfigChanged:c,sortConfig:l}){const d=Ue(),g=X(),[b,x]=P.useState(ki(n));P.useEffect(()=>{const a=[...b];for(const r of a)r.key===l.sortKey?r.sortOrder=l.sortOrder:r.sortOrder="ascending";x(a)},[l.sortKey,l.sortOrder]);const f=(a,r)=>{let $=r;l.sortKey===a&&($=r==="ascending"?"descending":"ascending"),c?.(a,$)},u=b.find(a=>a.key===l.sortKey)??b[0],y=a=>b.find(r=>r.key===a)?.value??"",m=b.map(a=>a.key),w=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return g==="small"?t.jsxs(tt,{windowSize:g,companyNameSticky:!1,children:[t.jsxs(xi,{children:[t.jsx(fi,{children:t.jsx(wi,{})}),t.jsx(gt,{title:w.sortBy,placeholder:w.sortBy,pickerValues:m,valueToLabel:y,selectedValue:l.sortKey,onPickerSelectionChanged:a=>{f(a,"ascending")},optionTextStyle:je.smallRegular,titleTextStyle:je.smallRegular,titleColor:d.colors.primary,selectedOptionColor:d.colors.hero,optionBackgroundColor:d.colors.grey5,downChevronVisible:!1,backgroundColor:d.colors.background})]}),t.jsxs(Si,{onClick:()=>f(u.key,u.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",l.sortKey),children:[t.jsx(se,{children:u.value}),t.jsx(it,{sortDataValue:l.sortKey,headerdata:u,children:t.jsx(ot,{})})]})]}):t.jsx(tt,{companyNameSticky:e,windowSize:g,children:b.map(a=>t.jsxs(yi,{companyNameSticky:e&&a.key==="name",sortDataValue:l.sortKey,actualDataValue:a.key,wrapperWidth:a.width,windowSize:g,children:[t.jsxs(vi,{onClick:()=>f(a.key,a.sortOrder),"data-testid":ee("bill-pay-list-header",l.sortKey),children:[t.jsx(se,{children:a.value}),t.jsx(it,{sortDataValue:l.sortKey,headerdata:a,children:t.jsx(ot,{})})]}),t.jsx($i,{sortDataValue:l.sortKey,windowSize:g,isVisible:l.sortKey===a.key&&a.key!=="dueDate",children:t.jsx(bi,{onClick:()=>f("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",l.sortKey)})})]},a.key))})}const gi=jt.memo(hi),tt=o(se)`
|
|
2
2
|
width: 100%;
|
|
3
3
|
top: ${i.sp0};
|
|
4
4
|
left: ${i.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as z,u as _,M as L,j as o,bM as H,o as r,gk as ie,q as R,K as ce,f as J,b1 as Q,C as ee,gl as de,gm as pe,cq as te,b2 as A,ap as ue,v as oe,gn as he,a$ as re,w as ge,go as me,gp as xe,e as N,ao as fe,l as M,gq as ye,z as Ce,gr as be,gs as ve,g as we,cn as $e,be as Se,fs as je,c as ke,h as V,a3 as Le,ft as Oe,a6 as Ee}from"./index-
|
|
1
|
+
import{X as z,u as _,M as L,j as o,bM as H,o as r,gk as ie,q as R,K as ce,f as J,b1 as Q,C as ee,gl as de,gm as pe,cq as te,b2 as A,ap as ue,v as oe,gn as he,a$ as re,w as ge,go as me,gp as xe,e as N,ao as fe,l as M,gq as ye,z as Ce,gr as be,gs as ve,g as we,cn as $e,be as Se,fs as je,c as ke,h as V,a3 as Le,ft as Oe,a6 as Ee}from"./index-DR9vSgqx.js";import{b as a,n as l,k as Ie}from"./vendor-CnQcJ2Lu.js";const Me=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as Te,cg as qe,u as Ge,M as Q,co as Ze,a2 as se,eX as Ye,l as W,a8 as re,j as t,aR as Ke,C as d,f3 as Je,f4 as Qe,f5 as Xe,bB as et,q as o,a0 as tt,eY as ye,eZ as ve,o as i,_ as N,f6 as Le,c as pe,g as j,e_ as it,Q as ze,f7 as nt,e$ as at,v as ot,bs as $e,cz as lt,a7 as st,f8 as rt,m as _e,af as Ae,f9 as ct,cl as dt}from"./index-
|
|
1
|
+
import{X as Te,cg as qe,u as Ge,M as Q,co as Ze,a2 as se,eX as Ye,l as W,a8 as re,j as t,aR as Ke,C as d,f3 as Je,f4 as Qe,f5 as Xe,bB as et,q as o,a0 as tt,eY as ye,eZ as ve,o as i,_ as N,f6 as Le,c as pe,g as j,e_ as it,Q as ze,f7 as nt,e$ as at,v as ot,bs as $e,cz as lt,a7 as st,f8 as rt,m as _e,af as Ae,f9 as ct,cl as dt}from"./index-DR9vSgqx.js";import{b as f,n}from"./vendor-CnQcJ2Lu.js";import{r as ut}from"./mui-C5LQ0bMa.js";import{v as pt}from"./ChargeCardUtils-BbByGmi9-DEgVq9Nd.js";import{Y as ht}from"./CreditCardPaymentPlgSection-BS99Rbz7-D3hONmqh.js";import{M as gt}from"./ChaseOverlay-CvXMdD8r-BjJFL-eT.js";import{K as mt}from"./SetUpDefaultSection-C0-L2ZyA-COKZA6T-.js";const X={sectionWidth:new d(343,580,726),rowGap:new d(o[2],o[3]),footerPaddingLeftRight:new d(o[3],o[4])},ft={title:new ze("standardMedium","largeMedium")};function xt({plaidConnectionDetails:e,header:p,isAccountsEnabled:v=!0,analytics:x,pageName:b,accountsPromoConfig:$,style:A,onConnectClick:M,onSignUpClick:I}){const u=Te(),{setUp:r}=Q.getLocalizedStrings().commonSetUp,m=e.link_account,P=m.fetchStatus.fetchState==="In-Progress"||m.updateStatus.fetchState==="In-Progress";return t.jsxs(St,{windowSize:u,style:A,"data-testid":N("default-account-section",b),children:[t.jsx(wt,{children:t.jsx(bt,{windowSize:u,children:p})}),t.jsxs(yt,{windowSize:u,width:A?.width,children:[t.jsx(Le,{heading:r.accountsPlg.heading,buttonText:r.accountsPlg.signUpButtonText,onSignUpClick:I,isAccountsEnabled:v,pageName:b,analytics:x,style:{borderTopLeftRadius:i.sp2,borderTopRightRadius:i.sp2},accountsPromoConfig:$}),t.jsxs($t,{windowSize:u,children:[t.jsxs(kt,{onClick:M,children:[t.jsx(Ct,{isLoading:P,children:r.connectExternalAccount}),P?null:t.jsx(jt,{className:"right-arrow"})]}),P?t.jsx(vt,{children:t.jsx(pe,{size:"ExtraSmall",start:!0,style:{display:"flex"}})}):null]})]})]})}const St=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${e=>X.rowGap.valuePx(e.windowSize)};
|
package/dist/assets/{StatementItem-BFkpLh_o-y7ZGW1Vq.js → StatementItem-CnpTW8qb-BYZ_h7VG.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as y,M as S,g$ as b,j as o,c as g,o as r,e as j,C as v,bp as z,q as k}from"./index-
|
|
1
|
+
import{X as y,M as S,g$ as b,j as o,c as g,o as r,e as j,C as v,bp as z,q as k}from"./index-DR9vSgqx.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-BcQH7ATF-CgWI28ii.js";import{w as L}from"./downloadPdf-C3XpsGeN-BXwAdg40.js";const d=S.getLocalizedStrings().months,a={downloadButtonSize:new v(k[4],20)},B=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: ${r.sp3} ${r.sp4};
|
|
4
4
|
flex-direction: row;
|
package/dist/assets/{StatementsPage-DWVI5t34-C9LKXGoX.js → StatementsPage-Pdhh6wDA-D6S4uOd7.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as v,X as z,j as t,aV as C,M as P,aj as I,o as r,g as m,bT as L,C as M,q as h,e as T}from"./index-
|
|
1
|
+
import{u as v,X as z,j as t,aV as C,M as P,aj as I,o as r,g as m,bT as L,C as M,q as h,e as T}from"./index-DR9vSgqx.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as B}from"./BoxItem-BcQH7ATF-CgWI28ii.js";import{o as E}from"./commonDimensions-PPvas5dK-BI_doeoz.js";import{J as R}from"./StatementItem-CnpTW8qb-BYZ_h7VG.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-C3XpsGeN-BXwAdg40.js";const x=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new M(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const k=v(),l=z(),$=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?E.transactionItemHeight:24,S=({index:a,style:n})=>{const s=i.statements[a];return d===!1?t.jsx(u,{windowSize:l,style:{...n,width:`calc(100% - 2*${b.listItemMargin.valuePx(l)})`},children:t.jsx(R,{currentTenantCompanyName:e,accountLast4:f,data:s,authParams:g,downloadEndPoint:w,boxType:B(a,i.statements.length)},s.id)}):t.jsx(N,{style:{...n},children:t.jsx(O,{children:t.jsx(u,{windowSize:l,children:t.jsx(A,{children:x.noStatements})})})})};return t.jsxs(V,{children:[t.jsx(C,{title:x.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(H,{children:t.jsx(I,{children:({height:a,width:n})=>t.jsx(K,{ref:$,height:a,width:n,outerRef:c,itemKey:s=>s,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},N=o.div``,u=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${b.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
package/dist/assets/{StatusSwitcher-LVFF4Wxb-KYvjAXRF.js → StatusSwitcher-CY3fhZpk-CRtOh969.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as y,j as d,bC as T,M as v,C as f,o as s,q as c,v as z}from"./index-
|
|
1
|
+
import{X as y,j as d,bC as T,M as v,C as f,o as s,q as c,v as z}from"./index-DR9vSgqx.js";import{n as u,j as g}from"./vendor-CnQcJ2Lu.js";function m(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const _=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:m(a)}return m(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??m(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:$}},zeniAccounts:{zeniAccountList:{tabsById:M}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new f(c[4],c[8]),containerMarginRight:new f(c[4],c[8]),segmentContainerMarginLeft:new f(c[4],c[8])},j=u.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
width: 100%;
|
package/dist/assets/{SubTabSwitcher-BCJ6BY1u-CWKSNIjs.js → SubTabSwitcher-BgzS4on6-mKZmBEH_.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as r,c as u,o as s,v as g,ae as m}from"./index-
|
|
1
|
+
import{j as r,c as u,o as s,v as g,ae as m}from"./index-DR9vSgqx.js";import{n as i,j as a}from"./vendor-CnQcJ2Lu.js";function S({allTabs:e,selectedTab:c,containerStyle:d,rightComponent:o,onTabChange:p}){const h=o!=null;return r.jsxs(x,{style:d,hasRightComponent:h,children:[r.jsx($,{children:e.map(t=>{const n=t.id===c,l=t.isDisabled!=null;return r.jsxs(b,{onClick:()=>{n===!1&&!l&&p(t)},isSelected:n,isDisabled:l,children:[r.jsx(y,{children:t.label}),t.countDetails?.count!=null?r.jsx(j,{children:r.jsx(f,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:r.jsx(D,{children:t.countDetails.isFetching?r.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),o]})}const x=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as d}from"./index-
|
|
1
|
+
import{j as d}from"./index-DR9vSgqx.js";import{E as n,T as t}from"./ReloadCard-DZhxB7Ar-3pX1Dvm4.js";const o=r=>{function e(){return r.card.fetchState==="In-Progress"||r.card.fetchState==="Not-Started"?d.jsx(n,{dimension:r.card.dimension,animated:!r.card.disableAnimations}):r.card.fetchState==="Error"?d.jsx(t,{dimension:r.card.dimension,cardType:r.card.cardType,cardIndex:r.card.cardIndex,onReloadData:r.actions.onReloadData}):d.jsx("div",{children:r.children})}return d.jsx("div",{children:e()})};export{o as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as ht,u as qe,j as t,M as oe,iG as Y,aV as mt,T as V,bO as gt,e as K,Z as kt,l as Q,o as s,eH as Ze,bH as Ie,bL as xt,fy as wt,ao as ft,be as Xe,a6 as Ct,X as le,a as Tt,C as Je,c3 as $t,F as yt,aj as bt,bT as vt,ia as jt,ib as St,iH as Be,a4 as Gt,K as De,bs as Ee,eD as Qe,iI as Lt,cq as et,iJ as pe,iK as xe,iL as Nt,iM as we,iN as tt,iO as st,iP as ot,iQ as nt,iR as at,iS as rt,iT as _,q as ke,iU as re,v as ie,iV as It,iW as Et,a3 as Mt,n as Dt,iX as Bt,d6 as zt,iY as At,cg as it,cA as Wt,f as Rt,iZ as Ot,i_ as Ft,fz as Pt,eG as Ht,i$ as Vt,j0 as X,j1 as ze,bV as Ut,j2 as _t,j3 as Kt,j4 as Ae,j5 as Yt,g as We,fW as qt,m as Zt}from"./index-
|
|
1
|
+
import{w as ht,u as qe,j as t,M as oe,iG as Y,aV as mt,T as V,bO as gt,e as K,Z as kt,l as Q,o as s,eH as Ze,bH as Ie,bL as xt,fy as wt,ao as ft,be as Xe,a6 as Ct,X as le,a as Tt,C as Je,c3 as $t,F as yt,aj as bt,bT as vt,ia as jt,ib as St,iH as Be,a4 as Gt,K as De,bs as Ee,eD as Qe,iI as Lt,cq as et,iJ as pe,iK as xe,iL as Nt,iM as we,iN as tt,iO as st,iP as ot,iQ as nt,iR as at,iS as rt,iT as _,q as ke,iU as re,v as ie,iV as It,iW as Et,a3 as Mt,n as Dt,iX as Bt,d6 as zt,iY as At,cg as it,cA as Wt,f as Rt,iZ as Ot,i_ as Ft,fz as Pt,eG as Ht,i$ as Vt,j0 as X,j1 as ze,bV as Ut,j2 as _t,j3 as Kt,j4 as Ae,j5 as Yt,g as We,fW as qt,m as Zt}from"./index-DR9vSgqx.js";import{b as n,n as o,j as fe}from"./vendor-CnQcJ2Lu.js";import{K as Xt,Y as Jt}from"./SpendManagementSection-BBR4aFIT-JT9BxyTy.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-TCmn6L9k-nr6vflWI.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-DXtvYcrg-iTUPRfV0.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./StatusSwitcher-CY3fhZpk-CRtOh969.js";const ns=100,as=100,rs=3,is=.7,ls=({scrollContainerRef:e,isEnabled:u=!0,edgeThreshold:r=ns,scrollSpeed:h=as,minScrollAmount:m=rs,scrollCurveExponent:p=is})=>{n.useEffect(()=>{if(!u||typeof window>"u"||typeof document>"u")return;let a=!1,c=0,i=null;const d=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>j(x),M=x=>{const S=Math.max(x,0)/d,y=Math.pow(S,p)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=c;if(y<d&&y>0){const L=d-y,g=M(L);k(x,g,"up")}else if(y>S-d){const L=y-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{E(x)?a=!0:(a=!1,C())},B=()=>{a=!1,C()},z=x=>{a&&(c=x.clientY)},$=x=>{z(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",B),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",B),document.removeEventListener("dragover",$),C()}},[r,u,m,e,p,h])},Se=oe.getLocalizedStrings(),lt=({count:e})=>t.jsx(ds,{isCircular:e<10,children:t.jsx(cs,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),ds=o.div`
|
|
2
2
|
${e=>e.isCircular?fe`
|
|
3
3
|
height: 18px;
|
|
4
4
|
width: 18px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,aj as Y,H as E,df as D,aM as L,o as a,v as q}from"./index-
|
|
1
|
+
import{j as t,aj as Y,H as E,df as D,aM as L,o as a,v as q}from"./index-DR9vSgqx.js";import{n as g,b as n}from"./vendor-CnQcJ2Lu.js";import{R as A}from"./mui-C5LQ0bMa.js";import{V as U}from"./CollapsableReportTable-BptltmMq-DGFCje0J.js";const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,o,v as p,M as u}from"./index-
|
|
1
|
+
import{j as t,o,v as p,M as u}from"./index-DR9vSgqx.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const f=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as c,j as t,C as n,v as x,b3 as w}from"./index-
|
|
1
|
+
import{X as c,j as t,C as n,v as x,b3 as w}from"./index-DR9vSgqx.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-CUpsv6b1-L84OUMou.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{H as _,X as V,j as t,u as f,b5 as T,av as C,au as S,b9 as E,bi as k,q as x,ab as R,f as $,bj as H,bk as q,a0 as X,l as G,U as J,o as p,v as L,ao as Y,e as F,M as A,W as N,_ as U,a5 as O,ai as W,aj as Q,a6 as Z,bl as ee}from"./index-
|
|
1
|
+
import{H as _,X as V,j as t,u as f,b5 as T,av as C,au as S,b9 as E,bi as k,q as x,ab as R,f as $,bj as H,bk as q,a0 as X,l as G,U as J,o as p,v as L,ao as Y,e as F,M as A,W as N,_ as U,a5 as O,ai as W,aj as Q,a6 as Z,bl as ee}from"./index-DR9vSgqx.js";import{f as v,b as te,n as g}from"./vendor-CnQcJ2Lu.js";import{I as ae,T as re}from"./ReloadCard-DZhxB7Ar-3pX1Dvm4.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ie=g(O)`
|
|
2
2
|
justify-content: space-between;
|
|
3
3
|
margin: 0;
|
|
4
4
|
height: ${e=>e.height!=null?e.height+"px":"auto"};
|
package/dist/assets/{TopExDetailPage-DDbJXH3w-CD_BWdGs.js → TopExDetailPage-DRjO-pGo-B7tFNTC-.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as v,X as S,l as A,j as t,aV as B,M as u,a0 as b,aj as H,D as P,o as i,C as j,bh as z,aN as V,q as c,g as F,e as y,_ as T,af as D}from"./index-
|
|
1
|
+
import{u as v,X as S,l as A,j as t,aV as B,M as u,a0 as b,aj as H,D as P,o as i,C as j,bh as z,aN as V,q as c,g as F,e as y,_ as T,af as D}from"./index-DR9vSgqx.js";import{n as l,f as M,b as o}from"./vendor-CnQcJ2Lu.js";import{E as _,I as L}from"./TopExCard-Bn5xXUvj-D1V8RPTg.js";import{b as Z}from"./TimeframeSwitcher-CUpsv6b1-L84OUMou.js";import{d as O}from"./NoDataTable-CLwNCXFE-D3npQzLx.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-DZhxB7Ar-3pX1Dvm4.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const E="141px",I=i.sp4,N="123px",R=l(D)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
width: ${i.sp3};
|
|
4
4
|
height: ${i.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as jt,a as zo,X as J,M as N,a2 as Rt,dK as Ao,dL as Vo,c3 as Ro,H as Po,dM as Gi,l as ue,dN as Eo,j as i,_ as B,F as _o,aV as No,dO as Bo,dP as Mo,c as Bt,dQ as Ii,a4 as Fo,C as R,dR as Wo,dS as Zi,dT as Ki,dU as Ji,dV as Ie,dW as ve,dX as Ee,dY as Ge,dZ as Ze,d_ as It,d$ as vt,e0 as Ke,e1 as rt,e2 as Ct,e3 as Dt,e4 as Pt,e5 as re,e6 as Et,e7 as se,e8 as le,S as qo,e9 as bt,ea as vi,eb as Uo,K as Ho,bO as Yo,o as n,ec as Go,q as v,D as si,g as ie,Z as mi,ap as Mt,ay as Zo,ed as Ko,bJ as Jo,bH as Ft,a0 as De,cg as Be,ee as Qo,ef as kt,a7 as Qi,cl as Xo,eg as en,bF as tn,bG as on,e as he,af as nn,cA as an,eh as Xi,ei as li,ej as ri,ek as Xt,db as sn,aj as ln,bT as rn,co as hi,cm as eo,d2 as cn,el as Ci,em as Di,en as dn,bs as to,eo as ei,dg as ti,ep as un,aN as pn,eq as mn,er as Ti,es as hn,z as gn,cp as fn,et as yn,Q as io,eu as bn,b4 as xn,ev as ji,b2 as tt,ew as wn,ex as $n,ey as In,b0 as vn,aC as Cn,dp as Dn,f as oo,ez as Tn,a$ as jn,a3 as On,m as Ln,eA as Sn,a9 as ci}from"./index-
|
|
1
|
+
import{u as jt,a as zo,X as J,M as N,a2 as Rt,dK as Ao,dL as Vo,c3 as Ro,H as Po,dM as Gi,l as ue,dN as Eo,j as i,_ as B,F as _o,aV as No,dO as Bo,dP as Mo,c as Bt,dQ as Ii,a4 as Fo,C as R,dR as Wo,dS as Zi,dT as Ki,dU as Ji,dV as Ie,dW as ve,dX as Ee,dY as Ge,dZ as Ze,d_ as It,d$ as vt,e0 as Ke,e1 as rt,e2 as Ct,e3 as Dt,e4 as Pt,e5 as re,e6 as Et,e7 as se,e8 as le,S as qo,e9 as bt,ea as vi,eb as Uo,K as Ho,bO as Yo,o as n,ec as Go,q as v,D as si,g as ie,Z as mi,ap as Mt,ay as Zo,ed as Ko,bJ as Jo,bH as Ft,a0 as De,cg as Be,ee as Qo,ef as kt,a7 as Qi,cl as Xo,eg as en,bF as tn,bG as on,e as he,af as nn,cA as an,eh as Xi,ei as li,ej as ri,ek as Xt,db as sn,aj as ln,bT as rn,co as hi,cm as eo,d2 as cn,el as Ci,em as Di,en as dn,bs as to,eo as ei,dg as ti,ep as un,aN as pn,eq as mn,er as Ti,es as hn,z as gn,cp as fn,et as yn,Q as io,eu as bn,b4 as xn,ev as ji,b2 as tt,ew as wn,ex as $n,ey as In,b0 as vn,aC as Cn,dp as Dn,f as oo,ez as Tn,a$ as jn,a3 as On,m as Ln,eA as Sn,a9 as ci}from"./index-DR9vSgqx.js";import{b as T,n as l,f as xt}from"./vendor-CnQcJ2Lu.js";import{x as Oi}from"./LabeledControlledCheckBoxField-CwiyOI1Z-D7LWnjIE.js";import{R as kn}from"./TrendWithTransactions-BumhCIjm-gZh4UsjF.js";import{u as zn,c as An,d as Vn,m as Rn}from"./uploadAttachment-DSku547V-Dvu5JOyk.js";import{o as Pn}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TrendChart-DKIa4o8k-CoNPqTlA.js";import"./chartTypes-yiqF7w9Y-C7Vh16CR.js";import"./toCOABalancesWithID-C9fWPLt9-OoFxmlBV.js";import"./toChartData-BMDCuCgs-pMvlI-3e.js";import"./NoDataChart-D_S6Pfkm-C2Kc7qtF.js";import"./InsightsSection-CSG5sVaE-B6JiP7yi.js";import"./NavigationDots-BfJxPG2K-BkZqVum6.js";import"./TransactionList-CSb5yqQj-DuZWKirU.js";import"./BoxItem-BcQH7ATF-CgWI28ii.js";import"./commonDimensions-PPvas5dK-BI_doeoz.js";const En={headerMarginTop:new R(v[7],v[8])},_n=l(he)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
`,Nn=l(he)`
|
|
4
4
|
margin-right: ${n.sp1};
|
package/dist/assets/{TransactionList-CLKRxE0g-DNe71eGT.js → TransactionList-CSb5yqQj-DuZWKirU.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{bC as et,X as N,j as e,aj as it,_ as h,db as at,M as y,dc as ot,d6 as rt,dd as nt,o as i,g as E,bT as st,C as Q,l as f,c as dt,e as j,q as g,v as lt,de as q,cs as V,a0 as U,m as ct}from"./index-
|
|
1
|
+
import{bC as et,X as N,j as e,aj as it,_ as h,db as at,M as y,dc as ot,d6 as rt,dd as nt,o as i,g as E,bT as st,C as Q,l as f,c as dt,e as j,q as g,v as lt,de as q,cs as V,a0 as U,m as ct}from"./index-DR9vSgqx.js";import{b as L,n,f as mt}from"./vendor-CnQcJ2Lu.js";import{g as W}from"./BoxItem-BcQH7ATF-CgWI28ii.js";import{o as O}from"./commonDimensions-PPvas5dK-BI_doeoz.js";const D=t=>t?24:125,ft={containerPaddingBottom:new Q(g[9],g[8])},A=n.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex: 1 1 auto;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{C as a,X as R,w as W,I as ie,ab as ne,l as D,j as t,_ as x,aj as re,M as w,q as n,f as ae,g as B,o,Q as j,h as q,aL as se,aM as le,v as de,Z as ce,a0 as me,aN as pe,p as he,c as ue,K as G,D as K,aO as X,a6 as ee}from"./index-
|
|
1
|
+
import{C as a,X as R,w as W,I as ie,ab as ne,l as D,j as t,_ as x,aj as re,M as w,q as n,f as ae,g as B,o,Q as j,h as q,aL as se,aM as le,v as de,Z as ce,a0 as me,aN as pe,p as he,c as ue,K as G,D as K,aO as X,a6 as ee}from"./index-DR9vSgqx.js";import{b as N,n as i,f,j as ge}from"./vendor-CnQcJ2Lu.js";import{G as xe,c as we}from"./AccountsPromoCardStack-D8Y5MNXA-C4cMa-NA.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./SummaryCard-DB_r9qW_-CTe61HcF.js";import"./ReloadCard-DZhxB7Ar-3pX1Dvm4.js";import"./NavigationArrow-De1st3tA-D1UxRic2.js";import"./NavigationDots-BfJxPG2K-BkZqVum6.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
cursor: default;
|
|
4
4
|
`,be=i.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as A,aT as z,aU as M,j as o,_ as h,aV as _,c as K,aW as U,o as n,e as V}from"./index-
|
|
1
|
+
import{u as A,aT as z,aU as M,j as o,_ as h,aV as _,c as K,aW as U,o as n,e as V}from"./index-DR9vSgqx.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{d as W}from"./TransactionList-CSb5yqQj-DuZWKirU.js";import{t as Z}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-BcQH7ATF-CgWI28ii.js";import"./commonDimensions-PPvas5dK-BI_doeoz.js";const q=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
height: 100vh;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as H,M as A,j as o,c as B,_ as D,a4 as W,o as a,C as g,a3 as Q,Q as _,cu as K,a as U,gt as F,gu as M,gv as R,c3 as X,F as G,q as r,u as J,c6 as Y,g8 as z,gA as Z,am as ee,gE as oe,gF as te}from"./index-
|
|
1
|
+
import{X as H,M as A,j as o,c as B,_ as D,a4 as W,o as a,C as g,a3 as Q,Q as _,cu as K,a as U,gt as F,gu as M,gv as R,c3 as X,F as G,q as r,u as J,c6 as Y,g8 as z,gA as Z,am as ee,gE as oe,gF as te}from"./index-DR9vSgqx.js";import{b as j,n as d}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:h,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=J(),$=N.labelWidth.value(l),I=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:h,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:I}):null]})]})},re=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
padding-top: ${a.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,X as de,_ as A,gN as it,M as I,a0 as q,K as Ce,gX as lt,c as Ye,a4 as we,o as a,C as c,a3 as We,k as st,ao as ct,Z as dt,c0 as xe,v as $e,e as ue,a2 as pe,eX as ut,a as Ve,l as ft,c3 as pt,ab as mt,a1 as ht,g as G,F as Ne,f4 as Se,f5 as ve,fD as gt,bs as De,fy as wt,gY as xt,q as o,cW as $t,bH as Xe,bm as Dt,cz as bt,b4 as Tt,m as Ze,f0 as yt,dp as Ct,bo as qe,f7 as St,f9 as vt}from"./index-Cvfy0zsh.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-CrkvbV6i-Ckvq_hVC.js";import{r as At}from"./AccountInfoPageContent-DqO5Kcep-Hi_ZRI3e.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-D5vJmVtA-B3Fqszb0.js";import"./commonDimensions-CP6T7HqS-D48QOLbv.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ge="transferDetailPage",me=(e,n)=>`${e}.${n}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:H}){const i=de(),E=p.largeLabelWidth.value(i),[Y,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),Q=n.transferMoneyPartiesFetchState,oe=pe(Q),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),Je=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),He=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:Z,ready:te}=ut({token:v,onSuccess:Je,onExit:He}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?Z():z(!0)},[Z,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&Z()},[V,Z,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>Z()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,P,n,Z]);const{isValid:Qe}=P.formState,et=async(s,h)=>{if(s!=null){const B={...h},se={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};K(se)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(y(!0),C(!0)):C(!1),S(se)}});return()=>{s.unsubscribe()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&pt(()=>et(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=P.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),H())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,ye=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[Y?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Yt,{children:q("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Bt,{id:Ke(Ge),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Fe,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Be,{}),t.jsx(Fe,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,Pt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Be,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ue),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Wt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",ye).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",ye)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Jt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Ae=(e,n)=>({transferDetails:{[Ue]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.div`
|
|
1
|
+
import{j as t,X as de,_ as A,gN as it,M as I,a0 as q,K as Ce,gX as lt,c as Ye,a4 as we,o as a,C as c,a3 as We,k as st,ao as ct,Z as dt,c0 as xe,v as $e,e as ue,a2 as pe,eX as ut,a as Ve,l as ft,c3 as pt,ab as mt,a1 as ht,g as G,F as Ne,f4 as Se,f5 as ve,fD as gt,bs as De,fy as wt,gY as xt,q as o,cW as $t,bH as Xe,bm as Dt,cz as bt,b4 as Tt,m as Ze,f0 as yt,dp as Ct,bo as qe,f7 as St,f9 as vt}from"./index-DR9vSgqx.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-DYCK5UWr-pLWKMQLD.js";import{r as At}from"./AccountInfoPageContent-BJqXMkH6-BzGTbIN9.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-C3XpsGeN-BXwAdg40.js";import"./commonDimensions-PPvas5dK-BI_doeoz.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ge="transferDetailPage",me=(e,n)=>`${e}.${n}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:H}){const i=de(),E=p.largeLabelWidth.value(i),[Y,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),Q=n.transferMoneyPartiesFetchState,oe=pe(Q),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),Je=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),He=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:Z,ready:te}=ut({token:v,onSuccess:Je,onExit:He}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?Z():z(!0)},[Z,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&Z()},[V,Z,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>Z()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,P,n,Z]);const{isValid:Qe}=P.formState,et=async(s,h)=>{if(s!=null){const B={...h},se={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};K(se)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(y(!0),C(!0)):C(!1),S(se)}});return()=>{s.unsubscribe()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&pt(()=>et(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=P.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),H())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,ye=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[Y?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Yt,{children:q("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Bt,{id:Ke(Ge),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Fe,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Be,{}),t.jsx(Fe,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,Pt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Be,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ue),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Wt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",ye).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",ye)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Jt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Ae=(e,n)=>({transferDetails:{[Ue]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.div`
|
|
2
2
|
margin-top: ${a.sp3};
|
|
3
3
|
display: flex;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as C,u as M,d2 as Ne,j as t,M as L,a0 as E,bs as ae,aV as Ye,f as ie,_ as W,c as Ke,o as i,v as k,g as w,b4 as Ve,C as u,cO as Q,Q as B,l as F,q as h,gQ as le,as as de,av as ce,au as he,at as pe,b7 as Fe,be as Le,a6 as Me,w as Ee,fk as We,gk as Ge,K as Ue,e as A,af as Je,iB as Xe,jc as Qe,az as _e,eE as qe,d4 as Ze,f0 as et,aj as tt,bT as it,ia as ot,ib as rt,kc as at,bl as st,m as G,bY as xe,id as nt,b$ as lt,ie as dt,ig as ct}from"./index-
|
|
1
|
+
import{X as C,u as M,d2 as Ne,j as t,M as L,a0 as E,bs as ae,aV as Ye,f as ie,_ as W,c as Ke,o as i,v as k,g as w,b4 as Ve,C as u,cO as Q,Q as B,l as F,q as h,gQ as le,as as de,av as ce,au as he,at as pe,b7 as Fe,be as Le,a6 as Me,w as Ee,fk as We,gk as Ge,K as Ue,e as A,af as Je,iB as Xe,jc as Qe,az as _e,eE as qe,d4 as Ze,f0 as et,aj as tt,bT as it,ia as ot,ib as rt,kc as at,bl as st,m as G,bY as xe,id as nt,b$ as lt,ie as dt,ig as ct}from"./index-DR9vSgqx.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-PPvas5dK-BI_doeoz.js";import{g as me}from"./BoxItem-BcQH7ATF-CgWI28ii.js";import{l as se,d as xt}from"./treasuryColorHelper-COfuUI3C-DV_5mX3C.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import{o as mt}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ne=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:ne.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:ne.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:ne.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(dt,ct),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:s}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const n of p)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,n)=>{let m=n;r.sortKey===p&&(m=n==="ascending"?"descending":"ascending"),s(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(n=>n.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(st,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const $t=ht.memo(wt),jt=o.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -95,7 +95,7 @@ import{X as C,u as M,d2 as Ne,j as t,M as L,a0 as E,bs as ae,aV as Ye,f as ie,_
|
|
|
95
95
|
cursor: pointer;
|
|
96
96
|
gap: 5px;
|
|
97
97
|
color: ${e=>e.theme.colors.primary};
|
|
98
|
-
`,U={containerPaddingLeft:new u(h[3],h[4]),containerPaddingRight:new u(h[2],h[3]),containerPaddingTop:new u(h[2],h[3]),containerPaddingBottom:new u(h[2],h[3])};function Mt({data:e,boxType:r}){const{description:s,amount:c,status:l,date:a}=e,y=E("0,0.00",c),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),j=x[0].width,f=x[1].width,p=x[2].width,n=xt(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Ft,{children:[t.jsxs(Wt,{children:[t.jsx(fe,{}),t.jsx(Gt,{children:t.jsx(Ut,{children:t.jsxs(Jt,{children:[s,l!=null?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(Qt,{color:n?.color,children:n?.value})]}):null]})})})]}),t.jsx(_t,{children:t.jsx(qt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Et,{children:t.jsx(Zt,{children:t.jsx($e,{children:y})})})]})});return t.jsx(me,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(At,{windowSize:d,children:[t.jsxs(Ot,{windowSize:d,width:j,children:[t.jsx(fe,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:s}),l!=null?t.jsxs(It,{windowSize:d,children:[t.jsx(Yt,{}),t.jsx(Nt,{color:n?.color,children:n?.value})]}):null]})]}),t.jsx(Rt,{windowSize:d,width:f,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(Bt,{windowSize:d,width:p,children:t.jsx($e,{children:y})})]});return t.jsx(me,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const At=o.div`
|
|
98
|
+
`,U={containerPaddingLeft:new u(h[3],h[4]),containerPaddingRight:new u(h[2],h[3]),containerPaddingTop:new u(h[2],h[3]),containerPaddingBottom:new u(h[2],h[3])};function Mt({data:e,boxType:r}){const{description:s,amount:c,status:l,date:a}=e,y=E("0,0.00",c),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),j=x[0].width,f=x[1].width,p=x[2].width,n=xt(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Ft,{children:[t.jsxs(Wt,{children:[t.jsx(fe,{}),t.jsx(Gt,{children:t.jsx(Ut,{children:t.jsxs(Jt,{children:[s,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(Qt,{color:n?.color,children:n?.value})]}):null]})})})]}),t.jsx(_t,{children:t.jsx(qt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Et,{children:t.jsx(Zt,{children:t.jsx($e,{children:y})})})]})});return t.jsx(me,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(At,{windowSize:d,children:[t.jsxs(Ot,{windowSize:d,width:j,children:[t.jsx(fe,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:s}),l!=null&&l.code!=="completed"?t.jsxs(It,{windowSize:d,children:[t.jsx(Yt,{}),t.jsx(Nt,{color:n?.color,children:n?.value})]}):null]})]}),t.jsx(Rt,{windowSize:d,width:f,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(Bt,{windowSize:d,width:p,children:t.jsx($e,{children:y})})]});return t.jsx(me,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const At=o.div`
|
|
99
99
|
width: 100%;
|
|
100
100
|
display: flex;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as ae,X as V,w as xe,d2 as we,a2 as $e,l as fe,M as E,j as r,aV as ye,o as i,iB as je,bs as be,v as S,K,_ as Q,Q as f,Z as F,C as v,g as t,e as G,d4 as Se,eW as ke,k as ze,m as ve,cI as Ce,q as m,dI as Le,ax as Pe,c0 as Te,a3 as Ie,f as Z,cu as De}from"./index-
|
|
1
|
+
import{u as ae,X as V,w as xe,d2 as we,a2 as $e,l as fe,M as E,j as r,aV as ye,o as i,iB as je,bs as be,v as S,K,_ as Q,Q as f,Z as F,C as v,g as t,e as G,d4 as Se,eW as ke,k as ze,m as ve,cI as Ce,q as m,dI as Le,ax as Pe,c0 as Te,a3 as Ie,f as Z,cu as De}from"./index-DR9vSgqx.js";import{b as P,n as o,f as Me}from"./vendor-CnQcJ2Lu.js";import{x as Be}from"./MeetingCalenderPopup-DlnppXL_-CUHiDz63.js";import{l as Re}from"./treasuryColorHelper-COfuUI3C-DV_5mX3C.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as _e}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Ge=({isOpen:e,onClose:x})=>{const c=V(),u=E.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(He,{children:[r.jsx(Ae,{children:r.jsx(Ee,{onClick:x})}),r.jsxs(Oe,{children:[r.jsx(Ve,{windowSize:c,children:u.agreementDrawer.title}),r.jsx(J,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((d,w)=>r.jsx(re,{children:d},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((d,w)=>r.jsx(qe,{children:d.hasMultipleLinks===!0&&d.links?r.jsx(Ye,{children:d.links.map((h,$)=>r.jsx(Ue,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:d.link,target:"_blank",rel:"noopener noreferrer",children:d.text})},w))}),r.jsx(J,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((d,w)=>r.jsx(re,{children:d},w))})]})]})})},He=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import{d2 as Me,u as Ue,X as ae,a2 as se,a as re,c3 as le,M as ce,a8 as te,j as t,cI as Re,g as He,C as u,aV as _e,c as Ne,F as de,c_ as Ke,aR as Ge,q as n,K as Je,bs as qe,_ as Qe,c9 as Xe,a4 as Ye,o as i,e as ue,c0 as Ze,a3 as et,Q as tt,h as it}from"./index-DR9vSgqx.js";import{b as a,n as o}from"./vendor-CnQcJ2Lu.js";import{D as ot}from"./HelpButton-Coe4ii48-CP7NC72-.js";import{r as nt}from"./verification-CW6uEyev-DdkqedMU.js";import{K as ie}from"./SetUpDefaultSection-C0-L2ZyA-COKZA6T-.js";import{f as at}from"./SpendMgmtSetupAccountSection-DedLETSm-D7MuWTH4.js";import st from"./PortfolioAllocationFormPage-yvAHgF_R-DmHT3I_l.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-DlnppXL_-CUHiDz63.js";import"./ChargeCardUtils-BbByGmi9-DEgVq9Nd.js";import"./CreditCardPaymentPlgSection-BS99Rbz7-D3hONmqh.js";import"./ChaseOverlay-CvXMdD8r-BjJFL-eT.js";import"./PortfolioDetails-C-YfZonF-Di6ScpkZ.js";import"./treasuryColorHelper-COfuUI3C-DV_5mX3C.js";const rt=(e,f)=>`${e}.${f}`,I={labelWidth:new u(145,155),navBarContainerPaddingYaxis:new u(10,n[3]),containerPaddingLeft:new u(n[3],n[6],n[8]),containerPaddingRight:new u(n[3],n[6],n[8])},lt={stepTitle:new tt("h6Regular","h5Regular")},pe=ce.getLocalizedStrings(),{common:oe}=pe,h=pe.commonSetUp.businessVerification,J=h.sourceOfFundOptions,$="additionalVerificationFields",ct=({companyOfficer:e,companyDetails:f,updateStatus:c,isDetailsSubmitted:w,onClose:d,onAdditionalVerificationFieldsChanged:E,onSendForVerificationClick:D,onCloseOverlay:j})=>{const p=ae(),k=I.labelWidth.value(p),B=se(c.fetchState),C=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[$]:{sourceOfFunds:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(J)}}}),[f?.sourceOfFunds])}),W=m=>J[m]??m,M=C.handleSubmit(()=>{D(e?.officerType??"Officer_1")}),O=async(m,x)=>{E(x[$])};return a.useEffect(()=>{const m=C.watch((x,{name:P})=>{P!=null&&x!=null&&le(()=>O(P,x))});return()=>{m.unsubscribe()}}),B==="In-Progress"&&c.fetchState==="Completed"||w===!0?t.jsxs(gt,{children:[t.jsxs(wt,{children:[t.jsx(nt,{}),t.jsx(ht,{windowSize:p,children:h.submittedTitle}),t.jsx(ft,{children:h.submittedDescription})]}),t.jsx(Je,{label:h.submittedButton,onClick:j,variant:"primary"})]}):t.jsxs(dt,{windowSize:p,children:[t.jsx(ut,{windowSize:p,children:t.jsx(qe,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Qe("nav-bar-back-portfolio-allocation"),onClick:j||d})})}),t.jsxs(xt,{windowSize:p,children:[t.jsx(yt,{windowSize:p,children:h.verifyBusinessDetails}),t.jsx(bt,{children:t.jsxs(kt,{children:[t.jsx(Ct,{}),t.jsx(vt,{})]})})]}),t.jsx(he,{children:h.verifyBusinessDetailsDescription}),t.jsx(de,{...C,children:t.jsxs("form",{id:$,onSubmit:M,children:[t.jsx(mt,{children:t.jsx(Xe,{label:{label:h.sourceOfFundsLabel,width:k},style:{width:"auto"},additionalInfoLabel:h.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:rt($,"sourceOfFunds"),placeholder:h.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:W,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(J)},registerOptions:{required:!0,validate:m=>!!m?.selectedOption}},isFunctional:!0,errorInfoLabel:h.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ye,{formId:$,primaryBtn:{label:oe.footer.submit,style:{width:"auto",minWidth:p==="small"?"auto":"83px"},isLoading:c.fetchState==="In-Progress"},cancelBtn:{label:oe.footer.back,style:{width:p==="small"?"auto":"83px"},onClick:d},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},dt=o.div`
|
|
2
|
+
height: auto;
|
|
3
|
+
padding-left: ${e=>`${I.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
4
|
+
padding-right: ${e=>`${I.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
5
|
+
flex: 1;
|
|
6
|
+
overflow-y: auto;
|
|
7
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
8
|
+
`,ut=o.div`
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
justify-content: flex-end;
|
|
12
|
+
align-items: center;
|
|
13
|
+
width: 100%;
|
|
14
|
+
top: ${i.sp0};
|
|
15
|
+
padding: ${e=>`${I.navBarContainerPaddingYaxis.valuePx(e.windowSize)} ${i.sp0}`};
|
|
16
|
+
z-index: 2;
|
|
17
|
+
`,pt=o(et)`
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
color: ${e=>e.theme.colors.hero};
|
|
20
|
+
width: ${i.sp4};
|
|
21
|
+
height: ${i.sp4};
|
|
22
|
+
min-height: ${i.sp4};
|
|
23
|
+
&:hover {
|
|
24
|
+
color: ${e=>e.theme.colors.primary};
|
|
25
|
+
}
|
|
26
|
+
`,ht=o(Ze)`
|
|
27
|
+
color: ${e=>e.theme.colors.primary};
|
|
28
|
+
white-space: pre-line;
|
|
29
|
+
text-align: center;
|
|
30
|
+
`,he=o(ue)`
|
|
31
|
+
color: ${e=>e.theme.colors.hero};
|
|
32
|
+
margin-top: ${i.sp3};
|
|
33
|
+
white-space: pre-line;
|
|
34
|
+
`,ft=o(he)`
|
|
35
|
+
margin-top: ${i.sp0};
|
|
36
|
+
text-align: center;
|
|
37
|
+
`,mt=o.div`
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
41
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
42
|
+
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
43
|
+
border-radius: ${i.sp2};
|
|
44
|
+
margin-bottom: ${i.sp3};
|
|
45
|
+
margin-top: ${i.sp3};
|
|
46
|
+
`,gt=o.div`
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
align-items: center;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
gap: ${i.sp5};
|
|
52
|
+
margin: auto;
|
|
53
|
+
`,wt=o.div`
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
align-items: center;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
gap: ${i.sp3};
|
|
59
|
+
`,xt=o.div`
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
gap: ${i.sp3};
|
|
63
|
+
width: 100%;
|
|
64
|
+
`,yt=o(it)`
|
|
65
|
+
${e=>`${lt.stepTitle.style(e.windowSize)}`};
|
|
66
|
+
color: ${e=>e.theme.colors.primary};
|
|
67
|
+
text-align: left;
|
|
68
|
+
`,bt=o.div`
|
|
69
|
+
display: flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
gap: ${i.sp2};
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
`,kt=o.div`
|
|
74
|
+
display: flex;
|
|
75
|
+
width: 100%;
|
|
76
|
+
gap: ${i.sp3};
|
|
77
|
+
`,Ct=o.div`
|
|
78
|
+
width: 50%;
|
|
79
|
+
height: 2px;
|
|
80
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
81
|
+
border-radius: ${i.sp2};
|
|
82
|
+
flex-shrink: 0;
|
|
83
|
+
`,vt=o.div`
|
|
84
|
+
width: 50%;
|
|
85
|
+
height: 2px;
|
|
86
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
87
|
+
border-radius: ${i.sp2};
|
|
88
|
+
flex-shrink: 0;
|
|
89
|
+
position: relative;
|
|
90
|
+
overflow: hidden;
|
|
91
|
+
|
|
92
|
+
&::after {
|
|
93
|
+
content: "";
|
|
94
|
+
position: absolute;
|
|
95
|
+
top: 0;
|
|
96
|
+
left: 0;
|
|
97
|
+
height: 100%;
|
|
98
|
+
width: 100%;
|
|
99
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
100
|
+
animation: fillProgress 1s ease-in-out forwards;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@keyframes fillProgress {
|
|
104
|
+
0% {
|
|
105
|
+
transform: translateX(-100%);
|
|
106
|
+
}
|
|
107
|
+
100% {
|
|
108
|
+
transform: translateX(0%);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
`,St=e=>a.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M5.62069 7.42676H2.09973",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M21.8994 7.42676H10.1617",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M13.8383 16.6963H2.09973",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M21.8994 16.6963H18.3793",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M5.62061 7.2989C5.62061 7.59707 5.67934 7.89233 5.79344 8.16781C5.90755 8.44329 6.0748 8.6936 6.28564 8.90444C6.49649 9.11528 6.74679 9.28253 7.02227 9.39664C7.29775 9.51075 7.59301 9.56948 7.89118 9.56948C8.18936 9.56948 8.48462 9.51075 8.7601 9.39664C9.03558 9.28253 9.28588 9.11528 9.49672 8.90444C9.70757 8.6936 9.87482 8.44329 9.98892 8.16781C10.103 7.89233 10.1618 7.59707 10.1618 7.2989C10.1618 6.6967 9.92254 6.11917 9.49672 5.69336C9.07091 5.26754 8.49338 5.02832 7.89118 5.02832C7.28899 5.02832 6.71146 5.26754 6.28564 5.69336C5.85983 6.11917 5.62061 6.6967 5.62061 7.2989Z",stroke:"currentColor",strokeWidth:1.5}),a.createElement("path",{d:"M13.8383 16.6983C13.8383 17.3005 14.0775 17.878 14.5033 18.3039C14.9291 18.7297 15.5066 18.9689 16.1088 18.9689C16.711 18.9689 17.2886 18.7297 17.7144 18.3039C18.1402 17.878 18.3794 17.3005 18.3794 16.6983C18.3794 16.0961 18.1402 15.5186 17.7144 15.0928C17.2886 14.667 16.711 14.4277 16.1088 14.4277C15.5066 14.4277 14.9291 14.667 14.5033 15.0928C14.0775 15.5186 13.8383 16.0961 13.8383 16.6983Z",stroke:"currentColor",strokeWidth:1.5})),l={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,n[5],n[5]),sectionRowGap:new u(n[5],n[9],n[9]),iconWidthHeight:new u(20,n[4]),subTitlePaddingTop:new u(12,n[3]),subTitlePaddingBottom:new u(n[3],n[3]),overlayWidth:new u(100,100,59)},$t="treasurySetUpPage",L="payAccount",{commonSetUp:jt,spendManagement:Ot}=ce.getLocalizedStrings(),{zeniAccounts:Pt,treasury:b}=Ot,{setUp:z}=jt,ti=({isDisabled:e,meetingUrl:f,treasurySetupView:c,currentTenant:w,businessVerificationDetails:d,connectedAccountProvider:E,accountsPromoConfig:D,isAccountsEnabled:j,showTreasurySetupOverlay:p,setShowTreasurySetupOverlay:k,onFetchLinkTokenClick:B,onEnableTreasuryClick:C,onUpdatePrimaryFundingAccount:W,onUpdateTreasuryClick:M,onBusinessVerificationSectionClick:O,onUpdatePaymentAccountStatus:m,onUpdatePaymentAccountLoginStatus:x,onEstablishConnectionClick:P,onEstablishConnectionSuccess:fe,onClickMenuIcon:me,onAdditionalVerificationFieldsChanged:ge,onSendForVerificationClick:we,onUpdateFundAllocation:xe,onConfirmFundAllocation:ye,onSignUpClick:be,onNavigateToDashboard:ke})=>{const v=Me().analytics,A=Ue(),s=ae(),[U,R]=a.useState("portfolio-allocation"),[q,Ce]=a.useState(!1),{fetchState:Q,companyTreasuryInfo:T,isRefreshingViewInBackground:X,updateStatus:ve,plaidConnectionDetails:Se,allBankAccounts:$e,selectedCompanyOfficer:je,primaryFundingAccount:y,allFundingAccounts:Y,currentAllocation:Oe,portfolioAllocationUpdateStatus:H,isAtomicAccountExists:Pe}=c,Z=se(H.fetchState),F=w.company?.companyBillPayInfo?.businessVerificationStatus,Ae=F?.code==="pending_review"||F?.code==="verified",{companyDetailsLocalData:Te}=d,_=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>ne(c),[c]),values:ne(c)}),Fe=_.handleSubmit(S=>{C()}),Ve=async(S,V)=>{const r=V[L];if(S.includes(L)){if(S.includes("fundingAccount")){if(r.fundingAccount.selectedOption!=null&&y?.id!=r.fundingAccount.selectedOption){const g=Y.find(G=>G.id===r.fundingAccount.selectedOption);g!=null&&W(r.fundingAccount.selectedOption,g.accType)}}else if(r.account.selectedOption!=null&&y?.id!=null&&y?.zeniAccountId!=r.account.selectedOption){const g=r.account.allOptions.find(G=>G.value===r.account.selectedOption);g!=null&&typeof g.label=="string"&&v.trackConnectBankLink(g.value,g.label,"zeni_treasury"),M(r.account.selectedOption,y.id,y.accType)}}};a.useEffect(()=>{const S=_.watch((V,{name:r})=>{r!=null&&V!=null&&le(()=>Ve(r,V))});return()=>{S.unsubscribe()}}),a.useEffect(()=>{Z==="In-Progress"&&H.fetchState==="Completed"&&U==="portfolio-allocation"&&k(!1)},[Z,H.fetchState]);const ee=T?.businessVerificationStatus?.code==="verified",ze=T?.businessVerificationStatus?.code==="pending_review",Le=ee||ze,Ie=Q==="In-Progress"||Q==="Not-Started",Ee=b.setup.setupSubTitle,N=A.mode==="light"?new te(A.colors.brandColorJadeLight):new te(A.colors.brandColorJadeDark),De=()=>{Ce(!0),k(!0),R("portfolio-allocation")},Be=()=>{ye(),q||(v.trackTreasuryVerificationNavigation("next",F?.code??""),Ae?R("additional-verification"):O(!0))},K=()=>{k(!1)},We=()=>{v.trackTreasuryVerificationNavigation("back",F?.code??""),R("portfolio-allocation")};return t.jsxs(Tt,{children:[t.jsxs(Re,{anchor:"right",open:p,onClose:K,PaperProps:{style:{width:l.overlayWidth.valuePercentage(s),boxShadow:"none"}},style:{backgroundColor:He.drawerBackground},transitionDuration:250,children:[U==="portfolio-allocation"&&t.jsx(st,{onBackClick:K,onNextClick:Be,treasurySetupView:c,onUpdateFundAllocation:xe,isReadOnly:Pe&&Oe!=null,isEditMode:q,isOnSetup:!0}),U==="additional-verification"&&t.jsx(ct,{updateStatus:ve,companyOfficer:je,companyDetails:Te,isDetailsSubmitted:Le,onClose:We,onCloseOverlay:K,onAdditionalVerificationFieldsChanged:ge,onSendForVerificationClick:we})]}),t.jsx(_e,{title:b.setup.setupTitle,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:ke,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:me,source:"treasury"}),t.jsxs(At,{windowSize:s,children:[t.jsx(Ft,{windowSize:s,children:Ee}),Ie?t.jsx(Vt,{children:t.jsx(Ne,{size:"ExtraLarge",start:!0})}):t.jsx(de,{..._,children:t.jsx("form",{id:Lt($t),onSubmit:Fe,children:t.jsxs(zt,{windowSize:s,children:[t.jsx(ie,{onClick:De,title:b.setup.title,subTitle:b.setup.subTitle,header:b.setup.header,icon:{element:t.jsx(St,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},isLoading:X,isActiveWhileLoading:!0}),t.jsx(ie,{onClick:()=>O(!1),title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(Ke,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},status:T?.businessVerificationStatus,isLoading:X,isActiveWhileLoading:!0,additionalInfo:T?.businessVerificationStatus?.code==="pending_review"?z.businessVerificationAdditionalInfo:void 0}),t.jsx(at,{connectedAccountProvider:E,plaidConnectionDetails:Se,allBankAccounts:$e,sectionId:L,isDisabled:e,header:Pt.accountSectionHeader,onFetchLinkTokenClick:B,onEstablishConnectionClick:P,onUpdatePaymentAccountStatus:m,onUpdatePaymentAccountLoginStatus:x,onEstablishConnectionSuccess:fe,icon:{element:t.jsx(Ge,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},analytics:v,productType:"zeni_treasury",onSignUpClick:be,primaryFundingAccount:y,isAccountsEnabled:j,allFundingAccounts:Y,pageName:b.setup.setupPageName,accountsPromoConfig:D})]})})})]}),t.jsx(ot,{isFooterRendered:ee,meetingUrl:f,analytics:v,productType:"zeni_treasury"})]})};function ne(e){const{allBankAccounts:f,allFundingAccounts:c,primaryFundingAccount:w}=e;return{[L]:{fundingAccount:{selectedOption:w?.id,allOptions:c.map(d=>({label:d.label,value:d.id,isRecommended:d.accType==="depositAccount"}))},account:{selectedOption:w?.zeniAccountId,allOptions:f.map(d=>({label:d.accountName,value:d.accountId}))}}}}const At=o.div`
|
|
112
|
+
display: flex;
|
|
113
|
+
justify-content: flex-start;
|
|
114
|
+
height: 100%;
|
|
115
|
+
overflow-y: auto;
|
|
116
|
+
flex-direction: column;
|
|
117
|
+
align-items: center;
|
|
118
|
+
row-gap: ${e=>l.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
119
|
+
`,Tt=o.div`
|
|
120
|
+
display: flex;
|
|
121
|
+
min-height: 100%;
|
|
122
|
+
height: 100%;
|
|
123
|
+
flex-direction: column;
|
|
124
|
+
width: 100%;
|
|
125
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
126
|
+
`,Ft=o(ue)`
|
|
127
|
+
color: ${e=>e.theme.colors.hero};
|
|
128
|
+
display: flex;
|
|
129
|
+
justify-content: center;
|
|
130
|
+
width: ${e=>l.titleWidth.valuePx(e.windowSize)};
|
|
131
|
+
padding-top: ${e=>l.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
132
|
+
padding-bottom: ${e=>l.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
133
|
+
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
134
|
+
`,Vt=o.div`
|
|
135
|
+
display: flex;
|
|
136
|
+
width: 100%;
|
|
137
|
+
height: calc(100vh - 110px);
|
|
138
|
+
flex-direction: row;
|
|
139
|
+
justify-content: center;
|
|
140
|
+
align-items: center;
|
|
141
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
142
|
+
`,zt=o.div`
|
|
143
|
+
display: flex;
|
|
144
|
+
flex-direction: column;
|
|
145
|
+
row-gap: ${e=>l.sectionRowGap.valuePx(e.windowSize)};
|
|
146
|
+
`,Lt=e=>`${e}_form`;export{ti as default,Lt as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as j,X as v,j as t,aV as z,M as C,aj as P,o as r,g as c,bT as T,C as I,q as d,e as M}from"./index-
|
|
1
|
+
import{u as j,X as v,j as t,aV as z,M as C,aj as P,o as r,g as c,bT as T,C as I,q as d,e as M}from"./index-DR9vSgqx.js";import{b as m,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as R}from"./BoxItem-BcQH7ATF-CgWI28ii.js";import{o as B}from"./commonDimensions-PPvas5dK-BI_doeoz.js";import{J as E}from"./StatementItem-CnpTW8qb-BYZ_h7VG.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-C3XpsGeN-BXwAdg40.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:R(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(X,{children:h.noStatements})})})})};return t.jsxs(V,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as S,X as v,j as t,aV as L,M as z,aj as C,o as r,g as c,bT as T,C as P,q as d,e as I}from"./index-
|
|
1
|
+
import{u as S,X as v,j as t,aV as L,M as z,aj as C,o as r,g as c,bT as T,C as P,q as d,e as I}from"./index-DR9vSgqx.js";import{b as h,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as M}from"./BoxItem-BcQH7ATF-CgWI28ii.js";import{o as R}from"./commonDimensions-PPvas5dK-BI_doeoz.js";import{J as B}from"./StatementItem-CnpTW8qb-BYZ_h7VG.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-C3XpsGeN-BXwAdg40.js";const m=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:M(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(X,{children:m.noTaxLetter})})})})};return t.jsxs(V,{children:[t.jsx(L,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,p=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as ge,H as xt,j as o,_ as P,gN as yt,M as we,a0 as W,K as Ie,c as Ze,a4 as He,o as t,C as f,a3 as Ce,k as $t,am as bt,u as St,a2 as pe,bs as vt,cO as Je,Q as R,l as z,fX as jt,g as S,Z as At,h as et,v as X,e as Y,eX as kt,a as Tt,c3 as Pt,F as Ct,fD as zt,q as c,bm as tt,cW as ot,bH as rt,cz as Dt,cq as Lt,f7 as Ft,e$ as Mt,d2 as Rt,m as Bt,f0 as Ot,dp as It,bY as Et,bX as _t,aQ as Nt,bc as Vt,f9 as Wt,fi as Xt,ab as Yt}from"./index-
|
|
1
|
+
import{X as ge,H as xt,j as o,_ as P,gN as yt,M as we,a0 as W,K as Ie,c as Ze,a4 as He,o as t,C as f,a3 as Ce,k as $t,am as bt,u as St,a2 as pe,bs as vt,cO as Je,Q as R,l as z,fX as jt,g as S,Z as At,h as et,v as X,e as Y,eX as kt,a as Tt,c3 as Pt,F as Ct,fD as zt,q as c,bm as tt,cW as ot,bH as rt,cz as Dt,cq as Lt,f7 as Ft,e$ as Mt,d2 as Rt,m as Bt,f0 as Ot,dp as It,bY as Et,bX as _t,aQ as Nt,bc as Vt,f9 as Wt,fi as Xt,ab as Yt}from"./index-DR9vSgqx.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{V as nt}from"./PortfolioDetails-C-YfZonF-Di6ScpkZ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-COfuUI3C-DV_5mX3C.js";const qt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Gt=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(Jt,{sliderValue:s,children:[o.jsx(Ht,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:Gt,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Ut(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Qt(i)},children:o.jsx(ro,{isSelected:s>=h,children:Zt(h)})},h))})]})}const Ut=e=>{const a=Yt("0,0.[00]a",e,"$").toUpperCase();return`${qt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Qt=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ht=r.input`
|
|
2
2
|
width: 100%;
|
|
3
3
|
&[type="range"]::-webkit-slider-runnable-track {
|
|
4
4
|
height: 2px;
|