@zeniai/web-cockpit-ui 1.14.12-qa → 1.14.13-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-DVi_fb5U-BWoXmLUY.js +21 -0
- package/dist/assets/{AIPerformancePage-C459GJxs-CUFOWwFR.js → AIPerformancePage-C-orwzaK-DOCKSZSl.js} +44 -44
- package/dist/assets/{AccountInfoPage-DWqJj9l6-Capr_Z-3.js → AccountInfoPage-DvhQOLM6-C0wQ6YRZ.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-Ca328DM4-Cb8-F3Q9.js → AccountInfoPageContent-B1BJnQNd-Dywp_u_s.js} +18 -18
- package/dist/assets/{AccountReconDetailsDrawerPage-BqIo4mya-BHbTJiEq.js → AccountReconDetailsDrawerPage-C8EtTwZE-BoEh8Ely.js} +13 -13
- package/dist/assets/{AccountRow-Bk3xWobY-C4Zvilnd.js → AccountRow-m3N4T8ro-CB7I5u10.js} +27 -27
- package/dist/assets/{AccountsPromoCardStack-Co90dxxm-BlSZ2eIa.js → AccountsPromoCardStack-DGHAcZ7D-BqYytjsB.js} +28 -28
- package/dist/assets/{AddAddressForCardDrawer-XNGsKMvs-rj1kuL_e.js → AddAddressForCardDrawer-B_1jj1h7-Cu6_XTQ0.js} +2 -2
- package/dist/assets/{AddToWalletPage-BiQWQXvz-Bblrbomq.js → AddToWalletPage-DL1Bk4bd-ClBCUS3g.js} +21 -21
- package/dist/assets/{AgingReportsPage-ClR6ctjm-BvsA-X32.js → AgingReportsPage-DQ4P7iSR-BaDY7W1-.js} +8 -8
- package/dist/assets/{AllUserItems-RFWkNfw--C4DCHl34.js → AllUserItems-BSWk_1pR-BC2mjTTt.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-F-pd4-We-BM-jeada.js → ApAgingDetailPage-0i8K1czh-BtF7tRtB.js} +2 -2
- package/dist/assets/{AppBasePage-B9-FGKn--CpOP-7R8.js → AppBasePage-CV3kU-Ax-HUIuRSgH.js} +7 -7
- package/dist/assets/{AppDrawerContent-C6P8rk3y-BWhPaRYb.js → AppDrawerContent-DA8q-1_m-Ip7rRN25.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-CPNEEGTF-BhZ8kwTo.js → ApprovalRulesSettingsPage-CRlqbhea-CnWEhcBd.js} +7 -7
- package/dist/assets/{ArAgingChart-D9qmMVoC-DsreAD17.js → ArAgingChart-CiJNNObG-DOT8YGoK.js} +6 -6
- package/dist/assets/{ArAgingDetailPage-DMuZM6P_-Vz-qJNmg.js → ArAgingDetailPage-2I9R_J97-CEWBavmC.js} +1 -1
- package/dist/assets/{AttachmentView-B2ZOED0q-dJMT88ra.js → AttachmentView-D0naVbDk-BMIJVqWj.js} +7 -7
- package/dist/assets/{BankAccountSection-C8G4yj75-B_w1M8Cy.js → BankAccountSection-CYYTnOEW-ta40gqBk.js} +6 -6
- package/dist/assets/BankAccountWarningSection--b6oxmO3-bf21H1-K.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-B5IQ5w6f-1z2_M0sV.js → BankConnectionsSettingsPage-BzwCu93j-CCEpUgq7.js} +49 -49
- package/dist/assets/{BillDetailPage-B-PMkZ44-Dz4DR1t2.js → BillDetailPage-OzI0RkQ_-Bav1HJG-.js} +16 -16
- package/dist/assets/{BillPayApprovalRuleDetailPage-CdLKENJ--kCXb23Bw.js → BillPayApprovalRuleDetailPage-DIQW7KY9-C0xmBCct.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BueljBn0-CPA-G34p.js → BillPayApprovalRulesPage-BMmJ4cuT-CLahxDlm.js} +9 -9
- package/dist/assets/{BillPayPromoPage-WXntEliq-SuckTMGr.js → BillPayPromoPage-CN5LKQzn-T_t_dz_s.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-By7rYetf-BlaS7RoJ.js → BillPaySetUpPage-DMKmupPw-CmltaH2A.js} +2 -2
- package/dist/assets/{BillingSettingsPage-D-XtlyVU-D47jr1yc.js → BillingSettingsPage-Bt_0mrqR-CgkXOlNp.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-P8siJ8lO-69e-PfV-.js → BillsBulkReviewDrawerPage-GFME_IXw-CmxfCt6F.js} +1 -1
- package/dist/assets/{BoxItem-Bcy7IYuZ-CuoCQ3AF.js → BoxItem-nvtPdCwS-CiJFmSMj.js} +1 -1
- package/dist/assets/BusinessVerificationPage-_E3jrLwS-D28zK5AA.js +140 -0
- package/dist/assets/{CardNumberSubText-VsMOF0Xv-DCsVHK-6.js → CardNumberSubText-DBpF1pjJ-BDHubHrk.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DNbRs50r-Buun1iiv.js → CashbackDetailPage-DrdbDPXK-BHacfWCb.js} +30 -30
- package/dist/assets/{ChargeCardDetailPage-BSDS8Kqb-DpPROxWg.js → ChargeCardDetailPage-DvY3CSB4-DTju6vUj.js} +54 -54
- package/dist/assets/{ChargeCardListPage-Bzr8qMC0-CP4LVMfI.js → ChargeCardListPage-BE5yGbg8-B5XQaFqy.js} +14 -14
- package/dist/assets/{ChargeCardListTable-CTp6TFBR-BvzqcSSI.js → ChargeCardListTable-B-scLCAt-DWKxrdfC.js} +37 -37
- package/dist/assets/ChargeCardPromoPage-2OheDHbA-BAFEqKdK.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-B1wzJjgH-CTGNj7vw.js → ChargeCardSetupPage-FNCK1n4W-DRpaATuu.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CePfbLPp-CyQ0YrOT.js → ChargeCardStatementsPage-1fuIth_h-DUYP62lN.js} +9 -9
- package/dist/assets/{ChargeCardUtils-DC2v2EHU-B8YRIRH7.js → ChargeCardUtils-CErWBcYS-DYGG4Kg0.js} +1 -1
- package/dist/assets/{ChaseOverlay-B-Sx71yo-CVGS055Q.js → ChaseOverlay-9_ms5LgM-DLbFcFUT.js} +7 -7
- package/dist/assets/CheckDepositDrawerPage-DEFEMwuI-FYtd8ETj.js +206 -0
- package/dist/assets/{CollapsableReportTable-mEqm05fp-CpGwQyDI.js → CollapsableReportTable-DX-FpwE7-MJq_0H8T.js} +59 -59
- package/dist/assets/CompanyOfficerDetailsSection-BEgNqg-b-BZkAjfXP.js +260 -0
- package/dist/assets/{CompanyPassportCard-Ct6tCZqT-gCSCuEJk.js → CompanyPassportCard-BZXE3iJL-D0vVN1yd.js} +4 -4
- package/dist/assets/{CompanyPassportPage-D9NQ4bXl-DTZK2KZn.js → CompanyPassportPage-BYZC3G4H-Dyir7GPA.js} +22 -22
- package/dist/assets/CompleteProfile-mCKLQjGe-D37b51yU.js +52 -0
- package/dist/assets/{ConfettiBurst-DqSwVGBC-BHlAAcPF.js → ConfettiBurst-BEoFHjQ0-BZkigu9v.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D27A1926-BsU3_dv5.js → CreateOrEditVendorPage-6sohsdle-DulmpRQu.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-BI37dSwx-39VjlJr3.js → CreditCardPaymentDrawerPage-6oVDS3D8-BG57VbJ5.js} +21 -21
- package/dist/assets/{CreditCardPaymentPlgSection-CAsn4Ae6-CZm-m7f1.js → CreditCardPaymentPlgSection-DX1BieKp-CaB1ZnNz.js} +11 -12
- package/dist/assets/{CurrencySelectField-5uG4FfJ9-qAwPonrx.js → CurrencySelectField-F2P1iCLk-DqZUsNYq.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-Be-GrAiK-besA9uPP.js → CustomerOnboardingActivationPage-CNJkyjta-BXFLHGd8.js} +8 -8
- package/dist/assets/CustomerOnboardingContainerPage-D6yeERaX-CnXYVWPD.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DhGp71bj-DWlhhsi_.js → CustomerOnboardingDetailPageSkeleton-B_MgUg-5-Bgdn7kSU.js} +12 -12
- package/dist/assets/{CustomerOnboardingNoStepsPage-CdOGTNXC-CHTF3KrU.js → CustomerOnboardingNoStepsPage-B49-4wZk-KyTxoYIy.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-ClPsywa3-DzHYHzx_.js → CustomerOnboardingPage-4FPXG220-Bhtz8R34.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-pnHglqXq-CCAeHa0M.js → CustomerOnboardingProductSuitePage-cJPPvh-5-CdfdHVAA.js} +9 -9
- package/dist/assets/{Dashboard-avtbjFLf-CWLaijij.js → Dashboard-BBy_mQ8p-zBP8Z7QF.js} +260 -242
- package/dist/assets/{DashboardReportPage-CqJAu5WP-C5R220Aq.js → DashboardReportPage-DYttySr4-ICoa42Db.js} +6 -6
- package/dist/assets/{DepositAccTransactionItem-Da0GWYei-C6IiAcvx.js → DepositAccTransactionItem-PNTL0e8v-Bf5t1weD.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-DUwVnkwy-91dKQsy5.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-DGcVKriv-CQ6tNZZ5.js → DomesticWireDetailsPage-BhwTfZwI-lG3b6Dqd.js} +1 -1
- package/dist/assets/{DownloadOverlay-BdGiqnp7-Do8jKDZO.js → DownloadOverlay-CUbv29mo-Cm7YvHGd.js} +21 -21
- package/dist/assets/{DrawerPage-DCfm1BVs-CkoWC70i.js → DrawerPage-2_QOgQ1m-jFj08QrD.js} +11 -11
- package/dist/assets/EditPeoplePage-CtTYiqg3-C_rRpXUg.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-C-nYgUua-C1FZgAx7.js → EditReimbursementDetailPage-C_jRh7w0-BjxLHuhj.js} +61 -61
- package/dist/assets/{EntityDetailPage-4HX_rHUf-CkoCECUD.js → EntityDetailPage-BhQsnCgQ-BJqshBB_.js} +3 -3
- package/dist/assets/{EntitySummarySection-C9VeOBpT-C1O3lIMZ.js → EntitySummarySection-CKkXzM76-JNV3nj4B.js} +12 -12
- package/dist/assets/{ExpenseAutomationOverviewPage-8jTkscWa-CfASrU1u.js → ExpenseAutomationOverviewPage-ZuB3Aiv2-g-beRD6J.js} +26 -26
- package/dist/assets/{ExpenseAutomationPage-D1wcc9GW-C8FX-4rm.js → ExpenseAutomationPage-BUic8zfk-CY9AnIj2.js} +41 -41
- package/dist/assets/{ExpressPayPage-Cj6cvMwQ-D9CJAZ17.js → ExpressPayPage-DEkJ_H0W-D2MJYEqV.js} +12 -12
- package/dist/assets/FeaturePreviewPage-CtK7L5vk-zb1RibOL.js +11 -0
- package/dist/assets/{FollowStepsSection-DjfnVH8N-B6vBO9jA.js → FollowStepsSection-CWw764ZM-BMjBkJvU.js} +9 -9
- package/dist/assets/{GlobalReviewListPage-CEOzc0We-DJGBphLn.js → GlobalReviewListPage-CZctHM7r-C-SmU9tc.js} +12 -12
- package/dist/assets/{HelpButton-BdhMFvtG-BdXfZX0U.js → HelpButton-Dpx0Yoel-1C4sAmaf.js} +4 -4
- package/dist/assets/{InformationCardStack-DFOumIBr-C0vq2uPl.js → InformationCardStack-BGpHl4yb-D2VMsFIF.js} +5 -5
- package/dist/assets/InsightsCardStack-BbMJEahw-XjHe58kA.js +79 -0
- package/dist/assets/InsightsSection-CYkuQHcj-B18a-FIC.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DF-jcHzr-CvvJemcw.js → IntegrationsSettingsPage-CMjSCRm_-C9xmqHS7.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-BFMqW1oQ-cIs7ycQ9.js → InternationalWireSwiftDetailsPage-BTbTUt8U-DHwEWLr_.js} +15 -15
- package/dist/assets/{InternationalWireVerificationPage-Cq7swzrt-BXVkaYvX.js → InternationalWireVerificationPage-DAW2eMTg-BGhWwB2B.js} +22 -22
- package/dist/assets/{InviteFormPage-DXl2sEn9-Qq6BD2nX.js → InviteFormPage-CCbyacPR-DUt2JWiG.js} +20 -20
- package/dist/assets/{InvitePageListView-B5fRPcOg-BIAYUEYw.js → InvitePageListView-mHkALr5o-BpwevZSI.js} +62 -62
- package/dist/assets/InvitePeoplePage-r6PLBiEv-CRU1obhZ.js +12 -0
- package/dist/assets/{InvoiceUploadSection-opkVsXZH-CiDZyXEw.js → InvoiceUploadSection-BsjeicP1-CxRipy2m.js} +41 -41
- package/dist/assets/{IssueChargeCardPage-CZU1qbHO-D3xb_BWj.js → IssueChargeCardPage-C3esnkQg-Bt2ncw32.js} +33 -33
- package/dist/assets/{LabeledAddressValue-CCd3y8zQ-BLzq0Yq7.js → LabeledAddressValue-CeeoKoY4-C81fNRY2.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-XuFlx-oK-YJyhDZDY.js → LabeledAddressValueField-B6eeRCSM-BGM6iGCs.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-CCQn4-_S-CzvDrRjj.js → LabeledControlledCheckBoxField-CK8YBqJ7-dH7h4-c9.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-uQKngCdt-CU01d4Cj.js → LabeledCreatableSingleSelectField-BSKL8pA3-y22U9yzT.js} +6 -6
- package/dist/assets/LabeledDocumentField-BEyArLK3-Bbt820GM.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BrUNxsKy-CdrCxnZe.js → LabeledDropDownFormattedTextField-DikXPnxD-3H5194hi.js} +7 -7
- package/dist/assets/{LabeledText-ByqI7uq0-DxtGCoMb.js → LabeledText-qSjyNZO1-BMO1teu9.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dg1Lpwl0-CcatEpZT.js → LabeledUserSingleSelectWithSubtitlesField-x87S_Azj-BPP3i4wb.js} +16 -16
- package/dist/assets/{LabeledZeniRolesDropDownField-DZL4GZtE-BBfYQkEz.js → LabeledZeniRolesDropDownField-nm5bG2up-B-C-v8v9.js} +17 -17
- package/dist/assets/{LinkJETransactionPage-CJlBllrr-6j6wzRRV.js → LinkJETransactionPage-p7wdZbtp-BamvjpR7.js} +13 -13
- package/dist/assets/{LowBalancePopup-BEvuAR0Z-Bk_xFnCD.js → LowBalancePopup-DHk6xd2B-V5eEOh0a.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-DloX1GWg-BFMutoMu.js → MagicLinkACHDetailsPage-DRQ8oej8-B79oZw1R.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DewjvM4v-DuBt-sx-.js → MagicLinkDomesticWireDetailsPage-BxXU9Opg-BdNHmjDj.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CVhazlxQ-BlY4hBeE.js → MagicLinkInternationalWireDetailsPage-DYN1baIc-DT4ZdIcR.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-CX3bJ5_B-Bgn3-P2S.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-d1edBt3w-BVfkhuQ-.js → MagicLinkTitleSection-K2cZQVzq-CIEidPVy.js} +4 -4
- package/dist/assets/MailingDetailsSection--zHyCquq-Cn3SWfKt.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-MtSyJ1AS-C61rImN5.js → MeetingCalenderPopup-DbFlQ8Km-9ZxBnjo6.js} +1 -1
- package/dist/assets/{Menu-BV79l8xf-B7WjdNMQ.js → Menu-LLL9taEz-CtH4c9eF.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-D-xDtURG-C2HMY51d.js → MyBankConnectionsSettingsPage-BfDsHVZw-aWZVlaCb.js} +15 -15
- package/dist/assets/{MyPendingActivationChargeCardListPage-VEhml0PW-BCXZzbbW.js → MyPendingActivationChargeCardListPage-vag56A65-DvFj3aDV.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DPJ0fJdQ-TQrYLgYZ.js → MyProfileSettingsPage-DCKqWh-p-Ca4URKq-.js} +8 -8
- package/dist/assets/NavBarWithPicker-Cvi89wZV-3CVqu6ha.js +30 -0
- package/dist/assets/{NavigationArrow-BwXNdvOg-BPZh6hXD.js → NavigationArrow-CHmddDC--CUC3t4BZ.js} +2 -2
- package/dist/assets/NavigationDots-1wpj484Z-By9SVfKB.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-IeE86L-X-Bae2AXUm.js → NewGlobalMerchantPage-B0FywA12-BRuJ6OhE.js} +13 -13
- package/dist/assets/{NoDataChart-C9yfE8vY-4P6j_Myy.js → NoDataChart-D43mhDJW-B9CXfEvp.js} +1 -1
- package/dist/assets/{NoDataTable-DF9QNT4a-BHK-o5qC.js → NoDataTable-BOfUxs9D-8iqVCaVk.js} +1 -1
- package/dist/assets/{NotFoundPage-DSaizJve-BxedHkcK.js → NotFoundPage-DFioH5Rt-BQR0ORs3.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DeAeFHmj-DUWQVg3q.js → NotificationSettingsPage-y4g1rAal-BJEuhBam.js} +13 -13
- package/dist/assets/{NotificationsListConfig-DuzDckh--C6BvfucE.js → NotificationsListConfig-sybPesiv-FmaZBisq.js} +1 -1
- package/dist/assets/{NotificationsPage-B7ZC7ezP-Cdj0nN7a.js → NotificationsPage-C88YOjuY-Ds4zz6jH.js} +31 -32
- package/dist/assets/{OpExByVendorPage-DzODetHf-Dm-W-8O1.js → OpExByVendorPage-qBWbJhv9-Cs148Yzz.js} +7 -7
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-Db5ZTmqB.js → OverlayContainerPage-Dres4Grh-BoM1wcb9.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-FEi5USqF-DEFE8FSJ.js → PandLWithForecastPage-uiaHrci6-ClUgwvyo.js} +8 -8
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BbL4x5pQ-CArcGp7V.js → PaymentAccountSetupBillingAddressSection-BepDUdA0-DvE7tkJU.js} +11 -11
- package/dist/assets/{PeoplePage-B35T31YZ-C-lJt47m.js → PeoplePage-oF6C1uyM-DLFAgG_p.js} +20 -20
- package/dist/assets/{PortfolioAllocationFormPage-D3FP_MRr-BcOrWJml.js → PortfolioAllocationFormPage-C5O3GLqz-BYzrfMTu.js} +4 -4
- package/dist/assets/{PortfolioDetails-Dtz3YEPu-CbnH_B-R.js → PortfolioDetails-BkGNpmoO-B3KzDtEL.js} +31 -31
- package/dist/assets/{ProductsCarousel-DIlEuuqg-BjDLvopn.js → ProductsCarousel-C_tmo4EA-BDn6T3LG.js} +6 -6
- package/dist/assets/{PromoBaseCards-DTsaas8S-Bp3Sdx9s.js → PromoBaseCards-Bq5-q2ew-oeM6E2Gs.js} +5 -5
- package/dist/assets/{QBOConnectionDialog-Cvt38cmU-BbZWHEnH.js → QBOConnectionDialog-BXNWjeYB-CT3y8ZPP.js} +9 -9
- package/dist/assets/QBOSetupSection-D3sIWrh1-Dt8ceji3.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-ClgCUbVP-DfTW4OAe.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-BG8uMxNw-V-B_Oc7d.js → ReimbursementApprovalRulesPage-hjja5JFq-1dF9j3jn.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-Cs7XeZrC-CDH5tk6j.js → ReimbursementDetailPage-sXYC_aoR-CngyEl5D.js} +19 -19
- package/dist/assets/{ReimbursementPromoPage-CKITZNUc-B3czdsVE.js → ReimbursementPromoPage-C9zs7VRV-DY_b0K3o.js} +24 -24
- package/dist/assets/{ReimbursementSetUpPage-DD5P181p-BNAJ0P6-.js → ReimbursementSetUpPage-Ban56LOC-Cen4aYhY.js} +11 -11
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C0eORL7o-BZhXRsOE.js → ReimbursementsBulkReviewDrawerPage-CsRwI-rl-KeeGuW4E.js} +1 -1
- package/dist/assets/{ReloadCard-CZ4IXHy1-D0PwAZkP.js → ReloadCard-EBXtqdt5-e0DLVF2o.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-Do0yQJxY-C6yall7R.js → ReportTableViewSelector-Ae5lGopA-CZicNwDg.js} +10 -10
- package/dist/assets/{ReportsPage-BUi475EG-BorB4Vqw.js → ReportsPage-Dh3DhbEK-DCmUMwXx.js} +5 -5
- package/dist/assets/{RevenueChart-DPNqxQ4n-5RLNohUA.js → RevenueChart-C5qfXMEg-D1BQhist.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DTCC2C0D-IffnuWda.js → ReviewDetailsPage-DjcJd2VM-CMmXdVTb.js} +17 -17
- package/dist/assets/{ReviewOverlay-CPN-RHG--C8J652Ar.js → ReviewOverlay-Dmrea9EK-DOxs4FI1.js} +14 -14
- package/dist/assets/RoleWithToolTip-CqeM8Bh0-BSEMOUZO.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BSz5BdJ4-ajU7u-K2.js → ScheduleDetailsFixedAssetsPage-CQGRrdSx-BKHIJc5L.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-DKVlaW9e-Mc61Wcxe.js → ScheduleDetailsPage-D5OBZ80r-BSViQYwc.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BhpHoReF-BCeDdvJx.js → ScheduleSequenceTable-fgV8zz4I-B96Fw2cP.js} +49 -49
- package/dist/assets/{ScreenRoutes-Cb2UBar1.js → ScreenRoutes-Bs8GRIgm.js} +62 -62
- package/dist/assets/{SetUpAccountSection-Blh-Vipv-DTzNADjZ.js → SetUpAccountSection-4-gtB3I4-CmDUZ7Ps.js} +24 -24
- package/dist/assets/{SetUpDefaultSection-DsyZbNsv-BU4fjsR8.js → SetUpDefaultSection-DSslQOgJ-y5lEHYNN.js} +12 -12
- package/dist/assets/{SignIn-DehOoUba-D1wgEnhj.js → SignIn-CgXxIawW-DSrGSPuV.js} +17 -17
- package/dist/assets/{SignInScreen-CdOVOg4V.js → SignInScreen-DSt7uixJ.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C23fDDXZ-YGqIsuA5.js → SpendManagementListViewPage-SkhzkIYZ-CI28gjhv.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-Cx0sB3qO-BUuUjlAR.js → SpendManagementPerTabPage-CofY1YYQ-C9YpxBTZ.js} +55 -55
- package/dist/assets/{SpendManagementSection-DbZYpbtO-d6L97RYF.js → SpendManagementSection-DbC93chQ-CmYHf5ne.js} +13 -13
- package/dist/assets/{SpendMgmtSetupAccountSection-BkUIdz9m-B2ewL4T_.js → SpendMgmtSetupAccountSection-_8G7bMAw-CYWZUz0n.js} +22 -22
- package/dist/assets/{StatementItem-BF8L0fc_-DzjaOfpz.js → StatementItem-7ezfuDl--CcU7F4Hj.js} +5 -5
- package/dist/assets/{StatementsPage-96e3ZbSU-f9GKAGwn.js → StatementsPage-C4ziRzkU-Cl2Heiw2.js} +6 -6
- package/dist/assets/{StatusSwitcher-jwpQ49F7-BnZJLj82.js → StatusSwitcher-0rVfFE-a-CheRZPfP.js} +7 -7
- package/dist/assets/{SubTabSwitcher-B8H6McwL-Cu2vNU7E.js → SubTabSwitcher-aoWbkCmT-CaMIdf8x.js} +1 -1
- package/dist/assets/{SummaryCard-Bv4ja9yJ-aDvuTxki.js → SummaryCard-6V1G-Yln-AkNgJPj0.js} +1 -1
- package/dist/assets/{TaskManagementPage-D7tD4WRl-Css52_VB.js → TaskManagementPage-DjQma5Cr-DLhPVic-.js} +18 -18
- package/dist/assets/{TimeRangeSwitcher-Cr-ObvZ9-DYgsNzbf.js → TimeRangeSwitcher-DeIRg5zY-Bi--_Fx4.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-YkFxZedG-BzHaiUBA.js → TimeframeSwitcher-Cop4G4gx-DupejW9U.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-BhoniKOB-DuZjqpvb.js +31 -0
- package/dist/assets/{TopExCard-DtrsuLFD-C29DggA1.js → TopExCard-BKirBv7q-BKzGhACE.js} +6 -6
- package/dist/assets/{TopExDetailPage-HMRdJt_a-Dv3hZE10.js → TopExDetailPage-DcVunE8d-BJAugcNm.js} +11 -11
- package/dist/assets/{TransactionDetailPage-CkWEdpTW-D5C8nT3c.js → TransactionDetailPage-TJf3D0K6-ChXVy1nH.js} +26 -26
- package/dist/assets/{TransactionList-8rOZr8BD-z7em6_Iq.js → TransactionList-fn6VXYIJ-XKKmCfLI.js} +4 -4
- package/dist/assets/{TransactionListBig-DGx1qy2c-Bq45CoFX.js → TransactionListBig-B_hNDFjS-Bc3M6sby.js} +25 -25
- package/dist/assets/{TransactionListPage-CnbufCaM-AKYbMbcz.js → TransactionListPage-BbXZWbie-DmTuImVR.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-UpZX_EgR-DgquOs9I.js → TransactionVendorDetailPage-C6qJ5ncL-DRKEGbRL.js} +6 -6
- package/dist/assets/TransferDrawerPage-BtYoqKi--BK8jkNir.js +362 -0
- package/dist/assets/{TreasuryOverviewPage-DoPe6v4O-DcxluBgr.js → TreasuryOverviewPage-DOV8Hanc-BzuaF_Oy.js} +53 -53
- package/dist/assets/{TreasuryPromoPage-Db20FO_G-C0PMRVyO.js → TreasuryPromoPage-C9O7G72q-D0fVcP3x.js} +30 -29
- package/dist/assets/TreasurySetupPage-CNzkkEjw-Dh78QFWy.js +146 -0
- package/dist/assets/{TreasuryStatementsPage-BONCF7O1-Woy-dxsL.js → TreasuryStatementsPage-Ts6D6F-l-CQAmEMl1.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-NCZ0Y4yr-xzYydVxV.js → TreasuryTaxLetterPage-CM93_rS4-CfzYhIka.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-C8-tbCUQ-DHGOUHuT.js +506 -0
- package/dist/assets/{TrendChart-DQXhBbqy-lVikR6m-.js → TrendChart-BXjPAYgk-DjYRl65V.js} +5 -5
- package/dist/assets/{TrendWithTransactions-Du-a-c_9-D0k8nTAC.js → TrendWithTransactions-BlGX9aVa-DUrKUprM.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-mSPC4LpU-Bq53-vV1.js → UncategorizedAccountsMappingPage--PnxDLIj-DgyLI8TV.js} +12 -12
- package/dist/assets/{UnitIntegrationPage-B5O9G4QH-yrWt_3qv.js → UnitIntegrationPage-D5mzaVVL-B87wl-C8.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-CnjzAGYo-D_ZhLUZy.js → UploadAdditionalDocumentOverlay-BXS2l5kF-4XXbIdgY.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-CYcCB8tr-m6LRb8Yr.js → Vendor2FAPopup-jXN-6kcB-WQjywdob.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-C6EuQBcH-CBj3o4fH.js → VendorACHDetailsPage-CHfX_7tk-CseZDy3t.js} +1 -1
- package/dist/assets/{VendorDetailPage-CnSXWVCg-5ItKK9hK.js → VendorDetailPage-CZuQaTCe-00z-DC1U.js} +13 -13
- package/dist/assets/{VendorDomesticWireDetailsPage-CVTkzHFB-BtQZkYtT.js → VendorDomesticWireDetailsPage-dBmyAkGL-BzziQHyn.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-TJb9mpk0-Cas0dzf5.js → VendorFiling1099EditablePage-C6KWbHaM-FdVjec5X.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-gBLVMddY-41zXx76R.js → VendorFirstReviewPage-DLaCXLH8-Bp3HVWXV.js} +30 -30
- package/dist/assets/{VendorInternationalWireDetailsPage-Bhm7j6HC-B5gepNJS.js → VendorInternationalWireDetailsPage-DgCH9Rad-DD-YZWBN.js} +10 -10
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-MgN7VFET-OsBZ-jKy.js → VendorInternationalWireSwiftDetailsPage-CprymE3v-BXc-3kQm.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Cn-8Yemv-2EiEgDAM.js → VendorsAccountsSection-CpkfwFDJ-DeHCyl4j.js} +15 -15
- package/dist/assets/VerifyDevice-CSIkEBig-DzQ9uYAN.js +67 -0
- package/dist/assets/{WarningsDrawerPage-Cc_Rty0A-Bxm78d1e.js → WarningsDrawerPage-DeqbJ2Le-CygSrVz8.js} +12 -12
- package/dist/assets/{ZeniAccountDetailPage-BU2TTiDP-DntPjYyg.js → ZeniAccountDetailPage-kwKoeRAb-yy2D4Oyh.js} +29 -29
- package/dist/assets/{ZeniAccountListViewPage-DbcnkYvX-rxgnFm8v.js → ZeniAccountListViewPage-15LxhIiI-3EkZXZhB.js} +19 -19
- package/dist/assets/ZeniAccountNavBarPieces-C0pq95hS-D_BEJJwy.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-D-5ArrRO-DxJXUZdx.js → ZeniAccountPromoPage-DvlAb5YA-BxPQZ-TN.js} +33 -33
- package/dist/assets/{ZeniAccountSetupPage-DXYR0Ipo-B0J0wJvQ.js → ZeniAccountSetupPage-BjpvTfF5-DJqm4qSs.js} +3 -3
- package/dist/assets/{ZeniCopyright-DPd1ifIT-DNR_P6Qj.js → ZeniCopyright-BYJFIZ_X-DJl-W8Ni.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-Did4Chpj-CHnHwXGw.js +63 -0
- package/dist/assets/{analyticsHelper-DrNmU0vn-RfFhCbWD.js → analyticsHelper-BRyA7WLX-Ch8yhvbw.js} +1 -1
- package/dist/assets/{analyticsHelper-LynOmXwT.js → analyticsHelper-DEjyvXKA.js} +1 -1
- package/dist/assets/{chartTypes-YTQv3tre-qplKaXfA.js → chartTypes-CWEoqL4g-Bo1GQ9Y0.js} +1 -1
- package/dist/assets/{commonDimensions-BtmBVXgZ-BqS_uHfS.js → commonDimensions-UvndzJjv-DkCvzihA.js} +1 -1
- package/dist/assets/{detailCommon-hHyz3hj3-B-18TbC2.js → detailCommon-C3ymS8dg-BusgYXoD.js} +2 -2
- package/dist/assets/{downloadPdf-CDvgLzWC-CFICoubl.js → downloadPdf-CHwWcCR1-BQYdnkG1.js} +1 -1
- package/dist/assets/{index-BP54u7bE.js → index-DYVNUtTS.js} +4129 -3984
- package/dist/assets/{mapLoadingInProgressToTreeNode-BfoqmoAq-RPIy6iu_.js → mapLoadingInProgressToTreeNode-BV9ky97n-C6-bn_qJ.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BjtxR9iQ-CPCcXgC9.js → mapSectionWithAcOnlyToTreeNode-WivyN4Y7-DeEMrm9i.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-D8o529OP-DP0HQuYK.js → mapSpacerToTreeNode-AXNRptLX-B0rl0_Lw.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BirMnIzY-J7LlhZYj.js → mapTimeframeBalancesToTreeNode-DUac2vK4-jK2oIVF4.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-NA69l84M-C2q_xZ5l.js → mapTimeframeBalancesToTreeNode-JTl35sFx-B-SNtaen.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BCqRt8GN-h4qQS3pU.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DtkeOXnf-Dl0F4JWH.js} +1 -1
- package/dist/assets/{play-icon-DyIc5aGx-DYJXRLAT.js → play-icon-HSIOzxQm-DtUz8FwI.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-2jQJLb8S-pfoeU7Ox.js → toCOABalancesWithID-CkjYSysY-DF7YtxZI.js} +1 -1
- package/dist/assets/{toChartData-Dsjd8dGe-DHACvX24.js → toChartData-BhKlnyso-CKLUlraQ.js} +1 -1
- package/dist/assets/{treasuryColorHelper-EG8VpBia-BgT0ZOn3.js → treasuryColorHelper-yIAXBrrM-D_iAl7kS.js} +1 -1
- package/dist/assets/{uploadAttachment-CVUM4FN--C6O7_W28.js → uploadAttachment-CWaYLqwb-DAXv_gFj.js} +32 -32
- package/dist/assets/{uploadReceipts-D80JLNY4-BMq6fzqz.js → uploadReceipts-C6Ld_WLK-CscO-OGr.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BQBpkHfF-BJV02vLX.js +0 -21
- package/dist/assets/BankAccountWarningSection-CWXa-X6f-CSqGyUZG.js +0 -51
- package/dist/assets/BusinessVerificationPage-BoSLJbyU-f7l6iMFH.js +0 -140
- package/dist/assets/ChargeCardPromoPage-dIg8OIlx-Ddw_9zEm.js +0 -219
- package/dist/assets/CheckDepositDrawerPage-uABg3PMN-DvmvYwzA.js +0 -206
- package/dist/assets/CompanyOfficerDetailsSection-BzYsDrr2-CLxqo3zC.js +0 -232
- package/dist/assets/CompleteProfile-CN_hAW-2-jVc6moRl.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-B9qcJNx5-BFEUbXJj.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-Db90ITIq-CYwbJ4ON.js +0 -66
- package/dist/assets/DocumentSecurityBanner-Bxg3ctYZ-CgQ3FYOu.js +0 -29
- package/dist/assets/EditPeoplePage-CBPmCcoG-tI7XznTq.js +0 -55
- package/dist/assets/FeaturePreviewPage-BBkfKvIu-C1W_sdo_.js +0 -11
- package/dist/assets/InsightsCardStack-rByhzgji-Dc1ZnT3c.js +0 -79
- package/dist/assets/InsightsSection-jnWJ877y-CHYibtt_.js +0 -27
- package/dist/assets/InvitePeoplePage-DvGON1va-CxkOilw7.js +0 -12
- package/dist/assets/LabeledDocumentField-TFmz23mS-Dg7dpofQ.js +0 -41
- package/dist/assets/MagicLinkSuccessPage-dxBSlbub-EYHDnj3E.js +0 -31
- package/dist/assets/MailingDetailsSection-CsK09X11-DWOFuFpA.js +0 -21
- package/dist/assets/NavBarWithPicker-CuJe05iJ-CtehKlX0.js +0 -30
- package/dist/assets/NavigationDots-BQfoX9p0-CtOBXvA3.js +0 -14
- package/dist/assets/QBOSetupSection-Dijb03ZX-Dtu5gcm7.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-bkJIpwyU-CHus277R.js +0 -26
- package/dist/assets/RoleWithToolTip-Bst2IdUy-HslXk23_.js +0 -22
- package/dist/assets/TimeframeSwitcherWithToggle-4h9WX4z9-D-Rtx-Rf.js +0 -31
- package/dist/assets/TransferDrawerPage-cUyg27nq-BPk1VE3B.js +0 -362
- package/dist/assets/TreasurySetupPage-BoVhd65r-CXuNgzdi.js +0 -152
- package/dist/assets/TreasuryTransferOrReviewPage-DAmZboLO-COiTPnD3.js +0 -506
- package/dist/assets/ZeniAccountNavBarPieces-CeJHAl4O-B_tojQsK.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-di46G5TN-Crpvkv3z.js +0 -63
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as xe,
|
|
1
|
+
import{a as xe,e_ as fe,j as t,l as _,F as ge,bS as ye,B as je,bU as Se,bV as $e,o as i,g as ke,am as J,M as Z,a3 as ve,T as Ce,dL as we,eR as be,k8 as G,dv as ee,m as l,u as Ee,a0 as Pe,aS as te,d2 as ne,b1 as Re,d as oe,az as De}from"./index-DYVNUtTS.js";import{b as r,n as o}from"./vendor-CnQcJ2Lu.js";import{E as Ie,w as Fe,C as _e,f as Te}from"./AccountRow-m3N4T8ro-CB7I5u10.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ue=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -11,7 +11,7 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
|
|
|
11
11
|
display: flex;
|
|
12
12
|
flex: 0 0 auto;
|
|
13
13
|
width: ${i.sp4};
|
|
14
|
-
`,
|
|
14
|
+
`,Le=o.div`
|
|
15
15
|
min-height: ${m.navBarHeight};
|
|
16
16
|
position: sticky;
|
|
17
17
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -29,10 +29,10 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
|
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
30
|
}
|
|
31
31
|
flex: 0 0 auto;
|
|
32
|
-
`,
|
|
32
|
+
`,Be=o.div`
|
|
33
33
|
padding-left: ${m.containerPaddingLeft};
|
|
34
34
|
padding-right: ${m.containerPaddingRight};
|
|
35
|
-
`,
|
|
35
|
+
`,Oe=o.div`
|
|
36
36
|
position: relative;
|
|
37
37
|
min-height: 62px;
|
|
38
38
|
`,We=o.div`
|
|
@@ -52,7 +52,7 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
|
|
|
52
52
|
flex: 1 1 0;
|
|
53
53
|
justify-content: center;
|
|
54
54
|
flex-direction: column;
|
|
55
|
-
`,Ne=o(
|
|
55
|
+
`,Ne=o(J)`
|
|
56
56
|
display: flex;
|
|
57
57
|
color: ${e=>e.theme.colors.primary};
|
|
58
58
|
align-items: center;
|
|
@@ -85,7 +85,7 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
|
|
|
85
85
|
background-color: ${e=>e.theme.colors.background};
|
|
86
86
|
border-radius: ${i.sp2};
|
|
87
87
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
88
|
-
`,
|
|
88
|
+
`,Ve=o.div`
|
|
89
89
|
display: flex;
|
|
90
90
|
flex-direction: column;
|
|
91
91
|
align-items: flex-start;
|
|
@@ -96,27 +96,27 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
|
|
|
96
96
|
color: ${e=>e.theme.colors.hero};
|
|
97
97
|
align-items: center;
|
|
98
98
|
justify-content: flex-end;
|
|
99
|
-
`,
|
|
99
|
+
`,Xe=o(l)`
|
|
100
100
|
color: ${e=>e.theme.colors.primary};
|
|
101
101
|
text-align: left;
|
|
102
|
-
`,
|
|
102
|
+
`,Ge=o.div`
|
|
103
103
|
display: flex;
|
|
104
104
|
flex-direction: column;
|
|
105
105
|
align-items: flex-start;
|
|
106
106
|
justify-content: flex-start;
|
|
107
107
|
min-width: ${m.balanceContainerWidth}px;
|
|
108
|
-
`,
|
|
108
|
+
`,Ke=o(l)`
|
|
109
109
|
display: flex;
|
|
110
110
|
color: ${e=>e.theme.colors.primary};
|
|
111
111
|
align-items: center;
|
|
112
112
|
justify-content: flex-start;
|
|
113
|
-
`,
|
|
113
|
+
`,Qe=o.div`
|
|
114
114
|
display: flex;
|
|
115
115
|
flex-direction: row;
|
|
116
116
|
align-items: flex-start;
|
|
117
117
|
justify-content: flex-start;
|
|
118
118
|
gap: ${i.sp1};
|
|
119
|
-
`,
|
|
119
|
+
`,Je=o.div`
|
|
120
120
|
display: flex;
|
|
121
121
|
flex-direction: column;
|
|
122
122
|
align-items: flex-start;
|
|
@@ -162,7 +162,7 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
|
|
|
162
162
|
justify-content: center;
|
|
163
163
|
min-width: ${m.sourceContainerWidth}px;
|
|
164
164
|
gap: ${i.sp2};
|
|
165
|
-
`,at=o(
|
|
165
|
+
`,at=o(J)`
|
|
166
166
|
display: flex;
|
|
167
167
|
color: ${e=>e.theme.colors.primary};
|
|
168
168
|
align-items: center;
|
|
@@ -236,4 +236,4 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
|
|
|
236
236
|
color: ${e=>e.status==="connected"?e.theme.colors.success:e.status==="reconnect"?e.theme.colors.important:e.theme.colors.link};
|
|
237
237
|
cursor: pointer;
|
|
238
238
|
text-decoration: underline;
|
|
239
|
-
`,{common:p,dateFormat:
|
|
239
|
+
`,{common:p,dateFormat:K,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function _t({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:L}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:Q(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:Q(e)}),k=x.handleSubmit(()=>{}),[h,g]=r.useState(void 0),v=n.link_account_no_microdeposit,C=n.update_account,s=h==="update_account"?C:v,[y,Y]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[z,B]=r.useState(!1),[O,W]=r.useState(void 0),[re,H]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{O!=null&&(R(O),W(void 0)),H(void 0),B(!1)},onCancelClick:()=>{W(void 0),B(!1)}},q=r.useRef(h);r.useEffect(()=>{q.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,q.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((D,me)=>{D!=null&&console.log("Plaid Connection Error",D,me),g(void 0),w(!1)},[]),{open:V,ready:X}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(_.zeniDate(new Date().toISOString()).isAfter(s.expiration)||s.linkToken==null)&&s.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&X&&w(!0)},[X,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&Y(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&V()},[a,V]),t.jsxs(Ue,{children:[t.jsx(Le,{children:t.jsx(Oe,{children:t.jsxs(We,{children:[t.jsx(Me,{}),t.jsxs(Ae,{children:[t.jsx(Ne,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(ze,{children:t.jsx(Ye,{onClick:$})})]})})}),t.jsxs(Be,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:mt,onSubmit:k,children:t.jsx(xt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:L,showConfirmationPopup:z,setShowConfirmationPopup:B,deleteFileId:O,setDeleteFileId:W,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx($e,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const xt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M,uploadErrorMessage:L,setUploadErrorMessage:x})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,v=[];v.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),v.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const C=n.localData?.accountSource,s=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&x(Ie(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,x]);const y=["reconciled","in_progress","reconciled_via_qbo"],Y=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(He,{children:[t.jsxs(qe,{children:[t.jsxs(Ve,{children:[t.jsx(A,{children:c.reconciliation.headers.bankBalance}),t.jsx(Xe,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Ge,{children:[t.jsx(A,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ke,{children:t.jsx(_e,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Je,{children:[t.jsx(A,{children:c.reconciliation.headers.variance}),t.jsx(Ze,{children:t.jsx(jt,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ct,{children:[t.jsxs(at,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(st,{children:[t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(F,{children:s!=null?t.jsx(j,{children:s==="plaid"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(Ce,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(ft,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(_.toReconciliationAccountSource(a))},valueToIcon:a=>a==="plaid"?t.jsx(lt,{}):a==="bank_statement"?t.jsx(dt,{}):null})})})]}),C==="bank_statement"?t.jsx(b,{children:t.jsx(be,{name:ht(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:Y,sizeLimit:1e7,onFileSizeError:a=>{a&&x(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:d,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:f,accountStatementUpload:{uploadHelper:_.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:L,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{M()}},onDeleteFile:a=>{E(a),P(!0)},onEditFileName:(a,w)=>{T(a,w)}})}):null,t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.status}),t.jsx(F,{children:C!=="bank_statement"?t.jsx(gt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(yt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(F,{children:t.jsx(St,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(F,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:G(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},ft=({selectedSourceType:e})=>t.jsxs(nt,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ot,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(it,{})]}),gt=({status:e,connectionInProgress:n,onConnectClick:d,onReconnectClick:u})=>n?t.jsx(N,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:d,children:t.jsx(pt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),yt=({status:e,uploadInProgress:n})=>n?t.jsx(ee,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),jt=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=Ee(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Te(u,e,d,!0);return t.jsxs(Qe,{children:[t.jsx(et,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(tt,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},St=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},$t=({monthYearPeriod:e})=>t.jsx(ie,{children:kt(e)}),kt=e=>{const{month:n,year:d}=e,u=_.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(K.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(K.visual.DMMMYYYYFormat)}`},Q=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{_t as default,ht as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,
|
|
1
|
+
import{j as t,B as se,a0 as E,bx as f,o,$ as y,T as re,dL as le,m as w,dM as de,d as g,dN as X,d2 as Z,cu as ue,a8 as x,w as K,s as p,X as xe,u as S,af as pe,dt as he,q as ge,i as me,M as I,b5 as fe,d3 as je}from"./index-DYVNUtTS.js";import{n as a,b as ye,j as we}from"./vendor-CnQcJ2Lu.js";const $e=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -20,10 +20,10 @@ import{j as t,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,
|
|
|
20
20
|
align-items: center;
|
|
21
21
|
justify-content: center;
|
|
22
22
|
color: ${e=>e.colour.toString()};
|
|
23
|
-
`,
|
|
23
|
+
`,Ce=a(ge)`
|
|
24
24
|
text-align: center;
|
|
25
25
|
color: ${e=>e.colour.toString()};
|
|
26
|
-
`,
|
|
26
|
+
`,ve=a.div`
|
|
27
27
|
svg {
|
|
28
28
|
path {
|
|
29
29
|
stroke-width: 2;
|
|
@@ -38,7 +38,7 @@ import{j as t,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,
|
|
|
38
38
|
margin-left: 2px;
|
|
39
39
|
width: 12px;
|
|
40
40
|
height: 12px;
|
|
41
|
-
`;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx($e,{showTreeLine:l,collapsed:c,children:t.jsx(be,{colour:n,className:d,children:t.jsx(
|
|
41
|
+
`;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx($e,{showTreeLine:l,collapsed:c,children:t.jsx(be,{colour:n,className:d,children:t.jsx(ve,{children:i===!0?c===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(Ce,{colour:n,className:d,children:e})})})})}const Ee=a.div`
|
|
42
42
|
display: flex;
|
|
43
43
|
flex: 1 1 auto;
|
|
44
44
|
max-height: 1px;
|
|
@@ -52,7 +52,7 @@ import{j as t,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,
|
|
|
52
52
|
flex: 1 1 auto;
|
|
53
53
|
height: 1px;
|
|
54
54
|
width: 100%;
|
|
55
|
-
`;function Le({kind:e,isScrolling:n}){switch(e){case"section_separator":return t.jsx(Ee,{isScrolling:n});case"account_separator":return t.jsx(
|
|
55
|
+
`;function Le({kind:e,isScrolling:n}){switch(e){case"section_separator":return t.jsx(Ee,{isScrolling:n});case"account_separator":return t.jsx(Pe,{"data-testid":y("account-separator",e)})}}const Pe=()=>t.jsx(Se,{children:t.jsx(Ie,{className:"part-separator"})}),u={timeframeHeight:p[10],leftHeadingWidth:386,leftTimeframeWidth:161,leftLabelWidth:190,bankBalanceWidth:128,bankBalanceTimeframeWidth:126,bankBalanceRightWidth:p[4],bankBalanceRightTimeframeWidth:p[4],clearedBalanceWidth:144,clearedBalanceTimeframeWidth:142,varianceWidth:193,varianceTimeframeWidth:180,varianceNumberWidth:112,varianceNumberLoadingWidth:130,variancePercentageWidth:p[10],statusWidth:144,statusTimeframeWidth:142,tickLeftMargin:p[4],circleRadius:p[4],spacerLineWidth:p[5],wrapperPadding:p[8]};function Lt(e){switch(e){case"timeframe_headers":return p[12];case"title_string_only":return p[8];case"ac_group_report":return p[8];case"total":return p[8];case"section":return p[0];case"loading_in_progress":return p[8];default:return p[0]}}function Pt(){return!0}const We=a.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
height: ${e=>e.heightValue}px;
|
|
@@ -84,9 +84,9 @@ import{j as t,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,
|
|
|
84
84
|
display: flex;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
`,_e=a.div`
|
|
88
|
-
height: ${o.sp8};
|
|
89
87
|
`,Be=a.div`
|
|
88
|
+
height: ${o.sp8};
|
|
89
|
+
`,_e=a.div`
|
|
90
90
|
width: 100%;
|
|
91
91
|
height: ${e=>e.heightValue-1}px;
|
|
92
92
|
user-select: none;
|
|
@@ -132,11 +132,11 @@ import{j as t,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,
|
|
|
132
132
|
`,Ve=a.div`
|
|
133
133
|
width: ${u.bankBalanceRightWidth}px;
|
|
134
134
|
min-width: ${u.bankBalanceRightWidth}px;
|
|
135
|
-
`,
|
|
135
|
+
`,Qe=a(w)`
|
|
136
136
|
width: ${u.clearedBalanceWidth}px;
|
|
137
137
|
min-width: ${u.clearedBalanceWidth}px;
|
|
138
138
|
text-align: right;
|
|
139
|
-
`,
|
|
139
|
+
`,Ue=a(w)`
|
|
140
140
|
width: ${u.statusWidth}px;
|
|
141
141
|
min-width: ${u.statusWidth}px;
|
|
142
142
|
height: 1px;
|
|
@@ -144,7 +144,7 @@ import{j as t,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,
|
|
|
144
144
|
align-items: center;
|
|
145
145
|
justify-content: center;
|
|
146
146
|
height: 100%;
|
|
147
|
-
`,
|
|
147
|
+
`,Fe=a.div`
|
|
148
148
|
display: flex;
|
|
149
149
|
flex-direction: row;
|
|
150
150
|
min-width: ${u.spacerLineWidth}px;
|
|
@@ -171,7 +171,7 @@ import{j as t,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,
|
|
|
171
171
|
color: ${e=>e.textColor.hex()};
|
|
172
172
|
min-width: ${u.varianceNumberWidth}px;
|
|
173
173
|
text-align: right;
|
|
174
|
-
`,
|
|
174
|
+
`,Ge=a(w)`
|
|
175
175
|
border-radius: ${o.sp1};
|
|
176
176
|
padding: ${o.sp0} ${o.sp1};
|
|
177
177
|
justify-content: center;
|
|
@@ -179,22 +179,22 @@ import{j as t,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,
|
|
|
179
179
|
color: ${e=>e.textColor.hex()};
|
|
180
180
|
background-color: ${e=>e.bgColor.hex()};
|
|
181
181
|
min-width: ${u.variancePercentageWidth}px;
|
|
182
|
-
`,
|
|
182
|
+
`,Je=a.div`
|
|
183
183
|
display: flex;
|
|
184
184
|
flex-direction: row;
|
|
185
185
|
align-items: center;
|
|
186
|
-
`,
|
|
186
|
+
`,Xe=a.div`
|
|
187
187
|
display: flex;
|
|
188
188
|
flex-direction: column;
|
|
189
189
|
align-items: center;
|
|
190
|
-
`,
|
|
190
|
+
`,Ze=a.div`
|
|
191
191
|
display: flex;
|
|
192
192
|
flex-direction: row;
|
|
193
193
|
align-items: center;
|
|
194
194
|
gap: ${o.sp1};
|
|
195
|
-
`,
|
|
195
|
+
`,Ke=a(I)`
|
|
196
196
|
color: ${g.success};
|
|
197
|
-
`,
|
|
197
|
+
`,G=a(I)`
|
|
198
198
|
color: ${g.success};
|
|
199
199
|
`,Ye=a(je)`
|
|
200
200
|
width: ${o.sp3};
|
|
@@ -245,7 +245,7 @@ import{j as t,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,
|
|
|
245
245
|
display: flex;
|
|
246
246
|
flex-direction: column;
|
|
247
247
|
align-items: center;
|
|
248
|
-
`,
|
|
248
|
+
`,J=a(w)`
|
|
249
249
|
color: ${e=>e.theme.colors.hero};
|
|
250
250
|
`,O=a.div`
|
|
251
251
|
display: flex;
|
|
@@ -254,13 +254,13 @@ import{j as t,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,
|
|
|
254
254
|
gap: ${o.sp1};
|
|
255
255
|
`,V=a(I)`
|
|
256
256
|
color: ${e=>e.textColor.hex()};
|
|
257
|
-
`,
|
|
257
|
+
`,Q=a(I)`
|
|
258
258
|
color: ${e=>e.textColor.hex()};
|
|
259
|
-
`,
|
|
259
|
+
`,U=a.div`
|
|
260
260
|
display: flex;
|
|
261
261
|
flex-direction: row;
|
|
262
262
|
align-items: center;
|
|
263
|
-
`,
|
|
263
|
+
`,F=a.div`
|
|
264
264
|
display: flex;
|
|
265
265
|
flex-direction: column;
|
|
266
266
|
align-items: center;
|
|
@@ -271,28 +271,28 @@ import{j as t,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,
|
|
|
271
271
|
flex-direction: column;
|
|
272
272
|
align-items: center;
|
|
273
273
|
justify-content: center;
|
|
274
|
-
`,rt=a(
|
|
274
|
+
`,rt=a(K)`
|
|
275
275
|
color: ${e=>e.theme.colors.hero};
|
|
276
|
-
`,lt=a(
|
|
276
|
+
`,lt=a(K)`
|
|
277
277
|
color: ${g.brandColorPearl};
|
|
278
278
|
`,dt=a.div`
|
|
279
279
|
display: flex;
|
|
280
280
|
flex-direction: row;
|
|
281
281
|
align-items: center;
|
|
282
282
|
justify-content: center;
|
|
283
|
-
`,ut=a(
|
|
283
|
+
`,ut=a(X)`
|
|
284
284
|
width: ${o.sp3};
|
|
285
285
|
height: ${o.sp3};
|
|
286
286
|
margin-top: 2px;
|
|
287
|
-
`,xt=a(
|
|
287
|
+
`,xt=a(X)`
|
|
288
288
|
width: ${o.sp3};
|
|
289
289
|
height: ${o.sp3};
|
|
290
|
-
`,pt=a(
|
|
290
|
+
`,pt=a(Z)`
|
|
291
291
|
width: ${o.sp3};
|
|
292
292
|
height: ${o.sp3};
|
|
293
293
|
margin-top: 2px;
|
|
294
|
-
`,ht=a(
|
|
294
|
+
`,ht=a(Z)`
|
|
295
295
|
width: ${o.sp3};
|
|
296
296
|
height: ${o.sp3};
|
|
297
297
|
margin-top: 2px;
|
|
298
|
-
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=se.getLocalizedStrings();function Pt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:v}){const _=xe(),L=S(),C=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,B=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{v?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let z=e;return i&&(z=e+p[8]),t.jsxs(Pe,{"data-testid":y("total-row-root-container"),heightValue:z,isLastRow:i,windowSize:_,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:C.charAt(0),color:new x(L.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:C,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ae,{className:"any-text-container",children:C})})})]}),t.jsxs(Me,{children:[t.jsx(Oe,{children:t.jsx(wt,{lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:N,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:j,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Ve,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ue,{children:t.jsx($t,{clearedBalance:B,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Qe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Fe,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:H})})]})]}),t.jsx(Le,{kind:"account_separator",isScrolling:!1}),i?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),v=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(qe,{children:[t.jsx(ze,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Je,{textColor:r,bgColor:m,className:"any-text-container",children:v})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(D,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},W=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ke,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),P=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ge,{children:[t.jsxs(Xe,{children:[t.jsx(Ye,{}),t.jsx(Ze,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(J,{children:s.status.QBOUser}):e&&t.jsxs(J,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:m,accountId:v,onStatementAddClicked:_,setIsHovering:L})=>{const C=Tt();if(l===!0)return t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h});if(m===!0)return t.jsx(R,{className:"any-text-container",children:h});if(n==="reconnect"){const j=c!=null?`${c.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(R,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",v),onClick:B=>{B.stopPropagation(),r?.()},children:s.connect.reconnnect})]})}else return n==="connected"||i==="uploaded"?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",v),onMouseEnter:()=>{L(!0)},onMouseLeave:()=>{L(!1)},children:t.jsx(re,{controller:C.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:C,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?d?.():j==="statement"&&_?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(R,{className:"any-text-container",children:h}),Y=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(M,{children:[t.jsx(A,{iconColor:n}),t.jsx(O,{children:t.jsx(V,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(F,{children:t.jsx(U,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:i}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:i,children:e})}),t.jsx(F,{children:t.jsx(U,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},ee=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(k,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(k,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(k,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(k,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:c}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:c,children:l})}),t.jsx(F,{children:t.jsx(U,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(){const e=[];return e.push({label:s.menu.bankConnection,value:"bank_connection"}),e.push({label:s.menu.statement,value:"statement"}),e}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,wt as C,Pt as D,Et as E,Lt as L,Wt as N,ft as f,u,$t as w};
|
|
298
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=se.getLocalizedStrings();function Wt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:C}){const B=xe(),L=S(),v=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,_=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{C?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let z=e;return i&&(z=e+p[8]),t.jsxs(We,{"data-testid":y("total-row-root-container"),heightValue:z,isLastRow:i,windowSize:B,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(_e,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(L.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ae,{className:"any-text-container",children:v})})})]}),t.jsxs(Me,{children:[t.jsx(Oe,{children:t.jsx(wt,{lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:N,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:j,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Ve,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Qe,{children:t.jsx($t,{clearedBalance:_,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Fe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Ue,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:H})})]})]}),t.jsx(Le,{kind:"account_separator",isScrolling:!1}),i?t.jsx(Be,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),C=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(qe,{children:[t.jsx(ze,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:m,className:"any-text-container",children:C})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(Ct,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(D,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(P,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(P,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(W,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(W,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(vt,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(P,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(P,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(W,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(W,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},P=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Je,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),W=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Xe,{children:[t.jsxs(Ze,{children:[t.jsx(Ye,{}),t.jsx(Ke,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(G,{children:s.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:m,accountId:C,onStatementAddClicked:B,setIsHovering:L})=>{const v=Tt();if(l===!0)return t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h});if(m===!0)return t.jsx(R,{className:"any-text-container",children:h});if(n==="reconnect"){const j=c!=null?`${c.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(R,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",C),onClick:_=>{_.stopPropagation(),r?.()},children:s.connect.reconnnect})]})}else return n==="connected"||i==="uploaded"?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",C),onMouseEnter:()=>{L(!0)},onMouseLeave:()=>{L(!1)},children:t.jsx(re,{controller:v.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?d?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(R,{className:"any-text-container",children:h}),Y=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(M,{children:[t.jsx(A,{iconColor:n}),t.jsx(O,{children:t.jsx(V,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(Q,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:i}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:i,children:e})}),t.jsx(U,{children:t.jsx(Q,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},ee=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(k,{textColor:i,children:s.status.isInProgress})]})})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:c}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:c,children:l})}),t.jsx(U,{children:t.jsx(Q,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(J,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(J,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(){const e=[];return e.push({label:s.menu.bankConnection,value:"bank_connection"}),e.push({label:s.menu.statement,value:"statement"}),e}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,$t as C,Wt as D,Et as E,Lt as L,Pt as N,ft as f,u,wt as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{B as _,j as o,o as t,ab as D,d as j,Z as ne,v as ae,aQ as ie,aR as se,aS as ce,aT as le,n as J,k as de,a1 as X,W as pe,u as Q,Y as me,l as ue,$ as L,aa as he,_ as ge,a5 as xe,w as q,ac as fe,ak as Ce,m as $e,ap as ye}from"./index-DYVNUtTS.js";import{n as r,k as F,j as K,b as U,f as S}from"./vendor-CnQcJ2Lu.js";import{c as ve}from"./SummaryCard-6V1G-Yln-AkNgJPj0.js";import{x as Y}from"./NavigationArrow-CHmddDC--CUC3t4BZ.js";import{k as je}from"./NavigationDots-1wpj484Z-By9SVfKB.js";const Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",be="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",ke="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return F`
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateX(${i});
|
|
@@ -21,9 +21,9 @@ import{M as _,j as o,o as t,ab as D,g as j,Z as ne,f as ae,aP as ie,aQ as se,aR
|
|
|
21
21
|
100%{
|
|
22
22
|
transform: translateY(${s});
|
|
23
23
|
}
|
|
24
|
-
`},ze=(e,n)=>{const i=e==="down"?`-${n*100}%`:"0%";return
|
|
24
|
+
`},ze=(e,n)=>{const i=e==="down"?`-${n*100}%`:"0%";return K`
|
|
25
25
|
transform: translateY(${i});
|
|
26
|
-
`},
|
|
26
|
+
`},V=K`
|
|
27
27
|
width: ${t.sp7};
|
|
28
28
|
height: ${t.sp7};
|
|
29
29
|
border-radius: 50%;
|
|
@@ -36,12 +36,12 @@ import{M as _,j as o,o as t,ab as D,g as j,Z as ne,f as ae,aP as ie,aQ as se,aR
|
|
|
36
36
|
gap: ${t.sp2};
|
|
37
37
|
margin-bottom: ${t.sp4};
|
|
38
38
|
padding: ${t.sp0} ${t.sp2};
|
|
39
|
-
`,Se=r(
|
|
39
|
+
`,Se=r(ye)`
|
|
40
40
|
text-align: center;
|
|
41
41
|
max-width: 222px;
|
|
42
42
|
white-space: pre-line;
|
|
43
43
|
color: ${e=>e.theme.colors.zeniAccountsPromoDetailTextColor};
|
|
44
|
-
`,
|
|
44
|
+
`,Be=r.div`
|
|
45
45
|
min-height: 95px;
|
|
46
46
|
display: flex;
|
|
47
47
|
flex-direction: column;
|
|
@@ -54,9 +54,9 @@ import{M as _,j as o,o as t,ab as D,g as j,Z as ne,f as ae,aP as ie,aQ as se,aR
|
|
|
54
54
|
`,w=r(ie)`
|
|
55
55
|
${ae.accountsPromoHighlightText.css};
|
|
56
56
|
color: ${e=>e.theme.colors.zeniAccountsPromoCardHighlightText};
|
|
57
|
-
`,Te=r(
|
|
57
|
+
`,Te=r($e)`
|
|
58
58
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
59
|
-
`,
|
|
59
|
+
`,Ie=r(le)`
|
|
60
60
|
color: ${j.brandColorJade};
|
|
61
61
|
height: ${t.sp4};
|
|
62
62
|
width: ${t.sp4};
|
|
@@ -75,24 +75,24 @@ import{M as _,j as o,o as t,ab as D,g as j,Z as ne,f as ae,aP as ie,aQ as se,aR
|
|
|
75
75
|
width: 1px;
|
|
76
76
|
background-color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
77
77
|
margin-right: 2px;
|
|
78
|
-
`,
|
|
78
|
+
`,Ne=r.div`
|
|
79
79
|
display: flex;
|
|
80
80
|
flex-direction: column;
|
|
81
81
|
justify-content: center;
|
|
82
82
|
gap: ${t.sp2};
|
|
83
83
|
overflow: hidden;
|
|
84
|
-
`,
|
|
84
|
+
`,Ze=r.div`
|
|
85
85
|
display: flex;
|
|
86
86
|
align-items: center;
|
|
87
87
|
gap: ${t.sp1};
|
|
88
88
|
animation: ${T("right",100)} normal 0.3s 1
|
|
89
89
|
forwards;
|
|
90
|
-
`,
|
|
90
|
+
`,Oe=r.div`
|
|
91
91
|
height: 34px;
|
|
92
92
|
width: ${t.sp5};
|
|
93
93
|
border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
|
|
94
94
|
background-color: ${j.brandColorGold};
|
|
95
|
-
`,
|
|
95
|
+
`,Ue=r.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
align-items: center;
|
|
98
98
|
height: 34px;
|
|
@@ -107,7 +107,7 @@ import{M as _,j as o,o as t,ab as D,g as j,Z as ne,f as ae,aP as ie,aQ as se,aR
|
|
|
107
107
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
108
108
|
margin-left: ${t.sp3};
|
|
109
109
|
margin-right: ${t.sp1};
|
|
110
|
-
`,
|
|
110
|
+
`,E=r(J)`
|
|
111
111
|
color: ${e=>e.isZeniProgressBar?e.theme.colors.brandColorOnyx:e.theme.colors.primary};
|
|
112
112
|
`,Fe=r.div`
|
|
113
113
|
width: 2px;
|
|
@@ -126,30 +126,30 @@ import{M as _,j as o,o as t,ab as D,g as j,Z as ne,f as ae,aP as ie,aQ as se,aR
|
|
|
126
126
|
animation: ${T("right",50)} normal 0.6s 1
|
|
127
127
|
forwards;
|
|
128
128
|
animation-delay: 1.2s;
|
|
129
|
-
`,
|
|
129
|
+
`,Re=r.div`
|
|
130
130
|
max-height: ${t.sp6};
|
|
131
131
|
animation: 1s normal 0.5s 1
|
|
132
132
|
${e=>Pe(e.direction,e.stepCount)};
|
|
133
133
|
animation-fill-mode: forwards;
|
|
134
134
|
${e=>ze(e.direction,e.stepCount)}
|
|
135
|
-
`,
|
|
135
|
+
`,Xe=r.div`
|
|
136
136
|
display: flex;
|
|
137
|
-
`,
|
|
137
|
+
`,B=r.div`
|
|
138
138
|
margin-right: -${t.sp3};
|
|
139
139
|
opacity: 0;
|
|
140
140
|
transform: translateX(50%);
|
|
141
141
|
animation: ${T("left",75)} ease-out 0.3s 1
|
|
142
142
|
forwards;
|
|
143
|
-
`,
|
|
144
|
-
${
|
|
145
|
-
`,
|
|
143
|
+
`,N=r.img`
|
|
144
|
+
${V}
|
|
145
|
+
`,Ye=r(B)`
|
|
146
146
|
display: flex;
|
|
147
147
|
justify-content: center;
|
|
148
148
|
align-items: center;
|
|
149
149
|
margin-right: ${t.sp3};
|
|
150
|
-
${
|
|
150
|
+
${V}
|
|
151
151
|
background-color:${j.brandColorGold};
|
|
152
|
-
`,
|
|
152
|
+
`,Ee=r(ne)`
|
|
153
153
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
154
154
|
`,We=r(se)`
|
|
155
155
|
width: ${t.sp4};
|
|
@@ -158,7 +158,7 @@ import{M as _,j as o,o as t,ab as D,g as j,Z as ne,f as ae,aP as ie,aQ as se,aR
|
|
|
158
158
|
path {
|
|
159
159
|
stroke-width: 2px;
|
|
160
160
|
}
|
|
161
|
-
`,Ge=(e,n)=>{const{common:i}=_.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(
|
|
161
|
+
`,Ge=(e,n)=>{const{common:i}=_.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(Re,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,h)=>o.jsx(w,{className:"card-highlight-text",children:p},`${p}_${h}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Ie,{})]}),o.jsx(Le,{}),o.jsxs(Ne,{children:[o.jsxs(Ze,{children:[o.jsx(Oe,{}),o.jsxs(E,{isZeniProgressBar:!1,children:[n[0].values[0]," ",i.texts.insured]})]}),o.jsxs(Ue,{children:[o.jsx(_e,{children:n[0].values[1]}),o.jsx(E,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:i.texts.insured})]})]})]});case"freeWire":return o.jsxs(ee,{style:{gap:t.sp2},children:[o.jsxs(w,{style:{position:"relative"},children:[n[0].values[0],o.jsx(Fe,{})]}),o.jsx(w,{children:o.jsx(W,{children:o.jsx(We,{})})}),o.jsx(w,{children:o.jsx(W,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(Xe,{children:[o.jsx(B,{style:{animationDelay:"0.2s"},children:o.jsx(N,{src:Ae})}),o.jsx(B,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(N,{src:be})}),o.jsx(B,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(N,{src:ke})}),o.jsx(Ye,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(Ee,{children:[" ",n[0].values[0]]})})]})}};let G;function Je({zeniAccountsPromoCardContent:e,showConfetti:n}){const[i]=fe("Confetti"),a=Q(),[s,p]=U.useState(!1);U.useEffect(()=>(n&&(G=setTimeout(()=>{p(!0)},2e3)),()=>{clearTimeout(G),p(!1)}),[n]);const{prefix:h,header:d,headerAnimationData:m,showAnimation:f,key:g}=e;return o.jsxs(De,{children:[n&&s&&i!=null?o.jsx(Ce,{loop:!1,play:!0,onComplete:()=>{p(!1)},segments:[100,299],animationData:i,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(Be,{children:[d!=null?o.jsx(Te,{children:d}):null,o.jsx(ee,{children:f?Ge(g,m):null})]}),o.jsx(Se,{themeContext:a,children:h})]})}const Qe=r(ge)`
|
|
162
162
|
flex-wrap: wrap;
|
|
163
163
|
overflow: hidden;
|
|
164
164
|
& .styledNav {
|
|
@@ -166,16 +166,16 @@ import{M as _,j as o,o as t,ab as D,g as j,Z as ne,f as ae,aP as ie,aQ as se,aR
|
|
|
166
166
|
margin-right: -${t.sp1};
|
|
167
167
|
background-color: ${e=>e.theme.colors.zeniAccountsPromoNavigationArrowColor};
|
|
168
168
|
}
|
|
169
|
-
`,
|
|
169
|
+
`,qe=r(xe)`
|
|
170
170
|
flex-direction: row;
|
|
171
171
|
justify-content: space-between;
|
|
172
172
|
margin: 2px;
|
|
173
173
|
background-color: ${e=>e.theme.colors.zeniAccountsPromoBackgroundColor};
|
|
174
174
|
border-radius: ${t.sp2};
|
|
175
|
-
`,
|
|
175
|
+
`,Z=r.div`
|
|
176
176
|
display: flex;
|
|
177
177
|
flex-direction: column;
|
|
178
|
-
`,
|
|
178
|
+
`,Ke=r.div`
|
|
179
179
|
border: 1px solid
|
|
180
180
|
${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
181
181
|
border-radius: ${t.sp2};
|
|
@@ -190,18 +190,18 @@ import{M as _,j as o,o as t,ab as D,g as j,Z as ne,f as ae,aP as ie,aQ as se,aR
|
|
|
190
190
|
border: 1px solid
|
|
191
191
|
${e=>e.theme.colors.zeniAccountsPromoButtonHoverColor};
|
|
192
192
|
}
|
|
193
|
-
`,
|
|
193
|
+
`,Ve=r(q)`
|
|
194
194
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonTextColor};
|
|
195
195
|
`,eo=r.div`
|
|
196
196
|
margin-top: ${t.sp4};
|
|
197
197
|
margin-bottom: ${t.sp3};
|
|
198
|
-
`,oo=r(
|
|
198
|
+
`,oo=r(q)`
|
|
199
199
|
color: ${e=>e.theme.colors.zeniAccountsPromoCardTitle};
|
|
200
200
|
text-align: center;
|
|
201
201
|
`,to=r.div`
|
|
202
202
|
width: 100%;
|
|
203
203
|
position: absolute;
|
|
204
204
|
bottom: 6px;
|
|
205
|
-
`,ro=r(
|
|
205
|
+
`,ro=r(J)`
|
|
206
206
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
207
|
-
`,P=_.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const m=Q(),f=me(),[g,x]=S.useState(0),[C
|
|
207
|
+
`,P=_.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const m=Q(),f=me(),[g,x]=S.useState(0),[C,$]=S.useState(0),[I,A]=S.useState("left"),b=(l,y)=>{l.stopPropagation(),A(y);const re=y=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,y==="left"?"Next":"Back"),d(k(re),y)},M=l=>{d(k(l),"left")};function u(l){x(l.targetTouches[0].clientX)}function oe(l){$(l.targetTouches[0].clientX)}function k(l){return l<0?a.length+l:l%a.length}function te(){g-C>50&&C!==0?(d(k(s+1),"left"),A("left"),x(0),$(0)):g-C<-50&&C!==0&&(d(k(s-1),"right"),A("right"),x(0),$(0))}const H=a.length>1,R=ue.hasZeniAccountsAdminLevelAccess(f.loggedInUserRoleMap);return o.jsx(Qe,{"data-testid":L("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?u(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(qe,{children:[o.jsx(Z,{children:o.jsx(Y,{"data-testid":L("dashboard-navigation-arrow-left",i.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:b,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})}),o.jsxs(Z,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:P.title})}),a.map((l,y)=>o.jsx(he,{activeCardIndex:s,currentIndex:y,which:I,children:o.jsx(Je,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(Ke,{onClick:()=>h(R?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(Ve,{children:R?p?P.button:P.signUp:P.learnMore})}),o.jsx(je,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:s,handleClick:M,promoColor:m.colors.zeniAccountsPromoButtonColor,promoColorHover:m.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),s===0?o.jsx(to,{children:o.jsx(ro,{children:a[0].footer})}):null]}),o.jsx(Z,{children:o.jsx(Y,{"data-testid":L("dashboard-navigation-arrow-right",i.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:b,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:v}=_.getLocalizedStrings(),z={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},O={key:"protectCash",title:c.title,prefix:c.protectCash.prefix,headerAnimationData:[],showAnimation:!0},ao=[{key:"noHiddenFees",title:c.title,prefix:c.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:c.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:c.title,prefix:c.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:c.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:c.title,prefix:c.expertSupport.prefix,header:c.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:c.expertSupport.headerAnimationData}],showAnimation:!0}];function io({card:e,data:n,analytics:i,actions:a,isZeniAccountsEnabled:s,columnKey:p,index:h,dndProps:d}){const[m,f]=U.useState(0),g=u=>{f(u)},x=(p+1)*(h+1),C=u=>{i.trackZeniAccountsPromoCardClick(x,u),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:$,maxPossibleInterest:I,maxAnnualPercentageYield:A,maxCashBalanceAvailable:b=0}=n;z.headerAnimationData=so(I??25e4),z.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,D("0,0",b,v.currency.currencySymbol).toUpperCase()),z.footer=c.keepInterest.footer.replace(/<interest>/,A.toString()),O.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,D(X($),$,v.currency.currencySymbol).toUpperCase()]}],O.prefix=c.protectCash.prefix.replace(/<amount>/,D(X($),$,v.currency.currencySymbol).toUpperCase());const M=[z,O,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:u=>d?.onDragStart(e.cardType,u),onDragOver:u=>d?.onDragOver(u,e.cardType),onDragLeave:u=>d?.onDragLeave(u),onDrop:u=>d?.onDrop(u,e.cardType),dimension:e.dimension,children:o.jsx(ve,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:m,handleLearnMoreClick:C,isZeniAccountsSetUp:s&&n.depositAccountId!=null,analytics:i,cardPosition:x})})},e.cardIndex)}S.memo(io);function so(e){const n=[],i=D("0,0",Math.floor(e),v.currency.currencySymbol);for(let a=0;a<i.length;a++){const s=i[a],p={direction:"up",stepCount:0,values:[s]};if(s===v.currency.currencySymbol||s===v.strings.comma)n.push(p);else{const h=parseInt(i[a]),d=a===1&&h<=1?1:Math.floor(h/2),m=a%2===0?"down":"up",f=h-d,g=[];for(let x=0;x<=f;x++){const C=d+x;g.push(C.toString())}m==="down"&&g.reverse(),n.push({direction:m,stepCount:f,values:g})}}return n}export{Ge as G,io as a,so as c};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{u as f,X as T,a2 as x,
|
|
1
|
+
import{u as f,X as T,a2 as x,v as a,j as n,$ as y,iJ as B,o as t,B as C,C as m,s as d}from"./index-DYVNUtTS.js";import{b as j,n as v}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const l={marginTop:new m(d[0],18),marginBottom:new m(d[0],d[3])},{spendManagement:{chargeCard:{chargeCardsPromo:p}},common:w}=C.getLocalizedStrings(),K=({googleAPIKey:o,customAddress:c,customAddressStatus:e,onDismissClick:r,onSubmitHandler:g})=>{const u=f(),s=T(),i=x(e.fetchState);j.useEffect(()=>{i==="In-Progress"&&e.fetchState==="Completed"&&r()},[e.fetchState,r,i]);const h=s==="small"?a.extraSmallRegular.cssObject:a.standardRegular.cssObject,S=s==="small"?a.standardMedium.cssObject:a.h5Regular.cssObject;return n.jsx(P,{"data-testid":y("add-address-for-card-drawer"),children:n.jsx(B,{googleAPIKey:o,loadingState:e.fetchState,addressToEdit:c,onSubmitHandler:b=>g(b),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:p.addAddress,subTitleMessage:p.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:l.marginTop.valuePx(s),marginBottom:l.marginBottom.valuePx(s),...S},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...h,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:w.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},P=v.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
background-color: ${o=>o.theme.colors.grey4};
|
|
4
4
|
height: 100%;
|
|
5
5
|
width: 100%;
|
|
6
|
-
`;export{
|
|
6
|
+
`;export{K as default};
|