@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{y as
|
|
1
|
+
import{y as F,O as S,V as t,f as m,S as Fe,an as Q,m as E,w as M,ag as Z,e as de,o as x,b as Ve,x as fe,b8 as ge,l as R,b9 as V,au as K}from"./index-BngCC-zG.js";import{a as z,b as ee}from"./sentry-CHlUi953.js";import{n as f}from"./mui-DyGc7Pg8.js";import{p as b,b as T,d as te,y as N,g as ae,u as W}from"./chartTypes-CD3vrBsI-4eICteeW.js";import{c as I,i as A,h as re}from"./toCOABalancesWithID-aLNB35t7-DBx2vR3D.js";import{V as J}from"./toChartData-DUL6vnzJ-CHvhrhF4.js";import{G as pe,K as oe,S as me,E as le,X as ne,Y as ce,F as se,H as xe,J as We}from"./recharts-CMjB5mmq.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]="a7901a1d-e333-4f4b-9d27-b4100dd3c040",e._sentryDebugIdIdentifier="sentry-dbid-a7901a1d-e333-4f4b-9d27-b4100dd3c040")}catch{}})();const q={legendLabelMarginLeft:new fe(2,2),legendLabelMarginRight:new fe(E[3],E[4])},Ke=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,He=f.div`
|
|
4
4
|
margin: ${x.sp2} ${x.sp0} ${x.sp2} ${x.sp0};
|
|
@@ -19,17 +19,17 @@ import{y as V,O as S,V as t,e as m,S as Ve,an as Q,j as E,w as M,ag as Z,X as de
|
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
21
|
justify-content: space-between;
|
|
22
|
-
`,
|
|
22
|
+
`,Ue=f(R)`
|
|
23
23
|
background-color: ${e=>e.color};
|
|
24
24
|
height: 12px;
|
|
25
25
|
width: 12px;
|
|
26
26
|
display: inline-block;
|
|
27
27
|
margin-right: ${x.sp2};
|
|
28
|
-
`,
|
|
28
|
+
`,Xe=f(R)`
|
|
29
29
|
text-align: left;
|
|
30
30
|
`,Je=f(R)`
|
|
31
31
|
text-align: right;
|
|
32
|
-
`,be=e=>e.map((a,o)=>t.jsxs(qe,{color:a.color,children:[t.jsxs(
|
|
32
|
+
`,be=e=>e.map((a,o)=>t.jsxs(qe,{color:a.color,children:[t.jsxs(Xe,{children:[t.jsx(Ue,{color:a.color}),`${a.barName}:`]}),t.jsx(Je,{children:`${W(a.value)}`})]},a.barName+o)),Qe=ee.memo(e=>{const a=(({active:o,payload:n})=>{const r=[];return n?.forEach(l=>{const i=l.name;if(o===!0){const u=l.payload,s=l.color,c=i!=null&&u.record[i]!=null?u.record[i].amount:void 0;r.push({barName:S.getLocalizedStrings().chartCard.cashInCashOut[T(i)],value:c,color:s})}}),r})({...e});return a.length===0?null:t.jsx(Ke,{children:t.jsxs(Ye,{children:[be(a.slice(0,a.length-1)),a.length?t.jsx(He,{}):null,be(a.slice(-1))]})})}),Ze=(e,a,o,n,r)=>{let l=[],i=[],u=[];o!=null&&o.balances.length>0&&(l=A("cash_in","actual",o)),n!=null&&n.balances.length>0&&(i=A("cash_out","actual",n)),r!=null&&r.balances.length>0&&(u=re("net_cash_flow","actual",r));const s=b("cash_in","actual"),c=b("cash_out","actual"),C=b("net_cash_flow","actual"),h=l.length>0?s:i.length>0?c:void 0,d={};return d[s]=l,d[c]=i,d[C]=u,h!=null?J(e,a,h,d):void 0},ye=[b("cash_in","actual"),b("cash_out","actual"),b("net_cash_flow","actual")],et=f.div`
|
|
33
33
|
width: ${e=>e.width}px;
|
|
34
34
|
height: ${e=>e.height}px;
|
|
35
35
|
|
|
@@ -42,7 +42,7 @@ import{y as V,O as S,V as t,e as m,S as Ve,an as Q,j as E,w as M,ag as Z,X as de
|
|
|
42
42
|
`,tt=f(ge)`
|
|
43
43
|
margin-left: ${e=>q.legendLabelMarginLeft.valuePx(e.windowSize)};
|
|
44
44
|
color: ${e=>e.theme.colors.primary};
|
|
45
|
-
`;function $a({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:u}){const s=
|
|
45
|
+
`;function $a({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:u}){const s=F(),c=z.useRef(!1);z.useEffect(()=>{c.current=!0},[]);const C=[s.colors.graphColor33,s.colors.graphColor36,s.colors.graphColor35],h=(y,j=s.colors.graphColor08)=>y<C.length?C[y]:j,d=Ze(e.firstMonthOfFY,ye,e.cashIn,e.cashOut,e.netCashFlow);return d==null?null:t.jsx(at,{chartData:d,timeframe:a,showBarHoverBackground:l,barElements:(()=>{const y=[];return ye.forEach((j,_)=>{const w=i===!0&&!c.current;y.push(t.jsx(oe,{name:j,animationDuration:w?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:$=>{const k=$.record;return(k[j]!=null&&k[j].amount!=null?k[j].amount:void 0)?.amount??0},fill:h(_)},j))}),y})(),customToolTipContent:({active:y,payload:j})=>t.jsx(Qe,{active:y,payload:j}),width:n,height:r,onCOABalancesRangeChanged:u,highlightedRange:o,isDetailPage:i===!0})}const at=({chartData:e,timeframe:a,barElements:o,customToolTipContent:n,highlightedRange:r,width:l,height:i,showBarHoverBackground:u,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const C=de(),h=F(),d=e.timeseries,y=te(e),j=d.map(k=>k.label),_=u!==!1,w=k=>{if(!s||k?.activePayload==null||k?.activePayload.length===0)return;const p=k.activePayload[0];if(p?.payload?.timeLabel?.label==null)return;const g=k.activeTooltipIndex,D=p.payload.timeLabel.label;if(r==null)return;const L=ae(D,j,r.numberOfPeriods),v=L[1]===void 0?j.length-1:j.indexOf(L[1]),B={...r,thisPeriod:{startDate:d[v].startDate,endDate:d[v].endDate}};c?.(d[g],a,B)},$=s?(l-60)/N.cash_in_cash_out*(N.cash_in_cash_out-e.recordByTimeseries.length):20;return t.jsx(et,{"data-testid":Ve("dashboard-cash-in-cash-out-timeframe",a),width:l,height:i,windowSize:C,children:t.jsx(Q,{children:({height:k,width:p})=>t.jsxs(We,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?E[10]:22,barGap:s?void 0:2,margin:{top:5,right:$,left:0,bottom:E[4]},height:k,width:p,style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[t.jsx(le,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:h.colors.grey3}),t.jsx(ne,{dataKey:g=>g.timeLabel.label,type:"category",axisLine:{stroke:h.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:h.colors.hero,...M.extraSmallRegular.cssObject}}),t.jsx(ce,{type:"number",axisLine:!1,tickLine:!1,tick:{color:h.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:g=>Z("0,0.[00]a",g,y)}),t.jsx(se,{wrapperStyle:{zIndex:2},cursor:!!_&&{stroke:h.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:h.colors.background},content:n,allowEscapeViewBox:{x:!1,y:!0}}),o,s?t.jsx(xe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:x.sp0},formatter:g=>t.jsx(tt,{windowSize:C,children:S.getLocalizedStrings().chartCard.cashInCashOut[T(g)]})}):null]})})})},rt=f.div`
|
|
46
46
|
display: flex;
|
|
47
47
|
`,ot=f.div`
|
|
48
48
|
flex: display;
|
|
@@ -60,7 +60,7 @@ import{y as V,O as S,V as t,e as m,S as Ve,an as Q,j as E,w as M,ag as Z,X as de
|
|
|
60
60
|
`,nt=ee.memo(e=>{const a=(({active:o,payload:n})=>{const r=[];return n?.forEach(l=>{const i=l.name;if(o===!0){const u=l.payload,s=l.color,c=i!=null&&u.record[i]!=null?u.record[i].amount:void 0;r.push({barName:S.getLocalizedStrings().reportTitleById.cash_position,value:c,color:s})}}),r})(e);return a.length===0?null:t.jsx(rt,{children:t.jsx(ot,{children:a.map((o,n)=>t.jsx(lt,{color:o.color,children:`${o.barName}: ${W(o.value)}`},o.barName+n))})})}),ct=(e,a,o)=>{let n=[];o!=null&&o.balances.length>0&&(n=I("cash_position","actual",o));const r=b("cash_position","actual"),l={};return l[r]=n,n.length>0?J(e,a,r,l):void 0},st=f.div`
|
|
61
61
|
width: ${e=>e.width}px;
|
|
62
62
|
height: ${e=>e.height}px;
|
|
63
|
-
`,Ce=[b("cash_position","actual")];function _a({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:u}){const s=
|
|
63
|
+
`,Ce=[b("cash_position","actual")];function _a({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:u}){const s=F(),c=z.useRef(!1);z.useEffect(()=>{c.current=!0},[]);const C=ct(e.firstMonthOfFY,Ce,e.cashPosition);return C==null?null:t.jsx(it,{chartData:C,timeframe:a,showBarHoverBackground:l,barElements:(()=>{const h=[];return Ce.forEach(d=>{const y=i===!0&&!c.current;h.push(t.jsx(oe,{name:d,animationDuration:y?500:void 0,style:{cursor:"pointer"},dataKey:j=>{const _=j.record;return(_[d]!=null&&_[d].amount!=null?_[d].amount:void 0)?.amount??0},fill:s.colors.graphColor17},d))}),h})(),customToolTipContent:({active:h,payload:d})=>t.jsx(nt,{active:h,payload:d}),width:n,height:r,onCOABalancesRangeChanged:u,highlightedRange:o,isDetailPage:i===!0})}const it=({chartData:e,timeframe:a,barElements:o,customToolTipContent:n,highlightedRange:r,width:l,height:i,showBarHoverBackground:u,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const C=F(),h=e.timeseries,d=te(e),y=h.map($=>$.label),j=u!==!1,_=$=>{if(!s||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const p=$.activeTooltipIndex,g=k.payload.timeLabel.label;if(r==null)return;const D=ae(g,y,r.numberOfPeriods),L=D[1]===void 0?y.length-1:y.indexOf(D[1]),v={...r,thisPeriod:{startDate:h[L].startDate,endDate:h[L].endDate}};c?.(h[p],a,v)},w=s?(l-60)/N.cash_position*(N.cash_position-e.recordByTimeseries.length):20;return t.jsx(st,{width:l,height:i,children:t.jsx(Q,{children:({height:$,width:k})=>t.jsxs(We,{width:k,height:$,data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:s?E[10]:30,margin:{top:5,right:w,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:_,children:[t.jsx(le,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:C.colors.grey3}),t.jsx(ne,{dataKey:p=>p.timeLabel.label,type:"category",axisLine:{stroke:C.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:C.colors.hero,...M.extraSmallRegular.cssObject}}),t.jsx(ce,{type:"number",axisLine:!1,tickLine:!1,tick:{color:C.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:p=>Z("0,0.[00]a",p,d)}),t.jsx(se,{wrapperStyle:{zIndex:2},cursor:!!j&&{stroke:C.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:C.colors.background},content:n,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})},ut=f.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
`,ht=f.div`
|
|
66
66
|
display: flex;
|
|
@@ -77,7 +77,7 @@ import{y as V,O as S,V as t,e as m,S as Ve,an as Q,j as E,w as M,ag as Z,X as de
|
|
|
77
77
|
text-align: right;
|
|
78
78
|
`,gt=f.div`
|
|
79
79
|
width: 132px;
|
|
80
|
-
`,
|
|
80
|
+
`,Te=f.div`
|
|
81
81
|
margin: ${x.sp2} ${x.sp0} ${x.sp2} ${x.sp0};
|
|
82
82
|
width: 100%;
|
|
83
83
|
height: 1px;
|
|
@@ -98,7 +98,7 @@ import{y as V,O as S,V as t,e as m,S as Ve,an as Q,j as E,w as M,ag as Z,X as de
|
|
|
98
98
|
flex-direction: column;
|
|
99
99
|
padding: ${x.sp3};
|
|
100
100
|
background-color: ${e=>e.theme.colors.black};
|
|
101
|
-
`,
|
|
101
|
+
`,Ne=f(R)`
|
|
102
102
|
color: ${e=>e.color??m.neutralGrey2Light};
|
|
103
103
|
text-align: left;
|
|
104
104
|
display: flex;
|
|
@@ -128,7 +128,7 @@ import{y as V,O as S,V as t,e as m,S as Ve,an as Q,j as E,w as M,ag as Z,X as de
|
|
|
128
128
|
`,ke=f(K)`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
|
-
`,ve=f(H)``,yt=({active:e,payload:a,mode:o})=>{const n=[],r={barName:S.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn,actual:void 0,color:m.neutralGrey2Dark,forecast:void 0};let l={amount:0,currencyCode:"",currencySymbol:""},i={amount:0,currencyCode:"",currencySymbol:""};b("income","actual");const u=b("cogs","actual"),s=b("expenses","actual"),c=b("net_burn_or_income","actual");return a?.forEach(C=>{const h=C.name;if(e===!0){const d=C.payload,y=C.color,j=h!=null&&d.record[h]!=null?d.record[h].amount:void 0;let _;if(h.includes("forecast")!==!0)switch(o==="forecast_mode"&&(_=d.record[h]!=null?((w,$)=>{const k=b(
|
|
131
|
+
`,ve=f(H)``,yt=({active:e,payload:a,mode:o})=>{const n=[],r={barName:S.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn,actual:void 0,color:m.neutralGrey2Dark,forecast:void 0};let l={amount:0,currencyCode:"",currencySymbol:""},i={amount:0,currencyCode:"",currencySymbol:""};b("income","actual");const u=b("cogs","actual"),s=b("expenses","actual"),c=b("net_burn_or_income","actual");return a?.forEach(C=>{const h=C.name;if(e===!0){const d=C.payload,y=C.color,j=h!=null&&d.record[h]!=null?d.record[h].amount:void 0;let _;if(h.includes("forecast")!==!0)switch(o==="forecast_mode"&&(_=d.record[h]!=null?((w,$)=>{const k=b(T(w),"forecast");if($.record[k]==null)return;const p=$.record[w].amount,g=$.record[k].amount,D=Math.floor(100*(p.amount-g.amount)/100);return{value:g,change:{...p,amount:D},percent:g.amount!==0?Math.floor((p.amount-g.amount)/g.amount*100)/100:void 0,forecastPercent:$.record[k].percentValue}})(h,d):void 0),h){case u:case s:j!=null&&(l.currencyCode===""?l={...j}:l.amount=l.amount+j.amount),_!=null&&(i.currencyCode===""?i={..._.value}:i.amount=i.amount+_.value.amount),n.push({barName:S.getLocalizedStrings().chartCard.netBurnOrIncome[T(h)],actual:j,forecast:_,color:y});break;case c:{const w=j!=null&&j.amount>=0?S.getLocalizedStrings().chartCard.netBurnOrIncome.net_income:S.getLocalizedStrings().chartCard.netBurnOrIncome.net_burn;n.push({barName:w,actual:j,color:y,percent:d.record[h]?.percentValue,forecast:_});break}default:n.push({barName:S.getLocalizedStrings().chartCard.netBurnOrIncome[T(h)],actual:j,color:y,forecast:_})}}}),r.actual=l,r.forecast=i!=null&&l!=null?{value:i,change:{...l,amount:Math.floor(100*(l.amount-i.amount)/100)},percent:i.amount!==0?Math.floor((l.amount-i.amount)/i.amount*100)/100:0}:void 0,e===!0&&n.splice(n.length-1,0,r),n},we=e=>e.map((a,o)=>t.jsxs(Ne,{color:a.color,showPercent:a.percent!=null,children:[t.jsxs(xt,{children:[t.jsx(Ee,{color:a.barName===S.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":a.color}),`${a.barName}:`]}),t.jsxs(bt,{children:[t.jsx(je,{children:`${W(a.actual)}`}),a.percent!=null?t.jsx(je,{children:V("0,0.0%",a.percent)}):null]})]},a.barName+o)),$e=e=>e.map((a,o)=>t.jsxs(Ne,{color:a.color,showPercent:a.percent!=null,children:[t.jsxs(ft,{children:[t.jsx(Ee,{color:a.barName===S.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":a.color}),`${a.barName}:`]}),t.jsx(H,{children:t.jsxs(ke,{children:[a.actual!=null?`${W(a.actual)}`:"-",t.jsx(ve,{children:a.percent!=null?V("0,0.0%",a.percent):null})]})}),t.jsx(H,{children:t.jsxs(ke,{children:[a.forecast!=null?`${W(a.forecast.value)}`:"-",t.jsx(ve,{children:a.forecast!=null&&a.forecast.forecastPercent!=null?V("0,0.0%",a.forecast.forecastPercent):null})]})}),a.forecast!=null?t.jsx(H,{isChange:!0,children:`${W(a.forecast.change)}`}):t.jsx(H,{children:"-"}),a.forecast!=null?t.jsx(H,{isChange:!0,children:V("0,0.0%",a.forecast.percent)}):t.jsx(H,{children:"-"})]},a.barName+o)),Ct=e=>{if(e.length>0){for(const a of e)if(a.actual!=null)return a.actual.currencySymbol}return""},jt=({barLabelsWithValues:e})=>t.jsxs(ht,{children:[t.jsxs(dt,{children:[t.jsx(gt,{}),t.jsx(ie,{children:S.getLocalizedStrings().chartCard.tooltip.actual}),t.jsx(ie,{children:S.getLocalizedStrings().chartCard.tooltip.forecast}),t.jsxs(ie,{children:[S.getLocalizedStrings().chartCard.tooltip.change," ",Ct(e)]}),t.jsx(ie,{children:S.getLocalizedStrings().chartCard.tooltip.change_percent})]}),t.jsxs(mt,{children:[$e(e.slice(0,e.length-2)),e.length?t.jsx(Te,{}):null,$e(e.slice(-2))]})]}),kt=({barLabelsWithValues:e})=>t.jsx(ut,{children:t.jsxs(pt,{children:[we(e.slice(0,e.length-2)),e.length?t.jsx(Te,{}):null,we(e.slice(-2))]})}),vt=ee.memo(e=>{const a=yt({...e});return a.length===0?null:t.jsx(t.Fragment,{children:e.mode==="forecast_mode"?t.jsx(jt,{barLabelsWithValues:a}):t.jsx(kt,{barLabelsWithValues:a})})}),wt=(e,a,o,n,r,l,i)=>{let u=[],s=[],c=[],C=[];n!=null&&n.balances.length>0&&(u=A("income","actual",n)),r!=null&&r.balances.length>0&&(s=A("cogs","actual",r)),l!=null&&l.balances.length>0&&(c=I("expenses","actual",l)),i!=null&&i.balances.length>0&&(C=re("net_burn_or_income","actual",i));const h=b("income","actual"),d=b("cogs","actual"),y=b("expenses","actual"),j=b("net_burn_or_income","actual"),_=u.length>0?h:s.length>0?d:c.length>0?y:void 0,w={};return w[h]=u,w[d]=s,w[y]=c,w[j]=C,o==="forecast_mode"&&Object.assign(w,$t(n,r,l,i)),_!=null?J(e,a,_,w):void 0},$t=(e,a,o,n)=>{let r=[],l=[],i=[],u=[];e!=null&&e.balances.length>0&&(r=A("income","forecast",e)),a!=null&&a.balances.length>0&&(l=A("cogs","forecast",a)),o!=null&&o.balances.length>0&&(i=I("expenses","forecast",o)),n!=null&&n.balances.length>0&&(u=re("net_burn_or_income","forecast",n));const s=b("income","forecast"),c=b("cogs","forecast"),C=b("expenses","forecast"),h=b("net_burn_or_income","forecast"),d={};return d[s]=r,d[c]=l,d[C]=i,d[h]=u,d},_t=[b("income","actual"),b("cogs","actual"),b("expenses","actual"),b("net_burn_or_income","actual")],Lt=[b("income","actual"),b("cogs","actual"),b("expenses","actual"),b("net_burn_or_income","actual"),b("income","forecast"),b("cogs","forecast"),b("expenses","forecast"),b("net_burn_or_income","forecast")],Dt=f.div`
|
|
132
132
|
width: ${e=>e.width}px;
|
|
133
133
|
height: ${e=>e.height}px;
|
|
134
134
|
|
|
@@ -141,7 +141,7 @@ import{y as V,O as S,V as t,e as m,S as Ve,an as Q,j as E,w as M,ag as Z,X as de
|
|
|
141
141
|
`,St=f(ge)`
|
|
142
142
|
margin-left: ${e=>q.legendLabelMarginLeft.valuePx(e.windowSize)};
|
|
143
143
|
color: ${e=>e.theme.colors.primary};
|
|
144
|
-
`;function
|
|
144
|
+
`;function La({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,mode:u,onCOABalancesRangeChanged:s}){const c=F(),C=z.useRef(!1);z.useEffect(()=>{C.current=!0},[]);const h=[c.colors.graphColor36,c.colors.graphColor06,c.colors.graphColor31,c.colors.graphColor12],d=[c.colors.graphColor04,c.colors.graphColor10,c.colors.graphColor32,c.colors.graphColor13,c.colors.graphColor04Dark,c.colors.graphColor10Dark,c.colors.graphColor32Dark,c.colors.graphColor13Dark],y=u==="forecast_mode"?d:h,j=u==="forecast_mode"?Lt:_t,_=(p,g=c.colors.graphColor04)=>p<y.length?y[p]:g,w=(e.reportId,wt(e.firstMonthOfFY,j,u,e.sections.income,e.sections.cogs,e.sections.expenses,e.calculatedSections.netBurnOrIncome)),$=p=>{const{cx:g,cy:D,fill:L,stroke:v,value:B}=p;return B==null?t.jsx(t.Fragment,{}):t.jsx("circle",{cx:g,cy:D,r:4,stroke:L,strokeWidth:2,fill:v})},k=p=>{const{cx:g,cy:D,fill:L,stroke:v,value:B}=p;return B==null?t.jsx(t.Fragment,{}):t.jsx("circle",{cx:g,cy:D,r:5,stroke:v,strokeWidth:2,fill:L})};return w==null?null:t.jsx(Bt,{chartData:w,timeframe:a,showBarHoverBackground:l,barElements:(()=>{const p=[];return j.forEach((g,D)=>{const L=i===!0&&!C.current;g.endsWith("_forecast")?p.push(((v,B)=>t.jsx(pe,{name:v,type:"monotone",legendType:"plainline",isAnimationActive:!1,dataKey:P=>{const O=P.record;return(O[v]!=null&&O[v].amount!=null?O[v].amount:void 0)?.amount},dot:t.jsx($,{}),strokeWidth:1.5,stroke:_(B),strokeDasharray:"3 3",activeDot:t.jsx(k,{})},v))(g,D)):p.push(((v,B,P)=>t.jsx(oe,{name:v,animationDuration:P?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:O=>{const G=O.record;return(G[v]!=null&&G[v].amount!=null?G[v].amount:void 0)?.amount??0},fill:_(B)},v))(g,D,L))}),p})(),customToolTipContent:({active:p,payload:g})=>t.jsx(vt,{active:p,payload:g,mode:u}),width:n,height:r,onCOABalancesRangeChanged:s,highlightedRange:o,isDetailPage:i===!0})}const Bt=({chartData:e,timeframe:a,barElements:o,customToolTipContent:n,highlightedRange:r,width:l,height:i,showBarHoverBackground:u,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const C=de(),h=F(),d=te(e),y=e.timeseries,j=y.map(k=>k.label),_=u!==!1,w=k=>{if(!s||k?.activePayload==null||k?.activePayload.length===0)return;const p=k.activePayload[0];if(p?.payload?.timeLabel?.label==null)return;const g=k.activeTooltipIndex,D=p.payload.timeLabel.label;if(r==null)return;const L=ae(D,j,r.numberOfPeriods),v=L[1]===void 0?j.length-1:j.indexOf(L[1]),B={...r,thisPeriod:{startDate:y[v].startDate,endDate:y[v].endDate}};c?.(y[g],a,B)},$=s?(l-60)/N.net_burn_or_income*(N.net_burn_or_income-e.recordByTimeseries.length):20;return t.jsx(Dt,{width:l,height:i,windowSize:C,children:t.jsx(Q,{children:({height:k,width:p})=>t.jsxs(me,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?E[10]:22,barGap:s?void 0:2,margin:{top:5,right:$,left:0,bottom:E[4]},height:k,width:p,style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[t.jsx(le,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:h.colors.grey3}),t.jsx(ne,{dataKey:g=>g.timeLabel.label,type:"category",axisLine:{stroke:h.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:h.colors.hero,...M.extraSmallRegular.cssObject}}),t.jsx(ce,{type:"number",axisLine:!1,tickLine:!1,tick:{color:h.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:g=>Z("0,0.[00]a",g,d)}),t.jsx(se,{wrapperStyle:{zIndex:2},cursor:!!_&&{stroke:h.colors.background,strokeWidth:(p-60)/N.net_burn_or_income,fill:h.colors.background},content:n,allowEscapeViewBox:{x:!1,y:!0}}),o,s?t.jsx(xe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:x.sp0},iconSize:E[3],formatter:g=>t.jsx(St,{windowSize:C,children:g.endsWith("_forecast")===!0?S.getLocalizedStrings().chartCard.netBurnOrIncome[g]:S.getLocalizedStrings().chartCard.netBurnOrIncome[T(g)]})}):null]})})})},zt=f.div`
|
|
145
145
|
display: flex;
|
|
146
146
|
`,Pt=f.div`
|
|
147
147
|
flex: display;
|
|
@@ -171,14 +171,14 @@ import{y as V,O as S,V as t,e as m,S as Ve,an as Q,j as E,w as M,ag as Z,X as de
|
|
|
171
171
|
`,Wt=f.div`
|
|
172
172
|
display: flex;
|
|
173
173
|
flex-direction: column;
|
|
174
|
-
`,
|
|
174
|
+
`,Tt=f.div`
|
|
175
175
|
display: flex;
|
|
176
176
|
background-color: ${e=>e.theme.colors.black};
|
|
177
177
|
opacity: 0.85;
|
|
178
178
|
border-radius: ${x.sp1} ${x.sp1} ${x.sp0} ${x.sp0};
|
|
179
179
|
color: ${e=>e.theme.colors.grey1};
|
|
180
180
|
padding: ${x.sp3};
|
|
181
|
-
`,
|
|
181
|
+
`,Nt=f.div`
|
|
182
182
|
flex: display;
|
|
183
183
|
opacity: 0.85;
|
|
184
184
|
width: 500px;
|
|
@@ -189,13 +189,13 @@ import{y as V,O as S,V as t,e as m,S as Ve,an as Q,j as E,w as M,ag as Z,X as de
|
|
|
189
189
|
`,Et=f(R)`
|
|
190
190
|
text-align: left;
|
|
191
191
|
width: 162px;
|
|
192
|
-
`,
|
|
192
|
+
`,U=f(K)`
|
|
193
193
|
text-align: right;
|
|
194
194
|
flex: 1;
|
|
195
|
-
`,Gt=(e,a)=>{const o=b(
|
|
195
|
+
`,Gt=(e,a)=>{const o=b(T(e),"forecast");if(a.record[o]==null)return;const n=a.record[e].amount,r=a.record[o].amount;return{value:r,change:{...n,amount:r!=null?Math.floor(100*(n.amount-r.amount)/100):n.amount},percent:r!=null&&r.amount!==0?Math.floor((n.amount-r.amount)/r.amount*100)/100:void 0}},Le=e=>t.jsxs(Ot,{color:e.color,children:[t.jsx(Et,{children:`${e.barName}:`}),t.jsx(U,{children:e.actual!=null?`${W(e.actual)}`:"-"}),t.jsx(U,{children:e.forecast!=null?`${W(e.forecast.value)}`:"-"}),e.forecast!=null?t.jsx(U,{isChange:!0,children:`${W(e.forecast.change)}`}):t.jsx(U,{children:"-"}),e.forecast!=null?t.jsx(U,{isChange:!0,children:V("0,0.0%",e.forecast.percent)}):t.jsx(U,{children:"-"})]}),It=e=>{if(e.length>0){for(const a of e)if(a.actual!=null)return a.actual.currencySymbol}return""},Mt=({barLabelsWithValues:e})=>t.jsx(zt,{children:t.jsxs(Pt,{children:[t.jsx(_e,{color:e[0].color,children:`${e[0].barName}: ${W(e[0].actual)}`}),t.jsx(Ge,{}),t.jsx(_e,{children:`${S.getLocalizedStrings().chartCard.total}: ${W(e[1].actual)}`})]})}),At=({barLabelsWithValues:e})=>t.jsxs(Wt,{children:[t.jsxs(Tt,{children:[t.jsx(Rt,{}),t.jsx(ue,{children:S.getLocalizedStrings().chartCard.tooltip.actual}),t.jsx(ue,{children:S.getLocalizedStrings().chartCard.tooltip.forecast}),t.jsxs(ue,{children:[S.getLocalizedStrings().chartCard.tooltip.change," ",It(e)]}),t.jsx(ue,{children:S.getLocalizedStrings().chartCard.tooltip.change_percent})]}),t.jsxs(Nt,{children:[Le(e[0]),t.jsx(Ge,{}),Le(e[1])]})]}),Ft=ee.memo(e=>{const a=(({active:o,payload:n,barName:r})=>{const l=[];if(n!=null&&o===!0){const i=n.filter(C=>C.name==r)[0],u=i.payload,s=i.color,c=r!=null&&u.record[r]!=null?u.record[r].amount:void 0;if(!r?.endsWith("_forecast")){let C;if(r.includes("forecast")!==!0){C=u.record[r]!=null?Gt(r,u):void 0;const h={amount:0,currencyCode:"",currencySymbol:""},d={amount:0,currencyCode:"",currencySymbol:""};let y;for(y in u.record){const w=u.record[y].amount;y.endsWith("_actual")?(h.amount+=u.record[y].amount?.amount??0,h.currencyCode=w!=null?w.currencyCode:h.currencyCode,h.currencySymbol=w!=null?w.currencySymbol:h.currencySymbol):y.endsWith("_forecast")&&(d.amount+=u.record[y].amount?.amount??0,d.currencyCode=w!=null?w.currencyCode:d.currencyCode,d.currencySymbol=w!=null?w.currencySymbol:d.currencySymbol)}const j=Math.floor(100*(h?.amount-d?.amount)/100),_={value:d,change:{...h,amount:j},percent:d.amount!==0?Math.floor((h.amount-d.amount)/d.amount*100)/100:0};l.push({barName:T(r),actual:c,forecast:C,color:s}),l.push({barName:S.getLocalizedStrings().chartCard.total,actual:h,forecast:_,color:m.neutralGrey1Light})}}}return l})({...e});return a.length===0?null:t.jsx(t.Fragment,{children:e.mode==="forecast_mode"?t.jsx(At,{barLabelsWithValues:a}):t.jsx(Mt,{barLabelsWithValues:a})})}),Vt=(e,a)=>{const o=[],n={};let r;return a!=null&&a.classes.length!=0&&a.classes.forEach(l=>{const i=I(l.class.className,"actual",l.childrenBalancesTotal),u=b(l.class.className,"actual");n[u]=i,o.push(u),r==null&&i.length>0&&(r=b(l.class.className,"actual"))}),r!=null?J(e,o,r,n):void 0},De=[m.graphColor34,m.graphColor05,m.graphColor08,m.graphColor11,m.graphColor13,m.graphColor19,m.graphColor29,m.graphColor28,m.graphColor20,m.graphColor21,m.graphColor22,m.graphColor14,m.graphColor35,m.graphColor31,m.graphColor33,m.graphColor32,m.graphColor36,m.graphColor02,m.graphColor06,m.graphColor04,m.graphColor10,m.graphColor12,m.graphColor15,m.graphColor18,m.graphColor17,m.graphColor07,m.graphColor34Dark,m.graphColor05Dark,m.graphColor08Dark,m.graphColor11Dark,m.graphColor13Dark,m.graphColor19Dark,m.graphColor29Dark,m.graphColor28Dark,m.graphColor20Dark,m.graphColor21Dark,m.graphColor22Dark,m.graphColor14Dark,m.graphColor35Dark,m.graphColor31Dark,m.graphColor33Dark,m.graphColor32Dark,m.graphColor36Dark,m.graphColor02Dark,m.graphColor06Dark,m.graphColor04Dark,m.graphColor10Dark,m.graphColor12Dark,m.graphColor15Dark,m.graphColor18Dark,m.graphColor17Dark,m.graphColor07Dark];class Y{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=m.graphColor34,this._barColors=De.slice(),this._barColorsKeyWise=new Map}static#e=new Y;getBarColor(a){const o=Y.instance();return o._barColorsKeyWise.has(a)||(o._barColors.length===0&&(o._barColors=De.slice()),o._barColorsKeyWise.set(a,o._barColors.shift()??o._defaultColor)),o._barColorsKeyWise.get(a)}shouldUpdate(a){const o=Y.instance(),n=Array.from(o._barColorsKeyWise.keys()).sort();return!Fe(n,a)}static init(){return this.#e=new Y,this.#e}static instance(){return this.#e}}const Kt=Y.instance(),Ht=(e,a,o)=>{const n=[],r={};let l,i=!1;if(o!=null&&o.accountGroups.length!=0?o.accountGroups.forEach(u=>{const s=I(u.accountGroupName,"actual",u),c=b(u.accountGroupName,"actual");r[c]=s,n.push(c),l==null&&s.length>0&&(l=b(u.accountGroupName,"actual"))}):o!=null&&o.accounts.length!=0&&(i=!0,o.accounts.forEach(u=>{const s=I(u.account.accountName,"actual",u.account.balancesInTimeframe),c=b(u.account.accountName,"actual");r[c]=s,n.push(c),l==null&&s.length>0&&(l=b(u.account.accountName,"actual"))})),o!=null&&o.accountGroups.length===0&&o.accounts.length===0){const u=S.getLocalizedStrings().chartCard.total,s=I(u,"actual",o);if(s.length!==0){const c=b(u,"actual");r[c]=s,l=c,n.push(c)}}return a==="forecast_mode"&&Object.assign(r,Yt(n,o)),l!=null?J(e,n,l,r,i):void 0},Yt=(e,a)=>{const o={};let n;if(a!=null&&a.accountGroups.length!=0?a.accountGroups.forEach(r=>{const l=I(r.accountGroupName,"forecast",r),i=b(r.accountGroupName,"forecast");o[i]=l,e.push(i),n==null&&l.length>0&&(n=b(r.accountGroupName,"forecast"))}):a!=null&&a.accounts.length!=0&&a.accounts.forEach(r=>{const l=I(r.account.accountName,"forecast",r.account.balancesInTimeframe),i=b(r.account.accountName,"forecast");o[i]=l,e.push(i),n==null&&l.length>0&&(n=b(r.account.accountName,"forecast"))}),a!=null&&a.accountGroups.length===0&&a.accounts.length===0){const r=S.getLocalizedStrings().chartCard.total,l=I(r,"forecast",a);if(l.length!==0){const i=b(r,"forecast");o[i]=l,n=i,e.push(i)}}return o},qt=f.div`
|
|
196
196
|
width: ${e=>e.width}px;
|
|
197
197
|
height: ${e=>e.height}px;
|
|
198
|
-
`,
|
|
198
|
+
`,Ut=e=>{const{cx:a,cy:o,fill:n,stroke:r,value:l}=e;return l==null?t.jsx(t.Fragment,{}):t.jsx("circle",{cx:a,cy:o,r:4,stroke:n,strokeWidth:2,fill:r})},Xt=e=>{const{cx:a,cy:o,fill:n,stroke:r,value:l}=e;return l==null?t.jsx(t.Fragment,{}):t.jsx("circle",{cx:a,cy:o,r:5,stroke:r,strokeWidth:2,fill:n})};function Da({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,mode:u,onCOABalancesRangeChanged:s}){const c=z.useRef(!1),[C,h]=z.useState(Kt),[d,y]=z.useState(void 0),j=F(),_=z.useRef([]);z.useEffect(()=>{c.current=!0},[]),z.useEffect(()=>{C.shouldUpdate(_.current)===!0&&h(Y.init())},[]),z.useEffect(()=>{let p=[];if(e.reportId==="operating_expenses"){const g=e.sections.expenses;g.accountGroups.length===0&&g.accounts.length===0?p.push(S.getLocalizedStrings().chartCard.total):p=g.accountGroups.length!=0?g.accountGroups.map(D=>D.accountGroupName).sort():g.accounts.map(D=>D.account).map(D=>D.accountName).sort()}else p=e.sections.expenses.classes.map(g=>g.class.className).sort();_.current=p},[e,C]);const w=z.useMemo(()=>e.reportId==="operating_expenses"?Ht(e.firstMonthOfFY,u,e.sections.expenses):Vt(e.firstMonthOfFY,e.sections.expenses),[e,u]),$=z.useCallback(()=>{const p=[];return w?.orderedKeys.forEach(g=>{const D=!c.current;g.endsWith("_forecast")?p.push((L=>t.jsx(pe,{name:L,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:t.jsx(Ut,{}),activeDot:t.jsx(Xt,{}),dataKey:v=>{const B=v.record;let P,O;for(O in B)if(O.endsWith("_forecast")){const G=B[O].amount;G!=null&&(P==null?P={...G}:P.amount+=G.amount)}return P?.amount},stroke:j.colors.grey1,strokeDasharray:"3 3",strokeWidth:1.5},L))(g)):p.push(((L,v)=>t.jsx(oe,{name:L,animationDuration:v?500:void 0,style:{cursor:"pointer"},dataKey:B=>{const P=B.record;return(P[L]!=null&&P[L].amount!=null?P[L].amount:void 0)?.amount??0},stackId:"a",fill:C.getBarColor(T(L)),onMouseEnter:()=>{d!==L&&y(L)},onMouseLeave:()=>{d!=null&&y(void 0)}},L))(g,D))}),p},[w]),k=({active:p,payload:g})=>g?.find(D=>D.name===d)!=null&&d!=null&&p===!0?t.jsx(Ft,{active:p,payload:g,mode:u,barName:d}):null;return w==null?null:t.jsx(Jt,{chartData:w,timeframe:a,showBarHoverBackground:l,barElements:$(),customToolTipContent:t.jsx(k,{}),width:n,height:r,onCOABalancesRangeChanged:s,highlightedRange:o,isDetailPage:i===!0})}const Jt=({chartData:e,timeframe:a,barElements:o,customToolTipContent:n,highlightedRange:r,width:l,height:i,showBarHoverBackground:u,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const C=F(),h=te(e),d=e.timeseries,y=d.map($=>$.label),j=u!==!1,_=$=>{if(!s||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const p=$.activeTooltipIndex,g=k.payload.timeLabel.label;if(r==null)return;const D=ae(g,y,r.numberOfPeriods),L=D[1]===void 0?y.length-1:y.indexOf(D[1]),v={...r,thisPeriod:{startDate:d[L].startDate,endDate:d[L].endDate}};c?.(d[p],a,v)},w=s?(l-60)/N.operating_expenses*(N.operating_expenses-e.recordByTimeseries.length):20;return t.jsx(qt,{width:l,height:i,children:t.jsx(Q,{children:({height:$,width:k})=>t.jsxs(me,{width:k,height:$,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:s?E[10]:30,margin:{top:5,right:w,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:_,children:[t.jsx(le,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:C.colors.grey3}),t.jsx(ne,{dataKey:p=>p.timeLabel.label,type:"category",axisLine:{stroke:C.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:C.colors.hero,...M.extraSmallRegular.cssObject}}),t.jsx(ce,{type:"number",axisLine:!1,tickLine:!1,tick:{color:C.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:p=>Z("0,0.[00]a",p,h)}),t.jsx(se,{wrapperStyle:{zIndex:2},cursor:!!j&&{stroke:C.colors.background,strokeWidth:(k-60)/N.operating_expenses,fill:C.colors.background},content:n,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})},Qt=f.div`
|
|
199
199
|
display: flex;
|
|
200
200
|
`,Zt=f.div`
|
|
201
201
|
display: flex;
|
|
@@ -256,14 +256,14 @@ import{y as V,O as S,V as t,e as m,S as Ve,an as Q,j as E,w as M,ag as Z,X as de
|
|
|
256
256
|
text-align: right;
|
|
257
257
|
`,Se=f(K)`
|
|
258
258
|
text-align: right;
|
|
259
|
-
`,
|
|
259
|
+
`,X=f(K)`
|
|
260
260
|
text-align: right;
|
|
261
261
|
flex: 1;
|
|
262
262
|
color: ${e=>e.isChange!=null&&e.isChange===!0?m.important:null};
|
|
263
263
|
`,Be=f(K)`
|
|
264
264
|
display: flex;
|
|
265
265
|
flex-direction: column;
|
|
266
|
-
`,ze=f(K)``,ca=({active:e,payload:a,mode:o})=>{const n=[];let r={amount:0,currencyCode:""},l={amount:0,currencyCode:""};const i=b("gross_margin","actual");return a?.forEach(u=>{const s=u.name;if(e===!0){const c=u.payload,C=u.color,h=s!=null&&c.record[s]!=null?c.record[s].amount:void 0;let d;s.includes("forecast")!==!0&&(o==="forecast_mode"&&(d=c.record[s]!=null?((y,j)=>{const _=b(
|
|
266
|
+
`,ze=f(K)``,ca=({active:e,payload:a,mode:o})=>{const n=[];let r={amount:0,currencyCode:""},l={amount:0,currencyCode:""};const i=b("gross_margin","actual");return a?.forEach(u=>{const s=u.name;if(e===!0){const c=u.payload,C=u.color,h=s!=null&&c.record[s]!=null?c.record[s].amount:void 0;let d;s.includes("forecast")!==!0&&(o==="forecast_mode"&&(d=c.record[s]!=null?((y,j)=>{const _=b(T(y),"forecast");if(j.record[_]==null)return;const w=j.record[y].amount,$=j.record[_].amount;return{value:$,change:{...w,amount:Math.floor(100*(w.amount-$.amount)/100)},percent:$.amount!==0?Math.floor((w.amount-$.amount)/$.amount*100)/100:void 0,forecastPercent:j.record[_].percentValue}})(s,c):void 0),s===i?(h!=null&&(r.currencyCode===""?r={...h}:r.amount=r.amount+h.amount),d!=null&&(l.currencyCode===""?l={...d.value}:l.amount=l.amount+d.value.amount),n.push({barName:S.getLocalizedStrings().chartCard.revenue[T(s)],actual:h,forecast:d,percent:c.record[s]!=null?c.record[s].percentValue??0:0,color:C})):n.push({barName:S.getLocalizedStrings().chartCard.revenue[T(s)],actual:h,color:C,forecast:d}))}}),n},Pe=e=>e.map((a,o)=>t.jsxs(Me,{color:a.color,showPercent:a.percent!=null,children:[t.jsxs(la,{children:[t.jsx(Ae,{color:a.color}),`${a.barName}:`]}),t.jsxs(na,{children:[t.jsx(Se,{children:`${W(a.actual)}`}),a.percent!=null?t.jsx(Se,{children:V("0,0.0%",a.percent)}):null]})]},a.barName+o)),Re=e=>e.map((a,o)=>t.jsxs(Me,{color:a.color,showPercent:a.percent!=null,children:[t.jsxs(ra,{children:[t.jsx(Ae,{color:a.color}),`${a.barName}:`]}),t.jsx(X,{children:t.jsxs(Be,{children:[a.actual!=null?`${W(a.actual)}`:"-",t.jsx(ze,{children:a.percent!=null?V("0,0.0%",a.percent):null})]})}),t.jsx(X,{children:t.jsxs(Be,{children:[a.forecast!=null?`${W(a.forecast.value)}`:"-",t.jsx(ze,{children:a.forecast!=null&&a.forecast.forecastPercent!=null?V("0,0.0%",a.forecast.forecastPercent):null})]})}),a.forecast!=null?t.jsx(X,{isChange:!0,children:`${W(a.forecast.change)}`}):t.jsx(X,{children:"-"}),a.forecast!=null?t.jsx(X,{isChange:!0,children:V("0,0.0%",a.forecast.percent)}):t.jsx(X,{children:"-"})]},a.barName+o)),sa=e=>{if(e.length>0){for(const a of e)if(a.actual!=null)return a.actual.currencySymbol}return""},ia=({barLabelsWithValues:e})=>t.jsxs(Zt,{children:[t.jsxs(ea,{children:[t.jsx(ta,{}),t.jsx(he,{children:S.getLocalizedStrings().chartCard.tooltip.actual}),t.jsx(he,{children:S.getLocalizedStrings().chartCard.tooltip.forecast}),t.jsxs(he,{children:[S.getLocalizedStrings().chartCard.tooltip.change," ",sa(e)]}),t.jsx(he,{children:S.getLocalizedStrings().chartCard.tooltip.change_percent})]}),t.jsxs(aa,{children:[Re(e.slice(0,e.length-1)),e.length?t.jsx(Ie,{}):null,Re(e.slice(-1))]})]}),ua=({barLabelsWithValues:e})=>t.jsx(Qt,{children:t.jsxs(oa,{children:[Pe(e.slice(0,e.length-1)),e.length?t.jsx(Ie,{}):null,Pe(e.slice(-1))]})}),ha=ee.memo(e=>{const a=ca({...e});return a.length===0?null:t.jsx(t.Fragment,{children:e.mode==="forecast_mode"?t.jsx(ia,{barLabelsWithValues:a}):t.jsx(ua,{barLabelsWithValues:a})})}),Oe=(e,a,o,n,r,l)=>{let i=[],u=[],s=[];n!=null&&n.balances.length>0&&(i=A("income","actual",n)),r!=null&&r.balances.length>0&&(u=A("cogs","actual",r)),l!=null&&l.balances.length>0&&(s=re("gross_margin","actual",l));const c=b("income","actual"),C=b("cogs","actual"),h=b("gross_margin","actual"),d=i.length>0?c:u.length>0?C:h,y={};return y[c]=i,y[C]=u,y[h]=s,o==="forecast_mode"&&Object.assign(y,da(n,r,l)),d!=null?J(e,a,d,y):void 0},da=(e,a,o)=>{let n=[],r=[],l=[];e!=null&&e.balances.length>0&&(n=A("income","forecast",e)),a!=null&&a.balances.length>0&&(r=A("cogs","forecast",a)),o!=null&&o.balances.length>0&&(l=re("gross_margin","forecast",o));const i=b("income","forecast"),u=b("cogs","forecast"),s=b("gross_margin","forecast"),c={};return c[i]=n,c[u]=r,c[s]=l,c},ga=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual")],pa=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual"),b("income","forecast"),b("cogs","forecast"),b("gross_margin","forecast")],ma=f.div`
|
|
267
267
|
width: ${e=>e.width}px;
|
|
268
268
|
height: ${e=>e.height}px;
|
|
269
269
|
|
|
@@ -277,4 +277,4 @@ import{y as V,O as S,V as t,e as m,S as Ve,an as Q,j as E,w as M,ag as Z,X as de
|
|
|
277
277
|
margin-left: ${e=>q.legendLabelMarginLeft.valuePx(e.windowSize)};
|
|
278
278
|
margin-right: ${e=>q.legendLabelMarginRight.valuePx(e.windowSize)};
|
|
279
279
|
color: ${e=>e.theme.colors.primary};
|
|
280
|
-
`;function Sa({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,mode:u,onCOABalancesRangeChanged:s}){const c=
|
|
280
|
+
`;function Sa({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,mode:u,onCOABalancesRangeChanged:s}){const c=F(),C=z.useRef(!1);z.useEffect(()=>{C.current=!0},[]);const h=[c.colors.graphColor26,c.colors.graphColor17,c.colors.graphColor12],d=[c.colors.graphColor28,c.colors.graphColor17,c.colors.graphColor10,c.colors.graphColor28Dark,c.colors.graphColor17Dark,c.colors.graphColor10Dark],y=u==="forecast_mode"?d:h,j=u==="forecast_mode"?pa:ga,_=(p,g=c.colors.graphColor28)=>p<y.length?y[p]:g,w=e.reportId==="revenue"?Oe(e.firstMonthOfFY,j,u,e.sections?.income,e.sections?.cogs,e.calculatedSections?.grossMargin):Oe(e.firstMonthOfFY,j,u,e.sections.income,e.sections.cogs,e.calculatedSections.grossMargin),$=p=>{const{cx:g,cy:D,fill:L,stroke:v,value:B}=p;return B==null?t.jsx(t.Fragment,{}):t.jsx("circle",{cx:g,cy:D,r:4,stroke:L,strokeWidth:2,fill:v})},k=p=>{const{cx:g,cy:D,fill:L,stroke:v,value:B}=p;return B==null?t.jsx(t.Fragment,{}):t.jsx("circle",{cx:g,cy:D,r:5,stroke:v,strokeWidth:2,fill:L})};return w==null?null:t.jsx(fa,{chartData:w,timeframe:a,showBarHoverBackground:l,barElements:(()=>{const p=[];return j.forEach((g,D)=>{const L=i===!0&&!C.current;g.endsWith("_forecast")?p.push(((v,B)=>t.jsx(pe,{name:v,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:t.jsx($,{}),activeDot:t.jsx(k,{}),dataKey:P=>{const O=P.record;return(O[v]!=null&&O[v].amount!=null?O[v].amount:void 0)?.amount},stroke:_(B),strokeDasharray:"3 3",strokeWidth:1.5},v))(g,D)):p.push(((v,B,P)=>t.jsx(oe,{name:v,animationDuration:P?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:O=>{const G=O.record;return(G[v]!=null&&G[v].amount!=null?G[v].amount:void 0)?.amount??0},fill:_(B)},v))(g,D,L))}),p})(),customToolTipContent:({active:p,payload:g})=>t.jsx(ha,{active:p,payload:g,mode:u}),width:n,height:r,onCOABalancesRangeChanged:s,highlightedRange:o,isDetailPage:i===!0})}const fa=({chartData:e,timeframe:a,barElements:o,customToolTipContent:n,highlightedRange:r,width:l,height:i,showBarHoverBackground:u,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const C=de(),h=F(),d=te(e),y=e.timeseries,j=y.map(k=>k.label),_=u!==!1,w=k=>{if(!s||k?.activePayload==null||k?.activePayload.length===0)return;const p=k.activePayload[0];if(p?.payload?.timeLabel?.label==null)return;const g=k.activeTooltipIndex,D=p.payload.timeLabel.label;if(r==null)return;const L=ae(D,j,r.numberOfPeriods),v=L[1]===void 0?j.length-1:j.indexOf(L[1]),B={...r,thisPeriod:{startDate:y[v].startDate,endDate:y[v].endDate}};c?.(y[g],a,B)},$=s?(l-60)/N.revenue*(N.revenue-e.recordByTimeseries.length):20;return t.jsx(ma,{width:l,height:i,windowSize:C,children:t.jsx(Q,{children:({height:k,width:p})=>t.jsxs(me,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?E[10]:22,barGap:s?void 0:2,margin:{top:5,right:$,left:0,bottom:E[4]},height:k,width:p,style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[t.jsx(le,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:h.colors.grey3}),t.jsx(ne,{dataKey:g=>g.timeLabel.label,type:"category",axisLine:{stroke:h.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:h.colors.hero,...M.extraSmallRegular.cssObject}}),t.jsx(ce,{type:"number",axisLine:!1,tickLine:!1,tick:{color:h.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:g=>Z("0,0.[00]a",g,d)}),t.jsx(se,{wrapperStyle:{zIndex:2},cursor:!!_&&{stroke:h.colors.background,strokeWidth:(p-60)/N.revenue,fill:h.colors.background},content:n,allowEscapeViewBox:{x:!1,y:!0}}),o,s?t.jsx(xe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:x.sp0},iconSize:E[3],formatter:g=>t.jsx(xa,{windowSize:C,children:g.endsWith("_forecast")===!0?S.getLocalizedStrings().chartCard.revenue[g]:S.getLocalizedStrings().chartCard.revenue[T(g)]})}):null]})})})};export{$a as G,La as H,_a as P,Sa as X,Da as Y};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{X as wt,v as $t,x as u,eL as vt,eM as jt,eN as St,V as t,eO as Ct,eP as ie,eQ as Tt,eR as Dt,eS as It,eT as Pt,a5 as k,eU as kt,E as v,eV as Mt,eW as Be,eX as Fe,eY as Re,w as K,d2 as O,e as j,eZ as At,e_ as E,d8 as V,e$ as Bt,f0 as Ft,bo as Le,o as n,a9 as Rt,j as d,O as Lt,u as Nt,bx as zt,N as Ot,d as Et,f1 as Vt,bH as _t,l as ce,H as me,f2 as Yt,f3 as Zt,aD as Gt,n as Ut,at as Ht,f4 as Kt,D as tt,b6 as qt,C as nt,aR as Wt,f5 as Xt}from"./index-DBW4633P.js";import{a as Y}from"./sentry-DINNQYpi.js";import{n as a}from"./mui-C_CXevf3.js";import{cp as Ne,ci as ze,bU as D,c3 as Jt,G0 as Qt,bG as re,c5 as en}from"./zeni-epic-state-a7Sj5mjO.js";import{t as tn,o as nn}from"./LowBalancePopup-C2vHKMNF-B1dLaV9R.js";import{S as _}from"./LabeledText-DGZ7hxY4-BoX7lemD.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="b51c070f-1855-4311-b71a-0a45c4443964",e._sentryDebugIdIdentifier="sentry-dbid-b51c070f-1855-4311-b71a-0a45c4443964")}catch{}})();const at=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},an={sectionTitle:new Ot("h6Medium","h5Medium")},{dateFormat:Oe,common:{currency:$,labels:Ee,edit:on,strings:{empty:g}},spendManagement:{billPay:ln}}=Lt.getLocalizedStrings(),{billDetails:o,paymentDetails:Ve}=ln,_e=({attachment:e})=>{const[y,x]=Y.useState(!1),M=e.fileId?.length===0;return t.jsxs(Fn,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>M===!1?x(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Yt,{title:e.fileName,file:e,onCrossClick:()=>{x(!1)},setShowFullScreenView:x}):null,t.jsx(Rn,{children:t.jsx(Zt,{contentType:e.contentType})})]})},ia=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:A,isLocalCurrencyEnabled:ot,style:lt,analytics:w,isRecurringBillsFeatureEnabled:it,isApprovalRequiredForMarkAsPaid:rt,isDetectInsufficientFundsEnabled:st,billId:b,onClickEdit:pe,discardBillDetailsFromLocalStore:ue,saveBillDetails:ye,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:he,redirectToBillsScreen:ge,onAttachmentClick:J,retryPayment:ct})=>{const s=wt(),c=$t(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:b},F=x&&b!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(s),I=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,i=vt(A,ot,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),S=Oe.visual.MMMDCommaYYYYformat,xe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},p={amount:i?.method.includes("international")===!0?jt(xe,i):e.recipientTotalAmount.amount+(i?.fee.amount??0),currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},N={amount:i?.method.includes("international")===!0?St(xe,i):i?.fee.amount??0,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},[mt,fe]=Y.useState(!1),[te,be]=Y.useState(!1),we=()=>fe(!1),pt=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${o.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Mn,{size:s,children:t.jsx(kn,{})})]}):Ct(e.paymentDetailsSection?.paymentTo);Y.useEffect(()=>{(I?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(ue(),he(),ge())},[I,Q,ge,ue,he]);const P=e.billPayInfo?.stage,z=e.billPayInfo?.billStatus,Z=e.billPayInfo?.billPaymentStatus,ut=e.billPayInfo?.billPaymentRefundStatus,ne=P?.code==="paid"?P:z?.code=="approved"&&Z?.code?Z:z,yt=e.billPayInfo?.isRefundInitiated===!0?ut:z?.code=="approved"&&Z?.code?Z:z,ae=()=>{pe()},$e=()=>{pe()},G=e.paymentDetailsSection?.paymentDate,oe=ie(i?.method??""),ve=oe.replace("Same Day",""),ht=e.isCollectToAccountInfoFromVendorContact?t.jsx(Tt,{paymentTypeLabel:ve,onClick:()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),fe(!0)}}):o.addedByZeni,U=y.allApprovalRules.length>0,gt=Ne(i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?p.amount-N.amount:p.amount,i?.fee.currencyCode??ze.currencyCode,i?.fee.currencySymbol??ze.currencySymbol),f=Jt(e.paymentDetailsSection?.paymentType?.method),je=()=>{be(!0),w.trackBillPayMarkAsPaid(P?.code??"draft",ne?.code??"")},C=f,h=C&&!rt,Se=Ye(h,U,e.isBillMarkedForRetry),le=st&&e.paymentDetailsSection!=null?Dt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,Ce=()=>{Te===!0&&H(!1),e.isBillMarkedForRetry===!0?(ct(),w.trackRetryConfirmClick(ne?.code??"",P?.code??"",yt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&((()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,T=e.recurringConfig,ft=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(b??"new_bill"),i?.method!=null&&l!=null){const bt=f?o.paymentOutsideZeni.offline:ie(i.method);if(w.trackBillPaySendForApproval(bt,l.format(Oe.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,b,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:re(T?.startDate?.toString()??"").format(S),endDate:re(T?.endDate?.toString()??"").format(S),frequency:T?.frequency??"monthly",totalAmount:ft.amount,totalPaymentCycles:T?.totalPaymentCycles??0,isApprovalRequired:T?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?T?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?T?.updateRecurringBills==="all":void 0}),le!=null){const De=P?.code??"draft",Ie=z?.code??"",Pe=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Me=Xt(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Se===o.scheduleBill?w.trackLowBalanceAccountSchedule(De,Ie,Pe,ke,Me,Ae):Se===o.sendForApproval&&w.trackLowBalanceAccountSentForApproval(De,Ie,Pe,ke,Me,Ae)}}})(),ye(!1,{}))},xt=Qt(p.amount,y.allApprovalRules,c.loggedInUser),[Te,H]=Y.useState(!1);return t.jsxs(gn,{children:[te?t.jsx(tn,{onCancel:()=>{dt(),be(!1)},onProceedForMarkAsPaid:l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",P?.code??"draft",ne?.code??""),ye(!0,l)},saveDetailsFetchState:I?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(nn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Ce,onCancelClick:()=>{H(!1),ae()},onClickAway:()=>{H(!1)}}):null,t.jsx(It,{anchor:"right",open:mt,onClose:we,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Pt,{companyName:kt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:G?.format(S)??"",paymentType:ve,amount:k("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:we})}),t.jsxs(xn,{windowSize:s,style:lt,children:[s==="small"?t.jsxs(Pn,{windowSize:s,children:[t.jsx(We,{onClick:$e,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(Ue,{windowSize:s,children:o.oneLastLook})]}):t.jsx(In,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(We,{onClick:$e})}),s!=="small"?t.jsx(bn,{children:t.jsx(Ue,{windowSize:s,children:o.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(wn,{children:[t.jsxs($n,{children:[t.jsx(Vn,{}),t.jsxs(vn,{children:[t.jsx(Sn,{children:o.duplicateBillPayWarning}),t.jsxs(jn,{children:[o.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>J(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[o.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(zn,{children:[t.jsx(En,{children:o.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Mt(l);return l!=null?t.jsx(On,{children:at.includes(s)?t.jsxs(He,{windowSize:s,children:[t.jsxs(Cn,{children:[t.jsxs(Tn,{children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Xe,{children:t.jsx(Je,{})}),t.jsx(W,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?o.invoiceNo:null,l.documentId]})})]}),t.jsx(Qe,{windowSize:s,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Ln,{"data-testid":v("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(W,{children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(He,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Xe,{children:t.jsx(Je,{})}),t.jsxs(Nn,{"data-testid":v("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(W,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?o.invoiceNo:null," ",l.documentId]})}),t.jsxs(W,{style:{width:"25%"},children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(Qe,{style:{width:"25%"},windowSize:s,children:k("0,0[.]00",l.amount)})]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Dn,{children:[t.jsx(Ke,{children:o.pay}),t.jsx(qe,{children:t.jsx(Re,{amount:gt,integerStyles:K.largeMedium.cssObject,decimalStyles:K.smallMedium.cssObject})}),t.jsx(Ke,{children:o.to}),t.jsx(qe,{children:e.vendor?.name})]}),t.jsxs(fn,{children:[f?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:V({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(_,{label:{label:o.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?At(e.paymentDetailsSection.withdrawFrom,s):g,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},additionalInfoLabel:le})}),t.jsx(q,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:V({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(_,{label:{label:o.paymentMethod,width:L},style:{width:"auto"},value:ie(i?.method??""),additionalInfoLabel:f?h?void 0:o.paymentOutsideZeni.reviewInfo:i?.method!=null&&i.method.includes(D)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&A&&ee===$.currencyCode?Kt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0})}),t.jsx(q,{}),f||G==null?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:V({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(_,{label:{label:o.paymentDate,width:L},style:{width:"auto"},value:G.format(S),additionalInfoLabel:`${o.estimatedArrival}${re(en(G.toDate(),[0,6],i?.maxPeriod.value??0).toDateString()).format(S)} - (${oe.length>0?`${oe} `:""}${o.deliveryTimeLabel} = ${i?.maxPeriod.value??"0"} ${o.deliveryTimeUnits})`})}),t.jsx(q,{})]}),f?null:t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:V({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(_,{label:{label:o.paymentTo,width:L},style:{width:"auto"},value:pt??"",additionalInfoLabel:ht})}),f||it?t.jsxs(t.Fragment,{children:[t.jsx(q,{}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:V({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(_,{label:{label:o.paymentType,width:L},style:{width:"auto"},value:Ft(e.isRecurring,f,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Bt(s,e.isRecurring,f,e.recurringConfig)})})]}):null]}),!f&&i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?t.jsx(pn,{children:t.jsxs(un,{windowSize:s,children:[t.jsxs(yn,{children:[t.jsx(dn,{children:o.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(mn,{children:[t.jsxs(Ge,{children:[t.jsx(de,{children:i.method.includes(D)&&ee!==$.currencyCode?Ve.conversionAmountColon:Ee.invoiceAmount}),t.jsx(se,{children:k("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ge,{children:[t.jsx(de,{children:Ve.transactionFee}),t.jsx(se,{children:k("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(cn,{}),t.jsxs(sn,{children:[t.jsx(de,{children:Ee.total}),t.jsx(se,{children:k("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(rn,{})})]}),t.jsx(hn,{children:t.jsx(Re,{amount:Ne(p.amount,p.currencyCode,p.currencySymbol),integerStyles:K.h6Medium.cssObject,decimalStyles:K.standardMedium.cssObject})})]})}):null]}),t.jsx(Rt,{cancelBtn:{label:C&&!h?o.paymentOutsideZeni.markAsPaid:o.editBill,onClick:C&&!h?je:ae,isLoading:C&&!h&&te&&I?.fetchState==="In-Progress",reverseSpinnerColor:!1,style:{width:Ze(!1,C,h,U,s)}},primaryBtn:{label:Ye(h,U,e.isBillMarkedForRetry),isLoading:I?.fetchState==="In-Progress"&&(h||!te)||Q?.fetchState==="In-Progress",onClick:h?je:()=>{xt&&le!=null?H(!0):Ce()},style:{width:Ze(!0,C,h,U,s)}},rightSideComponent:C&&!h&&I.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:s,children:t.jsx(Le,{style:{color:j.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:on,placement:"top",children:t.jsx(Zn,{onClick:ae,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(Yn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?t.jsxs(An,{children:[o.internationalText1,t.jsx(Bn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:o.internationalTerms}),o.internationalText2]}):null})]})},Ye=(e,y,x)=>e?o.paymentOutsideZeni.markAsPaid:x===!0?o.retryPayment:y?o.sendForApproval:o.scheduleBill,Ze=(e,y,x,M,A)=>x?128:y&&!e&&A==="small"?"auto":M?165:m.footerButtonWidth.value(A),rn=a(qt)`
|
|
1
|
+
import{e as wt,_ as $t,x as u,eB as vt,eC as jt,eD as St,V as t,eE as Ct,eF as ie,eG as Tt,eH as Dt,eI as It,eJ as Pt,a5 as k,eK as kt,b as v,eL as Mt,eM as Be,eN as Fe,eO as Re,w as U,c$ as O,f as j,eP as At,eQ as E,d5 as _,eR as Bt,eS as Ft,bo as Le,o as n,a9 as Rt,m as d,O as Lt,u as zt,bx as Nt,d as Ot,M as Et,eT as _t,bH as Vt,l as ce,H as me,eU as Zt,eV as Gt,aD as Yt,n as Ht,at as Kt,eW as Ut,D as tt,b6 as qt,C as nt,aR as Wt,eX as Qt}from"./index-BngCC-zG.js";import{a as Z}from"./sentry-CHlUi953.js";import{n as a}from"./mui-DyGc7Pg8.js";import{cp as ze,cj as Ne,bX as D,c4 as Xt,FW as Jt,bG as re,c6 as en}from"./zeni-epic-state-D8D2Skiq.js";import{t as tn,o as nn}from"./LowBalancePopup-1727S1ri-CiFxrWZ6.js";import{S as V}from"./LabeledText-C8Y7EOsX-BG8Z0MTH.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:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="9412a243-7c00-40cc-988c-56048ba49a8b",e._sentryDebugIdIdentifier="sentry-dbid-9412a243-7c00-40cc-988c-56048ba49a8b")}catch{}})();const at=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},an={sectionTitle:new Ot("h6Medium","h5Medium")},{dateFormat:Oe,common:{currency:$,labels:Ee,edit:on,strings:{empty:g}},spendManagement:{billPay:ln}}=Lt.getLocalizedStrings(),{billDetails:o,paymentDetails:_e}=ln,Ve=({attachment:e})=>{const[y,x]=Z.useState(!1),M=e.fileId?.length===0;return t.jsxs(Fn,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>M===!1?x(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Zt,{title:e.fileName,file:e,onCrossClick:()=>{x(!1)},setShowFullScreenView:x}):null,t.jsx(Rn,{children:t.jsx(Gt,{contentType:e.contentType})})]})},ia=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:A,isLocalCurrencyEnabled:ot,style:lt,analytics:w,isRecurringBillsFeatureEnabled:it,isApprovalRequiredForMarkAsPaid:rt,isDetectInsufficientFundsEnabled:st,billId:b,onClickEdit:pe,discardBillDetailsFromLocalStore:ue,saveBillDetails:ye,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:he,redirectToBillsScreen:ge,onAttachmentClick:X,retryPayment:ct})=>{const s=wt(),c=$t(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:b},F=x&&b!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(s),I=e.saveStatus,J=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,i=vt(A,ot,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),S=Oe.visual.MMMDCommaYYYYformat,xe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},p={amount:i?.method.includes("international")===!0?jt(xe,i):e.recipientTotalAmount.amount+(i?.fee.amount??0),currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},z={amount:i?.method.includes("international")===!0?St(xe,i):i?.fee.amount??0,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},[mt,fe]=Z.useState(!1),[te,be]=Z.useState(!1),we=()=>fe(!1),pt=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${o.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Mn,{size:s,children:t.jsx(kn,{})})]}):Ct(e.paymentDetailsSection?.paymentTo);Z.useEffect(()=>{(I?.fetchState==="Completed"||J?.fetchState==="Completed")&&(ue(),he(),ge())},[I,J,ge,ue,he]);const P=e.billPayInfo?.stage,N=e.billPayInfo?.billStatus,G=e.billPayInfo?.billPaymentStatus,ut=e.billPayInfo?.billPaymentRefundStatus,ne=P?.code==="paid"?P:N?.code=="approved"&&G?.code?G:N,yt=e.billPayInfo?.isRefundInitiated===!0?ut:N?.code=="approved"&&G?.code?G:N,ae=()=>{pe()},$e=()=>{pe()},Y=e.paymentDetailsSection?.paymentDate,oe=ie(i?.method??""),ve=oe.replace("Same Day",""),ht=e.isCollectToAccountInfoFromVendorContact?t.jsx(Tt,{paymentTypeLabel:ve,onClick:()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),fe(!0)}}):o.addedByZeni,H=y.allApprovalRules.length>0,gt=ze(i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?p.amount-z.amount:p.amount,i?.fee.currencyCode??Ne.currencyCode,i?.fee.currencySymbol??Ne.currencySymbol),f=Xt(e.paymentDetailsSection?.paymentType?.method),je=()=>{be(!0),w.trackBillPayMarkAsPaid(P?.code??"draft",ne?.code??"")},C=f,h=C&&!rt,Se=Ze(h,H,e.isBillMarkedForRetry),le=st&&e.paymentDetailsSection!=null?Dt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,Ce=()=>{Te===!0&&K(!1),e.isBillMarkedForRetry===!0?(ct(),w.trackRetryConfirmClick(ne?.code??"",P?.code??"",yt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&((()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,T=e.recurringConfig,ft=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(b??"new_bill"),i?.method!=null&&l!=null){const bt=f?o.paymentOutsideZeni.offline:ie(i.method);if(w.trackBillPaySendForApproval(bt,l.format(Oe.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,b,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:re(T?.startDate?.toString()??"").format(S),endDate:re(T?.endDate?.toString()??"").format(S),frequency:T?.frequency??"monthly",totalAmount:ft.amount,totalPaymentCycles:T?.totalPaymentCycles??0,isApprovalRequired:T?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?T?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?T?.updateRecurringBills==="all":void 0}),le!=null){const De=P?.code??"draft",Ie=N?.code??"",Pe=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Me=Qt(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Se===o.scheduleBill?w.trackLowBalanceAccountSchedule(De,Ie,Pe,ke,Me,Ae):Se===o.sendForApproval&&w.trackLowBalanceAccountSentForApproval(De,Ie,Pe,ke,Me,Ae)}}})(),ye(!1,{}))},xt=Jt(p.amount,y.allApprovalRules,c.loggedInUser),[Te,K]=Z.useState(!1);return t.jsxs(gn,{children:[te?t.jsx(tn,{onCancel:()=>{dt(),be(!1)},onProceedForMarkAsPaid:l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",P?.code??"draft",ne?.code??""),ye(!0,l)},saveDetailsFetchState:I?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(nn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Ce,onCancelClick:()=>{K(!1),ae()},onClickAway:()=>{K(!1)}}):null,t.jsx(It,{anchor:"right",open:mt,onClose:we,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Pt,{companyName:kt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(S)??"",paymentType:ve,amount:k("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:we})}),t.jsxs(xn,{windowSize:s,style:lt,children:[s==="small"?t.jsxs(Pn,{windowSize:s,children:[t.jsx(We,{onClick:$e,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(He,{windowSize:s,children:o.oneLastLook})]}):t.jsx(In,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(We,{onClick:$e})}),s!=="small"?t.jsx(bn,{children:t.jsx(He,{windowSize:s,children:o.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(wn,{children:[t.jsxs($n,{children:[t.jsx(_n,{}),t.jsxs(vn,{children:[t.jsx(Sn,{children:o.duplicateBillPayWarning}),t.jsxs(jn,{children:[o.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>X(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[o.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Nn,{children:[t.jsx(En,{children:o.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Mt(l);return l!=null?t.jsx(On,{children:at.includes(s)?t.jsxs(Ke,{windowSize:s,children:[t.jsxs(Cn,{children:[t.jsxs(Tn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Ve,{attachment:l.attachments[0]}):t.jsx(Qe,{children:t.jsx(Xe,{})}),t.jsx(W,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?o.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:s,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Ln,{"data-testid":v("review-detail-mobile-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsxs(W,{children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ke,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(Ve,{attachment:l.attachments[0]}):t.jsx(Qe,{children:t.jsx(Xe,{})}),t.jsxs(zn,{"data-testid":v("review-detail-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsx(W,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?o.invoiceNo:null," ",l.documentId]})}),t.jsxs(W,{style:{width:"25%"},children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(Je,{style:{width:"25%"},windowSize:s,children:k("0,0[.]00",l.amount)})]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Dn,{children:[t.jsx(Ue,{children:o.pay}),t.jsx(qe,{children:t.jsx(Re,{amount:gt,integerStyles:U.largeMedium.cssObject,decimalStyles:U.smallMedium.cssObject})}),t.jsx(Ue,{children:o.to}),t.jsx(qe,{children:e.vendor?.name})]}),t.jsxs(fn,{children:[f?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(V,{label:{label:o.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?At(e.paymentDetailsSection.withdrawFrom,s):g,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},additionalInfoLabel:le})}),t.jsx(q,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(V,{label:{label:o.paymentMethod,width:L},style:{width:"auto"},value:ie(i?.method??""),additionalInfoLabel:f?h?void 0:o.paymentOutsideZeni.reviewInfo:i?.method!=null&&i.method.includes(D)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&A&&ee===$.currencyCode?Ut(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0})}),t.jsx(q,{}),f||Y==null?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(V,{label:{label:o.paymentDate,width:L},style:{width:"auto"},value:Y.format(S),additionalInfoLabel:`${o.estimatedArrival}${re(en(Y.toDate(),[0,6],i?.maxPeriod.value??0).toDateString()).format(S)} - (${oe.length>0?`${oe} `:""}${o.deliveryTimeLabel} = ${i?.maxPeriod.value??"0"} ${o.deliveryTimeUnits})`})}),t.jsx(q,{})]}),f?null:t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(V,{label:{label:o.paymentTo,width:L},style:{width:"auto"},value:pt??"",additionalInfoLabel:ht})}),f||it?t.jsxs(t.Fragment,{children:[t.jsx(q,{}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(V,{label:{label:o.paymentType,width:L},style:{width:"auto"},value:Ft(e.isRecurring,f,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Bt(s,e.isRecurring,f,e.recurringConfig)})})]}):null]}),!f&&i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?t.jsx(pn,{children:t.jsxs(un,{windowSize:s,children:[t.jsxs(yn,{children:[t.jsx(dn,{children:o.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(mn,{children:[t.jsxs(Ye,{children:[t.jsx(de,{children:i.method.includes(D)&&ee!==$.currencyCode?_e.conversionAmountColon:Ee.invoiceAmount}),t.jsx(se,{children:k("0,0[.]00",{amount:p.amount-z.amount,currencySymbol:z.currencySymbol})})]}),t.jsxs(Ye,{children:[t.jsx(de,{children:_e.transactionFee}),t.jsx(se,{children:k("0,0[.]00",{amount:z.amount,currencySymbol:z.currencySymbol})})]}),t.jsx(cn,{}),t.jsxs(sn,{children:[t.jsx(de,{children:Ee.total}),t.jsx(se,{children:k("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(rn,{})})]}),t.jsx(hn,{children:t.jsx(Re,{amount:ze(p.amount,p.currencyCode,p.currencySymbol),integerStyles:U.h6Medium.cssObject,decimalStyles:U.standardMedium.cssObject})})]})}):null]}),t.jsx(Rt,{cancelBtn:{label:C&&!h?o.paymentOutsideZeni.markAsPaid:o.editBill,onClick:C&&!h?je:ae,isLoading:C&&!h&&te&&I?.fetchState==="In-Progress",reverseSpinnerColor:!1,style:{width:Ge(!1,C,h,H,s)}},primaryBtn:{label:Ze(h,H,e.isBillMarkedForRetry),isLoading:I?.fetchState==="In-Progress"&&(h||!te)||J?.fetchState==="In-Progress",onClick:h?je:()=>{xt&&le!=null?K(!0):Ce()},style:{width:Ge(!0,C,h,H,s)}},rightSideComponent:C&&!h&&I.fetchState!=="In-Progress"?t.jsx(Vn,{windowSize:s,children:t.jsx(Le,{style:{color:j.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:on,placement:"top",children:t.jsx(Gn,{onClick:ae,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(Zn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?t.jsxs(An,{children:[o.internationalText1,t.jsx(Bn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:o.internationalTerms}),o.internationalText2]}):null})]})},Ze=(e,y,x)=>e?o.paymentOutsideZeni.markAsPaid:x===!0?o.retryPayment:y?o.sendForApproval:o.scheduleBill,Ge=(e,y,x,M,A)=>x?128:y&&!e&&A==="small"?"auto":M?165:m.footerButtonWidth.value(A),rn=a(qt)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
5
5
|
&:hover {
|
|
6
6
|
color: ${e=>e.theme.colors.primary};
|
|
7
7
|
}
|
|
8
|
-
`,
|
|
8
|
+
`,Ye=a(nt)`
|
|
9
9
|
display: flex;
|
|
10
10
|
justify-content: space-between;
|
|
11
11
|
padding-bottom: ${n.sp1};
|
|
@@ -74,7 +74,7 @@ import{X as wt,v as $t,x as u,eL as vt,eM as jt,eN as St,V as t,eO as Ct,eP as i
|
|
|
74
74
|
background-color: ${e=>e.theme.colors.grey3};
|
|
75
75
|
min-height: 1px;
|
|
76
76
|
max-height: 1px;
|
|
77
|
-
`,
|
|
77
|
+
`,He=a(Et)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
${e=>`${an.sectionTitle.style(e.windowSize)}`};
|
|
80
80
|
margin-left: ${e=>m.sectionTitleMarginLeft.valuePx(e.windowSize)};
|
|
@@ -102,10 +102,10 @@ import{X as wt,v as $t,x as u,eL as vt,eM as jt,eN as St,V as t,eO as Ct,eP as i
|
|
|
102
102
|
`,jn=a(ce)`
|
|
103
103
|
padding-bottom: ${n.sp3};
|
|
104
104
|
color: ${j.brandColorGoldDark};
|
|
105
|
-
`,Sn=a(
|
|
105
|
+
`,Sn=a(Vt)`
|
|
106
106
|
padding-top: ${n.sp3};
|
|
107
107
|
color: ${j.brandColorGoldDark};
|
|
108
|
-
`,
|
|
108
|
+
`,Ke=a.div`
|
|
109
109
|
display: flex;
|
|
110
110
|
flex-direction: ${e=>at.includes(e.windowSize)?"column":"row"};
|
|
111
111
|
width: 100%;
|
|
@@ -121,15 +121,15 @@ import{X as wt,v as $t,x as u,eL as vt,eM as jt,eN as St,V as t,eO as Ct,eP as i
|
|
|
121
121
|
`,Dn=a.div`
|
|
122
122
|
display: flex;
|
|
123
123
|
padding-top: ${n.sp3};
|
|
124
|
-
`,
|
|
124
|
+
`,Ue=a(Ht)`
|
|
125
125
|
display: flex;
|
|
126
126
|
color: ${e=>e.theme.colors.hero};
|
|
127
127
|
margin-right: ${n.sp1};
|
|
128
|
-
`,qe=a(
|
|
128
|
+
`,qe=a(Kt)`
|
|
129
129
|
display: flex;
|
|
130
130
|
color: ${e=>e.theme.colors.primary};
|
|
131
131
|
margin-right: ${n.sp1};
|
|
132
|
-
`,We=a(
|
|
132
|
+
`,We=a(Nt)`
|
|
133
133
|
cursor: pointer;
|
|
134
134
|
color: ${e=>e.theme.colors.hero};
|
|
135
135
|
width: 20px;
|
|
@@ -152,7 +152,7 @@ import{X as wt,v as $t,x as u,eL as vt,eM as jt,eN as St,V as t,eO as Ct,eP as i
|
|
|
152
152
|
padding-left: ${n.sp0};
|
|
153
153
|
z-index: 2;
|
|
154
154
|
background-color: ${e=>e.theme.colors.grey4};
|
|
155
|
-
`,kn=a(
|
|
155
|
+
`,kn=a(zt)`
|
|
156
156
|
height: ${n.sp3};
|
|
157
157
|
width: ${n.sp3};
|
|
158
158
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -193,12 +193,12 @@ import{X as wt,v as $t,x as u,eL as vt,eM as jt,eN as St,V as t,eO as Ct,eP as i
|
|
|
193
193
|
width: ${n.sp4};
|
|
194
194
|
height: ${n.sp4};
|
|
195
195
|
display: flex;
|
|
196
|
-
`,
|
|
196
|
+
`,Qe=a.div`
|
|
197
197
|
cursor: default;
|
|
198
198
|
display: flex;
|
|
199
199
|
align-items: center;
|
|
200
200
|
margin-right: ${n.sp1};
|
|
201
|
-
`,
|
|
201
|
+
`,Xe=a(Yt)`
|
|
202
202
|
cursor: pointer;
|
|
203
203
|
width: ${n.sp4};
|
|
204
204
|
height: ${n.sp4};
|
|
@@ -209,7 +209,7 @@ import{X as wt,v as $t,x as u,eL as vt,eM as jt,eN as St,V as t,eO as Ct,eP as i
|
|
|
209
209
|
align-items: center;
|
|
210
210
|
min-width: 142px;
|
|
211
211
|
flex-grow: 1;
|
|
212
|
-
`,
|
|
212
|
+
`,Je=a(ce)`
|
|
213
213
|
display: flex;
|
|
214
214
|
color: ${e=>e.theme.colors.primary};
|
|
215
215
|
align-items: center;
|
|
@@ -226,12 +226,12 @@ import{X as wt,v as $t,x as u,eL as vt,eM as jt,eN as St,V as t,eO as Ct,eP as i
|
|
|
226
226
|
display: flex;
|
|
227
227
|
justify-content: flex-end;
|
|
228
228
|
align-items: center;
|
|
229
|
-
`,
|
|
229
|
+
`,zn=a.div`
|
|
230
230
|
display: flex;
|
|
231
231
|
flex-grow: 1;
|
|
232
232
|
cursor: pointer;
|
|
233
233
|
width: 100%;
|
|
234
|
-
`,
|
|
234
|
+
`,Q=a(me)`
|
|
235
235
|
display: flex;
|
|
236
236
|
color: ${e=>e.borderColor};
|
|
237
237
|
height: 20px;
|
|
@@ -247,7 +247,7 @@ import{X as wt,v as $t,x as u,eL as vt,eM as jt,eN as St,V as t,eO as Ct,eP as i
|
|
|
247
247
|
padding: 1px 6px;
|
|
248
248
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
249
249
|
border-radius: ${n.sp1};
|
|
250
|
-
`,
|
|
250
|
+
`,Nn=a.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
flex-direction: column;
|
|
253
253
|
`,On=a.div`
|
|
@@ -260,18 +260,18 @@ import{X as wt,v as $t,x as u,eL as vt,eM as jt,eN as St,V as t,eO as Ct,eP as i
|
|
|
260
260
|
`,En=a(me)`
|
|
261
261
|
margin-top: ${n.sp3};
|
|
262
262
|
color: ${j.alert};
|
|
263
|
-
`,
|
|
263
|
+
`,_n=a(_t)`
|
|
264
264
|
min-width: ${n.sp4};
|
|
265
265
|
height: ${n.sp4};
|
|
266
266
|
width: ${n.sp4};
|
|
267
267
|
margin-top: ${n.sp3};
|
|
268
268
|
margin-left: ${n.sp4};
|
|
269
269
|
color: ${j.brandColorGoldDark};
|
|
270
|
-
`,
|
|
270
|
+
`,Vn=a.div`
|
|
271
271
|
display: flex;
|
|
272
272
|
justify-content: flex-end;
|
|
273
273
|
margin-right: ${e=>m.footerRightIconMarginRight.valuePx(e.windowSize)};
|
|
274
|
-
`,
|
|
274
|
+
`,Zn=a(Wt)`
|
|
275
275
|
cursor: pointer;
|
|
276
276
|
color: ${e=>e.theme.colors.hero};
|
|
277
277
|
width: ${n.sp4};
|
|
@@ -279,7 +279,7 @@ import{X as wt,v as $t,x as u,eL as vt,eM as jt,eN as St,V as t,eO as Ct,eP as i
|
|
|
279
279
|
&:hover {
|
|
280
280
|
color: ${e=>e.theme.colors.primary};
|
|
281
281
|
}
|
|
282
|
-
`,
|
|
282
|
+
`,Gn=a.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
cursor: pointer;
|
|
285
285
|
color: ${e=>e.theme.colors.grey1};
|
package/dist/assets/{ReviewOverlay-CUnL7H-a-B6WGfdWG.js → ReviewOverlay-CxwoiOLC-C8uqNFMN.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as P,V as i,b as x,o as r,a9 as B,x as d,a8 as L,d as I,M as W,f as s,l as b,c1 as D,L as R,C as S,aC as G,m as o,dO as A,aA as _,i9 as F}from"./index-BngCC-zG.js";import{n as t}from"./mui-DyGc7Pg8.js";import{a as w}from"./sentry-CHlUi953.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="699f086a-7225-4684-91b8-ebe09172dae6",e._sentryDebugIdIdentifier="sentry-dbid-699f086a-7225-4684-91b8-ebe09172dae6")}catch{}})();const a={containerMarginTop:new d(0,o[2]),containerMarginLeft:new d(o[3],o[8]),containerMarginRight:new d(o[3],o[8]),subTitleMarginBottom:new d(o[2],o[2]),titleMarginBotom:new d(o[0],o[2]),titleMarginRight:new d(o[0],o[3]),navBarHeight:new d(62,62,62),navBarPaddingLeft:new d(o[3],o[3],o[8]),navBarPaddingRight:new d(o[3],o[3],o[8])},H={title:new I("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:m,showFooter:z,footerProps:{primaryButton:C,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:M})=>{const l=P();return i.jsxs(Z,{children:[i.jsx(U,{windowSize:l,children:i.jsx(X,{children:i.jsx(Y,{windowSize:l,children:i.jsx(ee,{children:i.jsx(ie,{onClick:k,"data-testid":x("review-overlay-close",e)})})})})}),i.jsxs(J,{windowSize:l,children:[i.jsxs(V,{windowSize:l,children:[i.jsx(q,{children:i.jsx(K,{windowSize:l,children:e})}),i.jsx(N,{isError:g.isError,windowSize:l,children:g.content})]}),i.jsx(Q,{windowSize:l,children:m.map(n=>{const h=n.reviewStatus.code==="error",c=n.reviewStatus.code==="warning"||n.reviewStatus.code==="low-balance";return i.jsxs(re,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?i.jsx(ce,{onClick:()=>M(n.id),"data-testid":x("review-close",n.id)}):null,i.jsxs(te,{children:[i.jsxs(oe,{children:[i.jsx(de,{children:O(n)}),i.jsxs(ne,{children:[i.jsxs(u,{children:[i.jsx($,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:n.leftSideText.title}),i.jsx($,{isWarning:c,isError:h,children:n.rightSideText.title})]}),i.jsxs(u,{children:[i.jsx(se,{style:{marginLeft:r.sp2},children:n.leftSideText.subTitle}),l!=="small"?i.jsxs(f,{windowSize:l,children:[i.jsx(p,{isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[n.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx(j,{})}):null,n.rightSideText.subTitle]})}),i.jsx(p,{isWarning:!0,isError:!1,children:n.rightSideText.additonalInfo})]}):null]})]})]}),l==="small"?i.jsxs(f,{windowSize:l,children:[i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[n.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx(j,{})}):null,n.rightSideText.subTitle]})}),i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:n.rightSideText.additonalInfo})]}):null]})]},n.id)})})]}),z?i.jsx(B,{primaryBtn:C,cancelBtn:T,showCancel:!E}):null]})},O=e=>e.reviewStatus.isLoading?i.jsx(R,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):e.reviewStatus.code==="error"?i.jsx(y,{isError:!0}):e.reviewStatus.code==="warning"?i.jsx(y,{isError:!1}):e.reviewStatus.code==="valid"?i.jsx(le,{}):e.reviewStatus.code==="low-balance"?i.jsx(he,{}):i.jsx(ae,{}),Z=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -8,39 +8,39 @@ import{X as P,V as i,E as m,o as r,a9 as B,x as d,a8 as L,N as I,d as W,e as s,l
|
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
margin-top: ${e=>a.containerMarginTop.valuePx(e.windowSize)};
|
|
10
10
|
margin-bottom: ${r.sp8};
|
|
11
|
-
`,
|
|
11
|
+
`,V=t.div`
|
|
12
12
|
position: sticky;
|
|
13
13
|
top: ${r.sp0};
|
|
14
14
|
background-color: ${e=>e.theme.colors.grey4};
|
|
15
15
|
z-index: 1;
|
|
16
16
|
padding-left: ${e=>a.containerMarginLeft.valuePx(e.windowSize)};
|
|
17
17
|
padding-right: ${e=>a.containerMarginRight.valuePx(e.windowSize)};
|
|
18
|
-
`,
|
|
18
|
+
`,q=t.div`
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
|
-
`,
|
|
21
|
+
`,K=t(W)`
|
|
22
22
|
${e=>`${H.title.style(e.windowSize)}`};
|
|
23
23
|
color: ${e=>e.theme.colors.primary};
|
|
24
24
|
margin-top: ${r.sp2};
|
|
25
25
|
margin-bottom: ${e=>a.titleMarginBotom.valuePx(e.windowSize)};
|
|
26
26
|
margin-right: ${e=>a.titleMarginRight.valuePx(e.windowSize)};
|
|
27
|
-
`,
|
|
27
|
+
`,N=t(b)`
|
|
28
28
|
margin-bottom: ${e=>a.subTitleMarginBottom.valuePx(e.windowSize)};
|
|
29
29
|
color: ${e=>e.isError?s.important:e.theme.colors.hero};
|
|
30
|
-
`,
|
|
30
|
+
`,Q=t.div`
|
|
31
31
|
display: flex;
|
|
32
32
|
flex-direction: column;
|
|
33
33
|
margin-top: ${r.sp3};
|
|
34
34
|
margin-left: ${e=>a.containerMarginLeft.valuePx(e.windowSize)};
|
|
35
35
|
margin-right: ${e=>a.containerMarginRight.valuePx(e.windowSize)};
|
|
36
|
-
`,
|
|
36
|
+
`,U=t.div`
|
|
37
37
|
min-height: ${e=>a.navBarHeight.valuePx(e.windowSize)};
|
|
38
38
|
position: sticky;
|
|
39
39
|
border-bottom: 1px solid transparent;
|
|
40
40
|
z-index: 2;
|
|
41
41
|
top: ${r.sp0};
|
|
42
42
|
width: 100%;
|
|
43
|
-
`,
|
|
43
|
+
`,X=t.div`
|
|
44
44
|
position: relative;
|
|
45
45
|
min-height: 62px;
|
|
46
46
|
`,Y=t.div`
|
|
@@ -149,4 +149,4 @@ import{X as P,V as i,E as m,o as r,a9 as B,x as d,a8 as L,N as I,d as W,e as s,l
|
|
|
149
149
|
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
150
150
|
width: ${r.sp4};
|
|
151
151
|
height: ${r.sp4};
|
|
152
|
-
`;export{
|
|
152
|
+
`;export{xe as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as e}from"./pdf-BxqSCr4b.js";import{aE as x,js as w,aF as y,bk as I,jz as p,J as F,mj as L,aG as P}from"./index-BngCC-zG.js";import"./mui-DyGc7Pg8.js";import m from"./NotFoundScreen-BOQb1xUE.js";import{a as u}from"./sentry-CHlUi953.js";import{i as R,u as b,j as T,h as V,k as O,R as U,m as f}from"./core-CVVdXRky.js";import{ct as z,O3 as C,KZ as A,O4 as k,qu as G,cG as q,O5 as Y,qs as J}from"./zeni-epic-state-D8D2Skiq.js";import{R as j}from"./ReferralListScreen-DY8vZLmY.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"./MobileAppDrawer-TF-9OTZ8.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="234753b6-19af-48c1-8b48-7e4e913ceafa",a._sentryDebugIdIdentifier="sentry-dbid-234753b6-19af-48c1-8b48-7e4e913ceafa")}catch{}})();const K=O(function(a,t){const n=C(a);return{inviteFormView:n.localData,submitStatus:n.saveStatus,userName:t.userName,rewardsPlan:n.rewardsPlan,companyLegalName:t.companyName}},function(a,t){const{navigate:n}=t,o=w.getSignedInUser();return{onDismissClick:()=>{a(k()),n("..")},onSendClick:()=>{if(o!=null){const s=[],r=[];t.inviteFormCompayData.forEach(c=>{s.push(c.companyName),r.push(c.emailIds[0])}),p.trackInviteEmailClicked("send",s,r,s.length)}a(J())},onUpdateInviteFormLocalData:s=>{a(Y({localData:s}))},onSubmitSuccess:()=>{n("../../")},onCancelClick:()=>{o!=null&&p.trackInviteEmailClicked("cancel")}}})(L),Z=()=>{const a=R(),[t,n]=u.useState(!1),[o,s]=u.useState(!1),r=b(i=>z(i)),c=T(),D=V(),{useDynamicConfig:g}=x(),d=w.getSignedInUser();if(d==null)throw Error("Can't access invite referral screen without signing in...");const l=b(i=>C(i)),_=d?.firstName!=null?d.firstName:"User",{configValue:h}=g(y.zeniCardsConfig),{configValue:v}=g(y.zeniAccountsConfig),E=A(v);u.useEffect(()=>{a(k()),r?.rewardsLastViewedTime==null&&o===!1&&(a(G()),s(!0))},[]),u.useEffect(()=>{t||l.fetchState!=="Not-Started"||(n(!0),a(q(!0)))},[l.fetchState,a]);const N=r.company?.companyInfo.companyLegalName??r.companyName;return e.jsxs(e.Fragment,{children:[l.fetchState==="Completed"?e.jsx(I,{analytics:p,onLoad:i=>(S=>S.trackPageLoaded(F.Event.inviteEmailViewed))(i)}):null,e.jsx(K,{navigate:c,location:D,currentTenant:r,companyName:N,userName:_,inviteFormCompayData:l.localData,chargeCardCashbackRatePerTransaction:h.charge_card_cashback_rate_per_transaction!=null?h.charge_card_cashback_rate_per_transaction:.0175,maxAnnualPercentageYield:E.maxAnnualPercentageYield})]})};function la(){const{useFeatureGate:a}=x(),{isFeatureEnabled:t}=a(P.isReferralFeatureEnabled);return e.jsxs(U,{children:[e.jsx(f,{path:"/",element:t?e.jsx(j,{}):e.jsx(m,{})}),e.jsx(f,{path:"how-it-works",element:t?e.jsx(j,{isReferralDrawerOpen:!0}):e.jsx(m,{})}),e.jsx(f,{path:"refer/*",element:t?e.jsx(Z,{}):e.jsx(m,{})}),e.jsx(f,{path:"*",element:e.jsx(m,{})})]})}export{la as default};
|