@zeniai/web-cockpit-ui 1.14.19-qa → 1.14.20-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-BahbefPk-J5el9V8C.js → ACHDetailsPage-CVBRtacz-BEkwx2cM.js} +3 -3
- package/dist/assets/{AIPerformancePage-BuQApbEf-GygwxWAV.js → AIPerformancePage-DnOjd2BF-CRXsdl24.js} +32 -32
- package/dist/assets/{AccountInfoPage-TD30edES-ayWa9vvt.js → AccountInfoPage-Bt-jShgf-CCHYq--w.js} +2 -2
- package/dist/assets/{AccountInfoPageContent-DQJFmREl-DJbEuy4H.js → AccountInfoPageContent-Cc80eQeo-579rUIpL.js} +6 -6
- package/dist/assets/AccountLockedInfoModal-B-Hn6_hG-B-4Dg7na.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-D2B9Na3--BOg6bkeN.js → AccountReconDetailsDrawerPage-Bz1Sk2du-CwztkqDE.js} +7 -7
- package/dist/assets/{AccountRow-ZcS_RTJN-BR9_rLoN.js → AccountRow-D01C0A0f-QA2NRq7R.js} +20 -20
- package/dist/assets/{AccountsPromoCardStack-Bh2D-mXh-Bs4EYM2a.js → AccountsPromoCardStack-DsjFJ8gZ-DjW6RsEa.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-Ds2V5DyG-DVXVjy6o.js → AddAddressForCardDrawer-DnoYIvUp-DRozqjCP.js} +2 -2
- package/dist/assets/{AddToWalletPage-DQ_gwAcu-BJUo6mYt.js → AddToWalletPage-BIiW9JxG-D9CD9wND.js} +1 -1
- package/dist/assets/{AgingReportsPage-BU_tqV13-BsnkvpaT.js → AgingReportsPage-WazD_3Z7-CoFeaJHD.js} +7 -7
- package/dist/assets/{AllUserItems-DBXzXO61-BTwofn85.js → AllUserItems-CTSy4oBh-COmuQZqb.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-Crv9EDe5-PAcPKxo5.js → ApAgingDetailPage--NGBXWsy-C8HiqI6Z.js} +3 -3
- package/dist/assets/{AppBasePage-BK_b0fFf-CHlalUjf.js → AppBasePage-B5br9UXD-BXEvz6Z3.js} +1 -1
- package/dist/assets/{AppDrawerContent-rw39Hn3s-DGkZVDxv.js → AppDrawerContent-vFeMNL3B-anFPhgeB.js} +59 -46
- package/dist/assets/{ApprovalRulesSettingsPage-C6jxuvhu-D5ZeFfm2.js → ApprovalRulesSettingsPage-6j7VBBZ6-D1yZE3mH.js} +2 -2
- package/dist/assets/{ArAgingChart-DVMlvNTF-ni7r1vai.js → ArAgingChart-BYWN3_Nl-CYX1U_rU.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-CbmOL5tx-DQdpeuHC.js → ArAgingDetailPage-B-hHa8A6-BrQATxNB.js} +1 -1
- package/dist/assets/{AttachmentView-BTAMhgXU-BhSl8K4J.js → AttachmentView-C2kWA5X5-XqMuBHHe.js} +2 -2
- package/dist/assets/{BankAccountSection-DVO3xzgl-CCZx3rs7.js → BankAccountSection-B20IwpOn-dEqA-3oX.js} +7 -7
- package/dist/assets/{BankAccountWarningSection-CQsqUFKg-05XikjyA.js → BankAccountWarningSection-GHO0P0IZ-jfpI3pUb.js} +3 -3
- package/dist/assets/{BankConnectionsSettingsPage-CEyhk8v--WB0uUoLR.js → BankConnectionsSettingsPage-Cpg1ObB6-DR3nDiYc.js} +30 -30
- package/dist/assets/{BillDetailPage-CP6QCrla-vmmuF3oo.js → BillDetailPage-DOF5ibT6-Bat6GtFx.js} +6 -6
- package/dist/assets/{BillPayApprovalRuleDetailPage-Bem5LvtY-mygah7A2.js → BillPayApprovalRuleDetailPage-BI1R1zT_-D9iKVE5j.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DhDaCfQa-DAxnPtHS.js → BillPayApprovalRulesPage-B3x4So_i-B5TxdAS5.js} +7 -7
- package/dist/assets/{BillPayPromoPage-BjH9lvnR-DfHFrxb-.js → BillPayPromoPage-BqzH5AIp-Bcp4yJP9.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-X8X9gq1a-Oap0vh__.js → BillPaySetUpPage-DqiNMnRE-abIQ9Tkf.js} +2 -2
- package/dist/assets/{BillingSettingsPage-CyyR8GW1-k3cgjV3v.js → BillingSettingsPage-BOAAGOLs-CdPqd8Hl.js} +3 -3
- package/dist/assets/{BillsBulkReviewDrawerPage-D_xxZjcU-DTZsZg8z.js → BillsBulkReviewDrawerPage-B76xXQJ9-CbXzjgOR.js} +1 -1
- package/dist/assets/{BoxItem-BL-UVx2X-Chlftilo.js → BoxItem-DCsIK5bA-DrkhsCS_.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Tr-N_rHo-B5h3rNqu.js → BusinessVerificationPage-hSVDM_Bi-eN7TBacX.js} +7 -7
- package/dist/assets/{CardNumberSubText-CNMNL0y--C35fqYUk.js → CardNumberSubText-B_ZdgYVm-CRvH-CRy.js} +1 -1
- package/dist/assets/{CashbackDetailPage-Cj26I5CB-BotQ-1hR.js → CashbackDetailPage-CNeEt6aE-CsctITKU.js} +16 -16
- package/dist/assets/{ChargeCardDetailPage-herJK06r-BTMIHWV-.js → ChargeCardDetailPage-C0a8jqCD-CUfhgRr0.js} +1 -1
- package/dist/assets/{ChargeCardListPage-LYVKm-0u-bxw-Libg.js → ChargeCardListPage-_3lJqIYP-iewbQ3J2.js} +55 -55
- package/dist/assets/{ChargeCardListTable-DxE-nRR4-BZ_zecYA.js → ChargeCardListTable-Kx-_ZAZu-BvnPLhgK.js} +23 -23
- package/dist/assets/{ChargeCardPromoPage-LVuaSVsQ-DLq8eZoX.js → ChargeCardPromoPage-CKTkcQdI-B3wD2hqP.js} +5 -5
- package/dist/assets/{ChargeCardSetupPage-CWoHclOr-DyydyXV2.js → ChargeCardSetupPage-CGRMFERy-BQ8k2roy.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DkCHd5c6-cX5JlZ7W.js → ChargeCardStatementsPage-B_7CdyKP-CMTrFXHN.js} +6 -6
- package/dist/assets/{ChargeCardUtils-6kq_92Ri-Dli-fqCF.js → ChargeCardUtils-BcwLwgz7-DrE0N0EF.js} +1 -1
- package/dist/assets/{ChaseOverlay-N7gGQaMQ-DQdim44v.js → ChaseOverlay-ClcKUdpT-Buerorcp.js} +3 -3
- package/dist/assets/{CheckDepositDrawerPage-w7IziUHI-DVFTIQZX.js → CheckDepositDrawerPage-I3siSP2H-BrRdb26D.js} +15 -15
- package/dist/assets/{CollapsableReportTable-NSlKGCNZ-DKKIVw3S.js → CollapsableReportTable-ULd7PQST-DRS_mwem.js} +46 -46
- package/dist/assets/{CompanyOfficerDetailsSection-C1IpMsWw-D1LJtTPO.js → CompanyOfficerDetailsSection-DLaAmVLG-9U29EMpY.js} +30 -30
- package/dist/assets/{CompanyPassportCard-D5gkzDNU-YrDg6jQC.js → CompanyPassportCard-CZQuAyI2-Du4zK6a2.js} +1 -1
- package/dist/assets/{CompanyPassportPage-6_6yWHxX-CF_r79l3.js → CompanyPassportPage-DqoVJfO--BezYa4q3.js} +1 -1
- package/dist/assets/{CompleteProfile-1xeOWkGT-FRaqVJXW.js → CompleteProfile-BJV-xUlM-DoWTiT1k.js} +1 -1
- package/dist/assets/ConfettiBurst-D4ga9TRN-DITQey3L.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-DQW4Wobx-Dvll5UZ6.js → CreateOrEditVendorPage-C6efUMJu-BO_oyqIH.js} +9 -9
- package/dist/assets/{CreditCardPaymentDrawerPage-BEpQXn9g-ChE1dvw6.js → CreditCardPaymentDrawerPage-26ysDTts-B2nPMyDO.js} +1 -1
- package/dist/assets/{CreditCardPaymentPlgSection-BGh2TJeK-iEMZXSJH.js → CreditCardPaymentPlgSection-8NQI5gcx-CtF_TfUM.js} +3 -3
- package/dist/assets/{CurrencySelectField-C2if0NUa-5itJjf-l.js → CurrencySelectField-CVNn0XCq-DT36t2lI.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-_zjv9RZY-mJqfERvY.js → CustomerOnboardingActivationPage-D0-sOxDl-Bm2kAKIU.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DoibuhLN-8rsNTWNZ.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CXApNm6A-nctUkt8D.js → CustomerOnboardingDetailPageSkeleton-B7hkzgkV-BXEF9ppx.js} +8 -8
- package/dist/assets/{CustomerOnboardingNoStepsPage-BaBxG1Yn-DVZXklmj.js → CustomerOnboardingNoStepsPage-CD1QldcG-CzeAfya1.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-CWpmMXrh-BXodyMV2.js → CustomerOnboardingPage-DB1gXgdD-CUHFehdd.js} +8 -8
- package/dist/assets/{CustomerOnboardingProductSuitePage-CGYRoz3v-DUKyEfgU.js → CustomerOnboardingProductSuitePage-DGMmLmq8-Cbgji3lL.js} +5 -5
- package/dist/assets/{Dashboard-Dyt4nvyG-QlqN1FnF.js → Dashboard-CU3UQhxj-VVHJwggZ.js} +230 -230
- package/dist/assets/{DashboardReportPage-BSbTlRwW-B1vbOEGw.js → DashboardReportPage-DMdKWPtx-DkAIriFg.js} +1 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-BMEqBAyh-vfJQWz_r.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-CuTp6qxI-83UpC9RP.js → DepositAccTransactionItem-C1-JGWD1-BMvGw-zQ.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-CrQrOyrm-SWt9-LCs.js → DepositAccTransactionListPage-CfwhQ7mC-B3prPdix.js} +2 -2
- package/dist/assets/{DomesticWireDetailsPage-C5hxxGsr-BGI0Q6wD.js → DomesticWireDetailsPage-D6fDbjcO-DHXj9Zdn.js} +1 -1
- package/dist/assets/{DownloadOverlay-B9O7jf-4-DcPl1K2L.js → DownloadOverlay-CsX54puJ-DeWJ_bTZ.js} +6 -6
- package/dist/assets/{DrawerPage-Dpd6lRf7-XU_mVF4h.js → DrawerPage-xYwGDHR6-Ch0S05SG.js} +4 -4
- package/dist/assets/{EditPeoplePage-C7uOWg9F-XHgvFx-q.js → EditPeoplePage-9SmQtrJz-Cw0-GcjG.js} +6 -6
- package/dist/assets/{EditReimbursementDetailPage-BL-W1hPs-Cvem5pvL.js → EditReimbursementDetailPage-EUO0BoRp-EVPPjvHX.js} +57 -57
- package/dist/assets/EntityDetailPage-CF6LS35a-CeBa6jKf.js +18 -0
- package/dist/assets/{EntitySummarySection-eNxIwvHt-VuusTU29.js → EntitySummarySection-C0gR6pkr-AtoRf1sI.js} +6 -6
- package/dist/assets/{ExpenseAutomationOverviewPage-CKBACgsI-CHNuBdnj.js → ExpenseAutomationOverviewPage-B0I8v21w-C1ihD57y.js} +18 -18
- package/dist/assets/{ExpenseAutomationPage-LPWPrpwm-dGXlp7Wn.js → ExpenseAutomationPage-BorzJM7G-DFmLOpV0.js} +69 -69
- package/dist/assets/{ExpressPayPage-COQrt-KL-C3Su3pc-.js → ExpressPayPage-D0YWItIv-Bvps2LX7.js} +7 -7
- package/dist/assets/FeaturePreviewPage-yu8G5cHk-BxkuThqr.js +11 -0
- package/dist/assets/{FollowStepsSection-BJFJzQrz-BPLmYjf1.js → FollowStepsSection-DRDFxA8H-Dg1nQMTR.js} +6 -6
- package/dist/assets/{GlobalReviewListPage-DDQb-plt-GWioPE-8.js → GlobalReviewListPage-D80yv7U2-CfvcgDlu.js} +13 -13
- package/dist/assets/{HelpButton-BT_HyQ5k-L583ynk6.js → HelpButton-D9ONg6cm-CuNxHNm2.js} +2 -2
- package/dist/assets/{InformationCardStack-B9E29_zj-oBDdQQV7.js → InformationCardStack-CbKQwtHm-B7yYvAdF.js} +1 -1
- package/dist/assets/{InsightsCardStack-7XbkZ-A3-DAJvX00p.js → InsightsCardStack-BWsN9_G2-DemEieR0.js} +1 -1
- package/dist/assets/{InsightsSection-DtBq9eII-Dpm_kPOF.js → InsightsSection-WZo-AWJt-DohBwSi_.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-TjdF0ahh-CLiKNfVQ.js → IntegrationsSettingsPage-BLjSJt9r-6t6Ass9f.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-BeSYu2Dm-CzOgaF0W.js → InternationalWireSwiftDetailsPage-BXNDZ1Mk-BO2f4UVV.js} +13 -13
- package/dist/assets/{InternationalWireVerificationPage-Ctcaggen-B6mWLRZN.js → InternationalWireVerificationPage-BLgPJ1NJ-CMky3KEh.js} +9 -9
- package/dist/assets/{InviteFormPage-DEDBu0OO-CbRBG8oQ.js → InviteFormPage-DPQ4vL9--DIhY9xxd.js} +1 -1
- package/dist/assets/{InvitePageListView-BMMOpM9O-CiVYjuPy.js → InvitePageListView-YUKxUGBn-CGJ_yirg.js} +41 -41
- package/dist/assets/{InvitePeoplePage-BzPRCgA6-CQ1Opb3h.js → InvitePeoplePage-C3vECRns-DBtYnb-4.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-C6Dx8Web-BBk4Ja4L.js → InvoiceUploadSection-Cx6pXJiN-CgRQkeV5.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-DWRhiOzj-CcGeSv03.js → IssueChargeCardPage-DZVtocCO-B49QpSq-.js} +33 -33
- package/dist/assets/{LabeledAddressValue-CSb0EGEx-CwfHtDm0.js → LabeledAddressValue-BrB2xQYz-B09yXjLA.js} +1 -1
- package/dist/assets/LabeledAddressValueField-_35LG3OI-C2eHerzm.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-rRmtlmRJ-C45YSN-M.js → LabeledControlledCheckBoxField-o0K1dba0-BZipP4yv.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CTwToXIo-BL-7qWpY.js → LabeledCreatableSingleSelectField-DQwGH21a-D1Rth7u2.js} +7 -7
- package/dist/assets/{LabeledDocumentField-sIz4Fhet-BCtWDAeF.js → LabeledDocumentField-CfgzkjDY-CbC276Lv.js} +2 -2
- package/dist/assets/{LabeledDropDownFormattedTextField-mOxkCT-G-97yk9rN2.js → LabeledDropDownFormattedTextField-DdaTvUbM-C4uCaUJ3.js} +10 -10
- package/dist/assets/{LabeledText-CExeogkg-B87qiJpD.js → LabeledText-Hi4MixDN-n_lfAbe7.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DrloYoze-ChdXh6tK.js → LabeledUserSingleSelectWithSubtitlesField-BlVebvR7-CKRRo1Fi.js} +14 -14
- package/dist/assets/{LabeledZeniRolesDropDownField-BZKMSlzI-BfxjXxW8.js → LabeledZeniRolesDropDownField-Bm7Emr_n-JLIDvMIU.js} +6 -6
- package/dist/assets/{LinkJETransactionPage-D9Kae7Qd-CNnC6I7f.js → LinkJETransactionPage-ittEPbhi-BCWKpHna.js} +1 -1
- package/dist/assets/{LowBalancePopup-DqY0lHvk-CVgmCk0Z.js → LowBalancePopup-ChA83eFW-dErt1yuL.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-BctRnNGY-DsQ_Vr0G.js → MagicLinkACHDetailsPage-B4PPI06n-DFF50HiV.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-UjO7TGNI-DqUtPIYq.js → MagicLinkDomesticWireDetailsPage-DRK5ytSb-CTgdy9NG.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-ex7nPlxc-CynZ72OJ.js → MagicLinkInternationalWireDetailsPage-C2pn5xtm-DTn743zM.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-D3ORpbmL-D1tcTprK.js → MagicLinkSuccessPage-Bag5TE2J-DCGiU-tX.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-Di20DmsJ-U44nhhts.js → MagicLinkTitleSection-Ch72cLUN-CsTRlAex.js} +3 -3
- package/dist/assets/{MailingDetailsSection-D7d7fV5j-Cp7uqL5j.js → MailingDetailsSection-CrHHLtQN-loRqi7di.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-C-Ca0puH-CE3GtRxz.js → MeetingCalenderPopup-B_KRQLwc-CemZcgIl.js} +1 -1
- package/dist/assets/{Menu-FcKyIIWS-CsxddkDK.js → Menu-Czq7AdhP-C-oEbm2f.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-B4NuqJVI-tpOCMOiD.js → MyBankConnectionsSettingsPage-y3YOYnQr-BDn2GzBg.js} +6 -6
- package/dist/assets/{MyPendingActivationChargeCardListPage-C4eMpxAr-D90MmLrN.js → MyPendingActivationChargeCardListPage-DJeYzaPj-Dm2kAILW.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-D0ALOEls-sjgoMLjt.js → MyProfileSettingsPage-hQvoACAQ-DxTxhxW-.js} +4 -4
- package/dist/assets/{NavBarWithPicker-Bu03gVw7-CXCT1AQF.js → NavBarWithPicker-DUaSGf4d-hMIZgUnq.js} +4 -4
- package/dist/assets/{NavigationArrow-D7Eb-FlF-CIlViwE5.js → NavigationArrow-ClEBtns--CBhi3Wa5.js} +5 -5
- package/dist/assets/{NavigationDots-CFjUchuX-CCsCkY6f.js → NavigationDots-BsJyQWOZ-DQaJD5qn.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-rhhm0o-f-Tif0VAaZ.js → NewGlobalMerchantPage-BKZGSrDk-Bj0fLOGG.js} +9 -9
- package/dist/assets/{NoDataChart-D5DKMqIS-yU_mZZgB.js → NoDataChart-Bk9eWo52-DbkTpf0E.js} +1 -1
- package/dist/assets/{NoDataTable-CPEKYH-4-DCggOQ1X.js → NoDataTable-DCQbtvPN-DkrWdcTk.js} +1 -1
- package/dist/assets/{NotFoundPage-Cfk62GPw-BF5rP4O6.js → NotFoundPage-CGx7FoiU-CZaJl2_e.js} +2 -2
- package/dist/assets/{NotificationSettingsPage-BZtsKPBO-DZmsk2cw.js → NotificationSettingsPage-CoD8eTUS-8OIZSyCr.js} +5 -5
- package/dist/assets/{NotificationsListConfig-DiJLl-YW-BOy_2Fl2.js → NotificationsListConfig-hyqVBWDA-BxI8wBvU.js} +1 -1
- package/dist/assets/{NotificationsPage-CgABP7O1-D8bdKO5u.js → NotificationsPage-BavPSx1H-CVEnlnNl.js} +1 -1
- package/dist/assets/{OpExByVendorPage-CMEokGbw-D-EhSgr7.js → OpExByVendorPage-DD8tCc8E-DObB3ZyW.js} +4 -4
- package/dist/assets/{OverlayContainerPage-9K5jaX8Z-CmMmKd0q.js → OverlayContainerPage-Dg-aOJQU-XdQCUH0G.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-IizA8WJN-Debywzdm.js → PandLWithForecastPage-bSkidYRR-D-Y5VMs1.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-D6cW0hFS-B6jN0swI.js → PaymentAccountSetupBillingAddressSection-CGIC_vLw-BIusm93k.js} +12 -12
- package/dist/assets/{PeoplePage-lD4QPAkF-BTkfD7Qn.js → PeoplePage-C-2NZJpQ-BbdMKhWr.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-pynkIQMX-D6bUfHMz.js → PortfolioAllocationFormPage-B6JOvEvW-BSgeoBob.js} +3 -3
- package/dist/assets/{PortfolioDetails-Cs8o8xzm-BZnvJKYS.js → PortfolioDetails-Cpv5bi4_-C3K7fsrr.js} +4 -4
- package/dist/assets/{ProductsCarousel-vPy7zk53-0jqchxQE.js → ProductsCarousel-WDd37Mjn-NLHTDL58.js} +7 -7
- package/dist/assets/{PromoBaseCards-CWGpTa57-CDWNrCuH.js → PromoBaseCards-BaFkKGkm-Bw-1QrdI.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-66XnPKaW-DPJc3mi2.js → QBOConnectionDialog-l3ThoJCI-BaUAxpz_.js} +1 -1
- package/dist/assets/{QBOSetupSection-T0b8qjoq-CRwxhuhU.js → QBOSetupSection-DSrxcrXI-CnwGvTKQ.js} +3 -3
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BSI9Lg6a-0RZNihPF.js → ReimbursementApprovalRuleDetailPage-hb8mPFw0-iXwT5wDy.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-XxC6pXqt-Djs5LyQt.js → ReimbursementApprovalRulesPage-fs4WqNUv-BvFXhzka.js} +4 -4
- package/dist/assets/{ReimbursementDetailPage-BwtY21D5-CNiYkb_F.js → ReimbursementDetailPage-BYw6Mc2u-ZOQaZirb.js} +4 -4
- package/dist/assets/{ReimbursementPromoPage-CmO1DP-8-jueUg_Jg.js → ReimbursementPromoPage-DzDuwRxU-DEtJqrhv.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-CrCsRxAy-DR7TDPIb.js → ReimbursementSetUpPage-DdT6uu1--I31J4BAO.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Ct-lvcR1-B7C3iSy7.js → ReimbursementsBulkReviewDrawerPage-CXvng56s-BxlZIO2c.js} +1 -1
- package/dist/assets/{ReloadCard-CJfjUA_Q-CSIpRTGt.js → ReloadCard-BPoOhxrs-D8lPs5qf.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-CkuvvlJm-DviIVV1k.js → ReportTableViewSelector-CkZW5TtX-I9C4FHDc.js} +5 -5
- package/dist/assets/{ReportsPage-BJqldqjR-BiXbtcBq.js → ReportsPage-C-ARKbIQ-CCoiMwuP.js} +1 -1
- package/dist/assets/{RevenueChart-BUnSkoUN-OaNNpl8v.js → RevenueChart-CuqZW-Jr-B_s8E_iU.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-8I09Puca-kSqQFBGv.js → ReviewDetailsPage-BVN_Uym2-d0L-TTpG.js} +11 -11
- package/dist/assets/{ReviewOverlay-Czmj4HG0-DGEdohoE.js → ReviewOverlay-CIgtaUn1-wggYVp0Q.js} +1 -1
- package/dist/assets/{RoleWithToolTip-CNQZHC7h-BWCgIab_.js → RoleWithToolTip-Dm4yIm31-3pGQtzkX.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-1Y1ZylI7-TF-lQK6Q.js → ScheduleDetailsFixedAssetsPage-Ce3z1VPg-SvqdKcr4.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BcRuA_7y-DKC9xpZ-.js → ScheduleDetailsPage-O69iLj4h-CXnxPezp.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DC75D2Dx-BlixJonK.js → ScheduleSequenceTable-DMIzc2zC-3WngbgQC.js} +15 -15
- package/dist/assets/{ScreenRoutes-Vxn_VgUc.js → ScreenRoutes-D3pC7BH7.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CaLxl4l3-Hr6lKchX.js → SetUpAccountSection-C1_QjMwF-C_2yznzy.js} +11 -11
- package/dist/assets/{SetUpDefaultSection-a6NTauck-DWk4cHNK.js → SetUpDefaultSection-B-ZEHQUb-iLzGQnWH.js} +3 -3
- package/dist/assets/SignIn-CXQyYEJI-BbNAmrjc.js +408 -0
- package/dist/assets/{SignInScreen-BnDKcAsx.js → SignInScreen-DtWV87E_.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-Cvev9izU-CywIXocV.js → SpendManagementListViewPage-DEMLoStE-C1nPAYM8.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-CbjC0IBF-BZmzopW1.js → SpendManagementPerTabPage-CLf-7YyR-60GdYb7a.js} +11 -11
- package/dist/assets/{SpendManagementSection-BKTkeRK6-BpVoD6ml.js → SpendManagementSection-DIVgOKWy-D35voP2u.js} +6 -6
- package/dist/assets/{SpendMgmtSetupAccountSection-D8Yv-Jng-DLg3IqDb.js → SpendMgmtSetupAccountSection-DFyUBsg3-DRIU7IWr.js} +10 -10
- package/dist/assets/{StatementItem-DSJvKpAv-CgQXd1HG.js → StatementItem-CSyEn4Pz-CIQDSk8U.js} +6 -6
- package/dist/assets/StatementsPage-D34J2aZa-9jSr3LU8.js +58 -0
- package/dist/assets/{StatusSwitcher-CTDNbKqC-BufOI7Uk.js → StatusSwitcher-B77NoO6o-CLTHQ9CP.js} +1 -1
- package/dist/assets/{SubTabSwitcher-D33kV-tw-BQGDLH02.js → SubTabSwitcher-baJGHUgJ-BPKK4q6_.js} +1 -1
- package/dist/assets/{SummaryCard-tsJZnge3-CDogfl9X.js → SummaryCard-BvuRZj8f-DCeFdYs2.js} +1 -1
- package/dist/assets/{TaskManagementPage-BW9M6AQs-o0la5nop.js → TaskManagementPage-vG8GXEJA-DX4VWYkl.js} +25 -25
- package/dist/assets/{TimeRangeSwitcher-CkXysnFa-BziXH9A-.js → TimeRangeSwitcher-CnoZ9Rqp-QTEqL6la.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-B-S09J4A-DXzIdqPI.js → TimeframeSwitcher-W5kHnuHI-B5U_sUAn.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-B9Lo2-pD-E9Q-Xl1O.js → TimeframeSwitcherWithToggle-yLA5y4zJ-CFlsdObg.js} +1 -1
- package/dist/assets/{TopExCard-DwP8Cppq-BiAUZiUo.js → TopExCard-oyXmygm8-DV87vjZL.js} +1 -1
- package/dist/assets/{TopExDetailPage-CIMSDSxd-C3es4f9G.js → TopExDetailPage-4HMIURzm-ulBg6b5V.js} +1 -1
- package/dist/assets/{TransactionDetailPage-rwzAZT-Q-BNzn0dfK.js → TransactionDetailPage-CIw_7B72-CcQHWkUG.js} +15 -15
- package/dist/assets/TransactionList-B9M4ftBY-9Xoftl5l.js +147 -0
- package/dist/assets/{TransactionListBig-BidYBgz3-5Yl91ZX2.js → TransactionListBig-D5SRFdH7-CUrzZcWs.js} +1 -1
- package/dist/assets/TransactionListPage-DCiIH4ES-DulMTWBW.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-LzIzQGZ1-DhRVTfh8.js → TransactionVendorDetailPage-BNY3vBm0-Cw6AkzlK.js} +5 -5
- package/dist/assets/{TransferDrawerPage-CztFCYxm-A_gVbaFq.js → TransferDrawerPage-DdgfrrRM-BBEomNnq.js} +43 -43
- package/dist/assets/{TreasuryOverviewPage-E5E5Gr3g-BXlIIBea.js → TreasuryOverviewPage-COFbWN48-DSaB6zFu.js} +19 -19
- package/dist/assets/{TreasuryPromoPage-D2F4Y8gV-D4r4OVpG.js → TreasuryPromoPage-EYqV98OG-CvFj_oTJ.js} +18 -18
- package/dist/assets/{TreasurySetupPage-Dxa4l6Ec-C98zHjAP.js → TreasurySetupPage-DEz3fabz-BopnXkx6.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-DEhWu0S0-Cq8llxzq.js → TreasuryStatementsPage-JSf4JXXI-CSff_RYi.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-CEMU2CI9-CaMBHbid.js → TreasuryTaxLetterPage-Id6od0WY-D3YHLWYb.js} +3 -3
- package/dist/assets/{TreasuryTransferOrReviewPage-BfReLw_V-DlzqxUSw.js → TreasuryTransferOrReviewPage-D25tiep8-CregJCyC.js} +46 -46
- package/dist/assets/{TrendChart-D1gtjDe3-DgecHpjD.js → TrendChart-xBdkrxjQ-BHwV7FvD.js} +1 -1
- package/dist/assets/{TrendWithTransactions-BslpnJTN-DM_bUa3k.js → TrendWithTransactions-CQdqelNB-BxApJhmm.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-Brm7fcuy-Lq1gPvO_.js → UncategorizedAccountsMappingPage-DaSjSoeK-2h_6-Ko4.js} +10 -10
- package/dist/assets/{UnitIntegrationPage-DhiEmm9g-DvJDyLPM.js → UnitIntegrationPage-zM4qGyLV-CinH_PeY.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-Dq1ToFCn-BIAvqiTV.js → UploadAdditionalDocumentOverlay-Y64l7Rho-BebTHNkT.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-Brg14-Cw-D6yUhffP.js → Vendor2FAPopup-DO-eL5Ot-DjhAlKT-.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-mk0vAyqE-BXjAbyW1.js → VendorACHDetailsPage-BDROr_dC-CAZxPDsT.js} +1 -1
- package/dist/assets/{VendorDetailPage-CRhCXEsq-ByCD1QlC.js → VendorDetailPage-B8S-gV53-DaZx1eZP.js} +18 -18
- package/dist/assets/{VendorDomesticWireDetailsPage-DhWkYV9N-DytBbPSU.js → VendorDomesticWireDetailsPage-BrxQuXus-DYcgNh9D.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-Bp5FgSiJ-CQgouOQ1.js → VendorFiling1099EditablePage-BK-XGzxl-CVlxfcrS.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-XHOyQIOp-BcDyJnSm.js → VendorFirstReviewPage-CrSdEY-q-DsAt-Zva.js} +31 -31
- package/dist/assets/{VendorInternationalWireDetailsPage-B13qu8u3-Cr7Rw8Vd.js → VendorInternationalWireDetailsPage-DuE2n00d-C0HY8jsi.js} +9 -9
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dtgusj3r-DSS2WNka.js → VendorInternationalWireSwiftDetailsPage-_0douojx-uTqjQvZ8.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-B-qorJ8x-BDTocsmP.js → VendorsAccountsSection-C2McA3-C-CAGlOz8b.js} +4 -4
- package/dist/assets/VerifyDevice-BOb4uKLq-B9iw9cGN.js +96 -0
- package/dist/assets/{WarningsDrawerPage-B4Nic3gX-D_tDlIsb.js → WarningsDrawerPage-f9lS8sCp-Yx0s05ZC.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-IDGYSZVs-DHzL4YW_.js → ZeniAccountDetailPage-BnWDpR9g-BpHh2OhY.js} +17 -17
- package/dist/assets/{ZeniAccountListViewPage-IlPP8Yit-e7XViZS5.js → ZeniAccountListViewPage-D9ORn0_O-BQPutSAN.js} +16 -16
- package/dist/assets/{ZeniAccountNavBarPieces-2j-ZQRIF-C9FaUYbe.js → ZeniAccountNavBarPieces-4jG3uNmW-B7nBCOPn.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-BhFf42Fz-CCcGWwVA.js → ZeniAccountPromoPage-CswETXvx-DfER_hgz.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DcYDO3x8-1dxj4hNi.js → ZeniAccountSetupPage-7B6Vgmg6-DsByA6Pf.js} +3 -3
- package/dist/assets/{ZeniCopyright-C4Ze2E8o-BF7Y_OhF.js → ZeniCopyright-DrkcGEYL-D8qMh6Rn.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DFB0ntiR-DEw2G9RV.js → ZeniTransferAmountSlider-Bw5S2HTx-CfuKg8UT.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-DcfyMc0W.js → add-to-wallet-DgdBD8_G-y8nGTHEa.js} +1 -1
- package/dist/assets/{analyticsHelper-Cfbkdlur.js → analyticsHelper-B46gu6zH.js} +1 -1
- package/dist/assets/{analyticsHelper-CsfdC0kT-CkpNzA-i.js → analyticsHelper-C37dCyKv-Ci3W403B.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DBLhwZXJ.js → arrow-south-east-round-PEovUgvH-D6oVD1ix.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-D6YoufI_.js → auto-transfer-rule-mbafm5D3-DsDlaCxy.js} +1 -1
- package/dist/assets/{chartTypes-CPj7oOMJ-BdHmGEgv.js → chartTypes-Cknnnhq_-BKEap-MQ.js} +1 -1
- package/dist/assets/{commonDimensions-CKs-7p-V-2mIh0uhQ.js → commonDimensions-D0ovCC4N-B0G2UdHm.js} +1 -1
- package/dist/assets/{crypto-BURQLTgV.js → crypto-BDNqpTKX.js} +1 -1
- package/dist/assets/{detailCommon-BJ8iCchG-D9ueUtlf.js → detailCommon-CKa5_aP2-CTgqAfFe.js} +2 -2
- package/dist/assets/{downloadPdf-hPck-AA1-BRfoLwQe.js → downloadPdf-BJozh7zE-M2Rp1JlQ.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-DKWN92w0.js → gift-box-Cmt9OgIZ-BqWjP_Ex.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BalbEtqQ.js → graphic-no-data-l-DU4J8fDt-BBc6l6Au.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js → graphic-no-data-net-burn-l-CzmycA0m-DANomItj.js} +1 -1
- package/dist/assets/handshake-BPg58FML-CVKh3Eii.js +1 -0
- package/dist/assets/{index-DjfQ_8_G.js → index-Cnh9fv8f.js} +481 -473
- package/dist/assets/{liveblocks-DZpRS25q.js → liveblocks-CP09Cz-7.js} +1 -1
- package/dist/assets/{lodash-Dq_mKlGB.js → lodash-BWJmwMit.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-R394S2in-yG54fD0k.js → mapLoadingInProgressToTreeNode-DttwbPj7-BWaq84fe.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B20NECa8-BFYhaGC6.js → mapSectionWithAcOnlyToTreeNode-CKUACdvT-96C16ahX.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CLYF1Foh-BjdisaSl.js → mapSpacerToTreeNode-CeH4tptC-BD7Zb85P.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B-iRb2_j-DquYgMDw.js → mapTimeframeBalancesToTreeNode-CElz2Cb0-CuxVDYys.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-fLAswzPX-sXx3Rgkk.js → mapTimeframeBalancesToTreeNode-TLHaVbTv-OZW2z0IX.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CTmIxkdn-Tzb1GX6L.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D96sl236-Da50HxFS.js} +1 -1
- package/dist/assets/{mui-Bi8r7UDG.js → mui-C42whWwM.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-B6DjZ3Gi.js → page-detail-CWX5S47F-BBa5wfAm.js} +1 -1
- package/dist/assets/{play-icon-BZYr9mDs-BdQoiOuZ.js → play-icon-XWt7iQeF-7dWJ4Dkg.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-ub7QGXr8.js → radio-default-CiSgisfh-Z5w0WcFM.js} +1 -1
- package/dist/assets/{redux-CC-tnuv1.js → redux-2gfZRks6.js} +1 -1
- package/dist/assets/{routing-CxYXTKiv.js → routing-VwiwPky5.js} +1 -1
- package/dist/assets/{sentry-HDxG13yk.js → sentry-osuhWjvS.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BCUrujod.js → shield-DOlUxcFf-bFVWRY1X.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-Dsa-tGTi-sDqqdfBL.js → toCOABalancesWithID-DACfD5ZE-BgoTIDec.js} +1 -1
- package/dist/assets/{toChartData-Cp_80Bi6-DNhfaq63.js → toChartData-C6ap15NT-ByCawuJX.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-CJJQqrcA.js → transaction-placeholder-CpOwZAMG-DYG2_sCF.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CnKoJBRW-C1sO9xUo.js → treasuryColorHelper-DmVCoHv9-Cx3TVoRp.js} +1 -1
- package/dist/assets/{uploadAttachment-Cx3LGzsg-BLoeW5Lc.js → uploadAttachment-D1XtO8---B9AANbCr.js} +23 -23
- package/dist/assets/{uploadReceipts-CwjPukNh-D57dKxMS.js → uploadReceipts-Cl7e8jci-C-56lzXC.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-gxLtL5O4.js → useLongPress-GCK2COYQ-BoJXFS3o.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CgKq8-Xn.js → usp-line-BBd1wKwW-u-VMxix8.js} +1 -1
- package/dist/assets/{vendor-CnQcJ2Lu.js → vendor-rkTZJa59.js} +7 -7
- package/dist/assets/{verification-CW6uEyev-DdkqedMU.js → verification-CW6uEyev-BVrJsi0i.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ConfettiBurst-b1-NNKbl-CRZv8suA.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-BXSxGbv8-yPFLkaH4.js +0 -1
- package/dist/assets/EntityDetailPage-BsQ9bSpC-Ccfh9SD-.js +0 -18
- package/dist/assets/FeaturePreviewPage-Coe53hoK-GblH5291.js +0 -11
- package/dist/assets/LabeledAddressValueField-DJHY_wPN-C8cLNKuC.js +0 -45
- package/dist/assets/SignIn-_ZPdER_K-iNnyyU-5.js +0 -408
- package/dist/assets/StatementsPage-Bhk6u845-DupKw2VZ.js +0 -58
- package/dist/assets/TransactionList-CFYj7bYL-CzoueHti.js +0 -147
- package/dist/assets/TransactionListPage-CImIYabg-nUJGuSyl.js +0 -35
- package/dist/assets/VerifyDevice-CBO1Uzra-BYrx8Dkz.js +0 -67
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as
|
|
1
|
+
import{e as H,M as k,j as o,m as q,_ as D,a4 as W,o as a,C as g,a3 as _,b as G,cA as J,a as K,gz as F,gA as M,gB as B,c9 as U,F as Y,q as s,u as Q,cc as X,gd as z,gG as Z,am as ee,gK as oe,gL as te}from"./index-Cnh9fv8f.js";import{b as I,n as d}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=Q(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",r=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":D("vendor-details-section",h),children:[o.jsx(re,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>r(n),defaultValue:{selectedOption:v,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:B(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
padding-top: ${a.sp3};
|
|
@@ -20,7 +20,7 @@ import{e as k,M as A,j as o,m as B,_ as D,a4 as W,o as a,C as g,a3 as J,b as _,c
|
|
|
20
20
|
background-color: ${e=>e.theme.colors.grey3};
|
|
21
21
|
min-height: 1px;
|
|
22
22
|
max-height: 1px;
|
|
23
|
-
`,V="vendorDetails",de=({id:e,allAccounts:c,allClasses:v,allOwners:t,selectedVendor:m,formLocalData:p,isDisabled:C,onSaveVendor:b,saveVendorDetailLocalData:h,accountsHierarchyList:u,classHierarchyList:f})=>{const x=
|
|
23
|
+
`,V="vendorDetails",de=({id:e,allAccounts:c,allClasses:v,allOwners:t,selectedVendor:m,formLocalData:p,isDisabled:C,onSaveVendor:b,saveVendorDetailLocalData:h,accountsHierarchyList:u,classHierarchyList:f})=>{const x=K({mode:"all",reValidateMode:"onChange",defaultValues:ce(u,f,t,p)}),[l,y]=I.useState(!1),$=r=>{r.preventDefault(),x.getValues().vendorDetails.vendorName!==""&&l===!1&&b?.()},j=(r,S)=>{const n=ue(r,void 0);h?.(n)},P=async(r,S)=>{(r.includes("vendorName")||r.includes("vendorOwner")||r.includes("vendorClass")||r.includes("vendorCategory"))&&(j(S),l===!0&&r.includes("vendorName")&&y(!1))};return I.useEffect(()=>{const r=x.watch((S,{name:n})=>{n!=null&&S!=null&&U(()=>P(n,S))});return()=>{r.unsubscribe()}}),I.useEffect(()=>{m.saveStatus.fetchState==="Error"&&m.saveStatus.error?.code===409&&y(!0)},[m.saveStatus]),o.jsx(Y,{...x,children:o.jsx("form",{id:e,onSubmit:$,children:o.jsx(ne,{sectionId:V,selectedVendorDetails:m,isSaveError:l,selectedAccountId:p?.vendorCategory,selectedClassId:p?.vendorClass,selectedOwnerId:p?.vendorOwner,allAccounts:c??[],allClasses:v??[],selectedVendorName:p?.vendorName,allOwners:t,isDisabled:C,accountsHierarchyList:u,classHierarchyList:f})})})},ce=(e,c,v,t)=>({[V]:{vendorName:t?.vendorName??"",vendorOwner:{allOptions:B(v),selectedOption:t?.vendorOwner},vendorCategory:{allOptions:M(e),selectedOption:t?.vendorCategory},vendorClass:{allOptions:F(c),selectedOption:t?.vendorClass}}});function ue(e,c,v){const t=e?.[V];return{vendorCategory:t.vendorCategory.selectedOption,vendorClass:t.vendorClass.selectedOption,vendorId:c,vendorName:t.vendorName,vendorOwner:t.vendorOwner?.selectedOption}}const w={containerPaddingLeft:new g(s[3],s[3],s[6]),containerPaddingRight:new g(s[3],s[3],s[8]),containerMarginTop:new g(s[2],s[2],s[4]),navbarContainerPaddingTop:new g(s[3],s[3]),navbarContainerPaddingBottom:new g(s[3],s[3]),SectionTitleMarginTop:new g(0,s[3])},T={sectionTitle:new G("h6Regular","h5Medium"),sectionTitleLineHeight:new g(30,40)},pe=d.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
flex: 1 1 auto;
|
|
26
26
|
min-height: 100%;
|
|
@@ -61,7 +61,7 @@ import{e as k,M as A,j as o,m as B,_ as D,a4 as W,o as a,C as g,a3 as J,b as _,c
|
|
|
61
61
|
justify-content: flex-end;
|
|
62
62
|
margin-top: 3px;
|
|
63
63
|
margin-bottom: 3px;
|
|
64
|
-
`,fe=d(
|
|
64
|
+
`,fe=d(_)`
|
|
65
65
|
cursor: pointer;
|
|
66
66
|
color: ${e=>e.theme.colors.hero};
|
|
67
67
|
width: ${a.sp4};
|
|
@@ -69,7 +69,7 @@ import{e as k,M as A,j as o,m as B,_ as D,a4 as W,o as a,C as g,a3 as J,b as _,c
|
|
|
69
69
|
&:hover {
|
|
70
70
|
color: ${e=>e.theme.colors.primary};
|
|
71
71
|
}
|
|
72
|
-
`,xe=d(
|
|
72
|
+
`,xe=d(J)`
|
|
73
73
|
display: flex;
|
|
74
74
|
width: 100%;
|
|
75
75
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -77,4 +77,4 @@ import{e as k,M as A,j as o,m as B,_ as D,a4 as W,o as a,C as g,a3 as J,b as _,c
|
|
|
77
77
|
${e=>`${T.sectionTitle.style(e.windowSize)}`};
|
|
78
78
|
margin-left: ${e=>e.windowSize==="small"?a.sp3:0};
|
|
79
79
|
line-height: ${e=>T.sectionTitleLineHeight.valuePx(e.windowSize)};
|
|
80
|
-
`,E="vendorDetailPage",
|
|
80
|
+
`,E="vendorDetailPage",A=e=>`${e}_form`,je=({vendorDetailView:e,onSaveSuccess:c,onCancelClick:v,onSaveVendor:t,saveVendorDetailLocalData:m})=>{const{editVendorState:p,newVendorState:C,accountsHierarchyList:b,classHierarchyList:h}=e,u=H(),{footer:f,newVendor:x}=k.getLocalizedStrings().transactionDetail.vendorDetails.createVendor,l=Object.assign({},p??C);if(I.useEffect(()=>{l?.saveStatus?.fetchState==="Completed"&&c?.()},[l]),e.fetchState==="Not-Started"||e.fetchState==="In-Progress")return o.jsx(he,{children:o.jsx(q,{size:"ExtraLarge",start:!0})});const y=l.saveStatus?.fetchState==="In-Progress";return o.jsxs(pe,{windowSize:u,"data-testid":D("transaction-vendor-detail-page"),children:[o.jsxs(me,{windowSize:u,children:[o.jsx(we,{children:o.jsx(fe,{onClick:v,"data-testid":D("close-icon")})}),o.jsx(xe,{windowSize:u,children:x})]}),o.jsx(ge,{children:o.jsx(ve,{windowSize:u,"data-testid":D("vendor-detail-page-form"),children:o.jsx(de,{id:A(E),allAccounts:e.accountList.accounts,allClasses:e.classList.classes,allOwners:e.ownerList,selectedVendor:l,formLocalData:l.vendorDetailLocalData,onSaveVendor:t,saveVendorDetailLocalData:m,accountsHierarchyList:b,classHierarchyList:h})})}),o.jsx(W,{formId:A(E),primaryBtn:{label:f.save,isLoading:y},cancelBtn:{label:f.cancel,shouldResetOnCancel:!0,onClick:v}})]})};export{je as default,A as formUniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4 as $e,o as a,C as c,a3 as Ye,L as dt,ao as ut,s as ft,c4 as De,d as be,n as fe,a2 as ce,e_ as pt,a as Xe,l as mt,c7 as ht,ab as gt,a1 as wt,c as J,F as qe,f7 as ke,f8 as Ae,fG as xt,bx as ye,fB as $t,h0 as Dt,q as o,c_ as bt,bL as Ge,br as yt,cD as Tt,b5 as Ct,B as He,f3 as St,dt as vt,bt as Je,fa as kt,fc as At}from"./index-DjfQ_8_G.js";import{b as u,n}from"./vendor-CnQcJ2Lu.js";import{v as Lt}from"./ZeniTransferAmountSlider-DFB0ntiR-DEw2G9RV.js";import{r as Pt}from"./AccountInfoPageContent-DQJFmREl-DJbEuy4H.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-hPck-AA1-BRfoLwQe.js";import"./commonDimensions-CKs-7p-V-2mIh0uhQ.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Qe=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:U,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:Q}){const i=ue(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Z=r.transferMoneyPartiesFetchState,oe=ce(Z),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),Ze=u.useCallback(s=>{O?.(s),R(),Y(!1),z(!1)},[R,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Ze,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(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(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Z==="Completed"||ie!==X||Te!==ee||s)&&L.reset(Pe(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Z,ie,Te,ee,X,me,pe,L,r,q]);const{isValid:tt}=L.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)};U(le)}};u.useEffect(()=>{const s=L.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()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const s=L.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),Q())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${Le}`,{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=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Rt,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{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:G("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Qe(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Re,{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:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Le),placeholder:b.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(Re,{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:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.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(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ue),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Gt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Lt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Ht,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Qt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.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:b.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.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:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Pe=(e,r)=>({transferDetails:{[Ue]: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{j as t,e as ue,_ as A,gT as lt,M as I,a0 as U,k as ve,h1 as ct,m as Ve,a4 as $e,o as a,C as c,a3 as Ye,L as dt,ao as ut,s as ft,c6 as De,d as be,n as fe,a2 as ce,f0 as pt,a as Xe,l as mt,c9 as ht,ab as gt,a1 as wt,c as Z,F as qe,f9 as ke,fa as Ae,fI as xt,bA as Te,fD as $t,h2 as Dt,q as o,d0 as bt,bN as Ue,bu as Tt,cF as yt,b5 as Ct,B as Ge,f5 as St,ds as vt,bw as Ze,fc as kt,fe as At}from"./index-Cnh9fv8f.js";import{b as u,n}from"./vendor-rkTZJa59.js";import{v as Pt}from"./ZeniTransferAmountSlider-Bw5S2HTx-CfuKg8UT.js";import{r as Lt}from"./AccountInfoPageContent-Cc80eQeo-579rUIpL.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-BJozh7zE-M2Rp1JlQ.js";import"./commonDimensions-D0ovCC4N-B0G2UdHm.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),He="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Je="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:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:H,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,N]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),ye=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),R(),Y(!1),z(!1)},[R,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&&N(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(()=>{V&&x&&q()},[V,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||ye!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,ye,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)};H(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?(y(!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&&ht(()=>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=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Rt,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Nt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{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:Z.heroLight}})})]})}):null,t.jsx(Vt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Re,{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:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:b.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(Re,{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:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.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(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,He),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:b.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(Jt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Te,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Ht,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ve,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,T=!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(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[He]: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,7 +17,7 @@ import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4
|
|
|
17
17
|
width: 100%;
|
|
18
18
|
justify-content: space-between;
|
|
19
19
|
padding: ${a.sp3} ${a.sp4};
|
|
20
|
-
background-color: ${
|
|
20
|
+
background-color: ${Z.importantLight};
|
|
21
21
|
border-radius: ${a.sp2};
|
|
22
22
|
`,Et=n.div`
|
|
23
23
|
display: flex;
|
|
@@ -25,19 +25,19 @@ import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4
|
|
|
25
25
|
`,It=n.div``,Ot=n(bt)`
|
|
26
26
|
width: ${a.sp4};
|
|
27
27
|
height: ${a.sp4};
|
|
28
|
-
color: ${
|
|
28
|
+
color: ${Z.important};
|
|
29
29
|
`,_t=n.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
flex-direction: column;
|
|
32
32
|
margin-left: ${a.sp2};
|
|
33
|
-
`,Wt=n(
|
|
34
|
-
color: ${
|
|
35
|
-
`,
|
|
36
|
-
color: ${
|
|
37
|
-
`,
|
|
33
|
+
`,Wt=n(Ue)`
|
|
34
|
+
color: ${Z.important};
|
|
35
|
+
`,Nt=n(fe)`
|
|
36
|
+
color: ${Z.important};
|
|
37
|
+
`,Vt=n(Tt)`
|
|
38
38
|
color: ${e=>e.theme.colors.primary};
|
|
39
39
|
margin: ${a.sp5} ${a.sp0} ${a.sp3} ${a.sp0};
|
|
40
|
-
`,je=n(
|
|
40
|
+
`,je=n(yt)`
|
|
41
41
|
border-radius: ${a.sp2};
|
|
42
42
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
43
43
|
`,Yt=n.div`
|
|
@@ -55,8 +55,8 @@ import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4
|
|
|
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(Ue)`
|
|
59
|
+
color: ${Z.success};
|
|
60
60
|
white-space: nowrap;
|
|
61
61
|
`,qt=n(Ct)`
|
|
62
62
|
width: ${a.sp3};
|
|
@@ -65,10 +65,10 @@ import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4
|
|
|
65
65
|
&:hover {
|
|
66
66
|
color: ${e=>e.theme.colors.primary};
|
|
67
67
|
}
|
|
68
|
-
`,
|
|
68
|
+
`,Ut=n.div`
|
|
69
69
|
margin-bottom: ${a.sp6};
|
|
70
70
|
width: 90%;
|
|
71
|
-
`,
|
|
71
|
+
`,Gt=n.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
align-items: center;
|
|
74
74
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
@@ -77,7 +77,7 @@ import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4
|
|
|
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
|
+
`,Zt=n.div`
|
|
81
81
|
display: flex;
|
|
82
82
|
flex-direction: row;
|
|
83
83
|
align-items: center;
|
|
@@ -98,7 +98,7 @@ import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4
|
|
|
98
98
|
color: ${e=>e.theme.colors.primary};
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
`,
|
|
101
|
+
`,Ht=n.div`
|
|
102
102
|
display: ${e=>e.windowSize==="small"?"none":"block"};
|
|
103
103
|
width: ${a.sp1};
|
|
104
104
|
height: ${a.sp1};
|
|
@@ -106,14 +106,14 @@ import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4
|
|
|
106
106
|
margin: 0 ${a.sp2};
|
|
107
107
|
background-color: ${e=>e.theme.colors.grey1};
|
|
108
108
|
border-radius: 50%;
|
|
109
|
-
`,
|
|
109
|
+
`,Jt=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
|
-
`,
|
|
114
|
+
`,Kt=n(Ge)`
|
|
115
115
|
color: ${e=>e.theme.colors.hero};
|
|
116
|
-
`,
|
|
116
|
+
`,Qt=n(St)`
|
|
117
117
|
cursor: pointer;
|
|
118
118
|
width: 12px;
|
|
119
119
|
height: 12px;
|
|
@@ -179,7 +179,7 @@ import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4
|
|
|
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])},D=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,ra=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:
|
|
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])},D=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,ra=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:T,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:f,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:y,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:F,onEstablishConnectionClick:M,onBackClick:H,onFetchLinkTokenClick:R,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:J,setCurrentDrawerContent:K,clearReviewTransferDetail:i,onReviewClick:E,setIsCalculatorOpen:W,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:N})=>{const x=ue(),z=e.reviewTransferDetail,V=e.transferDetailLocalData.transferFrom?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount",Y=()=>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(Ie,{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:V?t.jsxs(t.Fragment,{children:[D.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(Ee,{children:U("0,0.[00]",e.transferDetailLocalData.amount)}),D.transferDrawer.internal.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,D.transferDrawer.internal.transferSuccessMsgMidfix2,`"${e.transferDetailLocalData.transferTo?.label}".`]}):t.jsxs(t.Fragment,{children:[D.transferDrawer.external.transferSuccessMsgPrefix,t.jsx(Ee,{children:U("0,0.[00]",e.transferDetailLocalData.amount)}),D.transferDrawer.external.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,D.transferDrawer.external.transferSuccessMsgMidfix1,`"${e.transferDetailLocalData.transferTo?.label}".`,z.reviewTransferMoney.isShowDailyAchLimitWarning?null:D.transferDrawer.external.transferSuccessMsgMidfix2]})}),t.jsxs(ca,{windowSize:x,children:[t.jsx(ve,{variant:"secondary",label:D.transferDrawer.anotherTransferBtn,"data-testid":A("another-transfer-button"),onClick:()=>{l("Another Transfer","Transfer Success"),N(0),W(!1),v(0),j(!1),F()},style:{minWidth:200}}),t.jsx(ve,{variant:"primary",label:D.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:J,onTransferClick:C,clearReviewTransferDetail:i,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(Ie,{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:D.transferDrawer.title}):t.jsx(fa,{children:D.transferDrawer.title}),x==="small"?t.jsx(ia,{children:D.transferDrawer.subTitle}):t.jsx(oa,{children:D.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(zt,{isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:T,totalBalance:w,onBackClick:H,onSaveChangesToLocalStore:y,plaidConnectionDetails:O,transferDetails:e,zeniAccountsConfigDetail:f,onEstablishConnectionClick:M,onFetchLinkTokenClick:R,onReviewClick:E,setIsCalculatorOpen:W,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:N,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(Ve,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),Y()?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ke(Je),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:I.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:D.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},oa=n(fe)`
|
|
183
183
|
color: ${e=>e.theme.colors.hero};
|
|
184
184
|
`,ia=n(be)`
|
|
185
185
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -241,10 +241,10 @@ import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4
|
|
|
241
241
|
color: ${e=>e.theme.colors.primary};
|
|
242
242
|
margin-top: ${a.sp3};
|
|
243
243
|
margin-bottom: ${a.sp2};
|
|
244
|
-
`,
|
|
244
|
+
`,G={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])},We="wireTransferDetailPage",Ne=e=>`${e}_form`,pa=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,we=I.getLocalizedStrings().common,ma=e=>t.jsx(va,{color:kt(e)}),ha=({depositAccountListView:e,setCurrentDrawerContent:r,selectedAccount:g,setShowWireAccountInfo:$,setSelectedAccount:T,fireTrackTransferBetweenAccountsFormClicked:w})=>{const d=Xe({mode:"all",reValidateMode:"onChange",defaultValues:{selectedAccountId:g?.id}}),f=ue();return u.useEffect(()=>{const l=d.watch(()=>{const y=e.depositAccounts.find(C=>C.id===d.getValues("selectedAccountId"));T(y)});return()=>{l.unsubscribe()}}),e.fetchState!="Completed"?t.jsx($t,{fetchState:e.fetchState}):t.jsxs(t.Fragment,{children:[t.jsxs(ga,{windowSize:f,children:[t.jsx(Ca,{windowSize:f,children:t.jsx(Te,{style:{marginTop:a.sp1},title:we.navBar.back,enterDelay:600,placement:"bottom",children:t.jsx(ya,{"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(qe,{...d,children:t.jsx("form",{id:Ne(We),onSubmit:d.handleSubmit(()=>{w("Next","Select Account for Split Transfer"),$(!0)}),children:t.jsx(Ta,{windowSize:f,children:e.depositAccounts.map((l,y)=>t.jsx(ba,{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(Dt,{name:"selectedAccountId",id:l.id,value:l.id,radioSize:"small",style:{marginRight:8}}),ma(y),t.jsxs(xa,{children:[t.jsx(Da,{windowSize:f,children:l.accountName}),t.jsx($a,{children:U("0,0[.]00",l.accountBalance?.available)})]})]})},l.id))})})})]}),g!=null?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ne(We),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=>`${G.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
247
|
+
padding-right: ${e=>`${G.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
248
248
|
margin-bottom: auto;
|
|
249
249
|
`,wa=n.div`
|
|
250
250
|
display: flex;
|
|
@@ -257,7 +257,7 @@ import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4
|
|
|
257
257
|
overflow: hidden;
|
|
258
258
|
position: relative;
|
|
259
259
|
top: 2px;
|
|
260
|
-
`,$a=n(
|
|
260
|
+
`,$a=n(Ge)`
|
|
261
261
|
color: ${e=>e.theme.colors.grey1};
|
|
262
262
|
position: relative;
|
|
263
263
|
top: -${a.sp1};
|
|
@@ -267,8 +267,8 @@ import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4
|
|
|
267
267
|
text-transform: capitalize;
|
|
268
268
|
overflow: hidden;
|
|
269
269
|
`,ba=n.div`
|
|
270
|
-
padding-left: ${e=>
|
|
271
|
-
padding-right: ${e=>
|
|
270
|
+
padding-left: ${e=>G.accountRowLeftRightPadding.valuePx(e.windowSize)};
|
|
271
|
+
padding-right: ${e=>G.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} `};
|
|
@@ -284,9 +284,9 @@ import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4
|
|
|
284
284
|
border-color: ${e=>e.theme.colors.primary};
|
|
285
285
|
color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.hero};
|
|
286
286
|
}
|
|
287
|
-
`,
|
|
288
|
-
padding-bottom: ${e=>
|
|
289
|
-
`,
|
|
287
|
+
`,Ta=n.div`
|
|
288
|
+
padding-bottom: ${e=>G.zeniAccountListPaddingBottom.valuePx(e.windowSize)};
|
|
289
|
+
`,ya=n(Ze)`
|
|
290
290
|
cursor: pointer;
|
|
291
291
|
color: ${e=>e.theme.colors.hero};
|
|
292
292
|
width: ${a.sp4};
|
|
@@ -302,7 +302,7 @@ import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4
|
|
|
302
302
|
align-items: center;
|
|
303
303
|
width: 100%;
|
|
304
304
|
top: ${a.sp0};
|
|
305
|
-
padding: ${e=>`${
|
|
305
|
+
padding: ${e=>`${G.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
|
|
306
306
|
z-index: 2;
|
|
307
307
|
background-color: ${e=>e.theme.colors.grey4};
|
|
308
308
|
`,Sa=n(De)`
|
|
@@ -315,15 +315,15 @@ import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4
|
|
|
315
315
|
margin-right: ${a.sp2};
|
|
316
316
|
padding: 12px ${a.sp0};
|
|
317
317
|
box-sizing: content-box;
|
|
318
|
-
`,{common:{navBar:{back:ka}}}=I.getLocalizedStrings(),
|
|
319
|
-
margin-left: ${e=>`${
|
|
320
|
-
margin-right: ${e=>`${
|
|
321
|
-
margin-bottom: ${e=>`${
|
|
322
|
-
`,
|
|
318
|
+
`,{common:{navBar:{back:ka}}}=I.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=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,Aa=({authParams:e,downloadAccountDetailEndPoint:r,depositAccount:g,zeniAccountsConfigDetail:$,currentTenant:T,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(Te,{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:T,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
|
+
margin-left: ${e=>`${L.accountInfoPageWrapperMarginLeft.valuePx(e.windowSize)}`};
|
|
320
|
+
margin-right: ${e=>`${L.accountInfoPageWrapperMarginRight.valuePx(e.windowSize)}`};
|
|
321
|
+
margin-bottom: ${e=>`${L.accountInfoPageWrapperMarginBottom.valuePx(e.windowSize)}`};
|
|
322
|
+
`,La=n.div`
|
|
323
323
|
height: auto;
|
|
324
|
-
padding: ${e=>`${a.sp0} ${
|
|
324
|
+
padding: ${e=>`${a.sp0} ${L.pageContentPaddingLeftRight.valuePx(e.windowSize)}`};
|
|
325
325
|
margin-bottom: auto;
|
|
326
|
-
`,ja=n(
|
|
326
|
+
`,ja=n(Ze)`
|
|
327
327
|
cursor: pointer;
|
|
328
328
|
color: ${e=>e.theme.colors.hero};
|
|
329
329
|
width: ${a.sp4};
|
|
@@ -339,24 +339,24 @@ import{j as t,e as ue,_ as A,gR as lt,M as I,a0 as G,k as ve,g$ as ct,m as Ne,a4
|
|
|
339
339
|
align-items: center;
|
|
340
340
|
width: 100%;
|
|
341
341
|
top: ${a.sp0};
|
|
342
|
-
padding: ${e=>`${
|
|
342
|
+
padding: ${e=>`${L.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
|
|
343
343
|
z-index: 2;
|
|
344
344
|
background-color: ${e=>e.theme.colors.grey4};
|
|
345
|
-
margin: ${e=>`${a.sp0} ${
|
|
345
|
+
margin: ${e=>`${a.sp0} ${L.navBarContainerMarginLeftRight.valuePx(e.windowSize)}`};
|
|
346
346
|
`,Ba=n(fe)`
|
|
347
347
|
color: ${e=>e.theme.colors.hero};
|
|
348
|
-
margin-left: ${e=>
|
|
349
|
-
margin-right: ${e=>
|
|
348
|
+
margin-left: ${e=>L.descriptionMarginLeftRight.valuePx(e.windowSize)};
|
|
349
|
+
margin-right: ${e=>L.descriptionMarginLeftRight.valuePx(e.windowSize)};
|
|
350
350
|
margin-bottom: ${a.sp7};
|
|
351
351
|
`,Fa=n.div``,Ma=n(De)`
|
|
352
352
|
color: ${e=>e.theme.colors.primary};
|
|
353
353
|
padding: ${a.sp3} ${a.sp0} ${a.sp2} ${a.sp0};
|
|
354
|
-
margin: ${e=>`${a.sp0} ${
|
|
355
|
-
`,Ra=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:
|
|
354
|
+
margin: ${e=>`${a.sp0} ${L.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
355
|
+
`,Ra=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:T,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[y,C]=u.useState(!1),[S,F]=u.useState(r.depositAccounts.find(M=>M.id===T));return y&&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})},Ja=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:g,maxInsuredAmount:$,currentTenant:T,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:y,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:F,onTransferClick:M,onReviewClick:H,onDismissClick:R,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:J,clearReviewTransferDetail:K,onFetchLinkTokenClick:i,plaidConnectionDetails:E})=>{const[W,j]=u.useState(!1),[m,v]=u.useState(!1),[N,x]=u.useState(0),[z,V]=u.useState(0),[Y,Q]=u.useState(0),oe=()=>{const X=(ee,ie)=>y.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:W,showAnnualYieldEarned:m,transferAmount:N,yieldEarned:z,totalBalance:Y,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:X,onSaveChangesToLocalStore:F,onTransferClick:M,onDismissClick:R,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:J,onFetchLinkTokenClick:i,plaidConnectionDetails:E,setCurrentDrawerContent:C,clearReviewTransferDetail:K,onReviewClick:H,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:V,setTotalBalance:Q,maxInsuredAmount:$}):t.jsx(Ra,{zeniAccountsConfigDetail:r,depositAccountListView:g,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:T,downloadAccountDetailEndPoint:f,authParams:l,fireTrackTransferBetweenAccountsFormClicked:X,setCurrentDrawerContent:C,onDismissClick:R})};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};
|
|
359
359
|
overflow-x: hidden;
|
|
360
360
|
height: 100%;
|
|
361
361
|
width: 100%;
|
|
362
|
-
`;export{
|
|
362
|
+
`;export{Ja as default};
|