@zeniai/web-app-ui 4.14.35-prod → 4.14.36-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-B5qIuZya-87Wdu3Vn.js → ACHDetailsPage-fOu5grd7-Cs2K4DRV.js} +3 -3
- package/dist/assets/{AIPerformancePage-BHB45mP--BdIYeahP.js → AIPerformancePage-Da3gFo8A-CVIvereU.js} +25 -25
- package/dist/assets/AccountInfoPage-o7hTXtgZ-Dc6Hg6aE.js +18 -0
- package/dist/assets/AccountInfoPageContent-DqErO8FH-XBjSorHo.js +149 -0
- package/dist/assets/{AccountLockedInfoModal-Dox7IuAX-uUxMt3Am.js → AccountLockedInfoModal-BJjCuLHa-Uk-DVT8_.js} +9 -9
- package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-Dizqg_js.js → AccountReconDetailsDrawerPage-CVjH1p0d-qMdLytVA.js} +16 -16
- package/dist/assets/AccountRow-CpftykFx-DRMa7L7I.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-DhTAmuRe.js → AccountsPromoCardStack-D7xvgmOH-L4LUQiMM.js} +28 -28
- package/dist/assets/AddAddressForCardDrawer-vecchYEf-Dm_7GZaw.js +6 -0
- package/dist/assets/{AddToWalletPage-CyRfqVDB-CQxgltFN.js → AddToWalletPage-zJy9QCjx-BhPNLvBn.js} +13 -13
- package/dist/assets/AddressRoutes-CN9yzNia.js +1 -0
- package/dist/assets/AddressScreen-DawlCEed.js +9 -0
- package/dist/assets/AgingReportsPage-wAvQb1d8-BNi2RWcU.js +79 -0
- package/dist/assets/AiCfoScreen-gLF8Y46q.js +11 -0
- package/dist/assets/AllUserItems-DEv_CXOA-BczB69YE.js +192 -0
- package/dist/assets/ApAgingDetailPage-BOV1WFVF-DjxtNuTC.js +46 -0
- package/dist/assets/{AppBasePage-CqDm-hnV-9XmhwuoJ.js → AppBasePage-DMlomvFS-DAPyVzw3.js} +16 -16
- package/dist/assets/AppDrawerContent-Dc2sHnR3-DkcYif08.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-BkoyF3U2.js +47 -0
- package/dist/assets/ArAgingChart-m-Xp3HAW-2E3yf3w6.js +24 -0
- package/dist/assets/ArAgingDetailPage-b_NpDpWj-D8K0oGBL.js +46 -0
- package/dist/assets/{AttachmentView-CzC4skJ3-DuNGTr_v.js → AttachmentView-DB_V1qT1-YRFnSBmh.js} +7 -7
- package/dist/assets/{BankAccountSection-Di4sF52j-DVHeEsO8.js → BankAccountSection-BabhrBM7-BRSx6sCU.js} +5 -5
- package/dist/assets/BankAccountWarningSection-yT2UAd12-hc4ZMuSF.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-DVzjJWv3.js → BankConnectionsSettingsPage-CbxXykMM-BcHLkw6J.js} +14 -14
- package/dist/assets/BillDetailPage-7TMkWo3V-D6W3VN4G.js +266 -0
- package/dist/assets/{BillPayApprovalRoutes-UIWSSsHT.js → BillPayApprovalRoutes-DPHRxesZ.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-COyDRpaF-CLsNCUw0.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-DX1ILSCP.js → BillPayApprovalRulesPage-9pxkgFAT-DlJyrfvK.js} +5 -5
- package/dist/assets/{BillPayPromoPage-DOE2YIqC-Bq0l3_vz.js → BillPayPromoPage-AGffhbY3-DpLl9nyC.js} +10 -10
- package/dist/assets/{BillPayRoutes-DD-JwCMW.js → BillPayRoutes-JOylN2BD.js} +13 -13
- package/dist/assets/BillPaySetUpPage-Cs5rkWBu-BP5ujh9A.js +42 -0
- package/dist/assets/{BillingSettingsPage-iImtlEmO-CvHkOH2a.js → BillingSettingsPage-CQ117tT9-TA2HK-aX.js} +10 -10
- package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-clKT_yYm.js → BillsBulkReviewDrawerPage-DRkGQQAe-DNA3NRzL.js} +1 -1
- package/dist/assets/{BoxItem-Bxa1M4QU-Du00vi-o.js → BoxItem-DRwx0M5a-D-Rn9DzO.js} +2 -2
- package/dist/assets/BusinessVerificationPage-1h0z3N9u-XjZx6gHS.js +138 -0
- package/dist/assets/BusinessVerificationPageScreen-sFaQye-W.js +9 -0
- package/dist/assets/BusyIndication-DizZe0Gu-Ui3yaqtY.js +9 -0
- package/dist/assets/{CardNumberSubText-_ZZbaz_k-BMJxFwd_.js → CardNumberSubText-DqtLT1w5-Bzgrrztr.js} +10 -10
- package/dist/assets/{CashbackDetailPage-DAZXitLt-Be6S5svg.js → CashbackDetailPage-ChdQcvkC-m-ebT8pi.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-B1VIpASk-qKsUbWVm.js → ChargeCardDetailPage-DFOKlPNG-DQYHVV4_.js} +31 -31
- package/dist/assets/{ChargeCardListPage-BOBepN-x-GM578OUP.js → ChargeCardListPage-DhLUsUhd-CoIm3KwH.js} +19 -19
- package/dist/assets/ChargeCardListTable-DE72YU_i-DgEVI1AC.js +711 -0
- package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla-BI5A12QH.js → ChargeCardPaymentHistoryPage-CbGR18s--Df_3JGQc.js} +15 -15
- package/dist/assets/ChargeCardPromoPage-CPpNh89o-52aj5A04.js +222 -0
- package/dist/assets/{ChargeCardRoutes-CSoZhr0V.js → ChargeCardRoutes-V_6E2iyX.js} +12 -12
- package/dist/assets/ChargeCardSetupPage-ITi25kUD-D__xDb9M.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-Dneiy-kv.js → ChargeCardStatementsPage-CTJc1BCc-CZlTL24v.js} +3 -3
- package/dist/assets/CheckDepositDrawerPage-BrzeSj-3-mEHRp2-B.js +206 -0
- package/dist/assets/CollapsableReportTable-CDEe9s_E-B6-yHAq0.js +2844 -0
- package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-BY_HZ_Iv.js → CompanyOfficerDetailsSection-BaPhFsLx-B_RPGIU9.js} +92 -92
- package/dist/assets/CompanyPassportCard-B9ymV6Az-jkfRIvZo.js +42 -0
- package/dist/assets/{CompanyPassportPage-FE6yli6h-Dxl1bcoN.js → CompanyPassportPage-BQ68t7oK-IkltRNSS.js} +16 -16
- package/dist/assets/{CompanyPassportScreen-DBr6vmxP.js → CompanyPassportScreen-dLVakYjm.js} +1 -1
- package/dist/assets/{CompleteProfile-Cb8i1XgZ-D9bq4Uae.js → CompleteProfile-C5n9b8gQ-CNOkIDDD.js} +1 -1
- package/dist/assets/ConfettiBurst-BizTW0hz-BB_7e0py.js +1 -0
- package/dist/assets/ConnectionAuthScreen-BOPjadvo.js +11 -0
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CbPq896u.js → ConstrainedInnerElement-BeIpAPjB-Cxh5xHax.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-BOwYtqVs.js → CreateOrEditVendorPage-BIfOA5Nr-AtyF4p8I.js} +19 -19
- package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-BgTQ080r.js → CreditCardPaymentDrawerPage-CCpS-31h-B6o-4EgY.js} +21 -21
- package/dist/assets/CurrencySelectField-KvKyemY6-rYSOJjSm.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-BXOhuc8q.js → CustomerOnboardingActivationPage-6VlMI4oY-C5HWnW_e.js} +3 -3
- package/dist/assets/CustomerOnboardingAuthScreen-xza8qbxh.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-DbqRfwbf.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-BFb9Fi6q.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-C4bWipAx.js} +9 -9
- package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-EPt0RonD.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-B9hSO88_-DRsL0Lkd.js → CustomerOnboardingPage-DkW66A-p-BsqCLn06.js} +8 -8
- package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-6ZJCtlPB.js → CustomerOnboardingProductSuitePage-Ba0yotpP-DIrnT1SJ.js} +10 -10
- package/dist/assets/CustomerOnboardingRoutes-yXJnudqI.js +23 -0
- package/dist/assets/{Dashboard-BJ_oIHab-CzppdrfI.js → Dashboard-bX3cWkmP-CJSja88C.js} +45 -45
- package/dist/assets/{DashboardReportPage-BemzMw2e-CIHD17uo.js → DashboardReportPage-DuZ4d4CE-CEa_ZsnB.js} +39 -39
- package/dist/assets/DashboardRoutes-BcGPSKnY.js +21 -0
- package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-Dar8E4GV.js +12 -0
- package/dist/assets/{DefaultTenantHome-C8vFMm5p.js → DefaultTenantHome-BeZ76hjE.js} +1 -1
- package/dist/assets/DepositAccTransactionItem-BY_OvuKg-CegBl9NF.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-a__bpCOB-3CdtwLcn.js +66 -0
- package/dist/assets/DomesticWireDetailScreen-D5m_2Yo0.js +18 -0
- package/dist/assets/DomesticWireDetailsPage-BumMT4QM-BqgDBN3V.js +21 -0
- package/dist/assets/DownloadOverlay-DqiL3-FB-EoMZNE21.js +439 -0
- package/dist/assets/{DrawerPage-DesxXhZk-bh8UKuOO.js → DrawerPage-CaG-xx5d-Cp5tt9QJ.js} +12 -12
- package/dist/assets/DrawerScreen-CTG5ybiX.js +1 -0
- package/dist/assets/EditPeoplePage-BcsdEp_d-D-PC_KrM.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-Bq2nc6vp.js +865 -0
- package/dist/assets/EntityDetailPage-DtX5TjBc-BPO5XePN.js +18 -0
- package/dist/assets/EntityDetailRoutes-B5R1QZWM.js +1 -0
- package/dist/assets/{EntitySummarySection-BwX0a4JL-DWyi-lkf.js → EntitySummarySection-LEA5m6mN-DSNa9_6d.js} +26 -26
- package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-DmP7eQm5.js → ExpenseAutomationOverviewPage-Dmhn7gfp-Bq4zhd1r.js} +50 -50
- package/dist/assets/ExpenseAutomationPage-B8C4BxoV-CRrIGE9L.js +2323 -0
- package/dist/assets/ExpenseAutomationRoutes-CQ8o1Ut2.js +20 -0
- package/dist/assets/{ExpressPayPage-EMP6inpX-4WwEzVm7.js → ExpressPayPage-C-nqret2-DYj2m0J-.js} +12 -12
- package/dist/assets/{FeaturePreviewPage-SYJm-3aR-CAe_AvQ_.js → FeaturePreviewPage-BHjUZ7s6-DFBfCFGy.js} +2 -2
- package/dist/assets/FeaturePreviewScreen-7DbZ3Lx9.js +1 -0
- package/dist/assets/{FollowStepsSection-BxESVqJD-CPOfOs-2.js → FollowStepsSection-0eFMS0c5-CUs8ilzU.js} +11 -11
- package/dist/assets/GlobalReviewListPage-4eiopkzw-CbQC9oAb.js +291 -0
- package/dist/assets/{InformationCardStack-B_qQUEYD-5ChUHV_B.js → InformationCardStack-C7XJCUlh-CelR5zDw.js} +1 -1
- package/dist/assets/InsightsCardStack-fBAbQwhK-DPzZunDi.js +79 -0
- package/dist/assets/InsightsSection-De9zu_me-DIydVhgU.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-DE_L5Sqc.js → IntegrationsSettingsPage-BD5jqAv8-hrz650GM.js} +5 -5
- package/dist/assets/InternationalWireSwiftDetailsPage-BftrE612-CtP2y88l.js +171 -0
- package/dist/assets/{InternationalWireVerificationPage-COC6lZml-D4HW9Bm7.js → InternationalWireVerificationPage-CDf7equc-BXBU6F90.js} +10 -10
- package/dist/assets/{InviteFormPage-DN02jRy5-BfLLbR3z.js → InviteFormPage-E2igwKEh-wVoOBHVT.js} +7 -7
- package/dist/assets/{InvitePageListView-CP4K9tJi-5pVXaxY0.js → InvitePageListView-Cuq9dlgu-CIGWi2Uo.js} +75 -75
- package/dist/assets/InvitePeoplePage-Db4P4ZEq-DViNv_LG.js +12 -0
- package/dist/assets/InvoiceUploadSection-DYCjz9CI-6zrHw8Gx.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CVfuvGey-B2XRCClw.js → IssueChargeCardPage-CK6fnO24-CgQfD7TJ.js} +23 -23
- package/dist/assets/{LabeledAddressValue-DDrQcHIE-D6zubChV.js → LabeledAddressValue-Ma1WURjK-BQ7yXCyt.js} +2 -2
- package/dist/assets/LabeledAddressValueField-C6-hVsPb-2b15Jv_o.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-BjnMYuFb.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-BVI6zR8f.js → LabeledCountryMultiSelectField-sj8p7Rne-bfsTKOeq.js} +4 -4
- package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-DSalrWgP.js → LabeledCreatableSingleSelectField-DUTQh416-TJ_Bq1qn.js} +6 -6
- package/dist/assets/LabeledDocumentField-Bp9m-OrP-C4maUk83.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-ScGGCap8-Bs7HZSAW.js → LabeledDropDownFormattedTextField-3-KekP79-2bA1-mcm.js} +4 -4
- package/dist/assets/{LabeledEmailInputField-BppuWRbl-Cv2eSWYW.js → LabeledEmailInputField-BRJyFvVd-Bs2EgRoq.js} +11 -11
- package/dist/assets/{LabeledNameField-mxSNQk3k-BePXnKIp.js → LabeledNameField--saAep-_-GEbqq-XX.js} +5 -5
- package/dist/assets/{LabeledSingleSelectField-C6ctNzkA-JhYp0IfJ.js → LabeledSingleSelectField-Ul4tlTiO-C7eur4tW.js} +7 -7
- package/dist/assets/LabeledText-DvzVOku6-BIWW9LkN.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-CVRnER3W.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-D3Nd6Mp3.js} +12 -12
- package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-DVH_WO48.js → LabeledZeniRolesDropDownField-kWC0ShEy-B-6CgYA7.js} +25 -25
- package/dist/assets/{LinkJETransactionPage-CKq4oiX9-BaDfdPSv.js → LinkJETransactionPage-WufhDGDQ-hOiRNbpI.js} +11 -11
- package/dist/assets/{LockCardPage-CZENNby7-BD08uNmC.js → LockCardPage-BBIVLYVD-CWfnMAuT.js} +17 -17
- package/dist/assets/{LowBalancePopup-1727S1ri-B87S31yh.js → LowBalancePopup-ScEqPY9J-BDVRhmW5.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-C494txw0-C9zbj8xn.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-BTU1HWRn.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-DTKuj6lk.js +1 -0
- package/dist/assets/MagicLinkRoutes-CBkc9ANU.js +72 -0
- package/dist/assets/MagicLinkSignInScreen-DVW3BRZl.js +12 -0
- package/dist/assets/{MagicLinkSuccessPage-QMkZgQLG-s8YBkEXQ.js → MagicLinkSuccessPage-BDRXSAO4-BPK2tnCV.js} +6 -6
- package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-C33EAuas.js → MagicLinkTitleSection-ZnbKPIvJ-C4BiwnoA.js} +9 -9
- package/dist/assets/MailingDetailsSection-DZT7JPlI-B_BKxUqb.js +21 -0
- package/dist/assets/MobileAppDrawer-SRxQ4nyi.js +1 -0
- package/dist/assets/{MoreMenuButton-BsBKwXvk-DHBQkdln.js → MoreMenuButton-CJue6xR9-DxdJkjEQ.js} +23 -23
- package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-BPykpz5y.js → MyBankConnectionsSettingsPage-aQDVaEG1-CRobqj27.js} +7 -7
- package/dist/assets/{MyPendingActivationChargeCardListPage-CX38bDdq-DSUf2vT1.js → MyPendingActivationChargeCardListPage-BJrk56oA-CKxLYlt8.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DYu0Fx6I-1drgYdxQ.js → MyProfileSettingsPage-L9WuP6HZ-DBau4C6u.js} +6 -6
- package/dist/assets/NavBarWithPicker-zmvBmWS1-Dq59pkcT.js +30 -0
- package/dist/assets/{NavigationArrow-CTNkKUtV-Yl4xu108.js → NavigationArrow-D26UG3p--CJBJ0QVX.js} +2 -2
- package/dist/assets/NavigationDots-Bv4tBDN3-C3q3rN5Z.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-BQD0ZGak.js → NewGlobalMerchantPage-vOn2O6B9-Dn0MDdJM.js} +4 -4
- package/dist/assets/NoDataChart-CgT19fV7-BHysrTfh.js +26 -0
- package/dist/assets/{NoDataTable-4vPXmPYF-DWZxUYIB.js → NoDataTable-CPjJmo4s-Cw98-IiW.js} +1 -1
- package/dist/assets/{NotFoundPage-BLWPU1wU-C7Ncwm4o.js → NotFoundPage-CP2i3FTm-bZ8NYti5.js} +6 -6
- package/dist/assets/NotFoundScreen-LuCzwVbP.js +1 -0
- package/dist/assets/NotificationRoutes-DAiqyeoY.js +1 -0
- package/dist/assets/{NotificationSettingsPage-CDiDLX3A-Bz_D4b-V.js → NotificationSettingsPage-CT9Dnb03-avWp6uik.js} +16 -16
- package/dist/assets/NotificationsListConfig-Bn1zmx6b-D4fKYTYM.js +1 -0
- package/dist/assets/NotificationsPage-DDwdR_Jq-CoOhM2dl.js +685 -0
- package/dist/assets/OpExByVendorPage-DukFYlqO-DRlZ9cev.js +100 -0
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-U_msHcyh.js → OverlayContainerPage-D4QU0p4o-tcmQyJCw.js} +1 -1
- package/dist/assets/PandLWithForecastPage-Bgflh9Om-CSmTsNHv.js +107 -0
- package/dist/assets/PandLWithForecastRoutes-C-17dXbC.js +1 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-DHVmTXZY.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-BENOl58h.js} +7 -7
- package/dist/assets/PeoplePage-CDvKreQl-BHMfiaC4.js +720 -0
- package/dist/assets/PeopleRoutes-DkWBrchL.js +22 -0
- package/dist/assets/PerformanceRoutes-BfVGXw_c.js +1 -0
- package/dist/assets/{Preview-BjJ7O1sk.js → Preview-B59RrC-D.js} +1 -1
- package/dist/assets/{ProductsCarousel-C3M0ocdF-CLcC80yn.js → ProductsCarousel-7R3cvGiS-DzOMZ0OK.js} +8 -8
- package/dist/assets/{PromoBaseCards-BOGJI2ws-CjW4jRXO.js → PromoBaseCards-DdCMZIc7-B4qYL3sb.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CmpnnuzP-uF9XG6je.js → QBOConnectionDialog-Ca36jKz2-CdHpLyZs.js} +13 -13
- package/dist/assets/{QBOConnectionScreen-CHATiKae.js → QBOConnectionScreen-CJqEVXmb.js} +22 -4
- package/dist/assets/{QBOSetupSection-DjnN9dgv-t22_2ZYb.js → QBOSetupSection-CzBfIVqR-DDJCICP1.js} +10 -10
- package/dist/assets/ReferralListScreen--Li0yAbv.js +5 -0
- package/dist/assets/ReimbursementApprovalRoutes-By0X6th0.js +1 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D5NXjrO9-CWOYUPpB.js → ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BLIwxZQV.js} +4 -4
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CM8NKREM.js → ReimbursementApprovalRuleDetailScreen-BTqwtaaL.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-C4QA3bIg.js → ReimbursementApprovalRulesPage-B48x1gPM-BostsSOa.js} +27 -27
- package/dist/assets/ReimbursementDetailPage-oIC9QEyF-BywJ2Ma5.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-CyEgwqcf-DZSdpKpd.js → ReimbursementPromoPage-BKgsJieE-C8z1p7x-.js} +14 -14
- package/dist/assets/ReimbursementRoutes-CgHILlr6.js +13 -0
- package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-BSfM62t6.js → ReimbursementSetUpPage-B_c-ZgFT-CEFcuF5y.js} +5 -5
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-DNjVjDW0.js +1 -0
- package/dist/assets/ReloadCard-DKGn1uxF-BoCqNia8.js +26 -0
- package/dist/assets/ReportTableViewSelector-CXDvZEbR-C7-vFnMM.js +150 -0
- package/dist/assets/ReportsPage-BoUyXSBC-Bpcr9t0g.js +121 -0
- package/dist/assets/ReportsRoutes-BiPwCg8q.js +1 -0
- package/dist/assets/{RevenueChart-DvyZ3aO7-B9ChYULL.js → RevenueChart-SvdhwBcE-Dxn52ow-.js} +12 -12
- package/dist/assets/ReviewDetailsPage-tT1l4R2r-RmP2wBK5.js +290 -0
- package/dist/assets/{ReviewOverlay-CxwoiOLC-CCAU2STn.js → ReviewOverlay-BoM41t8W-CTSAEiQG.js} +7 -7
- package/dist/assets/RewardsRoutes-E5CnWJ-f.js +1 -0
- package/dist/assets/RoleWithToolTip-C8x5yXaK-Dmelwbqx.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiL5Dozk-Bfi3yYiV.js → ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DSmZf7Qv.js} +8 -8
- package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-DllnnP3n.js +37 -0
- package/dist/assets/ScheduleSequenceTable-J6Eja8XA-Du9cL0M5.js +324 -0
- package/dist/assets/ScreenRoutes-IRYzg1I8.js +2 -0
- package/dist/assets/{SetUpAccountSection-CctbMmoK-BnyRcOnA.js → SetUpAccountSection-sfIB1h4i-5Qx4_bh2.js} +15 -15
- package/dist/assets/{SettingsRoutes-DRqBxtpE.js → SettingsRoutes-DcfqDJnj.js} +7 -7
- package/dist/assets/{SetupPagesScreen-BqfVkx2P.js → SetupPagesScreen-CKIcjKt5.js} +6 -6
- package/dist/assets/{SignIn-CmgmnRm4-DFMcLfwX.js → SignIn-Cu2nzuEC-Bp_oT71c.js} +75 -75
- package/dist/assets/SignInScreen-Ct79gq1E.js +1 -0
- package/dist/assets/SignOutScreen-CZ3i17sZ.js +9 -0
- package/dist/assets/SpendManagementListViewPage-9V9u1jPF-impkLVzs.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-COvEPq7V-9dexPOGi.js +754 -0
- package/dist/assets/SpendManagementSection-dT-N4bSQ-zSvxEGhY.js +375 -0
- package/dist/assets/StatementItem-g5tfNBjV-TtkHAa_E.js +31 -0
- package/dist/assets/StatementsPage-DaFrVUeK-BKmugpaZ.js +58 -0
- package/dist/assets/{StatusSwitcher-Bv-ozN6U-DoZiCLb7.js → StatusSwitcher-CaoFw0cf-DekkCuBN.js} +1 -1
- package/dist/assets/{SubTabSwitcher-D7QeM6nb-CfY08u6h.js → SubTabSwitcher-zrkVj1aP-DzJ74MSf.js} +9 -9
- package/dist/assets/SuccessAnimation-oz7yQ6H3-CuxEvbYZ.js +13 -0
- package/dist/assets/{SummaryCard-C2qoTsAY-0SCAXQGr.js → SummaryCard-B9wqNSwM-CfbafqaP.js} +1 -1
- package/dist/assets/{TaskDetailPage-QMk4DTDK-BR6kbyWR.js → TaskDetailPage-044JwAvz-Dbz-j4Qe.js} +41 -41
- package/dist/assets/TaskListScreen-D2hgfbUK.js +9 -0
- package/dist/assets/TaskManagementPage-dAK9tl2b-VU_G-rkO.js +1063 -0
- package/dist/assets/TaskRoutes-JZtbl56L.js +9 -0
- package/dist/assets/TimeRangeSwitcher-r1TNqVRb-BuKa7qNu.js +64 -0
- package/dist/assets/TimeframeSwitcher-DHfHCTa4-BPyXAgbc.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-81Smo1q6.js +31 -0
- package/dist/assets/{TopExCard-Z1WabZ8c-tziOw6vi.js → TopExCard-BUjnGDUB-310z6unt.js} +6 -6
- package/dist/assets/{TopExDetailPage-CzHG4f9E-Dx0qRe8n.js → TopExDetailPage-CNDkfc3u-BceOPcNG.js} +14 -14
- package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-BAwRPyZq.js → TransactionActivityLogPage-kSQqJVpX-D70Ebwxd.js} +9 -9
- package/dist/assets/TransactionDetailPage-f7vWtXWL-DszE4Lqv.js +903 -0
- package/dist/assets/TransactionDetailRoutes-TOpy1uKa.js +1 -0
- package/dist/assets/{TransactionDetailScreen-Ctm336US.js → TransactionDetailScreen-Bl43zCpG.js} +2 -2
- package/dist/assets/TransactionList-3-mUZOsw-BQQrTUgt.js +153 -0
- package/dist/assets/{TransactionListBig-C5Sf5Xh--BLokVYd8.js → TransactionListBig-Bx_Rm9ho-KpaUS-0g.js} +20 -20
- package/dist/assets/TransactionListPage-q6x4_jni-BCTSngWR.js +35 -0
- package/dist/assets/{TransactionListRoutes-B-4EVTzq.js → TransactionListRoutes-CMLh_lHF.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-DJak24pB.js → TransactionVendorDetailPage-MjSH5hfq-C0iHLHKf.js} +4 -4
- package/dist/assets/{TransferDrawerPage-BvKZ7vHF-MTsuTWb5.js → TransferDrawerPage-BayVa6po-DlkdYqMW.js} +32 -32
- package/dist/assets/TreasuryOverviewPage-CuqWmrO5-BZ_bPirD.js +708 -0
- package/dist/assets/{TreasuryPromoPage-CtTFvSQW-DJ1GjBPL.js → TreasuryPromoPage-BCjz1EKX-DryQkob1.js} +26 -26
- package/dist/assets/TreasuryRoutes-Uv2Q4-px.js +45 -0
- package/dist/assets/{TreasuryStatementsPage-Catz8shX-CnnTtymV.js → TreasuryStatementsPage-CGr00SXF-BI3wmSNl.js} +3 -3
- package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-BJVe4ICp.js +58 -0
- package/dist/assets/{TrendChart-Bnp4Pcdf-SZKHN0GU.js → TrendChart-JTOG0a7B-DWRNXuz6.js} +2 -2
- package/dist/assets/TrendWithTransactions-CTJhTpAM-BLYcqVCK.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-B2fWmH31.js → UncategorizedAccountsMappingPage-TGKYpC5A-CSRo9cGj.js} +7 -7
- package/dist/assets/{UnitIntegrationPage-CTzme1te-pEu5vNzn.js → UnitIntegrationPage-mt2IjA5X-HULL3VCR.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-Cm7mweqJ.js +38 -0
- package/dist/assets/Vendor2FAPopup-DAOf5cJD-foKceGQ2.js +1 -0
- package/dist/assets/VendorACHDetailsPage-CCOupiSZ-aPYjuiNm.js +1 -0
- package/dist/assets/VendorDetailPage-DufNphGD-angvVXfL.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-dHdeqKnp.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-CAU1ePfq.js → VendorFiling1099EditablePage-CRnO7Ubw-C0qN_xq7.js} +16 -16
- package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-CiwNSvUn.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-5-nS8GMI.js → VendorInternationalWireDetailsPage-HUtNyn9Z-Ccax-820.js} +7 -7
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-BDnM6T3H.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CgSJu8wq-B-6STrW9.js → VendorsAccountsSection-D6Qa1zf9-OD2ANcpQ.js} +4 -4
- package/dist/assets/{VendorsRoutes-bXsYyOK6.js → VendorsRoutes-BTXTUssE.js} +21 -21
- package/dist/assets/VerifyDevice-B6B_nk3v-BfzLjpGJ.js +112 -0
- package/dist/assets/VideoPlayer-BRAgZThr-Bcaasp-U.js +77 -0
- package/dist/assets/{VideoPopup-BqvZ-XIh-BNEOF87i.js → VideoPopup-C_SkBI9U-xDIm2hVu.js} +2 -2
- package/dist/assets/WiseConfirmationScreen-DSWFe61l.js +12 -0
- package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-DUr2L7qz.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-CGRw402N.js +441 -0
- package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-obkuSya3.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-Bg6zqKkh.js → ZeniAccountPromoPage-BgYCHYLO-B5ynGf7u.js} +24 -24
- package/dist/assets/ZeniAccountRoutes-ZzewLkL8.js +58 -0
- package/dist/assets/{ZeniAccountSetupPage-TKBfbgzJ-pUeIEkNR.js → ZeniAccountSetupPage-CvnIMdcY-BIOUi-Do.js} +4 -4
- package/dist/assets/ZeniAccountStatementScreen-8454IT-f.js +9 -0
- package/dist/assets/{ZeniAvatar-Bzhq25CU-C2bD0hCf.js → ZeniAvatar-CwHVUcMc-BJ8AyUay.js} +3 -3
- package/dist/assets/{ZeniCopyright-DglqrTpl-CuSiev8E.js → ZeniCopyright-BlLvlGZV-PtfyMNGF.js} +1 -1
- package/dist/assets/{ZeniDatePicker-BHXPxPnI-CMWZ6uB_.js → ZeniDatePicker-DCurorsW-jSixMxUp.js} +5 -5
- package/dist/assets/ZeniTransferAmountSlider-BNYgPwHs-BLgZWrKb.js +63 -0
- package/dist/assets/{accountMappingHelper-BjH4piH5.js → accountMappingHelper-S5pr6xme.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-tcxpIUf6.js → add-to-wallet-DgdBD8_G-BxcaFQ_E.js} +1 -1
- package/dist/assets/{analytics-CxExYOQN.js → analytics-BZz0SPy3.js} +1 -1
- package/dist/assets/{analyticsHelper-Bdr21wig.js → analyticsHelper-CRAJfei1.js} +1 -1
- package/dist/assets/{analyticsHelper-CAYdbjhS-BnriMIKx.js → analyticsHelper-CYr5V2MV-D47W16kx.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-D9eZjC4F.js → arrow-south-east-round-PEovUgvH-CyfpwaWH.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-z35I1d4Z.js → auto-transfer-rule-mbafm5D3-Dm3PoOP-.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-BJFW_gi9.js → avatar-Dz7aEm3d-B59e782o.js} +1 -1
- package/dist/assets/{calculateSize-B2w5JPEU-DirCjmcI.js → calculateSize-Bn1NnCzV-CbPGQ475.js} +1 -1
- package/dist/assets/{chartTypes-CD3vrBsI-BZMuLEVT.js → chartTypes-40RenddT-C7uxWjgM.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-DBRbYbDM.js → clock-CJkylEKt-DGRbc2He.js} +1 -1
- package/dist/assets/common-DEB71I4X-BRhAN_mv.js +1 -0
- package/dist/assets/commonDimensions-BMnB1-xU-CcNkFk9x.js +1 -0
- package/dist/assets/{commonTypes-5tEXwrX4-wrBzjunM.js → commonTypes-DsWS6Ccc-DgEYQkuk.js} +1 -1
- package/dist/assets/{core-Cd4LmmhG.js → core-BSWMBnrJ.js} +38 -3
- package/dist/assets/{dash.all.min-BwVV-Fhd.js → dash.all.min-ByV77lf8.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-Bnf24opg.js → decodeURIComponentSafe-B2RLRrdt.js} +1 -1
- package/dist/assets/detailCommon-CrcyqWtZ-s9USgEEF.js +38 -0
- package/dist/assets/{dnd-CAuW2Onh.js → dnd-DJrh3JTW.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-Bgjzafb1.js → dollar-round-D18u7nlm-qWQy8tOr.js} +1 -1
- package/dist/assets/downloadPdf-CUUx8PWn-Z4ddkC82.js +1 -0
- package/dist/assets/{empty-C4-Zh70_.js → empty-BcmJSfoQ.js} +1 -1
- package/dist/assets/{index-Dil8JkVI.js → empty-Ink6PjPr.js} +1 -1
- package/dist/assets/epic-C8YaW2BC.js +2 -0
- package/dist/assets/{filter-cZIFUNvj-UT3bl1R9.js → filter-cZIFUNvj-CBGTjKNF.js} +1 -1
- package/dist/assets/getLocaleForTenant-CeTv0_64.js +1 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-xVRd_5bu.js → gift-box-Cmt9OgIZ-Dw9Bntj7.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DPD83Lsr.js → graphic-no-data-l-DU4J8fDt-hCWvJzzH.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-qJDLonEJ.js → graphic-no-data-net-burn-l-CzmycA0m-DLhWQ7Y3.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BKdvF1x2.js → handshake-BPg58FML-DcpKXQqd.js} +1 -1
- package/dist/assets/{helper-Ckm10Uko-CYRllgeW.js → helper-BMiMbXMj-BqD7TDgt.js} +2 -2
- package/dist/assets/{hyperlink-DQyCeXx2-BaJrtvtu.js → hyperlink-DQyCeXx2-DgnccV5_.js} +1 -1
- package/dist/assets/{index-CSDJR0WY.js → index-4TmfhDJk.js} +8 -2
- package/dist/assets/{index-DJu_W448.js → index-B5VyyyEM.js} +1 -1
- package/dist/assets/{index-B4R3U21S.js → index-B9LViB8R.js} +1 -1
- package/dist/assets/index-ByhS5XEB.js +1 -0
- package/dist/assets/index-De4FUH-D.js +1 -0
- package/dist/assets/{index-Djco7rZW.js → index-T6cemxxv.js} +4299 -4237
- package/dist/assets/{lexical-0UdB2D6j.js → lexical-CdVAcKo7.js} +1 -1
- package/dist/assets/{liveblocks-IsOzz8u-.js → liveblocks--WiFaeN0.js} +8 -3
- package/dist/assets/{lottie-D3b06MuY.js → lottie-DOxhyevU.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-5SZShw59.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-pTitDfos.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-8acLvja0.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-BRhv3XRJ.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-BW4YLdJu.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-BuwKfIYt.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-u2sPQG8-.js +1 -0
- package/dist/assets/{media-player-CmMjgVLj.js → media-player-2gWGctcr.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-S7Hyh6G5.js → money-2cg1MuG4-ZZWEE1BS.js} +1 -1
- package/dist/assets/{mui-Xyv5fYYp.js → mui-GaW5Gk_e.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DGhy77XG.js → page-detail-CWX5S47F-KCA2hl3j.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-CTvBuwro.js → page-summary-D7_VQHwN-C4mva4td.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-DWsrfnbc.js +4 -0
- package/dist/assets/{pathToGoBack-CCCMgbLR.js → pathToGoBack-C0wXThmF.js} +1 -1
- package/dist/assets/{pdf-BCMUg4JF.js → pdf-DWoGjGSw.js} +4 -4
- package/dist/assets/{pdf-lib-COfDmyeW.js → pdf-lib-CU3tv6Hj.js} +1 -1
- package/dist/assets/{plaid-C49TlIE8.js → plaid-CNcdZ4gc.js} +1 -1
- package/dist/assets/{pusher-DxiBhdF2.js → pusher-_Mkhq734.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-BZQ2G5gA.js → radio-default-CiSgisfh-CkW2sMb1.js} +1 -1
- package/dist/assets/react-BO8sqwy5.js +37 -0
- package/dist/assets/{react-DWguzYqh.js → react-C4isuCpp.js} +12 -2
- package/dist/assets/{react-CGtQZRg8.js → react-CKfk9tDS.js} +12 -2
- package/dist/assets/{react-DqghA0uT.js → react-CNYdj_E0.js} +12 -2
- package/dist/assets/{react-CvsoPUpv.js → react-COkkiwUG.js} +12 -2
- package/dist/assets/{react-BrhrhOid.js → react-CgpHxMDb.js} +12 -2
- package/dist/assets/{react-BPhBszYn.js → react-DnPZ1Xhy.js} +13 -3
- package/dist/assets/{react-7FfCeBSU.js → react-XuqF4K_l.js} +12 -2
- package/dist/assets/{recharts-CwRU7bDL.js → recharts-BQ8VH5gX.js} +1 -1
- package/dist/assets/{routePaths-BKDf21Fs.js → routePaths-BCoYK2N6.js} +1 -1
- package/dist/assets/{sentry-CEBEW6Zv.js → sentry-BoIfGJBF.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CN5gdmRw.js → shield-DOlUxcFf-C_2cYUuc.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-Bn5NEHPU.js → spend-limit-D6SyboD4-D6KSyTVe.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DkMGvlEt-R8kfnDme.js +1 -0
- package/dist/assets/toChartData-C6s-eBzE-hyCfo1sK.js +1 -0
- package/dist/assets/{transaction-placeholder-CpOwZAMG-Cm13WfkG.js → transaction-placeholder-CpOwZAMG-DpSw-x8s.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-KXR9cWDD.js → undo-b_3XZ5CX-CsWxipxr.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-BsNNzlL3.js → unlock-BPWn2I5L-C7FVhrTq.js} +1 -1
- package/dist/assets/{uploadAttachment-Ck4wivBR-yBAKB8AC.js → uploadAttachment-BlLqRIXe-CWI7Q5hT.js} +29 -29
- package/dist/assets/{uploadReceipts-CIgkuVpu-NJY_9LJT.js → uploadReceipts-Dge0cNF1-CQe0GGy5.js} +1 -1
- package/dist/assets/{url-4GCCVJ8T.js → url-BGCwBSI6.js} +1 -1
- package/dist/assets/{url-NmPSZVeC.js → url-uuiUYH_k.js} +1 -1
- package/dist/assets/{useDeviceId-ChcGCEaq.js → useDeviceId-0-eUuQR6.js} +1 -1
- package/dist/assets/useInitialThreadRequest-c5K33_u9.js +1 -0
- package/dist/assets/{useLongPress-GCK2COYQ-dPgjUCNK.js → useLongPress-GCK2COYQ-CkGyzLnK.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-B1nhdCck.js → usp-line-BBd1wKwW-BDy8G8EG.js} +1 -1
- package/dist/assets/{utils-PmQt3_O8.js → utils-BGRwbgi2.js} +20 -7
- package/dist/assets/withTransactionSidePanel-BYXSUWst.js +8 -0
- package/dist/assets/zeni-epic-state-BtVcBgvu.js +122 -0
- package/dist/assets/{zeni-icon-only-CORvK0Ur.js → zeni-icon-only-BOcJS42c.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +8 -16
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-Cd5xYT1g-D763Qyvc.js +0 -18
- package/dist/assets/AccountInfoPageContent-CJ7ycVIK-CKUMLopI.js +0 -149
- package/dist/assets/AccountRow-D1cjRJJD-BdE3iF8x.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-BK7N-00_.js +0 -6
- package/dist/assets/AddressRoutes-Ccs3FPgT.js +0 -1
- package/dist/assets/AddressScreen-D3wmm55j.js +0 -9
- package/dist/assets/AgingReportsPage-xBFff3BM-DGZQQSO7.js +0 -79
- package/dist/assets/AiCfoScreen-CpZJ-7Tu.js +0 -11
- package/dist/assets/AllUserItems-BJf6WPDo-DhoR1vda.js +0 -192
- package/dist/assets/ApAgingDetailPage-CjBrPyi8-CoBfxnfG.js +0 -46
- package/dist/assets/AppDrawerContent-CVVWj66i-BEu4Tzl6.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-DBcZwsJh.js +0 -47
- package/dist/assets/ArAgingChart-CBsqOd-4-CSu0CsiU.js +0 -24
- package/dist/assets/ArAgingDetailPage-i7JObt60-BYZy_lYv.js +0 -46
- package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-lU55R1pB.js +0 -38
- package/dist/assets/BankAccountWarningSection-Cled-2cR-IDWXJwst.js +0 -51
- package/dist/assets/BillDetailPage-XXOwBfO1-B_qyoshY.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-DG_T6RsJ.js +0 -27
- package/dist/assets/BillPaySetUpPage-BCJbZDsV-Bzv1e0px.js +0 -42
- package/dist/assets/BusinessVerificationPage-DSuJFoW1-BFV8oVxm.js +0 -138
- package/dist/assets/BusinessVerificationPageScreen-zr101K58.js +0 -9
- package/dist/assets/BusyIndication-9zDqSKBP-9t4cVWUp.js +0 -9
- package/dist/assets/ChargeCardListTable-YznzSsJo-CtRcLDn8.js +0 -711
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-9hZS6y39.js +0 -222
- package/dist/assets/ChargeCardSetupPage-0bpVkeJs--Y2UM3vS.js +0 -36
- package/dist/assets/CheckDepositDrawerPage-BS7hnyZn-Bd0AMQYn.js +0 -206
- package/dist/assets/CollapsableReportTable-DNfFkAts-CUxrmyNG.js +0 -2982
- package/dist/assets/CompanyPassportCard-CkzYFTrp-C_UcFpRm.js +0 -42
- package/dist/assets/ConfettiBurst-BZCXEGYA-DbOv_sxh.js +0 -1
- package/dist/assets/ConnectionAuthScreen-DZd3VxZY.js +0 -11
- package/dist/assets/CurrencySelectField-BAh7SHrG-DdvYnDaV.js +0 -139
- package/dist/assets/CustomerOnboardingAuthScreen-B1bd9dsj.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-2qU_yNXn.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-DLQX_3JZ.js +0 -66
- package/dist/assets/CustomerOnboardingRoutes-BAXbMfnG.js +0 -23
- package/dist/assets/DashboardRoutes-DbKYeD6W.js +0 -21
- package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-CJbp3sEl.js +0 -12
- package/dist/assets/DepositAccTransactionItem-CyFi1P_L-BCcxmkt2.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-J7et1hpP.js +0 -66
- package/dist/assets/DomesticWireDetailScreen-Cul1gA8b.js +0 -18
- package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-HC7kBah-.js +0 -21
- package/dist/assets/DownloadOverlay-D_lL1sPW-DOkU5hlK.js +0 -439
- package/dist/assets/DrawerScreen-DhllwMd9.js +0 -1
- package/dist/assets/EditPeoplePage-QvPy_Six-n79i1nrs.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-BclnolnW.js +0 -865
- package/dist/assets/EntityDetailPage-l7nXIsyF-DuAZNnhi.js +0 -18
- package/dist/assets/EntityDetailRoutes-B_Cb-iUY.js +0 -1
- package/dist/assets/ExpenseAutomationPage-DA22Qofw-CG5EBV_I.js +0 -3614
- package/dist/assets/ExpenseAutomationRoutes-BpXObA3F.js +0 -20
- package/dist/assets/FeaturePreviewScreen-T_BtTTOm.js +0 -1
- package/dist/assets/GlobalReviewListPage-D5_ACa-q-C1RHJAt_.js +0 -291
- package/dist/assets/InsightsCardStack-BsQzoVzj-DR9GooAs.js +0 -79
- package/dist/assets/InsightsSection-B6CNlTNH-CxTrjAli.js +0 -27
- package/dist/assets/InternationalWireSwiftDetailsPage-VdG7bDZi-540GEZbp.js +0 -171
- package/dist/assets/InvitePeoplePage-VTM6kM1u-BHWBEt_b.js +0 -12
- package/dist/assets/InvoiceUploadSection-it-ZYl1N--UvpGfb0.js +0 -140
- package/dist/assets/LabeledAddressValueField-BgWwd5Gw-X7xSKqD_.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-BWN6aXuG.js +0 -16
- package/dist/assets/LabeledDocumentField-C_bcFxdY-DFBxx_FY.js +0 -41
- package/dist/assets/LabeledText-C8Y7EOsX-Dmu1KyEb.js +0 -42
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-Dt0XKvRL.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-B6PaNuqE.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-xxPpWmmQ.js +0 -1
- package/dist/assets/MagicLinkRoutes-C3i-s06h.js +0 -72
- package/dist/assets/MagicLinkSignInScreen-CtR41hr5.js +0 -12
- package/dist/assets/MailingDetailsSection-ByOPaJ05-B9FPpo09.js +0 -21
- package/dist/assets/MobileAppDrawer-CYfAM9Mw.js +0 -1
- package/dist/assets/NavBarWithPicker-CGGEvLwe-MqQ8iCf4.js +0 -30
- package/dist/assets/NavigationDots-Dvce3gHt-C7tC--sE.js +0 -15
- package/dist/assets/NoDataChart-CrKeqWSr-BPXvlZWX.js +0 -26
- package/dist/assets/NotFoundScreen-DOVxG4zz.js +0 -1
- package/dist/assets/NotificationRoutes-C9ieyJ8k.js +0 -1
- package/dist/assets/NotificationsListConfig-B5pDa4cJ-D-LHk2Q0.js +0 -1
- package/dist/assets/NotificationsPage-Ccl7Dny1-tUs5en2X.js +0 -685
- package/dist/assets/OpExByVendorPage-spd-nKV4-ByxsaIoY.js +0 -100
- package/dist/assets/PandLWithForecastPage-TSoe4Z7F-Dxt-hrDj.js +0 -123
- package/dist/assets/PandLWithForecastRoutes-DzAt2VYp.js +0 -1
- package/dist/assets/PeoplePage-b5_I0qOw-B1LejvXe.js +0 -772
- package/dist/assets/PeopleRoutes-DlekbCRO.js +0 -22
- package/dist/assets/PerformanceRoutes-DHDv5Sgu.js +0 -1
- package/dist/assets/ReferralListScreen-D0Qeeka4.js +0 -5
- package/dist/assets/ReimbursementApprovalRoutes-DQ4DhPnk.js +0 -1
- package/dist/assets/ReimbursementDetailPage-BbyxE2uL-DDxSupzL.js +0 -314
- package/dist/assets/ReimbursementRoutes-BNmcGbMb.js +0 -13
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DVlMblVO.js +0 -1
- package/dist/assets/ReloadCard-Bdoo0XiI-9pQ6UVc1.js +0 -26
- package/dist/assets/ReportTableViewSelector-Bc1K7mU_-gXJJUSis.js +0 -151
- package/dist/assets/ReportsPage-BOTHMLWh-BvsXS8KN.js +0 -269
- package/dist/assets/ReportsRoutes-CwUxs5b6.js +0 -1
- package/dist/assets/ReviewDetailsPage-BIMg1n2e-FEaUVtNb.js +0 -290
- package/dist/assets/RewardsRoutes-D92Io9n1.js +0 -1
- package/dist/assets/RoleWithToolTip-Ct3_VuDM-Cf0axDO6.js +0 -22
- package/dist/assets/ScheduleDetailsPage-5FWpLRtd-CUwPz525.js +0 -37
- package/dist/assets/ScheduleSequenceTable-R3-PsXES-5BgF0mPo.js +0 -326
- package/dist/assets/ScreenRoutes-ChKoG0ON.js +0 -2
- package/dist/assets/SignInScreen-DH_pbSqH.js +0 -1
- package/dist/assets/SignOutScreen-Dno5l8Lg.js +0 -9
- package/dist/assets/SpendManagementListViewPage-CFUxCqkU-J9ATHqo5.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-C-kqNTci-VDy4U7Fo.js +0 -754
- package/dist/assets/SpendManagementSection-CIz4nE_w-DAna-1JL.js +0 -375
- package/dist/assets/StatementItem-vVtoBN2w-w_5ZfVLc.js +0 -31
- package/dist/assets/StatementsPage-As5WOnMR-CEfdxc4m.js +0 -58
- package/dist/assets/SuccessAnimation-hijccO_0-BXi2HO03.js +0 -13
- package/dist/assets/TaskListScreen-mqYgryHQ.js +0 -9
- package/dist/assets/TaskManagementPage-BJwp32Ph-DBKoA6AC.js +0 -1067
- package/dist/assets/TaskRoutes-BMkpTf1o.js +0 -9
- package/dist/assets/TimeRangeSwitcher-D00bDDhP-1mlxeaFc.js +0 -64
- package/dist/assets/TimeframeSwitcher-DA99HdHt-CrtHfDZp.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-CHaX8emE.js +0 -53
- package/dist/assets/TransactionDetailPage-1-mLOWSz-q5DHD8vz.js +0 -903
- package/dist/assets/TransactionDetailRoutes-DCcj_QaR.js +0 -1
- package/dist/assets/TransactionList-BB-xoIGm-CbFPe10H.js +0 -153
- package/dist/assets/TransactionListPage-Cj7h1Ros-Yma_Yj44.js +0 -35
- package/dist/assets/TreasuryOverviewPage-DwvjMR4_-CDiSPOKr.js +0 -725
- package/dist/assets/TreasuryRoutes-CdKpKyqq.js +0 -45
- package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-C0VOVcU6.js +0 -58
- package/dist/assets/TrendWithTransactions-3D1FvM8G-Cg_o5A0H.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-V2EGBlJF.js +0 -38
- package/dist/assets/Vendor2FAPopup-D0zYKkIv-CHyHr4rl.js +0 -1
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-uNnx3T-D.js +0 -1
- package/dist/assets/VendorDetailPage-Br9wIOnI-TtYKWO-7.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-DuYV6q0p.js +0 -1
- package/dist/assets/VendorFirstReviewPage-BbknTCBD-BMuoya7m.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-N84csmRk.js +0 -1
- package/dist/assets/VerifyDevice-Dvf0JsNN-94SCla0o.js +0 -112
- package/dist/assets/VideoPlayer-VAzOGCDL-Gj554Pzr.js +0 -77
- package/dist/assets/WiseConfirmationScreen-BlvPhWtt.js +0 -12
- package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-k3MpvD3h.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-Dgq1iwVA.js +0 -443
- package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-CO__0U_1.js +0 -33
- package/dist/assets/ZeniAccountRoutes-DmQ36-U1.js +0 -58
- package/dist/assets/ZeniAccountStatementScreen-CKcr5fe4.js +0 -9
- package/dist/assets/ZeniTransferAmountSlider-BcaZZuAw-CumWTq_t.js +0 -63
- package/dist/assets/bank-letter-BOcVjN6J-DG6tnMPR.js +0 -1
- package/dist/assets/common-BpxEACHl-Buzd-sJA.js +0 -1
- package/dist/assets/commonDimensions-Oz1tdAcx-D3vjaJvc.js +0 -1
- package/dist/assets/downloadPdf-Dsuxeias-L1V5Ax68.js +0 -1
- package/dist/assets/empty-D2kWk7G0.js +0 -1
- package/dist/assets/epic-B4lLDVkd.js +0 -2
- package/dist/assets/getLocaleForTenant-Bn_9x6pb.js +0 -1
- package/dist/assets/index-DH1028wG.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-CB7uCtY5.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-Cw4z2kHv.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-Dp06n9g6.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-6k7MqZhE.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-lmI_kU2C.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-KaZtuqEM.js +0 -3
- package/dist/assets/react-BdRvxYlI.js +0 -19
- package/dist/assets/toCOABalancesWithID-aLNB35t7-D-R0UrAf.js +0 -1
- package/dist/assets/toChartData-DUL6vnzJ-CB0d1jE1.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-B07hVCFS.js +0 -1
- package/dist/assets/useInitialThreadRequest-BQElYMHu.js +0 -1
- package/dist/assets/withTransactionSidePanel-BtZz7sjy.js +0 -8
- package/dist/assets/zeni-epic-state-Ddwqsd5-.js +0 -14
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import{y as X,e as de,bF as fe,T as xe,V as t,k as be,bG as te,A as ye,x as S,a9 as _e,o as r,bH as we,H as he,O as ee,bI as $e,C as ve,S as Q,b0 as Ce,m,ad as ke,bJ as je,bK as Ne,bL as Ie,l as Se,$ as Oe}from"./index-Djco7rZW.js";import{a as u,b as ue}from"./sentry-CEBEW6Zv.js";import{n as h}from"./mui-Xyv5fYYp.js";import{t as O,n as De}from"./CollapsableReportTable-DNfFkAts-CUxrmyNG.js";import{t as Pe}from"./filter-cZIFUNvj-UT3bl1R9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="243ce367-54a9-4067-9d0d-27d81343cafe",e._sentryDebugIdIdentifier="sentry-dbid-243ce367-54a9-4067-9d0d-27d81343cafe")}catch{}})();const z=ee.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,Te=e=>({this_period:{start_date:e.thisPeriod.startDate.format(z),end_date:e.thisPeriod.endDate.format(z)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Fe=e=>e!=null?{start_date:e.startDate.format(z),end_date:e.endDate.format(z)}:void 0;async function ro(e,i,n){const s=ee.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify(function(o){return{locale_id:o.localeId,show_negative_amount_in_parenthesis:o.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:o.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:o.filterAccountGroupsWithNilBalances,include_cover_page:o.includeCoverPage,company_name:o.companyName,statement_file_type:o.statementFileType,statements:o.statements,first_month_of_fy:o.firstMonthOfFY,book_close_date:o.bookCloseDate!=null?o.bookCloseDate.format(z):void 0,timeframe:o.timeframe,additional_balances:o.additionalBalances,format:o.format,balances_filter:Te(o.balancesFilter),account_view_mode:o.accountViewMode,classes_to_filter_out:o.classesToFilterOut,data_available:Fe(o.dataAvailable),is_zeni_coa_used:o.isZeniCOAUsed,class_view_layout:o.accountViewMode==="classes"?o.classViewLayout:void 0}}(n)))}`;try{const o=await je({urlEndPoint:l,authParams:i,fileType:n.statementFileType});if(o.ok){const y=Ne(o.headers,s.defaultFileName),_=await o.arrayBuffer();Ie(_,y)}else console.error(`${s.reportErrorMessage} ${o.statusText}`)}catch(o){console.error(`${s.reportErrorMessage} ${JSON.stringify(o)}`)}}const Be=h.div`
|
|
2
|
-
padding: 0 ${r.sp3} 0 ${r.sp3};
|
|
3
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
4
|
-
background: ${e=>e.theme.colors.grey5};
|
|
5
|
-
border-radius: ${r.sp1};
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
align-items: center;
|
|
9
|
-
position: relative;
|
|
10
|
-
height: ${r.sp8};
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
`,Le=h(Se)`
|
|
13
|
-
color: ${e=>e.theme.colors.primary};
|
|
14
|
-
margin-top: -2px;
|
|
15
|
-
`,Ae=h(Oe)`
|
|
16
|
-
color: ${e=>e.theme.colors.hero};
|
|
17
|
-
width: 12px;
|
|
18
|
-
height: 12px;
|
|
19
|
-
margin: auto ${r.sp0};
|
|
20
|
-
:hover {
|
|
21
|
-
color: ${e=>e.theme.colors.primary};
|
|
22
|
-
}
|
|
23
|
-
`,Ee=ue.memo(e=>{const{value:i,onClick:n}=e,s=X();return t.jsxs(Be,{onClick:n,children:[t.jsx(Le,{style:{color:s.colors.primary},children:i}),t.jsx(Ae,{})]})});function Me({backgroundColor:e,foregroundColor:i,animated:n,width:s,height:l}){return t.jsxs(Ce,{speed:2,width:s,height:l,viewBox:`0 0 ${s} ${l}`,animate:n!=0,backgroundColor:e,foregroundColor:i,style:{marginBottom:r.sp2},children:[t.jsx("rect",{x:"45",y:m[3],rx:"5",ry:"5",width:"120",height:m[4]}),t.jsx("rect",{x:"45",y:m[8],rx:"5",ry:"5",width:"120",height:m[4]}),t.jsx("rect",{x:"45",y:"96",rx:"5",ry:"5",width:"120",height:m[4]}),t.jsx("rect",{x:"45",y:"136",rx:"5",ry:"5",width:"120",height:m[4]})]})}function pe({nestedClass:e,isLastNode:i,config:n,parentNodeIDs:s}){const l=O("checkbox_and_name_only",[],e.classId[0]),o={children:[],id:l,isLastNode:i,reportElementData:{element:{kind:"checkbox_and_name_only",title:e.className,data:e,numOfBalances:0},config:n}};return o.children=e.children.map((y,_)=>pe({nestedClass:y,config:n,isLastNode:_===e.children.length-1,parentNodeIDs:[...s,l]})),o}function He(e,i){const n=e.map((s,l)=>{const o=O("checkbox_and_name_only",[],s.classId[0]),y={children:[],id:o,isLastNode:s.children.length!==0,reportElementData:{element:{kind:"checkbox_and_name_only",title:s.className,data:s,numOfBalances:0},config:i}},_=s.children.map(D=>pe({nestedClass:D,config:i,isLastNode:l===s.children.length-1,parentNodeIDs:[o]}));return y.children.push(..._),y});return{config:i,headerNodes:[],contentNodes:[...n]}}function Re(e,i){Object.assign(e.config,i);const n=e.contentNodes;return n.forEach(s=>me(s,i)),{config:i,headerNodes:[],contentNodes:[...n]}}function me(e,i){Object.assign(e.reportElementData.config,i),e.children.forEach(n=>me(n,i))}const se={contentPaddingLeft:new S(m[3],m[3],m[2]),contentPaddingRight:new S(m[3],m[3],m[2])},Ve=h.div`
|
|
24
|
-
height: ${e=>e.height}px;
|
|
25
|
-
width: 100%;
|
|
26
|
-
`,k={width:new S(350,400,400),height:new S(165,165,165),buttonWidth:new S(62,62),buttonHeight:new S(m[5],m[5]),containerWidth:new S(150,400,400)},ze=h.div`
|
|
27
|
-
position: relative;
|
|
28
|
-
pointer-events: ${e=>e.isDisabled===!0?"none":"initial"};
|
|
29
|
-
`,We=h.div`
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
width: ${e=>k.containerWidth.valuePx(e.windowSize)};
|
|
33
|
-
`,Ye=h(we)`
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: row;
|
|
36
|
-
width: fit-content;
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
color: ${e=>e.theme.colors.primary};
|
|
39
|
-
.dropdownIcon {
|
|
40
|
-
color: ${e=>e.theme.colors.hero};
|
|
41
|
-
}
|
|
42
|
-
&:hover {
|
|
43
|
-
.dropdownIcon {
|
|
44
|
-
color: ${e=>e.theme.colors.primary};
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
gap: ${r.sp2};
|
|
48
|
-
margin-top: 12px;
|
|
49
|
-
align-items: center;
|
|
50
|
-
`,Ge=h(Pe)`
|
|
51
|
-
color: ${e=>e.theme.colors.hero};
|
|
52
|
-
width: ${r.sp4};
|
|
53
|
-
height: ${r.sp4};
|
|
54
|
-
&:hover {
|
|
55
|
-
color: ${e=>e.theme.colors.primary};
|
|
56
|
-
}
|
|
57
|
-
`,Je=h.div`
|
|
58
|
-
display: flex;
|
|
59
|
-
width: ${e=>e.width}px;
|
|
60
|
-
align-items: flex-start;
|
|
61
|
-
justify-content: space-between;
|
|
62
|
-
flex-direction: column;
|
|
63
|
-
border: 1px solid ${e=>e.theme.colors.grey5};
|
|
64
|
-
border-radius: ${r.sp1};
|
|
65
|
-
box-shadow: ${e=>`${r.sp0} 2px ${r.sp2} ${e.theme.colors.dropShadowHover}`};
|
|
66
|
-
margin-top: 10px;
|
|
67
|
-
padding-top: ${r.sp1};
|
|
68
|
-
background: ${e=>e.theme.colors.grey5};
|
|
69
|
-
`,ne=h.div`
|
|
70
|
-
display: flex;
|
|
71
|
-
align-items: flex-start;
|
|
72
|
-
justify-content: space-between;
|
|
73
|
-
flex-direction: column;
|
|
74
|
-
width: 100%;
|
|
75
|
-
background-color: ${e=>e.checked===!0?e.theme.colors.background:"transparent"};
|
|
76
|
-
& input[type="radio"] {
|
|
77
|
-
-webkit-appearance: none;
|
|
78
|
-
-moz-appearance: none;
|
|
79
|
-
appearance: none;
|
|
80
|
-
display: inline-block;
|
|
81
|
-
width: ${r.sp3};
|
|
82
|
-
height: ${r.sp3};
|
|
83
|
-
padding: 2px;
|
|
84
|
-
background-clip: content-box;
|
|
85
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
86
|
-
border-radius: 50%;
|
|
87
|
-
margin: ${r.sp0} ${r.sp2} ${r.sp0} ${r.sp2};
|
|
88
|
-
cursor: pointer;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
input[type="radio"]:checked {
|
|
92
|
-
background-color: ${e=>e.theme.colors.primary};
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
input[type="radio"]:disabled {
|
|
96
|
-
cursor: default;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&:hover {
|
|
100
|
-
background: ${e=>e.theme.colors.background};
|
|
101
|
-
}
|
|
102
|
-
`,ae=h(ve)`
|
|
103
|
-
height: ${r.sp6};
|
|
104
|
-
display: flex;
|
|
105
|
-
justify-content: center;
|
|
106
|
-
align-items: center;
|
|
107
|
-
`,Ue=h.div`
|
|
108
|
-
display: flex;
|
|
109
|
-
flex-direction: column;
|
|
110
|
-
flex-wrap: wrap;
|
|
111
|
-
justify-content: flex-start;
|
|
112
|
-
height: 100%;
|
|
113
|
-
width: inherit;
|
|
114
|
-
overflow: hidden;
|
|
115
|
-
.hide-icon {
|
|
116
|
-
display: none;
|
|
117
|
-
}
|
|
118
|
-
min-height: 165px;
|
|
119
|
-
max-height: ${353}px;
|
|
120
|
-
overscroll-behavior: contain;
|
|
121
|
-
`,qe=h.div`
|
|
122
|
-
width: 100%;
|
|
123
|
-
height: 65px;
|
|
124
|
-
`,re=h.label`
|
|
125
|
-
color: ${e=>e.theme.colors.primary};
|
|
126
|
-
cursor: ${e=>e.disabled===!0?"default":"pointer"};
|
|
127
|
-
`,Ke=h(he)`
|
|
128
|
-
display: flex;
|
|
129
|
-
align-items: center;
|
|
130
|
-
column-gap: ${r.sp2};
|
|
131
|
-
margin-left: ${r.sp5};
|
|
132
|
-
color: ${e=>e.theme.colors.hero};
|
|
133
|
-
&:hover {
|
|
134
|
-
cursor: pointer;
|
|
135
|
-
color: ${e=>e.theme.colors.primary};
|
|
136
|
-
}
|
|
137
|
-
`,Ze=h.div`
|
|
138
|
-
display: flex;
|
|
139
|
-
flex: 1;
|
|
140
|
-
width: inherit;
|
|
141
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
142
|
-
min-height: 1px;
|
|
143
|
-
max-height: 1px;
|
|
144
|
-
`,Qe=h($e)`
|
|
145
|
-
width: ${r.sp3};
|
|
146
|
-
height: ${r.sp3};
|
|
147
|
-
`,Xe=h(he)`
|
|
148
|
-
margin-left: ${r.sp5};
|
|
149
|
-
margin-top: -12px;
|
|
150
|
-
color: ${e=>e.theme.colors.hero};
|
|
151
|
-
`,{reportViewSelector:I,common:{footer:ie}}=ee.getLocalizedStrings(),le="tableViewSelector",ce=e=>`${e}_form`;function io({reportId:e,firstMonthOfFY:i,nodes:n,classesListFetchState:s,selectedView:l,classesToBeFilteredOut:o,showClassAccountNumber:y,onOpenAccountViewMode:_,onSaveClick:D,isClassViewDisabled:J,downloadPage:B,showAccountGroups:L=!0,onResyncReports:U,isPageFetchInProgress:P=!1,lastRefreshSuccessTime:w}){const A=X(),x=de(),[E,M]=u.useState(!1),[g,H]=u.useState(l),[T,j]=u.useState({}),R=(a,p)=>(a.forEach(b=>{p.push(b.classId),p=R(b.children,p)}),p),F=R(n,[]),[C,$]=u.useState(g==="classes"?o:F),W=s!=="Completed"||g==="classes"&&C.length===F.length,Y=u.useRef(!1),[q,d]=u.useState(!1),c=u.useRef(a=>{a&&!Y.current&&(Y.current=!0,d(!0))});fe({componentName:`reports.${e}`,enabled:q});const f=a=>a==="classes"?I.classes.label:L===!0?I.accountGroups.label:I.accounts.label,v=xe({mode:"all"}),K=v.handleSubmit(()=>{M(!1),g==="classes"?D?.("classes",C):D?.("account_group")}),G=a=>{if(H(a),a==="classes")j({}),$([]);else{$(F);let p={};n.forEach(b=>{const N=O("checkbox_and_name_only",[],b.classId[0]);p=Object.assign({},p,{[N]:!1})}),j(p)}},oe=()=>{E===!0&&Z(),M(!E);let a={};n.forEach(p=>{const b=O("checkbox_and_name_only",[],p.classId[0]);a=l==="account_group"||C.find(N=>N[0]===p.classId[0])!==void 0?Object.assign({},a,{[b]:!1}):Object.assign({},a,{[b]:!0})}),j(a)},Z=()=>{M(!1),H(l),$(o)};return u.useEffect(()=>{if(s==="Completed"&&g==="account_group"){let a={};n.forEach(p=>{const b=O("checkbox_and_name_only",[],p.classId[0]);a=Object.assign({},a,{[b]:!1})}),j(a)}},[s]),t.jsx(be,{onClickAway:Z,children:t.jsxs(ze,{ref:c.current,isDisabled:J??!1,children:[B===!0?t.jsx(Ee,{value:f(l),onClick:()=>{_?.(),oe()}}):t.jsxs(We,{windowSize:x,children:[t.jsxs(Ye,{onClick:a=>{a.preventDefault(),_?.(),oe()},children:[t.jsx(Ge,{className:"dropdownIcon"}),f(l)]}),l==="classes"?t.jsx(Ke,{onClick:()=>{P===!1&&U?.()},children:P?I.generatingReportByClass:t.jsxs(t.Fragment,{children:[w&&`${te(w)}`,t.jsx(Qe,{})]})}):null]}),E?t.jsx(ye,{...v,children:t.jsx("form",{id:ce(le),onSubmit:K,children:t.jsxs(Je,{width:k.width.value(x),children:[t.jsx(ne,{checked:g==="account_group",children:t.jsxs(ae,{onClick:()=>g!=="account_group"?G("account_group"):null,children:[t.jsx("input",{type:"radio",value:"account_group",id:"accountGroups",name:"formgroup",onChange:a=>G(a.currentTarget.value),checked:g==="account_group",disabled:s!=="Completed"}),t.jsx(re,{disabled:s!=="Completed",children:L===!0?I.accountGroups.dropdownLabel:I.accounts.dropdownLabel})]})}),t.jsx(Ze,{}),t.jsxs(ne,{checked:g==="classes",children:[t.jsxs(ae,{onClick:()=>s==="Completed"?G("classes"):null,children:[t.jsx("input",{type:"radio",value:"classes",id:"classes",name:"formgroup",onChange:a=>s==="Completed"?G(a.currentTarget.value):null,checked:g==="classes",disabled:s!=="Completed"}),t.jsx(re,{disabled:s!=="Completed",children:I.classes.dropdownLabel})]}),P||s!=="Completed"?null:t.jsx(Xe,{children:w&&`${te(w)}`}),s==="Completed"?t.jsx(Ue,{id:"sectionformcontainer",children:t.jsx(eo,{reportId:e,firstMonthOfFY:i,nestedClassHierarchy:n,classesToBeFilteredOut:C,maxTreeHeightPx:353,selectedView:g,nodeOpenStatus:T,showClassAccountNumber:y,onToggleCheck:(a,p,b)=>{if(b===!0&&(H("classes"),$(F)),p===!0){const N=O("checkbox_and_name_only",[],a[0]);T[N]=!0,j(T),$(V=>V.filter(ge=>ge[0]!==a[0]))}else{const N=O("checkbox_and_name_only",[],a[0]);T[N]=!1,C.find(V=>V[0]===a[0])===void 0&&$(V=>[...V,a])}}})}):t.jsx(Me,{backgroundColor:A.colors.grey3,foregroundColor:A.colors.grey4,width:k.width.value(x),height:k.height.value(x),animated:!0})]}),t.jsx(qe,{children:t.jsx(_e,{formId:ce(le),primaryBtn:{label:ie.save,style:{width:k.buttonWidth.valuePx(x),height:k.buttonHeight.valuePx(x)},isLoading:!1,isDisabled:W,size:"small"},showCancel:!0,cancelBtn:{label:ie.cancel,style:{width:k.buttonWidth.valuePx(x),height:k.buttonHeight.valuePx(x)},onClick:Z,size:"small",shouldResetOnCancel:!0},style:{padding:r.sp3}})})]})})}):null]})})}const eo=ue.memo(({reportId:e,firstMonthOfFY:i,nestedClassHierarchy:n,classesToBeFilteredOut:s,selectedView:l,showClassAccountNumber:o,scrollPosition:y,onScroll:_,nodeOpenStatus:D,onNodeCollapseToggled:J,onToggleCheck:B,maxTreeHeightPx:L})=>{const U=X(),P=de(),[w,A]=u.useState(void 0),[x,E]=u.useState(!1),[M,g]=u.useState({}),[H,T]=u.useState(void 0),[j,R]=u.useState(l),F=d=>l==="account_group"||s?.length>0&&s.find(c=>c[0]===d[0])!=null,C=(d,c)=>{const f=$(d);for(const v of f.children)B?.(v.classId,c),C(v.classId,c)},$=d=>{let c=n.filter(f=>f.classId[0]===d[d.length-1])[0];for(let f=d.length-2;f>=0;f--)c=c.children.filter(v=>v.classId[0]===d[f])[0];return c};u.useEffect(()=>{x&&(d=>{if(d.length>1){const c=$(d.slice(1));let f=!1;for(const v of c.children)if(s.find(K=>K[0]===v.classId[0])===void 0){f=!0;break}B?.(c.classId,f===!0),g(c.classId)}})(M)}),u.useEffect(()=>{const d={reportId:e,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:"none",firstMonthOfFY:i,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:!1,isClassToBeFilteredOut:F,showClassAccountNumber:o};if(w!=null&&Q(H,n)&&Q(j,l)&&x!==!0){const c=Re(w,d);A(c),R(l)}else{const c=He(n,d);T(n),A(c),R(l)}},[n,l,s]);const[W,Y]=u.useState(5),q=L!=null?Math.min(W,L):W;return w!=null?t.jsx(Ve,{height:q,children:t.jsx(De,{backgroundColor:l==="classes"?new ke(U.colors.background):void 0,rootNodes:w,type:"name_only",compareMode:"compare_mode_amount",isSticky:{isStickyHeader:!1,isStickyName:!1},treeNodePadding:{left:se.contentPaddingLeft.value(P),right:se.contentPaddingRight.value(P)},scrollPosition:y,onScroll:_,nodeOpenStatus:D,onNodeCollapseToggled:J,onToggleCheck:(d,c)=>{E(!0),g(d),B?.(d,c,l==="account_group"||void 0),C(d,c)},onReportTableHeightChanged:d=>{const c=d+m[6];Y(c)}})}):null},Q);export{io as b,ro as x};
|
|
@@ -1,269 +0,0 @@
|
|
|
1
|
-
import{e as me,y as fe,_ as lt,ba as ct,bb as dt,bc as pt,O as k,V as a,bd as ht,b as F,a$ as mt,aM as ft,a_ as ut,be as gt,o as S,ab as bt,L as _t,bf as yt,x as W,bg as xt,m as j,k as ye,J as z,bh as xe,bi as wt,C as ue,$ as St,bj as Ct,S as Me,bk as Rt,ad as Ot,l as Fe,t as vt,b7 as Tt}from"./index-Djco7rZW.js";import{a as v,b as Ie}from"./sentry-CEBEW6Zv.js";import{n as g}from"./mui-Xyv5fYYp.js";import{_ as At}from"./liveblocks-IsOzz8u-.js";import{bt as we,F6 as kt,Ff as Bt,Fg as Lt,Fh as Q,Fi as jt,Fj as Nt,Fk as $t,Fl as Mt,Fm as Ft,Fn as re,Fo as le,Fp as Se}from"./zeni-epic-state-Ddwqsd5-.js";import{j as It,z as ce}from"./mapTimeframeBalancesToTreeNode-Bre8FfBF-Dp06n9g6.js";import{m as K,l as de}from"./analyticsHelper-CAYdbjhS-BnriMIKx.js";import{b as Pt}from"./ReportTableViewSelector-Bc1K7mU_-gXJJUSis.js";import{S as oe,y as Et,M as Vt,$ as zt,v as Dt}from"./TimeRangeSwitcher-D00bDDhP-1mlxeaFc.js";import{X as Ut}from"./TimeframeSwitcherWithToggle-DyggDIQj-CHaX8emE.js";import{DownloadOverlayButton as Wt}from"./DownloadOverlay-D_lL1sPW-DOkU5hlK.js";import{Z as Yt,n as Gt,t as P,j as Ce}from"./CollapsableReportTable-DNfFkAts-CUxrmyNG.js";import{D as Re,T as Oe,C as te,L as Ht,g as Pe}from"./mapSectionWithAcOnlyToTreeNode-Cgyt68f3-pTitDfos.js";import{d as Zt,l as qt}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-lmI_kU2C.js";import{d as Xt}from"./mapLoadingInProgressToTreeNode-jcHEi-mv-CB7uCtY5.js";import"./pdf-BCMUg4JF.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./recharts-CwRU7bDL.js";import"./utils-PmQt3_O8.js";import"./filter-cZIFUNvj-UT3bl1R9.js";import"./TimeframeSwitcher-DA99HdHt-CrtHfDZp.js";import"./page-detail-CWX5S47F-DGhy77XG.js";import"./page-summary-D7_VQHwN-CTvBuwro.js";import"./AccountRow-D1cjRJJD-BdE3iF8x.js";import"./clock-CJkylEKt-DBRbYbDM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f1f62d11-47b8-4d81-9041-83ead8fabc61",e._sentryDebugIdIdentifier="sentry-dbid-f1f62d11-47b8-4d81-9041-83ead8fabc61")}catch{}})();const Jt=g.div`
|
|
2
|
-
position: relative;
|
|
3
|
-
width: 100%;
|
|
4
|
-
`,Qt=g.div`
|
|
5
|
-
display: flex;
|
|
6
|
-
width: 100%;
|
|
7
|
-
flex-direction: row;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
align-items: center;
|
|
10
|
-
min-height: ${oe}px;
|
|
11
|
-
box-sizing: content-box;
|
|
12
|
-
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
13
|
-
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
14
|
-
`,Kt=g.div`
|
|
15
|
-
position: relative;
|
|
16
|
-
width: auto;
|
|
17
|
-
max-width: 100%;
|
|
18
|
-
`,eo=g(ue)`
|
|
19
|
-
color: ${e=>e.theme.colors.primary};
|
|
20
|
-
`,to=g(wt)`
|
|
21
|
-
color: ${e=>e.theme.colors.primary};
|
|
22
|
-
width: ${S.sp3};
|
|
23
|
-
height: ${S.sp3};
|
|
24
|
-
flex-shrink: 0;
|
|
25
|
-
`,oo=g(St)`
|
|
26
|
-
width: 12px;
|
|
27
|
-
height: 12px;
|
|
28
|
-
flex-shrink: 0;
|
|
29
|
-
`,no=g.div`
|
|
30
|
-
display: flex;
|
|
31
|
-
align-items: center;
|
|
32
|
-
justify-content: center;
|
|
33
|
-
gap: ${S.sp2};
|
|
34
|
-
min-height: ${oe}px;
|
|
35
|
-
padding: 0 ${S.sp3};
|
|
36
|
-
box-sizing: border-box;
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
/* When the calendar popup is open, highlight the chevron */
|
|
39
|
-
.reports-period-slider-chevron {
|
|
40
|
-
color: ${e=>e.$isOpen===!0?e.theme.colors.primary:e.theme.colors.hero};
|
|
41
|
-
}
|
|
42
|
-
/* Class-based hover targets: nested styled component refs need @emotion/babel-plugin in app builds */
|
|
43
|
-
&:hover .reports-period-slider-icon {
|
|
44
|
-
color: ${e=>e.theme.colors.primary};
|
|
45
|
-
}
|
|
46
|
-
&:hover .reports-period-slider-label {
|
|
47
|
-
color: ${e=>e.theme.colors.primary};
|
|
48
|
-
}
|
|
49
|
-
&:hover .reports-period-slider-chevron {
|
|
50
|
-
color: ${e=>e.theme.colors.primary};
|
|
51
|
-
}
|
|
52
|
-
`,ao=g.div`
|
|
53
|
-
display: flex;
|
|
54
|
-
align-items: center;
|
|
55
|
-
height: ${S.sp5};
|
|
56
|
-
box-sizing: border-box;
|
|
57
|
-
padding: 0 ${S.sp3};
|
|
58
|
-
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
59
|
-
border-radius: ${S.sp1};
|
|
60
|
-
background: ${e=>e.theme.colors.grey5};
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
min-width: 0;
|
|
63
|
-
justify-content: space-between;
|
|
64
|
-
gap: ${S.sp2};
|
|
65
|
-
&:hover {
|
|
66
|
-
border-color: ${e=>e.theme.colors.primary};
|
|
67
|
-
}
|
|
68
|
-
`,so=g(ue)`
|
|
69
|
-
color: ${e=>e.theme.colors.hero};
|
|
70
|
-
overflow: hidden;
|
|
71
|
-
text-overflow: ellipsis;
|
|
72
|
-
white-space: nowrap;
|
|
73
|
-
`,io=g(Ct)`
|
|
74
|
-
color: ${e=>e.theme.colors.hero};
|
|
75
|
-
width: 12px;
|
|
76
|
-
height: 12px;
|
|
77
|
-
flex-shrink: 0;
|
|
78
|
-
`,Ee=g.div`
|
|
79
|
-
position: absolute;
|
|
80
|
-
top: calc(100% + ${S.sp1});
|
|
81
|
-
left: 0;
|
|
82
|
-
z-index: 10;
|
|
83
|
-
background: ${e=>e.theme.colors.grey5};
|
|
84
|
-
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
85
|
-
border-radius: ${S.sp1};
|
|
86
|
-
padding: ${S.sp3};
|
|
87
|
-
min-width: 260px;
|
|
88
|
-
`,ro=g(Ee)`
|
|
89
|
-
left: 50%;
|
|
90
|
-
transform: translateX(-50%);
|
|
91
|
-
`,lo=g.div`
|
|
92
|
-
display: flex;
|
|
93
|
-
flex-direction: column;
|
|
94
|
-
gap: ${S.sp3};
|
|
95
|
-
`,co=g.div`
|
|
96
|
-
display: flex;
|
|
97
|
-
align-items: center;
|
|
98
|
-
gap: ${S.sp2};
|
|
99
|
-
padding-bottom: ${S.sp2};
|
|
100
|
-
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
101
|
-
`,ve=g.div`
|
|
102
|
-
display: flex;
|
|
103
|
-
flex-direction: column;
|
|
104
|
-
flex: 1;
|
|
105
|
-
cursor: pointer;
|
|
106
|
-
padding: ${S.sp2} ${S.sp3};
|
|
107
|
-
border-radius: ${S.sp1};
|
|
108
|
-
border: 1px solid
|
|
109
|
-
${e=>e.active?e.theme.colors.primary:e.theme.colors.grey3};
|
|
110
|
-
background: ${e=>e.active?e.theme.colors.background:"transparent"};
|
|
111
|
-
`,Te=g(ue)`
|
|
112
|
-
color: ${e=>e.theme.colors.hero};
|
|
113
|
-
`,Ae=g(Fe)`
|
|
114
|
-
color: ${e=>e.theme.colors.primary};
|
|
115
|
-
`,po=g(Fe)`
|
|
116
|
-
color: ${e=>e.theme.colors.hero};
|
|
117
|
-
flex-shrink: 0;
|
|
118
|
-
`,ho=g.div`
|
|
119
|
-
display: flex;
|
|
120
|
-
flex-direction: column;
|
|
121
|
-
`,ke=g.div`
|
|
122
|
-
display: flex;
|
|
123
|
-
flex-wrap: wrap;
|
|
124
|
-
`,mo=g.div`
|
|
125
|
-
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
126
|
-
width: 100%;
|
|
127
|
-
margin: ${S.sp2} 0;
|
|
128
|
-
`;function ee(e){const{dateFormat:{analytics:t}}=k.getLocalizedStrings();return e.startDate.format(t.YYYYFormat)}function q(e,t,r){return Yt(r,e,t)}const fo=({allTimeframeTicks:e,bookCloseDate:t,firstMonthOfFY:r,fromIndex:l,selectedTimeframe:o,toIndex:n,onFromSelected:h,onToSelected:x})=>{const{dateFormat:{analytics:u}}=k.getLocalizedStrings(),m=k.getLocalizedStrings().reports,[f,d]=v.useState("from"),i=[...new Set(e.map(ee))],[p,y]=v.useState(()=>ee(e[l]??e[0])),s=T=>{d(T),y(ee(e[T==="from"?l:n]))},c=e.map((T,O)=>({tick:T,index:O})).filter(({tick:T})=>ee(T)===p),C=e.length-1,R=C>=0&&Lt(e[C]),B=q(e[l],o,r),$=q(e[n],o,r);return a.jsxs(lo,{children:[a.jsxs(co,{children:[a.jsxs(ve,{active:f==="from",onClick:()=>s("from"),children:[a.jsx(Te,{children:m.periodRangeFrom}),a.jsx(Ae,{children:B})]}),a.jsx(po,{children:"→"}),a.jsxs(ve,{active:f==="to",onClick:()=>s("to"),children:[a.jsx(Te,{children:m.periodRangeTo}),a.jsx(Ae,{children:$})]})]}),a.jsxs(ho,{children:[a.jsx(ke,{children:i.map(T=>a.jsx(xe,{id:T,text:T,checked:T===p,textVariant:"small",onClick:O=>y(O)},T))}),a.jsx(mo,{}),a.jsx(ke,{children:c.map(({tick:T,index:O})=>{const _=function(E,D,ne,X){return D==="month"?E.startDate.format(X):q(E,D,ne)}(T,o,r,u.MMMFormat),w=f==="from"?O===l:O===n,A=t!=null&&T.startDate.isAfter(t),M=O===C,N=A&&!(R&&M),I=A&&R&&M;return a.jsx(xe,{id:String(O),text:_,checked:w,starred:N,doubleStarred:I,textVariant:"small",onClick:E=>(D=>{f==="from"?h(D):x(D)})(Number.parseInt(E,10))},O)})})]})]})};function uo(e){const{allTimeframeTicks:t,bookCloseDate:r,firstMonthOfFY:l,onCOABalancesRangeChanged:o,onDateRangeAnalytics:n,isCompareMode:h,referrer:x,selectedCOABalancesRange:u,selectedTimeframe:m,variant:f="default"}=e,[d,i]=v.useState(!1),p=t??[];if(m==="week"||m==="free_range"||p.length===0)return null;const y=Vt(p,u),s=u.numberOfPeriods??1,c=y.startIndex,C=Math.max(0,Math.min(c,p.length-1)),R=Math.min(Math.max(C+y.length-1,0),p.length-1),B=q(p[C],m,l),$=q(p[R],m,l),T=(_,w)=>{const A=w-_+1,M={offsetFromEnd:p.length-1-w,length:A},N={startIndex:_,length:A},I=zt(p,M),E=Dt(p,N);I.thisPeriod!=null&&n!=null&&n(x,h,de(l,m,I.thisPeriod)),o(I,E),i(!1)},O=d&&p.length>0?a.jsx(fo,{allTimeframeTicks:p,bookCloseDate:r,firstMonthOfFY:l,selectedTimeframe:m,fromIndex:C,toIndex:R,onFromSelected:_=>{const w=_,A=Math.min(w+s-1,p.length-1);T(w,A)},onToSelected:_=>{const w=Math.min(C,_),A=Math.max(C,_);T(w,A)}}):null;return f==="timeRangeSlider"?a.jsx(Qt,{children:a.jsx(ye,{onClickAway:()=>i(!1),children:a.jsxs(Kt,{"data-testid":F("reports-period-range-calendar"),children:[a.jsxs(no,{$isOpen:d,onClick:()=>i(_=>!_),children:[a.jsx(to,{className:"reports-period-slider-icon"}),a.jsxs(eo,{className:"reports-period-slider-label",children:[B," – ",$]}),a.jsx(oo,{className:"reports-period-slider-chevron"})]}),O!=null?a.jsx(ro,{children:O}):null]})})}):a.jsx(ye,{onClickAway:()=>i(!1),children:a.jsxs(Jt,{"data-testid":F("reports-period-range-calendar"),children:[a.jsxs(ao,{onClick:()=>i(_=>!_),children:[a.jsxs(so,{children:[B," – ",$]}),a.jsx(io,{})]}),O!=null?a.jsx(Ee,{children:O}):null]})})}function Ve({section:e,sectionId:t,numOfBalances:r,config:l}){return Ce("no_filter",l.filterAccountsWithNilBalances,l.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(o=>function({accountGroup:n,sectionType:h,numOfBalances:x,title:u,isLastNode:m,config:f}){const d=P("section",[],u+h),i={children:[],id:d,isLastNode:m,reportElementData:{element:{kind:"section",title:u,sectionType:h,data:n,numOfBalances:x},config:f}},p=Ce("no_filter",f.filterAccountsWithNilBalances,f.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(n.accounts),y=p.map((s,c)=>Pe({account:s,sectionType:h,numOfBalances:x,title:s.account.accountName,config:f,isLastNode:c===p.length-1,parentNodeIDs:[d],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:p.length>1,hasChildren:s.children.length>0,isLastNode:c===p.length-1}]}}));return i.children.push(...y),i}({accountGroup:o,sectionType:t,numOfBalances:r,title:o.accountGroupName,isLastNode:!0,config:l}))}function ze({sectionWithAcOnly:e,sectionType:t,numOfBalances:r,config:l}){return e.accounts.map((o,n)=>Pe({account:o,sectionType:t,numOfBalances:r,title:o.account.accountName,config:l,isLastNode:n===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:o.children.length>0,isLastNode:n===e.accounts.length-1}]}}))}function De({balances:e,config:t,nodeId:r}){return{children:[],id:r??P("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function pe(e,t){for(const r of e)r.reportElementData={...r.reportElementData,config:t},pe(r.children,t)}function go(e,t,r,l=!0){if(Object.assign(e.config,t),function(h){return h.reportId==="profit_and_loss_by_classes"&&"headerBalances"in h&&Array.isArray(h.headerBalances)}(r))return pe(e.headerNodes,t),pe(e.contentNodes,t),{config:t,headerNodes:e.headerNodes,contentNodes:e.contentNodes};const o=Ue(r),n=ce({balances:o,config:t});return{config:t,headerNodes:l?[n]:[],contentNodes:[n,...e.contentNodes.slice(1)]}}const Ue=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e,r=t.sections?.expenses?.balances,l=t.sections?.income?.balances,o=t.sections?.expenses?.additionalBalances??[],n=t.sections?.income?.additionalBalances??[];return(r?.length??0)>0?[...r,...o]:(l?.length??0)>0?[...l,...n]:[]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let r=[];return Object.keys(t.sections).forEach(l=>{t.sections[l].balances.length>0&&(r=[...t.sections[l].balances,...t.sections[l].additionalBalances])}),r}default:return[]}};function bo(e,t,r=!0){const l=k.getLocalizedStrings().reports.sections,o=k.getLocalizedStrings().reports.cashFlow,n=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,x=De({balances:n,config:t}),u=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(m=>{const f={children:[],id:P("title_string_only",[],m),isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:l[m],data:void 0,numOfBalances:0},config:t}};u.push(f),e.rootSectionsWithSubSectionIds[m].forEach(d=>{if($t(d)===!0)if(e.sections[d].accountGroups.length>0){const i=Ve({sectionId:d,section:e.sections[d],numOfBalances:h,config:t});u.push(...i)}else{const i=ze({sectionWithAcOnly:e.sections[d],sectionType:d,numOfBalances:h,config:t});u.push(...i)}else Mt(d)===!0?u.push(function({calculatedSection:i,numOfBalances:p,title:y,isLastNode:s,config:c}){return{children:[],id:P("calculated_section_type1",[],y),isLastNode:s,reportElementData:{element:{kind:"calculated_section_type1",title:y,data:i,numOfBalances:p},config:c}}}({calculatedSection:e.calculatedSections[d],numOfBalances:h,title:o[d],isLastNode:!0,config:t})):Ft(d)===!0&&u.push(te({calculatedSection:e.calculatedSections[d],numOfBalances:h,title:o[d],isLastNode:!0,config:t}))})}),{config:t,headerNodes:r?[x]:[],contentNodes:[x,...u]}}function _o(e,t){const r=[];let l=[];const o=e.classColumns.length+1,n={children:[],id:P("class_headers",[]),isLastNode:!1,reportElementData:{element:{kind:"class_headers",title:"",data:e.classColumns,numOfBalances:o},config:t}};return r.push(n),l=[n],e.idsInOrder.forEach(h=>{if(re(h)){const x=e.sections[h];x!=null&&r.push(function(u,m,f,d,i){const p=P("section",[],u.title),y=u.treeLayout,s=u.sectionHeaderBalancesSlice??Se(i.firstMonthOfFY),c={children:[],id:p,isLastNode:!0,reportElementData:{element:{kind:"section",title:u.title,sectionType:m,data:s,numOfBalances:f},config:d}};if(y==null)return c;const C=new Map;for(const[R,B]of Object.entries(y.childrenRowIndicesByParent))C.set(Number(R),B);return y.rootAccountRowIndices.forEach((R,B)=>{c.children.push(We(R,u.accounts,C,f,d,[p],B===y.rootAccountRowIndices.length-1))}),c}(x,h,o,t,e))}else if(le(h)){const x=e.calculatedSections[h];x!=null&&r.push(function(u,m,f,d){const i=u.sectionHeaderBalancesSlice??Se(d.firstMonthOfFY);return{children:[],id:P("calculated_section",[],u.title),isLastNode:!0,reportElementData:{element:{kind:"calculated_section",title:u.title,data:i,numOfBalances:m},config:f}}}(x,o,t,e))}}),{config:t,headerNodes:l,contentNodes:r}}function We(e,t,r,l,o,n,h){const x=t[e],u=x.accountReportData,m=r.get(e)??[],f=P("ac_report",n,x.accountId);return{children:m.map((d,i)=>We(d,t,r,l,o,[...n,f],i===m.length-1)),id:f,isLastNode:h,reportElementData:{element:{kind:"ac_report",title:x.accountName,data:u,numOfBalances:l},config:o}}}const Be={contentPaddingLeft:new W(j[0],j[0],j[0]),contentPaddingRight:new W(j[3],j[3],j[8])},yo=g.div`
|
|
129
|
-
height: ${e=>e.height}px;
|
|
130
|
-
width: 99.9%;
|
|
131
|
-
margin-top: ${S.sp2};
|
|
132
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
133
|
-
`,xo=(e,t,r=!0,l=!1)=>{switch(e.reportId){case"profit_and_loss":return function(o,n,h=!0){const x=k.getLocalizedStrings().reports,u=o.sections.expenses!=null&&o.sections.expenses.balances.length>0?[...o.sections.expenses.balances,...o.sections.expenses.additionalBalances]:o.sections.income!=null&&o.sections.income.balances.length>0?[...o.sections.income.balances,...o.sections.income.additionalBalances]:o.sections.cogs!=null&&o.sections.cogs.balances.length>0?[...o.sections.cogs.balances,...o.sections.cogs.additionalBalances]:o.sections.otherIncome!=null&&o.sections.otherIncome.balances.length>0?[...o.sections.otherIncome.balances,...o.sections.otherIncome.additionalBalances]:o.sections.otherExpenses!=null&&o.sections.otherExpenses.balances.length>0?[...o.sections.otherExpenses.balances,...o.sections.otherExpenses.additionalBalances]:[],m=n.mode!=null&&n.mode==="this_period_vs_period_before"&&u.length>1?o.filter.balancesRange.numberOfPeriods+2:o.filter.balancesRange.numberOfPeriods+1,f=ce({balances:u,config:n}),d=[];return d.push(f),o.idsInOrder.forEach(i=>{if(re(i)===!0&&(o.sections[i].accountGroups.length>0?d.push(Re({section:o.sections[i],sectionType:i,numOfBalances:m,title:x.sections[i],isLastNode:!0,config:n})):d.push(Oe({sectionWithAcOnly:o.sections[i],sectionType:i,numOfBalances:m,title:x.sections[i],isLastNode:!0,config:n}))),le(i)===!0){const p=o.calculatedSections[i];p!=null&&d.push(te({calculatedSection:p,numOfBalances:m,title:x.sections[i],isLastNode:!0,config:n}))}}),{config:n,headerNodes:h?[f]:[],contentNodes:d}}(e,t,r);case"profit_and_loss_by_classes":{const o=e;return o.classColumns!=null&&o.reportTitle==="Profit and Loss by Class"?_o(o,t):function(n,h,x=!0,u=!1){const m=k.getLocalizedStrings().reports,f=k.getLocalizedStrings().common;let d=[];const i=[];let p=[];if(u===!0){const y=Zt({title:f.loading,balances:[],config:h});y.reportElementData.element.numOfBalances=6,x&&(p=[y]),i.push(y),[...Array(8)].forEach((s,c)=>{let C=qt[c%4];const R=Xt({title:`${c}+${C}`,balances:d,config:h});R.reportElementData.element.numOfBalances=6,i.push(R)})}else{const y=n.sections.expenses.balances.length>0?[...n.sections.expenses.balances,...n.sections.expenses.additionalBalances]:n.sections.income.balances.length>0?[...n.sections.income.balances,...n.sections.income.additionalBalances]:n.sections.cogs.balances.length>0?[...n.sections.cogs.balances,...n.sections.cogs.additionalBalances]:n.sections.otherIncome.balances.length>0?[...n.sections.otherIncome.balances,...n.sections.otherIncome.additionalBalances]:n.sections.otherExpenses.balances.length>0?[...n.sections.otherExpenses.balances,...n.sections.otherExpenses.additionalBalances]:[],s=ce({balances:y,config:h}),c=h.mode!=null&&h.mode==="this_period_vs_period_before"&&y.length>1?n.filter.balancesRange.numberOfPeriods+2:n.filter.balancesRange.numberOfPeriods+1;i.push(s),x&&(p=[s]),n.idsInOrder.forEach(C=>{if(re(C)===!0){const R=n.sections[C];R!=null&&i.push(Ht({section:R,sectionType:C,numOfBalances:c,title:m.sections[C],isLastNode:!0,config:h}))}else if(le(C)===!0){const R=n.calculatedSections[C];R!=null&&i.push(te({calculatedSection:R,numOfBalances:c,title:m.sections[C],isLastNode:!0,config:h}))}})}return{config:h,headerNodes:p,contentNodes:i}}(e,t,r,l)}case"cash_flow":return bo(e,t,r);case"balance_sheet":return function(o,n,h=!0){const x=k.getLocalizedStrings().reports.sections,u=k.getLocalizedStrings().reports.balanceSheet,m=Ue(o),f=n.mode!=null&&n.mode==="this_period_vs_period_before"&&m.length>1?o.filter.balancesRange.numberOfPeriods+2:o.filter.balancesRange.numberOfPeriods+1,d=De({balances:m,config:n}),i=[];return i.push(d),Object.keys(o.rootSectionsWithSubSectionIds).forEach(p=>{const y={children:[],id:P("title_string_only",[],p),isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:x[p],data:void 0,numOfBalances:0},config:n}};i.push(y),o.rootSectionsWithSubSectionIds[p].forEach(s=>{if(jt(s)===!0)if(o.sections[s].accountGroups.length>0)if(s==="equity"){const c=Ve({sectionId:s,section:o.sections[s],numOfBalances:f,config:n});i.push(...c)}else i.push(Re({section:o.sections[s],sectionType:s,numOfBalances:f,title:u[s],isLastNode:!0,config:n}));else if(s==="equity"){const c=ze({sectionWithAcOnly:o.sections[s],sectionType:s,numOfBalances:f,config:n});i.push(...c)}else{const c=o.sections[s];i.push(Oe({sectionWithAcOnly:c,sectionType:s,numOfBalances:f,title:u[s],isLastNode:!0,config:n}))}else Nt(s)===!0&&i.push(te({calculatedSection:o.calculatedSections[s],numOfBalances:f,title:u[s],isLastNode:!0,config:n}))})}),{config:n,headerNodes:h?[d]:[],contentNodes:i}}(e,t,r);default:return}},wo=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return z.Event.profitAndLoss;case"cash_flow":return z.Event.cashFlow;case"balance_sheet":return z.Event.balanceSheet;default:return z.Event.reports}},So=g.div`
|
|
134
|
-
display: flex;
|
|
135
|
-
flex-direction: row;
|
|
136
|
-
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
137
|
-
justify-content: center;
|
|
138
|
-
width: 100%;
|
|
139
|
-
align-items: center;
|
|
140
|
-
`,Co=g.div`
|
|
141
|
-
display: flex;
|
|
142
|
-
position: relative;
|
|
143
|
-
`,Ro=g(vt)`
|
|
144
|
-
padding: 12px;
|
|
145
|
-
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
|
|
146
|
-
cursor: ${e=>e.isSelected?"default":"pointer"};
|
|
147
|
-
margin: ${e=>e.spaceAround?`0 ${S.sp4}`:0};
|
|
148
|
-
display: flex;
|
|
149
|
-
flex-direction: column;
|
|
150
|
-
align-items: center;
|
|
151
|
-
&:hover {
|
|
152
|
-
color: ${e=>e.theme.colors.primary};
|
|
153
|
-
}
|
|
154
|
-
`,Oo=g.div`
|
|
155
|
-
height: 2px;
|
|
156
|
-
background-color: ${e=>e.theme.colors.primary};
|
|
157
|
-
border-radius: 1px;
|
|
158
|
-
position: absolute;
|
|
159
|
-
bottom: 0;
|
|
160
|
-
left: 0;
|
|
161
|
-
transition: left 0.35s;
|
|
162
|
-
&.profit_and_loss {
|
|
163
|
-
width: 106px;
|
|
164
|
-
left: 0;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
&.profit_and_loss_by_classes {
|
|
168
|
-
width: 106px;
|
|
169
|
-
left: 0;
|
|
170
|
-
}
|
|
171
|
-
&.balance_sheet {
|
|
172
|
-
width: 114px;
|
|
173
|
-
left: 30%;
|
|
174
|
-
}
|
|
175
|
-
&.cash_flow {
|
|
176
|
-
width: 160px;
|
|
177
|
-
left: 63%;
|
|
178
|
-
}
|
|
179
|
-
`,vo=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return k.getLocalizedStrings().reportTitleById[e];default:throw new Error("Unsupported report")}};function To({reportId:e,isSelected:t,onClick:r}){return a.jsx(Ro,{"data-testid":F("reportSwitcher",e),onClick:()=>{t===!1&&r(e)},isSelected:t,spaceAround:e==="balance_sheet",children:vo(e)})}function Ao({reportIds:e,selectedReport:t,onReportSelectionChanged:r}){const l=o=>{r?.(o)};return a.jsx(So,{"data-testid":F("report-switcher-container"),children:a.jsx(Co,{"data-testid":F("report-switcher-content"),children:e.map(o=>o!=="profit_and_loss_by_classes"&&a.jsxs("div",{children:[a.jsx(To,{reportId:o,isSelected:t===o,onClick:l}),a.jsx(Oo,{className:`Slider ${t}`})]},`reportSegment-${o}`))})})}const G={contentContainerLeftRightMargin:new W(j[3],j[3],j[8]),contentRightPadding:new W(j[3],j[3],j[8]),tickSkeletonContainerWidth:new W(343,600,905,1240)},{collaboration:{threads:{placeholder:Le,tooltip:je,title:{comments:ko}}}}=k.getLocalizedStrings(),Bo=new W(4,4),Lo=new W(4,4),jo=(e,t)=>e?Lo.value(t):Bo.value(t),No=g.div`
|
|
180
|
-
display: flex;
|
|
181
|
-
flex: 1 1 auto;
|
|
182
|
-
min-height: 100%;
|
|
183
|
-
flex-direction: column;
|
|
184
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
185
|
-
`,$o=g.div`
|
|
186
|
-
display: flex;
|
|
187
|
-
flex: 1 1 auto;
|
|
188
|
-
flex-direction: column;
|
|
189
|
-
height: calc(100vh - ${S.sp10});
|
|
190
|
-
margin: ${e=>`${S.sp2} ${S.sp0} ${S.sp0} ${G.contentContainerLeftRightMargin.valuePx(e.windowSize)}`};
|
|
191
|
-
`,Mo=g.div`
|
|
192
|
-
display: flex;
|
|
193
|
-
width: 100%;
|
|
194
|
-
height: 100%;
|
|
195
|
-
flex-direction: row;
|
|
196
|
-
justify-content: center;
|
|
197
|
-
align-items: center;
|
|
198
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
199
|
-
`,Fo=g.div`
|
|
200
|
-
position: absolute;
|
|
201
|
-
margin-top: ${e=>e.windowSize==="small"?"230px":"195px"};
|
|
202
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
203
|
-
`,Io=g.div`
|
|
204
|
-
display: flex;
|
|
205
|
-
width: 100%;
|
|
206
|
-
height: calc(100% - 60px);
|
|
207
|
-
flex-direction: column;
|
|
208
|
-
justify-content: center;
|
|
209
|
-
align-items: center;
|
|
210
|
-
`,Po=g.div`
|
|
211
|
-
height: 96px;
|
|
212
|
-
width: 96px;
|
|
213
|
-
background: ${e=>e.theme.colors.background};
|
|
214
|
-
border-radius: 50%;
|
|
215
|
-
cursor: pointer;
|
|
216
|
-
& svg {
|
|
217
|
-
margin: ${S.sp5};
|
|
218
|
-
color: ${e=>e.theme.colors.grey1};
|
|
219
|
-
}
|
|
220
|
-
&:hover {
|
|
221
|
-
& svg {
|
|
222
|
-
color: ${e=>e.theme.colors.primary};
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
`,Eo=g(bt)`
|
|
226
|
-
margin-top: ${S.sp3};
|
|
227
|
-
color: ${e=>e.theme.colors.hero};
|
|
228
|
-
`,Ye=({style:e,isLoading:t})=>t?a.jsx(Mo,{style:e,children:a.jsx(_t,{size:"ExtraLarge",start:!0})}):null,Y=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;default:return e.profitAndLossReport}},Ge=e=>{if(e.selectedReport==="profit_and_loss_by_classes"&&e.profitAndLossClassesViewReport?.uiState.classViewLayout==="horizontal"){const t=e.profitAndLossByClassHorizontalReport;return t.selectedPeriod!=null?t:Y(e)}return Y(e)},he=({selectedReport:e,isCompareModeOn:t,windowSize:r})=>{const l=e.availableNumberOfPeriods;let o=jo(t,r);return l!=null&&(o=Math.min(o,l)),o};function Tn(e){const t=me(),r=fe(),l=lt(),{onUpdateAccountViewMode:o,onUpdateClassesToFilterOut:n,onAdditionalBalanceSelectionChanged:h,onTimeframeSelectionChanged:x,isCompareMode:u,selectedReportAndTimeframeFetchState:m,onClickMenuIcon:f,isReportsCommentingEnabled:d,initialOpenThreadRequest:i}=e,p=e.isZeniUser??!1,y=l?.currentTenant?.companyId,s=l?.currentTenant?.companyName??"",c=d===!0&&y!=null,C=`dashboard_${y}`,R=p?ct:dt,{threads:B,isLoading:$,requestToOpenThread:T,setRequestToOpenThread:O,setOpenThread:_}=v.useContext(R);v.useEffect(()=>{i?.threadId!=null&&i?.companyId!=null&&i?.entityType!=null&&O(i)},[i,O]);const[w,A]=v.useState(!1),M=v.useMemo(()=>({application:"dashboard",companyId:y,tab:"standard_report",isGlobalComment:!1}),[y]),N=v.useMemo(()=>{const b=pt(B,M,"both");return Array.from(b.values())},[B,M]),I=v.useMemo(()=>N.filter(b=>b.resolved===!1),[N]).length,E=v.useCallback((b,L)=>{A(!1),O({threadId:L,companyId:b.companyId,entityType:b.entityType,threadMetadata:b})},[O]),[D,ne]=v.useState(void 0),X=v.useRef(null),Ze=v.useCallback(b=>{ne(b)},[]),qe=v.useCallback(b=>{X.current?.scrollToItem(b,"center")},[]);It({requestToOpenThread:T,setRequestToOpenThread:O,setOpenThread:_,allThreads:N,selectedReport:e.selectedReport,onReportSelectionChanged:e.onReportSelectionChanged,reportTreeRootNodes:D,nodeCollapseState:Ge(e).uiState.nodeCollapseState,onExpandNode:e.onElementCollapseStateChanged,scrollToNode:qe});const Xe=v.useMemo(()=>({companyId:y??"",companyName:s,entityType:"standard_report.details",entityId:y??"",isGlobalComment:!1,application:"dashboard",tab:"standard_report",url:window.location.href}),[y,s]),Je=(b,L)=>{b!==J?.accountViewMode&&o?.(b),L&&n?.(L)};v.useEffect(()=>{const b=e.selectedReport==="profit_and_loss_by_classes"&&e.profitAndLossClassesViewReport?.uiState?.classViewLayout==="horizontal";if(e.fetchState==="Completed"&&!b){const L=Y(e).filter?.additionalBalances??[];e.onUpdateHighlightedNumberOfPeriods?.(L,e.isCompareMode,he({selectedReport:Y(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe??[])}},[t,e.fetchState]);const J=function(b){let L=b.selectedCOABalancesRange.thisPeriod;if(L==null){const st=b.profitAndLossClassesViewReport.uiState.accountViewMode==="classes"&&b.profitAndLossClassesViewReport.uiState.classViewLayout==="horizontal",be=b.profitAndLossByClassHorizontalReport.headerBalances[0];if(st===!0&&be!=null)L=be;else{const it=b.displayOrder,se=b.profitAndLossReport.sections.expenses,rt=b.profitAndLossReport.sections.income,ie=se!=null&&(se?.balances?.length??0)>0?se:rt;if(ie!=null&&(ie.balances?.length??0)>0){const _e=ie.balances??[];L=_e[it==="ascending_date"?_e.length-1:0]}}}const V=Y(b),H=V.firstMonthOfFY,Z=V.bookCloseDate,nt=V.dataAvailable,at=V.filter.additionalBalances;if(L!=null)return{localeId:k.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:b.currentTenantCompanyName,statementFileType:"pdf",statements:b.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:H,bookCloseDate:Z,dataAvailable:nt,timeframe:b.selectedTimeframe,additionalBalances:at,format:b.reportFormat,balancesFilter:{thisPeriod:L,numberOfPeriods:b.selectedCOABalancesRange.numberOfPeriods,orderBy:b.displayOrder},accountViewMode:b.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:b.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:b.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:b.isZeniUser,isZeniCOAUsed:b.isZeniCOAUsed,classViewLayout:b.profitAndLossClassesViewReport.uiState.accountViewMode==="classes"?b.profitAndLossClassesViewReport.uiState.classViewLayout:"vertical"}}(e),Qe=k.getLocalizedStrings().reports.common,Ke=l!=null&&we(l.loggedInUserRole)?"detailed":"more_detailed",ae=l!=null&&we(l.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&J?.accountViewMode==="account_group"&&ae.push("detailed");const[et,tt]=Ie.useState(ae.includes("more_detailed")?"detailed":"more_detailed"),ot={selectedFormat:et,disabledFormatForRole:ae,roleBasedClassesSelectedFormat:Ke,setSelectedFormat:tt};if(m.fetchState==="Error"||e.fetchState==="Error")return a.jsxs(Io,{"data-testid":F("report-page-error-reload-page"),children:[a.jsx(Po,{"data-testid":F("report-page-error-reload-icon"),onClick:e.onReloadReport,children:a.jsx(ht,{})}),a.jsx(Eo,{children:Qe.failed})]});const ge=e.fetchState;if(m.fetchState!=="Completed"&&(ge==="In-Progress"||ge==="Not-Started"))return a.jsx(Ye,{isLoading:!0});{const b=a.jsx(mt,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:J!=null&&e.dataAvailable!=null?a.jsx(Wt,{defaultOptions:J,analytics:e.analytics,referrer:U(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:ot,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:Je,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(V,H,Z)=>{h(u,V,H,Z)},onTimeframeSelectionChanged:(V,H,Z)=>{x?.(V,H,Z)}}):a.jsx(a.Fragment,{})}}}),L=a.jsxs(Zo,{children:[c?a.jsxs(qo,{onClick:()=>A(!0),"data-testid":F("reports-page-comment-button"),children:[a.jsx(ft,{count:$?void 0:I,isLoading:$,style:{left:"12px"}}),a.jsx(Xo,{})]}):null,b]});return a.jsxs(a.Fragment,{children:[a.jsxs(No,{children:[a.jsx(ut,{title:k.getLocalizedStrings().reports.title,backgroundColor:r.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:f,rightSideComponent:L,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),a.jsx(Vo,{...e,onTreeNodesReady:Ze,treeRef:X})]}),c?a.jsx(At,{id:C,children:a.jsx(gt,{isDrawerOpen:w,allowComposer:!0,drawerTitle:ko,threads:N,filter:M,autoExpand:!0,autoFocus:!1,isLoading:$,textOverrides:{composerPlaceholder:Le.addANewComment,replyComposerPlaceholder:Le.replyAComment,threadResolve:je.resolveComment,threadUnResolve:je.unResolveComment},threadMetadata:Xe,onThreadClick:E,onCloseAllThreadsDrawer:()=>A(!1),drawerSectionStyle:{width:t==="small"?"100%":"400px",boxSizing:t==="small"?"border-box":"content-box"},collapsibleThreadStyle:{width:t==="small"?"100%":"360px"}})}):null]})}}function Vo(e){const t=me(),r=fe(),l=v.useRef(null),{selectedReportAndTimeframeFetchState:o}=e,n=Y(e),h=l.current?.clientWidth??G.tickSkeletonContainerWidth.value(t),x=kt([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",u=o.fetchState==="In-Progress",m=e.profitAndLossClassesViewReport?.uiState,f=e.isHorizontalClassReportSwitchEnabled!==!1&&e.selectedReport==="profit_and_loss_by_classes"&&m?.accountViewMode==="classes",d=f&&m?.classViewLayout==="horizontal"&&e.onCOABalancesRangeChanged!=null&&o.fetchState==="Completed",i=f&&m?.classViewLayout==="horizontal",p=k.getLocalizedStrings().reports,y=e.analytics!=null?(s,c,C)=>{c===!0&&e.analytics?.trackCompareFilterTimeFrame(s,K(e.selectedTimeframe),"range filter",C),e.analytics?.trackDateRangeFilterChange(s,"range filter",c,C)}:void 0;return a.jsxs($o,{windowSize:t,"data-testid":F("reports-page-content-container"),children:[a.jsx(Wo,{windowSize:t,ref:l,children:a.jsx(Ut,{timeframe:{allowedTimeframes:["month","quarter","year"],selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:s=>{e.analytics?.trackTimeframeSwitch(K(s),U(e.selectedReport)),e.onTimeframeSelectionChanged?.(s,!0)}},toggle:{label:k.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,isToggleDisabled:i,onValueChanged:s=>{e.analytics?.trackCompareMode(s,U(e.selectedReport),K(e.selectedTimeframe));const c=n.filter;e.onAdditionalBalanceSelectionChanged?.(s,c.additionalBalances,c.balancesRange.numberOfPeriods)}},secondaryToggle:f?{label:p.horizontalClassLayoutSwitch,isOn:m?.classViewLayout==="horizontal",onValueChanged:s=>{e.onUpdateClassViewLayout?.(s?"horizontal":"vertical")}}:void 0,secondaryToggleDataTestId:F("reports-horizontal-class-layout-switch")})}),o.fetchState==="Not-Started"||o.fetchState==="In-Progress"?a.jsx(Yo,{windowSize:t,children:a.jsx(Go,{children:a.jsx(xt,{width:h,height:oe-j[2],backgroundColor:r.colors.grey3,style:{borderRadius:S.sp2}})})}):d&&e.onCOABalancesRangeChanged!=null?a.jsx($e,{windowSize:t,children:a.jsx(uo,{allTimeframeTicks:e.allTimeframeTicks,bookCloseDate:n.bookCloseDate,firstMonthOfFY:n.firstMonthOfFY,onCOABalancesRangeChanged:e.onCOABalancesRangeChanged,onDateRangeAnalytics:y,isCompareMode:e.isCompareMode,referrer:U(e.selectedReport),selectedCOABalancesRange:e.selectedCOABalancesRange,selectedTimeframe:e.selectedTimeframe,variant:"timeRangeSlider"})}):a.jsx($e,{windowSize:t,children:a.jsx(Et,{firstMonthOfFY:n.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:Ne(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:Ne(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(s,c)=>{e.analytics?.trackDateRangeFilterChange(U(e.selectedReport),"range filter",e.isCompareMode,de(n.firstMonthOfFY,e.selectedTimeframe,c)),e.onThisPeriodChanged?.(c,he({selectedReport:n,isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:s=>{const c=zo(e.allTimeframeTicks,s.fromEnd);e.analytics?.trackDateRangeFilterChange(U(e.selectedReport),"range filter",e.isCompareMode,de(n.firstMonthOfFY,e.selectedTimeframe,c.thisPeriod)),e.onCOABalancesRangeChanged?.(c)}})}),a.jsx(Ho,{windowSize:t,children:a.jsx(Ao,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:s=>{e.analytics?.trackPageLoaded(Do(s)),s==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(s)}})}),o.fetchState==="Not-Started"||o.fetchState==="In-Progress"?a.jsx(Ye,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:u}):a.jsxs(a.Fragment,{children:[a.jsx(He,{report:Ge(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:(s,c)=>{e.analytics?.trackCompareFilterChange(s==="this_period_vs_last_period_percent"?"percentage":"amount",U(e.selectedReport),K(e.selectedTimeframe),c);const C=Array.from(new Set(s==="this_period_vs_last_period_percent"?[...n.filter.additionalBalances,"this_period_vs_last_period_percent"].filter(R=>R!=="this_period_vs_last_period"):[...n.filter.additionalBalances,"this_period_vs_last_period"].filter(R=>R!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,C,he({selectedReport:n,isCompareModeOn:e.isCompareMode,windowSize:t}))},onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:x,onTreeNodesReady:e.onTreeNodesReady,treeRef:e.treeRef}),Bt(e.selectedReport)?a.jsx(Fo,{windowSize:t,children:a.jsx(Pt,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:(s,c)=>{s!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(s),c&&e.onUpdateClassesToFilterOut?.(c)},classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:x,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const Ne=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let r=e.length-1;return t.thisPeriod!=null&&(r=e.findIndex(l=>l.startDate.isSame(t.thisPeriod.startDate,"date")&&l.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(r+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},zo=(e,t)=>({thisPeriod:e[e.length-1-t.offsetFromEnd],numberOfPeriods:t.length,orderBy:"ascending_date"}),U=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},Do=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return z.Event.profitAndLoss;case"cash_flow":return z.Event.cashFlow;case"balance_sheet":return z.Event.balanceSheet;default:return z.Event.reports}},He=Ie.memo(function({report:e,displayOrder:t,reportFormat:r,analytics:l,isZeniUser:o,onAdditionalBalanceSelectionChanged:n,onAccountBalanceClick:h,onTableScroll:x,onElementCollapseStateChanged:u,isCompareModeOn:m,isPageFetchInProgress:f=!1,onTreeNodesReady:d,treeRef:i}){const p=me(),y=fe(),[s,c]=v.useState(void 0),[C,R]=v.useState(void 0),B=!(p==="small"||p==="medium-compact"),$=m===!0?"this_period_vs_period_before":"none";v.useEffect(()=>{const _={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:$,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:r,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:Tt(),showClassAccountNumber:o};if(s!=null&&Me(C,e)&&f!==!0){const w=go(s,_,e,B);c(w)}else{const w=xo(e,_,B,f);R(e),c(w)}},[m,e,f]),v.useEffect(()=>{s?.contentNodes!=null&&d?.(s.contentNodes)},[s,d]);const[T,O]=v.useState(5);return s!=null?a.jsxs(a.Fragment,{children:[a.jsx(Rt,{analytics:l,onLoad:_=>_?.trackPageLoaded(wo(e))}),a.jsx(yo,{height:T,children:a.jsx(Gt,{backgroundColor:new Ot(y.colors.grey4),rootNodes:s,type:"name+balances_actual",compareMode:(()=>{let _=[];switch(e.reportId){case"profit_and_loss":{const w=e;_=(w.sections.expenses.balances.length>0?w.sections.expenses:w.sections.income).additionalBalances.map(A=>Q(A));break}case"profit_and_loss_by_classes":{const w=e,A=(w.sections.expenses?.balances?.length??0)>0?w.sections.expenses:null,M=(w.sections.income?.balances?.length??0)>0?w.sections.income:null,N=A??M;N?.additionalBalances!=null&&(_=N.additionalBalances.map(I=>Q(I)));break}case"cash_flow":_=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(w=>Q(w));break;case"balance_sheet":_=e.sections.equity.additionalBalances.map(w=>Q(w))}return _.length>0&&_.find(w=>w.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"})(),isSticky:{isStickyHeader:B,isStickyName:B},treeNodePadding:{left:Be.contentPaddingLeft.value(p),right:Be.contentPaddingRight.value(p)},treeRef:i,onAccountClick:h==null?void 0:(_,w,A)=>{h(_,w,A)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:_=>n?.(_==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(_,w)=>u?.(e.reportId,_,w),onReportTableHeightChanged:_=>{O(_+135)},onScroll:_=>x?.(e.reportId,_)})})]}):null},(e,t)=>Uo(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));He.displayName="Reports table";const Uo=(e,t,r)=>r.reduce((l,o)=>l===!0&&Me(e[`${o}`],t[`${o}`]),!0),Wo=g.div`
|
|
229
|
-
padding-right: ${e=>G.contentRightPadding.valuePx(e.windowSize)};
|
|
230
|
-
`,$e=g.div`
|
|
231
|
-
margin-top: ${S.sp3};
|
|
232
|
-
padding-right: ${e=>G.contentRightPadding.valuePx(e.windowSize)};
|
|
233
|
-
`,Yo=g.div`
|
|
234
|
-
margin-top: ${S.sp3};
|
|
235
|
-
padding-right: ${e=>G.contentRightPadding.valuePx(e.windowSize)};
|
|
236
|
-
`,Go=g.div`
|
|
237
|
-
display: flex;
|
|
238
|
-
flex-direction: row;
|
|
239
|
-
justify-content: flex-start;
|
|
240
|
-
min-height: ${oe}px;
|
|
241
|
-
box-sizing: content-box;
|
|
242
|
-
width: 100%;
|
|
243
|
-
align-items: center;
|
|
244
|
-
justify-content: center;
|
|
245
|
-
`,Ho=g.div`
|
|
246
|
-
margin-top: ${S.sp4};
|
|
247
|
-
padding-right: ${e=>G.contentRightPadding.valuePx(e.windowSize)};
|
|
248
|
-
`,Zo=g.div`
|
|
249
|
-
display: flex;
|
|
250
|
-
flex-direction: row;
|
|
251
|
-
align-items: center;
|
|
252
|
-
gap: ${S.sp5};
|
|
253
|
-
`,qo=g.div`
|
|
254
|
-
display: flex;
|
|
255
|
-
align-items: center;
|
|
256
|
-
justify-content: center;
|
|
257
|
-
position: relative;
|
|
258
|
-
cursor: pointer;
|
|
259
|
-
color: ${e=>e.theme.colors.hero};
|
|
260
|
-
&:hover {
|
|
261
|
-
color: ${e=>e.theme.colors.primary};
|
|
262
|
-
}
|
|
263
|
-
`,Xo=g(yt)`
|
|
264
|
-
display: flex;
|
|
265
|
-
width: ${S.sp4};
|
|
266
|
-
height: ${S.sp4};
|
|
267
|
-
align-items: center;
|
|
268
|
-
justify-content: center;
|
|
269
|
-
`;export{Tn as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as c}from"./pdf-BCMUg4JF.js";import{j as ee,i as ae,h as se,l as te,u as f,k as oe,R as ne,m as j}from"./core-Cd4LmmhG.js";import{ct as L,cR as C,HA as re,mO as F,gB as le,fF as ie,mT as ce,bt as de,HB as pe,bm as me,r7 as fe,HC as ue,HD as _e,q5 as he,HE as v,HF as be,HG as ye,HH as T,HI as O,HJ as k,HK as D,HL as H,Fh as ge,qP as Ce,qD as U,qE as V,qV as Ie,qI as x,q$ as we,HM as Se,HN as Te,HO as Re,HP as Fe,HQ as Oe,cA as ke,cy as De}from"./zeni-epic-state-Ddwqsd5-.js";import{e as He,aE as G,aG as A,js as Y,k2 as Ae,_ as Ee,bk as Le,jz as E,J as Me,k3 as Pe,k4 as Be,jO as je}from"./index-Djco7rZW.js";import"./mui-Xyv5fYYp.js";import ve from"./NotFoundScreen-DOVxG4zz.js";import{F as Ue}from"./FeaturePreviewScreen-T_BtTTOm.js";import{a as y}from"./sentry-CEBEW6Zv.js";import{u as Ve}from"./useInitialThreadRequest-BQElYMHu.js";import{t as z,a as q}from"./routePaths-BKDf21Fs.js";import{M as xe}from"./MobileAppDrawer-CYfAM9Mw.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="73e8a455-1f41-4054-87c2-06099157a327",e._sentryDebugIdIdentifier="sentry-dbid-73e8a455-1f41-4054-87c2-06099157a327")}catch{}})();const g=e=>{e(H({resetLeftScroll:!0})),e(D({resetLeftScroll:!0})),e(k({resetLeftScroll:!0})),e(O({resetLeftScroll:!0}))},ze=e=>{e(Te()),e(Re()),e(Fe()),e(Oe())},qe=oe(function(e){const o=Y.getSignedInUser(),i=e.tenantState.currentTenantId,u=L(e),a=u?.companyName??"",s={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:i??""},t=C(e),n=pe(u);return{fetchState:t.fetchState,selectedTimeframe:t.filter.timeframe,selectedReport:t.selectedReportId,displayOrder:t.displayOrder,reportFormat:t.reportFormat,dataAvailable:t.dataAvailable,balancesInTimeframe:t.balancesInTimeframe,allTimeframeTicks:t.allTimeframeTicks,selectedCOABalancesRange:t.filter.balancesRange,isCompareMode:t.isCompareModeOn,profitAndLossReport:t.profitAndLossReport,profitAndLossClassesViewReport:t.profitAndLossByClassReport,profitAndLossByClassHorizontalReport:t.profitAndLossByClassHorizontalReport,balanceSheetReport:t.balanceSheetReport,cashFlowReport:t.cashFlowReport,downloadState:t.downloadState,analytics:E,isZeniUser:me(o),showAccountGroups:n===!0,currentTenantCompanyName:a,statementEndPoint:`${Be}/statement`,authParams:s,isZeniCOAUsed:n}},function(e,o){const{navigate:i,handleDrawerToggle:u}=o;return{onReloadReport:()=>{o.signedInUser!=null&&e(F(o.signedInUser.userId,!0,!1))},updateDownloadStateHandler:a=>{e(Se(a))},onTimeframeSelectionChanged:(a,s,t)=>{if(e(we(a)),s){const{isCompareModeOn:n,filter:l}=o,{additionalBalances:p,balancesRange:d}=l;let m=[...p];a==="year"&&(m=m.filter(_=>_!=="this_period_vs_same_period_last_year"&&_!=="this_period_vs_same_period_last_year_percent"&&_!=="same_period_last_year")),e(U(o.firstMonthOfFY,n,d.numberOfPeriods<4?4:d.numberOfPeriods,m)),p.length>0&&e(V(o.firstMonthOfFY,m.includes("this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent",d.numberOfPeriods<4?4:d.numberOfPeriods,m))}t!==!0&&setTimeout(()=>g(e),50)},onReportSelectionChanged:a=>{const s=o.selectedReportID;if(a===s)return;const t=o.classViewLayout;e(T(a)),(a==="balance_sheet"||a==="cash_flow")&&s==="profit_and_loss_by_classes"&&t==="horizontal"&&e(x({numberOfPeriods:4,orderBy:"ascending_date"})),a!=="profit_and_loss"&&a!=="profit_and_loss_by_classes"&&s==="profit_and_loss_by_classes"&&t==="horizontal"&&e(v({classViewLayout:"vertical"})),g(e)},onCOABalancesRangeChanged:(a,s)=>{e(x(a,s)),g(e)},onThisPeriodChanged:(a,s,t)=>{e(Ie(o.firstMonthOfFY,a,s<4?4:s)),t!==!0&&g(e)},onAdditionalBalanceSelectionChanged:(a,s,t,n)=>{e(U(o.firstMonthOfFY,a,t<4?4:t,s)),s.length>0&&e(V(o.firstMonthOfFY,s.includes("this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent",t<4?4:t,s)),n!==!0&&o.isCompareModeOn===a||setTimeout(()=>g(e),50)},onUpdateHighlightedNumberOfPeriods:(a,s,t,n)=>{e(Ce({firstMonthOfFY:o.firstMonthOfFY,isCompareModeOn:s,additionalBalances:a,maxNumOfPeriodsToHighlight:t<4?4:t,coaBalances:n}))},onAccountBalanceClick:o.hasTransactionAccess!==!0?void 0:(a,s,t)=>{let n,l;if(s.balanceTimeFrame==="month"||s.balanceTimeFrame==="quarter"?(n=s.balanceTimeFrame,l=ge(s)):s.balanceTimeFrame==="year"?(n="quarter",l={startDate:s.endDate.startOf("quarter"),endDate:s.endDate}):console.error(`timeframe ${s.balanceTimeFrame} is not supported`),l!=null&&n!=null){const p=a.accountName===""?a.accountDescription:a.accountName,d=(()=>{if(o.selectedReportID==="profit_and_loss_by_classes"&&o.classViewLayout==="horizontal"&&a.accountType!=null){if(t?.isHorizontalClassTotalColumn===!0)return z(o.tenantEmailDomain,a.accountId,a.accountType,p,n,l);if(t?.isHorizontalClassColumn===!0&&s.id!=null)return q(o.tenantEmailDomain,a.accountId,a.accountType,s.id,p,n,l)}return a.classesViewParentId!=null&&a.classesViewParentId.parentClassId!=null&&a.accountType!=null?q(o.tenantEmailDomain,a.accountId,a.accountType,a.classesViewParentId.parentClassId?.[0],p,n,l):a.accountType!=null?z(o.tenantEmailDomain,a.accountId,a.accountType,p,n,l):void 0})();if(d!=null){const m=je(o.location.state?.pathnameStackToGoBack,o.location.pathname);i(d,{state:{pathnameStackToGoBack:m,referrer:R(o.selectedReportID)}})}}},onTableScroll:(a,s)=>{switch(a){case"profit_and_loss":e(H({scrollPosition:s}));break;case"profit_and_loss_by_classes":e(D({scrollPosition:s}));break;case"balance_sheet":e(k({scrollPosition:s}));break;case"cash_flow":e(O({scrollPosition:s}));break;default:console.log(`Table Scroll state for ${a} is not handled`)}},onElementCollapseStateChanged:(a,s,t)=>{switch(a){case"profit_and_loss":e(H({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;case"profit_and_loss_by_classes":e(D({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;case"balance_sheet":e(k({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;case"cash_flow":e(O({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;default:console.log(`Collapse state toggle for ${a} is not handled`)}},onBackClick:()=>{i("../../")},onUpdateAccountViewMode:a=>{e(ye({viewMode:a})),a==="classes"?(o.analytics?.trackGroupBySwitch("Classes",R(o.selectedReportID)),e(T("profit_and_loss_by_classes"))):(o.analytics?.trackGroupBySwitch("Accounts",R(o.selectedReportID)),e(T("profit_and_loss"))),g(e)},onUpdateClassesToFilterOut:a=>{e(be({classesToFilterOut:a}))},onUpdateClassViewLayout:a=>{e(v({classViewLayout:a}))},onOpenAccountViewMode:()=>{e(he())},onUpdateDisplayOrder:a=>{e(_e(a))},onUpdateReportFormat:a=>{ze(e),e(ue(a))},onClickMenuIcon:()=>{u(!0)},onResyncReports:()=>{e(fe("profit_and_loss_by_classes"))}}})(Pe);function Ge(){const e=He(),o=ee(),i=ae(),u=se(),{tenantEmailDomain:a}=te(),{useFeatureGate:s}=G(),{isFeatureEnabled:t}=s(A.isReportsHorizontalClassLayoutSwitchEnabled),n=Y.getSignedInUser(),[l,p]=y.useState(!1),[d,m]=y.useState(!1),{isFeatureEnabled:_}=s(A.isReportsCommentingEnabled);if(n==null)throw Error("Can't access reports page without signing in...");const M=f(r=>L(r)),N=M.company?.companyInfo.firstMonthOfFY??1,$=Ve(_?M?.companyId:void 0),I=f(r=>C(r).fetchState),J=f(r=>re(r)),{areTenantIdsInSync:h}=Ae(),w=f(r=>r.financeStatementState.selectedReportId),Z=f(r=>C(r).isCompareModeOn),b=f(r=>C(r).filter),S=f(r=>C(r).selectedReportAndTimeframeFetchState),K=f(r=>r.profitAndLossClassesViewState.uiState.classViewLayout);y.useEffect(()=>{!l&&h&&(p(!0),i(F(n.userId,!0,!0,!1)))},[l,n,i,h]),y.useEffect(()=>{l&&!d&&I==="Completed"&&h&&(i(F(n.userId,!1,!0,!1)),m(!0))},[l,d,I,h]),y.useEffect(()=>{if(l&&S.fetchState==="Not-Started"&&b.timeframe!=="free_range"&&b.timeframe!=="week"&&h)switch(w){case"profit_and_loss":case"profit_and_loss_by_classes":i(ce(b.timeframe));break;case"balance_sheet":i(ie(b.timeframe));break;case"cash_flow":i(le(b.timeframe))}},[l,w,S,h]);const P=Ee(),Q=P?.loggedInUserRole!=null&&de(P?.loggedInUserRole)!==!0,[W,X]=y.useState(!1),B=r=>{X(r)};return c.jsxs(c.Fragment,{children:[I==="Completed"?c.jsx(Le,{analytics:E,onLoad:r=>r.trackPageLoaded(Me.Event.reports)}):null,c.jsx(xe,{isAppContentDrawerOpen:W,handleDrawerToggle:B}),c.jsx(qe,{firstMonthOfFY:N,tenantEmailDomain:a,location:u,navigate:o,windowSize:e,classViewLayout:K,selectedReportID:w,analytics:E,filter:b,isCompareModeOn:Z,hasTransactionAccess:Q,signedInUser:n,selectedReportAndTimeframeFetchState:S,handleDrawerToggle:B,reportsResyncFetchState:J.reportsResyncFetchState,isHorizontalClassReportSwitchEnabled:t,isReportsCommentingEnabled:_,initialOpenThreadRequest:$})]})}const R=e=>{switch(e){case"profit_and_loss":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}};function ca(){const e=f(s=>L(s)),{useFeatureGate:o}=G(),{isFeatureEnabled:i}=o(A.isDebitCardFeatureEnabled),u=ke(i,e),a=De(e);return u===!0||a===!0?c.jsx(Ue,{}):c.jsxs(ne,{children:[c.jsx(j,{path:"/",element:c.jsx(Ge,{})}),c.jsx(j,{path:"*",element:c.jsx(ve,{})})]})}export{ca as default};
|