@zeniai/web-app-ui 4.14.29-qa → 4.14.30-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-CQdbfxHV-BW88pIYa.js +21 -0
- package/dist/assets/{AIPerformancePage-BCxF5hNI-BDzZyTRY.js → AIPerformancePage-jyNXVGMj-Bs4Wcfnt.js} +13 -13
- package/dist/assets/AccountInfoPage-CiPtog_o-B4btRIXv.js +18 -0
- package/dist/assets/AccountInfoPageContent-Bj0kaRHv-CjMeZGo_.js +149 -0
- package/dist/assets/{AccountLockedInfoModal-CKODwo_y-HgxyLYI4.js → AccountLockedInfoModal-EbQpyRJx-DeA2eRRt.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-B2m7w0mL-C2NTxb1j.js → AccountReconDetailsDrawerPage-CK1QV13E-BSUxm7rf.js} +3 -3
- package/dist/assets/{AccountRow-G9Hw9KCo-BilRGfLi.js → AccountRow-B3Sz6a-V-GlNhkavB.js} +7 -7
- package/dist/assets/{AccountsPromoCardStack-C1-hQWvB-BXfUO0-K.js → AccountsPromoCardStack-DJtz56-u-D5uyYQuY.js} +6 -6
- package/dist/assets/AddAddressForCardDrawer-BDtxj9h6-Xx-rQDHp.js +6 -0
- package/dist/assets/{AddToWalletPage-BLdfTvYw-CAAAw7wK.js → AddToWalletPage-Czepun8f-MGSdB8OM.js} +4 -4
- package/dist/assets/{AddressRoutes-BG1MAbCa.js → AddressRoutes-CmvRhhab.js} +1 -1
- package/dist/assets/{AddressScreen-DPQ2dZD-.js → AddressScreen-Cb00RwYZ.js} +2 -2
- package/dist/assets/{AgingReportsPage-C6aasTzQ-CXKuu64F.js → AgingReportsPage-DzAVDq_i-BP-WG6Wy.js} +5 -5
- package/dist/assets/{AiCfoScreen-Uh7XawvO.js → AiCfoScreen-CZVtCrsQ.js} +2 -2
- package/dist/assets/{AllUserItems-CjeF5SWi-Xj_esGub.js → AllUserItems-BEoRQT-v-9OnCgvS-.js} +4 -4
- package/dist/assets/{ApAgingDetailPage-BWtvu1dO-B5eTLGtl.js → ApAgingDetailPage-55JdoIHh-kk28-9yG.js} +8 -8
- package/dist/assets/{AppBasePage-MKRsDpmx-HZd0I1c2.js → AppBasePage-CLye29uw-B08L49eb.js} +2 -2
- package/dist/assets/{AppDrawerContent-DN2hf6ff-D92ap2jb.js → AppDrawerContent-CDawrmfz-DqagnYqP.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-0XbPzs2a-CNXOi7RW.js → ApprovalRulesSettingsPage-BHUZdWCO-tMTnXaFd.js} +1 -1
- package/dist/assets/{ArAgingChart-DSx_E9ZM-T13taZCd.js → ArAgingChart-DeL9nNI7-Bj8y0fT6.js} +2 -2
- package/dist/assets/{ArAgingDetailPage-C8h1id5v-Bp0xLr7O.js → ArAgingDetailPage-CuG65EQs-CXt16x8B.js} +3 -3
- package/dist/assets/{AttachmentView-CqKnI6Xt-6J0SUJNW.js → AttachmentView-C5anq6-B-BkQi2I92.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-CSaW4oJh-DO_Gw_jb.js → BalancesInsightWithToolTip-1PK_fwhP-BOcx7wZs.js} +6 -6
- package/dist/assets/{BankAccountSection-Dhp7GLZA-ZzlevD89.js → BankAccountSection-BUJoSOk8-BG4ByPDH.js} +2 -2
- package/dist/assets/BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-CDPUFu2k-C0HHnCKS.js → BankConnectionsSettingsPage-DRDS5xzS-CGYqJS-4.js} +14 -14
- package/dist/assets/{BillDetailPage-BWBGE0pg-UL8bGSCB.js → BillDetailPage-CtVVaqTN-BwEQZwAf.js} +4 -4
- package/dist/assets/{BillPayApprovalRoutes-DW58vDW2.js → BillPayApprovalRoutes-DwRul1Fq.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-B_XoB7xi-s54xFqBk.js → BillPayApprovalRuleDetailPage-6GHCsDkX-ClsaXk5H.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-5okdFn01-idvpD0Th.js → BillPayApprovalRulesPage-QKjq-qVP-DTJcefrH.js} +6 -6
- package/dist/assets/{BillPayPromoPage-GoR4wxn7-BX9oM76g.js → BillPayPromoPage-_n9uoXTN-DW34nsnh.js} +1 -1
- package/dist/assets/{BillPayRoutes-BtkTxM8s.js → BillPayRoutes-D22Q6pQL.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-CKWIFJ92-CabNOcHO.js → BillPaySetUpPage-DNYX24VA-DLV9gKNt.js} +6 -6
- package/dist/assets/{BillingSettingsPage-AjSQYumd-Bn1f-Gb_.js → BillingSettingsPage-Btv3yiNs-M_OusRvc.js} +6 -6
- package/dist/assets/{BillsBulkReviewDrawerPage-DsNKfhkT-BYVxk_pZ.js → BillsBulkReviewDrawerPage-BiLLeGke-Bs5f4SMl.js} +1 -1
- package/dist/assets/{BoxItem-BWNurtfc-1wVBC0eH.js → BoxItem-Dqp4SNlI-EUjyx5Zm.js} +1 -1
- package/dist/assets/BusinessVerificationPage-_8Wg_S5G-ChiNdD4I.js +138 -0
- package/dist/assets/{BusinessVerificationPageScreen-DwaqRId9.js → BusinessVerificationPageScreen-B_00ICvM.js} +2 -2
- package/dist/assets/{BusyIndication-H_iNZOWd-YzpZR-Jd.js → BusyIndication-BZLVwIo8-6s8wSi7T.js} +1 -1
- package/dist/assets/{CardNumberSubText-BAWc12F9-BTTDwvPi.js → CardNumberSubText-12zyW5qQ-c22fv1fM.js} +8 -8
- package/dist/assets/{CashbackDetailPage-BhCHvGxj-C7faepag.js → CashbackDetailPage-B8-TDuv8-Dd6aEuJQ.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage-D9-V0pjZ-CcMIYVjT.js → ChargeCardDetailPage-Bdz5L2ko-CaBbXfBZ.js} +44 -44
- package/dist/assets/{ChargeCardListPage-CZFi8l0_-CbzOxmGD.js → ChargeCardListPage-EuJ1VXck-BU5r2hWM.js} +19 -19
- package/dist/assets/{ChargeCardListTable-DiJUp9-c-D2uWClgA.js → ChargeCardListTable-SgjwYd8W-EVdaCbR4.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CW9gtO0w-DcClor1f.js → ChargeCardPaymentHistoryPage-BC2DkmZT--xdPwk1t.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-CiZDV925-CSYRAMGO.js → ChargeCardPromoPage-C-z0xtuN-qFHF_adM.js} +6 -6
- package/dist/assets/{ChargeCardRoutes-D4cX-FOc.js → ChargeCardRoutes-DV8TKacG.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-C5jXY5P--BL7I_Hqd.js → ChargeCardSetupPage-ByLoLZE_-DIekUpHc.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-CetLgQ8l-gLsbR91J.js → ChargeCardStatementsPage-C4XdqPO1-BSM3bO35.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-BYfqgSGk-ZwbVVf4M.js → CheckDepositDrawerPage-D5X61CKc-CyEf-jUu.js} +8 -8
- package/dist/assets/{CollapsableReportTable-BhbPzkAB-CdpUmH6m.js → CollapsableReportTable-D7zD4-h0-CdsTnLhf.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CMcuDe-X-C7bIWPwr.js → CompanyOfficerDetailsSection-w86_5FXJ-CDmgqN3N.js} +93 -93
- package/dist/assets/{CompanyPassportCard-DImW2Dm8-C3ddeebY.js → CompanyPassportCard-tpE1lXug-CLl-IbcU.js} +9 -9
- package/dist/assets/{CompanyPassportPage-DT2W9QE1-BV_asMoO.js → CompanyPassportPage-bND99CJN-D7hjvVvQ.js} +23 -23
- package/dist/assets/{CompanyPassportScreen-lvxlxXBe.js → CompanyPassportScreen-DR-zdvAJ.js} +1 -1
- package/dist/assets/{CompleteProfile-BOabRQRQ-hZLQMnnP.js → CompleteProfile-B5W07hcs-mOeGRg8M.js} +1 -1
- package/dist/assets/ConfettiBurst-C0DFgWJj-DC0n_rE6.js +1 -0
- package/dist/assets/{ConnectionAuthScreen-B2gMiO2X.js → ConnectionAuthScreen-D4VaoAIy.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CBRgyWeU.js → ConstrainedInnerElement-CgdnMeoA-bMF_z_bc.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D86akQ-H-DjyhHlg2.js → CreateOrEditVendorPage-CrQh8JCh-BX5wTD-m.js} +6 -6
- package/dist/assets/{CreditCardPaymentDrawerPage-MS34Pxyw-CThaYeKC.js → CreditCardPaymentDrawerPage-BoVmLCHh-Blea7AvV.js} +1 -1
- package/dist/assets/{CurrencySelectField-BsuzTGXR-BO0M4dmd.js → CurrencySelectField-D2azwi1T-CSrQI1j0.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BP-GIrmI-BTYtJVUo.js → CustomerOnboardingActivationPage-DxuEGe6X-BPuiwcIL.js} +5 -5
- package/dist/assets/CustomerOnboardingAuthScreen-DLH-rYdF.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CeH0I7wN.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CISAUodZ-YRtutnxA.js → CustomerOnboardingDetailPageSkeleton-DRGKainD-Y7JaILNu.js} +7 -7
- package/dist/assets/{CustomerOnboardingNoStepsPage-DgMQ5prq-C6rBmtzt.js → CustomerOnboardingNoStepsPage-C--jDBQq-BgvTeh9S.js} +10 -10
- package/dist/assets/{CustomerOnboardingPage-QvCZDMFw-XwRQSzz7.js → CustomerOnboardingPage-BXZSl2im-DDrc-wX_.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-Bt1cV23--BjduPIcK.js → CustomerOnboardingProductSuitePage-BJmYX0kI-C3qX-GBN.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-E20XO7Zj.js → CustomerOnboardingRoutes-DqfIHwc7.js} +4 -4
- package/dist/assets/{Dashboard-DdAePVSx-C-9TkoS2.js → Dashboard-yhqyXPbZ-CPcltsfF.js} +1 -1
- package/dist/assets/{DashboardReportPage-ccn0JYfk-D8ynj735.js → DashboardReportPage-BG4StCjY-CzFGaujV.js} +8 -8
- package/dist/assets/{DashboardRoutes-DcFVHsLz.js → DashboardRoutes-Bawz4pw0.js} +3 -3
- package/dist/assets/DashboardSidebarBackgroundAnimation-DsWKmIXY-BuOmk2Nk.js +12 -0
- package/dist/assets/{DefaultTenantHome-wwRnuj8j.js → DefaultTenantHome-B10KVon4.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BijpyBiZ-CW9mmver.js → DepositAccTransactionItem-5ZEPnNxa-3AfijWCl.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-BR8d0Kun-DVyGTLJU.js +66 -0
- package/dist/assets/{DomesticWireDetailScreen-OB8K6kLY.js → DomesticWireDetailScreen-CMEoUywc.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-B10Vx6K5-BUhuFnZV.js → DomesticWireDetailsPage-wGIWvhgQ-CmjPpsLr.js} +4 -4
- package/dist/assets/{DownloadOverlay-BiIbEvq6-ZKYIT7SI.js → DownloadOverlay-SLvxfa6B-CQ7BxjF9.js} +16 -16
- package/dist/assets/{DrawerPage-4aE01eRo-CAh9Gn2F.js → DrawerPage-CFdTV10k-BenpSUGv.js} +4 -4
- package/dist/assets/{DrawerScreen-BUsyYGIw.js → DrawerScreen-B7BWNi51.js} +1 -1
- package/dist/assets/{EditPeoplePage-BWjOJqch-joGMUHM8.js → EditPeoplePage-C-Y62PJ0-BgijqRCf.js} +7 -7
- package/dist/assets/{EditReimbursementDetailPage-Dcw8QlH6-BgKR9UgF.js → EditReimbursementDetailPage-BYpXof8e-CdyZTm2g.js} +14 -14
- package/dist/assets/{EntityDetailPage-DseDMalq-Cyl2DMlD.js → EntityDetailPage-CgDHg6g5-B_vQblwz.js} +2 -2
- package/dist/assets/{EntityDetailRoutes-DRKZJLlI.js → EntityDetailRoutes-nFrPna9t.js} +1 -1
- package/dist/assets/{EntitySummarySection-D1o-WKT9-D_I5HHZG.js → EntitySummarySection-B2uG3-Zh-DoF2hAYB.js} +4 -4
- package/dist/assets/{ExpenseAutomationOverviewPage-BIGlSzsy-GCvxlf1m.js → ExpenseAutomationOverviewPage-CrtNuarm-C8tGkYQU.js} +7 -7
- package/dist/assets/{ExpenseAutomationPage-BUARFwSx-DJgzLEID.js → ExpenseAutomationPage-CWPnIMSu-BUnHNcGe.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DOhwxALP.js → ExpenseAutomationRoutes-DxRmXEnL.js} +1 -1
- package/dist/assets/{ExpressPayPage-BKpxo5VW-DRp_Q9MN.js → ExpressPayPage-CsI_DUc6-BKAOKKa9.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-CfqYjofS-BCTiv77_.js → FeaturePreviewPage-B67a68N9-BPSn99tM.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-B3zHyjp6.js → FeaturePreviewScreen-D_cOMPjM.js} +1 -1
- package/dist/assets/{FollowStepsSection-CJzIGe2N-DY6b--XC.js → FollowStepsSection-CgjzMm02-DPMc3VYJ.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-B4qWm75N-Cgt5bIxt.js → GlobalReviewListPage-CIfK-0rd-F3X4MQ4k.js} +5 -5
- package/dist/assets/{InformationCardStack-BXWxFJnm-DTjwcinQ.js → InformationCardStack-qKld10kr-IVC5wYc5.js} +1 -1
- package/dist/assets/{InsightsCardStack-iUppdWya-CvDrIPQZ.js → InsightsCardStack-Bbh77o6f-Dr_8r9pW.js} +8 -8
- package/dist/assets/InsightsSection-DgfCOO4F-rd7xZxVI.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DthkTtT9-C74bs234.js → IntegrationsSettingsPage-BRQFeOLt-2BecY83T.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-hYeFGjj4-DcAN91eT.js → InternationalWireSwiftDetailsPage-DPemNncS-Datvi8oR.js} +4 -4
- package/dist/assets/{InternationalWireVerificationPage-0TZuCAzZ-CQe_0UUB.js → InternationalWireVerificationPage-BOxXfIY5-D1lMmBlP.js} +3 -3
- package/dist/assets/{InviteFormPage-BC1PH63r-BIGwjJ9U.js → InviteFormPage-BbbPCdh--Cb0-_CQ6.js} +1 -1
- package/dist/assets/{InvitePageListView-BJDfCvno-gIJzhxwL.js → InvitePageListView-DqfrAulo-BtCqgsIl.js} +13 -13
- package/dist/assets/{InvitePeoplePage-Bl-WUfXO-DUMLWy1B.js → InvitePeoplePage-CgTpZp4M-CYe0nmg8.js} +3 -3
- package/dist/assets/{InvoiceUploadSection-BgVvYytR-BlXN9F3c.js → InvoiceUploadSection-DZOzTShz-BFwyUvOT.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-0JEZpfCu-DM9vLveb.js → IssueChargeCardPage-x6dLcd-P-D7R8buXv.js} +17 -17
- package/dist/assets/{LabeledAddressValue-BCsadhSu-BSeojys7.js → LabeledAddressValue-CY4Fn72d-VdKSkT_l.js} +1 -1
- package/dist/assets/LabeledAddressValueField-D47ofJFV-CGqdgTnp.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-Do7rlK6F-Dcj3JGIB.js → LabeledControlledCheckBoxField-C_c8Rs-i-Cz1fNsx_.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BHwXHYPO-D63Slqo_.js → LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-gMUp1tXY-0qVfYVsB.js → LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js} +3 -3
- package/dist/assets/{LabeledDocumentField-DxUq-7nr-Dvr8lzpZ.js → LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-D51ly333-DpjwTxSj.js → LabeledDropDownFormattedTextField-C2sZjA-q-Bkuc_5w_.js} +6 -6
- package/dist/assets/{LabeledEmailInputField-Cd9p7Kj0-CVG4vWEu.js → LabeledEmailInputField-DzAdekQn-BkQ7kdJx.js} +3 -3
- package/dist/assets/{LabeledNameField-364jsrFK-CQqPpY2S.js → LabeledNameField-Dxx0xwMv-DBRkdNqp.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-B3pMIEfZ-BxU2XuLw.js → LabeledSingleSelectField-EO8TA_z_-C26qdLJU.js} +6 -6
- package/dist/assets/{LabeledText-uFTi1qOo-DmgySby9.js → LabeledText-Bo7B-LrF-DECCi3EJ.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-XD6D3r0Y-BIqpPDdk.js → LabeledUserSingleSelectWithSubtitlesField-DD11_Map-ZtH1v-68.js} +8 -8
- package/dist/assets/{LabeledZeniRolesDropDownField-CbJ3OtWK-BYvsDYJv.js → LabeledZeniRolesDropDownField-BJ99uBt1-DGvakh0f.js} +18 -18
- package/dist/assets/{LinkJETransactionPage-B5M6Ojt--CjodvhlH.js → LinkJETransactionPage-BiDoUKQW-xgKDBdnj.js} +9 -9
- package/dist/assets/{LockCardPage-DN2dvQA9-Ow-fz21n.js → LockCardPage-B1QOSByp-BfsUhZIZ.js} +25 -25
- package/dist/assets/{LowBalancePopup-CXTWwEyb-CglMcP4R.js → LowBalancePopup-Bl_PaIUx-yOClgIGf.js} +2 -2
- package/dist/assets/MagicLinkACHDetailsPage-l76_Y3sO-DBz5GRKZ.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D_z_Q-jz-DriIOIxl.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D276lsq_-ColrMYZA.js +1 -0
- package/dist/assets/MagicLinkRoutes-B-WHuq25.js +72 -0
- package/dist/assets/{MagicLinkSignInScreen-D5zthsYs.js → MagicLinkSignInScreen-BBwmXYDm.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-CuL-7CWN-C2vVBJ4S.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-BnzImXCX-D-Ps836u.js → MagicLinkTitleSection-RYhrN820-BbeWYlVu.js} +10 -10
- package/dist/assets/{MailingDetailsSection-aNMVpaF0-BDPAoAmw.js → MailingDetailsSection-D9_I-DTk-Cdb1WRS_.js} +1 -1
- package/dist/assets/{MobileAppDrawer-nB2AvhYg.js → MobileAppDrawer-CTcTm5tx.js} +1 -1
- package/dist/assets/{MoreMenuButton-C_jqM-Ix-DkOTATII.js → MoreMenuButton-5MZl4h9B-BympoCwa.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CdW-lOqB-BuW8By7Z.js → MyBankConnectionsSettingsPage-CBw6kNsm-DlddyW1w.js} +4 -4
- package/dist/assets/MyPendingActivationChargeCardListPage-BC4YjZtP-DfpXnRCt.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-ZmPfSk3b-CoiObIlF.js → MyProfileSettingsPage-DZ5M2BUN-CQ7zk2gg.js} +4 -4
- package/dist/assets/{NavBarWithPicker-BYosIzfk-QcmG5LM_.js → NavBarWithPicker-C6FiaLu5-BVvTIBUE.js} +5 -5
- package/dist/assets/{NavigationArrow-CMLkPq47-RkoQ7OLd.js → NavigationArrow-BnAgR0wH-BYYktF7B.js} +1 -1
- package/dist/assets/{NavigationDots-maxhYltq-CrrpYdd0.js → NavigationDots-WUDG_g8M-CSwlLBTM.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-BkDFFysB-B2YvDT6v.js → NewGlobalMerchantPage-gAsCusVw-CA6lhup4.js} +1 -1
- package/dist/assets/{NoDataChart-CKqR_T30-j8ruDKAU.js → NoDataChart-BBYUjdKn-CaszePO0.js} +3 -3
- package/dist/assets/{NoDataTable-BQLSA76V-Z0rSzjO1.js → NoDataTable-D3750d25-CC_2gGkK.js} +1 -1
- package/dist/assets/{NotFoundPage-rtS33FV3-DQRB4A0h.js → NotFoundPage-C4D8Rn9E--AJk-xer.js} +6 -6
- package/dist/assets/{NotFoundScreen-BZyQ7N3h.js → NotFoundScreen-SRDW4_mE.js} +1 -1
- package/dist/assets/{NotificationRoutes-DHwdNZv_.js → NotificationRoutes-BSrkx0LD.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-JJ5a6f1u-DkWIvNeO.js → NotificationSettingsPage-CD-t91ia-DJoX_UtT.js} +4 -4
- package/dist/assets/NotificationsListConfig-C7JSE-eQ-DyT-ZhYk.js +1 -0
- package/dist/assets/{NotificationsPage-9vgLoVxJ-DquGHhpL.js → NotificationsPage-Be1v8niA-BlgDo9nE.js} +14 -14
- package/dist/assets/{OpExByVendorPage-Dy7Ll1zE-BHmSV3QW.js → OpExByVendorPage-D1f1lQbs-BnyzfFJz.js} +7 -7
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-CXSGJlk6.js → OverlayContainerPage-BG9y5C0t-DTorHW75.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D-V3dD71-BFdw0OK9.js → PandLWithForecastPage-DIYb7BWp-B3vKwRhN.js} +11 -11
- package/dist/assets/{PandLWithForecastRoutes-BDTc6BXB.js → PandLWithForecastRoutes-CsL0r0I3.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-B_4cMrVT-De6jntkt.js → PaymentAccountSetupBillingAddressSection-tGkjxbjY-CHrQD7Oe.js} +6 -6
- package/dist/assets/{PeoplePage-B9bxxtaC-DVI-Bxvs.js → PeoplePage-xwAOX4Jk-BnzId5aB.js} +1 -1
- package/dist/assets/{PeopleRoutes-C9qvG-Pm.js → PeopleRoutes-D-yY-A49.js} +3 -3
- package/dist/assets/PerformanceRoutes-DUxeAB_T.js +1 -0
- package/dist/assets/{Preview-C63MOKlS.js → Preview-k4ohm46R.js} +1 -1
- package/dist/assets/{ProductsCarousel-BnezAuLA-D870mTyw.js → ProductsCarousel-OHbYasaa-Bps9QCYO.js} +1 -1
- package/dist/assets/{PromoBaseCards-B5vRjrOp-CQBPv6Li.js → PromoBaseCards-B_0dccCZ-BeKRkhdX.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-mVAyONiQ-CvqA8075.js → QBOConnectionDialog-5ItNvdCA-D1LNYclF.js} +13 -13
- package/dist/assets/{QBOConnectionScreen-CXrs5Ixj.js → QBOConnectionScreen-BDwso3KZ.js} +1 -1
- package/dist/assets/{QBOSetupSection-Co4tc3sO-CTfIKjz1.js → QBOSetupSection-CHZgQppe-Fu_QXCEh.js} +14 -14
- package/dist/assets/ReferralListScreen-DPkRtA1r.js +5 -0
- package/dist/assets/{ReimbursementApprovalRoutes-D2Z5UbaN.js → ReimbursementApprovalRoutes-DyX9YlA9.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-t48xfVQ_-CD8euRFQ.js → ReimbursementApprovalRuleDetailPage-CqZT111l-Th1QLQg3.js} +5 -5
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-D5GyC7T8.js → ReimbursementApprovalRuleDetailScreen-BR6Wdj2J.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BuOE0xKm-Dgnps96a.js → ReimbursementApprovalRulesPage-BzTe2nqd-DFHyb7gY.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-oD88KyGk-fKnCy2kA.js → ReimbursementDetailPage-DM650uCR-BZojPp4W.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-DC6vQNFr-D_UtsBrr.js → ReimbursementPromoPage-CitTg9s4-C6Ht-4dW.js} +7 -7
- package/dist/assets/{ReimbursementRoutes-IQsmlcCo.js → ReimbursementRoutes-C4Yz_jbS.js} +3 -3
- package/dist/assets/{ReimbursementSetUpPage-ClkPQCRt-TDU6L3Hh.js → ReimbursementSetUpPage-qphyaCoX-CvNz9jXQ.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DiWW85PW-4yt4cIZg.js → ReimbursementsBulkReviewDrawerPage-CCJvQKip-BQLPbz53.js} +1 -1
- package/dist/assets/{ReloadCard-DcyZqZO5-Cx4kSgDZ.js → ReloadCard-DMNbI6QE-C1j_tgy-.js} +4 -4
- package/dist/assets/{ReportTableViewSelector-Be_385i6-BoF2puWu.js → ReportTableViewSelector-CUG4hVI9-Bjuyu4DH.js} +5 -5
- package/dist/assets/{ReportsPage-Dp_uEJ2H-BVzHzuJW.js → ReportsPage-nuM-ub1p-CKOT47VZ.js} +8 -8
- package/dist/assets/{ReportsRoutes-DNVh4Zq3.js → ReportsRoutes-DohAZqsL.js} +1 -1
- package/dist/assets/{RevenueChart-B-iMe_PD-qYuzBRWA.js → RevenueChart-BL5Wb2UT-JQVA4c7e.js} +1 -1
- package/dist/assets/{ReviewDetailsPage--0ZUpEVp-QpDfYpwf.js → ReviewDetailsPage-CUolLJ6s-I5bNk9-1.js} +21 -21
- package/dist/assets/{ReviewOverlay-D_JI48L0-BZc7iU8Z.js → ReviewOverlay-A1OYNSqG-DCeKL3J7.js} +6 -6
- package/dist/assets/RewardsRoutes-BjB7FD9l.js +1 -0
- package/dist/assets/{RoleWithToolTip-Bqdsc31P-CEo-Vqy5.js → RoleWithToolTip-VOllzDDB-BXr_ucO6.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-vFbciuuA-D8R98pra.js → ScheduleDetailsFixedAssetsPage-By3U1RYU-Dut2stb8.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BUxgvyKT-4gfjZarF.js → ScheduleDetailsPage-ButJHPUw-XhuUVDsI.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-Dv831gVJ-OIQZXWKl.js +326 -0
- package/dist/assets/{ScreenRoutes-Dehj5d2R.js → ScreenRoutes-B6WQ9uqs.js} +2 -2
- package/dist/assets/{SetUpAccountSection-Bk3RGJCY-Bm0kDwNM.js → SetUpAccountSection-BcNG0nDh-C2x0keC_.js} +1 -1
- package/dist/assets/{SettingsRoutes-DK8cjp4e.js → SettingsRoutes-U8aLQkxi.js} +5 -5
- package/dist/assets/{SetupPagesScreen-DAHxCusL.js → SetupPagesScreen-KLzrKq5d.js} +1 -1
- package/dist/assets/{SignIn-DbvYG8OW-GkUkBoPB.js → SignIn-D80UITQm-CVsAto0V.js} +22 -22
- package/dist/assets/{SignInScreen-vzDqilPw.js → SignInScreen-g1CD9jiJ.js} +1 -1
- package/dist/assets/SignOutScreen-Cclrjb6Y.js +9 -0
- package/dist/assets/{SpendManagementListViewPage-CSGYJyZu-CHLWxGnv.js → SpendManagementListViewPage-DSG6Son_-3Woa8ZKL.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-DuGeuTYQ-Bnf08sS-.js → SpendManagementPerTabPage-DiSu0RS1-Dj2U_5YO.js} +13 -13
- package/dist/assets/{SpendManagementSection-CZ_i360S-DJoDSBgX.js → SpendManagementSection-BXU3RGG8-BwEQ7fN8.js} +12 -12
- package/dist/assets/StatementItem-B1M65xN--D_j2q7nS.js +31 -0
- package/dist/assets/{StatementsPage-BMFYpAPA-CVHHtLBu.js → StatementsPage-Ck1xzA0w-CdWUN6DK.js} +2 -2
- package/dist/assets/{StatusSwitcher-CDnarHSf-DDxt9cRn.js → StatusSwitcher-_Cs3CzJl-D1XlTHt5.js} +6 -6
- package/dist/assets/{SubTabSwitcher-DhIXVTVI-C-FMRKa6.js → SubTabSwitcher-D3ltE_yc-Ry1ed6uf.js} +3 -3
- package/dist/assets/SuccessAnimation-RuQd1S4B-C9QgxngQ.js +13 -0
- package/dist/assets/SummaryCard-buadhnmc-COTvxgGf.js +1 -0
- package/dist/assets/{TaskDetailPage-rWt-QUEv-B4eDDsje.js → TaskDetailPage-CJKga1vr-ciDskCCR.js} +1 -1
- package/dist/assets/{TaskListScreen-CSw93xhx.js → TaskListScreen-ksTObC06.js} +2 -2
- package/dist/assets/{TaskManagementPage-D3YvKWVJ-CISxMHl7.js → TaskManagementPage-BMwMSG1j-D-VvypFm.js} +27 -27
- package/dist/assets/TaskRoutes-C_cjp_9o.js +9 -0
- package/dist/assets/{TimeRangeSwitcher-CFJrPhfZ-B9dX58Bl.js → TimeRangeSwitcher-B1Wx03tG-Br6TSwpo.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DS6zgSjT-CWk5lheO.js → TimeframeSwitcher-Dmtsdwi9-Ce3iuH6w.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-Did8-Dj7-BeDPAkDD.js → TimeframeSwitcherWithToggle-P5CfgTUd-DXOPf3Bj.js} +3 -3
- package/dist/assets/{TopExCard-ByF-svYM-CeHmKjZr.js → TopExCard-DQkr9Xhh-CEMSG53J.js} +3 -3
- package/dist/assets/{TopExDetailPage-ABVezwCx-C0DDZmei.js → TopExDetailPage-5Di6WUfV-hilBOr7-.js} +9 -9
- package/dist/assets/{TransactionActivityLogPage-B8ytNODX-BJQxN8XR.js → TransactionActivityLogPage-R9LoW4DL-C_Mhlr8m.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CunkyIXB-CgTOb-81.js → TransactionDetailPage-B-blHtkn-CbeGtCIa.js} +34 -34
- package/dist/assets/{TransactionDetailRoutes-vPW4Cy7h.js → TransactionDetailRoutes-CG9Ya3UI.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-ChHjrjIW.js → TransactionDetailScreen-DG1rRYuu.js} +1 -1
- package/dist/assets/{TransactionList-CEPVnfZD-TcZJCCiC.js → TransactionList-FQvTXSzy-oI0UZGJM.js} +13 -13
- package/dist/assets/{TransactionListBig-BYFv0irc-C_9tN-iq.js → TransactionListBig-CNDw7zRw-DTLpPxaS.js} +6 -6
- package/dist/assets/TransactionListPage-BkZLtwmQ-DzH0F7Wk.js +35 -0
- package/dist/assets/{TransactionListRoutes-AsiPvomy.js → TransactionListRoutes-BbWNwfVS.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DYvgQFQS-CHf7_t-i.js → TransactionVendorDetailPage-Ch2UUF1f-DGdjSa3g.js} +3 -3
- package/dist/assets/{TransferDrawerPage-gDUiIE-g-Dq_9lrcC.js → TransferDrawerPage-C1Ly_xKj-DX3atlS9.js} +21 -21
- package/dist/assets/{TreasuryOverviewPage-DXIqVBWp-vTDjed-b.js → TreasuryOverviewPage-Zt5w8zfp-CedvlZd9.js} +21 -21
- package/dist/assets/{TreasuryPromoPage-oERSujnm-Duub099a.js → TreasuryPromoPage-BsP73kf7-etf9xlFS.js} +14 -14
- package/dist/assets/{TreasuryRoutes-Cw9xE3HA.js → TreasuryRoutes-CuQ3uJ15.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-GWCCDPvf-BxdVAf_2.js → TreasuryStatementsPage-DhXESeOi-uJElEPeD.js} +4 -4
- package/dist/assets/{TreasuryTaxLetterPage-pTRWyNYH-C_7jq7mI.js → TreasuryTaxLetterPage-tHkQvX2V-pYxXn6xj.js} +4 -4
- package/dist/assets/{TrendChart-B2oLQN05-BKkpm1IB.js → TrendChart-B7Pox_TQ-7BkibFBY.js} +4 -4
- package/dist/assets/{TrendWithTransactions-Bx63fv0P-BpBq0DjX.js → TrendWithTransactions-DP1jZL1i-2bOe0VtV.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-D_QwlpkW-AksGUSjn.js → UncategorizedAccountsMappingPage-4mHyt2P6-BwcucbSK.js} +7 -7
- package/dist/assets/{UnitIntegrationPage-EeIQyR4L-BkgVpnWk.js → UnitIntegrationPage-BymmWe1G-DFsBuiFb.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-B8_7dtgO-BAzvdZXs.js → UploadAdditionalDocumentOverlay-DUO2ZoU--ozi0LNFT.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DwTNfggI-DuCG60KE.js → Vendor2FAPopup-8kpMx5RI-CGazITGN.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-BODHiiUQ-DmAQiimf.js +1 -0
- package/dist/assets/{VendorDetailPage-k42A_Pv1-ZE6DsZ2U.js → VendorDetailPage-C-JJfR0u-DCJ_f7dN.js} +12 -12
- package/dist/assets/VendorDomesticWireDetailsPage-CVfEcUFJ-8ddL7pEj.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BUuhWv_U-K4_6q7mU.js → VendorFiling1099EditablePage-B4vFgSwb-DDTykyPn.js} +6 -6
- package/dist/assets/{VendorFirstReviewPage-bN7DO44j-BxefcVJp.js → VendorFirstReviewPage-CUwdrbjH-DPvTVvHI.js} +7 -7
- package/dist/assets/{VendorInternationalWireDetailsPage-DjkOrgs7-Cg0U0LdX.js → VendorInternationalWireDetailsPage-BzP1zqhw-CAXXQP5N.js} +4 -4
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CYv9JR1l.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D-7K4aZA-CRXRh27D.js → VendorsAccountsSection-Drue-Lvz-DQRReXtk.js} +4 -4
- package/dist/assets/{VendorsRoutes-CIpXKlmm.js → VendorsRoutes-Buw6G1yr.js} +1 -1
- package/dist/assets/{VerifyDevice-VPfuXUzH-1HX1IVYe.js → VerifyDevice-B_NNzkjT-BkggAu3P.js} +9 -9
- package/dist/assets/VideoPlayer-Bc4tAd79-Crbsq9LQ.js +77 -0
- package/dist/assets/VideoPopup-BYo5bzpU-BthyvsgQ.js +31 -0
- package/dist/assets/WiseConfirmationScreen-CEIT9jMF.js +12 -0
- package/dist/assets/{ZeniAccountDetailPage-CJrpkcjr-HirlEWmr.js → ZeniAccountDetailPage-BW6G2voE-DBU5fQds.js} +19 -19
- package/dist/assets/{ZeniAccountListViewPage-DvJI3LGF-nY-vtULB.js → ZeniAccountListViewPage-gNszI2XV-BLZmP_oZ.js} +30 -30
- package/dist/assets/{ZeniAccountNavBarPieces-UCydmVe7-UXTm50TX.js → ZeniAccountNavBarPieces-BP1IxZ18-ABeEpX-y.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DiGsabvm-rZyGLme8.js → ZeniAccountPromoPage-LsZxIdX9-D62PvtLZ.js} +5 -5
- package/dist/assets/{ZeniAccountRoutes-BPd28Sqn.js → ZeniAccountRoutes-Bp_1In61.js} +5 -5
- package/dist/assets/{ZeniAccountSetupPage-hVmIT6tO-g_Hva4KO.js → ZeniAccountSetupPage-BExQA9Cz-D04LOVK1.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-C-wBGJv0.js → ZeniAccountStatementScreen-6LzJoR1o.js} +1 -1
- package/dist/assets/{ZeniAvatar-C2LxBTZ4-0_TRwNg0.js → ZeniAvatar-5wP6sb3W-CKgtWCng.js} +1 -1
- package/dist/assets/{ZeniCopyright-BTIaEGE9-El7BZp0U.js → ZeniCopyright-CMjFbDBQ-So_Gi_8l.js} +1 -1
- package/dist/assets/{ZeniDatePicker-9JxwH7J5-CrNSUw6y.js → ZeniDatePicker-C_YQpGe--CXBBhIwN.js} +4 -4
- package/dist/assets/{ZeniTransferAmountSlider-BlEFrC-Z-BisIQd6x.js → ZeniTransferAmountSlider-CIu35Xz9-BCHS6-b-.js} +1 -1
- package/dist/assets/{accountMappingHelper-CZHlLVR_.js → accountMappingHelper-Ctd7yuH3.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BgQLRlhS.js → add-to-wallet-DgdBD8_G-q_ZatOIu.js} +1 -1
- package/dist/assets/{analytics-CDQ7tGpV.js → analytics-Ci5SIN4_.js} +1 -1
- package/dist/assets/{analyticsHelper-C4p8ugAl.js → analyticsHelper-CBcY8lmv.js} +1 -1
- package/dist/assets/{analyticsHelper-CYp9h-KW-Cdl9mD6Z.js → analyticsHelper-CG-L3dO7-WIHh4rd-.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CvfiHTRY.js → arrow-south-east-round-PEovUgvH-BXAmISmi.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-8rMpx5do.js → auto-transfer-rule-mbafm5D3-Qtr813uy.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-BdKWS97a.js → avatar-Dz7aEm3d-lVrrjTFE.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-ydWr7ZOI.js → bank-letter-BOcVjN6J-a5lcVCZG.js} +1 -1
- package/dist/assets/{calculateSize-DecSvt-d-BXgf6S37.js → calculateSize-CAxK0dN_-6AyeRPo8.js} +1 -1
- package/dist/assets/{chartTypes-D2s_Hwo9-BrmnDHT7.js → chartTypes-_AEkJ5Cg-CVupoc41.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-CjcyjUt4.js → clock-CJkylEKt-CBVPxBka.js} +1 -1
- package/dist/assets/common-B74Sb4iG-Ba1Dna3Q.js +1 -0
- package/dist/assets/{commonDimensions-u85vL09f-Dok7ubZx.js → commonDimensions-_Dpm4Anv-BHT-EeW2.js} +1 -1
- package/dist/assets/{commonTypes-DKKiPW4t-GTA9duos.js → commonTypes-C64XobC6-BTobasZR.js} +1 -1
- package/dist/assets/{core-B0nKoasK.js → core-oEkj6b51.js} +1 -1
- package/dist/assets/{dash.all.min-CXMi5GlA.js → dash.all.min-DZu0W7MW.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-CHDtTf3Z.js → decodeURIComponentSafe-AFO0vA4L.js} +1 -1
- package/dist/assets/{dnd-NNN-4w0O.js → dnd-DwLm2ZWc.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-CQw1tD8J.js → dollar-round-D18u7nlm-BxzwYsJa.js} +1 -1
- package/dist/assets/{downloadPdf-CnXPMbwm-BeGNFIUF.js → downloadPdf-BAZhe2iR-C4ju3Lqh.js} +1 -1
- package/dist/assets/{empty-DA-JSLu3.js → empty-CpgB6ACX.js} +1 -1
- package/dist/assets/{empty-CVZTZ-q9.js → empty-fwRWXj2G.js} +1 -1
- package/dist/assets/{epic-D0yDPv8O.js → epic-qeTSmk29.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-DAakc3sS.js → filter-cZIFUNvj-Cn5LR_-W.js} +1 -1
- package/dist/assets/{getLocaleForTenant-DXFDKgoB.js → getLocaleForTenant-DZi5Q22y.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-C6pLHK0s.js → gift-box-Cmt9OgIZ-CByaMYJG.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-Dn4I-rOX.js → graphic-no-data-l-DU4J8fDt-bzI3_a8w.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DO0fHtUP.js → graphic-no-data-net-burn-l-CzmycA0m-CaA33M1d.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-C47iPdmd.js → handshake-BPg58FML-BxWewJRH.js} +1 -1
- package/dist/assets/{helper-C7sZs2qJ-DizQxyzI.js → helper-D3UIpXq7-DCH1HBMI.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-BOSMM7uX.js → hyperlink-DQyCeXx2-Dt5l5kWs.js} +1 -1
- package/dist/assets/{index-CEBFS-eA.js → index-B5c5iTId.js} +1 -1
- package/dist/assets/{index-DrsMeyfs.js → index-BE_133so.js} +1 -1
- package/dist/assets/{index-DGfOhpD2.js → index-BHAcVHeH.js} +643 -641
- package/dist/assets/{index-CQJQXzZY.js → index-CjBlNHKF.js} +1 -1
- package/dist/assets/{index-BIjZljJR.js → index-Cpbn6-TN.js} +1 -1
- package/dist/assets/{index-zhMcpxMF.js → index-DRNExedw.js} +1 -1
- package/dist/assets/{lexical-Fl-AogKa.js → lexical-BLFyyXBr.js} +1 -1
- package/dist/assets/{liveblocks-DskTqGyX.js → liveblocks-Ia5FU_Xu.js} +1 -1
- package/dist/assets/{lottie-BzV8yd9z.js → lottie-DEK510sX.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C_DjhqLk-Ct7OsbEi.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Okgefznu-141Bcx45.js → mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B_J7hTEH.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Dq4CasLR-BKZfs44u.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode--FHVcIix-D7muHBWz.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-sCX2cRnL-BGdAqCMz.js → mapTimeframeBalancesToTreeNode-BP0iF3Of-BZXMdjjY.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-ww9DgKFP-DI4Dtrg_.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-DMQQGP6s.js} +1 -1
- package/dist/assets/{media-player-eLGyvMHZ.js → media-player-uto_Jl5G.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-rv31fLm6.js → money-2cg1MuG4-BmcWx6In.js} +1 -1
- package/dist/assets/{mui-40xepic5.js → mui-Cni6P-fz.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BrbO3gtI.js → page-detail-CWX5S47F-B9qcUnuN.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-bNTaLAow.js → page-summary-D7_VQHwN-ZSqDN0WI.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-DgahycaC.js → panelSelectedMixin-Cddsb26L-BCo5ICo2.js} +1 -1
- package/dist/assets/{pathToGoBack-D0UTUGlT.js → pathToGoBack-BpMzEQ5A.js} +1 -1
- package/dist/assets/{pdf-A8jRKyoC.js → pdf-CTJ16aEe.js} +3 -3
- package/dist/assets/{pdf-lib-mQnebn-k.js → pdf-lib-BZoHbIry.js} +1 -1
- package/dist/assets/{plaid-cfgjTkr8.js → plaid-B2vW8NaN.js} +1 -1
- package/dist/assets/{pusher-1O2fsDZq.js → pusher-DFtcQaPW.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Cy5-Jl8l.js → radio-default-CiSgisfh--JwnmKdf.js} +1 -1
- package/dist/assets/{react-BEctO-ia.js → react-B0u9lmTz.js} +1 -1
- package/dist/assets/{react-D8s_m7Vn.js → react-BxE_BeY2.js} +1 -1
- package/dist/assets/{react-QF7HiPHo.js → react-C70tWLg5.js} +1 -1
- package/dist/assets/{react-CidUU4N9.js → react-Cohr3oKl.js} +1 -1
- package/dist/assets/{react-DcRcFJEU.js → react-DKkpOD3_.js} +3 -3
- package/dist/assets/{react-C6o6ScF5.js → react-DZ1_qQub.js} +1 -1
- package/dist/assets/{react-BEcUyG01.js → react-cn6O__9s.js} +1 -1
- package/dist/assets/{react-CQm7lU_-.js → react-jjkPSe6Z.js} +1 -1
- package/dist/assets/{recharts-Bbdho9Pi.js → recharts-LlOU9oLm.js} +1 -1
- package/dist/assets/{routePaths-BLeuVRxM.js → routePaths-WWdcktge.js} +1 -1
- package/dist/assets/{sentry-COYnhuxW.js → sentry-CY6wsJT-.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-wVomU2ew.js → shield-DOlUxcFf-CGZqPLdL.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-BruIkKZj.js → spend-limit-D6SyboD4-DAZsY_K2.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CuxwOBs0-D4IOrabU.js +1 -0
- package/dist/assets/{toChartData-DrYGpr_j--iS187kT.js → toChartData-BODe4y2V-CHAJ4Jnp.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-C-J0dsgn.js → transaction-placeholder-CpOwZAMG-B7lzeBRq.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-Chu3klyO.js → undo-b_3XZ5CX-okXLDguZ.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-BGatCFPm.js → unlock-BPWn2I5L-BcwMx3a4.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-GfUJ6f_w.js → upload-reimbursement-receipt-O2N8vcO7-BLqHMVJK.js} +1 -1
- package/dist/assets/{uploadAttachment-DPYv4udq-CAr5uueF.js → uploadAttachment-Dbumcc_g-LXlwbhth.js} +5 -5
- package/dist/assets/{uploadReceipts-CIgkuVpu-n8jIX4W3.js → uploadReceipts-CIgkuVpu-FU2oOS1s.js} +1 -1
- package/dist/assets/{url-XCmE-JaB.js → url-B5kkbwRv.js} +1 -1
- package/dist/assets/{url-C27bOf0k.js → url-Cv3aJ--T.js} +1 -1
- package/dist/assets/{useDeviceId-UXlBHXyB.js → useDeviceId-BWAR3Wtl.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-CTgopLFd.js → useInitialThreadRequest-DTIHWJqF.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CqE4OIEm.js → useLongPress-GCK2COYQ-BX_5sahW.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-vz296XX2.js → usp-line-BBd1wKwW-CuU9mWQv.js} +1 -1
- package/dist/assets/{utils-DMEPgX6w.js → utils-ChLimP28.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-CeydZjZz.js → withTransactionSidePanel-X05Jc0ej.js} +1 -1
- package/dist/assets/{zeni-epic-state-DCforPdM.js → zeni-epic-state-cFF_NqwA.js} +3 -3
- package/dist/assets/{zeni-icon-only-BkUYNged.js → zeni-icon-only-jOM3nMPU.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ACHDetailsPage-DdI8Zlpr-CU5r-YKb.js +0 -21
- package/dist/assets/AccountInfoPage-D_PrQwlp-D0A6PrU_.js +0 -18
- package/dist/assets/AccountInfoPageContent-jLGn4-UA-kIJ8s7Ew.js +0 -149
- package/dist/assets/AddAddressForCardDrawer-Dd-0o1b--Buw-PM8c.js +0 -6
- package/dist/assets/BankAccountWarningSection-C_OfdR1O-DqmpDK5M.js +0 -51
- package/dist/assets/BusinessVerificationPage-DN88j0Rn-tyggZhAW.js +0 -138
- package/dist/assets/ConfettiBurst-Ix0vYpu--V0qDTo2i.js +0 -1
- package/dist/assets/CustomerOnboardingAuthScreen-HNUHcgaZ.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-D4BMPshV-BzHwYekK.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-DPDd6e7b-D-b2dmJD.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-DOuU7gGT-DQxZX56m.js +0 -66
- package/dist/assets/InsightsSection-CPg_uo3H-sqHV4Jbt.js +0 -27
- package/dist/assets/LabeledAddressValueField-D-AO8-Me-RVHqH4BW.js +0 -45
- package/dist/assets/MagicLinkACHDetailsPage-6iW79Hsc-B7gORwLD.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-KPRoVnEc-zKiUFewj.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DjB2bi8k-T09uYnar.js +0 -1
- package/dist/assets/MagicLinkRoutes-L3uSUo92.js +0 -72
- package/dist/assets/MagicLinkSuccessPage-JRpuY47p-BJQ8JJMy.js +0 -31
- package/dist/assets/MyPendingActivationChargeCardListPage-DKvDUyn7-nlJboSN5.js +0 -6
- package/dist/assets/NotificationsListConfig-CWWrsRBB-DP_qJFN2.js +0 -1
- package/dist/assets/PerformanceRoutes-DANbUDFx.js +0 -1
- package/dist/assets/ReferralListScreen-DT2pRRPd.js +0 -5
- package/dist/assets/RewardsRoutes-CREYcycm.js +0 -1
- package/dist/assets/ScheduleSequenceTable-CPf50z9S-CEdOUEQo.js +0 -324
- package/dist/assets/SignOutScreen-C3YaFG0k.js +0 -9
- package/dist/assets/StatementItem-CDx2knrL-dHkYeLFR.js +0 -31
- package/dist/assets/SuccessAnimation-C-AHWH-M-CjU-MXUl.js +0 -13
- package/dist/assets/SummaryCard-4S9PQQ5W-CVgFdJR5.js +0 -1
- package/dist/assets/TaskRoutes-C0KjnkWn.js +0 -9
- package/dist/assets/TransactionListPage-CEVs8CRQ-QOKs_8cL.js +0 -35
- package/dist/assets/VendorACHDetailsPage-KDUuJi9g-BUZn0dFZ.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-Dotx5CDo-vU-waasU.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BRtCcxHm-DZLoEOh0.js +0 -1
- package/dist/assets/VideoPlayer-2MQyZqi6-5nZYmejT.js +0 -77
- package/dist/assets/VideoPopup-ZFwt4A81-Dd9BK3DZ.js +0 -31
- package/dist/assets/WiseConfirmationScreen-DTEzHq7k.js +0 -12
- package/dist/assets/common-BGuhvMjF-tZRLj5XI.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CG-v5g2M-nbDI__7a.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Cehw-jOG-51sSC6Cr.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-yMo9FeMO-0qqS0Teo.js +0 -1
- package/dist/assets/toCOABalancesWithID-DinJUeg4-BB91BzEv.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,e as fe,P as A,gT as st,a5 as N,a as Pe,h2 as lt,L as qe,a9 as De,o as a,O as R,x as c,a8 as Ge,n as ct,at as dt,D as ft,c2 as ye,C as Te,l as ue,a7 as ce,T as Ue,c8 as ut,ag as pt,a6 as mt,d as q,A as He,f6 as Le,f7 as je,fD as ht,bn as Ce,h3 as gt,k as i,eT as wt,bH as Je,bu as xt,ex as $t,b6 as bt,H as Ze,fj as Dt,bi as yt,bw as Ke,gk as Tt,gl as Ct}from"./index-DGfOhpD2.js";import{a as f}from"./sentry-COYnhuxW.js";import{n}from"./mui-40xepic5.js";import{u as St}from"./plaid-cfgjTkr8.js";import{bG as vt}from"./zeni-epic-state-DCforPdM.js";import{v as kt}from"./ZeniTransferAmountSlider-BlEFrC-Z-BisIQd6x.js";import{m as At}from"./BusyIndication-H_iNZOWd-YzpZR-Jd.js";import{r as Pt}from"./AccountInfoPageContent-jLGn4-UA-kIJ8s7Ew.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./utils-DMEPgX6w.js";import"./downloadPdf-CnXPMbwm-BeGNFIUF.js";import"./commonDimensions-u85vL09f-Dok7ubZx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="19a7fc13-23e8-42b1-bc88-fbbd316d9393",e._sentryDebugIdIdentifier="sentry-dbid-19a7fc13-23e8-42b1-bc88-fbbd316d9393")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Qe="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,r)=>`${e}.${r}`,tt=e=>`${e}_form`,u={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(i[3],i[4]),labeleMarginLeft:new c(i[0],i[0]),labelMarginRight:new c(i[3],i[3]),labeleMarginBottom:new c(i[2],i[0]),labeledFieldPaddingLeft:new c(i[3],i[0]),labeledFieldPaddingRight:new c(i[3],i[2]),labeledFieldPaddingTop:new c(i[3],i[3]),labeledFieldPaddingBottom:new c(i[3],i[2]),infoLabelPaddingRight:new c(i[0],i[3]),infoLabelMarginTop:new c(i[1],i[0]),controllerWrapperFlex:new c(1,i[0])};function Lt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:h,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:G,onBackClick:M,onEstablishConnectionClick:E,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:U,onReviewClick:H}){const o=fe(),I=u.largeLabelWidth.value(o),[_,j]=f.useState(!1),m=e.link_account_no_microdeposit,[v,W]=f.useState(m.linkToken??null),[x,z]=f.useState(!1),[V,ie]=f.useState(!1),J=r.transferMoneyPartiesFetchState,Z=ce(J),K=r.transferDetailLocalData.transferFrom?.id,Q=r.transferDetailLocalData.transferTo?.id,Se=ce(K),ve=ce(Q),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),at=f.useCallback(s=>{E?.(s),M(),ie(!1),z(!1)},[M,E]),nt=f.useCallback((s,g)=>{s!=null&&console.log("Plaid Connection Error",s,g)},[]),{open:Y,ready:ee}=St({token:v,onSuccess:at,onExit:nt}),oe=f.useCallback(s=>{s.preventDefault(),s.stopPropagation(),ee?Y():z(!0)},[Y,ee]),P=Ue({mode:"all",reValidateMode:"onBlur",defaultValues:f.useMemo(()=>Be(r,oe),[r])});f.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),f.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&ie(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),f.useEffect(()=>{V&&x&&Y()},[V,Y,x]),f.useEffect(()=>{(vt(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&U?.("link_account_no_microdeposit")},[]),f.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(Z==="In-Progress"&&J==="Completed"||Se!==K||ve!==Q||s)&&P.reset(Be(r,()=>Y()))},[ee,v,m.fetchStatus.fetchState,Z,J,Se,ve,Q,K,me,pe,P,r,Y]);const{isValid:rt}=P.formState;f.useEffect(()=>{const s=P.watch((g,{name:se})=>{if(se!=null&&g!=null){const le=g[k]?.amount??0,he=g[k]?.transferFrom,te=g[k]?.transferTo,ge=r.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=r.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),f.useEffect(()=>{const s=P.watch((g,{name:se})=>{se!=null&&g!=null&&ut(()=>(async(le,he)=>{if(le!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};G(ge)}})(se,g))});return()=>{s.unsubscribe()}}),f.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const it=P.handleSubmit(()=>{rt&&(O("Review","Amount Details"),H())});f.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ze}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,oe,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const ke=h.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),ot=pt(mt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(Rt,{}),t.jsxs(Et,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:q.heroLight}})})]})}):null,t.jsx(Wt,{children:N("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(He,{...P,children:t.jsxs(Bt,{id:tt(et),onSubmit:it,children:[t.jsxs(Qt,{children:[t.jsx(Oe,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:I,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,ze),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,oe,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Ee,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:I,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,oe)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Ee,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:I},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Qe),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Vt,{children:[t.jsx(Yt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",ot)}),t.jsx(kt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:h,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(qt,{windowSize:o,children:[t.jsx(Ht,{windowSize:o,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(Me,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Ce,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:o==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Ut,{windowSize:o}),t.jsx(Jt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),$?t.jsxs(Re,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ie,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Re,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ie,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(qe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,h,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return $&&(p.isDisabled=r?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:h};w.push(d)}return w},Be=(e,r)=>({transferDetails:{[Qe]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:ne(e,!1,r,!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=n.div`
|
|
1
|
+
import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ge,a9 as De,o as a,O as I,x as c,a8 as qe,n as ct,at as dt,D as ft,c2 as ye,C as Te,l as ue,a7 as ce,T as He,c8 as ut,ag as pt,a6 as mt,f as G,A as Ue,f6 as Le,f7 as je,fD as ht,bn as Ce,h3 as gt,m as i,eT as wt,bH as Je,bu as xt,ex as $t,b6 as bt,H as Ze,fj as Dt,bi as yt,bw as Ke,gk as Tt,gl as Ct}from"./index-BHAcVHeH.js";import{a as f}from"./sentry-CY6wsJT-.js";import{n}from"./mui-Cni6P-fz.js";import{u as St}from"./plaid-B2vW8NaN.js";import{bG as vt}from"./zeni-epic-state-cFF_NqwA.js";import{v as kt}from"./ZeniTransferAmountSlider-CIu35Xz9-BCHS6-b-.js";import{m as At}from"./BusyIndication-BZLVwIo8-6s8wSi7T.js";import{r as Pt}from"./AccountInfoPageContent-Bj0kaRHv-CjMeZGo_.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./utils-ChLimP28.js";import"./downloadPdf-BAZhe2iR-C4ju3Lqh.js";import"./commonDimensions-_Dpm4Anv-BHT-EeW2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="64d86b5e-76c0-4ef5-b2c3-9d778d8631ea",e._sentryDebugIdIdentifier="sentry-dbid-64d86b5e-76c0-4ef5-b2c3-9d778d8631ea")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=I.getLocalizedStrings(),Qe="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,r)=>`${e}.${r}`,tt=e=>`${e}_form`,u={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(i[3],i[4]),labeleMarginLeft:new c(i[0],i[0]),labelMarginRight:new c(i[3],i[3]),labeleMarginBottom:new c(i[2],i[0]),labeledFieldPaddingLeft:new c(i[3],i[0]),labeledFieldPaddingRight:new c(i[3],i[2]),labeledFieldPaddingTop:new c(i[3],i[3]),labeledFieldPaddingBottom:new c(i[3],i[2]),infoLabelPaddingRight:new c(i[0],i[3]),infoLabelMarginTop:new c(i[1],i[0]),controllerWrapperFlex:new c(1,i[0])};function Lt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:h,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:q,onBackClick:M,onEstablishConnectionClick:R,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:H,onReviewClick:U}){const o=fe(),E=u.largeLabelWidth.value(o),[_,j]=f.useState(!1),m=e.link_account_no_microdeposit,[v,W]=f.useState(m.linkToken??null),[x,z]=f.useState(!1),[V,ie]=f.useState(!1),J=r.transferMoneyPartiesFetchState,Z=ce(J),K=r.transferDetailLocalData.transferFrom?.id,Q=r.transferDetailLocalData.transferTo?.id,Se=ce(K),ve=ce(Q),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),at=f.useCallback(s=>{R?.(s),M(),ie(!1),z(!1)},[M,R]),nt=f.useCallback((s,g)=>{s!=null&&console.log("Plaid Connection Error",s,g)},[]),{open:Y,ready:ee}=St({token:v,onSuccess:at,onExit:nt}),oe=f.useCallback(s=>{s.preventDefault(),s.stopPropagation(),ee?Y():z(!0)},[Y,ee]),P=He({mode:"all",reValidateMode:"onBlur",defaultValues:f.useMemo(()=>Be(r,oe),[r])});f.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),f.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&ie(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),f.useEffect(()=>{V&&x&&Y()},[V,Y,x]),f.useEffect(()=>{(vt(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&H?.("link_account_no_microdeposit")},[]),f.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(Z==="In-Progress"&&J==="Completed"||Se!==K||ve!==Q||s)&&P.reset(Be(r,()=>Y()))},[ee,v,m.fetchStatus.fetchState,Z,J,Se,ve,Q,K,me,pe,P,r,Y]);const{isValid:rt}=P.formState;f.useEffect(()=>{const s=P.watch((g,{name:se})=>{if(se!=null&&g!=null){const le=g[k]?.amount??0,he=g[k]?.transferFrom,te=g[k]?.transferTo,ge=r.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=r.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),f.useEffect(()=>{const s=P.watch((g,{name:se})=>{se!=null&&g!=null&&ut(()=>(async(le,he)=>{if(le!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};q(ge)}})(se,g))});return()=>{s.unsubscribe()}}),f.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const it=P.handleSubmit(()=>{rt&&(O("Review","Amount Details"),U())});f.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ze}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,oe,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const ke=h.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),ot=pt(mt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(It,{}),t.jsxs(Rt,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:N("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(Ue,{...P,children:t.jsxs(Bt,{id:tt(et),onSubmit:it,children:[t.jsxs(Qt,{children:[t.jsx(Oe,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,ze),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,oe,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Re,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,oe)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Re,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Qe),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Vt,{children:[t.jsx(Yt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",ot)}),t.jsx(kt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:h,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(Gt,{windowSize:o,children:[t.jsx(Ut,{windowSize:o,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Me,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Ce,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:o==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Ht,{windowSize:o}),t.jsx(Jt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),$?t.jsxs(Ie,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Ie,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ge,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,h,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return $&&(p.isDisabled=r?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:h};w.push(d)}return w},Be=(e,r)=>({transferDetails:{[Qe]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:ne(e,!1,r,!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=n.div`
|
|
2
2
|
margin-top: ${a.sp3};
|
|
3
3
|
display: flex;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -17,23 +17,23 @@ import{V as t,e as fe,P as A,gT as st,a5 as N,a as Pe,h2 as lt,L as qe,a9 as De,
|
|
|
17
17
|
width: 100%;
|
|
18
18
|
justify-content: space-between;
|
|
19
19
|
padding: ${a.sp3} ${a.sp4};
|
|
20
|
-
background-color: ${
|
|
20
|
+
background-color: ${G.importantLight};
|
|
21
21
|
border-radius: ${a.sp2};
|
|
22
22
|
`,Mt=n.div`
|
|
23
23
|
display: flex;
|
|
24
24
|
align-items: flex-start;
|
|
25
|
-
`,
|
|
25
|
+
`,Et=n.div``,It=n(wt)`
|
|
26
26
|
width: ${a.sp4};
|
|
27
27
|
height: ${a.sp4};
|
|
28
|
-
color: ${
|
|
29
|
-
`,
|
|
28
|
+
color: ${G.important};
|
|
29
|
+
`,Rt=n.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
flex-direction: column;
|
|
32
32
|
margin-left: ${a.sp2};
|
|
33
33
|
`,Ot=n(Je)`
|
|
34
|
-
color: ${
|
|
34
|
+
color: ${G.important};
|
|
35
35
|
`,_t=n(ue)`
|
|
36
|
-
color: ${
|
|
36
|
+
color: ${G.important};
|
|
37
37
|
`,Wt=n(xt)`
|
|
38
38
|
color: ${e=>e.theme.colors.primary};
|
|
39
39
|
margin: ${a.sp5} ${a.sp0} ${a.sp3} ${a.sp0};
|
|
@@ -56,7 +56,7 @@ import{V as t,e as fe,P as A,gT as st,a5 as N,a as Pe,h2 as lt,L as qe,a9 as De,
|
|
|
56
56
|
margin-top: ${a.sp3};
|
|
57
57
|
white-space: pre-line;
|
|
58
58
|
`,Me=n(Je)`
|
|
59
|
-
color: ${
|
|
59
|
+
color: ${G.success};
|
|
60
60
|
white-space: nowrap;
|
|
61
61
|
`,Nt=n(bt)`
|
|
62
62
|
width: ${a.sp3};
|
|
@@ -68,7 +68,7 @@ import{V as t,e as fe,P as A,gT as st,a5 as N,a as Pe,h2 as lt,L as qe,a9 as De,
|
|
|
68
68
|
`,Xt=n.div`
|
|
69
69
|
margin-bottom: ${a.sp6};
|
|
70
70
|
width: 90%;
|
|
71
|
-
`,
|
|
71
|
+
`,Gt=n.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
align-items: center;
|
|
74
74
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
@@ -77,14 +77,14 @@ import{V as t,e as fe,P as A,gT as st,a5 as N,a as Pe,h2 as lt,L as qe,a9 as De,
|
|
|
77
77
|
background-color: ${e=>e.theme.colors.grey3};
|
|
78
78
|
border-bottom-right-radius: ${a.sp1};
|
|
79
79
|
border-bottom-left-radius: ${a.sp1};
|
|
80
|
-
`,
|
|
80
|
+
`,qt=n.div`
|
|
81
81
|
display: flex;
|
|
82
82
|
flex-direction: row;
|
|
83
83
|
align-items: center;
|
|
84
|
-
`,
|
|
84
|
+
`,Ee=n(Te)`
|
|
85
85
|
color: ${e=>e.theme.colors.hero};
|
|
86
86
|
cursor: pointer;
|
|
87
|
-
`,
|
|
87
|
+
`,Ie=n.div`
|
|
88
88
|
display: flex;
|
|
89
89
|
flex-direction: row;
|
|
90
90
|
align-items: center;
|
|
@@ -98,7 +98,7 @@ import{V as t,e as fe,P as A,gT as st,a5 as N,a as Pe,h2 as lt,L as qe,a9 as De,
|
|
|
98
98
|
color: ${e=>e.theme.colors.primary};
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
`,
|
|
101
|
+
`,Ht=n.div`
|
|
102
102
|
display: ${e=>e.windowSize==="small"?"none":"block"};
|
|
103
103
|
width: ${a.sp1};
|
|
104
104
|
height: ${a.sp1};
|
|
@@ -106,7 +106,7 @@ import{V as t,e as fe,P as A,gT as st,a5 as N,a as Pe,h2 as lt,L as qe,a9 as De,
|
|
|
106
106
|
margin: 0 ${a.sp2};
|
|
107
107
|
background-color: ${e=>e.theme.colors.grey1};
|
|
108
108
|
border-radius: 50%;
|
|
109
|
-
`,
|
|
109
|
+
`,Ut=n.div`
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
112
112
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
@@ -135,7 +135,7 @@ import{V as t,e as fe,P as A,gT as st,a5 as N,a as Pe,h2 as lt,L as qe,a9 as De,
|
|
|
135
135
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
136
136
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
137
137
|
border-radius: ${a.sp2};
|
|
138
|
-
`,
|
|
138
|
+
`,Re=n.div`
|
|
139
139
|
display: flex;
|
|
140
140
|
flex: 1;
|
|
141
141
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -170,7 +170,7 @@ import{V as t,e as fe,P as A,gT as st,a5 as N,a as Pe,h2 as lt,L as qe,a9 as De,
|
|
|
170
170
|
display: flex;
|
|
171
171
|
flex-grow: ${e=>u.controllerWrapperFlex.value(e.size)};
|
|
172
172
|
align-items: flex-start;
|
|
173
|
-
`,ta=n(
|
|
173
|
+
`,ta=n(qe)`
|
|
174
174
|
cursor: pointer;
|
|
175
175
|
color: ${e=>e.theme.colors.hero};
|
|
176
176
|
width: ${a.sp4};
|
|
@@ -179,7 +179,7 @@ import{V as t,e as fe,P as A,gT as st,a5 as N,a as Pe,h2 as lt,L as qe,a9 as De,
|
|
|
179
179
|
&:hover {
|
|
180
180
|
color: ${e=>e.theme.colors.primary};
|
|
181
181
|
}
|
|
182
|
-
`,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(i[3],i[12]),buttonTrayGap:new c(i[4],i[5])},b=
|
|
182
|
+
`,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(i[3],i[12]),buttonTrayGap:new c(i[4],i[5])},b=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,aa=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:h,transferAmount:$,yieldEarned:y,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:p,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:T,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:B,onEstablishConnectionClick:F,onBackClick:q,onFetchLinkTokenClick:M,plaidConnectionDetails:R,showReviewContent:O,setShowReviewContent:H,setCurrentDrawerContent:U,clearReviewTransferDetail:o,onReviewClick:E,setIsCalculatorOpen:_,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W})=>{const x=fe(),z=e.reviewTransferDetail,V=e.transferDetailLocalData.transferFrom?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount";return t.jsx(ia,{windowSize:x,children:e.fetchState==="Completed"?t.jsxs(We,{windowSize:x,isTransferCompleted:!0,children:[t.jsx(Ve,{windowSize:x,children:t.jsx(Ye,{"data-testid":A("cross-transfer-success-close-button"),onClick:()=>{l("Cross","Transfer Success"),S?.()}})}),t.jsxs(la,{windowSize:x,children:[t.jsx(st,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(oa,{children:V?t.jsxs(t.Fragment,{children:[b.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(_e,{children:N("0,0.[00]",e.transferDetailLocalData.amount)}),b.transferDrawer.internal.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,b.transferDrawer.internal.transferSuccessMsgMidfix2,`"${e.transferDetailLocalData.transferTo?.label}".`]}):t.jsxs(t.Fragment,{children:[b.transferDrawer.external.transferSuccessMsgPrefix,t.jsx(_e,{children:N("0,0.[00]",e.transferDetailLocalData.amount)}),b.transferDrawer.external.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,b.transferDrawer.external.transferSuccessMsgMidfix1,`"${e.transferDetailLocalData.transferTo?.label}".`,z.reviewTransferMoney.isShowDailyAchLimitWarning?null:b.transferDrawer.external.transferSuccessMsgMidfix2]})}),t.jsxs(sa,{windowSize:x,children:[t.jsx(Pe,{variant:"secondary",label:b.transferDrawer.anotherTransferBtn,"data-testid":A("another-transfer-button"),onClick:()=>{l("Another Transfer","Transfer Success"),W(0),_(!1),v(0),j(!1),B()},style:{minWidth:200}}),t.jsx(Pe,{variant:"primary",label:b.transferDrawer.backToChecking,"data-testid":A("back-to-checking-button"),onClick:()=>{l("Back to Checking","Transfer Success"),S?.()},style:{minWidth:200}})]})]})]}):O?t.jsx(lt,{transferDetails:e,setCurrentDrawerContent:U,setShowReviewContent:H,onTransferClick:C,clearReviewTransferDetail:o,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(We,{windowSize:x,isTransferCompleted:!1,children:[t.jsx(Ve,{windowSize:x,children:t.jsx(Ye,{"data-testid":A("cross-amount-details-close-button"),onClick:()=>{l("Cross","Amount Details"),S?.()}})}),x==="small"?t.jsx(ca,{windowSize:x,children:b.transferDrawer.title}):t.jsx(da,{children:b.transferDrawer.title}),x==="small"?t.jsx(ra,{children:b.transferDrawer.subTitle}):t.jsx(na,{children:b.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(Lt,{isCalculatorOpen:r,showAnnualYieldEarned:h,transferAmount:$,yieldEarned:y,totalBalance:w,onBackClick:q,onSaveChangesToLocalStore:T,plaidConnectionDetails:R,transferDetails:e,zeniAccountsConfigDetail:p,onEstablishConnectionClick:F,onFetchLinkTokenClick:M,onReviewClick:E,setIsCalculatorOpen:_,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(Ge,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),e.transferDetailLocalData.transferFrom?.id!=null||e.transferDetailLocalData.transferTo?.id!=null||e.transferDetailLocalData.amount.amount>0?t.jsx(De,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:tt(et),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:I.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:b.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},na=n(ue)`
|
|
183
183
|
color: ${e=>e.theme.colors.hero};
|
|
184
184
|
`,ra=n(Te)`
|
|
185
185
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -223,7 +223,7 @@ import{V as t,e as fe,P as A,gT as st,a5 as N,a as Pe,h2 as lt,L as qe,a9 as De,
|
|
|
223
223
|
padding: ${e=>`${re.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
|
|
224
224
|
z-index: 2;
|
|
225
225
|
background-color: ${e=>e.theme.colors.grey4};
|
|
226
|
-
`,Ye=n(
|
|
226
|
+
`,Ye=n(qe)`
|
|
227
227
|
cursor: pointer;
|
|
228
228
|
color: ${e=>e.theme.colors.hero};
|
|
229
229
|
width: ${a.sp4};
|
|
@@ -241,7 +241,7 @@ import{V as t,e as fe,P as A,gT as st,a5 as N,a as Pe,h2 as lt,L as qe,a9 as De,
|
|
|
241
241
|
color: ${e=>e.theme.colors.primary};
|
|
242
242
|
margin-top: ${a.sp3};
|
|
243
243
|
margin-bottom: ${a.sp2};
|
|
244
|
-
`,X={accountRowLeftRightPadding:new c(i[3],i[3]),zeniAccountListPaddingBottom:new c(i[3],i[6]),navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(i[3],i[6],i[8]),containerPaddingRight:new c(i[3],i[6],i[8])},Ne="wireTransferDetailPage",Xe=e=>`${e}_form`,fa=
|
|
244
|
+
`,X={accountRowLeftRightPadding:new c(i[3],i[3]),zeniAccountListPaddingBottom:new c(i[3],i[6]),navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(i[3],i[6],i[8]),containerPaddingRight:new c(i[3],i[6],i[8])},Ne="wireTransferDetailPage",Xe=e=>`${e}_form`,fa=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,$e=I.getLocalizedStrings().common,ua=e=>t.jsx(Ca,{color:Tt(e)}),pa=({depositAccountListView:e,setCurrentDrawerContent:r,selectedAccount:h,setShowWireAccountInfo:$,setSelectedAccount:y,fireTrackTransferBetweenAccountsFormClicked:w})=>{const d=He({mode:"all",reValidateMode:"onChange",defaultValues:{selectedAccountId:h?.id}}),p=fe();return f.useEffect(()=>{const l=d.watch(()=>{const T=e.depositAccounts.find(C=>C.id===d.getValues("selectedAccountId"));y(T)});return()=>{l.unsubscribe()}}),e.fetchState!="Completed"?t.jsx(At,{fetchState:e.fetchState}):t.jsxs(t.Fragment,{children:[t.jsxs(ma,{windowSize:p,children:[t.jsx(ya,{windowSize:p,children:t.jsx(Ce,{style:{marginTop:a.sp1},title:$e.navBar.back,enterDelay:600,placement:"bottom",children:t.jsx(Da,{"data-testid":A("select-zeni-account-back-button"),onClick:()=>{w("Back","Select Account for Split Transfer"),r("achTransfer")}})})}),t.jsx(Ta,{windowSize:p,children:fa.selectYour}),t.jsx(Ue,{...d,children:t.jsx("form",{id:Xe(Ne),onSubmit:d.handleSubmit(()=>{w("Next","Select Account for Split Transfer"),$(!0)}),children:t.jsx(ba,{windowSize:p,children:e.depositAccounts.map((l,T)=>t.jsx($a,{isClickEnabled:!0,windowSize:p,"data-testid":A("deposit-account-click",l.id),onClick:()=>d.setValue("selectedAccountId",l.id),children:t.jsxs(ha,{children:[t.jsx(gt,{name:"selectedAccountId",id:l.id,value:l.id,radioSize:"small",style:{marginRight:8}}),ua(T),t.jsxs(ga,{children:[t.jsx(xa,{windowSize:p,children:l.accountName}),t.jsx(wa,{children:N("0,0[.]00",l.accountBalance?.available)})]})]})},l.id))})})})]}),h!=null?t.jsx(De,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Xe(Ne),cancelBtn:{label:$e.cancel,onClick:()=>{w("Cancel","Select Account for Split Transfer"),r("achTransfer")},style:{width:93}},primaryBtn:{label:$e.next,style:{width:93}}}):null]})},ma=n.div`
|
|
245
245
|
height: auto;
|
|
246
246
|
padding-left: ${e=>`${X.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
247
247
|
padding-right: ${e=>`${X.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
@@ -315,7 +315,7 @@ import{V as t,e as fe,P as A,gT as st,a5 as N,a as Pe,h2 as lt,L as qe,a9 as De,
|
|
|
315
315
|
margin-right: ${a.sp2};
|
|
316
316
|
padding: 12px ${a.sp0};
|
|
317
317
|
box-sizing: content-box;
|
|
318
|
-
`,{common:{navBar:{back:Sa}}}=
|
|
318
|
+
`,{common:{navBar:{back:Sa}}}=I.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(i[0],i[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(i[3],i[0]),navBarContainerMarginLeftRight:new c(i[0],i[8]),descriptionMarginLeftRight:new c(i[0],i[8]),accountInfoPageWrapperMarginLeft:new c(i[0],i[8]),accountInfoPageWrapperMarginRight:new c(i[0],i[5]),accountInfoPageWrapperMarginBottom:new c(i[5],i[8])},be=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,va=({authParams:e,downloadAccountDetailEndPoint:r,depositAccount:h,zeniAccountsConfigDetail:$,currentTenant:y,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:p})=>{const l=fe();return t.jsxs(t.Fragment,{children:[t.jsxs(Aa,{windowSize:l,children:[t.jsx(La,{windowSize:l,children:t.jsx(Ce,{title:Sa,enterDelay:600,placement:"bottom",children:t.jsx(Pa,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),p(!1)}})})}),t.jsx(Ba,{windowSize:l,children:be.wireInstruction.replace("__accountName__",h.accountName)}),t.jsx(ja,{windowSize:l,children:t.jsx(za,{children:be.wireTransferDescriptionLine1})}),t.jsx(ka,{windowSize:l,children:t.jsx(Pt,{authParams:e,downloadAccountDetailEndPoint:r,currentTab:"wireDetails",zeniAccountsConfigDetail:$,currentTenant:y,depositAccount:h})})]}),t.jsx(De,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},cancelBtn:{label:""},primaryBtn:{label:be.backToChecking,onClick:()=>{d("Back to Checking","Wire Transfer Details"),w()}},showCancel:!1,showPrimaryButton:!0})]})},ka=n.div`
|
|
319
319
|
margin-left: ${e=>`${L.accountInfoPageWrapperMarginLeft.valuePx(e.windowSize)}`};
|
|
320
320
|
margin-right: ${e=>`${L.accountInfoPageWrapperMarginRight.valuePx(e.windowSize)}`};
|
|
321
321
|
margin-bottom: ${e=>`${L.accountInfoPageWrapperMarginBottom.valuePx(e.windowSize)}`};
|
|
@@ -352,7 +352,7 @@ import{V as t,e as fe,P as A,gT as st,a5 as N,a as Pe,h2 as lt,L as qe,a9 as De,
|
|
|
352
352
|
color: ${e=>e.theme.colors.primary};
|
|
353
353
|
padding: ${a.sp3} ${a.sp0} ${a.sp2} ${a.sp0};
|
|
354
354
|
margin: ${e=>`${a.sp0} ${L.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
355
|
-
`,Fa=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:h,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:p,onDismissClick:l})=>{const[T,C]=f.useState(!1),[S,B]=f.useState(r.depositAccounts.find(F=>F.id===y));return T&&S!=null?t.jsx(va,{downloadAccountDetailEndPoint:h,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:p}):t.jsx(pa,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:B,fireTrackTransferBetweenAccountsFormClicked:p})},en=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:h,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:p,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:B,onTransferClick:F,onReviewClick:
|
|
355
|
+
`,Fa=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:h,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:p,onDismissClick:l})=>{const[T,C]=f.useState(!1),[S,B]=f.useState(r.depositAccounts.find(F=>F.id===y));return T&&S!=null?t.jsx(va,{downloadAccountDetailEndPoint:h,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:p}):t.jsx(pa,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:B,fireTrackTransferBetweenAccountsFormClicked:p})},en=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:h,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:p,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:B,onTransferClick:F,onReviewClick:q,onDismissClick:M,onAnotherTransferClick:R,onEstablishConnectionClick:O,onBackClick:H,clearReviewTransferDetail:U,onFetchLinkTokenClick:o,plaidConnectionDetails:E})=>{const[_,j]=f.useState(!1),[m,v]=f.useState(!1),[W,x]=f.useState(0),[z,V]=f.useState(0),[ie,J]=f.useState(0);return t.jsx(Ma,{children:(()=>{const Z=(K,Q)=>T.trackTransferBetweenAccountsFormClicked(K,Q,e.transferDetailLocalData.transferFrom?.label,e.transferDetailLocalData.transferTo?.label,e.transferDetailLocalData.amount.amount,e.reviewTransferDetail.reviewTransferMoney.isShowDailyAchLimitWarning,e.reviewTransferDetail.reviewTransferMoney.transferSchedules.length,e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.zeniAccountsConfigDetail.depositProductConfig.depositProducts?.[0].range?.[1]!=null&&e.transferDetailLocalData.amount.amount>r.zeniAccountsConfigDetail.depositProductConfig.depositProducts[0].range[1]);return d==="achTransfer"?t.jsx(aa,{transferDetails:e,isCalculatorOpen:_,showAnnualYieldEarned:m,transferAmount:W,yieldEarned:z,totalBalance:ie,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:Z,onSaveChangesToLocalStore:B,onTransferClick:F,onDismissClick:M,onAnotherTransferClick:R,onEstablishConnectionClick:O,onBackClick:H,onFetchLinkTokenClick:o,plaidConnectionDetails:E,setCurrentDrawerContent:C,clearReviewTransferDetail:U,onReviewClick:q,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:V,setTotalBalance:J,maxInsuredAmount:$}):t.jsx(Fa,{zeniAccountsConfigDetail:r,depositAccountListView:h,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:y,downloadAccountDetailEndPoint:p,authParams:l,fireTrackTransferBetweenAccountsFormClicked:Z,setCurrentDrawerContent:C,onDismissClick:M})})()})},Ma=n.div`
|
|
356
356
|
display: flex;
|
|
357
357
|
flex-direction: column;
|
|
358
358
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,a5 as G,bn as he,a_ as tt,w as de,
|
|
1
|
+
import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,a5 as G,bn as he,a_ as tt,w as de,b as F,L as it,be as ot,o as i,x as w,C as T,O as M,f as $,b6 as nt,eO as oe,d as N,m as p,ao as me,bd as He,ab as Ke,fm as at,aM as rt,a as st,cR as lt,l as B,aj as dt,iA as ct,bf as pt,aB as ht,ef as mt,cz as xt,fj as gt,bV as ut,jq as yt,c$ as ge,H as U,bl as ft,b_ as ue,ib as wt,c1 as bt}from"./index-BHAcVHeH.js";import{a as y,b as $t}from"./sentry-CY6wsJT-.js";import{n as o,c as ye}from"./mui-Cni6P-fz.js";import{bG as q,bp as jt}from"./zeni-epic-state-cFF_NqwA.js";import{s as vt}from"./commonDimensions-_Dpm4Anv-BHT-EeW2.js";import{a as St,M as Ye,S as Fe,L as Ct,_ as kt}from"./common-B74Sb4iG-Ba1Dna3Q.js";import{g as fe}from"./BoxItem-Dqp4SNlI-EUjyx5Zm.js";import{o as zt}from"./transaction-placeholder-CpOwZAMG-B7lzeBRq.js";import{y as Tt}from"./MoreMenuButton-5MZl4h9B-BympoCwa.js";import{o as Pt}from"./money-2cg1MuG4-BmcWx6In.js";import{o as Dt}from"./shield-DOlUxcFf-CGZqPLdL.js";import{R as we,N as be,X as $e,Y as je,O as ve,F as Lt}from"./recharts-LlOU9oLm.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./calculateSize-CAxK0dN_-6AyeRPo8.js";import"./bank-letter-BOcVjN6J-a5lcVCZG.js";import"./spend-limit-D6SyboD4-DAZsY_K2.js";import"./dollar-round-D18u7nlm-BxzwYsJa.js";import"./page-summary-D7_VQHwN-ZSqDN0WI.js";import"./unlock-BPWn2I5L-BcwMx3a4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6b3b1ebb-d039-4200-a1b0-04e25263bb92",e._sentryDebugIdIdentifier="sentry-dbid-6b3b1ebb-d039-4200-a1b0-04e25263bb92")}catch{}})();const xe=M.getLocalizedStrings().spendManagement.treasury.overviewPage.header,It={key:"description",value:xe.trasnactionTitle,sortOrder:"ascending",width:new w(120,250,400,400,500)},Mt={key:"date",value:xe.paymentDate,sortOrder:"ascending",width:new w(100,120,200,250,300)},Ot={key:"amount",value:xe.amount,sortOrder:"ascending",width:new w(80,100,150,180,200)},ce=()=>[It,Mt,Ot],z={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new w(p[0],p[4]),headerLastColumnRightPadding:new w(p[3],p[11]),headerLastColumnBottomPadding:new w(p[0],p[4]),headerLastColumnLeftPadding:new w(p[3],p[11]),headerHeight:new w(Ye,Fe),sortIconSize:new w(p[2],p[2]),headerPaddingTop:new w(p[0],2)},Rt=$t.memo(function({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const s=A(),l=L(),[r,u]=y.useState(ce());y.useEffect(()=>{const d=[...r];for(const h of d)h.key===n.sortKey?h.sortOrder=n.sortOrder:h.sortOrder="ascending";u(d)},[n.sortKey,n.sortOrder]);const m=(d,h)=>{let c=h;n.sortKey===d&&(c=h==="ascending"?"descending":"ascending"),a(d,c)},x=r.find(d=>d.key===n.sortKey)??r[0],g=r.map(d=>d.key),f=M.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(Nt,{windowSize:l,children:[t.jsxs(Kt,{children:[t.jsx(Ft,{children:t.jsx(Yt,{})}),t.jsx(ft,{title:f.sortBy,placeholder:f.sortBy,pickerValues:g,valueToLabel:d=>r.find(h=>h.key===d)?.value??"",selectedValue:n.sortKey,onPickerSelectionChanged:d=>{m(d,"ascending")},optionTextStyle:de.extraSmallRegular,titleTextStyle:de.extraSmallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.grey4})]}),t.jsxs(_t,{onClick:()=>m(x.key,x.sortOrder),"data-testid":F("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:x.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:x,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===x.key,children:t.jsx(ue,{})})})]})]}):t.jsx(At,{windowSize:l,children:t.jsx(Bt,{children:r.map(d=>d.width.value(l)!==0&&t.jsxs(Et,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:d.key,wrapperWidth:d.width,windowSize:l,children:[t.jsxs(Wt,{onClick:()=>m(d.key,d.sortOrder),"data-testid":F("cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:d.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:d,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===d.key,children:t.jsx(ue,{})})})]}),t.jsx(Vt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===d.key&&d.key!=="date",children:t.jsx(Ht,{onClick:()=>m("date","ascending"),"data-testid":F("cards-list-sort-cancel",n.sortKey)})})]},d.key))})})}),At=o.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -49,7 +49,7 @@ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,
|
|
|
49
49
|
padding-left: ${i.sp0};
|
|
50
50
|
box-sizing: border-box;
|
|
51
51
|
overflow: hidden;
|
|
52
|
-
`,Ht=o(
|
|
52
|
+
`,Ht=o(bt)`
|
|
53
53
|
width: ${i.sp3};
|
|
54
54
|
height: ${i.sp3};
|
|
55
55
|
cursor: pointer;
|
|
@@ -95,7 +95,7 @@ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,
|
|
|
95
95
|
cursor: pointer;
|
|
96
96
|
gap: 5px;
|
|
97
97
|
color: ${e=>e.theme.colors.primary};
|
|
98
|
-
`,X={containerPaddingLeft:new w(p[3],p[4]),containerPaddingRight:new w(p[2],p[3]),containerPaddingTop:new w(p[2],p[3]),containerPaddingBottom:new w(p[2],p[3])},{common:{strings:{empty:Q}}}=M.getLocalizedStrings();function Gt({data:e,boxType:n,index:a,isTreasuryCommentingEnabled:s=!1}){const{description:l,amount:r,status:u,date:m}=e,x=G("0,0.00",r),g=L(),{dateFormat:f}=M.getLocalizedStrings(),d=ce(),h=d[0].width,c=d[1].width
|
|
98
|
+
`,X={containerPaddingLeft:new w(p[3],p[4]),containerPaddingRight:new w(p[2],p[3]),containerPaddingTop:new w(p[2],p[3]),containerPaddingBottom:new w(p[2],p[3])},{common:{strings:{empty:Q}}}=M.getLocalizedStrings();function Gt({data:e,boxType:n,index:a,isTreasuryCommentingEnabled:s=!1}){const{description:l,amount:r,status:u,date:m}=e,x=G("0,0.00",r),g=L(),{dateFormat:f}=M.getLocalizedStrings(),d=ce(),h=d[0].width,c=d[1].width,b=d[2].width,v=yt(u),j=te(),k=`dashboard_${j.currentTenant?.companyId}`,P=`list.${e.id}`,O={application:"dashboard",companyId:j.currentTenant?.companyId,tab:"treasury",entityType:`treasury.${P}`,entityId:e.id,isGlobalComment:!1};if(g==="small"){const S=t.jsx(ii,{children:t.jsxs(oi,{children:[t.jsxs(ni,{children:[t.jsxs(ri,{children:[t.jsx(ke,{}),t.jsx(si,{children:t.jsx(li,{children:t.jsxs(di,{children:[l,u!=null&&u.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(ci,{}),t.jsx(pi,{color:v?.color,children:v?.value})]}):null]})})})]}),t.jsx(hi,{children:t.jsx(mi,{children:m!=null?`${ce()[1].value}: `+m.format(f.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(ai,{children:t.jsx(xi,{children:t.jsx(Te,{children:x})})})]})}),D=t.jsx(fe,{content:S,boxType:n,isDisabled:!0,isNotClickable:!0});return s?t.jsx(ge,{isThreadAllowed:!0,entityId:e.id,dashboardTabKey:P,roomId:k,companyId:j.currentTenant?.companyId??Q,companyName:j.currentTenant?.companyName??Q,dashboardOptionType:"treasury",preferredRenderDirection:a===0?"down":void 0,filterMetaData:O,children:D}):D}const ie=t.jsxs(Ut,{windowSize:g,children:[t.jsxs(Jt,{windowSize:g,width:h,children:[t.jsx(ke,{}),t.jsxs(Qt,{windowSize:g,children:[t.jsx(ze,{children:l}),u!=null&&u.code!=="completed"?t.jsxs(Zt,{windowSize:g,children:[t.jsx(ti,{}),t.jsx(ei,{color:v?.color,children:v?.value})]}):null]})]}),t.jsx(qt,{windowSize:g,width:c,children:t.jsx(ze,{children:m!=null?m.format(f.visual.MMMDCommaYYYYformat):null})}),t.jsx(Xt,{windowSize:g,width:b,children:t.jsx(Te,{children:x})})]}),J=t.jsx(fe,{content:ie,boxType:n,isDisabled:!0,isNotClickable:!0});return s?t.jsx(ge,{isThreadAllowed:!0,entityId:e.id,dashboardTabKey:P,roomId:k,companyId:j.currentTenant?.companyId??Q,companyName:j.currentTenant?.companyName??Q,dashboardOptionType:"treasury",preferredRenderDirection:a===0?"down":void 0,filterMetaData:O,children:J}):J}const Ut=o.div`
|
|
99
99
|
width: 100%;
|
|
100
100
|
display: flex;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -103,7 +103,7 @@ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,
|
|
|
103
103
|
padding-right: ${e=>X.containerPaddingRight.valuePx(e.windowSize)};
|
|
104
104
|
padding-top: ${e=>X.containerPaddingTop.valuePx(e.windowSize)};
|
|
105
105
|
padding-bottom: ${e=>X.containerPaddingBottom.valuePx(e.windowSize)};
|
|
106
|
-
box-shadow: ${e=>e.theme.mode==="dark"?`${
|
|
106
|
+
box-shadow: ${e=>e.theme.mode==="dark"?`${$.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${$.dropShadowNormalLight}`};
|
|
107
107
|
border-radius: ${i.sp2};
|
|
108
108
|
justify-content: space-between;
|
|
109
109
|
align-items: center;
|
|
@@ -183,7 +183,7 @@ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,
|
|
|
183
183
|
flex-direction: column;
|
|
184
184
|
background-color: ${e=>e.theme.colors.grey5};
|
|
185
185
|
padding: ${i.sp3};
|
|
186
|
-
box-shadow: ${e=>e.theme.mode==="dark"?`${
|
|
186
|
+
box-shadow: ${e=>e.theme.mode==="dark"?`${$.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${$.dropShadowNormalLight}`};
|
|
187
187
|
border-radius: ${i.sp2};
|
|
188
188
|
gap: ${i.sp1};
|
|
189
189
|
`,oi=o.div`
|
|
@@ -246,7 +246,7 @@ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,
|
|
|
246
246
|
`,xi=o.div`
|
|
247
247
|
display: flex;
|
|
248
248
|
align-items: flex-start;
|
|
249
|
-
`,pe={lastListItemHeight:new w(200,128),rowWrapperMarginLeftRight:new w(p[3],p[8])},{spendManagement:{chargeCard:gi},common:ui}=M.getLocalizedStrings(),yi=({transactionList:e,uiState:n,fetchState:a,isTreasuryCommentingEnabled:s=!1,onReloadCards:l,onColumnSortConfigChanged:r})=>{const u=L(),m=y.useRef(null),x=y.useMemo(()=>u!=="small"?St:vt+40,[u]),g=()=>x,f=u==="small"?Ye:Fe,d=y.useMemo(()=>e.length*x+f,[e.length,x,f]);return y.useEffect(()=>{m.current?.resetAfterIndex(0)},[u]),t.jsx(ji,{fetchState:a,children:a==="Error"?t.jsxs(vi,{children:[t.jsx(Si,{onClick:l,"data-testid":F("treasury-list-reload"),children:t.jsx(Ci,{})}),t.jsx(ki,{children:ui.reloadPage.label})]}):a==="Completed"&&e.length===0?null:t.jsx(We,{children:t.jsx(zi,{windowSize:u,children:t.jsx(ut,{ref:m,height:d,itemCount:e.length,innerElementType:h=>fi(h,r,n,a),itemSize:g,estimatedItemSize:kt,itemKey:h=>e[h].id,width:"100%",overscanCount:Ct,initialScrollOffset:0,style:{overflow:"hidden"},children:h=>t.jsx(
|
|
249
|
+
`,pe={lastListItemHeight:new w(200,128),rowWrapperMarginLeftRight:new w(p[3],p[8])},{spendManagement:{chargeCard:gi},common:ui}=M.getLocalizedStrings(),yi=({transactionList:e,uiState:n,fetchState:a,isTreasuryCommentingEnabled:s=!1,onReloadCards:l,onColumnSortConfigChanged:r})=>{const u=L(),m=y.useRef(null),x=y.useMemo(()=>u!=="small"?St:vt+40,[u]),g=()=>x,f=u==="small"?Ye:Fe,d=y.useMemo(()=>e.length*x+f,[e.length,x,f]);return y.useEffect(()=>{m.current?.resetAfterIndex(0)},[u]),t.jsx(ji,{fetchState:a,children:a==="Error"?t.jsxs(vi,{children:[t.jsx(Si,{onClick:l,"data-testid":F("treasury-list-reload"),children:t.jsx(Ci,{})}),t.jsx(ki,{children:ui.reloadPage.label})]}):a==="Completed"&&e.length===0?null:t.jsx(We,{children:t.jsx(zi,{windowSize:u,children:t.jsx(ut,{ref:m,height:d,itemCount:e.length,innerElementType:h=>fi(h,r,n,a),itemSize:g,estimatedItemSize:kt,itemKey:h=>e[h].id,width:"100%",overscanCount:Ct,initialScrollOffset:0,style:{overflow:"hidden"},children:h=>t.jsx(bi,{...h,transactionList:e,isTreasuryCommentingEnabled:s})})})})})},fi=(e,n,a,s)=>t.jsx(Ve,{...e,onColumnSortConfigChanged:n,uiState:{sortKey:a.sortKey,sortOrder:a.sortOrder},fetchState:s}),Ve=y.forwardRef((e,n)=>{const{children:a,style:s,uiState:l,onColumnSortConfigChanged:r,...u}=e;return t.jsxs(We,{ref:n,style:{...s,width:"auto"},...u,children:[t.jsx(Rt,{companyNameSticky:!1,onColumnSortConfigChanged:r,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),t.jsx(Pi,{children:a})]})});Ve.displayName=gi.cardList.headerElementDisplayName;const wi=({transactionList:e,fetchState:n,uiState:a,isTreasuryCommentingEnabled:s=!1,onReloadCards:l,onColumnSortConfigChanged:r})=>t.jsx(yi,{transactionList:e,fetchState:n,onReloadCards:l,uiState:a,isTreasuryCommentingEnabled:s,onColumnSortConfigChanged:r}),bi=({index:e,style:n,transactionList:a,isTreasuryCommentingEnabled:s})=>{const l=L();return t.jsx(Ti,{style:{...n,width:"100%",paddingLeft:pe.rowWrapperMarginLeftRight.valuePx(l),paddingRight:pe.rowWrapperMarginLeftRight.valuePx(l)},className:"spend-management-list-item",children:t.jsx($i,{transaction:a[e],index:e,isTreasuryCommentingEnabled:s})},"listItem"+a[e].id)},$i=({transaction:e,index:n,isTreasuryCommentingEnabled:a})=>t.jsx(Gt,{data:e,boxType:"roundedBox",index:n,isTreasuryCommentingEnabled:a},e.id),ji=o.div`
|
|
250
250
|
margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
|
|
251
251
|
display: block;
|
|
252
252
|
height: 100%;
|
|
@@ -293,7 +293,7 @@ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,
|
|
|
293
293
|
position: relative;
|
|
294
294
|
width: auto;
|
|
295
295
|
height: 100%;
|
|
296
|
-
`,We=o.div``,Di=["editPortfolio","taxLetter","statements","settings"],Z=M.getLocalizedStrings().spendManagement.treasury.overviewPage,Pe=[{value:"editPortfolio",label:Z.editPortfolio},{value:"taxLetter",label:Z.taxLetter},{value:"statements",label:Z.statements},{value:"settings",label:Z.settings}],Li=({onOptionSelection:e,onTransferClick:n,isTreasuryCommentingEnabled:a=!1,isThreadsLoading:s=!1,threadsCount:l=0,onCommentIconClick:r})=>{const u=te(),m=L(),x=M.getLocalizedStrings().spendManagement.treasury.overviewPage,g=u.loggedInUserRoleMap.treasury_user===!0||at(u),f=Pe.filter(h=>h.value==="statements"||h.value==="taxLetter"),d=A();return t.jsxs(Ii,{isTopAlign:!1,children:[a?t.jsxs(Oi,{isDisabled:s,"data-testid":F("treasury-comment-button"),onClick:s?()=>null:h=>{h.preventDefault(),h.stopPropagation(),r?.()},children:[t.jsx(rt,{count:s?void 0:l,isLoading:s,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Tt,{entity:"zeni_treasury",onOptionSelection:h=>{const c=(
|
|
296
|
+
`,We=o.div``,Di=["editPortfolio","taxLetter","statements","settings"],Z=M.getLocalizedStrings().spendManagement.treasury.overviewPage,Pe=[{value:"editPortfolio",label:Z.editPortfolio},{value:"taxLetter",label:Z.taxLetter},{value:"statements",label:Z.statements},{value:"settings",label:Z.settings}],Li=({onOptionSelection:e,onTransferClick:n,isTreasuryCommentingEnabled:a=!1,isThreadsLoading:s=!1,threadsCount:l=0,onCommentIconClick:r})=>{const u=te(),m=L(),x=M.getLocalizedStrings().spendManagement.treasury.overviewPage,g=u.loggedInUserRoleMap.treasury_user===!0||at(u),f=Pe.filter(h=>h.value==="statements"||h.value==="taxLetter"),d=A();return t.jsxs(Ii,{isTopAlign:!1,children:[a?t.jsxs(Oi,{isDisabled:s,"data-testid":F("treasury-comment-button"),onClick:s?()=>null:h=>{h.preventDefault(),h.stopPropagation(),r?.()},children:[t.jsx(rt,{count:s?void 0:l,isLoading:s,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Tt,{entity:"zeni_treasury",onOptionSelection:h=>{const c=(b=>jt(b??"",Di))(h);c!=null&&e(c)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:g?f:Pe,customStyleConfig:{container:h=>({...h,marginLeft:0})}}),!g&&(m==="small"?t.jsx(Mi,{onClick:n}):t.jsx(st,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:n,label:x.transferFunds}))]})},Ii=o.div`
|
|
297
297
|
display: flex;
|
|
298
298
|
flex-direction: row;
|
|
299
299
|
align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
|
|
@@ -328,7 +328,7 @@ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,
|
|
|
328
328
|
justify-content: center;
|
|
329
329
|
align-items: center;
|
|
330
330
|
background-color: ${e=>e.theme.colors.grey4};
|
|
331
|
-
`,I={tickLabelText:new N("extraSmallRegular","smallRegular"),balanceIntegerStyles:new N("h5Regular","h3Regular"),integerStyles:new N("largeRegular","h6Regular"),decimalStyles:new N("standardRegular","standardRegular"),fundSummaryStyles:new N("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new N("standardMedium","largeMedium")},R={accountDetailHeaderPaddingRight:new w(p[3],p[8]),accountDetailHeaderPaddingBottom:new w(p[3],p[6]),accountDetailHeaderPaddingLeft:new w(p[3],p[8]),accountDetailHeaderPaddingTop:new w(p[3],p[6]),accountDetailContentMarginTop:new w(p[4],p[4]),areaChartHeight:new w(114,209),accountDetailHeaderGap:new w(18,100,184)},{spendManagement:{zeniAccounts:De,treasury:{overviewPage:C}},dateFormat:ne,common:Bi}=M.getLocalizedStrings(),_e=y.memo(({accountHistory:e})=>{const n=L(),a=A(),[s,l]=y.useState(),r=y.useMemo(()=>{const c=q(new Date().toISOString()),$=c.clone().subtract(84,"day");return Array.from({length:7}).map((v,j)=>{const k=j/6;let P;return P=k<.5?0:k<.6?(k-.5)/.09999999999999998*.9:.9,{date:(j===6?c:$.clone().add(Math.round(14*j),"day")).toISOString(),value:P}})},[]),u=y.useMemo(()=>(r.length,0),[r.length]),m=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(c=>c.balance?.available.amount===0)),x=y.useMemo(()=>e.accountHistoryWithBalance.map(c=>({...c,date:c.date.toISOString()})),[e.accountHistoryWithBalance]),g=y.useCallback(c=>{const $=Array.isArray(c)?c:[];let v="",j="";if(Array.isArray($)&&$.length>0){const k=$[0].payload?.balance?.available;j=G("0,0[.]00",k),v=q($[0].payload?.date??"").format(ne.visual.DMMMYYYYFormat)}return t.jsxs(go,{children:[t.jsx(Ae,{children:v}),t.jsx(Ae,{isSublabel:!0,children:j})]})},[]),f=y.useCallback(c=>{const $=c,{x:v,y:j}=$,{value:k}=$.payload;let P=!1;e.accountHistoryWithBalance.length>360&&(P=!0);const O=P?q(k).format(ne.visual.MMMformat):q(k).format(ne.visual.MMMDFormat);return t.jsx(ao,{translateX:v,translateY:j,children:t.jsx(po,{windowSize:n,dy:20,dx:-25,children:O})})},[e.accountHistoryWithBalance.length,n]),d=y.useCallback(({cx:c,cy:$,dataKey:v})=>(v==="balance.available.amount"&&(s?.x!==c||s?.y!==$)&&l({x:c,y:$}),t.jsx(uo,{cx:c,cy:$,strokeWidth:1,r:p[1]})),[s]),h=y.useMemo(()=>{const c=e.accountHistoryWithBalance.length;return c<=0?0:c>360?Math.floor(c/12):Math.floor(c/7)},[e.accountHistoryWithBalance.length]);return t.jsx(ho,{children:m?t.jsxs(So,{children:[t.jsx(we,{height:R.areaChartHeight.value(n),width:"99%",children:t.jsxs($e,{data:r,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Ie,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Me,{offset:"0%",stopColor:a.colors.grey2,stopOpacity:1}),t.jsx(Oe,{offset:"100%",stopColor:a.colors.grey2,stopOpacity:.02})]})}),t.jsx(be,{dataKey:"date",stroke:a.colors.grey3,tickSize:0,tick:c=>f(c),interval:u,padding:{right:p[4]}}),t.jsx(je,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(ve,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:a.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(Co,{children:t.jsx(vo,{children:C.noData})})]}):t.jsx(we,{height:R.areaChartHeight.value(n),width:"99%",children:t.jsxs($e,{data:x,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Ie,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Me,{offset:"0%",stopColor:b.brandColorJade,stopOpacity:1}),t.jsx(Oe,{offset:"100%",stopColor:b.brandColorJade,stopOpacity:.03})]})}),t.jsx(be,{dataKey:"date",stroke:a.colors.grey3,tickSize:0,reversed:!0,tick:c=>f(c),padding:{right:p[4]},interval:h}),t.jsx(je,{tick:!1,axisLine:!1}),t.jsx(Lt,{position:s,content:({payload:c})=>g(c),cursor:{strokeDasharray:"3",stroke:b.brandColorJade}}),t.jsx(ve,{activeDot:d,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:b.brandColorJade,fill:"url(#colorUv)"})]})})})});_e.displayName="AccountBalanceGraph";const Ni=M.getLocalizedStrings(),{common:{texts:{comments:Ei},strings:{empty:Hi}},collaboration:{threads:{placeholder:{addANewComment:Ki,replyAComment:Yi},tooltip:{resolveComment:Fi,unResolveComment:Vi}}}}=Ni,Wi={drawerSectionPaddingLeftRight:new w(p[4],p[5])},Le=({treasuryDetail:e,treasurySetupView:n,isTreasuryCommentingEnabled:a=!1,onColumnSortConfigChanged:s,onBackClick:l,onReloadTreasuryTransactions:r,handleTreasuryOptionSelection:u,onTransferClick:m})=>{const x=L(),g=A(),f=Xe().analytics,d=te(),[h,c]=y.useState(!1),{setOpenThread:$}=y.useContext(Qe),{threads:v,isLoading:j}=Ze(),k=y.useMemo(()=>v.filter(S=>S.resolved===!1),[v]).length,P=y.useCallback((S,D)=>{$(D),c(!1)},[$]);et({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const O=e.accountSummary,ie=y.useCallback(S=>{let D,V=null;switch(S){case"insuredFunds":V=t.jsx(Be,{children:C.insuredFundsTooltip}),D="280px";break;case"totalBalance":V=t.jsxs(jo,{children:[t.jsx(bo,{children:C.balanceTooltip.base}),t.jsxs(re,{children:[t.jsx(se,{children:C.balanceTooltip.balance}),t.jsx(le,{children:G("0,0[.]00",O?.totalBalance)})]}),t.jsxs(re,{children:[t.jsx(se,{children:C.balanceTooltip.processing}),t.jsx(le,{children:G("0,0[.]00",O?.processingBalance)})]}),t.jsxs(re,{children:[t.jsx(se,{children:C.balanceTooltip.available}),t.jsx(le,{children:G("0,0[.]00",O?.availableBalance)})]})]}),D="312px";break;case"sevenDayYield":V=t.jsx(Be,{children:C.fundTile.sevenDayYieldTooltip}),D="464px";break;default:V=t.jsx(t.Fragment,{})}return t.jsx(Ue,{children:t.jsx(he,{display:"flex",placement:x==="small"?"bottom":"top",title:V,style:{textAlign:"left"},maxWidth:D,children:S==="insuredFunds"?t.jsx(Ho,{}):t.jsx(Je,{})})})},[O,x]),J=t.jsx(Li,{onOptionSelection:S=>{f.trackTreasuryDashboardInteraction((()=>{switch(S){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),u(S)},onTransferClick:()=>{f.trackTreasuryDashboardInteraction("Transfer Funds"),m()},isTreasuryCommentingEnabled:a,isThreadsLoading:j,threadsCount:k,onCommentIconClick:()=>{c(!0),f.trackCommentActivity("treasury","clicked",d.currentTenant?.companyName??Hi,d.controllersList.controllers.map(S=>lt(S)),void 0,void 0,"page icon")}});return t.jsxs(Zi,{children:[t.jsx(tt,{title:C.title,onBackClick:l,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...de.largeSemiBold.cssObject},rightSideComponent:J,source:"treasury"}),t.jsxs(eo,{windowSize:x,children:[t.jsxs(to,{windowSize:x,children:[t.jsx(_i,{fundAllocation:n.currentAllocation,fundsData:n.fundsData,getToolTipContent:ie,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(no,{windowSize:x,children:t.jsx(_e,{accountHistory:e.accountHistory})})]}),t.jsx(Gi,{analytics:f,fundsData:n.fundsData,fundAllocation:n.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(Ge,{treasuryDetail:e,isTreasuryCommentingEnabled:a,onColumnSortConfigChanged:s}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(ro,{children:[t.jsx(so,{onClick:r,"data-testid":F("account-detail-reload"),children:t.jsx(co,{})}),t.jsx(lo,{children:Bi.reloadPage.label})]}):t.jsx(Ai,{children:t.jsx(it,{size:"ExtraLarge",start:!0})}),a?t.jsx(ot,{isDrawerOpen:h,allowComposer:!1,drawerTitle:Ei,threads:v,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:d.currentTenant?.companyId,isGlobalComment:!1,tab:"treasury"},isLoading:j,textOverrides:{composerPlaceholder:Ki,replyComposerPlaceholder:Yi,threadResolve:Fi,threadUnResolve:Vi},onThreadClick:(S,D)=>P(S,D),onCloseAllThreadsDrawer:()=>c(!1),drawerSectionStyle:{width:x==="small"?"100%":"400px",boxSizing:x==="small"?"border-box":"content-box",padding:`${i.sp0} ${Wi.drawerSectionPaddingLeftRight.valuePx(x)}`,backgroundColor:g.colors.background},collapsibleThreadStyle:{width:x==="small"?"100%":"360px"}}):null]})},Sn=e=>{const n=te().currentTenant?.companyId;if(e.isTreasuryCommentingEnabled!==!0||n==null)return t.jsx(Le,{...e});const a=`dashboard_${n}`;return t.jsx(qe,{roomId:a,filter:{application:"dashboard",companyId:n,tab:"treasury",isGlobalComment:!1},children:t.jsx(Le,{...e})})},Ge=y.memo(({treasuryDetail:e,isTreasuryCommentingEnabled:n=!1,onColumnSortConfigChanged:a})=>{const s=L();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Qi,{windowSize:s,children:t.jsx(wi,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,isTreasuryCommentingEnabled:n,onReloadCards:()=>{},onColumnSortConfigChanged:a})}):t.jsx(Xi,{})})});Ge.displayName="TransactionListScreen";const _i=({treasuryDetail:e,hasAccountActivity:n,getToolTipContent:a,fundAllocation:s,fundsData:l})=>{const r=L(),[u,m]=y.useState(!1);return y.useEffect(()=>{u===!0&&setTimeout(()=>{m(!1)},800)},[u]),t.jsxs(io,{children:[t.jsxs(ee,{children:[t.jsx(mo,{children:t.jsxs(_,{children:[W(De.zeniAccountList.totalAvailableBalance),a("totalBalance")]})}),t.jsx($o,{windowSize:r,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(oe,{amount:e.accountSummary?.availableBalance,integerStyles:I.balanceIntegerStyles.styleObject(r),decimalStyles:I.balanceIntegerStyles.styleObject(r)})}):null})]}),t.jsxs(ee,{children:[t.jsxs(_,{children:[W(C.insuredFunds),a("insuredFunds")]}),t.jsx(ae,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(oe,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:I.integerStyles.styleObject(r),decimalStyles:I.decimalStyles.styleObject(r)})}),t.jsx(_,{children:W(C.insuredFundsAmount)})]}),n&&t.jsxs(oo,{children:[t.jsxs(Re,{children:[t.jsx(_,{children:W(De.common.totalYieldEarned)}),t.jsx(ae,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(oe,{amount:e.accountSummary?.totalYield,integerStyles:I.integerStyles.styleObject(r),decimalStyles:I.decimalStyles.styleObject(r)})})]}),t.jsxs(Re,{children:[t.jsxs(_,{children:[W(C.sevenDayYield)," ",a("sevenDayYield")]}),t.jsx(ae,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(xo,{windowSize:r,children:[qi(s??{},l),"%"]})})]})]})]})},Gi=({analytics:e,fundsData:n,fundAllocation:a,hasAccountActivity:s})=>{const[l,r]=y.useState(!1),u=L(),m=A(),x=()=>{r(g=>!g)};return t.jsx(ko,{windowSize:u,allTilesExpanded:l,children:n.map((g,f)=>{const d=l,h=me(f,m);return t.jsxs(zo,{expanded:d,windowSize:u,children:[t.jsx(Bo,{bgColor:h.headerBackground}),t.jsx(Ui,{fund:g,fundIndex:f,fundAllocation:a!=null?a[g.fundCode]:0,hasAccountActivity:s}),!l&&t.jsx(To,{children:t.jsxs(Do,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+g.fundCompanyName+" "+g.fundName),x()},children:[C.fundTile.viewDetails,t.jsx(fo,{})]})}),d&&t.jsxs(t.Fragment,{children:[t.jsx(qo,{}),t.jsx(Ji,{analytics:e,fund:g,fundIndex:f,onHide:x})]})]},g.fundCode)})})},Ui=({fund:e,fundIndex:n,fundAllocation:a})=>{const s=A(),l=me(n,s),r=L();return t.jsxs(Po,{windowSize:r,children:[t.jsxs(Ne,{style:{width:r==="small"?"100%":"50%"},children:[t.jsx(Io,{children:t.jsxs(Mo,{children:[t.jsx(Ee,{windowSize:r,children:e.fundCode}),t.jsxs(Ee,{windowSize:r,children:[a,"%"]})]})}),t.jsxs(Oo,{color:l.fundNameColor,children:[t.jsx(ee,{children:e.fundCompanyName}),t.jsx(ee,{children:e.fundName})]})]}),t.jsx(Lo,{windowSize:r,children:t.jsxs(Ne,{style:{alignItems:r==="small"?"flex-start":"flex-end"},children:[t.jsxs(Ao,{children:[C.sevenDayYield,t.jsx(Ue,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(he,{placement:r==="small"?"bottom":"bottom-end",data:C.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Je,{})})})]}),t.jsxs(Ro,{windowSize:r,children:[e.yield,"%"]})]})})]})},Ji=({analytics:e,fund:n,fundIndex:a,onHide:s})=>{const l=A(),{common:r,spendManagement:u}=M.getLocalizedStrings(),m=u.treasury.promoPage,x=me(a,l);return t.jsxs(t.Fragment,{children:[t.jsx(Ko,{children:n.description}),t.jsxs(Yo,{children:[t.jsxs(E,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," Liquidity"]}),t.jsx(K,{children:n.liquidityTimeline})]}),t.jsxs(E,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",m.fundSize]}),t.jsx(K,{color:x.fundNameColor,children:ct(n.fundSize,n.currencyCode)})]}),t.jsxs(E,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",m.maturity]}),t.jsxs(K,{children:[n.maturity," ",r.timeStrings.days]})]}),t.jsxs(E,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",m.expenseRatio]}),t.jsxs(K,{children:[n.expenseRatio,m.expenseRatioSuffix]})]}),t.jsxs(E,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",m.riskRating]}),t.jsx(K,{children:n.riskRating})]}),t.jsxs(E,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",m.composition]}),t.jsx(K,{children:t.jsxs(Fo,{children:[n.compositions[0].investedIn," ",n.compositions[0].percentage,Array.isArray(n.compositions)&&n.compositions.length>0&&t.jsx(he,{style:{textAlign:"left",display:"inline"},title:t.jsx(Vo,{children:n.compositions.map((g,f)=>t.jsxs(Wo,{children:[t.jsx(_o,{}),t.jsx(T,{children:g.investedIn}),t.jsx(T,{style:{marginLeft:"auto",textAlign:"right"},children:g.percentage})]},f))}),children:t.jsxs(Go,{children:["+",n.compositions.length]})})]})})]})]}),t.jsxs(No,{children:[t.jsxs(Uo,{onClick:()=>e.trackTreasuryProspectusClick(n.fundCompanyName+" "+n.fundName,n.fundCode,"Treasury Overview Page"),href:n.url,target:"_blank",rel:"noopener noreferrer",children:[m.asOf," ",n.asOfDate.format("MMM D, YYYY"),t.jsx(Jo,{})]}),t.jsxs(Eo,{onClick:s,children:[m.hide,t.jsx(wo,{})]})]})]})};function qi(e,n){let a=0;for(const s of n){const l=e[s.fundCode]??0;l>0&&s.yield!=null&&(a+=s.yield*l)}return Number((a/100).toFixed(2))}const W=e=>t.jsx(yo,{children:e}),Xi=o.div`
|
|
331
|
+
`,I={tickLabelText:new N("extraSmallRegular","smallRegular"),balanceIntegerStyles:new N("h5Regular","h3Regular"),integerStyles:new N("largeRegular","h6Regular"),decimalStyles:new N("standardRegular","standardRegular"),fundSummaryStyles:new N("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new N("standardMedium","largeMedium")},R={accountDetailHeaderPaddingRight:new w(p[3],p[8]),accountDetailHeaderPaddingBottom:new w(p[3],p[6]),accountDetailHeaderPaddingLeft:new w(p[3],p[8]),accountDetailHeaderPaddingTop:new w(p[3],p[6]),accountDetailContentMarginTop:new w(p[4],p[4]),areaChartHeight:new w(114,209),accountDetailHeaderGap:new w(18,100,184)},{spendManagement:{zeniAccounts:De,treasury:{overviewPage:C}},dateFormat:ne,common:Bi}=M.getLocalizedStrings(),_e=y.memo(({accountHistory:e})=>{const n=L(),a=A(),[s,l]=y.useState(),r=y.useMemo(()=>{const c=q(new Date().toISOString()),b=c.clone().subtract(84,"day");return Array.from({length:7}).map((v,j)=>{const k=j/6;let P;return P=k<.5?0:k<.6?(k-.5)/.09999999999999998*.9:.9,{date:(j===6?c:b.clone().add(Math.round(14*j),"day")).toISOString(),value:P}})},[]),u=y.useMemo(()=>(r.length,0),[r.length]),m=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(c=>c.balance?.available.amount===0)),x=y.useMemo(()=>e.accountHistoryWithBalance.map(c=>({...c,date:c.date.toISOString()})),[e.accountHistoryWithBalance]),g=y.useCallback(c=>{const b=Array.isArray(c)?c:[];let v="",j="";if(Array.isArray(b)&&b.length>0){const k=b[0].payload?.balance?.available;j=G("0,0[.]00",k),v=q(b[0].payload?.date??"").format(ne.visual.DMMMYYYYFormat)}return t.jsxs(go,{children:[t.jsx(Ae,{children:v}),t.jsx(Ae,{isSublabel:!0,children:j})]})},[]),f=y.useCallback(c=>{const b=c,{x:v,y:j}=b,{value:k}=b.payload;let P=!1;e.accountHistoryWithBalance.length>360&&(P=!0);const O=P?q(k).format(ne.visual.MMMformat):q(k).format(ne.visual.MMMDFormat);return t.jsx(ao,{translateX:v,translateY:j,children:t.jsx(po,{windowSize:n,dy:20,dx:-25,children:O})})},[e.accountHistoryWithBalance.length,n]),d=y.useCallback(({cx:c,cy:b,dataKey:v})=>(v==="balance.available.amount"&&(s?.x!==c||s?.y!==b)&&l({x:c,y:b}),t.jsx(uo,{cx:c,cy:b,strokeWidth:1,r:p[1]})),[s]),h=y.useMemo(()=>{const c=e.accountHistoryWithBalance.length;return c<=0?0:c>360?Math.floor(c/12):Math.floor(c/7)},[e.accountHistoryWithBalance.length]);return t.jsx(ho,{children:m?t.jsxs(So,{children:[t.jsx(we,{height:R.areaChartHeight.value(n),width:"99%",children:t.jsxs(be,{data:r,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Ie,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Me,{offset:"0%",stopColor:a.colors.grey2,stopOpacity:1}),t.jsx(Oe,{offset:"100%",stopColor:a.colors.grey2,stopOpacity:.02})]})}),t.jsx($e,{dataKey:"date",stroke:a.colors.grey3,tickSize:0,tick:c=>f(c),interval:u,padding:{right:p[4]}}),t.jsx(je,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(ve,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:a.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(Co,{children:t.jsx(vo,{children:C.noData})})]}):t.jsx(we,{height:R.areaChartHeight.value(n),width:"99%",children:t.jsxs(be,{data:x,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Ie,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Me,{offset:"0%",stopColor:$.brandColorJade,stopOpacity:1}),t.jsx(Oe,{offset:"100%",stopColor:$.brandColorJade,stopOpacity:.03})]})}),t.jsx($e,{dataKey:"date",stroke:a.colors.grey3,tickSize:0,reversed:!0,tick:c=>f(c),padding:{right:p[4]},interval:h}),t.jsx(je,{tick:!1,axisLine:!1}),t.jsx(Lt,{position:s,content:({payload:c})=>g(c),cursor:{strokeDasharray:"3",stroke:$.brandColorJade}}),t.jsx(ve,{activeDot:d,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:$.brandColorJade,fill:"url(#colorUv)"})]})})})});_e.displayName="AccountBalanceGraph";const Ni=M.getLocalizedStrings(),{common:{texts:{comments:Ei},strings:{empty:Hi}},collaboration:{threads:{placeholder:{addANewComment:Ki,replyAComment:Yi},tooltip:{resolveComment:Fi,unResolveComment:Vi}}}}=Ni,Wi={drawerSectionPaddingLeftRight:new w(p[4],p[5])},Le=({treasuryDetail:e,treasurySetupView:n,isTreasuryCommentingEnabled:a=!1,onColumnSortConfigChanged:s,onBackClick:l,onReloadTreasuryTransactions:r,handleTreasuryOptionSelection:u,onTransferClick:m})=>{const x=L(),g=A(),f=Xe().analytics,d=te(),[h,c]=y.useState(!1),{setOpenThread:b}=y.useContext(Qe),{threads:v,isLoading:j}=Ze(),k=y.useMemo(()=>v.filter(S=>S.resolved===!1),[v]).length,P=y.useCallback((S,D)=>{b(D),c(!1)},[b]);et({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const O=e.accountSummary,ie=y.useCallback(S=>{let D,V=null;switch(S){case"insuredFunds":V=t.jsx(Be,{children:C.insuredFundsTooltip}),D="280px";break;case"totalBalance":V=t.jsxs(jo,{children:[t.jsx($o,{children:C.balanceTooltip.base}),t.jsxs(re,{children:[t.jsx(se,{children:C.balanceTooltip.balance}),t.jsx(le,{children:G("0,0[.]00",O?.totalBalance)})]}),t.jsxs(re,{children:[t.jsx(se,{children:C.balanceTooltip.processing}),t.jsx(le,{children:G("0,0[.]00",O?.processingBalance)})]}),t.jsxs(re,{children:[t.jsx(se,{children:C.balanceTooltip.available}),t.jsx(le,{children:G("0,0[.]00",O?.availableBalance)})]})]}),D="312px";break;case"sevenDayYield":V=t.jsx(Be,{children:C.fundTile.sevenDayYieldTooltip}),D="464px";break;default:V=t.jsx(t.Fragment,{})}return t.jsx(Ue,{children:t.jsx(he,{display:"flex",placement:x==="small"?"bottom":"top",title:V,style:{textAlign:"left"},maxWidth:D,children:S==="insuredFunds"?t.jsx(Ho,{}):t.jsx(Je,{})})})},[O,x]),J=t.jsx(Li,{onOptionSelection:S=>{f.trackTreasuryDashboardInteraction((()=>{switch(S){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),u(S)},onTransferClick:()=>{f.trackTreasuryDashboardInteraction("Transfer Funds"),m()},isTreasuryCommentingEnabled:a,isThreadsLoading:j,threadsCount:k,onCommentIconClick:()=>{c(!0),f.trackCommentActivity("treasury","clicked",d.currentTenant?.companyName??Hi,d.controllersList.controllers.map(S=>lt(S)),void 0,void 0,"page icon")}});return t.jsxs(Zi,{children:[t.jsx(tt,{title:C.title,onBackClick:l,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...de.largeSemiBold.cssObject},rightSideComponent:J,source:"treasury"}),t.jsxs(eo,{windowSize:x,children:[t.jsxs(to,{windowSize:x,children:[t.jsx(_i,{fundAllocation:n.currentAllocation,fundsData:n.fundsData,getToolTipContent:ie,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(no,{windowSize:x,children:t.jsx(_e,{accountHistory:e.accountHistory})})]}),t.jsx(Gi,{analytics:f,fundsData:n.fundsData,fundAllocation:n.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(Ge,{treasuryDetail:e,isTreasuryCommentingEnabled:a,onColumnSortConfigChanged:s}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(ro,{children:[t.jsx(so,{onClick:r,"data-testid":F("account-detail-reload"),children:t.jsx(co,{})}),t.jsx(lo,{children:Bi.reloadPage.label})]}):t.jsx(Ai,{children:t.jsx(it,{size:"ExtraLarge",start:!0})}),a?t.jsx(ot,{isDrawerOpen:h,allowComposer:!1,drawerTitle:Ei,threads:v,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:d.currentTenant?.companyId,isGlobalComment:!1,tab:"treasury"},isLoading:j,textOverrides:{composerPlaceholder:Ki,replyComposerPlaceholder:Yi,threadResolve:Fi,threadUnResolve:Vi},onThreadClick:(S,D)=>P(S,D),onCloseAllThreadsDrawer:()=>c(!1),drawerSectionStyle:{width:x==="small"?"100%":"400px",boxSizing:x==="small"?"border-box":"content-box",padding:`${i.sp0} ${Wi.drawerSectionPaddingLeftRight.valuePx(x)}`,backgroundColor:g.colors.background},collapsibleThreadStyle:{width:x==="small"?"100%":"360px"}}):null]})},Sn=e=>{const n=te().currentTenant?.companyId;if(e.isTreasuryCommentingEnabled!==!0||n==null)return t.jsx(Le,{...e});const a=`dashboard_${n}`;return t.jsx(qe,{roomId:a,filter:{application:"dashboard",companyId:n,tab:"treasury",isGlobalComment:!1},children:t.jsx(Le,{...e})})},Ge=y.memo(({treasuryDetail:e,isTreasuryCommentingEnabled:n=!1,onColumnSortConfigChanged:a})=>{const s=L();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Qi,{windowSize:s,children:t.jsx(wi,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,isTreasuryCommentingEnabled:n,onReloadCards:()=>{},onColumnSortConfigChanged:a})}):t.jsx(Xi,{})})});Ge.displayName="TransactionListScreen";const _i=({treasuryDetail:e,hasAccountActivity:n,getToolTipContent:a,fundAllocation:s,fundsData:l})=>{const r=L(),[u,m]=y.useState(!1);return y.useEffect(()=>{u===!0&&setTimeout(()=>{m(!1)},800)},[u]),t.jsxs(io,{children:[t.jsxs(ee,{children:[t.jsx(mo,{children:t.jsxs(_,{children:[W(De.zeniAccountList.totalAvailableBalance),a("totalBalance")]})}),t.jsx(bo,{windowSize:r,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(oe,{amount:e.accountSummary?.availableBalance,integerStyles:I.balanceIntegerStyles.styleObject(r),decimalStyles:I.balanceIntegerStyles.styleObject(r)})}):null})]}),t.jsxs(ee,{children:[t.jsxs(_,{children:[W(C.insuredFunds),a("insuredFunds")]}),t.jsx(ae,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(oe,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:I.integerStyles.styleObject(r),decimalStyles:I.decimalStyles.styleObject(r)})}),t.jsx(_,{children:W(C.insuredFundsAmount)})]}),n&&t.jsxs(oo,{children:[t.jsxs(Re,{children:[t.jsx(_,{children:W(De.common.totalYieldEarned)}),t.jsx(ae,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(oe,{amount:e.accountSummary?.totalYield,integerStyles:I.integerStyles.styleObject(r),decimalStyles:I.decimalStyles.styleObject(r)})})]}),t.jsxs(Re,{children:[t.jsxs(_,{children:[W(C.sevenDayYield)," ",a("sevenDayYield")]}),t.jsx(ae,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(xo,{windowSize:r,children:[qi(s??{},l),"%"]})})]})]})]})},Gi=({analytics:e,fundsData:n,fundAllocation:a,hasAccountActivity:s})=>{const[l,r]=y.useState(!1),u=L(),m=A(),x=()=>{r(g=>!g)};return t.jsx(ko,{windowSize:u,allTilesExpanded:l,children:n.map((g,f)=>{const d=l,h=me(f,m);return t.jsxs(zo,{expanded:d,windowSize:u,children:[t.jsx(Bo,{bgColor:h.headerBackground}),t.jsx(Ui,{fund:g,fundIndex:f,fundAllocation:a!=null?a[g.fundCode]:0,hasAccountActivity:s}),!l&&t.jsx(To,{children:t.jsxs(Do,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+g.fundCompanyName+" "+g.fundName),x()},children:[C.fundTile.viewDetails,t.jsx(fo,{})]})}),d&&t.jsxs(t.Fragment,{children:[t.jsx(qo,{}),t.jsx(Ji,{analytics:e,fund:g,fundIndex:f,onHide:x})]})]},g.fundCode)})})},Ui=({fund:e,fundIndex:n,fundAllocation:a})=>{const s=A(),l=me(n,s),r=L();return t.jsxs(Po,{windowSize:r,children:[t.jsxs(Ne,{style:{width:r==="small"?"100%":"50%"},children:[t.jsx(Io,{children:t.jsxs(Mo,{children:[t.jsx(Ee,{windowSize:r,children:e.fundCode}),t.jsxs(Ee,{windowSize:r,children:[a,"%"]})]})}),t.jsxs(Oo,{color:l.fundNameColor,children:[t.jsx(ee,{children:e.fundCompanyName}),t.jsx(ee,{children:e.fundName})]})]}),t.jsx(Lo,{windowSize:r,children:t.jsxs(Ne,{style:{alignItems:r==="small"?"flex-start":"flex-end"},children:[t.jsxs(Ao,{children:[C.sevenDayYield,t.jsx(Ue,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(he,{placement:r==="small"?"bottom":"bottom-end",data:C.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Je,{})})})]}),t.jsxs(Ro,{windowSize:r,children:[e.yield,"%"]})]})})]})},Ji=({analytics:e,fund:n,fundIndex:a,onHide:s})=>{const l=A(),{common:r,spendManagement:u}=M.getLocalizedStrings(),m=u.treasury.promoPage,x=me(a,l);return t.jsxs(t.Fragment,{children:[t.jsx(Ko,{children:n.description}),t.jsxs(Yo,{children:[t.jsxs(E,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," Liquidity"]}),t.jsx(K,{children:n.liquidityTimeline})]}),t.jsxs(E,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",m.fundSize]}),t.jsx(K,{color:x.fundNameColor,children:ct(n.fundSize,n.currencyCode)})]}),t.jsxs(E,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",m.maturity]}),t.jsxs(K,{children:[n.maturity," ",r.timeStrings.days]})]}),t.jsxs(E,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",m.expenseRatio]}),t.jsxs(K,{children:[n.expenseRatio,m.expenseRatioSuffix]})]}),t.jsxs(E,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",m.riskRating]}),t.jsx(K,{children:n.riskRating})]}),t.jsxs(E,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",m.composition]}),t.jsx(K,{children:t.jsxs(Fo,{children:[n.compositions[0].investedIn," ",n.compositions[0].percentage,Array.isArray(n.compositions)&&n.compositions.length>0&&t.jsx(he,{style:{textAlign:"left",display:"inline"},title:t.jsx(Vo,{children:n.compositions.map((g,f)=>t.jsxs(Wo,{children:[t.jsx(_o,{}),t.jsx(T,{children:g.investedIn}),t.jsx(T,{style:{marginLeft:"auto",textAlign:"right"},children:g.percentage})]},f))}),children:t.jsxs(Go,{children:["+",n.compositions.length]})})]})})]})]}),t.jsxs(No,{children:[t.jsxs(Uo,{onClick:()=>e.trackTreasuryProspectusClick(n.fundCompanyName+" "+n.fundName,n.fundCode,"Treasury Overview Page"),href:n.url,target:"_blank",rel:"noopener noreferrer",children:[m.asOf," ",n.asOfDate.format("MMM D, YYYY"),t.jsx(Jo,{})]}),t.jsxs(Eo,{onClick:s,children:[m.hide,t.jsx(wo,{})]})]})]})};function qi(e,n){let a=0;for(const s of n){const l=e[s.fundCode]??0;l>0&&s.yield!=null&&(a+=s.yield*l)}return Number((a/100).toFixed(2))}const W=e=>t.jsx(yo,{children:e}),Xi=o.div`
|
|
332
332
|
display: flex;
|
|
333
333
|
flex-direction: column;
|
|
334
334
|
align-items: center;
|
|
@@ -450,12 +450,12 @@ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,
|
|
|
450
450
|
min-width: 66px;
|
|
451
451
|
border-radius: ${i.sp1};
|
|
452
452
|
padding: ${i.sp0} ${i.sp2};
|
|
453
|
-
background-color: ${
|
|
453
|
+
background-color: ${$.blackColor};
|
|
454
454
|
`,uo=o.circle`
|
|
455
455
|
stroke: ${e=>e.theme.colors.brandColorJade};
|
|
456
456
|
fill: ${e=>e.theme.colors.grey5};
|
|
457
457
|
`,Ae=o(T)`
|
|
458
|
-
color: ${e=>e.isSublabel===!0
|
|
458
|
+
color: ${e=>e.isSublabel===!0?$.neutralGrey1Light:$.brandColorPearl};
|
|
459
459
|
`,_=o.div`
|
|
460
460
|
display: flex;
|
|
461
461
|
gap: ${i.sp1};
|
|
@@ -473,7 +473,7 @@ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,
|
|
|
473
473
|
margin-left: ${i.sp1};
|
|
474
474
|
margin-right: ${i.sp1};
|
|
475
475
|
color: ${e=>e.theme.colors.hero};
|
|
476
|
-
|
|
476
|
+
`,bo=o.div`
|
|
477
477
|
display: flex;
|
|
478
478
|
align-items: baseline;
|
|
479
479
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -486,7 +486,7 @@ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,
|
|
|
486
486
|
color: ${e=>e.theme.colors.primary};
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
|
|
489
|
+
`,$o=o(T)`
|
|
490
490
|
margin-bottom: ${i.sp2};
|
|
491
491
|
display: flex;
|
|
492
492
|
text-align: left;
|
|
@@ -502,7 +502,7 @@ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,
|
|
|
502
502
|
`,se=o.div`
|
|
503
503
|
color: ${e=>e.theme.colors.hero};
|
|
504
504
|
`,le=o.div`
|
|
505
|
-
color: ${
|
|
505
|
+
color: ${$.primaryDark};
|
|
506
506
|
`,Je=o(nt)`
|
|
507
507
|
width: ${i.sp3};
|
|
508
508
|
height: ${i.sp3};
|
|
@@ -544,7 +544,7 @@ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,
|
|
|
544
544
|
border-radius: ${i.sp2};
|
|
545
545
|
flex: 1;
|
|
546
546
|
width: ${e=>e.windowSize==="small"?"100%":`calc((100% - ${i.sp6}) / 2)`};
|
|
547
|
-
box-shadow: ${`0px 1px 2px 0px ${
|
|
547
|
+
box-shadow: ${`0px 1px 2px 0px ${$.boxShadowElevation}`};
|
|
548
548
|
transition: box-shadow 0.2s;
|
|
549
549
|
display: flex;
|
|
550
550
|
flex-direction: column;
|
|
@@ -596,22 +596,22 @@ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,
|
|
|
596
596
|
color: ${e=>e.theme.colors.primary};
|
|
597
597
|
${e=>I.fundSummaryStyles.style(e.windowSize)};
|
|
598
598
|
`,Oo=o(mt)`
|
|
599
|
-
color: ${e=>e.color
|
|
599
|
+
color: ${e=>e.color??$.brandColorGoldDark};
|
|
600
600
|
display: flex;
|
|
601
601
|
flex-direction: column;
|
|
602
602
|
`,Ro=o.div`
|
|
603
|
-
color: ${
|
|
603
|
+
color: ${$.success};
|
|
604
604
|
text-align: ${e=>e.windowSize==="small"?"left":"right"};
|
|
605
605
|
${e=>I.yieldValueStyles.style(e.windowSize)};
|
|
606
606
|
`,Ao=o(T)`
|
|
607
607
|
display: flex;
|
|
608
608
|
gap: ${i.sp1};
|
|
609
|
-
color: ${
|
|
609
|
+
color: ${$.heroLight};
|
|
610
610
|
text-align: right;
|
|
611
611
|
`,Bo=o.div`
|
|
612
612
|
width: 100%;
|
|
613
613
|
height: ${i.sp2};
|
|
614
|
-
background: ${e=>e.bgColor
|
|
614
|
+
background: ${e=>e.bgColor??$.neutralGrey2Light};
|
|
615
615
|
border-radius: ${i.sp1} ${i.sp1} 0 0;
|
|
616
616
|
`,No=o.div`
|
|
617
617
|
display: flex;
|
|
@@ -638,10 +638,10 @@ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,
|
|
|
638
638
|
`,Ho=o(Dt)`
|
|
639
639
|
width: ${i.sp3};
|
|
640
640
|
height: ${i.sp3};
|
|
641
|
-
color: ${
|
|
641
|
+
color: ${$.success};
|
|
642
642
|
`,Ko=o(B)`
|
|
643
643
|
padding: ${i.sp3} ${i.sp4} 0 ${i.sp4};
|
|
644
|
-
color: ${
|
|
644
|
+
color: ${$.heroLight};
|
|
645
645
|
`,Yo=o.div`
|
|
646
646
|
display: flex;
|
|
647
647
|
flex-direction: column;
|
|
@@ -686,7 +686,7 @@ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,
|
|
|
686
686
|
width: 4px;
|
|
687
687
|
height: 4px;
|
|
688
688
|
border-radius: 50%;
|
|
689
|
-
background-color: ${
|
|
689
|
+
background-color: ${$.neutralGrey1Light};
|
|
690
690
|
`,Go=o(T)`
|
|
691
691
|
color: ${e=>e.theme.colors.hero};
|
|
692
692
|
border: 1px solid ${e=>e.theme.colors.grey2};
|