@zeniai/web-cockpit-ui 1.14.62-qa → 1.14.63-qa
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-C9GD0hCH-BjgIixGR.js → ACHDetailsPage-QkOAxB4j-rzRvgUF7.js} +1 -1
- package/dist/assets/{AIPerformancePage-B0Adp0wg-BENvGSD8.js → AIPerformancePage-POiv6dgZ-ehH6qh9A.js} +1 -1
- package/dist/assets/{AccountInfoPage-BSxUquf3-CVXqrpiM.js → AccountInfoPage-DpzAjyd0-hCj5-Xra.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-8V3PDzEc-Co1a4vxf.js → AccountInfoPageContent-BrPhtN53-DpGXyKP9.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-7bhpExx3-DWUCsu-t.js → AccountLockedInfoModal-D1ZHYvRy-iriXMrHX.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-jTH8M9iA-Aoa7lkw7.js → AccountReconDetailsDrawerPage-CubIO376-DoK6LTor.js} +12 -12
- package/dist/assets/{AccountRow-BpoPw0Cq-6rjrYRQx.js → AccountRow-DTdcfEa8-D8HhIMeS.js} +12 -12
- package/dist/assets/{AccountsPromoCardStack-gsG5tf8_-DHp17pPu.js → AccountsPromoCardStack-CwDbKaNJ-CI32Wv48.js} +9 -9
- package/dist/assets/{AddAddressForCardDrawer-CMF3Il-u-Cpb6hsZ-.js → AddAddressForCardDrawer-CniAAcX8-TJikBJY3.js} +2 -2
- package/dist/assets/{AddToWalletPage-CpWP7Kpn-CSqVUMRE.js → AddToWalletPage-DOG6ubAY-P8UDt4Bo.js} +12 -12
- package/dist/assets/{AgingReportsPage-DEQ2pO0Y-yRrwplt0.js → AgingReportsPage-Dbtn1PKG-_brlu6Zl.js} +5 -5
- package/dist/assets/{AllUserItems-D0SR0Oue-DtcPCB6_.js → AllUserItems-Dth5Uovp-BFR3_uzT.js} +6 -6
- package/dist/assets/{ApAgingDetailPage-BA-wKCiF-DQrPP1v5.js → ApAgingDetailPage-C6C-aYG7-SpuZWCIq.js} +2 -2
- package/dist/assets/{AppBasePage-DFn4TCyI-Cc5DLAg0.js → AppBasePage-CtnXt_EV-BFF_WCr0.js} +6 -6
- package/dist/assets/{AppDrawerContent-CBG4Ybue-ByqvB6J0.js → AppDrawerContent-DnrQdYVp-BjOI7n6x.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-CpjHazzI-Cks7NfZS.js → ApprovalRulesSettingsPage-BEOQl822-Dy_zUdhy.js} +4 -4
- package/dist/assets/{ArAgingChart-BDISnDae-CyesneCU.js → ArAgingChart-B9rpCcBM-BwqDdGJv.js} +5 -5
- package/dist/assets/{ArAgingDetailPage-Cgqf_0fL-Cq89JxEo.js → ArAgingDetailPage-BKsCQCpu-O-haUO4O.js} +1 -1
- package/dist/assets/{AttachmentView-X1k01Vtr-B7_QU-hD.js → AttachmentView-DEE6AWkv-_RXBAfhr.js} +1 -1
- package/dist/assets/{BankAccountSection-CrxSDsgw-ktUyjJcn.js → BankAccountSection-D8_5fjrd-C6RtmJrN.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-Dpt8yOKi-CoN6e059.js → BankAccountWarningSection-CMrRr8aa-td13RL8s.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-Uzhaoi7g-mD1d5FDq.js → BankConnectionsSettingsPage-BUwkPoK_-5YdMfiwC.js} +41 -41
- package/dist/assets/{BillDetailPage-DcyikS7i-BdNFKGGl.js → BillDetailPage-DcGxex6B-B4qdDasW.js} +10 -10
- package/dist/assets/{BillPayApprovalRuleDetailPage-aM8F15Nu-CKOcRZID.js → BillPayApprovalRuleDetailPage-B4OuTcAA-Dirgx9BX.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-B46FwPVR-D-g0Yiyo.js → BillPayApprovalRulesPage-DaCdVMRx-ClR1u1Yx.js} +4 -4
- package/dist/assets/{BillPayPromoPage-DtVzdlsy-C9OmQlVi.js → BillPayPromoPage-DBlGsv9D-BBbY3xG9.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-BKdNiQf7-Cc4m50Uo.js → BillPaySetUpPage-A4zcT_mP-C-mXek88.js} +2 -2
- package/dist/assets/{BillingSettingsPage-3AgPTFzN-DilAG0t1.js → BillingSettingsPage-CujTn-BW-2j8_4g3M.js} +1 -1
- package/dist/assets/BillsBulkReviewDrawerPage-Cs779Xc4-B9oEXCxT.js +1 -0
- package/dist/assets/{BoxItem-Dsoq6QyZ-B-WatMIw.js → BoxItem-imggFWL_-BvkUgce8.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DSkBV_II-D7barBYM.js → BusinessVerificationPage-U_lU2O0k-BWvOR9H3.js} +4 -4
- package/dist/assets/{CardNumberSubText-Crk5WDQr-DYNdDxcR.js → CardNumberSubText-Ct0mJOMk-GTk9LYaW.js} +2 -2
- package/dist/assets/{CashbackDetailPage-BZAFRMGW-DHwMsEnN.js → CashbackDetailPage-GMncsgDy-CEsItsW5.js} +17 -17
- package/dist/assets/ChargeCardDetailPage-BQvjt_rh-xu6vP1EM.js +1462 -0
- package/dist/assets/{ChargeCardListPage-CIV1XQK1-D6N1OvLo.js → ChargeCardListPage-BJgzJ53p-Jc6zF2sZ.js} +9 -9
- package/dist/assets/{ChargeCardListTable-Dxn8Y17P-YJscyrM8.js → ChargeCardListTable-BD4N2FtO-IW4RlhrQ.js} +49 -49
- package/dist/assets/{ChargeCardPromoPage-B6yTGsIY-DmZGR1jp.js → ChargeCardPromoPage-BQMfHfHp-CaiWnHzz.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-HHFdpsmJ-D4Ma056g.js → ChargeCardSetupPage-DO1cXZF4-CQg6mGdq.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-tuV67f3k-CgpUYkHr.js → ChargeCardStatementsPage-0rBvkIU1-BQF10U__.js} +5 -5
- package/dist/assets/ChargeCardUtils-Cy5rZlIH-XCWo4t70.js +1 -0
- package/dist/assets/{ChaseOverlay-B2pqFXTT-Df2Ezv28.js → ChaseOverlay-Dqg_bWdn-D6GMDnLy.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-DDXZ3m54-qWYP5ABn.js → CheckDepositDrawerPage-BzzWhLjb-ulIIcuuy.js} +15 -15
- package/dist/assets/{CollapsableReportTable-BLDh7Osv-DfaYwLVz.js → CollapsableReportTable-CwhNUlX5-CDKIk88_.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-Dg3sn5Sh-Cu3GX4FJ.js → CompanyOfficerDetailsSection-BHXF7g6M-BYm-dhC7.js} +1 -1
- package/dist/assets/{CompanyPassportCard-2HnVDVVi-zGfwT0EU.js → CompanyPassportCard-Dd4Modb9-B6Tw2tod.js} +6 -6
- package/dist/assets/{CompanyPassportPage-DlGllnaL-QVy4YULg.js → CompanyPassportPage-Bh2JSIAW-CAGzvJBx.js} +20 -20
- package/dist/assets/{CompleteProfile-kFGIESms-Dkk-z6t0.js → CompleteProfile-CAtziP70-CuhdBr3J.js} +1 -1
- package/dist/assets/{ConfettiBurst-D5IgJ5P3-E65_x1se.js → ConfettiBurst-DvSGcRZX-CRir7JN3.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D8IFFcdA-StbUiZfz.js → CreateOrEditVendorPage-Csorfbun-CPVsurXL.js} +9 -9
- package/dist/assets/{CreditCardPaymentDrawerPage-Xu0psAw0-D0gZCtxQ.js → CreditCardPaymentDrawerPage-DAw1GyrP-wq43rwGK.js} +12 -12
- package/dist/assets/{CreditCardPaymentPlgSection-CqvgalYj-CUdjrO8S.js → CreditCardPaymentPlgSection-HikR7OVv-p07Uuam7.js} +6 -6
- package/dist/assets/{CurrencySelectField-hwgVPqTt-B9olol6q.js → CurrencySelectField-BW71th1E-B0V-nWZq.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CBFhWSJz-D-QIEuJy.js → CustomerOnboardingActivationPage-t4YirGGH-Cuz9h30L.js} +7 -7
- package/dist/assets/CustomerOnboardingContainerPage-BFE2DU3a-Skc1R_0K.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B2q2tdnD-Dfe_cett.js → CustomerOnboardingDetailPageSkeleton-CWWXhhJn-ITQnJPve.js} +10 -10
- package/dist/assets/{CustomerOnboardingNoStepsPage-BsNq90nq-DjNSGy04.js → CustomerOnboardingNoStepsPage-YdWEMnwL-4PI92tQb.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-BbGV3jtT-Bcwahrb4.js → CustomerOnboardingPage-C-WAF_MK-BRMtSz3Q.js} +5 -5
- package/dist/assets/{CustomerOnboardingProductSuitePage-R2PJEOqZ-BTVhd0Re.js → CustomerOnboardingProductSuitePage-CxwXw5lA-id504TUG.js} +10 -10
- package/dist/assets/{Dashboard-Cw4u8_9e-DbBlW7ig.js → Dashboard-Cp0UY0M3-IQm6-Qev.js} +1 -1
- package/dist/assets/{DashboardReportPage-ls_MMfAh-Cmzgt21g.js → DashboardReportPage-Bsr_1Vfu-QstHl9rg.js} +6 -6
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C_9jGJQn-CW-EldD9.js → DashboardSidebarBackgroundAnimation-BvgNiAXF-51lqpLhi.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BLgpyexV-DDsSN6D0.js → DepositAccTransactionItem-Cm5lhc_H-fBJ_bw48.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-r4UVSUOl-WIgqF2oB.js → DepositAccTransactionListPage-CHwS-_Nr-UV8SSaeo.js} +3 -3
- package/dist/assets/{DomesticWireDetailsPage-BSXsHwf5-CyInh1Li.js → DomesticWireDetailsPage-mqJgiAC--eFan9OS0.js} +1 -1
- package/dist/assets/{DownloadOverlay-DKpj3Vwl-jr69kEjZ.js → DownloadOverlay-DwPR_SsY-BPgWz0JW.js} +21 -21
- package/dist/assets/{DrawerPage-Cxz5I3Mb-CqHagX_L.js → DrawerPage-CR2L2ry3-BVnBWk2I.js} +14 -14
- package/dist/assets/{EditPeoplePage-Dbsa013z-BNUYit4n.js → EditPeoplePage-DiNxeKXK-aPLwCgB1.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-Clpj3Hjz-CVKUzeEp.js → EditReimbursementDetailPage-5TJ4Spw1-Bj1N-hsV.js} +64 -64
- package/dist/assets/{EntityDetailPage-C73BtWIp-D8wpNNd0.js → EntityDetailPage-CYDIH-NA-yJCqr2ih.js} +3 -3
- package/dist/assets/{EntitySummarySection-BQA0g-pF-CbGAmbu8.js → EntitySummarySection-Cv7t21-t-CcN834ie.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-BxEr0k8F-BHqR9wAC.js → ExpenseAutomationOverviewPage-Cwl9dV2--DiULJ6lt.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-BS4M9nkW-ufxTsQbf.js → ExpenseAutomationPage-LMBRJxAv-C0coiN-l.js} +26 -26
- package/dist/assets/{ExpressPayPage-Buxb2M1i-B9fAQlVA.js → ExpressPayPage-CCF0jSlI-CPHGFB-D.js} +6 -6
- package/dist/assets/{FeaturePreviewPage-ClfFYnHb--gXnRz9K.js → FeaturePreviewPage-POKsqSnu-DDjs4w2v.js} +2 -2
- package/dist/assets/{FollowStepsSection-CkQ-g4YK-dr6FAmOd.js → FollowStepsSection-BZdlZelr-BGSDF8Vp.js} +21 -21
- package/dist/assets/{GlobalReviewListPage-C_DbsHsA-C6phfeex.js → GlobalReviewListPage-BnmMh-Bc-BMXDv6s_.js} +13 -13
- package/dist/assets/{HelpButton-B0ZBXPeh-BorgPtfn.js → HelpButton-Cp2LXxyy-D5trZUYf.js} +4 -4
- package/dist/assets/{InformationCardStack-DYdCt7zr-r9qdYJzs.js → InformationCardStack-CiYqiW7_-8H1oZSc6.js} +4 -4
- package/dist/assets/{InsightsCardStack-BSHQznep-BMkYmRhd.js → InsightsCardStack-BnVrehfR-Bwp8DoXU.js} +2 -2
- package/dist/assets/{InsightsSection-C37BKIiK-RNlgGAPQ.js → InsightsSection-BpVW6ov6-DNeBGhKY.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-DHAdlHrq-CMWIwf7T.js → IntegrationsSettingsPage-CaAahFPb-DAU0q4kG.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-B64WNt28-uVg2-6eP.js → InternationalWireSwiftDetailsPage-DcwbldkC-CEHpn82p.js} +8 -8
- package/dist/assets/{InternationalWireVerificationPage-D7ttGovC-D_Anpl8k.js → InternationalWireVerificationPage-7XDbU2GY-B3Bde3aR.js} +7 -7
- package/dist/assets/{InviteFormPage-BhbGM4dC-C9bKqONR.js → InviteFormPage-Dgv7jdgF-D_Rp0_I5.js} +1 -1
- package/dist/assets/{InvitePageListView-CyRlLv60-B6D8YcCC.js → InvitePageListView-DlpINjRJ-CVTcd8Rb.js} +11 -11
- package/dist/assets/InvitePeoplePage-0YsY4Il7-BDMPvZZI.js +12 -0
- package/dist/assets/{InvoiceUploadSection-BPPgbS-r-BHrBDY3d.js → InvoiceUploadSection-DzzjJVfz-UNL63E2S.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-D_qQkkfo-CSsCg8Db.js → IssueChargeCardPage-BeB9egJS-DGDSK_Dz.js} +20 -20
- package/dist/assets/{LabeledAddressValue-EshVNGGW-Cb2uc0dZ.js → LabeledAddressValue-D6advpnC-BIRd9Ajq.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-kgieouBM-DzNGhdp0.js → LabeledAddressValueField-DRBoA2eb-CY4R72dF.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-CWABc6OK-ClMxBsh8.js → LabeledControlledCheckBoxField-Bu2WHgAQ-DG96QzTC.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B5o1KUJj-BE5hL6KZ.js → LabeledCreatableSingleSelectField-DcdF286I-DVLS5Uu2.js} +7 -7
- package/dist/assets/{LabeledDocumentField-BrXpwWfM-CV_EVAk8.js → LabeledDocumentField-B25RLa6I-CxaFbem9.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-Cepl3y9a-BvaaA7qv.js → LabeledDropDownFormattedTextField-DoK5Zfc1-DTvtmhbZ.js} +1 -1
- package/dist/assets/{LabeledText-BmFLymPb-D54qw5X_.js → LabeledText-depbwNsM-Dz-iyQhO.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CBbnTiwl-DEzr-9kh.js → LabeledUserSingleSelectWithSubtitlesField-BURpXN_N-C0dKF6bL.js} +8 -8
- package/dist/assets/{LabeledZeniRolesDropDownField-Da9mc-0B-C30aMHy1.js → LabeledZeniRolesDropDownField-TbyaA8M3-UyqyZf3T.js} +7 -7
- package/dist/assets/{LinkJETransactionPage-DIhsx2g--Cp1GItTZ.js → LinkJETransactionPage-BITHs1CJ-CskcG33H.js} +7 -7
- package/dist/assets/{LockCardPage-BA4Lj9Iy-DqX49N3M.js → LockCardPage-DPBKHSos-Eeuideoq.js} +15 -15
- package/dist/assets/{LowBalancePopup-B1pTBmAF-DMsL8GAq.js → LowBalancePopup-D2G3wpXv-BWoOvH8r.js} +3 -3
- package/dist/assets/{MagicLinkACHDetailsPage-BxzbJBWO-Wf8wA2-U.js → MagicLinkACHDetailsPage-Be7GMhBd-jvxQo3r7.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DB2tBUoV-BR3Unx7y.js → MagicLinkDomesticWireDetailsPage-C9d2Ea6m-h6pWNQ5T.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-0B5pD_Iw-BHMic-Rc.js → MagicLinkInternationalWireDetailsPage-B2M9WztX-D_JzchXs.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-3I1CRYrj-Ca4cu0D0.js → MagicLinkSuccessPage-DPb0UoGh-CP3_5lFj.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-BKgwdBLy-BT7ZZklR.js → MagicLinkTitleSection-Cc-MU2bJ-CDSrLFGF.js} +1 -1
- package/dist/assets/{MailingDetailsSection-BwEd_J6R-DkUc8Lj3.js → MailingDetailsSection-8mj7Lslp-DWzno4qU.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-BpRpGSe6-DG2NWgbm.js → MeetingCalenderPopup-Be-tan9_-BBL8yamD.js} +1 -1
- package/dist/assets/{Menu-De_gaVnj-BIvr4lYg.js → Menu-ndvXF6cX--GeZx903.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-lChXBDCb-DU5DVhxi.js → MyBankConnectionsSettingsPage-DuZFVLYx-C3D187SW.js} +4 -4
- package/dist/assets/{MyPendingActivationChargeCardListPage-D3di8BeS-DKJC-Hoj.js → MyPendingActivationChargeCardListPage-DDIlU_fs-BKtoSVLc.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-CYI4yK6I-lkqzLNrj.js → MyProfileSettingsPage-CccRK9mD-CzZJ5k5N.js} +3 -3
- package/dist/assets/{NavBarWithPicker-DcELUvq0-C5N2yjZ3.js → NavBarWithPicker-D_MqRubB-Do2ZF1uo.js} +6 -6
- package/dist/assets/{NavigationArrow-W1nVj2KC-CB3-WbW2.js → NavigationArrow-CfMVfLD8-BAf8Qn24.js} +1 -1
- package/dist/assets/{NavigationDots-BKVFhe2Y-BXA4iaa-.js → NavigationDots-E2eEHB86-CStXuDVP.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DRrjJgZt-B35zjD-s.js → NewGlobalMerchantPage-vXrz_DRg-C3ipCayd.js} +7 -7
- package/dist/assets/{NoDataChart-BzSCComh-TCsmvHP1.js → NoDataChart-CpocQ1Pa-CcVNbu1o.js} +1 -1
- package/dist/assets/{NoDataTable-CGWMbvak-D6mzGtG9.js → NoDataTable-937mkn0a-Dzw8TiZA.js} +2 -2
- package/dist/assets/{NotFoundPage-DfRFngFV-Cvi4-w7R.js → NotFoundPage-BmxF81mT-hcqigEYu.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BTJH62-O-BjEAiv3V.js → NotificationSettingsPage-DyOyHW6d-DLu_Fopw.js} +20 -20
- package/dist/assets/{NotificationsListConfig-DPutUxp3-B-f9mabS.js → NotificationsListConfig-DVs7cr0d-zA9nrZIH.js} +1 -1
- package/dist/assets/{NotificationsPage-xu6A1hVF-PuoNi3-5.js → NotificationsPage-ntuZjRm--Bpp_Njbd.js} +24 -24
- package/dist/assets/{OpExByVendorPage-BeO7iMry-ChO0CL0F.js → OpExByVendorPage-1MOdxG9V-W3eRSGY8.js} +5 -5
- package/dist/assets/{OverlayContainerPage-CU1AAMcq-C97TuWW_.js → OverlayContainerPage-CU1AAMcq-DPrm4HxT.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-1qSy3_Ke-BkoKktpJ.js → PandLWithForecastPage-n4fiElGl-DjsOKmy6.js} +8 -8
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DnObHdjD-Dxj4lh2G.js → PaymentAccountSetupBillingAddressSection-CXcwA0ON-oCTTfyhE.js} +8 -8
- package/dist/assets/{PeoplePage-CPqz8R9j-B70ykgrs.js → PeoplePage-BvZkMpjW-B5FGyPnw.js} +13 -13
- package/dist/assets/{PortfolioAllocationFormPage-C9ZM9oUf-DJFvzQ8r.js → PortfolioAllocationFormPage-B7AKufjq-BnrP09Fu.js} +3 -3
- package/dist/assets/{PortfolioDetails-BJBNPfcI-BtgJ2hbs.js → PortfolioDetails-C85yA52O-BS98fu_H.js} +7 -7
- package/dist/assets/{ProductsCarousel-Ctx00P5D-BTEQtLvG.js → ProductsCarousel-ixHCR9AW-B3KSgSvu.js} +4 -4
- package/dist/assets/{PromoBaseCards-BGYdfmx6-Dtat0fyc.js → PromoBaseCards-DiefKKcS-DjGVJhXg.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-B9yKv9hq-DoLz2hIj.js → QBOConnectionDialog-DV-xC7Yc--7Nd5nsI.js} +1 -1
- package/dist/assets/{QBOSetupSection-CTMSCXwv-CxubTHdL.js → QBOSetupSection-CI8cHWjq-C95yjRW9.js} +8 -8
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BtZUsK7H-Dzk_bMVd.js → ReimbursementApprovalRuleDetailPage-CqnCqZ5F-Vgy37mfa.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DNBHPoIZ-BlN6Jytr.js → ReimbursementApprovalRulesPage-DxoNMA62-D7mJeHmV.js} +2 -2
- package/dist/assets/{ReimbursementDetailPage-BxZ5ijHe-zurm2_Gr.js → ReimbursementDetailPage-CTvPAxMB-C7fTGU1b.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-D284EkRZ-BcIIXtzk.js → ReimbursementPromoPage-DcxPNTHd-Blnc0f_b.js} +9 -9
- package/dist/assets/{ReimbursementSetUpPage-BzR91_eW-CldLpq0B.js → ReimbursementSetUpPage-SQo-xrwo-DL5z4EoQ.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BMo9fFp7-CeRLlDSr.js → ReimbursementsBulkReviewDrawerPage-y4v-8gQs-Bq6sD38y.js} +1 -1
- package/dist/assets/{ReloadCard-CGUNX_x4-Dbmvt1Tw.js → ReloadCard-CWZU9IDv-Ctd1C9Y6.js} +3 -3
- package/dist/assets/{ReportTableViewSelector-BVAek1Ui-C_slHbQ8.js → ReportTableViewSelector-t3pgCiJb-DqBvg5NR.js} +5 -5
- package/dist/assets/{ReportsPage-BzKbMWV4-nYQmduZj.js → ReportsPage-D82gQH-e-CyPz_V1V.js} +1 -1
- package/dist/assets/{RevenueChart-CPUrVR7y-BAuj7ArI.js → RevenueChart-BMgI2BHK-kDKNV00o.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-B74yrCe2-VCXhCYb5.js → ReviewDetailsPage-Dc7dY-VA-YfTW3GqQ.js} +3 -3
- package/dist/assets/{ReviewOverlay-DQvXSDYM-DyF1UXZO.js → ReviewOverlay-Bra2W5Jg-BbU63zw-.js} +4 -4
- package/dist/assets/{RoleWithToolTip-MwI_BmVq-Ds1A2gyK.js → RoleWithToolTip-DJ15AsI3-5MOFn8Vi.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CbkRYKjG-CqEHYps-.js → ScheduleDetailsFixedAssetsPage-DoH2eyLG-B2m_A1AG.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CCRspH3Y-CPpcmXd0.js → ScheduleDetailsPage-BM1Paa1W-MAbTTj6N.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-55zYXNwF-DUs0PlZE.js → ScheduleSequenceTable-C8UB3y1y-ByEA_MWt.js} +7 -7
- package/dist/assets/{ScreenRoutes-Ba12Q0HX.js → ScreenRoutes-CCTfVlek.js} +41 -41
- package/dist/assets/{SetUpAccountSection-IgQjKWEr-Bxp6vD4c.js → SetUpAccountSection-BGdUkQz3-CmhvKRBj.js} +7 -7
- package/dist/assets/{SetUpDefaultSection-shC3qOy6-C49ph3xE.js → SetUpDefaultSection-C4NnRO65-C_SCoM-o.js} +10 -10
- package/dist/assets/{SignIn-CZGmLYjH-DHcDyA10.js → SignIn-BrHA4sLj-B4nFa1PZ.js} +1 -1
- package/dist/assets/SignInScreen-D2E8Gfeb.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-BhTnQtma-CCGqdAUI.js → SpendManagementListViewPage-Dqb0zspN-oUW0KJSC.js} +4 -4
- package/dist/assets/{SpendManagementPerTabPage-DpnIM6Nc-1ZBcChPe.js → SpendManagementPerTabPage-D5xIpojr-CbnBkwEE.js} +14 -14
- package/dist/assets/{SpendManagementSection-Hjvwgkt0-D6Yvpvz4.js → SpendManagementSection-C2iof2aM-CgI_sDl2.js} +7 -7
- package/dist/assets/{SpendMgmtSetupAccountSection-CAWyEGGM-D_Y5M2MY.js → SpendMgmtSetupAccountSection-Dz3vQC2g-CkgcDVeN.js} +6 -6
- package/dist/assets/{StatementItem-D8v_Laju-B8GfRoNo.js → StatementItem-BOgmKBTq-BfMKmuM4.js} +5 -5
- package/dist/assets/{StatementsPage-CEw-9UyR-BcqGoaDU.js → StatementsPage-ClMtBDGf-DOSOotN4.js} +4 -4
- package/dist/assets/{StatusSwitcher-DoSCydJG-CoBpz-TS.js → StatusSwitcher-QwlvHg3_-CMX0n9BM.js} +2 -2
- package/dist/assets/{SubTabSwitcher-Ct1DqfgC-Bibz1hGv.js → SubTabSwitcher-CiJ1FPk5-BAceW0EN.js} +1 -1
- package/dist/assets/{SummaryCard-CHUbuF_0-CaC0zRzW.js → SummaryCard-D1B_1H2X-BedHke4X.js} +1 -1
- package/dist/assets/{TaskManagementPage-Ddox5Vwh-D5D4JTV5.js → TaskManagementPage-DibwJCOk-z_83355A.js} +14 -14
- package/dist/assets/{TimeRangeSwitcher-CiOSsTU--CLsRcOaL.js → TimeRangeSwitcher-Ci3SxLOE-Cft8KrU4.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-D1k1Zf_U-DTp5-FTG.js → TimeframeSwitcher-DSRKJTq1-CPMEREiX.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DXbaoDe6-yq3iZa4P.js → TimeframeSwitcherWithToggle-D_BNOfdQ-hObCwi6e.js} +1 -1
- package/dist/assets/{TopExCard-D4ZDqXZg--brQ_iDE.js → TopExCard-C5622MiP-CaTPAIzE.js} +4 -4
- package/dist/assets/{TopExDetailPage-BdPAcKwH-BWvPRR7r.js → TopExDetailPage-qOhQ-KAG-Edkxfcr7.js} +6 -6
- package/dist/assets/{TransactionDetailPage-BcjGxHy8-CFPVJudJ.js → TransactionDetailPage-DaCUZuc0-CZQTF0CV.js} +13 -13
- package/dist/assets/{TransactionList-BSuMEtB3-CoYwx3Sx.js → TransactionList-CzdU-NQx-CjUzSrCX.js} +6 -6
- package/dist/assets/{TransactionListBig-MY_ZxyR3-BlvU2xVi.js → TransactionListBig-Bq7XI_xx-Dv5cExU7.js} +11 -11
- package/dist/assets/{TransactionListPage-CWGrWDjK-1Jg_-UFD.js → TransactionListPage-CZDewehT-B3DRadyQ.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-DDNK9KrI-navYrc-G.js → TransactionVendorDetailPage-Bf5UUIC6-CQGy746W.js} +3 -3
- package/dist/assets/{TransferDrawerPage-vK0YoMro-D8CyUH8N.js → TransferDrawerPage-yQE7GKl_-B_sZVByT.js} +17 -17
- package/dist/assets/{TreasuryOverviewPage-CQsUti1c-Ba68New5.js → TreasuryOverviewPage-CisB53k8-1DHqQAlF.js} +20 -20
- package/dist/assets/{TreasuryPromoPage-Bp72hKEs-NvukScyd.js → TreasuryPromoPage-BfISVj15-BGQYWL9-.js} +11 -11
- package/dist/assets/{TreasurySetupPage-BUKsU3nh-kC1qSXYk.js → TreasurySetupPage-SN-3mAFw-Cof3NBd8.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-Cryv1PNX-DcPIDQHV.js → TreasuryStatementsPage-DGyug1wv-CoxcnWHC.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-BMYTdYa5-Dj8UaOnF.js → TreasuryTaxLetterPage-BRvcOhJZ-oH9F6DSg.js} +5 -5
- package/dist/assets/{TreasuryTransferOrReviewPage-B9VwyDJa-CRkrhgNd.js → TreasuryTransferOrReviewPage-H5ohs_5r-BMVG7d4d.js} +30 -30
- package/dist/assets/{TrendChart-CqYeWLeV-htWF6W-p.js → TrendChart-ohr8bK1l-BFSRHnXH.js} +4 -4
- package/dist/assets/{TrendWithTransactions-xn1fvlLO-CerDbg3P.js → TrendWithTransactions-D5eTj9Ca-CGTj8WtT.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-B_aOzm4v-h1El0pw_.js → UncategorizedAccountsMappingPage-3NGCCdAA-g8HckfzC.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-B6LF_f7C-DF3yoEHz.js → UnitIntegrationPage-B6FOsf88-D0XXminV.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-BlKvE3tT-BlWsi76J.js → UploadAdditionalDocumentOverlay-CH9x8nx2-Bb6eisB5.js} +1 -1
- package/dist/assets/Vendor2FAPopup-D7455GFK-C9GGbcQr.js +1 -0
- package/dist/assets/{VendorACHDetailsPage-CncDplWQ-DgiLqsWr.js → VendorACHDetailsPage-CXoxi6Qp-CZ6C-DiA.js} +1 -1
- package/dist/assets/{VendorDetailPage-POan4Fo8-Y_NsPNBu.js → VendorDetailPage-C6BgYb-c-Cx6C0XWD.js} +6 -6
- package/dist/assets/{VendorDomesticWireDetailsPage-B1bT0W9o-NrQ5VuHO.js → VendorDomesticWireDetailsPage-DXfnCFu1-DnNV2kBp.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C25iYV4w-DxH6WOrq.js → VendorFiling1099EditablePage-ByESLoQK-6DrBYfQE.js} +14 -14
- package/dist/assets/{VendorFirstReviewPage-DY035p5C-B1sylU9C.js → VendorFirstReviewPage-iNPtUFNw-BZfKmxRN.js} +27 -27
- package/dist/assets/{VendorInternationalWireDetailsPage-DN_mcAqY-DOkydboS.js → VendorInternationalWireDetailsPage-CqgGFU1K-CsZgdCwh.js} +11 -11
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BaXgGRdu-BQ0UaHHd.js → VendorInternationalWireSwiftDetailsPage-CNzft0dg-sQu8DFq8.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C2UiqXC0-BiErhc3o.js → VendorsAccountsSection-DCWhoqAP-C6_VdR84.js} +2 -2
- package/dist/assets/{VerifyDevice-C7BWrAZ3-DJDQCedc.js → VerifyDevice-DvJEmcUq-BkfogXOK.js} +4 -4
- package/dist/assets/{VideoPlayer-BYkDTMkS-BkX7RMiM.js → VideoPlayer-Cp5DBUTp-iVlxVL6G.js} +1 -1
- package/dist/assets/{VideoPopup-Chye3pds-BhmRCag7.js → VideoPopup-97jTEw9t-BZq23L0E.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-Cx-gJdnW-Cid-1Ovb.js → WarningsDrawerPage-CMy4FFqt-C6SNjUUA.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-BrXe6Kao-DZTAFx3o.js → ZeniAccountDetailPage-mzHK5HUV-BLTf4Wht.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CJnHvk5a-BNB1bM3y.js → ZeniAccountListViewPage-BeN4AKFd-BiURJQoi.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-BdLOT9UG-Cokn4oEN.js → ZeniAccountNavBarPieces-Db9bLk29-BWVuZPPb.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-B1I9l833-BElJ8cLy.js → ZeniAccountPromoPage-By02sVg0-BI7WvvRE.js} +11 -11
- package/dist/assets/{ZeniAccountSetupPage-CitVJnZC-B9X3YQBI.js → ZeniAccountSetupPage-DeDgKig1-DxsBJAeT.js} +1 -1
- package/dist/assets/{ZeniCopyright-DbQka65R-7ZVyc7Yg.js → ZeniCopyright-Bfc0Yl56-DaSCXTQg.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dzxu82Xw-Ml8lBAJZ.js → ZeniTransferAmountSlider-DzeU3D5r-e0wRT6Bs.js} +6 -6
- package/dist/assets/{analyticsHelper-DgJDMdal-DIavhrOw.js → analyticsHelper-Cx9PlTZt-D_SIXjfY.js} +1 -1
- package/dist/assets/{analyticsHelper-BDL8_RGj.js → analyticsHelper-irn1VMmB.js} +1 -1
- package/dist/assets/{chartTypes-D1j_l919-8QXMvJet.js → chartTypes-BoA9fCCZ-BUUiBApo.js} +1 -1
- package/dist/assets/{commonDimensions-DDu54g8x-D5ikJlMO.js → commonDimensions-BCUrWcBL-og_PlsZY.js} +1 -1
- package/dist/assets/{detailCommon-DXjUFoA1-D9_LRSFU.js → detailCommon-CFA4p6RP-Bimo6fyM.js} +4 -4
- package/dist/assets/{downloadPdf-DChYYVaW-ZZ55IYdY.js → downloadPdf-DZ5WQt0r-N9Kz25T5.js} +1 -1
- package/dist/assets/{index-BqKtrbrP.js → index-CUR-Srol.js} +1721 -1710
- package/dist/assets/{mapLoadingInProgressToTreeNode-BC5IH44--JB4URfny.js → mapLoadingInProgressToTreeNode-DQf-1sg7-BWZZLKlE.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CUXssP6r-DZ4GfGRq.js → mapSectionWithAcOnlyToTreeNode-D0W1f0wZ-4w7b3979.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-sdzfy8cu-ofjZ3Daw.js → mapSpacerToTreeNode-Dzbv_N4o-CXIFkboT.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DgOZfixy-Cw5iWKMh.js → mapTimeframeBalancesToTreeNode-2yWiGglp-DShx5VyC.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BROieqal-BJxVRna_.js → mapTimeframeBalancesToTreeNode-COS_auLN-suqlq0FO.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-bXb7WXAq-D3DuUS-Q.js → mapTimeframeHeaderLoadingInProgressToTreeNode-NCujclSc-ByFXX8Q5.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DqhuI8hD-CWs6fXMS.js → toCOABalancesWithID--3a-7Ohb-BwklwBgE.js} +1 -1
- package/dist/assets/{toChartData-DZPFiNsp-WPnYC-7p.js → toChartData-KZ92y9KA-BQVgkNx4.js} +1 -1
- package/dist/assets/{treasuryColorHelper-D5AxfiPH-CHzWVnh9.js → treasuryColorHelper-ChFJTPyg-CRY-Xv6G.js} +1 -1
- package/dist/assets/{uploadAttachment-D04Fz4F1-CuQRw56o.js → uploadAttachment-BzeeOF-1-C7ElNjUE.js} +14 -14
- package/dist/assets/{uploadReceipts-9DTOr0BG-BFe5S3is.js → uploadReceipts-9DTOr0BG-CPXDfLxX.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/BillsBulkReviewDrawerPage-CFK7g3R1-CNk8ph3a.js +0 -1
- package/dist/assets/ChargeCardDetailPage-DXUoIbZa-_LUfh5la.js +0 -1813
- package/dist/assets/ChargeCardUtils-BeG5m9OQ-BnJ39MTB.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-D4zUp7hX-DHmsrQe_.js +0 -1
- package/dist/assets/InvitePeoplePage-DYpb33z0-YHgrNKtY.js +0 -12
- package/dist/assets/SignInScreen-DqIw82_G.js +0 -1
- package/dist/assets/Vendor2FAPopup-BLzf9zxl-u_Gb4R4i.js +0 -1
package/dist/assets/{ACHDetailsPage-C9GD0hCH-BjgIixGR.js → ACHDetailsPage-QkOAxB4j-rzRvgUF7.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as
|
|
1
|
+
import{q as F,aa as I,O as S,cS as W,j as n,cD as H,cE as O,cF as V,ad as q,aQ as Q,y as s,fa as U,b6 as _,o as G,u as t}from"./index-CUR-Srol.js";import{b as x,n as d}from"./vendor-Bs1fkIUX.js";import{W as J,F as K}from"./BankAccountWarningSection-CMrRr8aa-td13RL8s.js";import{M as X}from"./MagicLinkTitleSection-Cc-MU2bJ-CDSrLFGF.js";import{e as Y}from"./BankAccountSection-D8_5fjrd-C6RtmJrN.js";const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},N="achDetailsPage",b="bankAccountSection",j=e=>`${e}_form`,de=({bankAccountCreationState:e,bankAccountToCreate:f,fetchBankNameByRoutingStatus:k,isDisabled:y,style:v,onSaveHandler:A,onBackClick:g,onACHDetailsUpdated:B,onFetchBankName:T,isMagicLink:u,companyName:w,currencySymbol:D,amount:P,bankAccountContext:$})=>{const r=F(),i=I({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(f),[f])}),[z,m]=x.useState(!1),c=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=S.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:h}=c,L={onOkClick:()=>{m(!1),i.reset(),g?.()},onCancelClick:()=>{m(!1)}},M=async(p,l)=>{const o=l[b].bankRoutingNumber;B(l),p===`${b}.bankRoutingNumber`&&o?.length===9&&U.test(o)===!0&&T?.(o)};x.useEffect(()=>{const p=i.watch((l,{name:o})=>{o!=null&&l!=null&&W(()=>M(o,l))});return()=>{p.unsubscribe()}});const E=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&A("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:v,size:r,children:[z===!0?n.jsx(H,{titleComponent:n.jsx(V,{children:c.discardTitle}),descriptionComponent:n.jsx(O,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:L}):null,n.jsx(J,{header:u?n.jsx(X,{companyName:w??"",currencySymbol:D??"",amount:P??0}):C.addACHDetails,isMagicLink:u,isDirty:i.formState.isDirty,onBackClick:g,setShowConfirmationPopup:m}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(K,{warningText:h.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:r,children:C.title}),n.jsx(ie,{children:n.jsx(q,{...i,children:n.jsx("form",{id:j(N),onSubmit:E,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:f,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:y})})})})})]}),n.jsx(Q,{formId:j(N),primaryBtn:{label:u?h.submitDetails:h.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:y!=null},showCancel:!u,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?m(!0):(i.reset(),g?.())}}})]})},Z=e=>({[b]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=d.div`
|
|
2
2
|
padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
|
|
3
3
|
padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
|
|
4
4
|
padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as u,a9 as w1,q as M,
|
|
1
|
+
import{y as u,a9 as w1,q as M,O as j,l as k,cr as M1,j as r,aM as y1,c5 as j1,o,k4 as H,C as _,cy as $1,u as n,b_ as L,dL as d1,h as d,a8 as v1,b3 as c1,be as h1,bh as p1,bg as G,c as m1,bR as S1,bS as b1,bf as Q,k5 as f,ai as g,k6 as Z1,k7 as B1,as as b,_ as J,b6 as K,an as W1,k8 as F1,e4 as D1,gd as _1,cw as u1,am as P1}from"./index-CUR-Srol.js";import{b as t,n as i,i as T1,k as H1}from"./vendor-Bs1fkIUX.js";import{R as z1}from"./NavBarWithPicker-D_MqRubB-Do2ZF1uo.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const e1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},V1=i.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
package/dist/assets/{AccountInfoPage-BSxUquf3-CVXqrpiM.js → AccountInfoPage-DpzAjyd0-hCj5-Xra.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c as f,q as y,j as t,gW as $,o,y as a,hE as P,u as i}from"./index-CUR-Srol.js";import{b as j,n}from"./vendor-Bs1fkIUX.js";import{G as z}from"./StatusSwitcher-QwlvHg3_-CMX0n9BM.js";import{r as A}from"./AccountInfoPageContent-BrPhtN53-DpGXyKP9.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-DZ5WQt0r-N9Kz25T5.js";import"./commonDimensions-BCUrWcBL-og_PlsZY.js";const r={pageTitleMarginXAxis:new a(i[4],i[8]),containerPaddingLeft:new a(i[3],i[6],i[8]),containerPaddingRight:new a(i[3],i[6],i[8])},_=({authParams:e,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:m,currentTenant:p,onDismissClick:u})=>{const g=f(),c=y(),[d,x]=j.useState("achDetails"),h=w=>{x(w)};return t.jsxs(T,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(b,{windowSize:c,children:s.accountName}),t.jsx(v,{children:t.jsx(z,{tabIds:["achDetails","wireDetails"],selectedTab:d,entity:"zeni_accounts",onTabSelectedChange:h,isSwitcherLeftAlign:!0})}),t.jsx(S,{windowSize:c,children:t.jsx(A,{authParams:e,downloadAccountDetailEndPoint:l,currentTab:d,zeniAccountsConfigDetail:m,currentTenant:p,depositAccount:s})})]})},S=n.div`
|
|
2
2
|
padding-left: ${e=>`${r.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
3
|
padding-right: ${e=>`${r.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
|
-
`,
|
|
4
|
+
`,T=n.div`
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
background-color: ${e=>e.theme.colors.grey4};
|
|
8
8
|
overflow-x: hidden;
|
|
9
9
|
height: 100%;
|
|
10
10
|
width: 100%;
|
|
11
|
-
`,
|
|
11
|
+
`,b=n(P)`
|
|
12
12
|
color: ${e=>e.theme.colors.primary};
|
|
13
13
|
padding: ${o.sp3} ${o.sp0};
|
|
14
14
|
margin: ${e=>`${o.sp0} ${r.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as we,fX as Ae,hF as
|
|
1
|
+
import{q as we,fX as Ae,hF as V,j as r,O as Se,c5 as D,P as Te,aM as z,o as a,b6 as ve,ch as Ce,h as M,ai as ee,M as De,fZ as ze,am as re}from"./index-CUR-Srol.js";import{b as s,n as t}from"./vendor-Bs1fkIUX.js";import{w as Le}from"./downloadPdf-DZ5WQt0r-N9Kz25T5.js";import{o as _e}from"./commonDimensions-BCUrWcBL-og_PlsZY.js";const{common:{strings:Me,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:W},billPay:{vendorCreation:{achDetails:o}},downloads:X}}=Se.getLocalizedStrings(),Ye=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,E]=Ae(),[k,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[p,O]=s.useState(!1),[N,R]=s.useState(!1),[j,I]=s.useState(!1),[w,q]=s.useState(!1),[A,G]=s.useState(!1),[S,U]=s.useState(!1),[T,B]=s.useState(!1),[$,H]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,C=V(u.zeniAccountsConfigDetail.mailingAddress).text2,m=V(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(p||S||T||$||A||$||j||N||w)&&setTimeout(()=>{O(!1),U(!1),B(!1),H(!1),G(!1),q(!1),I(!1),R(!1)},1200)},[p,S,T,$,A,w,j,N]);const J=(h,c)=>{switch(h){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":xe(c);break;case"beneficiaryAddress":pe(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
2
2
|
|
|
3
3
|
${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
4
4
|
|
|
@@ -18,21 +18,21 @@ ${o.beneficiaryName} ${v}
|
|
|
18
18
|
|
|
19
19
|
${o.bankAddress} ${m}
|
|
20
20
|
|
|
21
|
-
${o.beneficiaryAddress} ${C}`,E(c),
|
|
21
|
+
${o.beneficiaryAddress} ${C}`,E(c),O(!0)},i=(h,c,x,Q)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=T;break;case"accountType":d=se,l=S;break;case"bankName":d=be,l=A;break;case"beneficiaryName":d=he,l=N;break;case"beneficiaryAddress":d=me,l=w;break;case"bankAddress":d=fe,l=j;break;default:d=le,l=$;break}const je=()=>{switch(x){case"accountType":U(!0);break;case"acccountNumber":B(!0);break;case"routingNumber":H(!0);break;case"bankName":G(!0);break;case"beneficiaryName":R(!0);break;case"beneficiaryAddress":q(!0);break;case"bankAddress":I(!0);break}};return r.jsxs(Ge,{onMouseEnter:()=>J(x,!0),onMouseLeave:()=>J(x,!1),children:[r.jsx(Ue,{children:h}),r.jsx(He,{children:r.jsxs(Je,{children:[r.jsxs(Be,{children:[d||oe==="small"?r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:l,children:l?y.copied:y.copy}),enterDelay:600,children:l===!0?r.jsx(Y,{}):r.jsx(K,{"data-testid":z("account-info-copy",x),onClick:()=>{E(c),je()}})})}):null,c]}),Q!=null?r.jsx(Qe,{children:Q}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.id,company_name:g?.companyName??"",company_legal_name:g?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${ae}?query=${ke}`;return r.jsx(Pe,{children:r.jsxs(Ee,{children:[r.jsxs(Oe,{children:[r.jsx(Ie,{children:f==="achDetails"?W.achTitle:W.wireTitle}),r.jsxs(Re,{children:[r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?X.downloading:X.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(qe,{"data-testid":z("account-info-download-pdf"),onClick:()=>{Le(Ne,Me.empty,e,te,!0)}})})}),r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:p,children:p?y.copied:y.copy}),enterDelay:600,children:p===!0?r.jsx(Y,{}):r.jsx(K,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(Ve,{children:[r.jsx(Z,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(F,{children:i(o.bankAddress,m,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(We,{children:[r.jsx(Z,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(b,{children:i(o.bankAddress,m,"bankAddress")}):null,v!=null?r.jsx(b,{children:i(o.beneficiaryName,v,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(F,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Pe=t.div``,Ee=t.div`
|
|
22
22
|
margin: ${a.sp4};
|
|
23
23
|
margin-left: ${a.sp0};
|
|
24
|
-
`,
|
|
24
|
+
`,Oe=t.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
27
|
justify-content: space-between;
|
|
28
28
|
margin-bottom: ${a.sp3};
|
|
29
|
-
`,
|
|
29
|
+
`,Re=t.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
gap: ${a.sp4};
|
|
32
|
-
`,
|
|
32
|
+
`,Ie=t(ve)`
|
|
33
33
|
color: ${e=>e.theme.colors.primary};
|
|
34
34
|
margin-right: ${a.sp2};
|
|
35
|
-
`,
|
|
35
|
+
`,qe=t(Ce)`
|
|
36
36
|
height: ${a.sp3};
|
|
37
37
|
width: ${a.sp3};
|
|
38
38
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -57,7 +57,7 @@ ${o.beneficiaryAddress} ${C}`,E(c),R(!0)},i=(h,c,x,J)=>{let d,l;switch(x){case"a
|
|
|
57
57
|
color: ${e=>e.theme.colors.grey1};
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
60
|
+
`,Z=t(P)`
|
|
61
61
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
62
62
|
display: flex;
|
|
63
63
|
border-top-width: 1px;
|
|
@@ -72,7 +72,7 @@ ${o.beneficiaryAddress} ${C}`,E(c),R(!0)},i=(h,c,x,J)=>{let d,l;switch(x){case"a
|
|
|
72
72
|
&:hover {
|
|
73
73
|
border-bottom-width: 1px;
|
|
74
74
|
}
|
|
75
|
-
`,
|
|
75
|
+
`,F=t(P)`
|
|
76
76
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
77
77
|
display: flex;
|
|
78
78
|
border-top-width: 0.5px;
|
|
@@ -107,29 +107,29 @@ ${o.beneficiaryAddress} ${C}`,E(c),R(!0)},i=(h,c,x,J)=>{let d,l;switch(x){case"a
|
|
|
107
107
|
height: ${a.sp3};
|
|
108
108
|
width: ${a.sp3};
|
|
109
109
|
color: ${M.success};
|
|
110
|
-
`,
|
|
110
|
+
`,Ge=t.div`
|
|
111
111
|
display: flex;
|
|
112
112
|
flex-direction: row;
|
|
113
113
|
padding: ${a.sp3} ${a.sp4};
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
width: 100%;
|
|
116
116
|
gap: ${a.sp4};
|
|
117
|
-
`,Ge=t(re)`
|
|
118
|
-
color: ${e=>e.theme.colors.hero};
|
|
119
117
|
`,Ue=t(re)`
|
|
118
|
+
color: ${e=>e.theme.colors.hero};
|
|
119
|
+
`,Be=t(re)`
|
|
120
120
|
display: flex;
|
|
121
121
|
align-items: center;
|
|
122
122
|
color: ${e=>e.theme.colors.primary};
|
|
123
123
|
background-color: ${e=>e.theme.colors.grey5};
|
|
124
124
|
justify-content: flex-end;
|
|
125
125
|
text-align: end;
|
|
126
|
-
`,Fe=t.div`
|
|
127
|
-
display: flex;
|
|
128
126
|
`,He=t.div`
|
|
129
127
|
display: flex;
|
|
128
|
+
`,Je=t.div`
|
|
129
|
+
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
align-items: flex-end;
|
|
132
|
-
`,
|
|
132
|
+
`,Qe=t(ee)`
|
|
133
133
|
color: ${e=>e.theme.colors.grey1};
|
|
134
134
|
text-align: end;
|
|
135
135
|
`,_=t(ee)`
|
|
@@ -146,4 +146,4 @@ ${o.beneficiaryAddress} ${C}`,E(c),R(!0)},i=(h,c,x,J)=>{let d,l;switch(x){case"a
|
|
|
146
146
|
border-top-width: 1px;
|
|
147
147
|
border-bottom-width: 1px;
|
|
148
148
|
}
|
|
149
|
-
`,
|
|
149
|
+
`,Ve=t.div``,We=t.div``;export{Ye as r};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c as g,O as l,j as e,am as f,b9 as d,n as j,o as r,h as m,ar as $,cb as y,cc as b,cd as k,c4 as w}from"./index-CUR-Srol.js";import{n as o}from"./vendor-Bs1fkIUX.js";import{t as v}from"./handshake-BPg58FML-BpN0H-2S.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const h="support@zeni.ai",i=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,p=({unlockDate:t,onSubmit:s})=>{const n=g(),u=t.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),x=t.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return e.jsxs(S,{children:[e.jsx(C,{children:i.accountLockedTitle}),e.jsxs(L,{children:[e.jsxs(a,{children:[e.jsx(c,{theme:n,children:e.jsx(_,{})}),e.jsx(f,{children:i.accountLockedSecurityMessage})]}),e.jsxs(a,{children:[e.jsx(c,{theme:n,children:e.jsx(Y,{})}),e.jsxs(d,{children:[i.tryAgainAfter,e.jsxs(A,{children:[u,e.jsx(D,{children:"•"}),x]}),i.signInViaGoogleOrMicrosoft]})]}),e.jsxs(a,{children:[e.jsx(c,{theme:n,children:e.jsx(F,{})}),e.jsxs(d,{children:[i.accountLockedContactMessage,e.jsx(z,{href:`mailto:${h}`,children:h})]})]}),e.jsx(j,{variant:"primary",label:i.understood,onClick:s})]})]})};function M({unlockDate:t,onClose:s}){return e.jsx(w,{open:!0,onClose:s,children:e.jsx(I,{children:e.jsx(p,{unlockDate:t,onSubmit:s})})})}const S=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -40,13 +40,13 @@ import{b as g,F as l,j as e,am as f,b9 as d,n as j,o as r,h as m,ar as $,cb as y
|
|
|
40
40
|
display: flex;
|
|
41
41
|
align-items: center;
|
|
42
42
|
justify-content: center;
|
|
43
|
-
`,
|
|
43
|
+
`,Y=o(b)`
|
|
44
44
|
width: ${r.sp4};
|
|
45
45
|
height: ${r.sp4};
|
|
46
|
-
`,
|
|
46
|
+
`,_=o(y)`
|
|
47
47
|
width: ${r.sp4};
|
|
48
48
|
height: ${r.sp4};
|
|
49
|
-
`,
|
|
49
|
+
`,F=o(v)`
|
|
50
50
|
width: ${r.sp4};
|
|
51
51
|
height: ${r.sp4};
|
|
52
52
|
`,I=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aa as xe,fG as fe,j as t,l as _,ad as ge,cD as ye,
|
|
1
|
+
import{aa as xe,fG as fe,j as t,l as _,ad as ge,cD as ye,O as je,cE as Se,cF as $e,o as i,H as ke,b6 as Z,an as X,A as ve,ab as Ce,e3 as we,f8 as Ee,kK as V,dO as ee,am as l,c as be,aN as Pe,bA as te,e6 as ne,av as Re,h as oe,M as De}from"./index-CUR-Srol.js";import{b as r,n as o}from"./vendor-Bs1fkIUX.js";import{E as Ie,w as Fe,C as _e,f as Te}from"./AccountRow-DTdcfEa8-D8HhIMeS.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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};
|
|
@@ -52,13 +52,13 @@ import{aa as xe,fG as fe,j as t,l as _,ad as ge,cD as ye,F as je,cE as Se,cF as
|
|
|
52
52
|
flex: 1 1 0;
|
|
53
53
|
justify-content: center;
|
|
54
54
|
flex-direction: column;
|
|
55
|
-
`,We=o(
|
|
55
|
+
`,We=o(Z)`
|
|
56
56
|
display: flex;
|
|
57
57
|
color: ${e=>e.theme.colors.primary};
|
|
58
58
|
align-items: center;
|
|
59
59
|
justify-content: center;
|
|
60
60
|
overflow: hidden;
|
|
61
|
-
`,ie=o(
|
|
61
|
+
`,ie=o(X)`
|
|
62
62
|
display: flex;
|
|
63
63
|
color: ${e=>e.theme.colors.hero};
|
|
64
64
|
align-items: center;
|
|
@@ -75,7 +75,7 @@ import{aa as xe,fG as fe,j as t,l as _,ad as ge,cD as ye,F as je,cE as Se,cF as
|
|
|
75
75
|
align-items: center;
|
|
76
76
|
justify-content: center;
|
|
77
77
|
gap: ${i.sp5};
|
|
78
|
-
`,
|
|
78
|
+
`,Ke=o.div`
|
|
79
79
|
display: flex;
|
|
80
80
|
flex-direction: row;
|
|
81
81
|
align-items: center;
|
|
@@ -85,13 +85,13 @@ import{aa as xe,fG as fe,j as t,l as _,ad as ge,cD as ye,F as je,cE as Se,cF as
|
|
|
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
|
+
`,qe=o.div`
|
|
89
89
|
display: flex;
|
|
90
90
|
flex-direction: column;
|
|
91
91
|
align-items: flex-start;
|
|
92
92
|
justify-content: center;
|
|
93
93
|
min-width: ${m.balanceContainerWidth}px;
|
|
94
|
-
`,N=o(
|
|
94
|
+
`,N=o(X)`
|
|
95
95
|
display: flex;
|
|
96
96
|
color: ${e=>e.theme.colors.hero};
|
|
97
97
|
align-items: center;
|
|
@@ -99,13 +99,13 @@ import{aa as xe,fG as fe,j as t,l as _,ad as ge,cD as ye,F as je,cE as Se,cF as
|
|
|
99
99
|
`,Ge=o(l)`
|
|
100
100
|
color: ${e=>e.theme.colors.primary};
|
|
101
101
|
text-align: left;
|
|
102
|
-
`,
|
|
102
|
+
`,Ve=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
|
+
`,Je=o(l)`
|
|
109
109
|
display: flex;
|
|
110
110
|
color: ${e=>e.theme.colors.primary};
|
|
111
111
|
align-items: center;
|
|
@@ -116,13 +116,13 @@ import{aa as xe,fG as fe,j as t,l as _,ad as ge,cD as ye,F as je,cE as Se,cF as
|
|
|
116
116
|
align-items: flex-start;
|
|
117
117
|
justify-content: flex-start;
|
|
118
118
|
gap: ${i.sp1};
|
|
119
|
-
`,
|
|
119
|
+
`,Ze=o.div`
|
|
120
120
|
display: flex;
|
|
121
121
|
flex-direction: column;
|
|
122
122
|
align-items: flex-start;
|
|
123
123
|
justify-content: flex-start;
|
|
124
124
|
min-width: ${m.balanceContainerWidth}px;
|
|
125
|
-
`,
|
|
125
|
+
`,Xe=o(l)`
|
|
126
126
|
display: flex;
|
|
127
127
|
color: ${e=>e.theme.colors.grey3};
|
|
128
128
|
align-items: center;
|
|
@@ -162,7 +162,7 @@ import{aa as xe,fG as fe,j as t,l as _,ad as ge,cD as ye,F as je,cE as Se,cF as
|
|
|
162
162
|
justify-content: center;
|
|
163
163
|
min-width: ${m.sourceContainerWidth}px;
|
|
164
164
|
gap: ${i.sp2};
|
|
165
|
-
`,at=o(
|
|
165
|
+
`,at=o(Z)`
|
|
166
166
|
display: flex;
|
|
167
167
|
color: ${e=>e.theme.colors.primary};
|
|
168
168
|
align-items: center;
|
|
@@ -236,4 +236,4 @@ import{aa as xe,fG as fe,j as t,l as _,ad as ge,cD as ye,F as je,cE as Se,cF as
|
|
|
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:J,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:b,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O}){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,L]=r.useState(!1),[A,B]=r.useState(void 0),[re,H]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),b("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{A!=null&&(R(A),B(void 0)),H(void 0),L(!1)},onCancelClick:()=>{B(void 0),L(!1)}},K=r.useRef(h);r.useEffect(()=>{K.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,K.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:q,ready:G}=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"&&b("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&G&&w(!0)},[G,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&&q()},[a,q]),t.jsxs(Ue,{children:[t.jsx(Oe,{children:t.jsx(Ae,{children:t.jsxs(Be,{children:[t.jsx(Me,{}),t.jsxs(Ne,{children:[t.jsx(We,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(ze,{children:t.jsx(Ye,{onClick:$})})]})})}),t.jsxs(Le,{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:O,showConfirmationPopup:z,setShowConfirmationPopup:L,deleteFileId:A,setDeleteFileId:B,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:b,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M,uploadErrorMessage:O,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(Ke,{children:[t.jsxs(qe,{children:[t.jsx(N,{children:c.reconciliation.headers.bankBalance}),t.jsx(Ge,{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(Ve,{children:[t.jsx(N,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Je,{children:t.jsx(_e,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Ze,{children:[t.jsx(N,{children:c.reconciliation.headers.variance}),t.jsx(Xe,{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(E,{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(E,{children:t.jsx(Ee,{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:O,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{M()}},onDeleteFile:a=>{b(a),P(!0)},onEditFileName:(a,w)=>{T(a,w)}})}):null,t.jsxs(E,{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(E,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(F,{children:t.jsx(St,{accountSubType:V(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(E,{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:V(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(W,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(W,{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=be(),{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(J.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(J.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,O as se,aN as T,c5 as f,o,aM as y,ab as re,e3 as le,am as $,e4 as de,h as m,e5 as J,e6 as K,dd as ue,aU as x,ai as X,u as p,q as xe,c as S,a$ as pe,dM as he,ao as me,n as ge,an as I,bP as fe,dY as je}from"./index-CUR-Srol.js";import{n as a,b as ye,i as $e}from"./vendor-Bs1fkIUX.js";const we=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -108,7 +108,7 @@ import{j as t,F as se,aN as T,c5 as f,o,aM as y,ab as re,e3 as le,am as $,e4 as
|
|
|
108
108
|
align-items: center;
|
|
109
109
|
gap: ${o.sp1};
|
|
110
110
|
margin-top: ${o.sp1};
|
|
111
|
-
`,
|
|
111
|
+
`,Oe=a($)`
|
|
112
112
|
user-select: none;
|
|
113
113
|
clear: both;
|
|
114
114
|
display: inline-block;
|
|
@@ -119,13 +119,13 @@ import{j as t,F as se,aN as T,c5 as f,o,aM as y,ab as re,e3 as le,am as $,e4 as
|
|
|
119
119
|
color: ${e=>e.theme.colors.hero};
|
|
120
120
|
width: ${u.leftLabelWidth}px;
|
|
121
121
|
min-width: ${u.leftLabelWidth}px;
|
|
122
|
-
`,
|
|
122
|
+
`,Ae=a.div`
|
|
123
123
|
display: flex;
|
|
124
124
|
flex: 1 1 auto;
|
|
125
125
|
justify-content: flex-end;
|
|
126
126
|
align-items: center;
|
|
127
127
|
color: ${e=>e.theme.colors.hero};
|
|
128
|
-
`,
|
|
128
|
+
`,Me=a($)`
|
|
129
129
|
width: ${u.bankBalanceWidth}px;
|
|
130
130
|
min-width: ${u.bankBalanceWidth}px;
|
|
131
131
|
text-align: right;
|
|
@@ -136,7 +136,7 @@ import{j as t,F as se,aN as T,c5 as f,o,aM as y,ab as re,e3 as le,am as $,e4 as
|
|
|
136
136
|
width: ${u.clearedBalanceWidth}px;
|
|
137
137
|
min-width: ${u.clearedBalanceWidth}px;
|
|
138
138
|
text-align: right;
|
|
139
|
-
`,
|
|
139
|
+
`,Qe=a($)`
|
|
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,F as se,aN as T,c5 as f,o,aM as y,ab as re,e3 as le,am as $,e4 as
|
|
|
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;
|
|
@@ -233,7 +233,7 @@ import{j as t,F as se,aN as T,c5 as f,o,aM as y,ab as re,e3 as le,am as $,e4 as
|
|
|
233
233
|
`,ct=a(de)`
|
|
234
234
|
width: ${o.sp3};
|
|
235
235
|
height: ${o.sp3};
|
|
236
|
-
`,
|
|
236
|
+
`,O=a(fe)`
|
|
237
237
|
width: 12px;
|
|
238
238
|
height: 12px;
|
|
239
239
|
color: ${e=>e.iconColor.hex()};
|
|
@@ -241,13 +241,13 @@ import{j as t,F as se,aN as T,c5 as f,o,aM as y,ab as re,e3 as le,am as $,e4 as
|
|
|
241
241
|
`,w=a.div`
|
|
242
242
|
display: flex;
|
|
243
243
|
gap: ${o.sp1};
|
|
244
|
-
`,
|
|
244
|
+
`,A=a.div`
|
|
245
245
|
display: flex;
|
|
246
246
|
flex-direction: column;
|
|
247
247
|
align-items: center;
|
|
248
248
|
`,Y=a($)`
|
|
249
249
|
color: ${e=>e.theme.colors.hero};
|
|
250
|
-
`,
|
|
250
|
+
`,M=a.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
flex-direction: row;
|
|
253
253
|
align-items: center;
|
|
@@ -256,11 +256,11 @@ import{j as t,F as se,aN as T,c5 as f,o,aM as y,ab as re,e3 as le,am as $,e4 as
|
|
|
256
256
|
color: ${e=>e.textColor.hex()};
|
|
257
257
|
`,V=a(I)`
|
|
258
258
|
color: ${e=>e.textColor.hex()};
|
|
259
|
-
`,
|
|
259
|
+
`,Q=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;
|
|
@@ -295,4 +295,4 @@ import{j as t,F as se,aN as T,c5 as f,o,aM as y,ab as re,e3 as le,am as $,e4 as
|
|
|
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:mt}}}=se.getLocalizedStrings();function Lt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:g,onStatementAddClicked:C}){const B=xe(),P=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=()=>{g?.(n.accountReconEntity.account.accountId)},ie=()=>{C?.(n.accountReconEntity.account.accountId)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),H=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",E=H==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let q=e;return i&&(q=e+p[8]),t.jsxs(Le,{"data-testid":y("total-row-root-container"),heightValue:q,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(Ee,{firstLetter:v.charAt(0),color:new x(P.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($t,{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:E,onReconnectClicked:ae})}),t.jsx(Ue,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ve,{children:t.jsx(wt,{clearedBalance:_,isLoading:E})}),t.jsx(gt,{isLoading:E,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Qe,{children:t.jsx(ze,{heightValue:e})}),t.jsx(Fe,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:H==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:E,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:E,onReviewClicked:z})})]})]}),t.jsx(Pe,{kind:"account_separator",isScrolling:!1}),i?t.jsx(Be,{}):null]})}const gt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:g}=ft(l,e,i),C=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${mt}`:h;return t.jsxs(He,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||c?h:T("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:g,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(m.success),d=new x(m.success),r=new x(m.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 g="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?g=s.status.balanceNotFound:e.accountReconEntity.balance==null?g=s.status.bankBalanceNotFound:g=s.status.clearedBalanceNotFound,t.jsx(bt,{status:g,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(L,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Z,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(L,{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(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(L,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(L,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Z,{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(Ye,{children:t.jsx(ge,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),L=({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(Je,{children:[t.jsxs(Ke,{children:[t.jsx(Ze,{}),t.jsx(Xe,{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]})]})}),$t=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:g,accountId:C,onStatementAddClicked:B,setIsHovering:P})=>{const v=Et();if(l===!0)return t.jsx(R,{className:"any-text-container",children:T("0,0",e)??h});if(g===!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?T("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:T("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",C),onMouseEnter:()=>{P(!0)},onMouseLeave:()=>{P(!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})})})})},wt=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(R,{className:"any-text-container",children:T("0,0",e)??h}):t.jsx(R,{className:"any-text-container",children:h}),Z=({tooltipText:e})=>{const n=new x(m.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsxs(M,{children:[t.jsx(A,{iconColor:n}),t.jsx(O,{children:t.jsx(U,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(F,{children:t.jsx(V,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(m.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(w,{children:[t.jsx(A,{iconColor:i}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(U,{textColor:i,children:e})}),t.jsx(F,{children:t.jsx(V,{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(w,{children:t.jsxs(Q,{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(w,{children:t.jsxs(Q,{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(w,{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(m.important),l=Tt(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(w,{children:[t.jsx(A,{iconColor:c}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(U,{textColor:c,children:l})}),t.jsx(F,{children:t.jsx(V,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(w,{children:t.jsx(Y,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsx(Y,{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 Et(){const e=[];return e.push({label:s.menu.bankConnection,value:"bank_connection"}),e.push({label:s.menu.statement,value:"statement"}),e}const Tt=(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{Ee as B,wt as C,Wt as D,Tt as E,Pt as N,Lt as R,ft as f,u,$t as w};
|
|
298
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:mt}}}=se.getLocalizedStrings();function Lt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:g,onStatementAddClicked:C}){const B=xe(),P=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=()=>{g?.(n.accountReconEntity.account.accountId)},ie=()=>{C?.(n.accountReconEntity.account.accountId)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),H=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",E=H==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let q=e;return i&&(q=e+p[8]),t.jsxs(Le,{"data-testid":y("total-row-root-container"),heightValue:q,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(Ee,{firstLetter:v.charAt(0),color:new x(P.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(Oe,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Me,{children:t.jsx($t,{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:E,onReconnectClicked:ae})}),t.jsx(Ue,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ve,{children:t.jsx(wt,{clearedBalance:_,isLoading:E})}),t.jsx(gt,{isLoading:E,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Fe,{children:t.jsx(ze,{heightValue:e})}),t.jsx(Qe,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:H==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:E,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:E,onReviewClicked:z})})]})]}),t.jsx(Pe,{kind:"account_separator",isScrolling:!1}),i?t.jsx(Be,{}):null]})}const gt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:g}=ft(l,e,i),C=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${mt}`:h;return t.jsxs(He,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||c?h:T("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:g,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(m.success),d=new x(m.success),r=new x(m.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 g="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?g=s.status.balanceNotFound:e.accountReconEntity.balance==null?g=s.status.bankBalanceNotFound:g=s.status.clearedBalanceNotFound,t.jsx(bt,{status:g,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(L,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Z,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(L,{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(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(L,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(L,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Z,{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(Ye,{children:t.jsx(ge,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),L=({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(Je,{children:[t.jsxs(Ke,{children:[t.jsx(Ze,{}),t.jsx(Xe,{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]})]})}),$t=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:g,accountId:C,onStatementAddClicked:B,setIsHovering:P})=>{const v=Et();if(l===!0)return t.jsx(R,{className:"any-text-container",children:T("0,0",e)??h});if(g===!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?T("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:T("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",C),onMouseEnter:()=>{P(!0)},onMouseLeave:()=>{P(!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})})})})},wt=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(R,{className:"any-text-container",children:T("0,0",e)??h}):t.jsx(R,{className:"any-text-container",children:h}),Z=({tooltipText:e})=>{const n=new x(m.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsxs(A,{children:[t.jsx(O,{iconColor:n}),t.jsx(M,{children:t.jsx(U,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(Q,{children:t.jsx(V,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(m.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(w,{children:[t.jsx(O,{iconColor:i}),t.jsxs(A,{children:[t.jsx(M,{children:t.jsx(U,{textColor:i,children:e})}),t.jsx(Q,{children:t.jsx(V,{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(w,{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(w,{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(w,{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(m.important),l=Tt(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(w,{children:[t.jsx(O,{iconColor:c}),t.jsxs(A,{children:[t.jsx(M,{children:t.jsx(U,{textColor:c,children:l})}),t.jsx(Q,{children:t.jsx(V,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(w,{children:t.jsx(Y,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsx(Y,{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 Et(){const e=[];return e.push({label:s.menu.bankConnection,value:"bank_connection"}),e.push({label:s.menu.statement,value:"statement"}),e}const Tt=(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{Ee as B,wt as C,Wt as D,Tt as E,Pt as N,Lt as R,ft as f,u,$t as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{O as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA as ce,bB as le,bC as J,s as de,aO as _,aK as pe,c as K,ax as me,l as he,aM as L,aW as ue,aL as ge,aR as xe,ai as Q,aY as fe,b4 as Ce,am as $e,b9 as ye}from"./index-CUR-Srol.js";import{n as r,k as Z,i as q,b as U,w as S}from"./vendor-Bs1fkIUX.js";import{c as ve}from"./SummaryCard-D1B_1H2X-BedHke4X.js";import{N as Y}from"./NavigationArrow-CfMVfLD8-BAf8Qn24.js";import{j as je}from"./NavigationDots-E2eEHB86-CStXuDVP.js";const be="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",B=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return Z`
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateX(${i});
|
|
@@ -36,7 +36,7 @@ import{F as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA
|
|
|
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;
|
|
@@ -54,7 +54,7 @@ import{F as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA
|
|
|
54
54
|
`,k=r(ie)`
|
|
55
55
|
${ae.accountsPromoHighlightText.css};
|
|
56
56
|
color: ${e=>e.theme.colors.zeniAccountsPromoCardHighlightText};
|
|
57
|
-
`,Be=r(
|
|
57
|
+
`,Be=r($e)`
|
|
58
58
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
59
59
|
`,Te=r(le)`
|
|
60
60
|
color: ${j.brandColorJade};
|
|
@@ -75,13 +75,13 @@ import{F as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA
|
|
|
75
75
|
width: 1px;
|
|
76
76
|
background-color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
77
77
|
margin-right: 2px;
|
|
78
|
-
`,
|
|
78
|
+
`,Oe=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
|
+
`,Ne=r.div`
|
|
85
85
|
display: flex;
|
|
86
86
|
align-items: center;
|
|
87
87
|
gap: ${t.sp1};
|
|
@@ -140,7 +140,7 @@ import{F as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA
|
|
|
140
140
|
transform: translateX(50%);
|
|
141
141
|
animation: ${B("left",75)} ease-out 0.3s 1
|
|
142
142
|
forwards;
|
|
143
|
-
`,
|
|
143
|
+
`,O=r.img`
|
|
144
144
|
${V}
|
|
145
145
|
`,Ye=r(I)`
|
|
146
146
|
display: flex;
|
|
@@ -158,7 +158,7 @@ import{F as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA
|
|
|
158
158
|
path {
|
|
159
159
|
stroke-width: 2px;
|
|
160
160
|
}
|
|
161
|
-
`,Ge=(e,n)=>{const{common:i}=X.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(We,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,u)=>o.jsx(k,{className:"card-highlight-text",children:p},`${p}_${u}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Te,{})]}),o.jsx(Le,{}),o.jsxs(
|
|
161
|
+
`,Ge=(e,n)=>{const{common:i}=X.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(We,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,u)=>o.jsx(k,{className:"card-highlight-text",children:p},`${p}_${u}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Te,{})]}),o.jsx(Le,{}),o.jsxs(Oe,{children:[o.jsxs(Ne,{children:[o.jsx(Fe,{}),o.jsxs(E,{isZeniProgressBar:!1,children:[n[0].values[0]," ",i.texts.insured]})]}),o.jsxs(Ue,{children:[o.jsx(Xe,{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(k,{style:{position:"relative"},children:[n[0].values[0],o.jsx(Ze,{})]}),o.jsx(k,{children:o.jsx(R,{children:o.jsx(Re,{})})}),o.jsx(k,{children:o.jsx(R,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(_e,{children:[o.jsx(I,{style:{animationDelay:"0.2s"},children:o.jsx(O,{src:be})}),o.jsx(I,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(O,{src:Ae})}),o.jsx(I,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(O,{src:we})}),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=K(),[s,p]=U.useState(!1);U.useEffect(()=>(n&&(G=setTimeout(()=>{p(!0)},2e3)),()=>{clearTimeout(G),p(!1)}),[n]);const{prefix:u,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(Ie,{children:[d!=null?o.jsx(Be,{children:d}):null,o.jsx(ee,{children:f?Ge(g,m):null})]}),o.jsx(Se,{themeContext:a,children:u})]})}const Ke=r(ge)`
|
|
162
162
|
flex-wrap: wrap;
|
|
163
163
|
overflow: hidden;
|
|
164
164
|
& .styledNav {
|
|
@@ -172,7 +172,7 @@ import{F as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA
|
|
|
172
172
|
margin: 2px;
|
|
173
173
|
background-color: ${e=>e.theme.colors.zeniAccountsPromoBackgroundColor};
|
|
174
174
|
border-radius: ${t.sp2};
|
|
175
|
-
`,
|
|
175
|
+
`,N=r.div`
|
|
176
176
|
display: flex;
|
|
177
177
|
flex-direction: column;
|
|
178
178
|
`,qe=r.div`
|
|
@@ -204,4 +204,4 @@ import{F as X,j as o,o as t,aX as D,h as j,ar as ne,C as ae,by as ie,bz as se,bA
|
|
|
204
204
|
bottom: 6px;
|
|
205
205
|
`,ro=r(J)`
|
|
206
206
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
207
|
-
`,z=X.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:u,handleCardNavigation:d}){const m=K(),f=me(),[g,x]=S.useState(0),[C
|
|
207
|
+
`,z=X.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:u,handleCardNavigation:d}){const m=K(),f=me(),[g,x]=S.useState(0),[C,$]=S.useState(0),[T,b]=S.useState("left"),A=(l,y)=>{l.stopPropagation(),b(y);const re=y=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,y==="left"?"Next":"Back"),d(w(re),y)},M=l=>{d(w(l),"left")};function h(l){x(l.targetTouches[0].clientX)}function oe(l){$(l.targetTouches[0].clientX)}function w(l){return l<0?a.length+l:l%a.length}function te(){g-C>50&&C!==0?(d(w(s+1),"left"),b("left"),x(0),$(0)):g-C<-50&&C!==0&&(d(w(s-1),"right"),b("right"),x(0),$(0))}const H=a.length>1,W=he.hasZeniAccountsAdminLevelAccess(f.loggedInUserRoleMap);return o.jsx(Ke,{"data-testid":L("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?h(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(Qe,{children:[o.jsx(N,{children:o.jsx(Y,{"data-testid":L("dashboard-navigation-arrow-left",i.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:A,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})}),o.jsxs(N,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:z.title})}),a.map((l,y)=>o.jsx(ue,{activeCardIndex:s,currentIndex:y,which:T,children:o.jsx(Je,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(qe,{onClick:()=>u(W?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(Ve,{children:W?p?z.button:z.signUp:z.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(N,{children:o.jsx(Y,{"data-testid":L("dashboard-navigation-arrow-right",i.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:A,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:v}=X.getLocalizedStrings(),P={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},F={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:u,dndProps:d}){const[m,f]=U.useState(0),g=h=>{f(h)},x=(p+1)*(u+1),C=h=>{i.trackZeniAccountsPromoCardClick(x,h),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:$,maxPossibleInterest:T,maxAnnualPercentageYield:b,maxCashBalanceAvailable:A=0}=n;P.headerAnimationData=so(T??25e4),P.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,D("0,0",A,v.currency.currencySymbol).toUpperCase()),P.footer=c.keepInterest.footer.replace(/<interest>/,b.toString()),F.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,D(_($),$,v.currency.currencySymbol).toUpperCase()]}],F.prefix=c.protectCash.prefix.replace(/<amount>/,D(_($),$,v.currency.currencySymbol).toUpperCase());const M=[P,F,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:h=>d?.onDragStart(e.cardType,h),onDragOver:h=>d?.onDragOver(h,e.cardType),onDragLeave:h=>d?.onDragLeave(h),onDrop:h=>d?.onDrop(h,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 u=parseInt(i[a]),d=a===1&&u<=1?1:Math.floor(u/2),m=a%2===0?"down":"up",f=u-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 Y,io as a,so as c};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c as f,q as y,aP as T,C as a,j as i,aM as x,jm as B,o as t,O as C,y as m,u as d}from"./index-CUR-Srol.js";import{b as j,n as P}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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=y(),n=T(e.fetchState);j.useEffect(()=>{n==="In-Progress"&&e.fetchState==="Completed"&&r()},[e.fetchState,r,n]);const h=s==="small"?a.extraSmallRegular.cssObject:a.standardRegular.cssObject,S=s==="small"?a.standardMedium.cssObject:a.h5Regular.cssObject;return i.jsx(v,{"data-testid":x("add-address-for-card-drawer"),children:i.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}}})})},v=P.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};
|