@zeniai/web-cockpit-ui 1.15.6-prod → 1.15.7-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-DDuW5spI-CxBhE7Uh.js → ACHDetailsPage-CGG2Hx4v-BW7Ihkof.js} +1 -1
- package/dist/assets/{AIPerformancePage-Bbk-pUwz-CXuvh1Mj.js → AIPerformancePage-XDCygRgj-CEqrEuBs.js} +32 -32
- package/dist/assets/AccountInfoPage-CSf3J58F-DCyXpiFs.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BA3WBfD4-BuWc_ZhS.js → AccountInfoPageContent-wjaeVokT-CiNOfJ02.js} +9 -9
- package/dist/assets/{AccountLockedInfoModal-Bs1ImO2L-Cc7T0poM.js → AccountLockedInfoModal-DJnj--uc-BJgnvrcM.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-Ci_Eb0_d-DEaKMPcI.js → AccountReconDetailsDrawerPage-a2stjcsR-Ds8R_X-n.js} +19 -19
- package/dist/assets/{AccountRow-BWclqiQh-YQWO0ylP.js → AccountRow-DlccmtgU-foUdbmvG.js} +24 -24
- package/dist/assets/{AccountsPromoCardStack-BHgGIeBG-ByHps-3E.js → AccountsPromoCardStack-BE0vjkiK-DEN0OmWn.js} +14 -14
- package/dist/assets/AddAddressForCardDrawer-D3mMFgO8-8PMwaa8Q.js +6 -0
- package/dist/assets/{AddToWalletPage-Dllxg_0u-CgvntkH8.js → AddToWalletPage-6OCJaNcg-EoATwn7j.js} +19 -19
- package/dist/assets/{AgingReportsPage-CBHhfTKI-CxKXezYQ.js → AgingReportsPage-hgg1L3pv-DEJ_mF4m.js} +1 -1
- package/dist/assets/{AllUserItems-Bdv9AIQ9-kcd_hhsG.js → AllUserItems-BmNtc-69-BsLa0Y8T.js} +14 -14
- package/dist/assets/{ApAgingDetailPage-EE3MrY5l-CxNtm4NA.js → ApAgingDetailPage-DAZAnfcs-zxr1sXnX.js} +5 -5
- package/dist/assets/{AppBasePage-02I6V3Np-DzDRUDUh.js → AppBasePage-D7_krMlm-D-9wFTdh.js} +9 -9
- package/dist/assets/{AppDrawerContent-DbBd9m20-BD4Vxp0E.js → AppDrawerContent-DWL57wUk-DZ6AAyNy.js} +6 -6
- package/dist/assets/ApprovalRulesSettingsPage-CiX2Xx3--YCvl1YZm.js +47 -0
- package/dist/assets/{ArAgingChart-BqBx1Gj1-BwabwD2J.js → ArAgingChart-CeaYIqlX-BUR2NiTJ.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-D9rI5yue-DodXQ7og.js → ArAgingDetailPage-Is5kv2-P-CDH0tn0m.js} +1 -1
- package/dist/assets/{AttachmentView-CeblaMyI-Bcjgvkpm.js → AttachmentView-BsNhULL3-C-ca695p.js} +4 -4
- package/dist/assets/{BankAccountSection-B3v3BDPK-ST4ITFLw.js → BankAccountSection-ZWR_hXjD-mYMACSQd.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-DCi9o7_J-Jkspsyof.js → BankAccountWarningSection-C-2eE9pL-BhkH4zkd.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-Csbc7IYe-YCKvdGwA.js → BankConnectionsSettingsPage-CjbaVbou-BNqlym9z.js} +17 -17
- package/dist/assets/{BillDetailPage-ByPP2r-L-CdPd-E0Q.js → BillDetailPage-B_zbQLLp-Dsf72rKA.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-GDOnscxH-jbIIvIwA.js → BillPayApprovalRuleDetailPage-CtJLn_JO-BVtB6sJH.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-BqDyhnz3-any6qZ9S.js → BillPayApprovalRulesPage-vvgGBmoM-C7iW15VO.js} +5 -5
- package/dist/assets/{BillPayPromoPage-B1_ugFQw-PGU7hKFY.js → BillPayPromoPage-DkyMRquU-6vAZUzNc.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-Cx2vQIL8-SNTH8wHn.js → BillPaySetUpPage-m15SlV0c-C_W7-nyr.js} +9 -9
- package/dist/assets/BillingSettingsPage-C4P_B31U-Dbv-0XdG.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-B8KhD0xH-OW_panID.js → BillsBulkReviewDrawerPage-C_Nmv34F-s0EetHC0.js} +1 -1
- package/dist/assets/{BoxItem-CqsCCOrk-JwTnC0Kx.js → BoxItem-Cmrt_yxF-Cr2cxrKm.js} +1 -1
- package/dist/assets/BusinessVerificationPage-Dr_YFkLN-5SYND8JY.js +138 -0
- package/dist/assets/{CardNumberSubText-ByPbO0F8-BJrrvAG-.js → CardNumberSubText-B6Fprh6S-CEzRIr67.js} +8 -8
- package/dist/assets/{CashbackDetailPage-Ve3JZpeP-nSpsePO4.js → CashbackDetailPage-CWExYaIT-BmImExjs.js} +20 -20
- package/dist/assets/{ChargeCardDetailPage-D7zLKDQo-BL1yS_tf.js → ChargeCardDetailPage-B3hr0WBI-X68NSBCl.js} +1 -1
- package/dist/assets/{ChargeCardListPage-Cnm7GqIj-BUUNEdwx.js → ChargeCardListPage-g9gCfpoh-BTqPP-pZ.js} +15 -15
- package/dist/assets/{ChargeCardListTable-bTR8Mmj4-DyCLS6HZ.js → ChargeCardListTable-BoDSmzn_-CpSnyHh2.js} +38 -38
- package/dist/assets/{ChargeCardPaymentHistoryPage-Cufm-hgn-DDPTuP3u.js → ChargeCardPaymentHistoryPage-xs346JMC-CvFrTbeZ.js} +28 -28
- package/dist/assets/ChargeCardPromoPage-DwiDNiRF-BfEfjZd3.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-B-jcdCNM-Ckvz33NS.js → ChargeCardSetupPage-Dbz_GdRL-ClxdYJ_F.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CyVlO8hd-BjyVVJMg.js → ChargeCardStatementsPage-Da9NY51a-ChevXKmL.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-BmG5ma6K-ydNsV_qc.js → CheckDepositDrawerPage-CcSRXOv7-DM7Ey8xT.js} +8 -8
- package/dist/assets/{CollapsableReportTable-LB-wYzj1-BrgxbNdY.js → CollapsableReportTable-D1b80h2R-CMeyXG6i.js} +41 -41
- package/dist/assets/CompanyOfficerDetailsSection-BMYQ8Qcq-vyiocP81.js +260 -0
- package/dist/assets/{CompanyPassportCard-BwHjmTyn-B9NIAtJj.js → CompanyPassportCard-vAocVa7X-Bg4vrJh5.js} +4 -4
- package/dist/assets/CompanyPassportPage-Dva5Le3j-D1jREPm8.js +574 -0
- package/dist/assets/{CompleteProfile-H7UexvAo-C0O6oJwW.js → CompleteProfile-B-Hhosch-DRCiMIXe.js} +1 -1
- package/dist/assets/ConfettiBurst-BV8M1GTR-DJjoIhlI.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-Bt2itRHK-JjYy_N9B.js → CreateOrEditVendorPage-Bgc7zC_D-CfO9iUSb.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-B8eb8Q0G-gqqM0PRu.js → CreditCardPaymentDrawerPage-Bs5RpFes-CgklXCqv.js} +11 -11
- package/dist/assets/{CurrencySelectField-DIh7_ile-BiZRj88l.js → CurrencySelectField-BC9QkDwI-BEtmNe90.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-B3t4tiur-eESZshql.js → CustomerOnboardingActivationPage-Br4RFzGo-DgY7VWoB.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-BRs0LPZ0-y5fJ25mS.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-JE_MoyoU-CrFmiDtl.js → CustomerOnboardingDetailPageSkeleton-DLKJINnV-B2tg0XBT.js} +18 -18
- package/dist/assets/CustomerOnboardingNoStepsPage-CjvQ3PFZ-BN9B2AZm.js +66 -0
- package/dist/assets/CustomerOnboardingPage-3ECCqY1a-CL7QxZ3D.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DZLKr3qq-CrsoJ2C7.js → CustomerOnboardingProductSuitePage-Dx3FU6Fe-CAm2edHR.js} +4 -4
- package/dist/assets/{Dashboard-z7EuNcjw-BTKsWShT.js → Dashboard-EWWj1Uby-C8-SPpUF.js} +21 -21
- package/dist/assets/{DashboardReportPage-BX2xSgwt-Dw6XE7aa.js → DashboardReportPage-D4kzdnvI-BKOw_sqx.js} +10 -10
- package/dist/assets/{DashboardSidebarBackgroundAnimation-fiNmHYV3-DhXz26Bv.js → DashboardSidebarBackgroundAnimation-BSwRgXFk-CJAI0MPE.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CmlUJZgz-Dl8g77db.js → DepositAccTransactionItem-xvCtIj9v-7jCouOnq.js} +2 -2
- package/dist/assets/DepositAccTransactionListPage-B8UpFh_9-DlvHxyY3.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-D-SBQqbR-D77RURF6.js → DomesticWireDetailsPage-DF8bLeDL-Be0QfLbt.js} +1 -1
- package/dist/assets/{DownloadOverlay-DznbXeUZ-DpdJo5HW.js → DownloadOverlay-wlAXZwF0-B68SEe8G.js} +30 -30
- package/dist/assets/{DrawerPage-8d8mdD3v-uI7P44U9.js → DrawerPage-DroW95LB-DgRu7-up.js} +18 -18
- package/dist/assets/{EditPeoplePage-CTwY7ePr-D8_1so-E.js → EditPeoplePage-CgUM9UYI-_7L-v32x.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-DVg6dH7p-02iAGHJh.js → EditReimbursementDetailPage-BgcII79s-qEpt9Cs6.js} +61 -61
- package/dist/assets/EntityDetailPage-ByHvXL2c-DbNraeh4.js +18 -0
- package/dist/assets/{EntitySummarySection-CloCPwyO-H2pOzd67.js → EntitySummarySection-D6HekhK7-CEx8SebE.js} +9 -9
- package/dist/assets/{ExpenseAutomationOverviewPage-dHZEdK4L-DhDW8V_C.js → ExpenseAutomationOverviewPage-VN-P6f2z-D9XayAVC.js} +16 -16
- package/dist/assets/{ExpenseAutomationPage-CWyP8ETl-D0GIa5Jp.js → ExpenseAutomationPage-CvnkIuMf-BzVTKngy.js} +66 -66
- package/dist/assets/{ExpressPayPage-liflPa6J-DhSVDpI_.js → ExpressPayPage-C_yRTeDh-CXT1jZ8h.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-DhSoy4IL-C8b3BL5y.js → FeaturePreviewPage-BLRhajFn-BfH5LrVG.js} +1 -1
- package/dist/assets/{FollowStepsSection-DW5HuzRR-G6vpn5Wz.js → FollowStepsSection-DhiGIylh-dcsWOGAc.js} +49 -49
- package/dist/assets/{GlobalReviewListPage-CGCdgQFw-CYr5tDRK.js → GlobalReviewListPage-Tg986b2s-BcraUWMG.js} +6 -6
- package/dist/assets/{InformationCardStack-D6xiRsRy-RBnA5Ca9.js → InformationCardStack-3Lmn6LJr-BzzpUQZE.js} +1 -1
- package/dist/assets/{InsightsCardStack-D1eIlMkU-DTJXmvNA.js → InsightsCardStack-Dc6OL9Od-D89joaRU.js} +2 -2
- package/dist/assets/InsightsSection-Drr3r1BL-BjPy8A4H.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CRZfnPIT-BM7Hnv51.js → IntegrationsSettingsPage-DACHBlEm-DaFs14XG.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-DouGaVny-Cq1w6csA.js → InternationalWireSwiftDetailsPage-BaqSqvWh-BwJgPcJE.js} +17 -17
- package/dist/assets/InternationalWireVerificationPage-Daxni4YY-BKNsaA95.js +292 -0
- package/dist/assets/{InviteFormPage-dCGpLoBC-Cy_9vDs9.js → InviteFormPage-CXcHy9Sz-C3-iU8eM.js} +24 -24
- package/dist/assets/{InvitePageListView-DhV6Pw56-BqJCkz8H.js → InvitePageListView-tu82Q2y6-CzjWJAgY.js} +54 -54
- package/dist/assets/{InvitePeoplePage-J-HYw9MC-DE9iWLdm.js → InvitePeoplePage-Bbv2pjhR-BZJHvIvS.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-BJLLf4x5-DPI4bKEB.js → InvoiceUploadSection-CO34IhU8-1rxbAjFS.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-hEaegmyi-DwbNBXVg.js → IssueChargeCardPage-DuqGEs5b-DVXuxnuF.js} +23 -23
- package/dist/assets/{LabeledAddressValue-PXtKo31O-CFKKSfFF.js → LabeledAddressValue-D0Gu5Mgp-CuHBod6j.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D0Ow_UPE-COoDFa0v.js → LabeledAddressValueField-DPisU2iY-3oGO3c9v.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-DVOeaKu0-B89RB2FN.js → LabeledControlledCheckBoxField-BKqCiNdy-CKGxo72C.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Dqt1M07c-B31u1ckI.js → LabeledCreatableSingleSelectField-DLVxVffe-RkcfyIgp.js} +5 -5
- package/dist/assets/{LabeledDocumentField-D2n9ry_0-CWQFC9JM.js → LabeledDocumentField-DtOCNiEg-DdNet_Ri.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-BfpPbI2T-L7Ccutbp.js → LabeledDropDownFormattedTextField-CsbwG9At-Cie_r1vg.js} +6 -6
- package/dist/assets/{LabeledText-BHQeQs6Z-CG2-2xv-.js → LabeledText-C4GeOHM8-ChfVujh4.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CnwVXq2g-mDciw5rT.js → LabeledUserSingleSelectWithSubtitlesField-gwRpED7x-BzoJSlO5.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-Dpdlc1DB-b-hRGyRF.js → LabeledZeniRolesDropDownField-Bj8qcvuK-mHT__PRC.js} +12 -12
- package/dist/assets/{LinkJETransactionPage-CWOfaAhz-DM_W9RTM.js → LinkJETransactionPage-CdWWV_7u-CTynd4m9.js} +3 -3
- package/dist/assets/{LockCardPage-BMt1zujT-ZM4_z0u0.js → LockCardPage-BTxCWQ6_-bPbvvlRf.js} +65 -65
- package/dist/assets/{LowBalancePopup-BN2RBNOV-Cbcftjbf.js → LowBalancePopup-Dt9KCWOU-CfGVa0nY.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-C2z4VD4x-yC-7xafy.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dxd73sj8-Dnp7p7eT.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Ct-REVbS-CPUlXtmL.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DQbdgFhH-Dp43QcHp.js → MagicLinkSuccessPage-D45Lu2cc-Co6kTR8X.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-BYkzInkY-D4Z6Nf6c.js → MagicLinkTitleSection-BdiSVi0V-B1KEw-n6.js} +3 -3
- package/dist/assets/{MailingDetailsSection-DiSohByM-DSNP6utN.js → MailingDetailsSection-CjO5OVZN-CsIdvq8c.js} +1 -1
- package/dist/assets/{Menu-TzNY4ajT-xZKDdZdE.js → Menu-C_kotivE-FvhfNRdu.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-Bk4Hdapv-BwulGOOk.js → MyBankConnectionsSettingsPage-CN9EKlOy-B7KFdOdn.js} +4 -4
- package/dist/assets/{MyPendingActivationChargeCardListPage-C5Q5p5zq-CKgoV309.js → MyPendingActivationChargeCardListPage-rmpT6HFS-CAP6sOzW.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BxiofsK0-CjoZPZtE.js → MyProfileSettingsPage-CTmDuFNJ-KfiZ2ouo.js} +5 -5
- package/dist/assets/{NavBarWithPicker-DX31nlvR-CesSdpJn.js → NavBarWithPicker-VzNJnXX3-D_mYpcQU.js} +4 -4
- package/dist/assets/{NavigationArrow-BDdBEJFM-Cr3MV5Yg.js → NavigationArrow-B9ZEhJdg-DZDpNuL-.js} +1 -1
- package/dist/assets/{NavigationDots-BZOdXVhR-BogVFGLe.js → NavigationDots-C_N16I15-CgfbbWpb.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-qOuBGJ6w-CNtvF6H2.js → NewGlobalMerchantPage-DICWFjCu-B9FIBlfd.js} +8 -8
- package/dist/assets/NoDataChart-CCCkzfa4-CZ1VHThr.js +26 -0
- package/dist/assets/NoDataTable-DVW_simO-CiETBp14.js +8 -0
- package/dist/assets/{NotFoundPage-B31SyO4w-BOxZB8DW.js → NotFoundPage-BHrUY910-CB4emWh9.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-3GoJDHjY-R3SuRmJv.js → NotificationSettingsPage-alUKfWWf-BIIzsf_j.js} +12 -12
- package/dist/assets/NotificationsListConfig-QOeX1KBS-BXuzGZYq.js +1 -0
- package/dist/assets/{NotificationsPage-Cuz_KDD8-k19YxZ9B.js → NotificationsPage-BjhHCUzl-CL_1S-pu.js} +22 -22
- package/dist/assets/{OpExByVendorPage-B2CQ-hT1-B0tksHJH.js → OpExByVendorPage-h_QozoZk-rvk-4kbQ.js} +20 -20
- package/dist/assets/OverlayContainerPage-Daz3A7cI-DZnbS2el.js +11 -0
- package/dist/assets/{PandLWithForecastPage-Dkcy07sC-DeLcZlC2.js → PandLWithForecastPage-DdiEIHC--BvKI5oME.js} +4 -4
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CIlQ-MgM-D9smrX3o.js +107 -0
- package/dist/assets/{PeoplePage-yzYfizds-wb5Byym9.js → PeoplePage-BaOppi8Y-C-YATJdW.js} +34 -34
- package/dist/assets/{Preview-DZXFBHSQ.js → Preview-yiJBApzl.js} +1 -1
- package/dist/assets/{ProductsCarousel-DRfZ_sZ_-BYhq_r4f.js → ProductsCarousel-E65X4lGB-DH2SteEv.js} +9 -9
- package/dist/assets/{PromoBaseCards-CbPywvj2-BJXffSIG.js → PromoBaseCards-O66NGGWD-BKbCdKhK.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-DLuBxOXr-CH_Aj1TS.js → QBOConnectionDialog-BrMv7xjB-DlUN7Kz1.js} +2 -2
- package/dist/assets/{QBOSetupSection-CxLynYFq-CZyV2WsE.js → QBOSetupSection-B5D4uUOv-CGhKBwg7.js} +16 -16
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CDK4q7B4-Blxm3m2m.js → ReimbursementApprovalRuleDetailPage-DJNl2oqj-B4OdqkFs.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DFmZm1Qr-D5wSTcL3.js → ReimbursementApprovalRulesPage-tnc2z3Es-yyigySmO.js} +17 -17
- package/dist/assets/ReimbursementDetailPage-CO8Wv5-c-qlCsVXqq.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DENI6dAX-C4LrpZuT.js → ReimbursementPromoPage-04Cqe8zH--NCi_DFM.js} +6 -6
- package/dist/assets/{ReimbursementSetUpPage-BJoFNAQR-BgHtSbbe.js → ReimbursementSetUpPage-2VrhpV75-Bv2sY3Y4.js} +6 -6
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C0a107hB-BD_FRT7T.js → ReimbursementsBulkReviewDrawerPage-CEZlRH0_-CC2d3Iit.js} +1 -1
- package/dist/assets/{ReloadCard-BCuJkAqw-DYpvDh_s.js → ReloadCard-BakyoznA-DmnMlohL.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-CEo0z4A2-CvMOkKtj.js → ReportTableViewSelector-C7w_WVnY-C6Okt0Gv.js} +4 -4
- package/dist/assets/{ReportsPage-gMt_l_Aa-BdMCVFoN.js → ReportsPage-BeZqGQ2i-2BlXIjgp.js} +5 -5
- package/dist/assets/{RevenueChart-JLdzi3aQ-7sE9zMtR.js → RevenueChart-BcRkSSWz-D5XPPSEX.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-WBKwpVad-NgO9SEC-.js → ReviewDetailsPage-CA5CBeB7-DN9fIS4d.js} +52 -52
- package/dist/assets/{ReviewOverlay-DqOXHkMM-jRakJ6IM.js → ReviewOverlay-DNjbv6Ir-BYUbQDSw.js} +12 -12
- package/dist/assets/RoleWithToolTip-CSoHoT3u-vTwGI01K.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-CLjpednn-81YU8z_r.js +37 -0
- package/dist/assets/{ScheduleDetailsPage-_Ag36lXG-C4WIryes.js → ScheduleDetailsPage-MEVdw-l_-gtCnaFgw.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-axweBiV5-B3NWtaDa.js → ScheduleSequenceTable-BGx2un0o-CTi3pu3D.js} +52 -52
- package/dist/assets/{ScreenRoutes-DyMvoV5V.js → ScreenRoutes-DUbNYmu4.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CerAAia_-BhWOLpxC.js → SetUpAccountSection-Blriup16-W2fx2DgC.js} +14 -14
- package/dist/assets/{SignIn-B1yQ5XWH-P_F72pZj.js → SignIn-DqVQU08d-BerCpw9H.js} +15 -15
- package/dist/assets/{SignInScreen-CVtWxGtY.js → SignInScreen-B5Y03mpU.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BL77zVeL-BVoclXHH.js → SpendManagementListViewPage-Cd88asmE-CB759VbW.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-B82q9yMk-B1JAZuX-.js → SpendManagementPerTabPage-DyPyPQjh-CeHpfSNV.js} +26 -26
- package/dist/assets/{SpendManagementSection-Bcex-9e7-CxkR_zoB.js → SpendManagementSection-C5fvFmdh-D7vZlQqH.js} +21 -21
- package/dist/assets/StatementItem-CBGi9f9C-DW_QCJ6P.js +31 -0
- package/dist/assets/StatementsPage-De1wPDzS-BpyLzEUf.js +58 -0
- package/dist/assets/{StatusSwitcher-Cw0Sq3bY-C5eVaKdh.js → StatusSwitcher-BS4h8SJh-CcRGAnPy.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DmGRgMQe-B-3SwxWb.js → SubTabSwitcher-vsehXtEO-aHnk9ME_.js} +3 -3
- package/dist/assets/SummaryCard-gehzCCsW-cRlcrWMR.js +1 -0
- package/dist/assets/{TaskManagementPage-CAX0yrep-DF0jNwa1.js → TaskManagementPage-DlzHdHSu-DMSrvQ05.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-2AXHoZ8f-DfpvK_gh.js → TimeRangeSwitcher-CFZq5KoG-DvA1T4tX.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DJiKd_tL-D0ww-92G.js → TimeframeSwitcher-Bb7JwirM-DT_nE5Dd.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-5W1Xu4QM-D44YxP7E.js → TimeframeSwitcherWithToggle-BXIevpvE-CV8LNwYU.js} +1 -1
- package/dist/assets/{TopExCard-8RRaMY7F-CDxikjtH.js → TopExCard-BQIHsi_z-CJAyN5Zr.js} +10 -10
- package/dist/assets/{TopExDetailPage-D2KlaBXx-rdDVAjhD.js → TopExDetailPage-BYCn9hZ2-DC2P4FKF.js} +2 -2
- package/dist/assets/{TransactionDetailPage-DdyFRxld-BYZZjtrc.js → TransactionDetailPage-BMYeFZH7-BFKwH-pD.js} +34 -34
- package/dist/assets/{TransactionList-CLVkETBe-CRlJFb7k.js → TransactionList-BMfwxUes-i8oCJgrA.js} +12 -12
- package/dist/assets/{TransactionListBig-BRCiFBKB-Ck3O3NDm.js → TransactionListBig-CSjliLzH-5P3TN04x.js} +6 -6
- package/dist/assets/{TransactionListPage-D0OgwsUo-CH5jc7e_.js → TransactionListPage-C2Iz7CDJ-CDbQhMhs.js} +2 -2
- package/dist/assets/TransactionVendorDetailPage-OXcpSTxA-ogeFkWo8.js +80 -0
- package/dist/assets/{TransferDrawerPage-DdDRqsyR-CEfGLHmx.js → TransferDrawerPage-4lrBrmvC-BzHEhXmo.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-BcIRsLLj-Bxe8waVi.js → TreasuryOverviewPage-DNUrwQ-l-CtbTN09Y.js} +37 -37
- package/dist/assets/{TreasuryPromoPage-qbltxtYj-D2Z_Pc4R.js → TreasuryPromoPage-CjjmLEyR-Jw9_r6c2.js} +16 -16
- package/dist/assets/TreasuryStatementsPage-CGax-FVg-CB9f88VO.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-C2-SmkNZ-UvonfFtF.js → TreasuryTaxLetterPage-DapKFecA-Ckfl6mTT.js} +2 -2
- package/dist/assets/{TrendChart-Cot9LFNh-u8M8bbk0.js → TrendChart-t_2mlnuR-C3EpG69G.js} +2 -2
- package/dist/assets/{TrendWithTransactions-BKxxRKGE-CUH5BmSp.js → TrendWithTransactions-BjQX1uvO-CXSH8SoK.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-C7Z3q75s-DxAjDd8a.js → UncategorizedAccountsMappingPage-C9DJ4P_n-Da3On2ZP.js} +11 -11
- package/dist/assets/{UnitIntegrationPage-DV9q3Nzs-jG2CrtCZ.js → UnitIntegrationPage-CzfmBBVs-ea0q-ics.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BJiBj5mg-Cktdlkx4.js +38 -0
- package/dist/assets/Vendor2FAPopup-Jhuzv3Fs-CDaFjIcb.js +1 -0
- package/dist/assets/VendorACHDetailsPage-BRmIiet8-C_w2yQJy.js +1 -0
- package/dist/assets/{VendorDetailPage-CH1L4UZF-BoU7iBTo.js → VendorDetailPage-D_ia0GnG-EjDxeWPl.js} +10 -10
- package/dist/assets/VendorDomesticWireDetailsPage-DTx8HL4V-ypi2AXXw.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BaX4ACXz-CREauugt.js → VendorFiling1099EditablePage-6mV7WBuT-BWwNGaDM.js} +9 -9
- package/dist/assets/{VendorFirstReviewPage-DAZJMUR3-CPLKJIzn.js → VendorFirstReviewPage-BIh28s7e-DSbo4VGu.js} +20 -20
- package/dist/assets/{VendorInternationalWireDetailsPage-CPnjLrDQ-CjJmglTF.js → VendorInternationalWireDetailsPage-CXmAXDcB-BBI1eBRw.js} +25 -25
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DITo3td6-DtabXm0e.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DsgK37WB-BepHvkSg.js → VendorsAccountsSection-kJAKmxCN-DLYMQH1s.js} +3 -3
- package/dist/assets/{VerifyDevice-BPAsHKLY-KdMSavnE.js → VerifyDevice-Cclxcvod-LionuPr6.js} +6 -6
- package/dist/assets/{VideoPlayer-Bwg_8KIq-1vwhBTtH.js → VideoPlayer-B0jJK498-Bbxsuaup.js} +2 -2
- package/dist/assets/{VideoPopup-CxjbzbjP-W4fJ8I9f.js → VideoPopup-BUq4CaWy-BN4RkIzc.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-BBc3-y8F-BVJhSnaV.js → WarningsDrawerPage-B7Pmv7_n-DMtwZsM9.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-VB4JoNYE-D6r42BIG.js → ZeniAccountDetailPage-l5IuVidF-9qcHcEDf.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-CMjCtqT0-zWJkLwXW.js → ZeniAccountListViewPage-CtOCukoi-BrJGMSMd.js} +14 -14
- package/dist/assets/{ZeniAccountNavBarPieces-C89nBJ6j-BCPOrLA4.js → ZeniAccountNavBarPieces-DHpWht7s-DoN45Kif.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-C1_qLOdH-F6T3KnhO.js → ZeniAccountPromoPage-DhuZowvX-C0CMafiM.js} +6 -6
- package/dist/assets/{ZeniAccountSetupPage-DWEVvvHh-1kKOeWZG.js → ZeniAccountSetupPage-DXmdPnU2-Od8qQEgW.js} +1 -1
- package/dist/assets/{ZeniCopyright-COx-CtZK-B3AuF-kZ.js → ZeniCopyright-CxIm7c5S-BQ5EemJ1.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DfOF_MH1-CaLF7RzP.js → ZeniTransferAmountSlider-7nRSeYbl-qFHjxePx.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BhLn5BVs.js → add-to-wallet-DgdBD8_G-DTqFjlvW.js} +1 -1
- package/dist/assets/{analytics-D1LdKGXu.js → analytics-nCDopMZa.js} +1 -1
- package/dist/assets/{analyticsHelper-CcmV6wHp-tNoRmHaA.js → analyticsHelper-BXN2EdPH-DXUFohOz.js} +1 -1
- package/dist/assets/{analyticsHelper-D-lJdgOT.js → analyticsHelper-DFj-3TWh.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DHoVUI8d.js → arrow-south-east-round-PEovUgvH-C9v2daeL.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CCnsYNN2.js → auto-transfer-rule-mbafm5D3-C9ojomBW.js} +1 -1
- package/dist/assets/{chartTypes-YlZX4WLs-DpXPTvhf.js → chartTypes-qqLvT6t1-BAzagmMG.js} +1 -1
- package/dist/assets/{commonDimensions-IG4iGJ-6-BzWLW9Yh.js → commonDimensions-CDU138wy-0KaFqMmK.js} +1 -1
- package/dist/assets/{constants-DC8VfZYY.js → constants-CiSoUYAy.js} +1 -1
- package/dist/assets/{core-DRgi22QZ.js → core-B8o5Jj6O.js} +1 -1
- package/dist/assets/{dash.all.min-BmaoA3iM.js → dash.all.min-D-Z5Ee1V.js} +1 -1
- package/dist/assets/{detailCommon-lUFqcp_3-BOJ85jTH.js → detailCommon-DP02lgW9-DwZYcDAj.js} +5 -5
- package/dist/assets/{downloadPdf-DYME892p-DnuA45tN.js → downloadPdf-Dl5UuOv_-DcSCv9vJ.js} +1 -1
- package/dist/assets/{empty-YAzUsLWo.js → empty-CGwQB5sP.js} +1 -1
- package/dist/assets/{empty-DIaGol0s.js → empty-dVLDjrZY.js} +1 -1
- package/dist/assets/epic-gk6U9kCP.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-D8uaCs9t.js → gift-box-Cmt9OgIZ-C7uoRs4g.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BnqvP-Mg.js → graphic-no-data-l-DU4J8fDt-DxQEyL6u.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BrG8Enhv.js → graphic-no-data-net-burn-l-CzmycA0m-BeDfyPz6.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-S4DZNWEu.js → handshake-BPg58FML-C6I69X2f.js} +1 -1
- package/dist/assets/{index-fCU66cGL.js → index-2UT2PoLz.js} +1 -1
- package/dist/assets/{index-CzPNam9l.js → index-B62kMDsj.js} +1 -1
- package/dist/assets/{index-CvvJB6hF.js → index-BlhMiimg.js} +1 -1
- package/dist/assets/{index-tx0waYy2.js → index-CJSgchrb.js} +1 -1
- package/dist/assets/{index-B5xx_eN8.js → index-CofZqiyy.js} +1 -1
- package/dist/assets/{index-Cb-eu--2.js → index-l9FViNoO.js} +1044 -1048
- package/dist/assets/{index-Bk_A1gE6.js → index-mRKAcklk.js} +1 -1
- package/dist/assets/{lexical-ewc-g90D.js → lexical-B19SDutg.js} +1 -1
- package/dist/assets/{liveblocks-Bz_57PUs.js → liveblocks-BKCvXoiA.js} +1 -1
- package/dist/assets/{lottie-D9rmsbLV.js → lottie-CTuuushW.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DL4wGcX6-qKcz8o_r.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BNXHaV-x-CRPLWovY.js → mapSectionWithAcOnlyToTreeNode-DLeyrCPV-CBeUvfG-.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Bl4MSBc9-DsaOHsUd.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-LxIEmBdX-KokF2RU0.js → mapTimeframeBalancesToTreeNode-BNP8a_pF-DA-Kt9CP.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cx4O7W7V-C8qea7Z2.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BvxVvq-i-B7P1WFjn.js +1 -0
- package/dist/assets/{mui-CvhriUJf.js → mui-cKt0zt2w.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Bq22-rqt.js → page-detail-CWX5S47F-hDrW8rOj.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Cp9UCpd-.js → radio-default-CiSgisfh-D4wl_ybJ.js} +1 -1
- package/dist/assets/{react-C0XMjaMg.js → react-3b8QVeng.js} +1 -1
- package/dist/assets/{react-DyHZEwLG.js → react-85WN45Y4.js} +1 -1
- package/dist/assets/{react-1y3MANKU.js → react-BcpaDQXf.js} +1 -1
- package/dist/assets/{react-CZGWH6Mz.js → react-CUDeH5fw.js} +1 -1
- package/dist/assets/{react-DwmtkHEd.js → react-D2QCQuEO.js} +1 -1
- package/dist/assets/{react-KuTvFOki.js → react-D811AKIl.js} +3 -3
- package/dist/assets/{react-BuDJflUo.js → react-Drezwue3.js} +1 -1
- package/dist/assets/{react-DGrzv3mJ.js → react-DycPsf8e.js} +1 -1
- package/dist/assets/{recharts-NgHQTHYn.js → recharts-DKlDhqpA.js} +1 -1
- package/dist/assets/{sentry-agJ08X3c.js → sentry-DWELwT5u.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-B2GDXTMJ.js → shield-DOlUxcFf-DcDDcztl.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BM2RMkm6-8ztVlUAS.js +1 -0
- package/dist/assets/{toChartData-CuSN9vUZ-BM3egbjZ.js → toChartData-xURa2wgf-D5Tvqegg.js} +1 -1
- package/dist/assets/{uploadAttachment-CRI5U1f4-DVW_vb-O.js → uploadAttachment-DfTOIWsX-DQL7CPp6.js} +17 -17
- package/dist/assets/{uploadReceipts-CPw64UYa-BZtR51vy.js → uploadReceipts-CPw64UYa-BXgFs59O.js} +1 -1
- package/dist/assets/{url-DZoi54Ss.js → url-BO73xRx2.js} +1 -1
- package/dist/assets/{url-DDYZGiRl.js → url-dLu3i57y.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DGRuYRk_.js → useLongPress-GCK2COYQ-BJatk2tg.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-T0IDSH6l.js → usp-line-BBd1wKwW-DG080FPi.js} +1 -1
- package/dist/assets/{utils-D6Foy4XN.js → utils-Db67jZaM.js} +1 -1
- package/dist/assets/{zeni-epic-state-CwvuK4v8.js → zeni-epic-state-atBaoFS-.js} +17 -17
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-D0Kzx5mY-CJm_njaM.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-C_QsOhGT-JjH1tV75.js +0 -6
- package/dist/assets/ApprovalRulesSettingsPage-5bJIKss7-B4H86TF1.js +0 -47
- package/dist/assets/BillingSettingsPage-BiKaSV4T-B7qWB_0N.js +0 -44
- package/dist/assets/BusinessVerificationPage-8tFxbXGC-BJTtQskx.js +0 -138
- package/dist/assets/ChargeCardPromoPage-BUGGPnco-DBc81PKU.js +0 -222
- package/dist/assets/CompanyOfficerDetailsSection-CMl5cDNs-DdfK5FFg.js +0 -330
- package/dist/assets/CompanyPassportPage-BlDBD5EG-BUrwQfBs.js +0 -347
- package/dist/assets/ConfettiBurst-nOkNOTPr-D3HgRrS2.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-Dq7dnrBC-CWciNrIc.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-D1XU-7jk-B9NXIxKZ.js +0 -66
- package/dist/assets/CustomerOnboardingPage-DFky4iQx-DeIXARbP.js +0 -107
- package/dist/assets/DepositAccTransactionListPage-MLQJ9urd-CXD4vrU3.js +0 -66
- package/dist/assets/EntityDetailPage-Bj5lQ0PH-CgnIn8Qd.js +0 -18
- package/dist/assets/InsightsSection-BT0lHMo3-ZMR8XDUG.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-B0ha4dEA-nPFsk-wT.js +0 -65
- package/dist/assets/LabeledCountryMultiSelectField-CJud_Lwc-DM_ekN05.js +0 -234
- package/dist/assets/LabeledMultiSelectField-DH6iG4SR-CjSQCSFf.js +0 -220
- package/dist/assets/MagicLinkACHDetailsPage-CRVp5zpz-ChZJhV1s.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9jW4rg-ey3F6N1L.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-COHy_2Nv-DwFZWMbr.js +0 -1
- package/dist/assets/NoDataChart-DxwqqeoI-DvpagR71.js +0 -26
- package/dist/assets/NoDataTable-DOZy5UAM-BZ8x_1Ah.js +0 -8
- package/dist/assets/NotificationsListConfig-C-OlC5S6-CLVUTw1S.js +0 -1
- package/dist/assets/OverlayContainerPage-Daz3A7cI-bRV6SDw3.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-Dnw0APJu-DwpnOrFK.js +0 -107
- package/dist/assets/ReimbursementDetailPage-DOCRkpPT-CXzAYn45.js +0 -314
- package/dist/assets/RoleWithToolTip-BYuFXi4d-Cr1vWh2r.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-BU--t7Cu-SVNrNqxf.js +0 -37
- package/dist/assets/StatementItem-CL4KzNeN-BqPxf-U1.js +0 -31
- package/dist/assets/StatementsPage-ECVGrRXi-BQMeqgMv.js +0 -58
- package/dist/assets/SummaryCard-OvE5BRYP-m6PBJMlQ.js +0 -1
- package/dist/assets/TransactionVendorDetailPage-BLCUqZvL-CaBwJEED.js +0 -80
- package/dist/assets/TreasuryStatementsPage-CLFal4Qu-HYKKhiVi.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-B37gdjRF-DOfs_M69.js +0 -38
- package/dist/assets/Vendor2FAPopup-BZQXt_G4-CDCDeN6H.js +0 -1
- package/dist/assets/VendorACHDetailsPage-WS3d8TF6-CvBLg0wo.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-Brom_Sf_-DKniLk2q.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-C4XEeSs2-BbCuAOE5.js +0 -1
- package/dist/assets/commonTypes-ByC4Sd87-DFD5XJ1t.js +0 -1
- package/dist/assets/epic-C_3GO3yP.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-B7Tq4sxB-Dr0mqpSP.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DpgQIqP_-DADCfTco.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-fxn51zxe-A6rpifcc.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-opvjldHo-C8_Xm6ja.js +0 -1
- package/dist/assets/toCOABalancesWithID-BAw7mDDs-DnnE8m6M.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as
|
|
1
|
+
import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,a as $e,b6 as J,am as X,_ as be,aa as ke,dK as ve,eQ as we,d2 as G,dt as Z,F as Ce,al as d,e as Ee,aL as Pe,bv as ee,dN as te,au as Re,p as ne,u as Ie}from"./index-l9FViNoO.js";import{a as r}from"./sentry-DWELwT5u.js";import{n as o}from"./mui-cKt0zt2w.js";import{bL as oe,Gv as _e,Gw as De}from"./zeni-epic-state-atBaoFS-.js";import{E as Te,C as Fe,w as Ue,f as Le}from"./AccountRow-DlccmtgU-foUdbmvG.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2a7f20b1-9787-4731-9d48-aa25b1c72603",e._sentryDebugIdIdentifier="sentry-dbid-2a7f20b1-9787-4731-9d48-aa25b1c72603")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Me=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -12,7 +12,7 @@ import{a9 as me,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
12
12
|
flex: 0 0 auto;
|
|
13
13
|
width: ${c.sp4};
|
|
14
14
|
`,Be=o.div`
|
|
15
|
-
min-height: ${
|
|
15
|
+
min-height: ${m.navBarHeight};
|
|
16
16
|
position: sticky;
|
|
17
17
|
background-color: ${e=>e.theme.colors.grey4};
|
|
18
18
|
border-bottom: 1px solid transparent;
|
|
@@ -30,12 +30,12 @@ import{a9 as me,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
30
30
|
}
|
|
31
31
|
flex: 0 0 auto;
|
|
32
32
|
`,Ae=o.div`
|
|
33
|
-
padding-left: ${
|
|
34
|
-
padding-right: ${
|
|
35
|
-
`,
|
|
33
|
+
padding-left: ${m.containerPaddingLeft};
|
|
34
|
+
padding-right: ${m.containerPaddingRight};
|
|
35
|
+
`,Ne=o.div`
|
|
36
36
|
position: relative;
|
|
37
37
|
min-height: 62px;
|
|
38
|
-
`,
|
|
38
|
+
`,We=o.div`
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: row;
|
|
41
41
|
align-items: center;
|
|
@@ -44,8 +44,8 @@ import{a9 as me,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
44
44
|
top: 0;
|
|
45
45
|
left: 0;
|
|
46
46
|
right: 0;
|
|
47
|
-
padding-right: ${
|
|
48
|
-
padding-left: ${
|
|
47
|
+
padding-right: ${m.navBarPaddingRight};
|
|
48
|
+
padding-left: ${m.navBarPaddingLeft};
|
|
49
49
|
height: 100%;
|
|
50
50
|
`,ze=o($e)`
|
|
51
51
|
display: flex;
|
|
@@ -85,18 +85,18 @@ import{a9 as me,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
85
85
|
background-color: ${e=>e.theme.colors.background};
|
|
86
86
|
border-radius: ${c.sp2};
|
|
87
87
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
88
|
-
`,
|
|
88
|
+
`,Ke=o.div`
|
|
89
89
|
display: flex;
|
|
90
90
|
flex-direction: column;
|
|
91
91
|
align-items: flex-start;
|
|
92
92
|
justify-content: center;
|
|
93
|
-
min-width: ${
|
|
93
|
+
min-width: ${m.balanceContainerWidth}px;
|
|
94
94
|
`,A=o(X)`
|
|
95
95
|
display: flex;
|
|
96
96
|
color: ${e=>e.theme.colors.hero};
|
|
97
97
|
align-items: center;
|
|
98
98
|
justify-content: flex-end;
|
|
99
|
-
`,
|
|
99
|
+
`,Qe=o(d)`
|
|
100
100
|
color: ${e=>e.theme.colors.primary};
|
|
101
101
|
text-align: left;
|
|
102
102
|
`,Je=o.div`
|
|
@@ -104,7 +104,7 @@ import{a9 as me,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
104
104
|
flex-direction: column;
|
|
105
105
|
align-items: flex-start;
|
|
106
106
|
justify-content: flex-start;
|
|
107
|
-
min-width: ${
|
|
107
|
+
min-width: ${m.balanceContainerWidth}px;
|
|
108
108
|
`,Xe=o(d)`
|
|
109
109
|
display: flex;
|
|
110
110
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -121,7 +121,7 @@ import{a9 as me,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
121
121
|
flex-direction: column;
|
|
122
122
|
align-items: flex-start;
|
|
123
123
|
justify-content: flex-start;
|
|
124
|
-
min-width: ${
|
|
124
|
+
min-width: ${m.balanceContainerWidth}px;
|
|
125
125
|
`,tt=o(d)`
|
|
126
126
|
display: flex;
|
|
127
127
|
color: ${e=>e.theme.colors.grey3};
|
|
@@ -160,7 +160,7 @@ import{a9 as me,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
160
160
|
flex-direction: column;
|
|
161
161
|
align-items: flex-start;
|
|
162
162
|
justify-content: center;
|
|
163
|
-
min-width: ${
|
|
163
|
+
min-width: ${m.sourceContainerWidth}px;
|
|
164
164
|
gap: ${c.sp2};
|
|
165
165
|
`,rt=o(J)`
|
|
166
166
|
display: flex;
|
|
@@ -182,12 +182,12 @@ import{a9 as me,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
182
182
|
justify-content: space-between;
|
|
183
183
|
gap: ${c.sp2};
|
|
184
184
|
width: 100%;
|
|
185
|
-
`,
|
|
185
|
+
`,_=o(d)`
|
|
186
186
|
display: flex;
|
|
187
187
|
color: ${e=>e.theme.colors.hero};
|
|
188
188
|
align-items: center;
|
|
189
189
|
justify-content: flex-end;
|
|
190
|
-
`,
|
|
190
|
+
`,D=o(d)`
|
|
191
191
|
display: flex;
|
|
192
192
|
color: ${e=>e.theme.colors.primary};
|
|
193
193
|
align-items: center;
|
|
@@ -198,7 +198,7 @@ import{a9 as me,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
198
198
|
align-items: center;
|
|
199
199
|
justify-content: flex-end;
|
|
200
200
|
gap: ${c.sp1};
|
|
201
|
-
`,
|
|
201
|
+
`,N=o.div`
|
|
202
202
|
display: flex;
|
|
203
203
|
flex-direction: row;
|
|
204
204
|
align-items: center;
|
|
@@ -231,9 +231,9 @@ import{a9 as me,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
231
231
|
color: ${ne.success};
|
|
232
232
|
align-items: center;
|
|
233
233
|
justify-content: flex-end;
|
|
234
|
-
`,
|
|
234
|
+
`,mt=o(d)`
|
|
235
235
|
text-align: right;
|
|
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:Q,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),mt=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U}){const m=me({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),b=m.handleSubmit(()=>{}),[h,y]=r.useState(void 0),k=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:k,[g,M]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,Y]=r.useState(!1),[B,O]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),O(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{O(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,fe)=>{I!=null&&console.log("Plaid Connection Error",I,fe),y(void 0),w(!1)},[]),{open:q,ready:V}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&q()},[s,q]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Oe,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ye,{...m,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:b,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U,showConfirmationPopup:N,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:_,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:L,uploadErrorMessage:U,setUploadErrorMessage:m})=>{const[b,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,k=[];n.accountReconEntity.account.accountType==="bank"&&k.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),k.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const v=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||b?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),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")&&m(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,m]);const g=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Ge,{children:[t.jsxs(Qe,{children:[t.jsx(A,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{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(Je,{children:[t.jsx(A,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Le,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(A,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(T,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(ke,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:k,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:mt(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:s=>{s&&m(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Te,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:U,onUploadError:s=>{m(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),m(void 0)},onUploadWindowOpenedOnce:()=>{L()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{_(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(T,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(bt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(T,{children:t.jsx(Z,{isLoading:b,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(W,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:l,children:t.jsx(ft,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{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:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Ue(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},bt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},kt=({monthYearPeriod:e})=>t.jsx(ce,{children:vt(e)}),vt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(Q.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Q.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,mt as uniqueName};
|
|
239
|
+
`,{common:p,dateFormat:K,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:Q(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:Q(e)}),b=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),k=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:k,[g,M]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[W,Y]=r.useState(!1),[B,O]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),O(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{O(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),w(!1)},[]),{open:q,ready:V}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&q()},[s,q]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(Ne,{children:t.jsxs(We,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Oe,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:b,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,showConfirmationPopup:W,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:z})})}),W===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:L,setUploadErrorMessage:f})=>{const[b,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,k=[];n.accountReconEntity.account.accountType==="bank"&&k.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),k.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const v=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||b?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),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")&&f(Te(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Ge,{children:[t.jsxs(Ke,{children:[t.jsx(A,{children:i.reconciliation.headers.bankBalance}),t.jsx(Qe,{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(Je,{children:[t.jsx(A,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(A,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(_,{children:i.reconciliation.drawer.labels.type}),t.jsx(D,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(ke,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:k,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(_e(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:De,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:L,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{U()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{T(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(_,{children:i.reconciliation.drawer.labels.status}),t.jsx(D,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(_,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(D,{children:t.jsx(bt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(_,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(D,{children:t.jsx(Z,{isLoading:b,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(N,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{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:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Le(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},bt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},kt=({monthYearPeriod:e})=>t.jsx(ce,{children:vt(e)}),vt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(K.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(K.visual.DMMMYYYYFormat)}`},Q=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,aL as E,bR as f,o,aN as y,aa as se,
|
|
1
|
+
import{V as t,aL as E,bR as f,o,aN as y,aa as se,dK as re,F as le,al as w,dL as de,p as g,dM as J,dN as X,cZ as ue,aT as x,ai as Y,d as p,q as xe,e as S,a_ as pe,dr as he,an as ge,n as me,am as I,bI as fe,dD as je}from"./index-l9FViNoO.js";import{a as ye}from"./sentry-DWELwT5u.js";import{n as a,c as we}from"./mui-cKt0zt2w.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="96b40c8f-864a-4dce-b41c-76361007d142",e._sentryDebugIdIdentifier="sentry-dbid-96b40c8f-864a-4dce-b41c-76361007d142")}catch{}})();const $e=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -38,7 +38,7 @@ import{V as t,aL as E,bR as f,o,aN as y,aa as se,dI as re,F as le,al as w,dJ as
|
|
|
38
38
|
margin-left: 2px;
|
|
39
39
|
width: 12px;
|
|
40
40
|
height: 12px;
|
|
41
|
-
`;function Te({firstLetter:e,color:n,showIcon:
|
|
41
|
+
`;function Te({firstLetter:e,color:n,showIcon:c,showCollapsedIcon:i,showTreeLine:l=!1,className:d}){return t.jsx($e,{showTreeLine:l,collapsed:i,children:t.jsx(be,{colour:n,className:d,children:t.jsx(Ce,{children:c===!0?i===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(ve,{colour:n,className:d,children:e})})})})}const Ee=a.div`
|
|
42
42
|
display: flex;
|
|
43
43
|
flex: 1 1 auto;
|
|
44
44
|
max-height: 1px;
|
|
@@ -125,18 +125,18 @@ import{V as t,aL as E,bR as f,o,aN as y,aa as se,dI as re,F as le,al as w,dJ as
|
|
|
125
125
|
justify-content: flex-end;
|
|
126
126
|
align-items: center;
|
|
127
127
|
color: ${e=>e.theme.colors.hero};
|
|
128
|
-
`,
|
|
128
|
+
`,Me=a(w)`
|
|
129
129
|
width: ${u.bankBalanceWidth}px;
|
|
130
130
|
min-width: ${u.bankBalanceWidth}px;
|
|
131
131
|
text-align: right;
|
|
132
132
|
`,Oe=a.div`
|
|
133
133
|
width: ${u.bankBalanceRightWidth}px;
|
|
134
134
|
min-width: ${u.bankBalanceRightWidth}px;
|
|
135
|
-
`,
|
|
135
|
+
`,Ue=a(w)`
|
|
136
136
|
width: ${u.clearedBalanceWidth}px;
|
|
137
137
|
min-width: ${u.clearedBalanceWidth}px;
|
|
138
138
|
text-align: right;
|
|
139
|
-
`,
|
|
139
|
+
`,Fe=a(w)`
|
|
140
140
|
width: ${u.statusWidth}px;
|
|
141
141
|
min-width: ${u.statusWidth}px;
|
|
142
142
|
height: 1px;
|
|
@@ -179,24 +179,24 @@ import{V as t,aL as E,bR as f,o,aN as y,aa as se,dI as re,F as le,al as w,dJ as
|
|
|
179
179
|
color: ${e=>e.textColor.hex()};
|
|
180
180
|
background-color: ${e=>e.bgColor.hex()};
|
|
181
181
|
min-width: ${u.variancePercentageWidth}px;
|
|
182
|
-
`,
|
|
182
|
+
`,Ke=a.div`
|
|
183
183
|
display: flex;
|
|
184
184
|
flex-direction: row;
|
|
185
185
|
align-items: center;
|
|
186
|
-
`,
|
|
186
|
+
`,Ze=a.div`
|
|
187
187
|
display: flex;
|
|
188
188
|
flex-direction: column;
|
|
189
189
|
align-items: center;
|
|
190
|
-
`,
|
|
190
|
+
`,Je=a.div`
|
|
191
191
|
display: flex;
|
|
192
192
|
flex-direction: row;
|
|
193
193
|
align-items: center;
|
|
194
194
|
gap: ${o.sp1};
|
|
195
|
-
`,
|
|
195
|
+
`,Xe=a(I)`
|
|
196
196
|
color: ${g.success};
|
|
197
|
-
`,
|
|
197
|
+
`,K=a(I)`
|
|
198
198
|
color: ${g.success};
|
|
199
|
-
`,
|
|
199
|
+
`,Ye=a(je)`
|
|
200
200
|
width: ${o.sp3};
|
|
201
201
|
height: ${o.sp3};
|
|
202
202
|
color: ${g.success};
|
|
@@ -225,12 +225,12 @@ import{V as t,aL as E,bR as f,o,aN as y,aa as se,dI as re,F as le,al as w,dJ as
|
|
|
225
225
|
flex-direction: row;
|
|
226
226
|
gap: ${o.sp1};
|
|
227
227
|
align-items: center;
|
|
228
|
-
`,
|
|
228
|
+
`,ct=a.div`
|
|
229
229
|
padding-top: ${o.sp1};
|
|
230
230
|
&:hover {
|
|
231
231
|
color: ${e=>e.theme.colors.primary};
|
|
232
232
|
}
|
|
233
|
-
`,
|
|
233
|
+
`,it=a(de)`
|
|
234
234
|
width: ${o.sp3};
|
|
235
235
|
height: ${o.sp3};
|
|
236
236
|
`,V=a(fe)`
|
|
@@ -241,21 +241,21 @@ import{V as t,aL as E,bR as f,o,aN as y,aa as se,dI as re,F as le,al as w,dJ as
|
|
|
241
241
|
`,$=a.div`
|
|
242
242
|
display: flex;
|
|
243
243
|
gap: ${o.sp1};
|
|
244
|
-
`,
|
|
244
|
+
`,M=a.div`
|
|
245
245
|
display: flex;
|
|
246
246
|
flex-direction: column;
|
|
247
247
|
align-items: center;
|
|
248
|
-
`,
|
|
248
|
+
`,Z=a(w)`
|
|
249
249
|
color: ${e=>e.theme.colors.hero};
|
|
250
250
|
`,O=a.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
flex-direction: row;
|
|
253
253
|
align-items: center;
|
|
254
254
|
gap: ${o.sp1};
|
|
255
|
-
`,M=a(I)`
|
|
256
|
-
color: ${e=>e.textColor.hex()};
|
|
257
255
|
`,U=a(I)`
|
|
258
256
|
color: ${e=>e.textColor.hex()};
|
|
257
|
+
`,F=a(I)`
|
|
258
|
+
color: ${e=>e.textColor.hex()};
|
|
259
259
|
`,Q=a.div`
|
|
260
260
|
display: flex;
|
|
261
261
|
flex-direction: row;
|
|
@@ -271,28 +271,28 @@ import{V as t,aL as E,bR as f,o,aN as y,aa as se,dI as re,F as le,al as w,dJ as
|
|
|
271
271
|
flex-direction: column;
|
|
272
272
|
align-items: center;
|
|
273
273
|
justify-content: center;
|
|
274
|
-
`,rt=a(
|
|
274
|
+
`,rt=a(Y)`
|
|
275
275
|
color: ${e=>e.theme.colors.hero};
|
|
276
|
-
`,lt=a(
|
|
276
|
+
`,lt=a(Y)`
|
|
277
277
|
color: ${g.brandColorPearl};
|
|
278
278
|
`,dt=a.div`
|
|
279
279
|
display: flex;
|
|
280
280
|
flex-direction: row;
|
|
281
281
|
align-items: center;
|
|
282
282
|
justify-content: center;
|
|
283
|
-
`,ut=a(
|
|
283
|
+
`,ut=a(J)`
|
|
284
284
|
width: ${o.sp3};
|
|
285
285
|
height: ${o.sp3};
|
|
286
286
|
margin-top: 2px;
|
|
287
|
-
`,xt=a(
|
|
287
|
+
`,xt=a(J)`
|
|
288
288
|
width: ${o.sp3};
|
|
289
289
|
height: ${o.sp3};
|
|
290
|
-
`,pt=a(
|
|
290
|
+
`,pt=a(X)`
|
|
291
291
|
width: ${o.sp3};
|
|
292
292
|
height: ${o.sp3};
|
|
293
293
|
margin-top: 2px;
|
|
294
|
-
`,ht=a(
|
|
294
|
+
`,ht=a(X)`
|
|
295
295
|
width: ${o.sp3};
|
|
296
296
|
height: ${o.sp3};
|
|
297
297
|
margin-top: 2px;
|
|
298
|
-
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:k}){const L=xe(),B=S(),v=n.accountReconEntity.account.accountName,P=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{k?.(n.accountReconEntity.account.accountId)},q=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,D]=ye.useState(!1),z=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=z==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let G=e;return i&&(G=e+p[8]),t.jsxs(We,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:G,isLastRow:i,windowSize:L,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(B.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(Ve,{children:[t.jsx(Fe,{children:t.jsx(wt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:P,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Oe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Me,{children:t.jsx($t,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Qe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Ue,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:z==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:q}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:q})})]})]}),t.jsx(Le,{kind:"account_separator",isScrolling:!1}),i?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),k=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(qe,{children:[t.jsx(ze,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:m,className:"any-text-container",children:k})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(A,{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(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(A,{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(Je,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),_=({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(Ke,{children:[t.jsxs(Xe,{children:[t.jsx(Ze,{}),t.jsx(Ye,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(J,{children:s.status.QBOUser}):e&&t.jsxs(J,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:m,isLoading:k,accountId:L,onStatementAddClicked:B,setIsHovering:v})=>{const P=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(i==="reconnect"){const j=l!=null?`${l.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(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",L),onClick:N=>{N.stopPropagation(),m?.()},children:s.connect.reconnnect})]})}else return i==="connected"||c==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",L),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(se,{controller:P.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(re,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:P,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"?r?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(F,{children:[t.jsx(V,{iconColor:n}),t.jsx(O,{children:t.jsx(M,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(Q,{children:t.jsx(U,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(V,{iconColor:i}),t.jsxs(F,{children:[t.jsx(O,{children:t.jsx(M,{textColor:i,children:e})}),t.jsx(Q,{children:t.jsx(U,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(V,{iconColor:c}),t.jsxs(F,{children:[t.jsx(O,{children:t.jsx(M,{textColor:c,children:l})}),t.jsx(Q,{children:t.jsx(U,{textColor:c,children:s.status.failed})})]})]})})},A=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,wt as C,Wt as D,Et as E,Pt as N,_t as R,ft as f,u,$t as w};
|
|
298
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:c,isSelectedRow:i,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:k}){const L=xe(),B=S(),v=n.accountReconEntity.account.accountName,P=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ce=()=>{k?.(n.accountReconEntity.account.accountId)},q=()=>{l?.(n.accountReconEntity.account.accountId)},[ie,D]=ye.useState(!1),z=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=z==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let G=e;return c&&(G=e+p[8]),t.jsxs(We,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:G,isLastRow:c,windowSize:L,isSelectedRow:i,onClick:()=>{ie!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(B.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(Ve,{children:[t.jsx(Me,{children:t.jsx(wt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:P,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ce,isLoading:T,onReconnectClicked:ae})}),t.jsx(Oe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ue,{children:t.jsx($t,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Qe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Fe,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:z==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:q}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:q})})]})]}),t.jsx(Le,{kind:"account_separator",isScrolling:!1}),c?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:c,isLoading:i})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,c),k=i?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(qe,{children:[t.jsx(ze,{textColor:d,className:"any-text-container",children:e==null||i?h:E("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:m,className:"any-text-container",children:k})]})},ft=(e,n,c,i)=>{let l,d,r;return n!=null&&n.amount===0&&c!=null&&c==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):i===!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:c})=>{const i=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(A,{tooltipText:r,showTooltip:d!=null});if(i==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:c});if(i!=null)switch(i.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:c});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:c})=>{const i=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(i==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:c});if(i!=null)switch(i.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:c});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:r})},W=({buttonLabel:e,isDisabled:n,tooltipText:c,dataTestId:i,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ke,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":i,onClick:d=>{d.stopPropagation(),l()}})})}),_=({user:e,isQBO:n,tooltipText:c})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ze,{children:[t.jsxs(Je,{children:[t.jsx(Ye,{}),t.jsx(Xe,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(K,{children:s.status.QBOUser}):e&&t.jsxs(K,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:c,statementStatus:i,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:m,isLoading:k,accountId:L,onStatementAddClicked:B,setIsHovering:v})=>{const P=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(c==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(ct,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(it,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",L),onClick:N=>{N.stopPropagation(),m?.()},children:s.connect.reconnnect})]})}else return c==="connected"||i==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",L),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(se,{controller:P.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(re,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:P,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"?r?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(M,{children:[t.jsx(V,{iconColor:n}),t.jsx(O,{children:t.jsx(U,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(Q,{children:t.jsx(F,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const c=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(V,{iconColor:c}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(U,{textColor:c,children:e})}),t.jsx(Q,{children:t.jsx(F,{textColor:c,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),c=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:c,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:c,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:c})=>{const i=new x(g.important),l=Et(e,"list",c);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(V,{iconColor:i}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(U,{textColor:i,children:l})}),t.jsx(Q,{children:t.jsx(F,{textColor:i,children:s.status.failed})})]})]})})},A=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(Z,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(Z,{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:c,connectionInProgress:i})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=c==="connected"||c==="reconnect"||i===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,c)=>{if(c!=null&&n==="drawer")return c;let i="";switch(e){case"parsing_failed":i=s.status.statementParseError;break;case"validation_failed":i=s.status.statementValidationFailed;break;case"processing_failed":i=s.status.statementProcessingFailed;break;default:i=s.status.statementParseError;break}return n==="drawer"&&(i=i+" "+s.status.failed),i};export{Te as B,wt as C,Wt as D,Et as E,Pt as N,_t as R,ft as f,u,$t as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as U,V as o,o as t,aW as z,p as
|
|
1
|
+
import{F as U,V as o,o as t,aW as z,p as b,aq as ne,b as ae,bt as ie,bu as se,bv as ce,bw as le,bx as Y,l as de,aM as q,aJ as pe,e as R,aw as ue,aN as L,aV as me,aK as he,aQ as ge,ai as Q,aX as xe,b4 as fe,al as ye,b9 as Ce}from"./index-l9FViNoO.js";import{a as F,S}from"./sentry-DWELwT5u.js";import{c as $e}from"./SummaryCard-gehzCCsW-cRlcrWMR.js";import{n as r,k as X,c as V}from"./mui-cKt0zt2w.js";import{EM as ve}from"./zeni-epic-state-atBaoFS-.js";import{N as E}from"./NavigationArrow-B9ZEhJdg-DZDpNuL-.js";import{k as be}from"./NavigationDots-C_N16I15-CgfbbWpb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7ccf0e86-f6a0-434e-9345-d0d073285ac6",e._sentryDebugIdIdentifier="sentry-dbid-7ccf0e86-f6a0-434e-9345-d0d073285ac6")}catch{}})();const je="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",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return X`
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateX(${i});
|
|
@@ -27,7 +27,7 @@ import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv
|
|
|
27
27
|
width: ${t.sp7};
|
|
28
28
|
height: ${t.sp7};
|
|
29
29
|
border-radius: 50%;
|
|
30
|
-
border: 2px solid ${
|
|
30
|
+
border: 2px solid ${b.neutralGrey5Light};
|
|
31
31
|
`,ze=r.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
align-items: center;
|
|
@@ -57,7 +57,7 @@ import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv
|
|
|
57
57
|
`,Te=r(ye)`
|
|
58
58
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
59
59
|
`,Be=r(le)`
|
|
60
|
-
color: ${
|
|
60
|
+
color: ${b.brandColorJade};
|
|
61
61
|
height: ${t.sp4};
|
|
62
62
|
width: ${t.sp4};
|
|
63
63
|
`,Me=r(ce)`
|
|
@@ -70,18 +70,18 @@ import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv
|
|
|
70
70
|
justify-content: center;
|
|
71
71
|
gap: 20px;
|
|
72
72
|
margin-right: ${t.sp2};
|
|
73
|
-
`,
|
|
73
|
+
`,Le=r.div`
|
|
74
74
|
height: 100%;
|
|
75
75
|
width: 1px;
|
|
76
76
|
background-color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
77
77
|
margin-right: 2px;
|
|
78
|
-
`,
|
|
78
|
+
`,Ne=r.div`
|
|
79
79
|
display: flex;
|
|
80
80
|
flex-direction: column;
|
|
81
81
|
justify-content: center;
|
|
82
82
|
gap: ${t.sp2};
|
|
83
83
|
overflow: hidden;
|
|
84
|
-
`,
|
|
84
|
+
`,_e=r.div`
|
|
85
85
|
display: flex;
|
|
86
86
|
align-items: center;
|
|
87
87
|
gap: ${t.sp1};
|
|
@@ -91,14 +91,14 @@ import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv
|
|
|
91
91
|
height: 34px;
|
|
92
92
|
width: ${t.sp5};
|
|
93
93
|
border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
|
|
94
|
-
background-color: ${
|
|
94
|
+
background-color: ${b.brandColorGold};
|
|
95
95
|
`,Fe=r.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
align-items: center;
|
|
98
98
|
height: 34px;
|
|
99
99
|
width: 168px;
|
|
100
100
|
border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
|
|
101
|
-
background-color: ${
|
|
101
|
+
background-color: ${b.brandColorJade};
|
|
102
102
|
opacity: 0;
|
|
103
103
|
animation: ${T("right",100)} normal 0.5s 1
|
|
104
104
|
forwards;
|
|
@@ -112,7 +112,7 @@ import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv
|
|
|
112
112
|
`,Xe=r.div`
|
|
113
113
|
width: 2px;
|
|
114
114
|
height: ${t.sp0};
|
|
115
|
-
background-color: ${
|
|
115
|
+
background-color: ${b.important};
|
|
116
116
|
transform: rotate(64deg);
|
|
117
117
|
position: absolute;
|
|
118
118
|
top: ${t.sp1};
|
|
@@ -140,7 +140,7 @@ import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv
|
|
|
140
140
|
transform: translateX(50%);
|
|
141
141
|
animation: ${T("left",75)} ease-out 0.3s 1
|
|
142
142
|
forwards;
|
|
143
|
-
`,
|
|
143
|
+
`,N=r.img`
|
|
144
144
|
${K}
|
|
145
145
|
`,Ee=r(I)`
|
|
146
146
|
display: flex;
|
|
@@ -148,7 +148,7 @@ import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv
|
|
|
148
148
|
align-items: center;
|
|
149
149
|
margin-right: ${t.sp3};
|
|
150
150
|
${K}
|
|
151
|
-
background-color:${
|
|
151
|
+
background-color:${b.brandColorGold};
|
|
152
152
|
`,We=r(ne)`
|
|
153
153
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
154
154
|
`,Ge=r(se)`
|
|
@@ -158,7 +158,7 @@ import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv
|
|
|
158
158
|
path {
|
|
159
159
|
stroke-width: 2px;
|
|
160
160
|
}
|
|
161
|
-
`,Je=(e,n)=>{const{common:i}=U.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(Oe,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,h)=>o.jsx(k,{className:"card-highlight-text",children:p},`${p}_${h}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Be,{})]}),o.jsx(
|
|
161
|
+
`,Je=(e,n)=>{const{common:i}=U.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(Oe,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,h)=>o.jsx(k,{className:"card-highlight-text",children:p},`${p}_${h}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Be,{})]}),o.jsx(Le,{}),o.jsxs(Ne,{children:[o.jsxs(_e,{children:[o.jsx(Ze,{}),o.jsxs(W,{isZeniProgressBar:!1,children:[n[0].values[0]," ",i.texts.insured]})]}),o.jsxs(Fe,{children:[o.jsx(Ue,{children:n[0].values[1]}),o.jsx(W,{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(Xe,{})]}),o.jsx(k,{children:o.jsx(G,{children:o.jsx(Ge,{})})}),o.jsx(k,{children:o.jsx(G,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(qe,{children:[o.jsx(I,{style:{animationDelay:"0.2s"},children:o.jsx(N,{src:je})}),o.jsx(I,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(N,{src:Ae})}),o.jsx(I,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(N,{src:we})}),o.jsx(Ee,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(We,{children:[" ",n[0].values[0]]})})]})}};let J;function Ye({zeniAccountsPromoCardContent:e,showConfetti:n}){const[i]=xe("Confetti"),a=R(),[s,p]=F.useState(!1);F.useEffect(()=>(n&&(J=setTimeout(()=>{p(!0)},2e3)),()=>{clearTimeout(J),p(!1)}),[n]);const{prefix:h,header:d,headerAnimationData:u,showAnimation:f,key:g}=e;return o.jsxs(ze,{children:[n&&s&&i!=null?o.jsx(fe,{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(Te,{children:d}):null,o.jsx(ee,{children:f?Je(g,u):null})]}),o.jsx(Se,{themeContext:a,children:h})]})}const Re=r(he)`
|
|
162
162
|
flex-wrap: wrap;
|
|
163
163
|
overflow: hidden;
|
|
164
164
|
& .styledNav {
|
|
@@ -172,7 +172,7 @@ import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv
|
|
|
172
172
|
margin: 2px;
|
|
173
173
|
background-color: ${e=>e.theme.colors.zeniAccountsPromoBackgroundColor};
|
|
174
174
|
border-radius: ${t.sp2};
|
|
175
|
-
`,
|
|
175
|
+
`,_=r.div`
|
|
176
176
|
display: flex;
|
|
177
177
|
flex-direction: column;
|
|
178
178
|
`,Ve=r.div`
|
|
@@ -204,4 +204,4 @@ import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv
|
|
|
204
204
|
bottom: 6px;
|
|
205
205
|
`,ro=r(Y)`
|
|
206
206
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
207
|
-
`,D=U.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const u=R(),f=ue(),[g,x]=S.useState(0),[y,C]=S.useState(0),[B,j]=S.useState("left"),A=(l,$)=>{l.stopPropagation(),j($);const re=$=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,$==="left"?"Next":"Back"),d(w(re),$)},M=l=>{d(w(l),"left")};function m(l){x(l.targetTouches[0].clientX)}function oe(l){C(l.targetTouches[0].clientX)}function w(l){return l<0?a.length+l:l%a.length}function te(){g-y>50&&y!==0?(d(w(s+1),"left"),j("left"),x(0),C(0)):g-y<-50&&y!==0&&(d(w(s-1),"right"),j("right"),x(0),C(0))}const H=a.length>1,O=
|
|
207
|
+
`,D=U.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const u=R(),f=ue(),[g,x]=S.useState(0),[y,C]=S.useState(0),[B,j]=S.useState("left"),A=(l,$)=>{l.stopPropagation(),j($);const re=$=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,$==="left"?"Next":"Back"),d(w(re),$)},M=l=>{d(w(l),"left")};function m(l){x(l.targetTouches[0].clientX)}function oe(l){C(l.targetTouches[0].clientX)}function w(l){return l<0?a.length+l:l%a.length}function te(){g-y>50&&y!==0?(d(w(s+1),"left"),j("left"),x(0),C(0)):g-y<-50&&y!==0&&(d(w(s-1),"right"),j("right"),x(0),C(0))}const H=a.length>1,O=ve(f.loggedInUserRoleMap);return o.jsx(Re,{"data-testid":L("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?m(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(Qe,{children:[o.jsx(_,{children:o.jsx(E,{"data-testid":L("dashboard-navigation-arrow-left",i.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:A,promoColor:u.colors.zeniAccountsPromoButtonColor,promoBorderColor:u.colors.zeniAccountsPromoButtonColor})}),o.jsxs(_,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:D.title})}),a.map((l,$)=>o.jsx(me,{activeCardIndex:s,currentIndex:$,which:B,children:o.jsx(Ye,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(Ve,{onClick:()=>h(O?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(Ke,{children:O?p?D.button:D.signUp:D.learnMore})}),o.jsx(be,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:s,handleClick:M,promoColor:u.colors.zeniAccountsPromoButtonColor,promoColorHover:u.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(_,{children:o.jsx(E,{"data-testid":L("dashboard-navigation-arrow-right",i.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:A,promoColor:u.colors.zeniAccountsPromoButtonColor,promoBorderColor:u.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:v}=U.getLocalizedStrings(),P={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},Z={key:"protectCash",title:c.title,prefix:c.protectCash.prefix,headerAnimationData:[],showAnimation:!0},ao=[{key:"noHiddenFees",title:c.title,prefix:c.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:c.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:c.title,prefix:c.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:c.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:c.title,prefix:c.expertSupport.prefix,header:c.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:c.expertSupport.headerAnimationData}],showAnimation:!0}];function io({card:e,data:n,analytics:i,actions:a,isZeniAccountsEnabled:s,columnKey:p,index:h,dndProps:d}){const[u,f]=F.useState(0),g=m=>{f(m)},x=(p+1)*(h+1),y=m=>{i.trackZeniAccountsPromoCardClick(x,m),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:C,maxPossibleInterest:B,maxAnnualPercentageYield:j,maxCashBalanceAvailable:A=0}=n;P.headerAnimationData=so(B??25e4),P.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,z("0,0",A,v.currency.currencySymbol).toUpperCase()),P.footer=c.keepInterest.footer.replace(/<interest>/,j.toString()),Z.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,z(q(C),C,v.currency.currencySymbol).toUpperCase()]}],Z.prefix=c.protectCash.prefix.replace(/<amount>/,z(q(C),C,v.currency.currencySymbol).toUpperCase());const M=[P,Z,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:m=>d?.onDragStart(e.cardType,m),onDragOver:m=>d?.onDragOver(m,e.cardType),onDragLeave:m=>d?.onDragLeave(m),onDrop:m=>d?.onDrop(m,e.cardType),dimension:e.dimension,children:o.jsx($e,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:u,handleLearnMoreClick:y,isZeniAccountsSetUp:s&&n.depositAccountId!=null,analytics:i,cardPosition:x})})},e.cardIndex)}S.memo(io);function so(e){const n=[],i=z("0,0",Math.floor(e),v.currency.currencySymbol);for(let a=0;a<i.length;a++){const s=i[a],p={direction:"up",stepCount:0,values:[s]};if(s===v.currency.currencySymbol||s===v.strings.comma)n.push(p);else{const h=parseInt(i[a]),d=a===1&&h<=1?1:Math.floor(h/2),u=a%2===0?"down":"up",f=h-d,g=[];for(let x=0;x<=f;x++){const y=d+x;g.push(y.toString())}u==="down"&&g.reverse(),n.push({direction:u,stepCount:f,values:g})}}return n}export{Je as G,io as a,so as c};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{e as y,q as S,aO as T,b as d,V as l,jp as w,o as t,y as m,aN as B,F as x,d as n}from"./index-l9FViNoO.js";import{a as C}from"./sentry-DWELwT5u.js";import{n as j}from"./mui-cKt0zt2w.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./zeni-epic-state-atBaoFS-.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a5bd57bd-8744-4fda-b310-004cf11ee4ed",e._sentryDebugIdIdentifier="sentry-dbid-a5bd57bd-8744-4fda-b310-004cf11ee4ed")}catch{}})();const p={marginTop:new m(n[0],18),marginBottom:new m(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:A}=x.getLocalizedStrings(),K=({googleAPIKey:e,customAddress:s,customAddressStatus:o,onDismissClick:r,onSubmitHandler:c})=>{const u=y(),a=S(),i=T(o.fetchState);C.useEffect(()=>{i==="In-Progress"&&o.fetchState==="Completed"&&r()},[o.fetchState,r,i]);const b=a==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,f=a==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return l.jsx(I,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:o.fetchState,addressToEdit:s,onSubmitHandler:h=>c(h),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(a),marginBottom:p.marginBottom.valuePx(a),...f},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...b,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:A.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},I=j.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
4
|
+
height: 100%;
|
|
5
|
+
width: 100%;
|
|
6
|
+
`;export{K as default};
|