@zeniai/web-app-ui 4.14.38-qa → 4.14.39-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-BShpKoIj-fWd9thRi.js → ACHDetailsPage-B5qIuZya-Dqn8ZaVl.js} +6 -6
- package/dist/assets/{AIPerformancePage-CFErwUsE-snITC-s1.js → AIPerformancePage-BHB45mP--CWtWN8JR.js} +23 -23
- package/dist/assets/AccountInfoPage-Cd5xYT1g-BylH1aam.js +18 -0
- package/dist/assets/AccountInfoPageContent-CJ7ycVIK-3aE5KJwU.js +149 -0
- package/dist/assets/{AccountLockedInfoModal-c30P9O_3-7xneSCwL.js → AccountLockedInfoModal-Dox7IuAX-C5qPLBPz.js} +6 -6
- package/dist/assets/{AccountReconDetailsDrawerPage-CO9BYPWm-C-h2FArs.js → AccountReconDetailsDrawerPage-Bqty08m0-Dbr-jmu7.js} +5 -5
- package/dist/assets/{AccountRow-BrW_eEjE-DNRjFVcP.js → AccountRow-D1cjRJJD-Dsnq1o4t.js} +9 -9
- package/dist/assets/{AccountsPromoCardStack-De2yNNuZ-CSno44se.js → AccountsPromoCardStack-Bs3naJHM-DvbUMPbJ.js} +17 -17
- package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-DwU9s4jD.js +6 -0
- package/dist/assets/{AddToWalletPage-CsOmzC7v-Cj06wdOf.js → AddToWalletPage-CyRfqVDB-DtRghMSs.js} +12 -12
- package/dist/assets/AddressRoutes-DbIoDD0z.js +1 -0
- package/dist/assets/AddressScreen-Duz_V-eF.js +9 -0
- package/dist/assets/AgingReportsPage-xBFff3BM-B936IQ2N.js +79 -0
- package/dist/assets/{AiCfoScreen-BAk_dxw0.js → AiCfoScreen-DkKXC6Fw.js} +2 -2
- package/dist/assets/{AllUserItems-Dq7NcP-o-BAdmqEIT.js → AllUserItems-BJf6WPDo-D0H1tMjG.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-Z5JgfH-e-BN9WDlLq.js → ApAgingDetailPage-CjBrPyi8-Dy0hX-gn.js} +5 -5
- package/dist/assets/{AppBasePage-B5sDynhi-KPVBtrs7.js → AppBasePage-CqDm-hnV-DluaESRo.js} +9 -9
- package/dist/assets/{AppDrawerContent-D9Q8ir0T-CSqphav9.js → AppDrawerContent-CVVWj66i-D4zioU_X.js} +6 -6
- package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-Bu-mEOHu.js +47 -0
- package/dist/assets/ArAgingChart-CBsqOd-4-CVCl4d59.js +24 -0
- package/dist/assets/{ArAgingDetailPage-B5vqkc3v-BVlxBAMs.js → ArAgingDetailPage-i7JObt60-CsyQx3rL.js} +1 -1
- package/dist/assets/{AttachmentView-CiYfninr-6iFibggZ.js → AttachmentView-CzC4skJ3-D2ObdnK2.js} +6 -6
- package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-B94s6jgr.js +38 -0
- package/dist/assets/{BankAccountSection-EZtscP2z-CnmlGLJZ.js → BankAccountSection-Di4sF52j-BobhPzIF.js} +3 -3
- package/dist/assets/{BankAccountWarningSection-DCfyIUlu-DWGOWwU8.js → BankAccountWarningSection-Cled-2cR-CypxFFmY.js} +10 -10
- package/dist/assets/{BankConnectionsSettingsPage-CQWy9jvt-6r8YHtRG.js → BankConnectionsSettingsPage-Ccnzq7st-DGOhp4FX.js} +52 -52
- package/dist/assets/{BillDetailPage-pt1k5AQf-C4XZbQqy.js → BillDetailPage-XXOwBfO1-DauaxUA2.js} +9 -9
- package/dist/assets/BillPayApprovalRoutes-S9Y_fMTz.js +1 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-Drh7Bhi8-DEQ3gHmS.js → BillPayApprovalRuleDetailPage-DFZ0csaT-1KbX_IY6.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Cmyo59xB-B9Q9d_tb.js → BillPayApprovalRulesPage-COCypDcS-BjGZEACH.js} +9 -9
- package/dist/assets/{BillPayPromoPage-Dgpz2TLG-CIs4FndH.js → BillPayPromoPage-DOE2YIqC-C8ApdrdB.js} +7 -7
- package/dist/assets/{BillPayRoutes-C3s6um5A.js → BillPayRoutes-Bz92yFGI.js} +18 -18
- package/dist/assets/{BillPaySetUpPage-B6Pd_eBf-Ds0KjbN5.js → BillPaySetUpPage-BCJbZDsV-BF2fTyNr.js} +7 -7
- package/dist/assets/{BillingSettingsPage-CYsvBrFV-CkCbu93u.js → BillingSettingsPage-iImtlEmO-CBp1rdfh.js} +6 -6
- package/dist/assets/{BillsBulkReviewDrawerPage-DNnAmqWz-DGjq3gMe.js → BillsBulkReviewDrawerPage-B11GWM_0-Crsw24X2.js} +1 -1
- package/dist/assets/{BoxItem-B06DK4G--DWbBsOKU.js → BoxItem-Bxa1M4QU-BEQbjRW-.js} +4 -4
- package/dist/assets/{BusinessVerificationPage-Dgk5gyMv-C_48y3eC.js → BusinessVerificationPage-DSuJFoW1-mYZPYqnm.js} +8 -8
- package/dist/assets/{BusinessVerificationPageScreen-C0MRjLR6.js → BusinessVerificationPageScreen-BlaiKu4I.js} +2 -2
- package/dist/assets/{BusyIndication-Cd67eHX6-CtvBXiRL.js → BusyIndication-9zDqSKBP-WSsX6_uU.js} +1 -1
- package/dist/assets/{CardNumberSubText-CcH9jUoZ-BDFM7Ge9.js → CardNumberSubText-_ZZbaz_k-D2s6-wsQ.js} +8 -8
- package/dist/assets/{CashbackDetailPage-5eysaHGf-CYaLHynC.js → CashbackDetailPage-DAZXitLt-Dn6UduwT.js} +24 -24
- package/dist/assets/{ChargeCardDetailPage-Diwf-gwZ-BiwCPZo-.js → ChargeCardDetailPage-B1VIpASk-D0l4y1IR.js} +20 -20
- package/dist/assets/{ChargeCardListPage-C-RTGkKK-B2_lKD4-.js → ChargeCardListPage-BOBepN-x-BtfglwWz.js} +36 -36
- package/dist/assets/{ChargeCardListTable-B-bNbtZQ-Dci6OLkr.js → ChargeCardListTable-YznzSsJo-KwncCUaT.js} +31 -31
- package/dist/assets/{ChargeCardPaymentHistoryPage-Cu-zT5tO-BOra7Rvn.js → ChargeCardPaymentHistoryPage--jOwsMla-DQFHZBZ2.js} +19 -19
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-CUSVcG-Z.js +222 -0
- package/dist/assets/{ChargeCardRoutes-BN8xSwU5.js → ChargeCardRoutes-PKJBtykP.js} +9 -9
- package/dist/assets/{ChargeCardSetupPage-BcTB9Yy5-r-uwgYnE.js → ChargeCardSetupPage-0bpVkeJs-yW1xF9DG.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-B_ERvgmB-CYpHQAai.js → ChargeCardStatementsPage-ChWyQlw6-BDnJUrTu.js} +2 -2
- package/dist/assets/CheckDepositDrawerPage-BS7hnyZn-C-RoPs-w.js +206 -0
- package/dist/assets/{CollapsableReportTable-h0vIfI8o-B6GpVtrk.js → CollapsableReportTable-DNfFkAts-CoCUKzx3.js} +40 -40
- package/dist/assets/{CompanyOfficerDetailsSection-CWADX4kZ-BPWcwdB2.js → CompanyOfficerDetailsSection-CrOIN4IW-wL1QY22J.js} +23 -23
- package/dist/assets/{CompanyPassportCard-DF9LFrFD-DKr80bar.js → CompanyPassportCard-CkzYFTrp-DRHCWpeb.js} +4 -4
- package/dist/assets/{CompanyPassportPage-BtAopyLq-CYUPpkJA.js → CompanyPassportPage-FE6yli6h-Dd4_9uh3.js} +14 -14
- package/dist/assets/CompanyPassportScreen-BxfK5qi-.js +1 -0
- package/dist/assets/CompleteProfile-Cb8i1XgZ-BjB2Cj8T.js +52 -0
- package/dist/assets/ConfettiBurst-BZCXEGYA-2D0_Pemr.js +1 -0
- package/dist/assets/ConnectionAuthScreen-Wp_pgh6b.js +11 -0
- package/dist/assets/{ConstrainedInnerElement-hv51KpGg-D4gYEuVE.js → ConstrainedInnerElement-CgdnMeoA-CE1VZ_Vz.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C2xU6c51-DBwl6xUl.js → CreateOrEditVendorPage-CzpSgxbO-k7E9cu5j.js} +10 -10
- package/dist/assets/{CreditCardPaymentDrawerPage-CeagMaCu-WyeO0sfn.js → CreditCardPaymentDrawerPage-c_q0MsSO-dQfGXEwP.js} +7 -7
- package/dist/assets/{CurrencySelectField-B8EoF2aF-CpaeLEvO.js → CurrencySelectField-BAh7SHrG-BY-wwlD4.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-CIeR2XvU-C2ojqyMc.js → CustomerOnboardingActivationPage-f3Aa6E5r-CsLUjIve.js} +6 -6
- package/dist/assets/CustomerOnboardingAuthScreen-CTK0e_jx.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-CHM5gdzL.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-kUbwh2r2-XN6Qwg1Y.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-Cjt3eU6d.js} +12 -12
- package/dist/assets/{CustomerOnboardingNoStepsPage-Br0jy7Pu-BRxlJCi7.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-wTFuOqC8.js} +12 -12
- package/dist/assets/{CustomerOnboardingPage-Dm2Si769-Cmr-TTFk.js → CustomerOnboardingPage-B9hSO88_-DWmXd-Uc.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-Cz81Q5jC-_9JVpPYF.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-GHwnhZEx.js} +7 -7
- package/dist/assets/CustomerOnboardingRoutes-liI38PH4.js +23 -0
- package/dist/assets/{Dashboard-DReG_aaf-CJroxq1R.js → Dashboard-BJ_oIHab-R3_sy9De.js} +1 -1
- package/dist/assets/{DashboardReportPage-BXSlwsR7-Bifyqc1s.js → DashboardReportPage-BemzMw2e-DvGvflyG.js} +11 -11
- package/dist/assets/{DashboardRoutes-CcC7_3PW.js → DashboardRoutes-C7dEIbTS.js} +3 -3
- package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-DP44-3NB.js +12 -0
- package/dist/assets/{DefaultTenantHome-d55WPyJZ.js → DefaultTenantHome-CkG7rrVy.js} +1 -1
- package/dist/assets/DepositAccTransactionItem-CyFi1P_L-VEy51_-P.js +76 -0
- package/dist/assets/{DepositAccTransactionListPage-C-FAvZwD-BlyjU0oU.js → DepositAccTransactionListPage-DvBRRUdZ-FPrNb8c2.js} +6 -6
- package/dist/assets/DomesticWireDetailScreen-CgfzlsVD.js +18 -0
- package/dist/assets/{DomesticWireDetailsPage-BaiSpc0N-Ch_6qZVT.js → DomesticWireDetailsPage-DCDo3aHI-DZy_Auc2.js} +4 -4
- package/dist/assets/{DownloadOverlay-BpRKCn-0-L4byV6ko.js → DownloadOverlay-D_lL1sPW-DBEVtdkQ.js} +18 -18
- package/dist/assets/{DrawerPage-DQ3Xuekx-C25HKZ4X.js → DrawerPage-DesxXhZk-qxdDcPRN.js} +10 -10
- package/dist/assets/DrawerScreen-IScn_gPb.js +1 -0
- package/dist/assets/EditPeoplePage-QvPy_Six-pqhLCmsP.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CC2BjMkR-BA33kcGZ.js → EditReimbursementDetailPage-C0ZDkboO-Ds7tBMbu.js} +17 -17
- package/dist/assets/EntityDetailPage-l7nXIsyF-D-OEpTX_.js +18 -0
- package/dist/assets/EntityDetailRoutes-DCBMx6-C.js +1 -0
- package/dist/assets/{EntitySummarySection-vsEMiXYh-b447Pkl8.js → EntitySummarySection-BwX0a4JL-CYDWshdA.js} +12 -12
- package/dist/assets/{ExpenseAutomationOverviewPage-B3HPfIsK-BWcr0uLA.js → ExpenseAutomationOverviewPage-EdyHjbff-QECZrSJL.js} +13 -13
- package/dist/assets/ExpenseAutomationPage-DA22Qofw-QWboM4Rp.js +3614 -0
- package/dist/assets/ExpenseAutomationRoutes-DVcJr4np.js +20 -0
- package/dist/assets/{ExpressPayPage-BH7oCW_F-Cn_ygI86.js → ExpressPayPage-EMP6inpX-C812vhu_.js} +6 -6
- package/dist/assets/{FeaturePreviewPage-DSv61BhF-CnLFcwsn.js → FeaturePreviewPage-SYJm-3aR-BnuhMtuP.js} +2 -2
- package/dist/assets/FeaturePreviewScreen-C3Y9pgiz.js +1 -0
- package/dist/assets/{FollowStepsSection-Bgy9MpO4-C5zXR2w0.js → FollowStepsSection-BxESVqJD-BFhnhk7r.js} +9 -9
- package/dist/assets/{GlobalReviewListPage-VRq_gimm-q7Ngmw6E.js → GlobalReviewListPage-D5_ACa-q-DZo6UglL.js} +7 -7
- package/dist/assets/{InformationCardStack-rx0fypl3-DX-Qi0u8.js → InformationCardStack-B_qQUEYD-DRekqbq_.js} +4 -4
- package/dist/assets/InsightsCardStack-BsQzoVzj-BI_nQIXQ.js +79 -0
- package/dist/assets/{InsightsSection-ByFf2oGn-O2kwXghv.js → InsightsSection-B6CNlTNH-BFr6MnTG.js} +9 -9
- package/dist/assets/{IntegrationsSettingsPage-Cj01Nub6-DanmyN_T.js → IntegrationsSettingsPage-DP6fAccq-CigqZ0SM.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-C2PM97sv--IsCSEC1.js → InternationalWireSwiftDetailsPage-VdG7bDZi-Rlu68XJQ.js} +11 -11
- package/dist/assets/InternationalWireVerificationPage-COC6lZml-CR1f2JQF.js +65 -0
- package/dist/assets/{InviteFormPage-dsMpScvq-BSmEB5t_.js → InviteFormPage-DN02jRy5-UECY6Ai9.js} +6 -6
- package/dist/assets/{InvitePageListView-e7vGSbFa-lWVPew31.js → InvitePageListView-CP4K9tJi-CrsR5dUL.js} +42 -42
- package/dist/assets/InvitePeoplePage-VTM6kM1u-DEUyoj-n.js +12 -0
- package/dist/assets/{InvoiceUploadSection-Dg1-uunA-CdV_lYCj.js → InvoiceUploadSection-it-ZYl1N-gndqObmu.js} +12 -12
- package/dist/assets/{IssueChargeCardPage-CyF9wrb0-C00uByr7.js → IssueChargeCardPage-CVfuvGey-DLZauQU0.js} +20 -20
- package/dist/assets/{LabeledAddressValue-3l0Bv00--D4SAlVUn.js → LabeledAddressValue-DDrQcHIE-CrQXufeN.js} +2 -2
- package/dist/assets/LabeledAddressValueField-BgWwd5Gw-BjdQu4oY.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-BgC8y0D6-CE2WH-rg.js → LabeledControlledCheckBoxField-CcPO1k23-wgZTidrw.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-3qI_4noU-BeknFMe3.js → LabeledCountryMultiSelectField-BYYjzwUG-Dh1nhUsB.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BV3h9bh7-46gx1dC-.js → LabeledCreatableSingleSelectField-CISYMojq-C0CA90PE.js} +6 -6
- package/dist/assets/{LabeledDocumentField-rriEcsdr-BwrcuQUL.js → LabeledDocumentField-C_bcFxdY-rxfuitkN.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-DoVSg3nZ-BFaTo2zA.js → LabeledDropDownFormattedTextField-ScGGCap8-5XDDElAU.js} +5 -5
- package/dist/assets/{LabeledEmailInputField-CKWZEkTs-K1-nx9hv.js → LabeledEmailInputField-BppuWRbl-BqM5ToGw.js} +7 -7
- package/dist/assets/{LabeledNameField-yaSRe5Vt-B1WOmtZJ.js → LabeledNameField-mxSNQk3k-DSUzbE3j.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-D5QUlcEP-CTACJg8Z.js → LabeledSingleSelectField-C6ctNzkA-DJY2_gU-.js} +2 -2
- package/dist/assets/{LabeledText-DGZ7hxY4-BoX7lemD.js → LabeledText-C8Y7EOsX-BG8Z0MTH.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-BjyfWV9u.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-eV0BTiQT.js} +11 -11
- package/dist/assets/{LabeledZeniRolesDropDownField-jIrTovp--KnDiAlnF.js → LabeledZeniRolesDropDownField-BZtreVpj-BQKcvtGQ.js} +6 -6
- package/dist/assets/{LinkJETransactionPage-Bvbqpltz-TQTwB5Ra.js → LinkJETransactionPage-CKq4oiX9-BMq1iE01.js} +10 -10
- package/dist/assets/{LockCardPage-DyEQBJYx-BqE2JwR7.js → LockCardPage-CZENNby7-fCE1WXTx.js} +14 -14
- package/dist/assets/{LowBalancePopup-C2vHKMNF-B1dLaV9R.js → LowBalancePopup-1727S1ri-CiFxrWZ6.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-C5Jji5Bc.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DNJbU9wA.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-BDPVvMNI.js +1 -0
- package/dist/assets/MagicLinkRoutes-BBf-u6YU.js +72 -0
- package/dist/assets/MagicLinkSignInScreen-BGYMIMGW.js +12 -0
- package/dist/assets/{MagicLinkSuccessPage-B1LBYM2F-BhpgnlDO.js → MagicLinkSuccessPage-QMkZgQLG-0gaJkIUo.js} +6 -6
- package/dist/assets/{MagicLinkTitleSection-ClAnBBt9-Cym29B_c.js → MagicLinkTitleSection-CARU1oLQ-D-x2cYul.js} +9 -9
- package/dist/assets/MailingDetailsSection-ByOPaJ05-C__aFJd6.js +21 -0
- package/dist/assets/MobileAppDrawer-TF-9OTZ8.js +1 -0
- package/dist/assets/{MoreMenuButton-Ct8k8Oax-Jl7RdYoC.js → MoreMenuButton-BsBKwXvk-DeCIVX9G.js} +18 -18
- package/dist/assets/{MyBankConnectionsSettingsPage-CBNYcuP4-D719I_IU.js → MyBankConnectionsSettingsPage-BdgIIhL1-DSKnFya9.js} +6 -6
- package/dist/assets/{MyPendingActivationChargeCardListPage-n71n40uQ-DGClXmnK.js → MyPendingActivationChargeCardListPage-CX38bDdq-CKY6khDW.js} +1 -1
- package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-MQ1Uu5yx.js +85 -0
- package/dist/assets/{NavBarWithPicker-CbjFNysh-Gsj0zn-Z.js → NavBarWithPicker-CGGEvLwe-xLu9BDbC.js} +8 -8
- package/dist/assets/{NavigationArrow-Dpc7u6y4-BduXlhxm.js → NavigationArrow-CTNkKUtV-Cv--eO3H.js} +1 -1
- package/dist/assets/NavigationDots-Dvce3gHt-B5IBT8ql.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-B10sY6Q_-DHbg5KdP.js → NewGlobalMerchantPage-D_f7z47T-DZeAHBD8.js} +12 -12
- package/dist/assets/NoDataChart-CrKeqWSr-aTXx8C4D.js +26 -0
- package/dist/assets/{NoDataTable-C6Q2Anpz-Dt08aukB.js → NoDataTable-4vPXmPYF-MAxQ6k5D.js} +1 -1
- package/dist/assets/{NotFoundPage-4mPhXD5--B-cMmgSa.js → NotFoundPage-BLWPU1wU-BDFevjLh.js} +4 -4
- package/dist/assets/NotFoundScreen-BOQb1xUE.js +1 -0
- package/dist/assets/NotificationRoutes-CHyP48D4.js +1 -0
- package/dist/assets/{NotificationSettingsPage-BTxCoB_b-GR1fpvE7.js → NotificationSettingsPage-CDiDLX3A-CdiPU3_w.js} +30 -30
- package/dist/assets/NotificationsListConfig-B5pDa4cJ-C0GWEb8S.js +1 -0
- package/dist/assets/{NotificationsPage-D41h0mS6-C9DBLIC1.js → NotificationsPage-Ccl7Dny1-CsnU2sZr.js} +18 -18
- package/dist/assets/{OpExByVendorPage-BV_uJSCh-CweIBxzu.js → OpExByVendorPage-spd-nKV4-Cz37eGG7.js} +9 -9
- package/dist/assets/OverlayContainerPage-BG9y5C0t-DvO1fY_N.js +11 -0
- package/dist/assets/{PandLWithForecastPage-Cj3UWjG4-DJOh_oXL.js → PandLWithForecastPage-TSoe4Z7F-xn1jaFoi.js} +11 -11
- package/dist/assets/PandLWithForecastRoutes-DWeIYgqG.js +1 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BWFl695q-COL-e_83.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-BDBHBe3a.js} +10 -10
- package/dist/assets/{PeoplePage-DcGqWtAP-DPX6yuPR.js → PeoplePage-b5_I0qOw-lWi2XLJ6.js} +16 -16
- package/dist/assets/PeopleRoutes-D96ZRShY.js +22 -0
- package/dist/assets/PerformanceRoutes-w_Iip8ae.js +1 -0
- package/dist/assets/{Preview-Bd0e5eLk.js → Preview-C2zvk1tu.js} +1 -1
- package/dist/assets/{ProductsCarousel-C9JoJQeH-CkXkxCBK.js → ProductsCarousel-C3M0ocdF-2raBZnNq.js} +3 -3
- package/dist/assets/{PromoBaseCards-mFk7SsOr-aETB5Ygs.js → PromoBaseCards-BOGJI2ws-Cm4e0wPQ.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CJsIrEZq-D0yN3PXk.js → QBOConnectionDialog-CmpnnuzP-BhhJabU7.js} +4 -4
- package/dist/assets/{QBOConnectionScreen--nNex-HH.js → QBOConnectionScreen-CCeXLrlB.js} +1 -1
- package/dist/assets/{QBOSetupSection-C_fqHza_-KCFm35xW.js → QBOSetupSection-DjnN9dgv-6umyaC6d.js} +14 -14
- package/dist/assets/ReferralListScreen-DY8vZLmY.js +5 -0
- package/dist/assets/ReimbursementApprovalRoutes-kgV17rI7.js +1 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BMZnKpsk-CZta2n6p.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-Bjrjwfbm.js} +2 -2
- package/dist/assets/ReimbursementApprovalRuleDetailScreen-CrQlcAIE.js +1 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-C2zNa8dT-Dx_jUEM7.js → ReimbursementApprovalRulesPage-BsCTIqUJ-CQyWyznw.js} +5 -5
- package/dist/assets/{ReimbursementDetailPage-B1o8ea57-Dof3tsbT.js → ReimbursementDetailPage-BbyxE2uL-DAWO6MN3.js} +16 -16
- package/dist/assets/{ReimbursementPromoPage-Df5QmXzC-BHlanHYp.js → ReimbursementPromoPage-CyEgwqcf-D5kNu4r7.js} +10 -10
- package/dist/assets/{ReimbursementRoutes-CNHtnGTV.js → ReimbursementRoutes-9PVCls-1.js} +3 -3
- package/dist/assets/{ReimbursementSetUpPage-D450RVsP-w7ex11t8.js → ReimbursementSetUpPage-RETPkEQd-zKPq6P2O.js} +9 -9
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-CGZmi3lN.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-Cp5RXmHi.js} +1 -1
- package/dist/assets/{ReloadCard-D5cvzWxe-DYoPEBgn.js → ReloadCard-Bdoo0XiI-CgAT4eqC.js} +4 -4
- package/dist/assets/{ReportTableViewSelector-Ig41fOPb-rBlSQ3e9.js → ReportTableViewSelector-Bc1K7mU_-CRH7B2Xe.js} +9 -9
- package/dist/assets/{ReportsPage-CRAVAUTO-CDAZl-Wm.js → ReportsPage-BOTHMLWh-DYARtx-l.js} +7 -7
- package/dist/assets/ReportsRoutes-DAq_Kk7t.js +1 -0
- package/dist/assets/{RevenueChart-DtQu0KAn-CJ0e9bCc.js → RevenueChart-DvyZ3aO7-D41DyD4f.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-vui4TqeA-CrYNT8pq.js → ReviewDetailsPage-BIMg1n2e-w51F2KtJ.js} +19 -19
- package/dist/assets/{ReviewOverlay-CUnL7H-a-B6WGfdWG.js → ReviewOverlay-CxwoiOLC-C8uqNFMN.js} +9 -9
- package/dist/assets/RewardsRoutes-2CDMw_SM.js +1 -0
- package/dist/assets/RoleWithToolTip-Ct3_VuDM-zYFjvA-a.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-D_Cls2jC-BbXiHOdz.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-DjOTIJE4.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-DmSLuM8g-VVVHjW5Q.js → ScheduleDetailsPage-5FWpLRtd-DdkQQcuL.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-js9_P_Lo-D3P2gakZ.js → ScheduleSequenceTable-R3-PsXES-F_YuqAKO.js} +8 -8
- package/dist/assets/{ScreenRoutes-tN3DKXwj.js → ScreenRoutes-D-VUXgUA.js} +2 -2
- package/dist/assets/{SetUpAccountSection-DYRWWXcL-Bt4sXwAD.js → SetUpAccountSection-CctbMmoK-BIwzDeUn.js} +16 -16
- package/dist/assets/{SettingsRoutes-B7xS4Bv0.js → SettingsRoutes-BCFW0mUs.js} +7 -7
- package/dist/assets/{SetupPagesScreen-Dec5-vG9.js → SetupPagesScreen-D_H5m3yT.js} +6 -6
- package/dist/assets/{SignIn-CUJkZb3S-Cl_ZsA0p.js → SignIn-CmgmnRm4-BefvH7_D.js} +16 -16
- package/dist/assets/{SignInScreen-BCab6yM0.js → SignInScreen-DNDiNfUZ.js} +1 -1
- package/dist/assets/SignOutScreen-CGgsrBqm.js +9 -0
- package/dist/assets/{SpendManagementListViewPage-BieufnDb-BvlrNZeN.js → SpendManagementListViewPage-CFUxCqkU-DWVJ8T34.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-BmUp80QX-5QSrTfVD.js → SpendManagementPerTabPage-C-kqNTci-61EpQHHf.js} +55 -55
- package/dist/assets/{SpendManagementSection-DKZNTYXT-JIQihEyD.js → SpendManagementSection-CIz4nE_w-CLtvB3Jo.js} +24 -24
- package/dist/assets/{StatementItem-Dyt5Q0eR-DMqzBE6A.js → StatementItem-vVtoBN2w-CGfe2rf-.js} +3 -3
- package/dist/assets/StatementsPage-As5WOnMR-C07ZcwWR.js +58 -0
- package/dist/assets/{StatusSwitcher-BfQ9VbBH-Dgu_WG_g.js → StatusSwitcher-Bv-ozN6U-BMGDezKv.js} +4 -4
- package/dist/assets/{SubTabSwitcher-CzGiuhk3-ryyXc5wR.js → SubTabSwitcher-D7QeM6nb-C5vo1QLg.js} +3 -3
- package/dist/assets/SuccessAnimation-hijccO_0-CXGCZdn9.js +13 -0
- package/dist/assets/SummaryCard-C2qoTsAY-LkZgmc3l.js +1 -0
- package/dist/assets/{TaskDetailPage-CyZxZdJB-Ciw5Uu5K.js → TaskDetailPage-QMk4DTDK-DuNonnMy.js} +39 -39
- package/dist/assets/TaskListScreen-DXCPcaMg.js +9 -0
- package/dist/assets/{TaskManagementPage-ucVAdv7x-fUgA7HRS.js → TaskManagementPage-BJwp32Ph-D-u68mRD.js} +64 -64
- package/dist/assets/TaskRoutes-Biii2LFo.js +9 -0
- package/dist/assets/{TimeRangeSwitcher-C3jXm39I-0VbXr2bN.js → TimeRangeSwitcher-D00bDDhP-BG1zi2IK.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-CcYg-YQJ-DOGZ9gMN.js → TimeframeSwitcher-DA99HdHt-BQziHQmj.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-w4YJno-p-C9o85JE8.js → TimeframeSwitcherWithToggle-DyggDIQj-BfhUUfrK.js} +2 -2
- package/dist/assets/{TopExCard-D2PRxvFc-DYT8NSuE.js → TopExCard-Z1WabZ8c-CBwSMJxd.js} +6 -6
- package/dist/assets/{TopExDetailPage-C0uHdU7N-nxnaVy-a.js → TopExDetailPage-CzHG4f9E-gwAj-hq_.js} +18 -18
- package/dist/assets/{TransactionActivityLogPage-CqYb19tY-BdO5tRUg.js → TransactionActivityLogPage-CGKnjNfU-BApvDmwN.js} +1 -1
- package/dist/assets/TransactionDetailPage-1-mLOWSz-rzQ235mE.js +903 -0
- package/dist/assets/TransactionDetailRoutes-C36yIgf5.js +1 -0
- package/dist/assets/TransactionDetailScreen-B9QxqSWW.js +5 -0
- package/dist/assets/TransactionList-BB-xoIGm-Cfa3U35Q.js +153 -0
- package/dist/assets/{TransactionListBig-BrDWayQS-CYutGkGW.js → TransactionListBig-C5Sf5Xh--ILOBUs5F.js} +14 -14
- package/dist/assets/TransactionListPage-Cj7h1Ros-C0trpcRO.js +35 -0
- package/dist/assets/TransactionListRoutes-DYDLTelW.js +1 -0
- package/dist/assets/{TransactionVendorDetailPage-CQQuAR6V-BrnkOOxy.js → TransactionVendorDetailPage-SsrSOk3O-DvVZeIE6.js} +13 -13
- package/dist/assets/{TransferDrawerPage-DfFm-1-3-BUPWCPmv.js → TransferDrawerPage-BvKZ7vHF-gusMX693.js} +21 -21
- package/dist/assets/{TreasuryOverviewPage-CKSanlUG-hcTuDL8m.js → TreasuryOverviewPage-DwvjMR4_-v_PwtYfB.js} +15 -15
- package/dist/assets/{TreasuryPromoPage-Dyip3H10-CaL--OIv.js → TreasuryPromoPage-CtTFvSQW-CBUcln_7.js} +14 -14
- package/dist/assets/TreasuryRoutes-BL7M49IT.js +45 -0
- package/dist/assets/TreasuryStatementsPage-Catz8shX-B10cgIs5.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-D3cV3a-8-BTBXzOEj.js → TreasuryTaxLetterPage-D8hzCL5o-8bU6d1vy.js} +4 -4
- package/dist/assets/TrendChart-Bnp4Pcdf-CsoTufL2.js +16 -0
- package/dist/assets/{TrendWithTransactions-It4KDov3-SqmxJLwp.js → TrendWithTransactions-3D1FvM8G-Dwn_v3ES.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-BxBz2Ce0-BuxR3cW9.js → UncategorizedAccountsMappingPage-DbyY-dYB-DJ-xU1nq.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-gVgsk2ji-Be3rQKfw.js → UnitIntegrationPage-CTzme1te-Kzmir-JV.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-C5m8jqup-BuDXKqpt.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-vi85vqk-.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DRwBzOwn-Bu88G5Uf.js → Vendor2FAPopup-D0zYKkIv-Corqbsks.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-DWmocppw.js +1 -0
- package/dist/assets/{VendorDetailPage-jci1LqX3-CcT9Y7_3.js → VendorDetailPage-Br9wIOnI-D1eJIjzb.js} +5 -5
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-BpbupYob.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-8pYT3u-X-E-s_MI6R.js → VendorFiling1099EditablePage-himC7iD3-DuTr9_9d.js} +24 -24
- package/dist/assets/{VendorFirstReviewPage-CafakxA1-2lhthp_z.js → VendorFirstReviewPage-BbknTCBD-DB1g9Qot.js} +15 -15
- package/dist/assets/{VendorInternationalWireDetailsPage-DJeI-ZFW-DsIia0J7.js → VendorInternationalWireDetailsPage-CS595Xgc-CmEESHX6.js} +9 -9
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-D43LaVfJ.js +1 -0
- package/dist/assets/{VendorsAccountsSection-YX2g8ETe-DB_XPKqM.js → VendorsAccountsSection-CgSJu8wq-CW2zmnnP.js} +4 -4
- package/dist/assets/{VendorsRoutes-BKpp91Ol.js → VendorsRoutes-C4N6gRBp.js} +23 -23
- package/dist/assets/{VerifyDevice-DeHW4GAi-Xw2L2uDk.js → VerifyDevice-Dvf0JsNN-CSGpw0v_.js} +2 -2
- package/dist/assets/VideoPlayer-VAzOGCDL-BYL37uoQ.js +77 -0
- package/dist/assets/{VideoPopup-CUP7ctgS-COd6keBu.js → VideoPopup-BqvZ-XIh-DBw1PWZ3.js} +5 -5
- package/dist/assets/WiseConfirmationScreen-DNU9Mqxk.js +12 -0
- package/dist/assets/{ZeniAccountDetailPage-7NdkdSg3-7e7alBpD.js → ZeniAccountDetailPage-GcwTJdB8-_6oIn_wc.js} +19 -19
- package/dist/assets/{ZeniAccountListViewPage-B-cs_xnc-DPQ7NJOh.js → ZeniAccountListViewPage-CdwO0Duy-G5U6kbnQ.js} +35 -35
- package/dist/assets/{ZeniAccountNavBarPieces-CjRip0v9-x_CaXaVR.js → ZeniAccountNavBarPieces-BrSIfL36-CgdxCVoA.js} +5 -5
- package/dist/assets/{ZeniAccountPromoPage-BikXtkeH-nFNGwlDD.js → ZeniAccountPromoPage-JrcedQYB-BtfY6t2a.js} +20 -20
- package/dist/assets/{ZeniAccountRoutes-C-qtUClC.js → ZeniAccountRoutes-uUgaZh13.js} +11 -11
- package/dist/assets/{ZeniAccountSetupPage-BRBsijVt-ZM0-bMDB.js → ZeniAccountSetupPage-TKBfbgzJ-Ovrdcrt5.js} +1 -1
- package/dist/assets/ZeniAccountStatementScreen-CPFcfx6A.js +9 -0
- package/dist/assets/{ZeniAvatar-pjdoqfWE-BIF5P_G9.js → ZeniAvatar-Bzhq25CU-DO1x3yqH.js} +1 -1
- package/dist/assets/{ZeniCopyright-DDGvdmLF-DwYXGCDa.js → ZeniCopyright-DglqrTpl-iRqjfc19.js} +1 -1
- package/dist/assets/{ZeniDatePicker-K3F-G3-0-D-lxuOwz.js → ZeniDatePicker-BHXPxPnI-CRe89Wst.js} +6 -6
- package/dist/assets/{ZeniTransferAmountSlider-Cdg0TlHk-DNSmlK3y.js → ZeniTransferAmountSlider-BcaZZuAw-BeVI8Qc_.js} +2 -2
- package/dist/assets/{accountMappingHelper-CMy_dzCB.js → accountMappingHelper-BVO1DeGB.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-DZDSR_90.js → add-to-wallet-DgdBD8_G-CV8RMwhX.js} +1 -1
- package/dist/assets/{analytics-Buyhprzd.js → analytics-CZ3wLx3P.js} +1 -1
- package/dist/assets/{analyticsHelper-D9xdJK4b-C4FHTXha.js → analyticsHelper-CAYdbjhS-CB8PHHr8.js} +1 -1
- package/dist/assets/{analyticsHelper-CMK0FF_Q.js → analyticsHelper-RqmdZ4w4.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CxvC0Cnw.js → arrow-south-east-round-PEovUgvH-DB6pjtdO.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BXD0aAHO.js → auto-transfer-rule-mbafm5D3-CrxycPHV.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-tC3a4UX-.js → avatar-Dz7aEm3d-B1h__iIh.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-B3HKnrvN.js → bank-letter-BOcVjN6J-B0RfZgcz.js} +1 -1
- package/dist/assets/{calculateSize-zPet_z9g-DAbLjY3A.js → calculateSize-B2w5JPEU-BqvYgtxt.js} +1 -1
- package/dist/assets/{chartTypes-Dq3hUz_T-boMzYtYd.js → chartTypes-CD3vrBsI-4eICteeW.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-BFtrn8ev.js → clock-CJkylEKt-o4osYW2f.js} +1 -1
- package/dist/assets/common-BpxEACHl-SqfXrkK_.js +1 -0
- package/dist/assets/{commonDimensions-CGHIQ2To-BnULbNsl.js → commonDimensions-Oz1tdAcx-Cf4qEJmU.js} +1 -1
- package/dist/assets/{commonTypes-BAJPaPYg-2nCYtMXG.js → commonTypes-5tEXwrX4-F6mC0EfI.js} +1 -1
- package/dist/assets/{core-5sxMy3sZ.js → core-CVVdXRky.js} +1 -1
- package/dist/assets/{dash.all.min-CTYaOyx7.js → dash.all.min-C2vle8BQ.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-BXr_Lgnt.js → decodeURIComponentSafe-Da8IsQO4.js} +1 -1
- package/dist/assets/{dnd-Cfx_ai1S.js → dnd-CcRW__D6.js} +3 -3
- package/dist/assets/{dollar-round-D18u7nlm-BAPPb_YV.js → dollar-round-D18u7nlm-BkHqkGHG.js} +1 -1
- package/dist/assets/{downloadPdf-BI2Y41h2-Bu4K6jWB.js → downloadPdf-Dsuxeias-CPZEuUrl.js} +1 -1
- package/dist/assets/{empty-CDKH4CBD.js → empty-BHbH22vT.js} +1 -1
- package/dist/assets/{empty-DLdEFiEn.js → empty-M26y6UyA.js} +1 -1
- package/dist/assets/epic-CiCSO3K5.js +2 -0
- package/dist/assets/{filter-cZIFUNvj-DR0oScp6.js → filter-cZIFUNvj-BeqNUW3e.js} +1 -1
- package/dist/assets/getLocaleForTenant-DBVI4ovb.js +1 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-CLkhO8vB.js → gift-box-Cmt9OgIZ-CR0qdQnT.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BXfLioW6.js → graphic-no-data-l-DU4J8fDt-CslJm2fU.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DESi1ZUm.js → graphic-no-data-net-burn-l-CzmycA0m-Cj977U7E.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Cw8-rpU_.js → handshake-BPg58FML-tq0X0Kiz.js} +1 -1
- package/dist/assets/{helper-z5-P4a-y-BYdbtuif.js → helper-Ckm10Uko-U81O1HXL.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-DiF-LRfD.js → hyperlink-DQyCeXx2-D504LM2b.js} +1 -1
- package/dist/assets/{index-XrFKA72B.js → index-BZOQWoRX.js} +1 -1
- package/dist/assets/{index-DBW4633P.js → index-BngCC-zG.js} +2513 -2513
- package/dist/assets/{index-a2iFhnhM.js → index-ClO_SXUU.js} +1 -1
- package/dist/assets/{index-Bsc8ZpcH.js → index-DiKwyzh3.js} +1 -1
- package/dist/assets/{index-DCFJ_6wy.js → index-jI4vB8VC.js} +1 -1
- package/dist/assets/{index-B6cTzWKI.js → index-uxYir9Bm.js} +1 -1
- package/dist/assets/{lexical-BAlvZZhY.js → lexical-DPtIv0jk.js} +1 -1
- package/dist/assets/{liveblocks-BsQBjN-0.js → liveblocks-CHs9GmLG.js} +17 -17
- package/dist/assets/{lottie-C2R6rGxS.js → lottie-D68Xb3aQ.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-cRyD83dc.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-dsBogxKz-D2PE8B4K.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-C2AYKRBA.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DMDEaLzQ-A_DJ4_H7.js → mapSpacerToTreeNode-XgUp1xUb-VRJ6un-L.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CW_wzI5T-u6fAoA1F.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-XT9mQqpQ.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-CGvd2Wmc.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-BVVmyoym.js +1 -0
- package/dist/assets/{media-player-BX2lrCiw.js → media-player-D-MhIu5T.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-C1UnGCa2.js → money-2cg1MuG4-DZxnWrWu.js} +1 -1
- package/dist/assets/{mui-C_CXevf3.js → mui-DyGc7Pg8.js} +3 -3
- package/dist/assets/{page-detail-CWX5S47F-DCvximFz.js → page-detail-CWX5S47F-CXX81aXy.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-BBMfUdRp.js → page-summary-D7_VQHwN-V_V9hbFl.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-Kk0Lc2Dj.js → panelSelectedMixin-Cddsb26L-bdcPTs-R.js} +1 -1
- package/dist/assets/{pathToGoBack-D5dFRCuJ.js → pathToGoBack-CsNBJVc2.js} +1 -1
- package/dist/assets/pdf-BxqSCr4b.js +13 -0
- package/dist/assets/{pdf-lib-BLLlynNv.js → pdf-lib-jHogAi_2.js} +1 -1
- package/dist/assets/{plaid-Yyr3DBd8.js → plaid-xWfKHEqu.js} +1 -1
- package/dist/assets/{pusher-CQAuuZH-.js → pusher-pngVK7xY.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-HLL7c7Ix.js → radio-default-CiSgisfh-sLqGTxQv.js} +1 -1
- package/dist/assets/{react-CEO525cE.js → react-B3z4onjT.js} +1 -1
- package/dist/assets/{react-B9pn5zl_.js → react-BC4BTRLG.js} +1 -1
- package/dist/assets/{react-COI-5ihT.js → react-BElDOWJc.js} +1 -1
- package/dist/assets/{react-BFykbpKw.js → react-BuoJ-wtg.js} +1 -1
- package/dist/assets/{react-YbLjyGgM.js → react-CuUL9Ybl.js} +1 -1
- package/dist/assets/{react-D7RjW9MW.js → react-DpxbyLPn.js} +1 -1
- package/dist/assets/{react-BmJ9wc4M.js → react-DyZ9MM_3.js} +3 -3
- package/dist/assets/{react-BEZA9UfV.js → react-mv5GPJR4.js} +1 -1
- package/dist/assets/{recharts-CTWfsY-L.js → recharts-CMjB5mmq.js} +36 -36
- package/dist/assets/{routePaths-GPfd2GU_.js → routePaths-B2Ez8xiG.js} +1 -1
- package/dist/assets/{sentry-DINNQYpi.js → sentry-CHlUi953.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DFaW8QSC.js → shield-DOlUxcFf-u1WG480f.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-05QrBanM.js → spend-limit-D6SyboD4-DKcfJ6au.js} +1 -1
- package/dist/assets/toCOABalancesWithID-aLNB35t7-DBx2vR3D.js +1 -0
- package/dist/assets/{toChartData-BUf5HHim-BlDtF069.js → toChartData-DUL6vnzJ-CHvhrhF4.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-kO6lyet9.js → transaction-placeholder-CpOwZAMG-BRNI97Lv.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-CAOnjxt9.js → undo-b_3XZ5CX-CHRencVP.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-fA9hPtxv.js → unlock-BPWn2I5L-BfuVrsIJ.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BbiwxEOu.js → upload-reimbursement-receipt-O2N8vcO7-vYnAE0FP.js} +1 -1
- package/dist/assets/{uploadAttachment-DJA30WSD-plv7LCEU.js → uploadAttachment-Ck4wivBR-D3iFmRh8.js} +18 -18
- package/dist/assets/{uploadReceipts-CqDftTRt-Dkc7WGe9.js → uploadReceipts-CIgkuVpu-DQDaRUPe.js} +1 -1
- package/dist/assets/{url-dGBmezhj.js → url-7B3Yv5Zc.js} +1 -1
- package/dist/assets/{url-BnrMVJye.js → url-CDjIygfF.js} +1 -1
- package/dist/assets/{useDeviceId-Dhw-GVYT.js → useDeviceId-CPhY1yO5.js} +1 -1
- package/dist/assets/useInitialThreadRequest-D3BmEojQ.js +1 -0
- package/dist/assets/{useLongPress-GCK2COYQ-CI59nlOM.js → useLongPress-GCK2COYQ-C-ro8Pxu.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Bi23t2Q-.js → usp-line-BBd1wKwW-BHKdiO38.js} +1 -1
- package/dist/assets/{utils-DmE88LS_.js → utils-BpkJZQMI.js} +12 -12
- package/dist/assets/withTransactionSidePanel-D4jXMzEn.js +8 -0
- package/dist/assets/{zeni-epic-state-a7Sj5mjO.js → zeni-epic-state-D8D2Skiq.js} +6 -6
- package/dist/assets/{zeni-icon-only-COM3FcNM.js → zeni-icon-only-BUIVMYdQ.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-B8upbXj9-vrSWYUF1.js +0 -18
- package/dist/assets/AccountInfoPageContent-CKpeDot5-D2xjzg6V.js +0 -149
- package/dist/assets/AddAddressForCardDrawer-riOPLnxb-mAwCf0Pc.js +0 -6
- package/dist/assets/AddressRoutes-DQjryUkl.js +0 -1
- package/dist/assets/AddressScreen-C6vJhn2u.js +0 -9
- package/dist/assets/AgingReportsPage-D9I9afnB-yHHj3Wmi.js +0 -79
- package/dist/assets/ApprovalRulesSettingsPage-DVGvJsQG-C6QLqN1r.js +0 -47
- package/dist/assets/ArAgingChart-Tcu0Lja_-BdIZJO8_.js +0 -24
- package/dist/assets/BalancesInsightWithToolTip-tiQUQUbX-DzkOWVQM.js +0 -38
- package/dist/assets/BillPayApprovalRoutes-BlJjLh3Z.js +0 -1
- package/dist/assets/ChargeCardPromoPage-Cz3rNFwM-Bi8y2V52.js +0 -222
- package/dist/assets/CheckDepositDrawerPage-D7_usOVn-J4mV41ZF.js +0 -206
- package/dist/assets/CompanyPassportScreen-ChKPVSO-.js +0 -1
- package/dist/assets/CompleteProfile-CsbsHQ0p-Bd33SFhs.js +0 -52
- package/dist/assets/ConfettiBurst-duD341Gp-DUM2aCzm.js +0 -1
- package/dist/assets/ConnectionAuthScreen--S5MRVzc.js +0 -11
- package/dist/assets/CustomerOnboardingAuthScreen-56Gd68oe.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-DfPVnT4w.js +0 -1
- package/dist/assets/CustomerOnboardingRoutes-BM1FvHLp.js +0 -23
- package/dist/assets/DashboardSidebarBackgroundAnimation-B3dtVAe2-ceF5qNn2.js +0 -12
- package/dist/assets/DepositAccTransactionItem-YuSXjbLh-B9DRqaZc.js +0 -76
- package/dist/assets/DomesticWireDetailScreen-BavbRsOF.js +0 -18
- package/dist/assets/DrawerScreen-C_bLtDRv.js +0 -1
- package/dist/assets/EditPeoplePage-8DalSMWH-jeT76aa4.js +0 -55
- package/dist/assets/EntityDetailPage-fmWuxHTZ-DkQICR3e.js +0 -18
- package/dist/assets/EntityDetailRoutes-BJPdCnex.js +0 -1
- package/dist/assets/ExpenseAutomationPage-4LJefgNh-CHSe-eX7.js +0 -3628
- package/dist/assets/ExpenseAutomationRoutes-DVq6I4cf.js +0 -20
- package/dist/assets/FeaturePreviewScreen-DX_dSelb.js +0 -1
- package/dist/assets/InsightsCardStack-uJWMkIZL-BEQ1nM_Y.js +0 -79
- package/dist/assets/InternationalWireVerificationPage-Cr3sDrT--CUVEN_2T.js +0 -65
- package/dist/assets/InvitePeoplePage-BT_YVCP4-DtNP7JKz.js +0 -12
- package/dist/assets/LabeledAddressValueField-F9kvUR_r-DWIWqg4N.js +0 -45
- package/dist/assets/MagicLinkACHDetailsPage-lAAwAtH7-u0ZacaAy.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-cv823ASo-CPv9egXH.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C_SjsgC9-nDwskxXL.js +0 -1
- package/dist/assets/MagicLinkRoutes-JRtQtFqQ.js +0 -72
- package/dist/assets/MagicLinkSignInScreen-DkCDkLiS.js +0 -12
- package/dist/assets/MailingDetailsSection-9_XLl4bT-uVaax-qs.js +0 -21
- package/dist/assets/MobileAppDrawer-D_NdxckS.js +0 -1
- package/dist/assets/MyProfileSettingsPage-BUMIjZYc-DIf9EMiw.js +0 -85
- package/dist/assets/NavigationDots-DCpslVnm-wapVz6Ga.js +0 -15
- package/dist/assets/NoDataChart-9-bhq204-Ck-FboCC.js +0 -26
- package/dist/assets/NotFoundScreen-DIsBJSaH.js +0 -1
- package/dist/assets/NotificationRoutes-BlE0nk7I.js +0 -1
- package/dist/assets/NotificationsListConfig-CylnViXd-DiKD1VlE.js +0 -1
- package/dist/assets/OverlayContainerPage-CkUYOhlh-BLbo4mkL.js +0 -11
- package/dist/assets/PandLWithForecastRoutes-Du4Y6NM_.js +0 -1
- package/dist/assets/PeopleRoutes-BBTvXpYa.js +0 -22
- package/dist/assets/PerformanceRoutes-BwZ7C83C.js +0 -1
- package/dist/assets/ReferralListScreen-DTl3cgUl.js +0 -5
- package/dist/assets/ReimbursementApprovalRoutes-Chwz3Zd6.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailScreen-3osscpq2.js +0 -1
- package/dist/assets/ReportsRoutes-BpBrdYFu.js +0 -1
- package/dist/assets/RewardsRoutes-j_a3QqIz.js +0 -1
- package/dist/assets/RoleWithToolTip-x2rnvWn9-BcsseCTF.js +0 -22
- package/dist/assets/SignOutScreen-BVFjhNbz.js +0 -9
- package/dist/assets/StatementsPage-CbtnJM5y-DFFjoYfI.js +0 -58
- package/dist/assets/SuccessAnimation-DA3343II-CPpeKMV2.js +0 -13
- package/dist/assets/SummaryCard-D61xzK3a-QerUeyNc.js +0 -1
- package/dist/assets/TaskListScreen-j6aXmdAS.js +0 -9
- package/dist/assets/TaskRoutes-CGRMEck8.js +0 -9
- package/dist/assets/TransactionDetailPage-D-NR_yZG-Ci72o0wJ.js +0 -921
- package/dist/assets/TransactionDetailRoutes-DT2_L5nu.js +0 -1
- package/dist/assets/TransactionDetailScreen-C-kbZYkM.js +0 -5
- package/dist/assets/TransactionList-f6yB-byH-BbsyqjjD.js +0 -157
- package/dist/assets/TransactionListPage-C-Z62y2d-Cs4hNKp4.js +0 -35
- package/dist/assets/TransactionListRoutes-CS-Aed2O.js +0 -1
- package/dist/assets/TreasuryRoutes-2SWOS6G5.js +0 -45
- package/dist/assets/TreasuryStatementsPage-mljf2Van-BxW1eeF3.js +0 -58
- package/dist/assets/TrendChart-fFlHCvNx-C-NDpGcx.js +0 -16
- package/dist/assets/VendorACHDetailsPage-By2Ya2bv-BZiTrUhh.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-uIDE-n5v-CZQCRVkI.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co-5nTam-ShOnk0vp.js +0 -1
- package/dist/assets/VideoPlayer-DxIfGrPu-CxZJ5OEW.js +0 -77
- package/dist/assets/WiseConfirmationScreen-B8p2H0wE.js +0 -12
- package/dist/assets/ZeniAccountStatementScreen-BtXMxdDS.js +0 -9
- package/dist/assets/common-kiEGPQ33-i2MKa07U.js +0 -1
- package/dist/assets/epic-Bn4m6PJ6.js +0 -2
- package/dist/assets/getLocaleForTenant-BxHoiee7.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DrC2Zs2y-BM0pLknf.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DvfKBCs5-pYXcOLbR.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-BAYHZBxR.js +0 -1
- package/dist/assets/pdf-DyB_VHQx.js +0 -13
- package/dist/assets/toCOABalancesWithID-P7keEtAg-DjgvOCvR.js +0 -1
- package/dist/assets/useInitialThreadRequest-CIvC2FkG.js +0 -1
- package/dist/assets/withTransactionSidePanel-C2pbazis.js +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,H as Q,a8 as ke,E as $e,dc as be,el as we,cv as G,cS as X,O as ve,l as d,y as Ee,a5 as Ce,aU as ee,de as te,$ as Re,f as ne,aA as Pe}from"./index-BngCC-zG.js";import{a as s}from"./sentry-CHlUi953.js";import{n as o}from"./mui-DyGc7Pg8.js";import{u as Te}from"./plaid-xWfKHEqu.js";import{bG as oe,H4 as De,H5 as Ie}from"./zeni-epic-state-D8D2Skiq.js";import{E as _e,C as Fe,w as Ue,f as Me}from"./AccountRow-D1cjRJJD-Dsnq1o4t.js";import"./pdf-BxqSCr4b.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./utils-BpkJZQMI.js";import"./clock-CJkylEKt-o4osYW2f.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]="f18009c7-89f0-47ee-948c-c2efb126f1fe",e._sentryDebugIdIdentifier="sentry-dbid-f18009c7-89f0-47ee-948c-c2efb126f1fe")}catch{}})();const Oe=c.sp4,Ye=c.sp4,Ae=c.sp10,Be=c.sp4,Le=c.sp4,N=114,Ne=400,ze=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -175,19 +175,19 @@ import{P as xe,V as t,M as fe,bR as ye,bS as ge,bT as je,o as c,d as Se,ar as K,
|
|
|
175
175
|
justify-content: space-between;
|
|
176
176
|
gap: ${c.sp2};
|
|
177
177
|
width: 100%;
|
|
178
|
-
`,
|
|
178
|
+
`,v=o.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: row;
|
|
181
181
|
align-items: center;
|
|
182
182
|
justify-content: space-between;
|
|
183
183
|
gap: ${c.sp2};
|
|
184
184
|
width: 100%;
|
|
185
|
-
`,
|
|
185
|
+
`,T=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;
|
|
@@ -236,4 +236,4 @@ import{P as xe,V as t,M as fe,bR as ye,bS as ge,bT as je,o as c,d as Se,ar as K,
|
|
|
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:Z,expenseAutomation:{accountRecon:i}}=we.getLocalizedStrings(),kt=(e,n)=>`${e}.${n}`,se="accountReconDrawerDetailsSection";function Vt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:k,onFetchLinkTokenClick:E,onEstablishConnectionClick:C,onSelectSourceType:T,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U}){const m=xe({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(e)}),b=m.handleSubmit(()=>{}),[h,f]=s.useState(void 0),$=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:$,[y,r]=s.useState(a.linkToken??null),[j,M]=s.useState(!1),[z,O]=s.useState(!1),[Y,A]=s.useState(void 0),[re,H]=s.useState(void 0),le=s.useCallback(()=>{f("link_account_no_microdeposit")},[]),de=s.useCallback(()=>{f("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{Y!=null&&(R(Y),A(void 0)),H(void 0),O(!1)},onCancelClick:()=>{A(void 0),O(!1)}},V=s.useRef(h);s.useEffect(()=>{V.current=h},[h]);const pe=s.useCallback(P=>{C(P,e.accountReconEntity.account.accountId,V.current),f(void 0),M(!1)},[C,e.accountReconEntity.account.accountId]),he=s.useCallback((P,me)=>{P!=null&&console.log("Plaid Connection Error",P,me),f(void 0),M(!1)},[]),{open:W,ready:q}=De({token:y,onSuccess:pe,onExit:he});return s.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),s.useEffect(()=>{!j&&h!=null&&a.linkToken===y&&a.fetchStatus.fetchState==="Completed"&&q&&M(!0)},[q,y,a.fetchStatus.fetchState,a.linkToken,h,j]),s.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==y&&r(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,y]),s.useEffect(()=>{j&&W()},[j,W]),t.jsxs(ze,{children:[t.jsx(Ve,{children:t.jsx(Ge,{children:t.jsxs(Ze,{children:[t.jsx(He,{}),t.jsxs(Je,{children:[t.jsx(Ke,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(Rt,{monthYearPeriod:l})})]}),t.jsx(Qe,{children:t.jsx(We,{onClick:k})})]})})}),t.jsxs(qe,{children:[t.jsx(fe,{...m,children:t.jsx("form",{style:{width:"100%"},id:"accountReconDrawerDetailsPage",onSubmit:b,children:t.jsx(bt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,showConfirmationPopup:z,setShowConfirmationPopup:O,deleteFileId:Y,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(ge,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const bt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:k,setDeleteFileId:E,setShowConfirmationPopup:C,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:_,onUploadWindowOpenedOnce:F,uploadErrorMessage:U,setUploadErrorMessage:m})=>{const[b,h]=s.useState(!1),f=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,$=[];n.accountReconEntity.account.accountType==="bank"&&$.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),$.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"),s.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 y=n.accountReconEntity.reconciliationStatus!=null&&["reconciled","in_progress","reconciled_via_qbo"].includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Xe,{children:[t.jsxs(et,{children:[t.jsxs(tt,{children:[t.jsx(B,{children:i.reconciliation.headers.bankBalance}),t.jsx(nt,{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(ot,{children:[t.jsx(B,{children:i.reconciliation.headers.clearedBalance}),t.jsx(ct,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(at,{children:[t.jsx(B,{children:i.reconciliation.headers.variance}),t.jsx(st,{children:t.jsx(Et,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ht,{children:[t.jsxs(mt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(xt,{children:[t.jsxs(w,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(I,{children:a!=null?t.jsx(g,{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(be,{controller:!0,children:t.jsx($e,{moreIconType:"custom",customIcon:t.jsx($t,{selectedSourceType:v}),options:$,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:r=>{R(Ie(r))},valueToIcon:r=>r==="plaid"?t.jsx(yt,{}):r==="bank_statement"?t.jsx(gt,{}):null})})})]}),v==="bank_statement"?t.jsx(w,{children:t.jsx(ve,{name:kt(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:y,sizeLimit:1e7,onFileSizeError:r=>{r&&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:r=>{m(r?.message)},onUploadSuccess:r=>{_(r),h(!1)},onUploadStart:()=>{h(!0),m(void 0)},onUploadWindowOpenedOnce:()=>{F()}},onDeleteFile:r=>{E(r),C(!0)},onEditFileName:(r,j)=>{T(r,j)}})}):null,t.jsxs(w,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(I,{children:v!=="bank_statement"?t.jsx(vt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:k}):t.jsx(wt,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(w,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(I,{children:t.jsx(Ct,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(w,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(I,{children:t.jsx(X,{isLoading:b,customStyle:{height:"20px",width:"100px"},position:"left",children:f!=null?t.jsx(g,{children:G(f.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},$t=({selectedSourceType:e})=>t.jsxs(dt,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(ut,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(pt,{})]}),vt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(L,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(L,{children:[t.jsx(ft,{}),t.jsx(jt,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(L,{onClick:e==="reconnect"?u:l,children:t.jsx(St,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),wt=({status:e,uploadInProgress:n})=>n?t.jsx(X,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(g,{children:p.strings.hyphen}):e==="parsing"?t.jsx(g,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(g,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(g,{children:p.strings.hyphen}),Et=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:k}=Me(u,e,l,!0);return t.jsxs(it,{children:[t.jsx(rt,{textColor:x,children:Ce("0,0",e)??p.strings.hyphen}),t.jsxs(lt,{textColor:S,bgColor:k,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},Ct=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(g,{children:n})},Rt=({monthYearPeriod:e})=>t.jsx(ce,{children:Pt(e)}),Pt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(Z.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Z.visual.DMMMYYYYFormat)}`},J=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Vt as default,kt as uniqueName};
|
|
239
|
+
`,{common:p,dateFormat:Z,expenseAutomation:{accountRecon:i}}=ve.getLocalizedStrings(),kt=(e,n)=>`${e}.${n}`,se="accountReconDrawerDetailsSection";function Vt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:k,onFetchLinkTokenClick:E,onEstablishConnectionClick:C,onSelectSourceType:I,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U}){const m=xe({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(e)}),$=m.handleSubmit(()=>{}),[h,f]=s.useState(void 0),b=n.link_account_no_microdeposit,w=n.update_account,a=h==="update_account"?w:b,[y,r]=s.useState(a.linkToken??null),[j,M]=s.useState(!1),[z,O]=s.useState(!1),[Y,A]=s.useState(void 0),[re,H]=s.useState(void 0),le=s.useCallback(()=>{f("link_account_no_microdeposit")},[]),de=s.useCallback(()=>{f("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{Y!=null&&(R(Y),A(void 0)),H(void 0),O(!1)},onCancelClick:()=>{A(void 0),O(!1)}},V=s.useRef(h);s.useEffect(()=>{V.current=h},[h]);const pe=s.useCallback(P=>{C(P,e.accountReconEntity.account.accountId,V.current),f(void 0),M(!1)},[C,e.accountReconEntity.account.accountId]),he=s.useCallback((P,me)=>{P!=null&&console.log("Plaid Connection Error",P,me),f(void 0),M(!1)},[]),{open:W,ready:q}=Te({token:y,onSuccess:pe,onExit:he});return s.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),s.useEffect(()=>{!j&&h!=null&&a.linkToken===y&&a.fetchStatus.fetchState==="Completed"&&q&&M(!0)},[q,y,a.fetchStatus.fetchState,a.linkToken,h,j]),s.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==y&&r(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,y]),s.useEffect(()=>{j&&W()},[j,W]),t.jsxs(ze,{children:[t.jsx(Ve,{children:t.jsx(Ge,{children:t.jsxs(Ze,{children:[t.jsx(He,{}),t.jsxs(Je,{children:[t.jsx(Ke,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(Rt,{monthYearPeriod:l})})]}),t.jsx(Qe,{children:t.jsx(We,{onClick:k})})]})})}),t.jsxs(qe,{children:[t.jsx(fe,{...m,children:t.jsx("form",{style:{width:"100%"},id:"accountReconDrawerDetailsPage",onSubmit:$,children:t.jsx($t,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:I,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,showConfirmationPopup:z,setShowConfirmationPopup:O,deleteFileId:Y,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(ge,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const $t=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:k,setDeleteFileId:E,setShowConfirmationPopup:C,onEditFileName:I,onSelectSourceType:R,onStatementUploadSuccess:_,onUploadWindowOpenedOnce:F,uploadErrorMessage:U,setUploadErrorMessage:m})=>{const[$,h]=s.useState(!1),f=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,b=[];n.accountReconEntity.account.accountType==="bank"&&b.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),b.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const w=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||$?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),s.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 y=n.accountReconEntity.reconciliationStatus!=null&&["reconciled","in_progress","reconciled_via_qbo"].includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Xe,{children:[t.jsxs(et,{children:[t.jsxs(tt,{children:[t.jsx(B,{children:i.reconciliation.headers.bankBalance}),t.jsx(nt,{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(ot,{children:[t.jsx(B,{children:i.reconciliation.headers.clearedBalance}),t.jsx(ct,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(at,{children:[t.jsx(B,{children:i.reconciliation.headers.variance}),t.jsx(st,{children:t.jsx(Et,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ht,{children:[t.jsxs(mt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(xt,{children:[t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.type}),t.jsx(D,{children:a!=null?t.jsx(g,{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($e,{controller:!0,children:t.jsx(be,{moreIconType:"custom",customIcon:t.jsx(bt,{selectedSourceType:w}),options:b,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:r=>{R(De(r))},valueToIcon:r=>r==="plaid"?t.jsx(yt,{}):r==="bank_statement"?t.jsx(gt,{}):null})})})]}),w==="bank_statement"?t.jsx(v,{children:t.jsx(we,{name:kt(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:y,sizeLimit:1e7,onFileSizeError:r=>{r&&m(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Ie,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:U,onUploadError:r=>{m(r?.message)},onUploadSuccess:r=>{_(r),h(!1)},onUploadStart:()=>{h(!0),m(void 0)},onUploadWindowOpenedOnce:()=>{F()}},onDeleteFile:r=>{E(r),C(!0)},onEditFileName:(r,j)=>{I(r,j)}})}):null,t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.status}),t.jsx(D,{children:w!=="bank_statement"?t.jsx(wt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:k}):t.jsx(vt,{uploadInProgress:$,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(D,{children:t.jsx(Ct,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(D,{children:t.jsx(X,{isLoading:$,customStyle:{height:"20px",width:"100px"},position:"left",children:f!=null?t.jsx(g,{children:G(f.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},bt=({selectedSourceType:e})=>t.jsxs(dt,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(ut,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(pt,{})]}),wt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(L,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(L,{children:[t.jsx(ft,{}),t.jsx(jt,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(L,{onClick:e==="reconnect"?u:l,children:t.jsx(St,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),vt=({status:e,uploadInProgress:n})=>n?t.jsx(X,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(g,{children:p.strings.hyphen}):e==="parsing"?t.jsx(g,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(g,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(g,{children:p.strings.hyphen}),Et=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:k}=Me(u,e,l,!0);return t.jsxs(it,{children:[t.jsx(rt,{textColor:x,children:Ce("0,0",e)??p.strings.hyphen}),t.jsxs(lt,{textColor:S,bgColor:k,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},Ct=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(g,{children:n})},Rt=({monthYearPeriod:e})=>t.jsx(ce,{children:Pt(e)}),Pt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(Z.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Z.visual.DMMMYYYYFormat)}`},J=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Vt as default,kt as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as e,a5 as I,bo as f,o,
|
|
1
|
+
import{V as e,a5 as I,bo as f,o,b as j,E as at,dc as it,O as ct,l as y,f as m,dd as X,de as Y,cq as st,ad as x,C as Z,m as g,e as rt,y as S,aj as lt,bj as dt,j as ut,a as xt,H as W,b6 as pt,d4 as ht}from"./index-BngCC-zG.js";import{a as gt}from"./sentry-CHlUi953.js";import{n as a,c as mt}from"./mui-DyGc7Pg8.js";import{t as ft}from"./clock-CJkylEKt-o4osYW2f.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="c35eec52-ca91-4b60-ad49-7de148300a98",t._sentryDebugIdIdentifier="sentry-dbid-c35eec52-ca91-4b60-ad49-7de148300a98")}catch{}})();const jt=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${t=>t.showTreeLine===!0&&t.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -192,17 +192,17 @@ import{V as e,a5 as I,bo as f,o,E as j,I as at,df as it,O as ct,l as y,e as m,dg
|
|
|
192
192
|
flex-direction: row;
|
|
193
193
|
align-items: center;
|
|
194
194
|
gap: ${o.sp1};
|
|
195
|
-
`,
|
|
195
|
+
`,Jt=a(W)`
|
|
196
196
|
color: ${m.success};
|
|
197
|
-
`,
|
|
197
|
+
`,J=a(W)`
|
|
198
198
|
color: ${m.success};
|
|
199
|
-
`,
|
|
199
|
+
`,Kt=a(ht)`
|
|
200
200
|
width: ${o.sp3};
|
|
201
201
|
height: ${o.sp3};
|
|
202
202
|
color: ${m.success};
|
|
203
203
|
`,R=a(y)`
|
|
204
204
|
text-align: right;
|
|
205
|
-
`,
|
|
205
|
+
`,Xt=a.div`
|
|
206
206
|
display: flex;
|
|
207
207
|
flex-direction: row;
|
|
208
208
|
align-items: center;
|
|
@@ -245,7 +245,7 @@ import{V as e,a5 as I,bo as f,o,E as j,I as at,df as it,O as ct,l as y,e as m,dg
|
|
|
245
245
|
display: flex;
|
|
246
246
|
flex-direction: column;
|
|
247
247
|
align-items: center;
|
|
248
|
-
`,
|
|
248
|
+
`,K=a(y)`
|
|
249
249
|
color: ${t=>t.theme.colors.hero};
|
|
250
250
|
`,M=a.div`
|
|
251
251
|
display: flex;
|
|
@@ -280,11 +280,11 @@ import{V as e,a5 as I,bo as f,o,E as j,I as at,df as it,O as ct,l as y,e as m,dg
|
|
|
280
280
|
flex-direction: row;
|
|
281
281
|
align-items: center;
|
|
282
282
|
justify-content: center;
|
|
283
|
-
`,re=a(
|
|
283
|
+
`,re=a(X)`
|
|
284
284
|
width: ${o.sp3};
|
|
285
285
|
height: ${o.sp3};
|
|
286
286
|
margin-top: 2px;
|
|
287
|
-
`,le=a(
|
|
287
|
+
`,le=a(X)`
|
|
288
288
|
width: ${o.sp3};
|
|
289
289
|
height: ${o.sp3};
|
|
290
290
|
`,de=a(Y)`
|
|
@@ -295,4 +295,4 @@ import{V as e,a5 as I,bo as f,o,E as j,I as at,df as it,O as ct,l as y,e as m,dg
|
|
|
295
295
|
width: ${o.sp3};
|
|
296
296
|
height: ${o.sp3};
|
|
297
297
|
margin-top: 2px;
|
|
298
|
-
`,{expenseAutomation:{accountRecon:{reconciliation:r}},common:{strings:{hyphen:p,percentage:xe}}}=ct.getLocalizedStrings();function We({height:t,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:s,onReconnectClicked:w,onStatementAddClicked:T}){const L=rt(),N=S(),v=n.accountReconEntity.account.accountName,P=n.accountReconEntity.balance,h=n.accountReconEntity.clearedBalance,C=n.accountReconEntity.variance,nt=n.accountReconEntity.variancePercentage,q=()=>{l?.(n.accountReconEntity.account.accountId)},[ot,D]=gt.useState(!1),z=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",E=z==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let G=t;return i&&(G=t+g[8]),e.jsxs(St,{"data-testid":j("account-recon-row-root-container",n.accountReconEntity.account.accountId),heightValue:G,isLastRow:i,windowSize:L,isSelectedRow:c,onClick:()=>{ot!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[e.jsxs(Lt,{isClickable:!0,"data-testid":j("total-row-container"),heightValue:t,children:[e.jsxs(Pt,{children:[e.jsx(vt,{firstLetter:v.charAt(0),color:new x(N.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),e.jsx(_t,{children:e.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:e.jsx(Bt,{className:"any-text-container",children:v})})})]}),e.jsxs(Nt,{children:[e.jsx(Dt,{children:e.jsx(fe,{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:()=>{s?.(n.accountReconEntity.account.accountId)},onStatementAddClicked:()=>{T?.(n.accountReconEntity.account.accountId)},isLoading:E,onReconnectClicked:()=>{w?.(n.accountReconEntity.account.accountId)}})}),e.jsx(At,{children:e.jsx(Ce,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),e.jsx(Ot,{children:e.jsx(je,{clearedBalance:h,isLoading:E})}),e.jsx(pe,{isLoading:E,variance:C,variancePercentage:nt,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),e.jsx(Mt,{children:e.jsx(Ut,{heightValue:t})}),e.jsx(Vt,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:z==="plaid"?e.jsx(ge,{accountRecon:n,isLoading:E,onReviewClicked:q}):e.jsx(me,{accountRecon:n,isLoading:E,onReviewClicked:q})})]})]}),e.jsx(Et,{kind:"account_separator",isScrolling:!1}),i?e.jsx(Wt,{}):null]})}const pe=({variance:t,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:s,variancePercentageContainerColor:w}=he(l,t,i),T=c?p:t!=null&&t.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${xe}`:p;return e.jsxs(Qt,{children:[e.jsx(Ft,{textColor:d,className:"any-text-container",children:t==null||c?p:I("0,0",t)}),e.jsx(Ht,{textColor:s,bgColor:w,className:"any-text-container",children:T})]})},he=(t,n,i,c)=>{let l,d,s;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(m.success),d=new x(m.success),s=new x(m.successLight)):c===!0?(l=new x(t.colors.primary),d=new x(t.colors.primary),s=new x(t.colors.grey2)):(l=new x(t.colors.hero),d=new x(t.colors.hero),s=new x(t.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:s}},ge=({accountRecon:t,isLoading:n,onReviewClicked:i})=>{const c=t.accountReconEntity.reconciliationStatus,l=t.accountConnectionStatus,d=t.accountReconEntity.reconciliationId!=null?t.accountReconEntity.reconUpdatedAt:t.accountReconEntity.accountUpdatedAt,s=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:p;if(n)return e.jsx(we,{});if(t.accountReconEntity.balanceDataStatus?.code==="not_found"){let w="";return w=t.accountReconEntity.balance==null&&t.accountReconEntity.clearedBalance==null?r.status.balanceNotFound:t.accountReconEntity.balance==null?r.status.bankBalanceNotFound:r.status.clearedBalanceNotFound,e.jsx(ye,{status:w,tooltipText:s})}if(l==="reconnect"||l==="not_connected")return e.jsx(A,{tooltipText:s,showTooltip:d!=null});if(c==null&&l==="connected"&&t.accountReconEntity.balance!=null&&t.accountReconEntity.clearedBalance!=null)return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c==null)return e.jsx(A,{showTooltip:d!=null,tooltipText:s});switch(c.code){case"save_for_later":case"pending":return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return e.jsx(B,{isQBO:!1,user:t.accountReconEntity.user,tooltipText:s});case"in_progress":return e.jsx(et,{tooltipText:s});case"failed":return e.jsx(tt,{tooltipText:s});case"reconciled_on_qbo":return e.jsx(B,{isQBO:!0,tooltipText:s});default:return null}},me=({accountRecon:t,isLoading:n,onReviewClicked:i})=>{const c=t.accountReconEntity.reconciliationStatus,l=t.accountReconEntity.statementDataStatus?.code==="validated"||t.accountReconEntity.statementDataStatus?.code==="processed",d=t.accountReconEntity.reconUpdatedAt,s=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:p;if(t.accountReconEntity.statementDataStatus?.code==="parsing_failed"||t.accountReconEntity.statementDataStatus?.code==="validation_failed"||t.accountReconEntity.statementDataStatus?.code==="processing_failed")return e.jsx($e,{code:t.accountReconEntity.statementDataStatus?.code,tooltipText:s,errorMessage:t.accountReconEntity.errorMessage?.errorShort});if(n)return e.jsx(be,{});if(c==null&&l&&t.accountReconEntity.balance!=null&&t.accountReconEntity.clearedBalance!=null)return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c==null)return e.jsx(A,{showTooltip:d!=null,tooltipText:s});switch(c.code){case"save_for_later":case"pending":return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return e.jsx(B,{isQBO:!1,user:t.accountReconEntity.user,tooltipText:s});case"reconciled_on_qbo":return e.jsx(B,{isQBO:!0,tooltipText:s});case"in_progress":return e.jsx(et,{tooltipText:s});case"failed":return e.jsx(tt,{tooltipText:s});default:return null}},_=({buttonLabel:t,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>e.jsx(f,{title:e.jsx($,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(qt,{children:e.jsx(xt,{label:t,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),B=({user:t,isQBO:n,tooltipText:i})=>e.jsx(f,{title:e.jsx($,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsxs(zt,{children:[e.jsxs(Gt,{children:[e.jsx(Jt,{}),e.jsx(Xt,{children:n?r.status.reconciledVia:r.status.reconciledBy})]}),n?e.jsx(X,{children:r.status.QBOUser}):t&&e.jsxs(X,{children:[t.firstName," ",t.lastName]})]})}),fe=({bankBalance:t,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:s,onReconnectClicked:w,isLoading:T,accountId:L,onStatementAddClicked:N,setIsHovering:v})=>{const P=function(h){const C=[];return h!=null&&h==="bank"&&C.push({label:r.menu.bankConnection,value:"bank_connection"}),C.push({label:r.menu.statement,value:"statement"}),C}(n);if(d===!0)return e.jsx(R,{className:"any-text-container",children:I("0,0",t)??p});if(T===!0)return e.jsx(R,{className:"any-text-container",children:p});if(i==="reconnect"){const h=l!=null?`${l.utc(!0).fromNow()}`:p;return e.jsxs(te,{children:[e.jsxs(ee,{children:[e.jsx(ne,{children:e.jsx(f,{title:e.jsx($,{tooltipText:h}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:e.jsx(oe,{})})}),e.jsx(R,{className:"any-text-container",children:t!=null?I("0,0",t):p})]}),e.jsx(Zt,{"data-testid":j("account-reconciliation-reconnect-button",L),onClick:C=>{C.stopPropagation(),w?.()},children:r.connect.reconnnect})]})}return i==="connected"||c==="uploaded"?e.jsx(R,{className:"any-text-container",children:I("0,0",t)??p}):e.jsx(Kt,{"data-testid":j("account-reconciliation-connect-button",L),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:e.jsx(at,{controller:P.length>0,children:e.jsx(f,{title:r.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(it,{moreIconType:"custom",customIcon:e.jsx(Yt,{}),options:P,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:h=>{h==="bank_connection"?s?.():h==="statement"&&N?.()},valueToIcon:h=>h==="bank_connection"?e.jsx(re,{}):h==="statement"?e.jsx(de,{}):null})})})})},je=({clearedBalance:t,isLoading:n})=>t!=null&&n===!1?e.jsx(R,{className:"any-text-container",children:I("0,0",t)??p}):e.jsx(R,{className:"any-text-container",children:p}),tt=({tooltipText:t})=>{const n=new x(m.important);return e.jsx(f,{title:e.jsx($,{tooltipText:t}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(b,{children:e.jsxs(V,{children:[e.jsx(O,{iconColor:n}),e.jsx(M,{children:e.jsx(U,{textColor:n,children:r.status.reconciliationFailed})}),e.jsx(F,{children:e.jsx(Q,{textColor:n,children:r.status.reconcileViaQBO})})]})})})},ye=({status:t,tooltipText:n})=>{const i=new x(m.brandColorGoldDark);return e.jsx(f,{title:e.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsxs(b,{children:[e.jsx(O,{iconColor:i}),e.jsxs(V,{children:[e.jsx(M,{children:e.jsx(U,{textColor:i,children:t})}),e.jsx(F,{children:e.jsx(Q,{textColor:i,children:r.status.reconcileViaQBO})})]})]})})},et=({tooltipText:t})=>{const n=S(),i=new x(n.colors.grey1);return e.jsx(f,{title:e.jsx($,{tooltipText:t}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(b,{children:e.jsxs(H,{children:[e.jsx(k,{textColor:i,children:r.status.autoReconInProgress}),e.jsx(k,{textColor:i,children:r.status.isInProgress})]})})})},we=()=>{const t=S(),n=new x(t.colors.grey1);return e.jsx(b,{children:e.jsxs(H,{children:[e.jsx(k,{textColor:n,children:r.status.balanceSyncInProgress}),e.jsx(k,{textColor:n,children:r.status.isInProgress})]})})},be=()=>{const t=S(),n=new x(t.colors.grey1);return e.jsx(b,{children:e.jsxs(H,{children:[e.jsx(k,{textColor:n,children:r.status.statementSyncInProgress}),e.jsx(k,{textColor:n,children:r.status.isInProgress})]})})},$e=({code:t,tooltipText:n,errorMessage:i})=>{const c=new x(m.important),l=ve(t,"list",i);return e.jsx(f,{title:e.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsxs(b,{children:[e.jsx(O,{iconColor:c}),e.jsxs(V,{children:[e.jsx(M,{children:e.jsx(U,{textColor:c,children:l})}),e.jsx(F,{children:e.jsx(Q,{textColor:c,children:r.status.failed})})]})]})})},A=({showTooltip:t,tooltipText:n})=>t==0?e.jsx(b,{children:e.jsx(J,{children:p})}):e.jsx(f,{title:e.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(b,{children:e.jsx(J,{children:p})})}),$=({tooltipText:t})=>e.jsxs(ae,{children:[e.jsx(ie,{children:r.tooltips.lastUpdated}),e.jsx(ce,{children:t})]}),Ce=({statementStatus:t,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=t==="uploaded"||n===!0?e.jsx(ue,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?e.jsx(le,{}):l,e.jsx(se,{className:"bank-icon-container",children:l})},ve=(t,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(t){case"parsing_failed":default:c=r.status.statementParseError;break;case"validation_failed":c=r.status.statementValidationFailed;break;case"processing_failed":c=r.status.statementProcessingFailed}return n==="drawer"&&(c=c+" "+r.status.failed),c};export{vt as B,fe as C,Se as D,ve as E,Ie as N,We as R,he as f,u,je as w};
|
|
298
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:r}},common:{strings:{hyphen:p,percentage:xe}}}=ct.getLocalizedStrings();function We({height:t,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:s,onReconnectClicked:w,onStatementAddClicked:T}){const L=rt(),N=S(),v=n.accountReconEntity.account.accountName,P=n.accountReconEntity.balance,h=n.accountReconEntity.clearedBalance,C=n.accountReconEntity.variance,nt=n.accountReconEntity.variancePercentage,q=()=>{l?.(n.accountReconEntity.account.accountId)},[ot,D]=gt.useState(!1),z=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",E=z==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let G=t;return i&&(G=t+g[8]),e.jsxs(St,{"data-testid":j("account-recon-row-root-container",n.accountReconEntity.account.accountId),heightValue:G,isLastRow:i,windowSize:L,isSelectedRow:c,onClick:()=>{ot!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[e.jsxs(Lt,{isClickable:!0,"data-testid":j("total-row-container"),heightValue:t,children:[e.jsxs(Pt,{children:[e.jsx(vt,{firstLetter:v.charAt(0),color:new x(N.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),e.jsx(_t,{children:e.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:e.jsx(Bt,{className:"any-text-container",children:v})})})]}),e.jsxs(Nt,{children:[e.jsx(Dt,{children:e.jsx(fe,{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:()=>{s?.(n.accountReconEntity.account.accountId)},onStatementAddClicked:()=>{T?.(n.accountReconEntity.account.accountId)},isLoading:E,onReconnectClicked:()=>{w?.(n.accountReconEntity.account.accountId)}})}),e.jsx(At,{children:e.jsx(Ce,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),e.jsx(Ot,{children:e.jsx(je,{clearedBalance:h,isLoading:E})}),e.jsx(pe,{isLoading:E,variance:C,variancePercentage:nt,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),e.jsx(Mt,{children:e.jsx(Ut,{heightValue:t})}),e.jsx(Vt,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:z==="plaid"?e.jsx(ge,{accountRecon:n,isLoading:E,onReviewClicked:q}):e.jsx(me,{accountRecon:n,isLoading:E,onReviewClicked:q})})]})]}),e.jsx(Et,{kind:"account_separator",isScrolling:!1}),i?e.jsx(Wt,{}):null]})}const pe=({variance:t,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:s,variancePercentageContainerColor:w}=he(l,t,i),T=c?p:t!=null&&t.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${xe}`:p;return e.jsxs(Qt,{children:[e.jsx(Ft,{textColor:d,className:"any-text-container",children:t==null||c?p:I("0,0",t)}),e.jsx(Ht,{textColor:s,bgColor:w,className:"any-text-container",children:T})]})},he=(t,n,i,c)=>{let l,d,s;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(m.success),d=new x(m.success),s=new x(m.successLight)):c===!0?(l=new x(t.colors.primary),d=new x(t.colors.primary),s=new x(t.colors.grey2)):(l=new x(t.colors.hero),d=new x(t.colors.hero),s=new x(t.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:s}},ge=({accountRecon:t,isLoading:n,onReviewClicked:i})=>{const c=t.accountReconEntity.reconciliationStatus,l=t.accountConnectionStatus,d=t.accountReconEntity.reconciliationId!=null?t.accountReconEntity.reconUpdatedAt:t.accountReconEntity.accountUpdatedAt,s=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:p;if(n)return e.jsx(we,{});if(t.accountReconEntity.balanceDataStatus?.code==="not_found"){let w="";return w=t.accountReconEntity.balance==null&&t.accountReconEntity.clearedBalance==null?r.status.balanceNotFound:t.accountReconEntity.balance==null?r.status.bankBalanceNotFound:r.status.clearedBalanceNotFound,e.jsx(ye,{status:w,tooltipText:s})}if(l==="reconnect"||l==="not_connected")return e.jsx(A,{tooltipText:s,showTooltip:d!=null});if(c==null&&l==="connected"&&t.accountReconEntity.balance!=null&&t.accountReconEntity.clearedBalance!=null)return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c==null)return e.jsx(A,{showTooltip:d!=null,tooltipText:s});switch(c.code){case"save_for_later":case"pending":return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return e.jsx(B,{isQBO:!1,user:t.accountReconEntity.user,tooltipText:s});case"in_progress":return e.jsx(et,{tooltipText:s});case"failed":return e.jsx(tt,{tooltipText:s});case"reconciled_on_qbo":return e.jsx(B,{isQBO:!0,tooltipText:s});default:return null}},me=({accountRecon:t,isLoading:n,onReviewClicked:i})=>{const c=t.accountReconEntity.reconciliationStatus,l=t.accountReconEntity.statementDataStatus?.code==="validated"||t.accountReconEntity.statementDataStatus?.code==="processed",d=t.accountReconEntity.reconUpdatedAt,s=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:p;if(t.accountReconEntity.statementDataStatus?.code==="parsing_failed"||t.accountReconEntity.statementDataStatus?.code==="validation_failed"||t.accountReconEntity.statementDataStatus?.code==="processing_failed")return e.jsx($e,{code:t.accountReconEntity.statementDataStatus?.code,tooltipText:s,errorMessage:t.accountReconEntity.errorMessage?.errorShort});if(n)return e.jsx(be,{});if(c==null&&l&&t.accountReconEntity.balance!=null&&t.accountReconEntity.clearedBalance!=null)return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c==null)return e.jsx(A,{showTooltip:d!=null,tooltipText:s});switch(c.code){case"save_for_later":case"pending":return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return e.jsx(B,{isQBO:!1,user:t.accountReconEntity.user,tooltipText:s});case"reconciled_on_qbo":return e.jsx(B,{isQBO:!0,tooltipText:s});case"in_progress":return e.jsx(et,{tooltipText:s});case"failed":return e.jsx(tt,{tooltipText:s});default:return null}},_=({buttonLabel:t,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>e.jsx(f,{title:e.jsx($,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(qt,{children:e.jsx(xt,{label:t,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),B=({user:t,isQBO:n,tooltipText:i})=>e.jsx(f,{title:e.jsx($,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsxs(zt,{children:[e.jsxs(Gt,{children:[e.jsx(Kt,{}),e.jsx(Jt,{children:n?r.status.reconciledVia:r.status.reconciledBy})]}),n?e.jsx(J,{children:r.status.QBOUser}):t&&e.jsxs(J,{children:[t.firstName," ",t.lastName]})]})}),fe=({bankBalance:t,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:s,onReconnectClicked:w,isLoading:T,accountId:L,onStatementAddClicked:N,setIsHovering:v})=>{const P=function(h){const C=[];return h!=null&&h==="bank"&&C.push({label:r.menu.bankConnection,value:"bank_connection"}),C.push({label:r.menu.statement,value:"statement"}),C}(n);if(d===!0)return e.jsx(R,{className:"any-text-container",children:I("0,0",t)??p});if(T===!0)return e.jsx(R,{className:"any-text-container",children:p});if(i==="reconnect"){const h=l!=null?`${l.utc(!0).fromNow()}`:p;return e.jsxs(te,{children:[e.jsxs(ee,{children:[e.jsx(ne,{children:e.jsx(f,{title:e.jsx($,{tooltipText:h}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:e.jsx(oe,{})})}),e.jsx(R,{className:"any-text-container",children:t!=null?I("0,0",t):p})]}),e.jsx(Zt,{"data-testid":j("account-reconciliation-reconnect-button",L),onClick:C=>{C.stopPropagation(),w?.()},children:r.connect.reconnnect})]})}return i==="connected"||c==="uploaded"?e.jsx(R,{className:"any-text-container",children:I("0,0",t)??p}):e.jsx(Xt,{"data-testid":j("account-reconciliation-connect-button",L),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:e.jsx(at,{controller:P.length>0,children:e.jsx(f,{title:r.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(it,{moreIconType:"custom",customIcon:e.jsx(Yt,{}),options:P,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:h=>{h==="bank_connection"?s?.():h==="statement"&&N?.()},valueToIcon:h=>h==="bank_connection"?e.jsx(re,{}):h==="statement"?e.jsx(de,{}):null})})})})},je=({clearedBalance:t,isLoading:n})=>t!=null&&n===!1?e.jsx(R,{className:"any-text-container",children:I("0,0",t)??p}):e.jsx(R,{className:"any-text-container",children:p}),tt=({tooltipText:t})=>{const n=new x(m.important);return e.jsx(f,{title:e.jsx($,{tooltipText:t}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(b,{children:e.jsxs(V,{children:[e.jsx(O,{iconColor:n}),e.jsx(M,{children:e.jsx(U,{textColor:n,children:r.status.reconciliationFailed})}),e.jsx(F,{children:e.jsx(Q,{textColor:n,children:r.status.reconcileViaQBO})})]})})})},ye=({status:t,tooltipText:n})=>{const i=new x(m.brandColorGoldDark);return e.jsx(f,{title:e.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsxs(b,{children:[e.jsx(O,{iconColor:i}),e.jsxs(V,{children:[e.jsx(M,{children:e.jsx(U,{textColor:i,children:t})}),e.jsx(F,{children:e.jsx(Q,{textColor:i,children:r.status.reconcileViaQBO})})]})]})})},et=({tooltipText:t})=>{const n=S(),i=new x(n.colors.grey1);return e.jsx(f,{title:e.jsx($,{tooltipText:t}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(b,{children:e.jsxs(H,{children:[e.jsx(k,{textColor:i,children:r.status.autoReconInProgress}),e.jsx(k,{textColor:i,children:r.status.isInProgress})]})})})},we=()=>{const t=S(),n=new x(t.colors.grey1);return e.jsx(b,{children:e.jsxs(H,{children:[e.jsx(k,{textColor:n,children:r.status.balanceSyncInProgress}),e.jsx(k,{textColor:n,children:r.status.isInProgress})]})})},be=()=>{const t=S(),n=new x(t.colors.grey1);return e.jsx(b,{children:e.jsxs(H,{children:[e.jsx(k,{textColor:n,children:r.status.statementSyncInProgress}),e.jsx(k,{textColor:n,children:r.status.isInProgress})]})})},$e=({code:t,tooltipText:n,errorMessage:i})=>{const c=new x(m.important),l=ve(t,"list",i);return e.jsx(f,{title:e.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsxs(b,{children:[e.jsx(O,{iconColor:c}),e.jsxs(V,{children:[e.jsx(M,{children:e.jsx(U,{textColor:c,children:l})}),e.jsx(F,{children:e.jsx(Q,{textColor:c,children:r.status.failed})})]})]})})},A=({showTooltip:t,tooltipText:n})=>t==0?e.jsx(b,{children:e.jsx(K,{children:p})}):e.jsx(f,{title:e.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(b,{children:e.jsx(K,{children:p})})}),$=({tooltipText:t})=>e.jsxs(ae,{children:[e.jsx(ie,{children:r.tooltips.lastUpdated}),e.jsx(ce,{children:t})]}),Ce=({statementStatus:t,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=t==="uploaded"||n===!0?e.jsx(ue,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?e.jsx(le,{}):l,e.jsx(se,{className:"bank-icon-container",children:l})},ve=(t,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(t){case"parsing_failed":default:c=r.status.statementParseError;break;case"validation_failed":c=r.status.statementValidationFailed;break;case"processing_failed":c=r.status.statementProcessingFailed}return n==="drawer"&&(c=c+" "+r.status.failed),c};export{vt as B,fe as C,Se as D,ve as E,Ie as N,We as R,he as f,u,je as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{O,V as o,o as t,ag as P,
|
|
1
|
+
import{O,V as o,o as t,ag as P,f as b,D as ee,w as oe,aS as te,aT as re,aU as ne,aV as ae,aW as G,n as se,a6 as Z,a3 as ie,y as R,_ as ce,b as M,af as le,a4 as de,aa as pe,C as J,z as me,ap as he,l as ue,au as ge}from"./index-BngCC-zG.js";import{a as N,b as z}from"./sentry-CHlUi953.js";import{c as xe}from"./SummaryCard-C2qoTsAY-LkZgmc3l.js";import{n as r,k as U,c as V}from"./mui-DyGc7Pg8.js";import{F5 as fe}from"./zeni-epic-state-D8D2Skiq.js";import{N as X}from"./NavigationArrow-CTNkKUtV-Cv--eO3H.js";import{x as ye}from"./NavigationDots-Dvce3gHt-B5IBT8ql.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]="2605821b-dade-43b3-bbf0-62bb810b8538",e._sentryDebugIdIdentifier="sentry-dbid-2605821b-dade-43b3-bbf0-62bb810b8538")}catch{}})();const I=(e,n)=>U`
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateX(${e==="right"?`-${n}%`:`${n}%`});
|
|
@@ -18,7 +18,7 @@ import{O,V as o,o as t,ag as P,e as v,D as ee,w as oe,aS as te,aT as re,aU as ne
|
|
|
18
18
|
width: ${t.sp7};
|
|
19
19
|
height: ${t.sp7};
|
|
20
20
|
border-radius: 50%;
|
|
21
|
-
border: 2px solid ${
|
|
21
|
+
border: 2px solid ${b.neutralGrey5Light};
|
|
22
22
|
`,$e=r.div`
|
|
23
23
|
display: flex;
|
|
24
24
|
align-items: center;
|
|
@@ -27,12 +27,12 @@ import{O,V as o,o as t,ag as P,e as v,D as ee,w as oe,aS as te,aT as re,aU as ne
|
|
|
27
27
|
gap: ${t.sp2};
|
|
28
28
|
margin-bottom: ${t.sp4};
|
|
29
29
|
padding: ${t.sp0} ${t.sp2};
|
|
30
|
-
`,
|
|
30
|
+
`,be=r(ge)`
|
|
31
31
|
text-align: center;
|
|
32
32
|
max-width: 222px;
|
|
33
33
|
white-space: pre-line;
|
|
34
34
|
color: ${e=>e.theme.colors.zeniAccountsPromoDetailTextColor};
|
|
35
|
-
`,
|
|
35
|
+
`,ve=r.div`
|
|
36
36
|
min-height: 95px;
|
|
37
37
|
display: flex;
|
|
38
38
|
flex-direction: column;
|
|
@@ -45,10 +45,10 @@ import{O,V as o,o as t,ag as P,e as v,D as ee,w as oe,aS as te,aT as re,aU as ne
|
|
|
45
45
|
`,w=r(te)`
|
|
46
46
|
${oe.accountsPromoHighlightText.css};
|
|
47
47
|
color: ${e=>e.theme.colors.zeniAccountsPromoCardHighlightText};
|
|
48
|
-
`,
|
|
48
|
+
`,je=r(ue)`
|
|
49
49
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
50
50
|
`,Ae=r(ae)`
|
|
51
|
-
color: ${
|
|
51
|
+
color: ${b.brandColorJade};
|
|
52
52
|
height: ${t.sp4};
|
|
53
53
|
width: ${t.sp4};
|
|
54
54
|
`,we=r(ne)`
|
|
@@ -82,14 +82,14 @@ import{O,V as o,o as t,ag as P,e as v,D as ee,w as oe,aS as te,aT as re,aU as ne
|
|
|
82
82
|
height: 34px;
|
|
83
83
|
width: ${t.sp5};
|
|
84
84
|
border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
|
|
85
|
-
background-color: ${
|
|
85
|
+
background-color: ${b.brandColorGold};
|
|
86
86
|
`,Ie=r.div`
|
|
87
87
|
display: flex;
|
|
88
88
|
align-items: center;
|
|
89
89
|
height: 34px;
|
|
90
90
|
width: 168px;
|
|
91
91
|
border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
|
|
92
|
-
background-color: ${
|
|
92
|
+
background-color: ${b.brandColorJade};
|
|
93
93
|
opacity: 0;
|
|
94
94
|
animation: ${I("right",100)} normal 0.5s 1
|
|
95
95
|
forwards;
|
|
@@ -98,12 +98,12 @@ import{O,V as o,o as t,ag as P,e as v,D as ee,w as oe,aS as te,aT as re,aU as ne
|
|
|
98
98
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
99
99
|
margin-left: ${t.sp3};
|
|
100
100
|
margin-right: ${t.sp1};
|
|
101
|
-
`,
|
|
101
|
+
`,W=r(G)`
|
|
102
102
|
color: ${e=>e.isZeniProgressBar?e.theme.colors.brandColorOnyx:e.theme.colors.primary};
|
|
103
103
|
`,Be=r.div`
|
|
104
104
|
width: 2px;
|
|
105
105
|
height: ${t.sp0};
|
|
106
|
-
background-color: ${
|
|
106
|
+
background-color: ${b.important};
|
|
107
107
|
transform: rotate(64deg);
|
|
108
108
|
position: absolute;
|
|
109
109
|
top: ${t.sp1};
|
|
@@ -111,7 +111,7 @@ import{O,V as o,o as t,ag as P,e as v,D as ee,w as oe,aS as te,aT as re,aU as ne
|
|
|
111
111
|
transform-origin: top;
|
|
112
112
|
animation: ${Ce} normal 0.6s 1 forwards;
|
|
113
113
|
animation-delay: 0.6s;
|
|
114
|
-
`,
|
|
114
|
+
`,Y=r.div`
|
|
115
115
|
opacity: 0;
|
|
116
116
|
transform: translateX(-50%);
|
|
117
117
|
animation: ${I("right",50)} normal 0.6s 1
|
|
@@ -148,7 +148,7 @@ import{O,V as o,o as t,ag as P,e as v,D as ee,w as oe,aS as te,aT as re,aU as ne
|
|
|
148
148
|
align-items: center;
|
|
149
149
|
margin-right: ${t.sp3};
|
|
150
150
|
${K}
|
|
151
|
-
background-color:${
|
|
151
|
+
background-color:${b.brandColorGold};
|
|
152
152
|
`,Le=r(ee)`
|
|
153
153
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
154
154
|
`,Ne=r(re)`
|
|
@@ -158,7 +158,7 @@ import{O,V as o,o as t,ag as P,e as v,D as ee,w as oe,aS as te,aT as re,aU as ne
|
|
|
158
158
|
path {
|
|
159
159
|
stroke-width: 2px;
|
|
160
160
|
}
|
|
161
|
-
`,Oe=(e,n)=>{const{common:a}=O.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((s,c)=>o.jsx(Me,{className:"card-highlight-text-stack",direction:s.direction,stepCount:s.stepCount,children:s.values.map((m,g)=>o.jsx(w,{className:"card-highlight-text",children:m},`${m}_${g}`))},`${s.direction}_${c}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(ke,{children:[o.jsx(we,{}),o.jsx(Ae,{})]}),o.jsx(De,{}),o.jsxs(Pe,{children:[o.jsxs(ze,{children:[o.jsx(Se,{}),o.jsxs(
|
|
161
|
+
`,Oe=(e,n)=>{const{common:a}=O.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((s,c)=>o.jsx(Me,{className:"card-highlight-text-stack",direction:s.direction,stepCount:s.stepCount,children:s.values.map((m,g)=>o.jsx(w,{className:"card-highlight-text",children:m},`${m}_${g}`))},`${s.direction}_${c}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(ke,{children:[o.jsx(we,{}),o.jsx(Ae,{})]}),o.jsx(De,{}),o.jsxs(Pe,{children:[o.jsxs(ze,{children:[o.jsx(Se,{}),o.jsxs(W,{isZeniProgressBar:!1,children:[n[0].values[0]," ",a.texts.insured]})]}),o.jsxs(Ie,{children:[o.jsx(Te,{children:n[0].values[1]}),o.jsx(W,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:a.texts.insured})]})]})]});case"freeWire":return o.jsxs(q,{style:{gap:t.sp2},children:[o.jsxs(w,{style:{position:"relative"},children:[n[0].values[0],o.jsx(Be,{})]}),o.jsx(w,{children:o.jsx(Y,{children:o.jsx(Ne,{})})}),o.jsx(w,{children:o.jsx(Y,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(_e,{children:[o.jsx(S,{style:{animationDelay:"0.2s"},children:o.jsx(_,{src:"https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png"})}),o.jsx(S,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(_,{src:"https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png"})}),o.jsx(S,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(_,{src:"https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png"})}),o.jsx(He,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(Le,{children:[" ",n[0].values[0]]})})]})}};let E;function Ue({zeniAccountsPromoCardContent:e,showConfetti:n}){const[a]=me("Confetti"),s=R(),[c,m]=N.useState(!1);N.useEffect(()=>(n&&(E=setTimeout(()=>{m(!0)},2e3)),()=>{clearTimeout(E),m(!1)}),[n]);const{prefix:g,header:l,headerAnimationData:h,showAnimation:y,key:x}=e;return o.jsxs($e,{children:[n&&c&&a!=null?o.jsx(he,{loop:!1,play:!0,onComplete:()=>{m(!1)},segments:[100,299],animationData:a,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(ve,{children:[l!=null?o.jsx(je,{children:l}):null,o.jsx(q,{children:y?Oe(x,h):null})]}),o.jsx(be,{themeContext:s,children:g})]})}const Fe=r(de)`
|
|
162
162
|
flex-wrap: wrap;
|
|
163
163
|
overflow: hidden;
|
|
164
164
|
& .styledNav {
|
|
@@ -190,12 +190,12 @@ import{O,V as o,o as t,ag as P,e as v,D as ee,w as oe,aS as te,aT as re,aU as ne
|
|
|
190
190
|
border: 1px solid
|
|
191
191
|
${e=>e.theme.colors.zeniAccountsPromoButtonHoverColor};
|
|
192
192
|
}
|
|
193
|
-
`,
|
|
193
|
+
`,We=r(J)`
|
|
194
194
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonTextColor};
|
|
195
|
-
`,
|
|
195
|
+
`,Ye=r.div`
|
|
196
196
|
margin-top: ${t.sp4};
|
|
197
197
|
margin-bottom: ${t.sp3};
|
|
198
|
-
`,
|
|
198
|
+
`,Ee=r(J)`
|
|
199
199
|
color: ${e=>e.theme.colors.zeniAccountsPromoCardTitle};
|
|
200
200
|
text-align: center;
|
|
201
201
|
`,Ge=r.div`
|
|
@@ -204,4 +204,4 @@ import{O,V as o,o as t,ag as P,e as v,D as ee,w as oe,aS as te,aT as re,aU as ne
|
|
|
204
204
|
bottom: 6px;
|
|
205
205
|
`,Re=r(G)`
|
|
206
206
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
207
|
-
`,k=O.getLocalizedStrings().zeniAccountsPromoCard;function Je({analytics:e,cardPosition:n,card:a,data:s,activeCardIndex:c,isZeniAccountsSetUp:m,handleLearnMoreClick:g,handleCardNavigation:l}){const h=R(),y=ce(),[x,u]=z.useState(0),[C,
|
|
207
|
+
`,k=O.getLocalizedStrings().zeniAccountsPromoCard;function Je({analytics:e,cardPosition:n,card:a,data:s,activeCardIndex:c,isZeniAccountsSetUp:m,handleLearnMoreClick:g,handleCardNavigation:l}){const h=R(),y=ce(),[x,u]=z.useState(0),[C,v]=z.useState(0),[T,j]=z.useState("left"),d=(p,f)=>{p.stopPropagation(),j(f);const Q=f=="left"?c+1:c-1;e.trackZeniAccountsPromoCardClick(n,f==="left"?"Next":"Back"),l(A(Q),f)};function A(p){return p<0?s.length+p:p%s.length}const B=s.length>1,F=fe(y.loggedInUserRoleMap);return o.jsx(Fe,{"data-testid":M("dashboard",a.cardType),style:{cursor:"default"},dimension:a.dimension,onTouchStart:p=>B?function(f){u(f.targetTouches[0].clientX)}(p):null,onTouchMove:p=>B?function(f){v(f.targetTouches[0].clientX)}(p):null,onTouchEnd:()=>B?void(x-C>50&&C!==0?(l(A(c+1),"left"),j("left"),u(0),v(0)):x-C<-50&&C!==0&&(l(A(c-1),"right"),j("right"),u(0),v(0))):null,children:o.jsxs(Ze,{children:[o.jsx(H,{children:o.jsx(X,{"data-testid":M("dashboard-navigation-arrow-left",a.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:d,promoColor:h.colors.zeniAccountsPromoButtonColor,promoBorderColor:h.colors.zeniAccountsPromoButtonColor})}),o.jsxs(H,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(Ye,{children:o.jsx(Ee,{children:k.title})}),s.map((p,f)=>o.jsx(le,{activeCardIndex:c,currentIndex:f,which:T,children:o.jsx(Ue,{zeniAccountsPromoCardContent:p,showConfetti:c===2})},p.key)),o.jsx(Xe,{onClick:()=>g(F?m?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(We,{children:F?m?k.button:k.signUp:k.learnMore})}),o.jsx(ye,{spendManagementPromoCardActive:!0,numberOfDots:s.length,activeIndex:c,handleClick:p=>{l(A(p),"left")},promoColor:h.colors.zeniAccountsPromoButtonColor,promoColorHover:h.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),c===0?o.jsx(Ge,{children:o.jsx(Re,{children:s[0].footer})}):null]}),o.jsx(H,{children:o.jsx(X,{"data-testid":M("dashboard-navigation-arrow-right",a.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:d,promoColor:h.colors.zeniAccountsPromoButtonColor,promoBorderColor:h.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:i,common:$}=O.getLocalizedStrings(),D={key:"keepInterest",title:i.title,prefix:i.keepInterest.prefixDashboard,header:i.keepInterest.header,headerAnimationData:[],footer:i.keepInterest.footer,showAnimation:!0},L={key:"protectCash",title:i.title,prefix:i.protectCash.prefix,headerAnimationData:[],showAnimation:!0},Ve=[{key:"noHiddenFees",title:i.title,prefix:i.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:i.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:i.title,prefix:i.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:i.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:i.title,prefix:i.expertSupport.prefix,header:i.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:i.expertSupport.headerAnimationData}],showAnimation:!0}];function Ke({card:e,data:n,analytics:a,actions:s,isZeniAccountsEnabled:c,columnKey:m,index:g,dndProps:l}){const[h,y]=N.useState(0),x=(m+1)*(g+1),{maxInsuredAmount:u,maxPossibleInterest:C,maxAnnualPercentageYield:v,maxCashBalanceAvailable:T=0}=n;D.headerAnimationData=qe(C??25e4),D.prefix=i.keepInterest.prefixDashboard.replace(/<amount>/,P("0,0",T,$.currency.currencySymbol).toUpperCase()),D.footer=i.keepInterest.footer.replace(/<interest>/,v.toString()),L.headerAnimationData=[{direction:"right",stepCount:1,values:[...i.protectCash.headerAnimationData,P(Z(u),u,$.currency.currencySymbol).toUpperCase()]}],L.prefix=i.protectCash.prefix.replace(/<amount>/,P(Z(u),u,$.currency.currencySymbol).toUpperCase());const j=[D,L,...Ve];return o.jsx(ie,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:d=>l?.onDragStart(e.cardType,d),onDragOver:d=>l?.onDragOver(d,e.cardType),onDragLeave:d=>l?.onDragLeave(d),onDrop:d=>l?.onDrop(d,e.cardType),dimension:e.dimension,children:o.jsx(xe,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(Je,{card:e,data:j,handleCardNavigation:d=>{y(d)},activeCardIndex:h,handleLearnMoreClick:d=>{a.trackZeniAccountsPromoCardClick(x,d),n.depositAccountId!=null?s.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):s.onCardBtnClick?.("zeni_accounts_promo_card")},isZeniAccountsSetUp:c&&n.depositAccountId!=null,analytics:a,cardPosition:x})})},e.cardIndex)}function qe(e){const n=[],a=P("0,0",Math.floor(e),$.currency.currencySymbol);for(let s=0;s<a.length;s++){const c=a[s],m={direction:"up",stepCount:0,values:[c]};if(c===$.currency.currencySymbol||c===$.strings.comma)n.push(m);else{const g=parseInt(a[s]),l=s===1&&g<=1?1:Math.floor(g/2),h=s%2==0?"down":"up",y=g-l,x=[];for(let u=0;u<=y;u++){const C=l+u;x.push(C.toString())}h==="down"&&x.reverse(),n.push({direction:h,stepCount:y,values:x})}}return n}z.memo(Ke);export{Oe as G,Ke as a,qe as c};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{y,e as S,a7 as T,w as d,V as m,iE as w,o as e,x as l,b as B,O as x,m as n}from"./index-BngCC-zG.js";import{a as C}from"./sentry-CHlUi953.js";import{n as I}from"./mui-DyGc7Pg8.js";import"./pdf-BxqSCr4b.js";import"./zeni-epic-state-D8D2Skiq.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="4d594a1a-3ec5-467f-aa31-d943c0a6adfb",t._sentryDebugIdIdentifier="sentry-dbid-4d594a1a-3ec5-467f-aa31-d943c0a6adfb")}catch{}})();const p={marginTop:new l(n[0],18),marginBottom:new l(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:j}=x.getLocalizedStrings(),W=({googleAPIKey:t,customAddress:s,customAddressStatus:a,onDismissClick:r,onSubmitHandler:c})=>{const u=y(),o=S(),i=T(a.fetchState);C.useEffect(()=>{i==="In-Progress"&&a.fetchState==="Completed"&&r()},[a.fetchState,r,i]);const f=o==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=o==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return m.jsx(v,{"data-testid":B("add-address-for-card-drawer"),children:m.jsx(w,{googleAPIKey:t,loadingState:a.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(o),marginBottom:p.marginBottom.valuePx(o),...b},subTitleStyles:{marginTop:e.sp0,marginBottom:e.sp0,...f,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:e.sp2,paddingRight:e.sp3},sectionStyles:{paddingTop:e.sp4,paddingBottom:e.sp4},footerButtons:{primaryButtonLabel:j.add,buttonWidth:82,separatorStyle:{marginRight:e.sp4}}})})},v=I.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
background-color: ${t=>t.theme.colors.grey4};
|
|
4
|
+
height: 100%;
|
|
5
|
+
width: 100%;
|
|
6
|
+
`;export{W as default};
|
package/dist/assets/{AddToWalletPage-CsOmzC7v-Cj06wdOf.js → AddToWalletPage-CyRfqVDB-DtRghMSs.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as E,h as re,_ as ne,O as L,V as i,a_ as le,m as p,ij as de,iB as pe,o as t,a as z,b as W,x as m,d as $,M as b,iC as ce,ik as he,bH as ge,f as s,iD as xe,aV as me,cn as we,l as ue,w as $e,ip as be}from"./index-BngCC-zG.js";import{a as g}from"./sentry-CHlUi953.js";import{n as o,c as A}from"./mui-DyGc7Pg8.js";import{F4 as ye}from"./zeni-epic-state-D8D2Skiq.js";import{t as fe,n as je,i as ve,a as Se,l as Ce,r as ke,A as Te}from"./add-to-wallet-DgdBD8_G-CV8RMwhX.js";import"./pdf-BxqSCr4b.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="027add54-4c7e-420d-9b35-e8ab73ae8f24",e._sentryDebugIdIdentifier="sentry-dbid-027add54-4c7e-420d-9b35-e8ab73ae8f24")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:n={},optionStyle:f={},thumbStyle:C={}})=>{const w=e.findIndex(l=>l.id===a),u=100/e.length;return i.jsxs(ze,{style:n,children:[i.jsx(We,{style:{width:u-1+"%",...w===0?{left:"1%"}:w===e.length-1?{left:(e.length-1)*u+"%"}:{left:w*u+"%"},...C}}),e.map(l=>i.jsx(Ae,{style:f,active:l.id===a,"data-testid":l.dataTestId,onClick:j=>{j.preventDefault(),h(l.id)},children:l.label},l.id))]})},ze=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: ${e=>e.theme.colors.grey3};
|
|
@@ -37,7 +37,7 @@ import{X as M,m as re,v as ne,O as N,V as i,a_ as le,j as p,il as de,iD as pe,o
|
|
|
37
37
|
transition: color 0.3s ease;
|
|
38
38
|
padding-top: ${t.sp1};
|
|
39
39
|
padding-bottom: ${t.sp1};
|
|
40
|
-
`,{spendManagement:{chargeCard:{chargeCardsPromo:D,cardDetails:d}}}=
|
|
40
|
+
`,{spendManagement:{chargeCard:{chargeCardsPromo:D,cardDetails:d}}}=L.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},De=(e,a,h)=>i.jsxs(ti,{translatePhone:e,showIphone:h,children:[i.jsxs(oi,{children:[i.jsx(hi,{children:D.timeText}),i.jsxs(ai,{children:[i.jsx(ri,{children:[...Array(4).keys()].map(n=>i.jsx(ni,{towerIndex:n},n))}),i.jsx(li,{children:i.jsx(S,{className:"wave",children:i.jsx(S,{className:"wave",children:i.jsx(S,{className:"wave"})})})}),i.jsx(di,{children:i.jsx(pi,{})}),i.jsx(ci,{})]})]}),i.jsxs(ii,{children:[i.jsxs(Ue,{children:[i.jsx(Ke,{showTick:a}),i.jsx(Qe,{showTick:a}),i.jsx(Ze,{showTick:a}),i.jsx(ei,{showTick:a}),i.jsxs(mi,{translateCardSkelton:e,children:[i.jsx(ui,{}),[...Array(4).keys()].map(n=>i.jsx(wi,{lineIndex:n},n))]}),a?null:i.jsx($i,{children:i.jsx(ce,{scannerTheme:"light"})})]}),i.jsx(gi,{showTick:a}),i.jsx(xi,{showTick:a,children:D.addToWallet})]}),i.jsx(si,{})]}),B=({tabType:e})=>{const a=E();return i.jsxs(Me,{children:[i.jsxs(R,{children:[i.jsx(Le,{children:i.jsx(Ne,{windowSize:a})}),i.jsx(H,{windowSize:a,children:d.openWalletAppOnPhone})]}),i.jsxs(M,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,i.jsx(F,{})]}),i.jsxs(R,{children:[i.jsx(Ee,{children:i.jsx(Ve,{windowSize:a})}),i.jsx(H,{windowSize:a,children:d.verifyCard})]}),i.jsxs(M,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,i.jsx(F,{})]})]})},Ei=({onGotItClick:e,isDebitCard:a,controllerEmails:h,classListFetchState:n,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:C,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,productInformation:l,creditAccountInformation:j,debitAccountInformation:N,chargeCardDetailView:V,creditAccount:G,creditAccountRepayment:_,cardIssuedByRoles:J,cardIssuedByDepartmentName:O,cardHolderRoles:X,cardHolderDepartmentName:Y})=>{const r=E(),q=re().analytics,[k,U]=g.useState(!1),[T,K]=g.useState(!1),[Q,Z]=g.useState(!1),[ee,ie]=g.useState(!1),[v,te]=g.useState("apple"),oe=ne(),ae=ye(oe.loggedInUserRoleMap);g.useEffect(()=>{setTimeout(()=>{U(!0)},a?9500:4500),setTimeout(()=>{K(!0)},a?9e3:4e3),setTimeout(()=>{Z(!0)},a?10500:5500),setTimeout(()=>{ie(!0)},a?15e3:1e4)},[a]);const se=k&&T,x=L.getLocalizedStrings().spendManagement.chargeCard;return i.jsx(ji,{windowSize:r,children:i.jsxs(Je,{children:[i.jsx(le,{navBarContainerStyles:{paddingTop:p[2],alignItems:"center",paddingBottom:p[2]},title:x.addToWallet.title,ignoreScrollAction:!0,showBackButton:!1,showMenuIcon:!1,transparentBackground:!0,source:"AddToWalletPage",style:{zIndex:3},titleStyle:{marginTop:p[0]}}),i.jsxs(Oe,{windowSize:r,children:[i.jsx(bi,{windowSize:r,children:x.addToWallet.heading}),i.jsx(yi,{windowSize:r,children:x.addToWallet.subheading})]}),i.jsxs(Xe,{windowSize:r,children:[r!=="small"?i.jsx(Si,{children:i.jsxs(Ye,{windowSize:r,children:[i.jsxs(qe,{windowSize:r,flipCard:k,scaleCard:T,children:[i.jsx(de,{isDebitCard:a}),i.jsx(pe,{showCrossIcon:!1,isDebitCard:a})]}),De(Q,ee,se)]})}):null,i.jsxs(Re,{windowSize:r,children:[i.jsx(He,{children:i.jsx(Ie,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:i.jsxs(i.Fragment,{children:[i.jsx(_e,{}),i.jsx(P,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:i.jsxs(i.Fragment,{children:[i.jsx(Ge,{}),i.jsx(P,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:t.sp4,paddingBottom:t.sp4},containerStyle:{border:t.sp0},selected:v,onToggle:I=>{he({chargeCardDetailView:V,classListFetchState:n,analytics:q,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:J,cardIssuedByDepartmentName:O,cardHolderRoles:X,cardHolderDepartmentName:Y,controllerEmails:h,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:l,creditAccountInformation:j,debitAccountInformation:N,isChargeCardFeatureEnabled:f,creditAccount:G,creditAccountRepayment:_}),te(I)}})}),i.jsxs(Be,{children:[i.jsx(Fe,{isActive:v==="apple",children:i.jsx(B,{tabType:"apple"})}),i.jsx(Pe,{isActive:v==="google",children:i.jsx(B,{tabType:"google"})})]}),r!=="small"?i.jsx(fi,{children:i.jsx(z,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":W("got-it-button-web")})}):null]})]}),r==="small"?i.jsx(vi,{children:i.jsx(z,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":W("got-it-button-mobile")})}):null]})})},Be=o.div`
|
|
41
41
|
display: flex;
|
|
42
42
|
position: relative;
|
|
43
43
|
width: 100%;
|
|
@@ -62,11 +62,11 @@ import{X as M,m as re,v as ne,O as N,V as i,a_ as le,j as p,il as de,iD as pe,o
|
|
|
62
62
|
min-height: 1px;
|
|
63
63
|
max-height: 1px;
|
|
64
64
|
margin: ${t.sp3} ${t.sp0};
|
|
65
|
-
`,
|
|
65
|
+
`,Re=o.div`
|
|
66
66
|
display: flex;
|
|
67
67
|
width: ${({windowSize:e})=>e==="small"?"100%":"369px"};
|
|
68
68
|
flex-direction: column;
|
|
69
|
-
`,
|
|
69
|
+
`,He=o.div`
|
|
70
70
|
display: flex;
|
|
71
71
|
height: ${t.sp8};
|
|
72
72
|
width: 100%;
|
|
@@ -78,32 +78,32 @@ import{X as M,m as re,v as ne,O as N,V as i,a_ as le,j as p,il as de,iD as pe,o
|
|
|
78
78
|
text-transform: none;
|
|
79
79
|
margin-left: ${t.sp2};
|
|
80
80
|
cursor: pointer;
|
|
81
|
-
`,
|
|
81
|
+
`,Me=o.div`
|
|
82
82
|
display: flex;
|
|
83
83
|
flex-direction: column;
|
|
84
84
|
margin-top: ${t.sp6};
|
|
85
|
-
`,
|
|
85
|
+
`,Ee=o.div`
|
|
86
86
|
padding: 12px;
|
|
87
87
|
border-radius: ${t.sp4};
|
|
88
88
|
background: ${s.successLight};
|
|
89
89
|
display: flex;
|
|
90
|
-
`,
|
|
90
|
+
`,Le=o.div`
|
|
91
91
|
padding: 12px;
|
|
92
92
|
border-radius: ${t.sp4};
|
|
93
93
|
background: ${e=>e.theme.colors.graphColor16Light};
|
|
94
94
|
display: flex;
|
|
95
|
-
`,
|
|
95
|
+
`,R=o.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
align-items: center;
|
|
98
98
|
gap: ${t.sp3};
|
|
99
|
-
`,
|
|
99
|
+
`,H=o(b)`
|
|
100
100
|
${({windowSize:e})=>y.walletTitleFont.style(e)}
|
|
101
101
|
color: ${e=>e.theme.colors.primary};
|
|
102
|
-
`,
|
|
102
|
+
`,M=o(b)`
|
|
103
103
|
${({windowSize:e})=>y.walletSubTitleFont.style(e)}
|
|
104
104
|
color: ${e=>e.theme.colors.hero};
|
|
105
105
|
margin-left: ${t.sp9};
|
|
106
|
-
`,
|
|
106
|
+
`,Ne=o(Te)`
|
|
107
107
|
width: ${({windowSize:e})=>c.openWalletIconWidthHeight.valuePx(e)};
|
|
108
108
|
height: ${({windowSize:e})=>c.openWalletIconWidthHeight.valuePx(e)};
|
|
109
109
|
color: ${e=>e.theme.colors.link};
|
|
@@ -341,4 +341,4 @@ import{X as M,m as re,v as ne,O as N,V as i,a_ as le,j as p,il as de,iD as pe,o
|
|
|
341
341
|
margin-right: -92px;
|
|
342
342
|
margin-top: -92px;
|
|
343
343
|
z-index: 5;
|
|
344
|
-
`;export{
|
|
344
|
+
`;export{Ei as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as e}from"./pdf-BxqSCr4b.js";import{A as s}from"./AddressScreen-Duz_V-eF.js";import i from"./NotFoundScreen-BOQb1xUE.js";import"./sentry-CHlUi953.js";import{R as a,m as r}from"./core-CVVdXRky.js";import"./zeni-epic-state-D8D2Skiq.js";import"./index-BngCC-zG.js";import"./mui-DyGc7Pg8.js";import"./recharts-CMjB5mmq.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="7ac0a9a3-44b6-4a4f-a315-142e9081120e",t._sentryDebugIdIdentifier="sentry-dbid-7ac0a9a3-44b6-4a4f-a315-142e9081120e")}catch{}})();function D(){return e.jsxs(a,{children:[e.jsx(r,{path:"/edit/:addressType/:addressId",element:e.jsx(s,{})}),e.jsx(r,{path:"/new/:addressType",element:e.jsx(s,{})}),e.jsx(r,{path:"*",element:e.jsx(i,{})})]})}export{D as default};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{j as d}from"./pdf-BxqSCr4b.js";import{a as b}from"./sentry-CHlUi953.js";import{j as P,i as j,h as _,l as E,u as M,k as D}from"./core-CVVdXRky.js";import{e as B,y as L,js as $,_ as H,jQ as K,bk as R,jz as C,J as m,jL as z,jD as h,jM as U}from"./index-BngCC-zG.js";import{HR as k,eq as q,ct as F,HS as G,bE as N,HT as O,hr as V}from"./zeni-epic-state-D8D2Skiq.js";import{n as J}from"./mui-DyGc7Pg8.js";import Q from"./NotFoundScreen-BOQb1xUE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1cf28a44-30b4-4cc4-b8d0-26532b4968e6",e._sentryDebugIdIdentifier="sentry-dbid-1cf28a44-30b4-4cc4-b8d0-26532b4968e6")}catch{}})();const W=J.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
height: 100vh;
|
|
4
|
+
width: 100%;
|
|
5
|
+
flex: 1 1 auto;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: center;
|
|
8
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
9
|
+
`,X=D(function(e,t){const{addressId:o,isSubPage:i,addressType:c}=t,l=F(e),a=t.roleMap!=null&&G(t.roleMap),r=i||c==="user_address"||N(l?.userRole??[])||a?void 0:"readonly";if(o==null){const s=O(c,e);return{addressToEdit:s?.addressToCreate,loadingState:s?.status?.fetchState,googleAPIKey:h.googleMapsAPIKey,isDisabled:r,isSubPage:i,dontShowSaveConfirmationPopup:t.dontShowSaveConfirmation}}const n=k(e,o);return{addressToEdit:n.address,loadingState:n.fetchState,googleAPIKey:h.googleMapsAPIKey,isDisabled:r}},function(e,t){const{navigate:o,location:i,addressType:c}=t,l=a=>{if(a==="express-pay")o("../express-pay/add-wire");else{const r=i.state,n=U(r?.pathnameStackToGoBack);let s=n.poppedPathname??w();const u=r?.queryParams;if(u){const g=new URLSearchParams(u).toString();g&&(s=`${s}?${g}`)}o(s,{state:{pathnameStackToGoBack:n.newStack}})}};return{onSubmitHandler:a=>{const r=Y(a);e(V({addressType:c,addressToCreate:r})),C?.trackSaveAddressClicked(m.Event.saveAddressClicked,{street:a.street.addressString,city:a.city,state:a.state,country:a.country.selectedOption??"",postalCode:a.postalCode,suite:a.suite,secondaryInfo:a.secondaryInfo}),l(t.bankAccountContext)},onCancel:()=>{l(t.bankAccountContext)}}})(z);function de({isSubPage:e,hideAddressSubTitle:t=!1,hideAddressBackButton:o=!1,dontShowSaveConfirmation:i,accountContext:c,addressTypeParam:l}){const a=P(),r=j(),n=_(),{addressId:s,addressType:u}=E(),g=B(),I=L(),v=$.getSignedInUser(),[f,x]=b.useState(s==null),p=M(S=>s!=null?k(S,s).fetchState:"Not-Started"),A=H();if(v==null)throw Error("Can't access address page without signing in...");const T=S=>S.trackPageLoaded(s!=null?m.Event.editAddress:m.Event.addAddress),y=l??u;return b.useEffect(()=>{f||s==null||(x(!0),r(q(s,!1)))},[f,s,r]),y==null||y.match(/(user_address|company_address|company_registered_address|vendor_address|officer_([1-9]|10)_address)$/g)?!f&&p==="Not-Started"||f&&p==="In-Progress"?d.jsx(K,{fetchState:p,style:{backgroundColor:I.colors.grey5}}):s!=null&&p==="Error"?(a(`${w(1)}/new`,{replace:!0}),d.jsx(d.Fragment,{})):d.jsxs(d.Fragment,{children:[d.jsx(R,{analytics:C,onLoad:T}),d.jsx(W,{windowSize:g,children:d.jsx(X,{location:n,navigate:a,isSubPage:e===!0,hideAddressBackButton:o,hideAddressSubTitle:t,addressId:s,addressType:y,dontShowSaveConfirmation:i,bankAccountContext:c,roleMap:A?.loggedInUserRoleMap})})]}):d.jsx(Q,{})}const w=(e=2)=>{let t="../";for(let o=0;o<e;o++)t=`${t}../`;return t},Y=e=>({street:[e.street.addressString,e.suite,e.secondaryInfo],city:e.city,state:e.state,country:e.country.selectedOption??"",countryCode:e.countryCode,postalCode:e.postalCode,latitude:e.street.addressValue?.locationLat,longitude:e.street.addressValue?.locationLng});export{de as A,Y as t};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import{y as Q,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O as S,o as $,ab as Be,m as c,a5 as ne,bJ as Ie,bK as Me,bL as $e,l as Ae,bH as Ye,an as de,S as ce,ad as ge}from"./index-BngCC-zG.js";import{a as y}from"./sentry-CHlUi953.js";import{n as x}from"./mui-DyGc7Pg8.js";import{bs as W,Gm as ze}from"./zeni-epic-state-D8D2Skiq.js";import{m as Le}from"./BusyIndication-9zDqSKBP-WSsX6_uU.js";import{h as Ee,g as Fe}from"./ZeniDatePicker-BHXPxPnI-CRe89Wst.js";import{n as K}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{L as Re,k as Te}from"./ArAgingChart-CBsqOd-4-CVCl4d59.js";import{C as pe}from"./NoDataChart-CrKeqWSr-aTXx8C4D.js";import{n as me,t as T}from"./CollapsableReportTable-DNfFkAts-CoCUKzx3.js";import{d as he}from"./NoDataTable-4vPXmPYF-MAxQ6k5D.js";import{l as ue}from"./mapSpacerToTreeNode-XgUp1xUb-VRJ6un-L.js";import{l as Ke}from"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";import"./pdf-BxqSCr4b.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";import"./chartTypes-CD3vrBsI-4eICteeW.js";import"./AccountRow-D1cjRJJD-Dsnq1o4t.js";import"./clock-CJkylEKt-o4osYW2f.js";import"./graphic-no-data-l-DU4J8fDt-CslJm2fU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="36fed5bd-660d-4778-865b-52d140211b54",e._sentryDebugIdIdentifier="sentry-dbid-36fed5bd-660d-4778-865b-52d140211b54")}catch{}})();const He={chartHeight:new M(288,360)},fe=x.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
`,ye=x.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
flex: 1 1 auto;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
height: ${e=>He.chartHeight.valuePx(e.windowSize)};
|
|
8
|
+
padding-bottom: ${$.sp6};
|
|
9
|
+
`;function Ue({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(qe,{report:e}):t.jsx(Ge,{report:e})}function qe({report:e}){const a=z();return e.agingBalances.length===0?t.jsx(fe,{children:t.jsx(pe,{title:S.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ye,{windowSize:a,children:t.jsx(de,{children:({height:o,width:r})=>t.jsx(Re,{isDetailPage:!0,report:e,width:r,height:o})})})}function Ge({report:e}){const a=z();return e.agingBalances.length===0?t.jsx(fe,{children:t.jsx(pe,{title:S.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ye,{windowSize:a,children:t.jsx(de,{children:({height:o,width:r})=>t.jsx(Te,{isDetailPage:!0,report:e,width:r,height:o})})})}function we({agingBalances:e,numOfBalances:a,title:o,isLastNode:r,config:s,parentNodeIDs:i,ancestorMetadata:m}){const l=T("aging_report_row",[],o),n={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a,metadata:m},config:s}},u=e.children.map((d,g)=>we({agingBalances:d,numOfBalances:a,title:d.customer.name,config:s,isLastNode:g===e.children.length-1,parentNodeIDs:[...i,l],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[...m.vendorOrCustomerAncestorMetadata,{depth:d.id.length-1,hasSibling:e.children.length>1,hasChildren:d.children.length>0,isLastNode:g===e.children.length-1,name:d.customer.name}]}}));return n.children.push(...u),e.children.length>0&&n.children.push(function({nestedCustomer:d,numOfBalances:g,title:p,config:b,parentNodeIDs:j,ancestorMetadata:w}){return{children:[],id:T("ac_subentity_total",j),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:p,data:d,numOfBalances:g,metadata:w},config:b}}}({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:i,ancestorMetadata:m})),n}function X({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??T("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function xe({title:e,balances:a,config:o,numOfBalances:r,nodeId:s}){return{children:[],id:s??T("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:r,data:a},config:o}}}const We=(e,a,o=!0)=>{const{agingPeriods:r,totalBalances:s,agingBalances:i}=e,m=r.length,l=X({agingPeriods:r,config:a}),n=[];n.push(l);const u=i.map((g,p)=>function({agingBalances:b,numOfBalances:j,title:w,isLastNode:L,config:_}){return{children:[],id:T("aging_report_row",[],w),isLastNode:L,reportElementData:{element:{kind:"aging_report_row",title:w,data:b,numOfBalances:j},config:_}}}({agingBalances:g,title:g.vendor.name,numOfBalances:m,isLastNode:p===i.length-1,config:a}));n.push(...u);const d=xe({title:S.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:m});return n.push(d),[...Array(1)].forEach((g,p)=>{n.push(ue({title:`${p}+${S.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:n}};function be(e,a,o,r=!0){Object.assign(e.config,a);const{agingPeriods:s}=o,i=X({agingPeriods:s,config:a});return{config:a,headerNodes:r?[i]:[],contentNodes:[i,...e.contentNodes.slice(1)]}}const Y={contentPaddingLeft:new M(c[0],c[0],c[0]),contentPaddingRight:new M(c[3],c[3],c[8]),wrapperPadding:new M(c[3],c[3],c[8])},H=x.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
position: sticky;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
padding-top: ${e=>Y.wrapperPadding.valuePx(e.windowSize)};
|
|
14
|
+
padding-left: ${e=>Y.wrapperPadding.valuePx(e.windowSize)};
|
|
15
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
16
|
+
`,Ce=x.div`
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: calc(100vh - ${$.sp11});
|
|
19
|
+
`;function Je({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r}){return e.reportId==="accounts_payable_aging"?t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Qe,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r})}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[r,s]=y.useState(void 0),[i,m]=y.useState(void 0),l=z(),n=Q(),u=!(l==="small"||l==="medium-compact"),d=y.useCallback((g,p)=>{a(g,p)},[a]);return y.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(i!=null&&ce(r,e)){const p=be(i,g,e,u);m(p)}else{const p=We(e,g,u);s(e),m(p)}},[e,d]),e.agingBalances.length===0?t.jsx(H,{windowSize:l,children:t.jsx(he,{})}):i!=null?t.jsx(H,{windowSize:l,children:t.jsx(Ce,{numOfRows:e.agingBalances.length,children:t.jsx(me,{backgroundColor:new ge(n.colors.grey4),rootNodes:i,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:Y.contentPaddingLeft.value(l),right:Y.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Qe({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r}){const[s,i]=y.useState(void 0),[m,l]=y.useState(void 0),n=z(),u=Q(),d=!(n==="small"||n==="medium-compact"),g=y.useCallback((p,b)=>{a(p,b)},[a]);return y.useEffect(()=>{const p={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:g,onEntityNameClick:o}};if(m!=null&&ce(s,e)){const b=be(m,p,e,d);l(b)}else{const b=((j,w,L=!0)=>{const{agingPeriods:_,totalBalances:U,agingBalances:h}=j,N=_.length,v=X({agingPeriods:_,config:w}),D=[];D.push(v);const E=h.map((k,P)=>we({agingBalances:k,title:k.customer.name,numOfBalances:N,isLastNode:P===h.length-1,config:w,parentNodeIDs:[],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[{depth:0,hasSibling:h.length>1,hasChildren:k.children.length>0,isLastNode:P===h.length-1}]}}));D.push(...E);const C=xe({title:S.getLocalizedStrings().chartCard.total,balances:U,config:w,numOfBalances:N});return D.push(C),[...Array(1)].forEach((k,P)=>{D.push(ue({title:`${P}+${S.getLocalizedStrings().common.loading}`,balances:[],config:w}))}),{config:w,headerNodes:L?[v]:[],contentNodes:D}})(e,p,d);i(e),l(b)}},[e,g]),e.agingBalances.length===0?t.jsx(H,{windowSize:n,children:t.jsx(he,{})}):m!=null?t.jsx(H,{windowSize:n,children:t.jsx(Ce,{numOfRows:e.agingBalances.length,children:t.jsx(me,{backgroundColor:new ge(u.colors.grey4),rootNodes:m,type:"name+balances_actual",isSticky:{isStickyHeader:d,isStickyName:d},treeNodePadding:{left:Y.contentPaddingLeft.value(n),right:Y.contentPaddingRight.value(n)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:r,compareMode:"compare_mode_amount"})})}):null}const Xe={summaryColumnGap:new M(c[2],c[1],c[1],c[2],c[6])},Ze=x.div`
|
|
20
|
+
display: flex;
|
|
21
|
+
width: 100%;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
align-items: center;
|
|
24
|
+
overflow: auto;
|
|
25
|
+
column-gap: ${e=>Xe.summaryColumnGap.valuePx(e.windowSize)};
|
|
26
|
+
`,re=x.div`
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
`,ie=x(Ae)`
|
|
32
|
+
color: ${e=>e.theme.colors.grey1};
|
|
33
|
+
text-wrap: nowrap;
|
|
34
|
+
width: fit-content;
|
|
35
|
+
`,se=x(Ye)`
|
|
36
|
+
color: ${e=>e.theme.colors.primary};
|
|
37
|
+
`;function et({totalBalances:e,reportId:a}){const o=y.useMemo(()=>Ke(e),[e]),r=z();return t.jsxs(Ze,{windowSize:r,children:[e.map(s=>{const{period:i}=s;return t.jsxs(re,{children:[t.jsx(ie,{children:S.getLocalizedStrings().reports.aging.duration[i]}),t.jsx(se,{children:ne("0,0",s?.balance)})]},i)}),t.jsxs(re,{children:[t.jsx(ie,{children:a==="accounts_payable_aging"?S.getLocalizedStrings().reports.aging.apAging.totalPayable:S.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(se,{children:ne("0,0",o?.balance)})]})]})}const V={wrapperPadding:new M(c[3],c[3],c[8]),navbarMarginBottom:new M(c[7],c[4])},{download:J,dateFormat:I,reports:{common:tt,aging:R}}=S.getLocalizedStrings();function Yt(e){const a=Q(),[o,r]=y.useState(!1),s=z(),{report:i,uiState:m,downloadParams:l,analytics:n,onSelectedDateChanged:u,onBackClick:d,onSearchTextChange:g,onReloadReport:p,onSortOrderChange:b,onEntityNameClick:j,updateDownloadStateHandler:w,onNodeCollapseToggled:L}=e,{fetchState:_,reportTitle:U,reportId:h}=i,{searchString:N,downloadState:v,sortKey:D,sortOrder:E,selectedDate:C,agingDateSelectionType:k}=m,{authParams:P,downloadEndPoint:Z,timezone:ee}=l,te=y.useCallback((f,O)=>{const B=le(O);u(f,B),n.trackAgingReportDateChange(K(h),C!=null?C.format(I.analytics.YYYYDashMMDashDDFormat):W().format(I.analytics.YYYYDashMMDashDDFormat),f.format(I.analytics.YYYYDashMMDashDDFormat),B)},[n,u,h,C]),ae=y.useCallback(f=>{const O=Ee({options:R.preComputedDurationOptions.map(({label:F,value:q})=>({label:F,value:ze(q)})).filter(({value:F})=>F!=null),selectedDate:f}),B=le(O);u(f,B),n.trackAgingReportDateChange(K(h),C!=null?C.format(I.analytics.YYYYDashMMDashDDFormat):W().format(I.analytics.YYYYDashMMDashDDFormat),f.format(I.analytics.YYYYDashMMDashDDFormat),B)},[n,u,h,C]),Se=y.useCallback((f,O)=>{b(f,O),n.trackAgingReportSortChange(K(h),O,f)},[n,b,h]),_e=y.useCallback(()=>t.jsx(Fe,{maxDate:W(),selectedDate:{date:C},precomputedOptionsProperties:{preComputedOptionSelected:dt(k),preComputedOptionDateFormat:I.visual.MMMDCommaYYYYformat,preComputedOptions:R.preComputedDurationOptions,onPreComputedOptionSelected:te},onSelectedDateChanged:ae}),[C,te,ae,k]);if(y.useEffect(()=>{o&&v!=="In-Progress"&&(r(!1),w("In-Progress"),async function(){const f={companyName:l.companyName,searchString:N,sortKey:D,sortOrder:E,statementFileType:"excel",timezone:ee,reportId:h==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:C};await async function(O,B,F){const q=`${O}?query=${encodeURIComponent(JSON.stringify(at(F)))}`,oe=R.arAging;try{const A=await Ie({urlEndPoint:q,authParams:B,fileType:"excel"});if(A.ok){const Ne=Me(A.headers,J.defaultFileName),Oe=await A.arrayBuffer();$e(Oe,Ne)}else console.error(`${J.errorMessages.fileDownloadError.replace("__feature__",oe.arAging)} ${A.statusText}`)}catch(A){console.error(`${J.errorMessages.fileDownloadError.replace("__feature__",oe.arAging)} ${JSON.stringify(A)}`)}}(Z,P,f),w("Completed"),n.trackAgingReportDownloadClick(K(h),D,E)}())},[P,Z,l.companyName,v,o,h,N,D,E,w,C,n,ee]),_==="Error")return t.jsxs(ot,{children:[t.jsx(nt,{onClick:p,children:t.jsx(je,{})}),t.jsx(rt,{children:tt.failed})]});const De=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(N?.length??0)>0,searchPlaceHolder:h==="accounts_payable_aging"?R.apAging.searchPlaceholder:R.arAging.searchPlaceholder,searchText:N??"",onSearchTextChanged:f=>{g(f)},downloadPresent:!0}),t.jsx(ke,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:v==="In-Progress"}],onDownloadClick:async f=>{if(f==="excel"){if(v==="In-Progress")return void console.log("Download is already in progress!");r(!0)}}}}})]});return t.jsxs(it,{children:[t.jsx(Pe,{title:U,subTitle:_e(),backgroundColor:a.colors.grey5,onBackClick:d,rightSideComponent:De,downloadPresent:!0,style:{marginBottom:V.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(G,{controller:_==="In-Progress"||_==="Not-Started",children:t.jsx(Le,{fetchState:_})}),t.jsxs(G,{controller:_==="Completed",children:[t.jsx(G,{controller:N.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(et,{reportId:h==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:i.totalBalances})}),t.jsx(Ue,{report:i})]})}),t.jsx(Je,{report:i,onSortOrderChange:Se,onEntityNameClick:j,onNodeCollapseToggled:L})]})]})}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:S.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const ot=x.div`
|
|
38
|
+
display: flex;
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: calc(100% - 60px);
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
align-items: center;
|
|
44
|
+
`,nt=x.div`
|
|
45
|
+
height: 96px;
|
|
46
|
+
width: 96px;
|
|
47
|
+
background: ${e=>e.theme.colors.background};
|
|
48
|
+
border-radius: 50%;
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
& svg {
|
|
51
|
+
margin: ${$.sp5};
|
|
52
|
+
color: ${e=>e.theme.colors.grey1};
|
|
53
|
+
}
|
|
54
|
+
&:hover {
|
|
55
|
+
& svg {
|
|
56
|
+
color: ${e=>e.theme.colors.primary};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
`,rt=x(Be)`
|
|
60
|
+
margin-top: ${$.sp3};
|
|
61
|
+
color: ${e=>e.theme.colors.hero};
|
|
62
|
+
`,it=x.div`
|
|
63
|
+
display: flex;
|
|
64
|
+
flex: 1 1 auto;
|
|
65
|
+
height: 100vh;
|
|
66
|
+
flex-direction: column;
|
|
67
|
+
width: 100%;
|
|
68
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
69
|
+
padding: ${$.sp0};
|
|
70
|
+
gap: 2px;
|
|
71
|
+
`,st=x.div`
|
|
72
|
+
margin-bottom: ${$.sp6};
|
|
73
|
+
`,lt=x.div`
|
|
74
|
+
position: relative;
|
|
75
|
+
box-shadow: ${e=>`2px 2px ${$.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
76
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
77
|
+
padding-left: ${e=>V.wrapperPadding.valuePx(e.windowSize)};
|
|
78
|
+
padding-right: ${e=>V.wrapperPadding.valuePx(e.windowSize)};
|
|
79
|
+
`,dt=e=>{switch(e){case"last_month":return"month";case"last_quarter":return"quarter";default:return}},le=e=>e==="month"?"last_month":e==="quarter"?"last_quarter":"custom_date";export{Yt as default,at as toDownloadAgingReportOptionsPayload};
|