@zeniai/web-cockpit-ui 1.15.39-qa → 1.15.40-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-DpLTXUS2-D0c1tGuw.js +21 -0
- package/dist/assets/{AIPerformancePage-DlTdGosv-BAgeiPmO.js → AIPerformancePage-ByRPO3mW-3EbdmQ_-.js} +104 -104
- package/dist/assets/AccountInfoPage-BfVVOaTL-D3vk9TdW.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BS2TBUSE-vsGLXorb.js → AccountInfoPageContent-BAzd-LkX-BjwkJSBP.js} +15 -15
- package/dist/assets/AccountLockedInfoModal-BI8dkiAz-CEREcr8f.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-CLh6hMw4.js → AccountReconDetailsDrawerPage-Cu_UrL9J-Bn-PtQx2.js} +18 -18
- package/dist/assets/AccountRow-nSloLUTN-C7-a59B1.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-BQ85fNBD.js → AccountsPromoCardStack-Z8O9Tv5P-BHHWsVbt.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-GDXK5rJA-DyijyVI8.js +6 -0
- package/dist/assets/{AddToWalletPage-C4EwdLZJ-B_zG1g-k.js → AddToWalletPage-CKOnAq6_-CqcvkHGd.js} +22 -22
- package/dist/assets/{AgingReportsPage-vAvkUfOS-DI-FeGoC.js → AgingReportsPage-CUcu_cHV-Do94-_mv.js} +5 -5
- package/dist/assets/{AllUserItems-qrYg6Gdx-UTjuVZZB.js → AllUserItems-BbhDuv3Y-CPWfHpie.js} +10 -10
- package/dist/assets/ApAgingDetailPage-DLvP7G6Q-DhXBARgG.js +46 -0
- package/dist/assets/{AppBasePage-DrE-W6d7-uRp1s1KV.js → AppBasePage-Cc3o50Ar-BZVIdQ2o.js} +12 -12
- package/dist/assets/{AppDrawerContent-ATbZG_cu-B6DLMEZB.js → AppDrawerContent-moxx3tLo-DWEBLXQy.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-BiL2dANi-BvGx2tm4.js +47 -0
- package/dist/assets/{ArAgingChart-CuzG9AZY-8eWrWtAO.js → ArAgingChart-DuwEWasX-B7DcyKyM.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-DwRkcLEu-1obcA6lF.js → ArAgingDetailPage-DGETibBB-BtDKR53R.js} +6 -6
- package/dist/assets/{AttachmentView-BrQRChzc-ZayiRyZC.js → AttachmentView-Q7kiwPOS-BNETSDSC.js} +5 -5
- package/dist/assets/{BankAccountSection-hcKEMs80-wZlh5GSi.js → BankAccountSection-Ct31GOKt-CADjKttV.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-CpxVDMSZ-CPKRaP1s.js → BankAccountWarningSection-ko9DqAKK-BfybEzCK.js} +10 -10
- package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-DENiRulM.js → BankConnectionsSettingsPage-Ds9FSEMV-B2mXxuP2.js} +14 -14
- package/dist/assets/{BillDetailPage-D0NLFZXA-idtsM4af.js → BillDetailPage-DKDNgnqK-2cg0C7-c.js} +13 -13
- package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-BAPQ2OnN.js → BillPayApprovalRuleDetailPage-DUprxSDP-B3qYmqgn.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-s1-j5O2T.js → BillPayApprovalRulesPage-DuRefUEE-B2lK8SV2.js} +12 -12
- package/dist/assets/BillPayPromoPage-CszEgRZk-BTqdbqxQ.js +84 -0
- package/dist/assets/{BillPaySetUpPage-WdEdbf16-BhfuePfW.js → BillPaySetUpPage-UfS3JsLW-Zxv-DayC.js} +2 -2
- package/dist/assets/BillingSettingsPage-9uV4vEJB-CnXv1V73.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-DAUoo9pq-BX-KKXKs.js → BillsBulkReviewDrawerPage-DKGmWv9w-CuPH1foN.js} +1 -1
- package/dist/assets/{BoxItem-CACRFWG2-Ren223Wk.js → BoxItem-Qhw9iPt9-CzMCE4d7.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-9gZbBDL6-CkTxaZm4.js → BusinessVerificationPage-CVZrCy-t-DHZcdzsr.js} +9 -9
- package/dist/assets/{CardNumberSubText-C-oVdziK-DKs-Skfh.js → CardNumberSubText-r5Tf-P5n-CPkrSmch.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BhFKSl4p-B-Ntsd90.js → CashbackDetailPage-Bo_ZMMG7-O_F3xD1y.js} +20 -20
- package/dist/assets/{ChargeCardDetailPage-D8J6HINu-BdjOzswd.js → ChargeCardDetailPage-BlQdk9jC-CEJAXstZ.js} +39 -39
- package/dist/assets/{ChargeCardListPage-tdUKyHdz-DiHyKK7l.js → ChargeCardListPage-CsFYpoaM-guNcti1f.js} +30 -30
- package/dist/assets/{ChargeCardListTable-CByk3iqX-De61_zRL.js → ChargeCardListTable-D8exMgXq-BTYKr9bX.js} +39 -39
- package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-CN9h02wy.js → ChargeCardPaymentHistoryPage-DBc981J5-C_KsK_Zd.js} +39 -39
- package/dist/assets/ChargeCardPromoPage-Dk1xNNTk-Cya5z3jm.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-DgpLxIiq.js → ChargeCardSetupPage-Bco5-BZh-DmUwzBF1.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-Do0awbvY.js → ChargeCardStatementsPage-uEDAQkC5-Ca3X6gkv.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-DL5qh7cC.js → CheckDepositDrawerPage-CNRKyz3v-gmMux-Qd.js} +15 -15
- package/dist/assets/{CollapsableReportTable-Cq8bhaYC-CZx2j0pM.js → CollapsableReportTable-CoDaSHJN-BeRkup1e.js} +272 -272
- package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-BxDFACQl.js → CompanyOfficerDetailsSection-DzleqDta-BzbJLAhM.js} +28 -28
- package/dist/assets/{CompanyPassportCard-CHaKk74P-BrRUuhAj.js → CompanyPassportCard-CG5saSQ3-DNwsmEMg.js} +5 -5
- package/dist/assets/{CompanyPassportPage-DXWXFFKM-YRrsW7zl.js → CompanyPassportPage-ZCNGHjZ9-KZyi_Mzu.js} +21 -21
- package/dist/assets/{CompleteProfile-ChaWsK6t-DR5LLsbx.js → CompleteProfile-BqPvCgUX-A6-sj2cx.js} +1 -1
- package/dist/assets/ConfettiBurst-B2xVyUMV-0H5gfw7o.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DS_SX5Rc.js → ConstrainedInnerElement-BeIpAPjB-BthMTEWM.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-CW-u-9AN.js → CreateOrEditVendorPage-CfFzrga_-BPUVECKH.js} +17 -17
- package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-rxUCJ2nm.js → CreditCardPaymentDrawerPage-Cjnbhvmv-eb3LqJz4.js} +11 -11
- package/dist/assets/CurrencySelectField-DDmu3bja-D1d_Ut_Z.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-DO6NCakm-BjlfLwhf.js → CustomerOnboardingActivationPage-hnf-eIo--C4K5Zxpz.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-7zQwgryW-C6hmKSZu.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DxQXlI51.js → CustomerOnboardingDetailPageSkeleton-DUBpQ8ln-C4F_bhLR.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-CbG5WshV-B7jFIamI.js → CustomerOnboardingNoStepsPage-CA0h5UTQ-BjW3LXd6.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-CjCxpyH5.js → CustomerOnboardingPage-rvO0Stsl-D7f95vft.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-DVc7TctC.js → CustomerOnboardingProductSuitePage-BIgNTp2U-BwO9ehCm.js} +10 -10
- package/dist/assets/{Dashboard-Csggwob0-BO3QbyVw.js → Dashboard-BFesVYJk-BNAlL83k.js} +33 -33
- package/dist/assets/{DashboardReportPage-DFIdi_I0-D7EM2nxK.js → DashboardReportPage-CdNJfWUo-DOYF0wYK.js} +23 -23
- package/dist/assets/DashboardSidebarBackgroundAnimation-CJDhi61--XjtCq4Xk.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-BwbeKyPH.js → DepositAccTransactionItem-DJ_V8Mx7-CDK8mXzb.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-DAmQEIBE.js → DepositAccTransactionListPage-DBsJOm1m-nTfqP2ee.js} +5 -5
- package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-1dw1FF3E.js → DomesticWireDetailsPage-B1_C38p0-CovZ6vni.js} +2 -2
- package/dist/assets/{DownloadOverlay-4f9deyJS-DZFtNi4N.js → DownloadOverlay-DYUlDQr8-qBFIPpKK.js} +26 -26
- package/dist/assets/{DrawerPage-roO3xvRT-6os6qo37.js → DrawerPage-jU38Lq6Q-AHgBQfC_.js} +13 -13
- package/dist/assets/EditPeoplePage-Dw9mMyyp-DPDs2n-w.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CIUcImns-BDU5lh2j.js → EditReimbursementDetailPage-PRaUQsZj-DqTgKZsB.js} +82 -82
- package/dist/assets/EntityDetailPage-C2Ix5fwl-gSVT_FTR.js +18 -0
- package/dist/assets/{EntitySummarySection-fBL4TZpT-TkV0Oz1a.js → EntitySummarySection-BzzwWXw2-D_F7Rlzp.js} +14 -14
- package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-Dr9hWqJP.js → ExpenseAutomationOverviewPage-CMzFQB6V-DM_yh2Rl.js} +47 -47
- package/dist/assets/ExpenseAutomationPage-BOOA30kB-BufH1Btg.js +3001 -0
- package/dist/assets/{ExpressPayPage-c8oTCnBR-CwUvXlgh.js → ExpressPayPage-B8_m64s9-wdqPmdTX.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-DkiAajs2-C3ytwSVb.js → FeaturePreviewPage-BLWGNRVo-C92AU0mn.js} +2 -2
- package/dist/assets/{FollowStepsSection-GaWu1kt9-lgNwy5h-.js → FollowStepsSection-CBVDfZ38-nmHmpAVz.js} +57 -57
- package/dist/assets/GlobalReviewListPage-DlBZ4OnM-xT4_H-8W.js +291 -0
- package/dist/assets/{InformationCardStack-dMFbHUWM-CKh2M5k7.js → InformationCardStack-D8hkkUkN-B1MHqZTM.js} +4 -4
- package/dist/assets/{InsightsCardStack-BlXkyuyz-DMBEm68j.js → InsightsCardStack-T3ZL19C0-BBaRu6Cu.js} +9 -9
- package/dist/assets/InsightsSection-CVioRrr2-CEMLw-o0.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-D-hfghuq-CY_OuXB5.js → IntegrationsSettingsPage-DKqNc7bF-BOmO6Qyo.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-Bp-YhTPe.js → InternationalWireSwiftDetailsPage-qzmJ8_r9-C6omI1qL.js} +19 -19
- package/dist/assets/InternationalWireVerificationPage-8XEibbVK-cjj-JWJ4.js +65 -0
- package/dist/assets/{InviteFormPage-BCdalqtP-DEmhTBcW.js → InviteFormPage-Dw-l-O7n-B74WmVBo.js} +16 -16
- package/dist/assets/{InvitePageListView-B88FW48q-CJJQfk5m.js → InvitePageListView-CGjk-eOP-ClDlh7fM.js} +48 -48
- package/dist/assets/InvitePeoplePage-DSg5Quam-VrkZhbUi.js +12 -0
- package/dist/assets/InvoiceUploadSection-D_uWzQW4-Bxkjza2M.js +140 -0
- package/dist/assets/{IssueChargeCardPage-B6wmvbEr-B2zhxp3c.js → IssueChargeCardPage-BASDviuN-Der3X_t9.js} +34 -34
- package/dist/assets/{LabeledAddressValue-CQrDCgNs-CqrzxeUV.js → LabeledAddressValue-IPGwjeYh-CkaMLxji.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-BoHS44YO-C0d1SGUs.js → LabeledAddressValueField-DYjUauc7-DIfkXNuQ.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-DVf8zpcv-CnTD9x1u.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-DwXn17zh.js → LabeledCountryMultiSelectField-CekqwoGI-FfKjwgoC.js} +3 -3
- package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-Bf_H2WLZ.js → LabeledCreatableSingleSelectField-By3V1BNi-3t8vaX2e.js} +8 -8
- package/dist/assets/LabeledDocumentField-CN-BH7Gq-D_XxeGxN.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-DYysX-lx.js → LabeledDropDownFormattedTextField-CQkl7AeY-DLVKw4TX.js} +4 -4
- package/dist/assets/{LabeledText-2EDpuXZ4-ZljRY_j7.js → LabeledText-D1RmgOs9-q82PtDVl.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-BRHOan2E.js → LabeledUserSingleSelectWithSubtitlesField-Bw1TjzCA-0XX6kAaj.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-CvLZx4pY.js → LabeledZeniRolesDropDownField-BiVOlFVe-DAdgSY4x.js} +26 -26
- package/dist/assets/LinkJETransactionPage-DbA8sdwa-BFuJnTLq.js +98 -0
- package/dist/assets/{LockCardPage-CHv1xi2J-mXPWUl04.js → LockCardPage-BVpW2BeO-aNMVewaJ.js} +42 -42
- package/dist/assets/{LowBalancePopup-Cb55PGLc-C16_RtCi.js → LowBalancePopup-DTUaytjD-DS1CDgAE.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-k34ybVrp-BxWmvoNw.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9sI0Na-DYhrOrMG.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DI9_mzqN-g6BD3Bf4.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-RG1qZ5Kj-CBdchHNz.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-ByGqXE4C.js → MagicLinkTitleSection-BeTuROc4-BqJ6KNUx.js} +4 -4
- package/dist/assets/{MailingDetailsSection-EwtoQ2TZ-Cbz2IXfC.js → MailingDetailsSection-q49nDsf9-CpQRrqml.js} +6 -6
- package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-nJ31HAIY.js → MyBankConnectionsSettingsPage-B9kH0sVB-CBACGGM8.js} +12 -12
- package/dist/assets/MyPendingActivationChargeCardListPage-SRoiz1Qu-CXlkfrZl.js +6 -0
- package/dist/assets/MyProfileSettingsPage-D40mm3Me-BP-31NhD.js +85 -0
- package/dist/assets/NavBarWithPicker-DuTo0ZPb-C_jShNIM.js +30 -0
- package/dist/assets/{NavigationArrow-kQWS5Pzb-BnLTYFqA.js → NavigationArrow-BvkBQmTR-Df9u1P7d.js} +7 -7
- package/dist/assets/{NavigationDots-BQb_Fodq-DPmycbJO.js → NavigationDots-DyeJVxnu-BWgE-kd3.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-z86XZorn-D_P0X2rA.js → NewGlobalMerchantPage-D15HmpS7-7O1eYItX.js} +34 -34
- package/dist/assets/NoDataChart-j3LPkJML-DH_2yb3S.js +26 -0
- package/dist/assets/{NoDataTable-DVe7sQhD-BBvSxmca.js → NoDataTable-BnwGiTCu-DdjmD7IA.js} +1 -1
- package/dist/assets/{NotFoundPage-B1XCmhSe-Bswe3x_k.js → NotFoundPage-Ds5RxwiG-CAZIdfn2.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-BaN20EGV-Jcu5M-rf.js → NotificationSettingsPage-CeWmIGY8-DtH4x4Zr.js} +30 -30
- package/dist/assets/NotificationsListConfig-_L5Loigk-C2rXa9XH.js +1 -0
- package/dist/assets/{NotificationsPage-C9efAgjo-AlTPK97H.js → NotificationsPage-DYE-ZefG-CQb2VS6_.js} +40 -40
- package/dist/assets/OpExByVendorPage-Br2UmBAk-C4xtYWdA.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-DvH5zFFZ.js → OverlayContainerPage-D4QU0p4o-C2DruCao.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CXtJhnA_-iJiggxC0.js → PandLWithForecastPage-vAvSbwIq-D4RAUyzB.js} +13 -13
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-uyk9ZZRm.js → PaymentAccountSetupBillingAddressSection-2cz94sYW-D8fR2crL.js} +14 -14
- package/dist/assets/PeoplePage-DSSY4CbY-CUJyHd04.js +727 -0
- package/dist/assets/{Preview-CoirdzrN.js → Preview-DH9wlYN4.js} +1 -1
- package/dist/assets/{ProductsCarousel-ufZlh7Rx-STTMhn6O.js → ProductsCarousel-JcjsFk4w-xghMAqt2.js} +7 -7
- package/dist/assets/{PromoBaseCards-D2UbhBhT-B3nRp3gI.js → PromoBaseCards-D8xPcjkz-DtK0GWHd.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-BrQ71F06-EpGzmSYw.js → QBOConnectionDialog-KDwylUf5-DEEWOQtl.js} +6 -6
- package/dist/assets/QBOSetupSection-Dts3QjOd-CSmveDbb.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Dz5HZk-8--6Vs9cIS.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-NbE0JcCj.js → ReimbursementApprovalRulesPage-BcmW2ws5-Che0m033.js} +11 -11
- package/dist/assets/ReimbursementDetailPage-BdJYqqCn-CYh1sneh.js +314 -0
- package/dist/assets/ReimbursementPromoPage-B7nNFf49-09B6QAJH.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-dqwxz6WG.js → ReimbursementSetUpPage-B6l3L19G-D3utfB62.js} +13 -13
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DyrixQpU.js → ReimbursementsBulkReviewDrawerPage-BjiqrxQ2-DWSGEIbO.js} +1 -1
- package/dist/assets/{ReloadCard-vAhL7B8U-Byu7tcBj.js → ReloadCard-pCquFw6w-C5Nq3bfI.js} +8 -8
- package/dist/assets/{ReportTableViewSelector-Y97ney3W-ChUmdWxl.js → ReportTableViewSelector-BOA9cxem-D95Rl8Pv.js} +28 -28
- package/dist/assets/{ReportsPage-DKM0gVzR-CJveAb23.js → ReportsPage-BOsLdYhx-DZO6PKlQ.js} +4 -4
- package/dist/assets/{RevenueChart-BEjDS1u4-BbPYev-x.js → RevenueChart-DPse5Wdo-AFfFtyYx.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-BlQLrN9z-eEn9iGLz.js → ReviewDetailsPage-DTCm09MF-BtzB7MPB.js} +53 -53
- package/dist/assets/{ReviewOverlay-Bn3TFqfi-O6NbaoDZ.js → ReviewOverlay-B2XV0Wf1-9HOJu6NK.js} +25 -25
- package/dist/assets/RoleWithToolTip-DpaXFRka-BbRU76xe.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-HZszSQpF.js → ScheduleDetailsFixedAssetsPage-DLpikyWD-kK0JFjhN.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-CVCxLNNn.js → ScheduleDetailsPage-DIvnRAi6-CXakgTSA.js} +8 -8
- package/dist/assets/{ScheduleSequenceTable-D-rZ4ftr-CrLLNfgO.js → ScheduleSequenceTable-O93ZenyD-DnPGdohK.js} +44 -44
- package/dist/assets/{ScreenRoutes-BI5VdJ1u.js → ScreenRoutes-uNOGWUGZ.js} +33 -33
- package/dist/assets/{SetUpAccountSection-CoVrSSYL-Cz_V0ppu.js → SetUpAccountSection-Dl68db5l-B4jqgZUp.js} +5 -5
- package/dist/assets/SignIn-D6twztsA-CW5yhgyV.js +491 -0
- package/dist/assets/SignInScreen-CxdUYlBE.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-D3eISFuA-A-aeBT_y.js → SpendManagementListViewPage-DsTTqmEx-yOHixb_V.js} +21 -21
- package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-jknB6oUt.js → SpendManagementPerTabPage-Dt9HEmXn-CJK-wCrp.js} +13 -13
- package/dist/assets/{SpendManagementSection-D8rBpC-y-C-1Tmmxs.js → SpendManagementSection-DbsdVrJv-B_c96ZIs.js} +23 -23
- package/dist/assets/StatementItem-D1vvnzNl-lXFrHXXQ.js +31 -0
- package/dist/assets/StatementsPage-XAVpAiKL-Ch4pndMa.js +58 -0
- package/dist/assets/{StatusSwitcher-B9MARTyR-uN5xb-gX.js → StatusSwitcher-B4EYXc0F-D3lCfolE.js} +5 -5
- package/dist/assets/{SubTabSwitcher-C3rtSwro-Ck4vI9j3.js → SubTabSwitcher-CM9v4rRl-lIA1fOJE.js} +3 -3
- package/dist/assets/{SummaryCard-CShVbqhj-C0mR12Rj.js → SummaryCard-CF9Nbk_i-CKrtYMiz.js} +1 -1
- package/dist/assets/TaskManagementPage-ChTC8Nzf-c9kZ-1iP.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-8rb8PRgV.js → TimeRangeSwitcher-37ytEy0X-BPg3_wjC.js} +2 -2
- package/dist/assets/TimeframeSwitcher-Ca28fZEt-4kauNdEu.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-BSWY0nMa-u1tKN6th.js +31 -0
- package/dist/assets/{TopExCard-dI_WEGWb-CkfKmcqH.js → TopExCard-DHDNaLww-Cp9pW08N.js} +11 -11
- package/dist/assets/{TopExDetailPage-BWy5E8Lp-DoEOTa6r.js → TopExDetailPage-DFzrCiVG-BvTfiPwy.js} +14 -14
- package/dist/assets/{TransactionActivityLogPage-DjhEIUYm-CVk9j3q-.js → TransactionActivityLogPage-DcbQgckT-BCk9nFR3.js} +23 -23
- package/dist/assets/TransactionDetailPage-BCTtqHfm-n6NqpKTK.js +903 -0
- package/dist/assets/{TransactionList-80KjM8Kg-DZ_flqbd.js → TransactionList-DVFUdewa-8p0Xausj.js} +20 -20
- package/dist/assets/{TransactionListBig-DWQXH4ID-BE0-yEmC.js → TransactionListBig-Daypmugt-AiYr5uVw.js} +20 -20
- package/dist/assets/TransactionListPage-CzwkHzb_-Dnj7c_uL.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-DE1VmPu5.js → TransactionVendorDetailPage-BsKafcmj-QLBH3pzt.js} +16 -16
- package/dist/assets/{TransferDrawerPage-6z-MoZZP-mZshzkdg.js → TransferDrawerPage-DyFcSYZt-7PU8dYYK.js} +35 -35
- package/dist/assets/{TreasuryOverviewPage-CF_ter0o-BmiahUtt.js → TreasuryOverviewPage-BPkFbqCZ-BGWLrsqk.js} +28 -28
- package/dist/assets/{TreasuryPromoPage-Do-PTcjI-T5HTleFc.js → TreasuryPromoPage-pEVzLiB4-CckQ4gPa.js} +19 -19
- package/dist/assets/{TreasuryStatementsPage-l_HC4zsb-lW4e98bP.js → TreasuryStatementsPage-izaxVrJg-BOmcBurT.js} +1 -1
- package/dist/assets/TreasuryTaxLetterPage-DIa79RKC-BaoTF3DV.js +58 -0
- package/dist/assets/{TrendChart-C6B61CAm-ccvYw3Dl.js → TrendChart--F9P_tcq-CTI_f8th.js} +3 -3
- package/dist/assets/{TrendWithTransactions-Bp3vhaPa-DKvam-cU.js → TrendWithTransactions-B0R1TMMK-BIx_Ucxw.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-V_1ur7kN.js → UncategorizedAccountsMappingPage-CToVvQYm-DSBjQ-vG.js} +10 -10
- package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-B3EZbw6Q.js → UnitIntegrationPage-DGmrRY2v-CpdFvEi5.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-B3JZwTBb-DawOCnY-.js +38 -0
- package/dist/assets/Vendor2FAPopup-BRMPwclY-C7lmw7U-.js +1 -0
- package/dist/assets/VendorACHDetailsPage-FgtLHn1A-BN5W-Bsc.js +1 -0
- package/dist/assets/{VendorDetailPage-C4g_Gfsl-DfxhJWr1.js → VendorDetailPage-DTQ-KiJz-BjFrWJYo.js} +90 -90
- package/dist/assets/VendorDomesticWireDetailsPage-yy6bXxb9-D2ssuNks.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-C82dbC0z.js → VendorFiling1099EditablePage-z9q_fohc-ld-WK3qa.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-DTOwONia-CpI3YCe1.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-BmpQ62rU.js → VendorInternationalWireDetailsPage-DR-BKbDb-DaH2MsUT.js} +15 -15
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DK94_VqZ-DJpWsPVZ.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BT-RADSV-CZeFwZz5.js → VendorsAccountsSection-CWyBBs2G-BHKKM3ME.js} +3 -3
- package/dist/assets/{VerifyDevice-Cxc9CVMi-BL8Egn6k.js → VerifyDevice-CG1Qj4Lm-DigRc0-f.js} +4 -4
- package/dist/assets/{VideoPlayer-9UkKMhGy-C8Jc8YBV.js → VideoPlayer-BdIPlzSd-DYXLi2NY.js} +2 -2
- package/dist/assets/{VideoPopup-rfiYmtio-B4L2ZckC.js → VideoPopup-W2U47mhU-BbkemVhS.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-DrUA4asI-BBme1los.js → WarningsDrawerPage-D0aOjGDf-CAbcgcID.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-K016HgQt-D8aykdnG.js → ZeniAccountDetailPage-DJyYOR4V-DHVbCPEu.js} +13 -13
- package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-ZWNmYkTh.js → ZeniAccountListViewPage-BTOIvLCF-mMpckNBs.js} +21 -21
- package/dist/assets/ZeniAccountNavBarPieces-vGgpCYIn-BMTL2XMu.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-D6O2YpV6.js → ZeniAccountPromoPage-DYxM2WNa-jQgPA6gu.js} +23 -23
- package/dist/assets/{ZeniAccountSetupPage-BubBgkoa-BpRQpJq9.js → ZeniAccountSetupPage-DUq-PiMf-DWgEim6l.js} +3 -3
- package/dist/assets/{ZeniCopyright-BxIwmms--C95f1QNY.js → ZeniCopyright-Chrw_zb6-BKj6eUA-.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DVJ0puXA-C0zCo5eT.js → ZeniTransferAmountSlider-CuZPJv1--DR9FZtFU.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-DHGXNW7A.js → add-to-wallet-DgdBD8_G-B2IvxXWv.js} +1 -1
- package/dist/assets/{analytics-DRAIIXch.js → analytics-DtwjxHiX.js} +1 -1
- package/dist/assets/{analyticsHelper-CT5zOInj-DuapFtcv.js → analyticsHelper-BqOb8jb5-CGkPFK_O.js} +1 -1
- package/dist/assets/analyticsHelper-j8OuskUt.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CWU-GbXg.js → arrow-south-east-round-PEovUgvH-BA8Ep9QS.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CbUcm6tD.js → auto-transfer-rule-mbafm5D3-HGlxBiye.js} +1 -1
- package/dist/assets/{chartTypes-Ddw_3-6f-OViFz2fj.js → chartTypes-kba3vib6-DZ27Jj39.js} +1 -1
- package/dist/assets/commonDimensions-D0kIxeo5-RDa02x_3.js +1 -0
- package/dist/assets/{commonTypes-B-foaEwJ-B7UyHR11.js → commonTypes-0d0JMX8y-CalDLikD.js} +1 -1
- package/dist/assets/{constants-ov1sZD-8.js → constants-CE9jAcY0.js} +1 -1
- package/dist/assets/{core-DTkIP9TV.js → core-XvwDdaId.js} +1 -1
- package/dist/assets/{dash.all.min-Bt5zmw-k.js → dash.all.min-CrBcFpeF.js} +1 -1
- package/dist/assets/{detailCommon-Cpgf9GLg-1WCjE92a.js → detailCommon-ttGeF18U-BSDu3BLp.js} +4 -4
- package/dist/assets/downloadPdf-DX8GL4Ja-x4buR44L.js +1 -0
- package/dist/assets/{empty-_n93FfZv.js → empty-Bl-Hsev3.js} +1 -1
- package/dist/assets/{empty-CeGcB9xa.js → empty-y-VvSSjQ.js} +1 -1
- package/dist/assets/epic-BbATrl1e.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-D96tOflH.js → gift-box-Cmt9OgIZ-D1YJhnVt.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-2POgqjOa.js → graphic-no-data-l-DU4J8fDt-DPnV1HVO.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-PUK4CMqN.js → graphic-no-data-net-burn-l-CzmycA0m-eKmdez3u.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-bjRX7vgu.js → handshake-BPg58FML-CaQoUCG-.js} +1 -1
- package/dist/assets/{helper-DP3YY99s-BW2j4jJ8.js → helper-YFgDgQKT-BC5Bdlf5.js} +2 -2
- package/dist/assets/{index-BhMHzjtQ.js → index-BqGj3wsF.js} +1 -1
- package/dist/assets/{index-CK3umv0l.js → index-DAtPGjek.js} +1 -1
- package/dist/assets/{index-Dkuq8pxE.js → index-DQrFoID0.js} +1 -1
- package/dist/assets/{index-BZzvu_l6.js → index-DfiMoEY6.js} +1 -1
- package/dist/assets/{index-Dn4fsqrg.js → index-Dfs8yBxm.js} +3775 -3751
- package/dist/assets/{index-DDju9VB3.js → index-P3m51nfg.js} +1 -1
- package/dist/assets/{index-Dt5nJuRT.js → index-vpntWUJx.js} +1 -1
- package/dist/assets/{lexical-BiXOi-Hk.js → lexical-Huj_vwAQ.js} +1 -1
- package/dist/assets/{liveblocks-CN1Pe_iM.js → liveblocks-DO6Nvzzd.js} +1 -1
- package/dist/assets/{lottie-D0Yki-KW.js → lottie-Brfg_siY.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DuIK129X-C7sz-zfO.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-uH_Ogwdr.js → mapSectionWithAcOnlyToTreeNode-Co-aYc3j-BzIgtJky.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-COaFWgJv-CpUvCKfW.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-330OiGav-D2arADsc.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-J3b1nb_T-CzCSY_0J.js → mapTimeframeBalancesToTreeNode-CATud2li-D_4USxAl.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-75iAo6WN.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CpFBbrhT-D6BhbnL-.js} +1 -1
- package/dist/assets/{mui-t9zesPMq.js → mui-BoUXdMXW.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CnQe9dJ6.js → page-detail-CWX5S47F-slNOFFuo.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CXz-zqFv.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-D_KNQBWB.js → radio-default-CiSgisfh-8S_K4aeU.js} +1 -1
- package/dist/assets/{react-D5jt5O9g.js → react-B6Zv-pk5.js} +1 -1
- package/dist/assets/{react-Chk4J137.js → react-BEh8f-x0.js} +1 -1
- package/dist/assets/{react-DHDdhtnS.js → react-BM1bLfCE.js} +1 -1
- package/dist/assets/{react-HlghPMEn.js → react-CGUy3-Ee.js} +1 -1
- package/dist/assets/{react-CSiX3uCa.js → react-ClpUcFhc.js} +3 -3
- package/dist/assets/{react-B7247BHH.js → react-D2vJQnJN.js} +1 -1
- package/dist/assets/{react-CZ_HQvRg.js → react-D4fY6Hdc.js} +1 -1
- package/dist/assets/{react-6mE6xEOR.js → react-eG3wjELA.js} +2 -2
- package/dist/assets/{recharts-Cg59vN3o.js → recharts-Dx_NgewX.js} +1 -1
- package/dist/assets/{sentry-BKz9JNP2.js → sentry-Dje-_Mky.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CcQ6zo-4.js → shield-DOlUxcFf-DsKmOO4l.js} +1 -1
- package/dist/assets/toCOABalancesWithID-iCDy3BRW-D-QioPYy.js +1 -0
- package/dist/assets/{toChartData-BEjMhb7--hljEyiCG.js → toChartData-CLrjl2HT-B5rnppiY.js} +1 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-CkewT8By.js +1 -0
- package/dist/assets/{uploadAttachment-DUpHzqMe-BJrE9eqG.js → uploadAttachment-_EPHKVvJ-BI-TRaFx.js} +22 -22
- package/dist/assets/uploadReceipts-Dge0cNF1-dznVP6mr.js +1 -0
- package/dist/assets/{url-D2VKambj.js → url-C9Sf7nFb.js} +1 -1
- package/dist/assets/{url-Bp3DApux.js → url-qAerZ0OB.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DtC1Ioqh.js → useLongPress-GCK2COYQ-Dg3J9wpe.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BblEFC3h.js → usp-line-BBd1wKwW-19qrO-Ih.js} +1 -1
- package/dist/assets/{utils-BjuPsonu.js → utils-CyvMfhu-.js} +1 -1
- package/dist/assets/{zeni-epic-state-D4InWuWM.js → zeni-epic-state-DjuGgMVt.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-D2Xav-UW-is9JM5m9.js +0 -21
- package/dist/assets/AccountInfoPage-B8-8kUGD-B2Z0UV7R.js +0 -18
- package/dist/assets/AccountLockedInfoModal-aukulrV7-CdYEAqiv.js +0 -59
- package/dist/assets/AccountRow-BiEYR4Y1-hWgp6D7v.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-FEHxMu-0.js +0 -6
- package/dist/assets/ApAgingDetailPage-BRYQMwo2-BhXpwRj9.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-BkvXbvGU.js +0 -47
- package/dist/assets/BillPayPromoPage-BMcP4EU5-Be0hFWHi.js +0 -84
- package/dist/assets/BillingSettingsPage-GtRUqSZm-uYwUUCLC.js +0 -44
- package/dist/assets/ChargeCardPromoPage-C4cgx2gm-C0uZqtCo.js +0 -222
- package/dist/assets/ConfettiBurst-CdB5fRMt-Bh6yJ_JE.js +0 -1
- package/dist/assets/CurrencySelectField-BDqU4HVy-8fNMSxy8.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-D3uhIFOz.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-CXIflV0T.js +0 -12
- package/dist/assets/EditPeoplePage-pi5RclAj-Xf9KGbVz.js +0 -55
- package/dist/assets/EntityDetailPage-OTKTVNMD-wQz23B_S.js +0 -18
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-BtN-CwTS.js +0 -1703
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-CSD-6H67.js +0 -291
- package/dist/assets/InsightsSection-D-oCmrir-DMVggX2r.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-BKi6QeHP.js +0 -65
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-BmOpdSP1.js +0 -12
- package/dist/assets/InvoiceUploadSection-C8hytmay-Q3VhOkPv.js +0 -140
- package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-4XGB8sMk.js +0 -16
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-obiM30eu.js +0 -41
- package/dist/assets/LinkJETransactionPage-BhV2MnCY-D_XP8_tQ.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-6ODQvSli.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-v0nk__55.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-Crch1oAl.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-HiPw3lTM.js +0 -31
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-D1brM7Kg.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DMz-6h9F-C6nrIT8O.js +0 -85
- package/dist/assets/NavBarWithPicker-D8WNahg--DvxXKLde.js +0 -30
- package/dist/assets/NoDataChart-CyYJ6icu-2mAZGTKF.js +0 -26
- package/dist/assets/NotificationsListConfig-BOW_TmPC-CVA0OePe.js +0 -1
- package/dist/assets/OpExByVendorPage-DXeBU3-z-BAHAWgTa.js +0 -100
- package/dist/assets/PeoplePage-DXC2CtOt-mv-o3ADV.js +0 -675
- package/dist/assets/QBOSetupSection-EOFscEW--Bv7YFpyw.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BZg3FS4x.js +0 -32
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-BNHQvvJm.js +0 -314
- package/dist/assets/ReimbursementPromoPage-DXTAY8c7-CKYJHwk8.js +0 -84
- package/dist/assets/RoleWithToolTip-DhBFvJea-CE-fnoX1.js +0 -22
- package/dist/assets/SignIn-BoAejo7r-B94hTR-u.js +0 -491
- package/dist/assets/SignInScreen-Buf8ytnC.js +0 -1
- package/dist/assets/StatementItem-Cu6dlAsl-CDLaPyDW.js +0 -31
- package/dist/assets/StatementsPage-DiY2BOcu-B6GmkSJH.js +0 -58
- package/dist/assets/TaskManagementPage-RVS8nv0n-COSQr7oX.js +0 -508
- package/dist/assets/TimeframeSwitcher-CW08yYgo-DItR-hmf.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BNxNq2Fx.js +0 -31
- package/dist/assets/TransactionDetailPage-CuxqQd8U-DudRnP0L.js +0 -903
- package/dist/assets/TransactionListPage-DC08rCC9-BH2tNBEd.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-BocC7iP6.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51--wE36xQn.js +0 -38
- package/dist/assets/Vendor2FAPopup-DezpDfp8-DYoXoZ-w.js +0 -1
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-DCuFNH9E.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-C9y2vQ83.js +0 -1
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-BFYB3Xlk.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-Bh98y6ga.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-LquZb6Na.js +0 -14
- package/dist/assets/analyticsHelper-phLK40GK.js +0 -1
- package/dist/assets/commonDimensions-ClmbdehE-Dimgn1GD.js +0 -1
- package/dist/assets/downloadPdf-DfRYmfsd-BPDfRxDH.js +0 -1
- package/dist/assets/epic-DsVPiFFV.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-DTMOlF67.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-Dgoksvb9.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-CI9abIWE.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-gaxwl0V_.js +0 -4
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-B1iz_AL6.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-0LNQ1d67.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e,o as a,F as E,y as c,x as Ye,c as dt,ba as ut,aq as ft,R as be,ai as De,al as fe,aR as ce,fD as pt,a9 as Xe,cG as mt,aZ as ht,aP as gt,p as J,ac as qe,fH as ke,fI as Ae,gf as wt,bU as ye,g9 as xt,hH as $t,u as o,fr as bt,cj as Ue,c1 as Dt,f3 as yt,bL as Tt,am as Ge,fU as Ct,dv as St,c3 as Je,g_ as vt,g$ as kt}from"./index-Dn4fsqrg.js";import{a as u}from"./sentry-BKz9JNP2.js";import{n}from"./mui-t9zesPMq.js";import{bL as At}from"./zeni-epic-state-D4InWuWM.js";import{v as Pt}from"./ZeniTransferAmountSlider-DVJ0puXA-C0zCo5eT.js";import{r as Lt}from"./AccountInfoPageContent-BS2TBUSE-vsGLXorb.js";import"./liveblocks-CN1Pe_iM.js";import"./core-DTkIP9TV.js";import"./recharts-Cg59vN3o.js";import"./lottie-D0Yki-KW.js";import"./analytics-DRAIIXch.js";import"./lexical-BiXOi-Hk.js";import"./utils-BjuPsonu.js";import"./downloadPdf-DfRYmfsd-BPDfRxDH.js";import"./commonDimensions-ClmbdehE-Dimgn1GD.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]="1b1893f6-62ae-449b-9552-690832905e23",e._sentryDebugIdIdentifier="sentry-dbid-1b1893f6-62ae-449b-9552-690832905e23")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",He="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),Y(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&H?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(Nt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(He),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),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(Ut,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Ht,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
1
|
+
import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e,o as a,F as R,x as c,a as Ne,d as dt,ba as ut,ar as ft,b as be,aj as De,am as fe,aR as ce,fE as pt,a9 as Xe,cH as mt,aZ as ht,aQ as gt,p as U,ad as He,fI as ke,fJ as Ae,gg as wt,bU as ye,ga as xt,hI as $t,u as o,fs as bt,cj as qe,c1 as Dt,f4 as yt,bL as Tt,an as Je,fV as Ct,dv as St,c3 as Ue,g$ as vt,h0 as kt}from"./index-Dfs8yBxm.js";import{a as u}from"./sentry-Dje-_Mky.js";import{n}from"./mui-BoUXdMXW.js";import{bL as At}from"./zeni-epic-state-DjuGgMVt.js";import{v as Pt}from"./ZeniTransferAmountSlider-CuZPJv1--DR9FZtFU.js";import{r as Lt}from"./AccountInfoPageContent-BAzd-LkX-BjwkJSBP.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./downloadPdf-DX8GL4Ja-x4buR44L.js";import"./commonDimensions-D0kIxeo5-RDa02x_3.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]="87de2a6b-abf8-4454-bd18-7c5ff0cc748d",e._sentryDebugIdIdentifier="sentry-dbid-87de2a6b-abf8-4454-bd18-7c5ff0cc748d")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ge="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:G,onReviewClick:K}){const i=ue(),E=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),N(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:H,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?H():z(!0)},[H,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&H()},[Y,H,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&G?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>H()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,H]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Yt,{children:q("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(He,{...P,children:t.jsxs(Mt,{id:Ke(Ge),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),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(qt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ut,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Ht,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
2
2
|
margin-top: ${a.sp3};
|
|
3
3
|
display: flex;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -17,30 +17,30 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
17
17
|
width: 100%;
|
|
18
18
|
justify-content: space-between;
|
|
19
19
|
padding: ${a.sp3} ${a.sp4};
|
|
20
|
-
background-color: ${
|
|
20
|
+
background-color: ${U.importantLight};
|
|
21
21
|
border-radius: ${a.sp2};
|
|
22
|
-
`,
|
|
22
|
+
`,Et=n.div`
|
|
23
23
|
display: flex;
|
|
24
24
|
align-items: flex-start;
|
|
25
|
-
`,
|
|
25
|
+
`,Rt=n.div``,Ot=n(bt)`
|
|
26
26
|
width: ${a.sp4};
|
|
27
27
|
height: ${a.sp4};
|
|
28
|
-
color: ${
|
|
28
|
+
color: ${U.important};
|
|
29
29
|
`,_t=n.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
flex-direction: column;
|
|
32
32
|
margin-left: ${a.sp2};
|
|
33
|
-
`,Vt=n(
|
|
34
|
-
color: ${
|
|
33
|
+
`,Vt=n(qe)`
|
|
34
|
+
color: ${U.important};
|
|
35
35
|
`,Wt=n(fe)`
|
|
36
|
-
color: ${
|
|
37
|
-
`,
|
|
36
|
+
color: ${U.important};
|
|
37
|
+
`,Yt=n(Dt)`
|
|
38
38
|
color: ${e=>e.theme.colors.primary};
|
|
39
39
|
margin: ${a.sp5} ${a.sp0} ${a.sp3} ${a.sp0};
|
|
40
40
|
`,je=n(yt)`
|
|
41
41
|
border-radius: ${a.sp2};
|
|
42
42
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
43
|
-
`,
|
|
43
|
+
`,Nt=n.div`
|
|
44
44
|
background-color: ${e=>e.theme.colors.background};
|
|
45
45
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
46
46
|
border-top: none;
|
|
@@ -55,20 +55,20 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
55
55
|
margin-bottom: ${a.sp3};
|
|
56
56
|
margin-top: ${a.sp3};
|
|
57
57
|
white-space: pre-line;
|
|
58
|
-
`,ze=n(
|
|
59
|
-
color: ${
|
|
58
|
+
`,ze=n(qe)`
|
|
59
|
+
color: ${U.success};
|
|
60
60
|
white-space: nowrap;
|
|
61
|
-
`,
|
|
61
|
+
`,Ht=n(Tt)`
|
|
62
62
|
width: ${a.sp3};
|
|
63
63
|
color: ${e=>e.theme.colors.hero};
|
|
64
64
|
height: ${a.sp3};
|
|
65
65
|
&:hover {
|
|
66
66
|
color: ${e=>e.theme.colors.primary};
|
|
67
67
|
}
|
|
68
|
-
`,
|
|
68
|
+
`,qt=n.div`
|
|
69
69
|
margin-bottom: ${a.sp6};
|
|
70
70
|
width: 90%;
|
|
71
|
-
`,
|
|
71
|
+
`,Jt=n.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
align-items: center;
|
|
74
74
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
@@ -77,7 +77,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
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
|
+
`,Ut=n.div`
|
|
81
81
|
display: flex;
|
|
82
82
|
flex-direction: row;
|
|
83
83
|
align-items: center;
|
|
@@ -106,12 +106,12 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
106
106
|
margin: 0 ${a.sp2};
|
|
107
107
|
background-color: ${e=>e.theme.colors.grey1};
|
|
108
108
|
border-radius: 50%;
|
|
109
|
-
`,
|
|
109
|
+
`,Gt=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"};
|
|
113
113
|
width: ${e=>e.windowSize==="small"?"100%":"unset"};
|
|
114
|
-
`,Kt=n(
|
|
114
|
+
`,Kt=n(Je)`
|
|
115
115
|
color: ${e=>e.theme.colors.hero};
|
|
116
116
|
`,Qt=n(Ct)`
|
|
117
117
|
cursor: pointer;
|
|
@@ -170,7 +170,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
170
170
|
display: flex;
|
|
171
171
|
flex-grow: ${e=>p.controllerWrapperFlex.value(e.size)};
|
|
172
172
|
align-items: flex-start;
|
|
173
|
-
`,na=n(
|
|
173
|
+
`,na=n(Ne)`
|
|
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,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
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(o[3],o[12]),buttonTrayGap:new c(o[4],o[5])},b=
|
|
182
|
+
`,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(o[3],o[12]),buttonTrayGap:new c(o[4],o[5])},b=R.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,ra=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:f,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:T,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:F,onEstablishConnectionClick:M,onBackClick:Z,onFetchLinkTokenClick:I,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:G,setCurrentDrawerContent:K,clearReviewTransferDetail:i,onReviewClick:E,setIsCalculatorOpen:V,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W})=>{const x=ue(),z=e.reviewTransferDetail,Y=e.transferDetailLocalData.transferFrom?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount",N=()=>e.transferDetailLocalData.transferFrom?.id!=null||e.transferDetailLocalData.transferTo?.id!=null||e.transferDetailLocalData.amount.amount>0;return t.jsx(sa,{windowSize:x,children:e.fetchState==="Completed"?t.jsxs(Re,{windowSize:x,isTransferCompleted:!0,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-transfer-success-close-button"),onClick:()=>{l("Cross","Transfer Success"),S?.()}})}),t.jsxs(da,{windowSize:x,children:[t.jsx(lt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(la,{children:Y?t.jsxs(t.Fragment,{children:[b.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(Ee,{children:q("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(Ee,{children:q("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(ca,{windowSize:x,children:[t.jsx(ve,{variant:"secondary",label:b.transferDrawer.anotherTransferBtn,"data-testid":A("another-transfer-button"),onClick:()=>{l("Another Transfer","Transfer Success"),W(0),V(!1),v(0),j(!1),F()},style:{minWidth:200}}),t.jsx(ve,{variant:"primary",label:b.transferDrawer.backToChecking,"data-testid":A("back-to-checking-button"),onClick:()=>{l("Back to Checking","Transfer Success"),S?.()},style:{minWidth:200}})]})]})]}):_?t.jsx(ct,{transferDetails:e,setCurrentDrawerContent:K,setShowReviewContent:G,onTransferClick:C,clearReviewTransferDetail:i,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(Re,{windowSize:x,isTransferCompleted:!1,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-amount-details-close-button"),onClick:()=>{l("Cross","Amount Details"),S?.()}})}),x==="small"?t.jsx(ua,{windowSize:x,children:b.transferDrawer.title}):t.jsx(fa,{children:b.transferDrawer.title}),x==="small"?t.jsx(ia,{children:b.transferDrawer.subTitle}):t.jsx(oa,{children:b.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(zt,{isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,onBackClick:Z,onSaveChangesToLocalStore:T,plaidConnectionDetails:O,transferDetails:e,zeniAccountsConfigDetail:f,onEstablishConnectionClick:M,onFetchLinkTokenClick:I,onReviewClick:E,setIsCalculatorOpen:V,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),N()?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ke(Ge),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:R.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:b.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},oa=n(fe)`
|
|
183
183
|
color: ${e=>e.theme.colors.hero};
|
|
184
184
|
`,ia=n(De)`
|
|
185
185
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -193,9 +193,9 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
193
193
|
`,la=n(dt)`
|
|
194
194
|
color: ${e=>e.theme.colors.primary};
|
|
195
195
|
text-align: center;
|
|
196
|
-
`,
|
|
196
|
+
`,Ee=n(ut)`
|
|
197
197
|
display: inline;
|
|
198
|
-
`,
|
|
198
|
+
`,Re=n.div`
|
|
199
199
|
height: ${e=>e.isTransferCompleted?"100%":"auto"};
|
|
200
200
|
padding-left: ${e=>`${re.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
201
201
|
padding-right: ${e=>`${re.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
@@ -223,7 +223,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
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
|
-
`,_e=n(
|
|
226
|
+
`,_e=n(Ne)`
|
|
227
227
|
cursor: pointer;
|
|
228
228
|
color: ${e=>e.theme.colors.hero};
|
|
229
229
|
width: ${a.sp4};
|
|
@@ -241,10 +241,10 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
241
241
|
color: ${e=>e.theme.colors.primary};
|
|
242
242
|
margin-top: ${a.sp3};
|
|
243
243
|
margin-bottom: ${a.sp2};
|
|
244
|
-
`,
|
|
244
|
+
`,J={accountRowLeftRightPadding:new c(o[3],o[3]),zeniAccountListPaddingBottom:new c(o[3],o[6]),navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(o[3],o[6],o[8]),containerPaddingRight:new c(o[3],o[6],o[8])},Ve="wireTransferDetailPage",We=e=>`${e}_form`,pa=R.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,we=R.getLocalizedStrings().common,ma=e=>t.jsx(va,{color:vt(e)}),ha=({depositAccountListView:e,setCurrentDrawerContent:r,selectedAccount:g,setShowWireAccountInfo:$,setSelectedAccount:y,fireTrackTransferBetweenAccountsFormClicked:w})=>{const d=Xe({mode:"all",reValidateMode:"onChange",defaultValues:{selectedAccountId:g?.id}}),f=ue();return u.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(xt,{fetchState:e.fetchState}):t.jsxs(t.Fragment,{children:[t.jsxs(ga,{windowSize:f,children:[t.jsx(Ca,{windowSize:f,children:t.jsx(ye,{style:{marginTop:a.sp1},title:we.navBar.back,enterDelay:600,placement:"bottom",children:t.jsx(Ta,{"data-testid":A("select-zeni-account-back-button"),onClick:()=>{w("Back","Select Account for Split Transfer"),r("achTransfer")}})})}),t.jsx(Sa,{windowSize:f,children:pa.selectYour}),t.jsx(He,{...d,children:t.jsx("form",{id:We(Ve),onSubmit:d.handleSubmit(()=>{w("Next","Select Account for Split Transfer"),$(!0)}),children:t.jsx(ya,{windowSize:f,children:e.depositAccounts.map((l,T)=>t.jsx(Da,{isClickEnabled:!0,windowSize:f,"data-testid":A("deposit-account-click",l.id),onClick:()=>d.setValue("selectedAccountId",l.id),children:t.jsxs(wa,{children:[t.jsx($t,{name:"selectedAccountId",id:l.id,value:l.id,radioSize:"small",style:{marginRight:8}}),ma(T),t.jsxs(xa,{children:[t.jsx(ba,{windowSize:f,children:l.accountName}),t.jsx($a,{children:q("0,0[.]00",l.accountBalance?.available)})]})]})},l.id))})})})]}),g!=null?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:We(Ve),cancelBtn:{label:we.cancel,onClick:()=>{w("Cancel","Select Account for Split Transfer"),r("achTransfer")},style:{width:93}},primaryBtn:{label:we.next,style:{width:93}}}):null]})},ga=n.div`
|
|
245
245
|
height: auto;
|
|
246
|
-
padding-left: ${e=>`${
|
|
247
|
-
padding-right: ${e=>`${
|
|
246
|
+
padding-left: ${e=>`${J.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
247
|
+
padding-right: ${e=>`${J.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
248
248
|
margin-bottom: auto;
|
|
249
249
|
`,wa=n.div`
|
|
250
250
|
display: flex;
|
|
@@ -257,7 +257,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
257
257
|
overflow: hidden;
|
|
258
258
|
position: relative;
|
|
259
259
|
top: 2px;
|
|
260
|
-
`,$a=n(
|
|
260
|
+
`,$a=n(Je)`
|
|
261
261
|
color: ${e=>e.theme.colors.grey1};
|
|
262
262
|
position: relative;
|
|
263
263
|
top: -${a.sp1};
|
|
@@ -267,8 +267,8 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
267
267
|
text-transform: capitalize;
|
|
268
268
|
overflow: hidden;
|
|
269
269
|
`,Da=n.div`
|
|
270
|
-
padding-left: ${e=>
|
|
271
|
-
padding-right: ${e=>
|
|
270
|
+
padding-left: ${e=>J.accountRowLeftRightPadding.valuePx(e.windowSize)};
|
|
271
|
+
padding-right: ${e=>J.accountRowLeftRightPadding.valuePx(e.windowSize)};
|
|
272
272
|
background: ${e=>e.theme.colors.grey5};
|
|
273
273
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
274
274
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal} `};
|
|
@@ -285,8 +285,8 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
285
285
|
color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.hero};
|
|
286
286
|
}
|
|
287
287
|
`,ya=n.div`
|
|
288
|
-
padding-bottom: ${e=>
|
|
289
|
-
`,Ta=n(
|
|
288
|
+
padding-bottom: ${e=>J.zeniAccountListPaddingBottom.valuePx(e.windowSize)};
|
|
289
|
+
`,Ta=n(Ue)`
|
|
290
290
|
cursor: pointer;
|
|
291
291
|
color: ${e=>e.theme.colors.hero};
|
|
292
292
|
width: ${a.sp4};
|
|
@@ -302,7 +302,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
302
302
|
align-items: center;
|
|
303
303
|
width: 100%;
|
|
304
304
|
top: ${a.sp0};
|
|
305
|
-
padding: ${e=>`${
|
|
305
|
+
padding: ${e=>`${J.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
|
|
306
306
|
z-index: 2;
|
|
307
307
|
background-color: ${e=>e.theme.colors.grey4};
|
|
308
308
|
`,Sa=n(be)`
|
|
@@ -315,7 +315,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
315
315
|
margin-right: ${a.sp2};
|
|
316
316
|
padding: 12px ${a.sp0};
|
|
317
317
|
box-sizing: content-box;
|
|
318
|
-
`,{common:{navBar:{back:ka}}}=
|
|
318
|
+
`,{common:{navBar:{back:ka}}}=R.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(o[0],o[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(o[3],o[0]),navBarContainerMarginLeftRight:new c(o[0],o[8]),descriptionMarginLeftRight:new c(o[0],o[8]),accountInfoPageWrapperMarginLeft:new c(o[0],o[8]),accountInfoPageWrapperMarginRight:new c(o[0],o[5]),accountInfoPageWrapperMarginBottom:new c(o[5],o[8])},xe=R.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,Aa=({authParams:e,downloadAccountDetailEndPoint:r,depositAccount:g,zeniAccountsConfigDetail:$,currentTenant:y,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:f})=>{const l=ue();return t.jsxs(t.Fragment,{children:[t.jsxs(La,{windowSize:l,children:[t.jsx(za,{windowSize:l,children:t.jsx(ye,{title:ka,enterDelay:600,placement:"bottom",children:t.jsx(ja,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),f(!1)}})})}),t.jsx(Ma,{windowSize:l,children:xe.wireInstruction.replace("__accountName__",g.accountName)}),t.jsx(Ba,{windowSize:l,children:t.jsx(Fa,{children:xe.wireTransferDescriptionLine1})}),t.jsx(Pa,{windowSize:l,children:t.jsx(Lt,{authParams:e,downloadAccountDetailEndPoint:r,currentTab:"wireDetails",zeniAccountsConfigDetail:$,currentTenant:y,depositAccount:g})})]}),t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},cancelBtn:{label:""},primaryBtn:{label:xe.backToChecking,onClick:()=>{d("Back to Checking","Wire Transfer Details"),w()}},showCancel:!1,showPrimaryButton:!0})]})},Pa=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)}`};
|
|
@@ -323,7 +323,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
323
323
|
height: auto;
|
|
324
324
|
padding: ${e=>`${a.sp0} ${L.pageContentPaddingLeftRight.valuePx(e.windowSize)}`};
|
|
325
325
|
margin-bottom: auto;
|
|
326
|
-
`,ja=n(
|
|
326
|
+
`,ja=n(Ue)`
|
|
327
327
|
cursor: pointer;
|
|
328
328
|
color: ${e=>e.theme.colors.hero};
|
|
329
329
|
width: ${a.sp4};
|
|
@@ -352,7 +352,7 @@ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e
|
|
|
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
|
-
`,Ia=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[T,C]=u.useState(!1),[S,F]=u.useState(r.depositAccounts.find(M=>M.id===y));return T&&S!=null?t.jsx(Aa,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(ha,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},Qa=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:g,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:F,onTransferClick:M,onReviewClick:Z,onDismissClick:I,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:
|
|
355
|
+
`,Ia=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[T,C]=u.useState(!1),[S,F]=u.useState(r.depositAccounts.find(M=>M.id===y));return T&&S!=null?t.jsx(Aa,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(ha,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},Qa=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:g,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:F,onTransferClick:M,onReviewClick:Z,onDismissClick:I,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:G,clearReviewTransferDetail:K,onFetchLinkTokenClick:i,plaidConnectionDetails:E})=>{const[V,j]=u.useState(!1),[m,v]=u.useState(!1),[W,x]=u.useState(0),[z,Y]=u.useState(0),[N,Q]=u.useState(0),oe=()=>{const X=(ee,ie)=>T.trackTransferBetweenAccountsFormClicked(ee,ie,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(ra,{transferDetails:e,isCalculatorOpen:V,showAnnualYieldEarned:m,transferAmount:W,yieldEarned:z,totalBalance:N,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:X,onSaveChangesToLocalStore:F,onTransferClick:M,onDismissClick:I,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:G,onFetchLinkTokenClick:i,plaidConnectionDetails:E,setCurrentDrawerContent:C,clearReviewTransferDetail:K,onReviewClick:Z,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:Y,setTotalBalance:Q,maxInsuredAmount:$}):t.jsx(Ia,{zeniAccountsConfigDetail:r,depositAccountListView:g,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:y,downloadAccountDetailEndPoint:f,authParams:l,fireTrackTransferBetweenAccountsFormClicked:X,setCurrentDrawerContent:C,onDismissClick:I})};return t.jsx(Ea,{children:oe()})},Ea=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{J as C,
|
|
1
|
+
import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,ab as W,T as We,o as i,aj as k,F as L,p as w,bL as Ee,x as y,fl as X,z as B,u as p,b5 as ne,bP as Le,aU as Me,ax as Ge,fY as Ue,h5 as _e,r as Je,am as A,b0 as Xe,jt as qe,k5 as Ze,bh as Qe,eR as et,da as tt,fV as it,l3 as ot,j2 as Ae,j3 as Oe,cv as rt,iV as at,iW as nt,l4 as st,kg as lt,an as E,bS as dt,cB as le,j1 as ct,cE as ht}from"./index-Dfs8yBxm.js";import{a as f,P as pt}from"./sentry-Dje-_Mky.js";import{n as o,c as de}from"./mui-BoUXdMXW.js";import{bL as G,c4 as xt}from"./zeni-epic-state-DjuGgMVt.js";import{s as gt}from"./commonDimensions-D0kIxeo5-RDa02x_3.js";import{g as ce}from"./BoxItem-Qhw9iPt9-CzMCE4d7.js";import{o as mt}from"./shield-DOlUxcFf-DsKmOO4l.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-Dx_NgewX.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.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]="5097d687-5407-4734-aa5f-b943c46ebe9d",e._sentryDebugIdIdentifier="sentry-dbid-5097d687-5407-4734-aa5f-b943c46ebe9d")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -95,14 +95,14 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
95
95
|
cursor: pointer;
|
|
96
96
|
gap: 5px;
|
|
97
97
|
color: ${e=>e.theme.colors.primary};
|
|
98
|
-
`,
|
|
98
|
+
`,U={containerPaddingLeft:new y(p[3],p[4]),containerPaddingRight:new y(p[2],p[3]),containerPaddingTop:new y(p[2],p[3]),containerPaddingBottom:new y(p[2],p[3])};function At({data:e,boxType:r}){const{description:n,amount:h,status:l,date:a}=e,u=V("0,0.00",h),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),$=x[0].width,j=x[1].width,c=x[2].width,s=st(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Wt,{children:[t.jsxs(Gt,{children:[t.jsx(fe,{}),t.jsx(Ut,{children:t.jsx(_t,{children:t.jsxs(Jt,{children:[n,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(qt,{color:s?.color,children:s?.value})]}):null]})})})]}),t.jsx(Zt,{children:t.jsx(Qt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Et,{children:t.jsx(ei,{children:t.jsx($e,{children:u})})})]})});return t.jsx(ce,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(Ot,{windowSize:d,children:[t.jsxs(Rt,{windowSize:d,width:$,children:[t.jsx(fe,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:n}),l!=null&&l.code!=="completed"?t.jsxs(Yt,{windowSize:d,children:[t.jsx(Ft,{}),t.jsx(Nt,{color:s?.color,children:s?.value})]}):null]})]}),t.jsx(Bt,{windowSize:d,width:j,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(It,{windowSize:d,width:c,children:t.jsx($e,{children:u})})]});return t.jsx(ce,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const Ot=o.div`
|
|
99
99
|
width: 100%;
|
|
100
100
|
display: flex;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
102
|
-
padding-left: ${e=>
|
|
103
|
-
padding-right: ${e=>
|
|
104
|
-
padding-top: ${e=>
|
|
105
|
-
padding-bottom: ${e=>
|
|
102
|
+
padding-left: ${e=>U.containerPaddingLeft.valuePx(e.windowSize)};
|
|
103
|
+
padding-right: ${e=>U.containerPaddingRight.valuePx(e.windowSize)};
|
|
104
|
+
padding-top: ${e=>U.containerPaddingTop.valuePx(e.windowSize)};
|
|
105
|
+
padding-bottom: ${e=>U.containerPaddingBottom.valuePx(e.windowSize)};
|
|
106
106
|
box-shadow: ${e=>e.theme.mode==="dark"?`${w.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${w.dropShadowNormalLight}`};
|
|
107
107
|
border-radius: ${i.sp2};
|
|
108
108
|
justify-content: space-between;
|
|
@@ -115,14 +115,14 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
115
115
|
min-width: ${e=>e.width.valuePx(e.windowSize)};
|
|
116
116
|
padding-left: ${i.sp0};
|
|
117
117
|
box-sizing: border-box;
|
|
118
|
-
`,
|
|
118
|
+
`,Bt=o.div`
|
|
119
119
|
display: flex;
|
|
120
120
|
align-items: center;
|
|
121
121
|
width: ${e=>e.width.valuePx(e.windowSize)};
|
|
122
122
|
max-width: ${e=>e.width.valuePx(e.windowSize)};
|
|
123
123
|
min-width: ${e=>e.width.valuePx(e.windowSize)};
|
|
124
124
|
box-sizing: border-box;
|
|
125
|
-
`,
|
|
125
|
+
`,It=o.div`
|
|
126
126
|
display: flex;
|
|
127
127
|
align-items: center;
|
|
128
128
|
justify-content: flex-end;
|
|
@@ -202,11 +202,11 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
202
202
|
flex-direction: column;
|
|
203
203
|
align-items: flex-end;
|
|
204
204
|
margin-left: ${i.sp4};
|
|
205
|
-
`,
|
|
205
|
+
`,Gt=o.div`
|
|
206
206
|
display: flex;
|
|
207
207
|
align-items: flex-start;
|
|
208
208
|
margin-bottom: ${i.sp1};
|
|
209
|
-
`,
|
|
209
|
+
`,Ut=o.div`
|
|
210
210
|
display: flex;
|
|
211
211
|
flex-direction: column;
|
|
212
212
|
align-items: flex-start;
|
|
@@ -231,22 +231,22 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
231
231
|
margin-left: ${i.sp2};
|
|
232
232
|
margin-right: ${i.sp2};
|
|
233
233
|
vertical-align: middle;
|
|
234
|
-
`,
|
|
234
|
+
`,qt=o(E)`
|
|
235
235
|
display: inline;
|
|
236
236
|
color: ${e=>e.color};
|
|
237
237
|
white-space: nowrap;
|
|
238
|
-
`,
|
|
238
|
+
`,Zt=o.div`
|
|
239
239
|
display: flex;
|
|
240
240
|
align-items: center;
|
|
241
241
|
margin-top: ${i.sp1};
|
|
242
242
|
margin-left: ${i.sp6};
|
|
243
|
-
`,
|
|
243
|
+
`,Qt=o(E)`
|
|
244
244
|
color: ${e=>e.theme.colors.grey1};
|
|
245
245
|
text-align: left;
|
|
246
246
|
`,ei=o.div`
|
|
247
247
|
display: flex;
|
|
248
248
|
align-items: flex-start;
|
|
249
|
-
`,re={lastListItemHeight:new y(200,128),rowWrapperMarginLeftRight:new y(p[3],p[8])},{spendManagement:{chargeCard:ti},common:ii}=L.getLocalizedStrings(),oi=({transactionList:e,uiState:r,fetchState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>{const a=C(),u=f.useRef(null),d=f.useMemo(()=>a!=="small"?ot:gt+40,[a]),g=()=>d,x=a==="small"?Ae:Oe,$=f.useMemo(()=>e.length*d+x,[e.length,d,x]);f.useEffect(()=>{u.current?.resetAfterIndex(0)},[a]);const j=()=>n==="Error"?t.jsxs(di,{children:[t.jsx(ci,{onClick:h,"data-testid":W("treasury-list-reload"),children:t.jsx(hi,{})}),t.jsx(pi,{children:ii.reloadPage.label})]}):n==="Completed"&&e.length===0?null:t.jsx(
|
|
249
|
+
`,re={lastListItemHeight:new y(200,128),rowWrapperMarginLeftRight:new y(p[3],p[8])},{spendManagement:{chargeCard:ti},common:ii}=L.getLocalizedStrings(),oi=({transactionList:e,uiState:r,fetchState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>{const a=C(),u=f.useRef(null),d=f.useMemo(()=>a!=="small"?ot:gt+40,[a]),g=()=>d,x=a==="small"?Ae:Oe,$=f.useMemo(()=>e.length*d+x,[e.length,d,x]);f.useEffect(()=>{u.current?.resetAfterIndex(0)},[a]);const j=()=>n==="Error"?t.jsxs(di,{children:[t.jsx(ci,{onClick:h,"data-testid":W("treasury-list-reload"),children:t.jsx(hi,{})}),t.jsx(pi,{children:ii.reloadPage.label})]}):n==="Completed"&&e.length===0?null:t.jsx(Be,{children:t.jsx(xi,{windowSize:a,children:t.jsx(rt,{ref:u,height:$,itemCount:e.length,innerElementType:c=>ri(c,l,r,n),itemSize:g,estimatedItemSize:nt,itemKey:c=>e[c].id,width:"100%",overscanCount:at,initialScrollOffset:0,style:{overflow:"hidden"},children:c=>t.jsx(ni,{...c,transactionList:e})})})});return t.jsx(li,{fetchState:n,children:j()})},ri=(e,r,n,h)=>t.jsx(Re,{...e,onColumnSortConfigChanged:r,uiState:{sortKey:n.sortKey,sortOrder:n.sortOrder},fetchState:h}),Re=f.forwardRef((e,r)=>{const{children:n,style:h,uiState:l,onColumnSortConfigChanged:a,...u}=e;return t.jsxs(Be,{ref:r,style:{...h,width:"auto"},...u,children:[t.jsx(jt,{companyNameSticky:!1,onColumnSortConfigChanged:a,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),t.jsx(mi,{children:n})]})});Re.displayName=ti.cardList.headerElementDisplayName;const ai=({transactionList:e,fetchState:r,uiState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>t.jsx(oi,{transactionList:e,fetchState:r,onReloadCards:h,uiState:n,onColumnSortConfigChanged:l}),ni=({index:e,style:r,transactionList:n})=>{const h=C();return t.jsx(gi,{style:{...r,width:"100%",paddingLeft:re.rowWrapperMarginLeftRight.valuePx(h),paddingRight:re.rowWrapperMarginLeftRight.valuePx(h)},className:"spend-management-list-item",children:t.jsx(si,{transaction:n[e]})},"listItem"+n[e].id)},si=({transaction:e})=>t.jsx(At,{data:e,boxType:"roundedBox"},e.id),li=o.div`
|
|
250
250
|
margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
|
|
251
251
|
display: block;
|
|
252
252
|
height: 100%;
|
|
@@ -293,12 +293,12 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
293
293
|
position: relative;
|
|
294
294
|
width: auto;
|
|
295
295
|
height: 100%;
|
|
296
|
-
`,
|
|
296
|
+
`,Be=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],yi=e=>xt(e??"",ui),_=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:_.editPortfolio},{value:"taxLetter",label:_.taxLetter},{value:"statements",label:_.statements},{value:"settings",label:_.settings}],fi=({onOptionSelection:e,onTransferClick:r})=>{const n=Ge(),h=C(),l=L.getLocalizedStrings().spendManagement.treasury.overviewPage,a=n.loggedInUserRoleMap.treasury_user===!0||Ue(n),u=je.filter(g=>g.value==="statements"||g.value==="taxLetter"),d=M();return t.jsxs(wi,{isTopAlign:!1,children:[t.jsx(_e,{entity:"zeni_treasury",onOptionSelection:g=>{const x=yi(g);x!=null&&e(x)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:a?u:je}),!a&&(h==="small"?t.jsx($i,{onClick:r}):t.jsx(Je,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:r,label:l.transferFunds}))]})},wi=o.div`
|
|
297
297
|
display: flex;
|
|
298
298
|
flex-direction: row;
|
|
299
299
|
align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
|
|
300
300
|
gap: ${i.sp3};
|
|
301
|
-
`,$i=o(
|
|
301
|
+
`,$i=o(Ze)`
|
|
302
302
|
min-width: ${i.sp4};
|
|
303
303
|
width: ${i.sp4};
|
|
304
304
|
height: ${i.sp4};
|
|
@@ -311,7 +311,7 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
311
311
|
justify-content: center;
|
|
312
312
|
align-items: center;
|
|
313
313
|
background-color: ${e=>e.theme.colors.grey4};
|
|
314
|
-
`,P={tickLabelText:new I("extraSmallRegular","smallRegular"),balanceIntegerStyles:new I("h5Regular","h3Regular"),integerStyles:new I("largeRegular","h6Regular"),decimalStyles:new I("standardRegular","standardRegular"),fundSummaryStyles:new I("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new I("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new y(p[3],p[8]),accountDetailHeaderPaddingBottom:new y(p[3],p[6]),accountDetailHeaderPaddingLeft:new y(p[3],p[8]),accountDetailHeaderPaddingTop:new y(p[3],p[6]),accountDetailContentMarginTop:new y(p[4],p[4]),areaChartHeight:new y(114,209),accountDetailHeaderGap:new y(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:Q,common:bi}=L.getLocalizedStrings(),Be=f.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=f.useState(),a=f.useMemo(()=>{const s=U(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const O=D/6;let R;return O<.5?R=0:O<.6?R=.9*((O-.5)/.09999999999999998):R=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:R}})},[]),u=f.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=f.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=f.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=U(m[0].payload?.date??"").format(Q.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),$=f.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let O=!1;e.accountHistoryWithBalance.length>360&&(O=!0);const R=O?U(D).format(Q.visual.MMMformat):U(D).format(Q.visual.MMMDFormat);return t.jsx(Ii,{translateX:b,translateY:z,children:t.jsx(Fi,{windowSize:r,dy:20,dx:-25,children:R})})},[e.accountHistoryWithBalance.length,r]),j=f.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(Ui,{cx:s,cy:m,strokeWidth:1,r:p[1]})),[h]),c=f.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(eo,{children:[t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>$(s),interval:u,padding:{right:p[4]}}),t.jsx(ge,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(me,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(Zi,{children:v.noData})})]}):t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>$(s),padding:{right:p[4]},interval:c}),t.jsx(ge,{tick:!1,axisLine:!1}),t.jsx(ut,{position:h,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(me,{activeDot:j,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Be.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:h,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:u})=>{const d=C(),g=M(),x=Fe().analytics;Ke({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const $=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},j=e.accountSummary,c=f.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(qi,{children:[t.jsx(Qi,{children:v.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",j?.totalBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",j?.processingBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",j?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(Ye,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(yo,{}):t.jsx(Ne,{})})})},[j,d]),s=t.jsx(fi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Ri,{windowSize:d,children:t.jsx(Be,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(He,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Bi,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Ni,{})}),t.jsx(Yi,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(We,{size:"ExtraLarge",start:!0})})]})},He=f.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});He.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:h,fundsData:l})=>{const a=C(),[u,d]=f.useState(!1);return f.useEffect(()=>{u===!0&&setTimeout(()=>{d(!1)},800)},[u]),t.jsxs(Ai,{children:[t.jsxs(J,{children:[t.jsx(Vi,{children:t.jsxs(K,{children:[F(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(X,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(J,{children:[t.jsxs(K,{children:[F(v.insuredFunds),n("insuredFunds")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(K,{children:F(v.insuredFundsAmount)})]}),r&&t.jsxs(Oi,{children:[t.jsxs(Ce,{children:[t.jsx(K,{children:F(be.common.totalYieldEarned)}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(K,{children:[F(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(h??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:h})=>{const[l,a]=f.useState(!1),u=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:u,allTilesExpanded:l,children:r.map((x,$)=>{const j=l,c=ne($,d);return t.jsxs(oo,{expanded:j,windowSize:u,children:[t.jsx(go,{bgColor:c.headerBackground}),t.jsx(ki,{fund:x,fundIndex:$,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:h}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(_i,{})]})}),j&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:$,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const h=M(),l=ne(r,h),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(J,{children:e.fundCompanyName}),t.jsx(J,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(Ye,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Ne,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:h})=>{const l=M(),{common:a,spendManagement:u}=L.getLocalizedStrings(),d=u.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(fo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:Qe(r.fundSize,r.currencyCode)})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},$))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:h,children:[d.hide,t.jsx(Ji,{})]})]})]})};function zi(e,r){let n=0;for(const h of r){const l=e[h.fundCode]??0;l>0&&h.yield!=null&&(n+=h.yield*l)}return Number((n/100).toFixed(2))}const F=e=>t.jsx(Gi,{children:e}),Pi=o.div`
|
|
314
|
+
`,P={tickLabelText:new B("extraSmallRegular","smallRegular"),balanceIntegerStyles:new B("h5Regular","h3Regular"),integerStyles:new B("largeRegular","h6Regular"),decimalStyles:new B("standardRegular","standardRegular"),fundSummaryStyles:new B("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new B("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new y(p[3],p[8]),accountDetailHeaderPaddingBottom:new y(p[3],p[6]),accountDetailHeaderPaddingLeft:new y(p[3],p[8]),accountDetailHeaderPaddingTop:new y(p[3],p[6]),accountDetailContentMarginTop:new y(p[4],p[4]),areaChartHeight:new y(114,209),accountDetailHeaderGap:new y(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:q,common:bi}=L.getLocalizedStrings(),Ie=f.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=f.useState(),a=f.useMemo(()=>{const s=G(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const O=D/6;let R;return O<.5?R=0:O<.6?R=.9*((O-.5)/.09999999999999998):R=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:R}})},[]),u=f.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=f.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=f.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=G(m[0].payload?.date??"").format(q.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),$=f.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let O=!1;e.accountHistoryWithBalance.length>360&&(O=!0);const R=O?G(D).format(q.visual.MMMformat):G(D).format(q.visual.MMMDFormat);return t.jsx(Bi,{translateX:b,translateY:z,children:t.jsx(Fi,{windowSize:r,dy:20,dx:-25,children:R})})},[e.accountHistoryWithBalance.length,r]),j=f.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(Gi,{cx:s,cy:m,strokeWidth:1,r:p[1]})),[h]),c=f.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(eo,{children:[t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>$(s),interval:u,padding:{right:p[4]}}),t.jsx(ge,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(me,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(Qi,{children:v.noData})})]}):t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>$(s),padding:{right:p[4]},interval:c}),t.jsx(ge,{tick:!1,axisLine:!1}),t.jsx(ut,{position:h,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(me,{activeDot:j,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Ie.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:h,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:u})=>{const d=C(),g=M(),x=Fe().analytics;Ke({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const $=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},j=e.accountSummary,c=f.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(Zi,{children:[t.jsx(qi,{children:v.balanceTooltip.base}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",j?.totalBalance)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",j?.processingBalance)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",j?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(Ye,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(yo,{}):t.jsx(Ne,{})})})},[j,d]),s=t.jsx(fi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Ri,{windowSize:d,children:t.jsx(Ie,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(He,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Ii,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Ni,{})}),t.jsx(Yi,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(We,{size:"ExtraLarge",start:!0})})]})},He=f.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});He.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:h,fundsData:l})=>{const a=C(),[u,d]=f.useState(!1);return f.useEffect(()=>{u===!0&&setTimeout(()=>{d(!1)},800)},[u]),t.jsxs(Ai,{children:[t.jsxs(J,{children:[t.jsx(Vi,{children:t.jsxs(K,{children:[F(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(X,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(J,{children:[t.jsxs(K,{children:[F(v.insuredFunds),n("insuredFunds")]}),t.jsx(Z,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(K,{children:F(v.insuredFundsAmount)})]}),r&&t.jsxs(Oi,{children:[t.jsxs(Ce,{children:[t.jsx(K,{children:F(be.common.totalYieldEarned)}),t.jsx(Z,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(K,{children:[F(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(Z,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(h??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:h})=>{const[l,a]=f.useState(!1),u=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:u,allTilesExpanded:l,children:r.map((x,$)=>{const j=l,c=ne($,d);return t.jsxs(oo,{expanded:j,windowSize:u,children:[t.jsx(go,{bgColor:c.headerBackground}),t.jsx(ki,{fund:x,fundIndex:$,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:h}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(_i,{})]})}),j&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:$,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const h=M(),l=ne(r,h),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(J,{children:e.fundCompanyName}),t.jsx(J,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(Ye,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Ne,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:h})=>{const l=M(),{common:a,spendManagement:u}=L.getLocalizedStrings(),d=u.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(fo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:qe(r.fundSize,r.currencyCode)})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},$))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:h,children:[d.hide,t.jsx(Ji,{})]})]})]})};function zi(e,r){let n=0;for(const h of r){const l=e[h.fundCode]??0;l>0&&h.yield!=null&&(n+=h.yield*l)}return Number((n/100).toFixed(2))}const F=e=>t.jsx(Ui,{children:e}),Pi=o.div`
|
|
315
315
|
display: flex;
|
|
316
316
|
flex-direction: column;
|
|
317
317
|
align-items: center;
|
|
@@ -355,9 +355,9 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
355
355
|
flex-direction: column;
|
|
356
356
|
justify-content: flex-end;
|
|
357
357
|
padding: ${e=>e.windowSize==="small"?i.sp3:i.sp0};
|
|
358
|
-
`,
|
|
358
|
+
`,Bi=o.g`
|
|
359
359
|
transform: ${e=>`translate(${e.translateX}px, ${e.translateY}px)`};
|
|
360
|
-
`,
|
|
360
|
+
`,Ii=o.div`
|
|
361
361
|
display: flex;
|
|
362
362
|
width: 100%;
|
|
363
363
|
height: calc(100% - 60px);
|
|
@@ -407,7 +407,7 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
`,
|
|
410
|
+
`,Z=o.div`
|
|
411
411
|
display: flex;
|
|
412
412
|
flex-direction: row;
|
|
413
413
|
align-items: baseline;
|
|
@@ -434,7 +434,7 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
434
434
|
border-radius: ${i.sp1};
|
|
435
435
|
padding: ${i.sp0} ${i.sp2};
|
|
436
436
|
background-color: ${w.blackColor};
|
|
437
|
-
`,
|
|
437
|
+
`,Gi=o.circle`
|
|
438
438
|
stroke: ${e=>e.theme.colors.brandColorJade};
|
|
439
439
|
fill: ${e=>e.theme.colors.grey5};
|
|
440
440
|
`,ze=o(k)`
|
|
@@ -442,7 +442,7 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
442
442
|
`,K=o.div`
|
|
443
443
|
display: flex;
|
|
444
444
|
gap: ${i.sp1};
|
|
445
|
-
`,
|
|
445
|
+
`,Ui=o(k)`
|
|
446
446
|
color: ${e=>e.theme.colors.hero};
|
|
447
447
|
`,_i=o(Xe)`
|
|
448
448
|
height: 12px;
|
|
@@ -469,16 +469,16 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
469
469
|
color: ${e=>e.theme.colors.primary};
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
`,
|
|
472
|
+
`,qi=o(k)`
|
|
473
473
|
margin-bottom: ${i.sp2};
|
|
474
474
|
display: flex;
|
|
475
475
|
text-align: left;
|
|
476
|
-
`,
|
|
476
|
+
`,Zi=o(k)`
|
|
477
477
|
padding: ${i.sp2} ${i.sp2};
|
|
478
478
|
color: ${e=>e.theme.colors.hero};
|
|
479
479
|
background: ${e=>e.theme.colors.black};
|
|
480
480
|
border-radius: ${i.sp1};
|
|
481
|
-
`,
|
|
481
|
+
`,Q=o(k)`
|
|
482
482
|
color: ${e=>e.theme.colors.brandColorPearl};
|
|
483
483
|
display: flex;
|
|
484
484
|
justify-content: space-between;
|
|
@@ -497,7 +497,7 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
497
497
|
padding: ${i.sp2};
|
|
498
498
|
background: ${e=>e.theme.colors.black};
|
|
499
499
|
border-radius: ${i.sp1};
|
|
500
|
-
`,
|
|
500
|
+
`,Qi=o(A)`
|
|
501
501
|
color: ${e=>e.theme.colors.hero};
|
|
502
502
|
white-space: pre-line;
|
|
503
503
|
text-align: center;
|
|
@@ -572,7 +572,7 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
572
572
|
flex-direction: row;
|
|
573
573
|
align-items: center;
|
|
574
574
|
gap: ${i.sp1};
|
|
575
|
-
`,co=o(
|
|
575
|
+
`,co=o(Qe)`
|
|
576
576
|
display: flex;
|
|
577
577
|
gap: ${i.sp2};
|
|
578
578
|
`,Te=o.div`
|
|
@@ -629,7 +629,7 @@ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,
|
|
|
629
629
|
display: flex;
|
|
630
630
|
flex-direction: column;
|
|
631
631
|
padding: ${i.sp2} ${i.sp5};
|
|
632
|
-
`,
|
|
632
|
+
`,I=o.div`
|
|
633
633
|
display: flex;
|
|
634
634
|
justify-content: space-between;
|
|
635
635
|
align-items: flex-start;
|