@zeniai/web-cockpit-ui 1.15.67-dev → 1.15.68-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-C3aJkcMK.js +21 -0
- package/dist/assets/{AIPerformancePage-Da3gFo8A-Z4ui8_vI.js → AIPerformancePage-BHB45mP--Dkqa_6NM.js} +32 -32
- package/dist/assets/AccountInfoPage-Cd5xYT1g-oYlOoTFh.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DqErO8FH-BbWzsS4C.js → AccountInfoPageContent-CJ7ycVIK-D3wmzb6C.js} +22 -22
- package/dist/assets/AccountLockedInfoModal-Dox7IuAX-D2jstjYM.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-CVjH1p0d-Dxp_Yf_G.js → AccountReconDetailsDrawerPage-Bqty08m0-C2lF-15J.js} +19 -19
- package/dist/assets/AccountRow-D1cjRJJD-68vCYcVL.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-D7xvgmOH-CXZpH0yT.js → AccountsPromoCardStack-Bs3naJHM-aTi5So3x.js} +26 -26
- package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-B1yl6GaN.js +6 -0
- package/dist/assets/{AddToWalletPage-zJy9QCjx-C9dnTqSq.js → AddToWalletPage-CyRfqVDB-DUq2dZuO.js} +16 -16
- package/dist/assets/{AgingReportsPage-wAvQb1d8-CHVcAAAX.js → AgingReportsPage-xBFff3BM-DTUv7MP5.js} +7 -7
- package/dist/assets/{AllUserItems-DEv_CXOA-DrRFxVFx.js → AllUserItems-BJf6WPDo-oBZrDqKF.js} +12 -12
- package/dist/assets/ApAgingDetailPage-CjBrPyi8-Ctyp_OQl.js +46 -0
- package/dist/assets/{AppBasePage-DMlomvFS-DqF43oJC.js → AppBasePage-CqDm-hnV-CBWeFJt1.js} +13 -13
- package/dist/assets/AppDrawerContent-CVVWj66i-BVbze0mI.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-DVPWeDhs.js +47 -0
- package/dist/assets/{ArAgingChart-m-Xp3HAW-BYykckhE.js → ArAgingChart-CBsqOd-4-DjyETjt2.js} +1 -1
- package/dist/assets/ArAgingDetailPage-i7JObt60-SsEu5TGI.js +46 -0
- package/dist/assets/{AttachmentView-DB_V1qT1-BAHgn941.js → AttachmentView-CzC4skJ3-Bi12zP8s.js} +9 -9
- package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-ia72rJE3.js +38 -0
- package/dist/assets/{BankAccountSection-BabhrBM7-CsYno7bw.js → BankAccountSection-Di4sF52j-DIEDANH7.js} +7 -7
- package/dist/assets/{BankAccountWarningSection-yT2UAd12-AQuYXXrV.js → BankAccountWarningSection-Cled-2cR-Btg4jA3W.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-CbxXykMM-DJ1Qfs7C.js → BankConnectionsSettingsPage-Ccnzq7st-zo73imcz.js} +19 -19
- package/dist/assets/BillDetailPage-XXOwBfO1-bzzMt-3T.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-COyDRpaF-B8K_-t2I.js → BillPayApprovalRuleDetailPage-DFZ0csaT-MjgDonCW.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-9pxkgFAT-CZRNmhN3.js → BillPayApprovalRulesPage-COCypDcS-OXkxfW5r.js} +15 -15
- package/dist/assets/BillPayPromoPage-DOE2YIqC-BdcB_fiR.js +84 -0
- package/dist/assets/{BillPaySetUpPage-Cs5rkWBu-BFj8l_hW.js → BillPaySetUpPage-BCJbZDsV-CqE7jRvx.js} +4 -4
- package/dist/assets/BillingSettingsPage-iImtlEmO-CoZpnA72.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-DRkGQQAe-Di_BJEYU.js → BillsBulkReviewDrawerPage-B11GWM_0-DD3e0R6N.js} +1 -1
- package/dist/assets/{BoxItem-DRwx0M5a-BMNzRCBU.js → BoxItem-Bxa1M4QU-C6dqF4Ox.js} +11 -11
- package/dist/assets/{BusinessVerificationPage-1h0z3N9u-B1KNa18N.js → BusinessVerificationPage-DSuJFoW1-DjAbvNNU.js} +9 -9
- package/dist/assets/{CardNumberSubText-DqtLT1w5-DwPe5Ik5.js → CardNumberSubText-_ZZbaz_k-B01MfVRx.js} +3 -3
- package/dist/assets/{CashbackDetailPage-ChdQcvkC-1A8EZQvJ.js → CashbackDetailPage-DAZXitLt-CcETVJHX.js} +26 -26
- package/dist/assets/{ChargeCardDetailPage-DFOKlPNG-MYhUkq-U.js → ChargeCardDetailPage-B1VIpASk-CholRaxO.js} +34 -34
- package/dist/assets/{ChargeCardListPage-DhLUsUhd-CLRkrqGa.js → ChargeCardListPage-BOBepN-x-B_s13mPY.js} +26 -26
- package/dist/assets/{ChargeCardListTable-DE72YU_i-BYCOUa2e.js → ChargeCardListTable-YznzSsJo-BNhOVvS0.js} +38 -38
- package/dist/assets/{ChargeCardPaymentHistoryPage-CbGR18s--C7VqbbyV.js → ChargeCardPaymentHistoryPage--jOwsMla-cFFoj7V4.js} +44 -44
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-Bo4_w0av.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-ITi25kUD-BZlZpXjO.js → ChargeCardSetupPage-0bpVkeJs-C9PMx1NQ.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-CTJc1BCc-BYEICWbq.js → ChargeCardStatementsPage-ChWyQlw6-CwHckC8y.js} +7 -7
- package/dist/assets/{CheckDepositDrawerPage-BrzeSj-3-BtbAQdkJ.js → CheckDepositDrawerPage-BS7hnyZn-B5V5osVM.js} +23 -23
- package/dist/assets/CollapsableReportTable-DNfFkAts-CKi8-92F.js +2982 -0
- package/dist/assets/{CompanyOfficerDetailsSection-BaPhFsLx-Cr9d9T4h.js → CompanyOfficerDetailsSection-CrOIN4IW-Bdbu216-.js} +22 -22
- package/dist/assets/{CompanyPassportCard-B9ymV6Az-COMAf0pP.js → CompanyPassportCard-CkzYFTrp-BacKEy19.js} +9 -9
- package/dist/assets/{CompanyPassportPage-BQ68t7oK-BMTwLfpK.js → CompanyPassportPage-FE6yli6h-DR6Ghlmc.js} +32 -32
- package/dist/assets/{CompleteProfile-C5n9b8gQ-hT3HEiCg.js → CompleteProfile-Cb8i1XgZ-DbJmNPo9.js} +1 -1
- package/dist/assets/ConfettiBurst-BZCXEGYA-B2yhgQww.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CDDJSzvV.js → ConstrainedInnerElement-CgdnMeoA--qLpImjq.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BIfOA5Nr-BuMGF8oN.js → CreateOrEditVendorPage-CzpSgxbO-CRxdxAMc.js} +20 -20
- package/dist/assets/{CreditCardPaymentDrawerPage-CCpS-31h-BIvvMTcG.js → CreditCardPaymentDrawerPage-c_q0MsSO-TA4Hobh4.js} +18 -18
- package/dist/assets/CurrencySelectField-BAh7SHrG-DxidpKws.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-6VlMI4oY-E5CGEKHR.js → CustomerOnboardingActivationPage-f3Aa6E5r-BBdnGtao.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-B7XaiHVP.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BzbZb27J-BVzHP5Go.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-D7GeWD4L.js} +8 -8
- package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-BNSUjl4v.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-DkW66A-p-CjpdS5qu.js → CustomerOnboardingPage-B9hSO88_-D7k4547U.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-Ba0yotpP-CIyDBKON.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-S3V_r-iH.js} +12 -12
- package/dist/assets/{Dashboard-bX3cWkmP-BbU8pr2A.js → Dashboard-BJ_oIHab-Cok5_WDR.js} +33 -33
- package/dist/assets/{DashboardReportPage-DuZ4d4CE-DK-gMM8o.js → DashboardReportPage-BemzMw2e-DYYVToam.js} +41 -41
- package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-C_JawxjH.js +12 -0
- package/dist/assets/DepositAccTransactionItem-CyFi1P_L-BmUq2dbW.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-m3SoF-kw.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-DOZS_gVw.js +21 -0
- package/dist/assets/DownloadOverlay-D_lL1sPW-DvGv3saF.js +439 -0
- package/dist/assets/{DrawerPage-CaG-xx5d-EitebnoL.js → DrawerPage-DesxXhZk-B8kYZddx.js} +13 -13
- package/dist/assets/EditPeoplePage-QvPy_Six-BvFKkCVw.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-BUe-Yiha.js +865 -0
- package/dist/assets/EntityDetailPage-l7nXIsyF-D4NCMOsL.js +18 -0
- package/dist/assets/{EntitySummarySection-LEA5m6mN-BORCaqtF.js → EntitySummarySection-BwX0a4JL-SUavY1op.js} +14 -14
- package/dist/assets/{ExpenseAutomationOverviewPage-Dmhn7gfp-D__D3sDL.js → ExpenseAutomationOverviewPage-EdyHjbff-C6Bwm59D.js} +51 -51
- package/dist/assets/ExpenseAutomationPage-DA22Qofw-dd8tGA4N.js +3001 -0
- package/dist/assets/{ExpressPayPage-C-nqret2-DlkmEIam.js → ExpressPayPage-EMP6inpX-Bhq6MNQ0.js} +16 -16
- package/dist/assets/{FeaturePreviewPage-BHjUZ7s6-DFFjPG0A.js → FeaturePreviewPage-SYJm-3aR-Bec3W0NG.js} +2 -2
- package/dist/assets/{FollowStepsSection-0eFMS0c5-B5EQvoc9.js → FollowStepsSection-BxESVqJD-Da5FF3Sc.js} +11 -11
- package/dist/assets/GlobalReviewListPage-D5_ACa-q-DSyD6bgo.js +291 -0
- package/dist/assets/{InformationCardStack-C7XJCUlh-CiHVF9R1.js → InformationCardStack-B_qQUEYD-Cf9-swA_.js} +4 -4
- package/dist/assets/{InsightsCardStack-fBAbQwhK-BkpAEowk.js → InsightsCardStack-BsQzoVzj-B7Cu144k.js} +9 -9
- package/dist/assets/InsightsSection-B6CNlTNH-C1k0XkMl.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-BD5jqAv8-DlI-U29Q.js → IntegrationsSettingsPage-DP6fAccq-DcJmzI7u.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-BftrE612-J_F_3vEQ.js → InternationalWireSwiftDetailsPage-VdG7bDZi-TISIJuKT.js} +27 -27
- package/dist/assets/InternationalWireVerificationPage-COC6lZml-DVDnoPVJ.js +65 -0
- package/dist/assets/InviteFormPage-DN02jRy5-DXwTiwQI.js +312 -0
- package/dist/assets/{InvitePageListView-Cuq9dlgu-CDBeR_PP.js → InvitePageListView-CP4K9tJi-DYuLEhyF.js} +46 -46
- package/dist/assets/InvitePeoplePage-VTM6kM1u-LzOSX0B1.js +12 -0
- package/dist/assets/InvoiceUploadSection-it-ZYl1N-DRo_N6ol.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CK6fnO24-BKSJZVY1.js → IssueChargeCardPage-CVfuvGey-dFAkH-M9.js} +21 -21
- package/dist/assets/{LabeledAddressValue-Ma1WURjK-BbziAecd.js → LabeledAddressValue-DDrQcHIE-DMu0GW44.js} +1 -1
- package/dist/assets/LabeledAddressValueField-BgWwd5Gw-DuJuz6B4.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-Y5RGRfkw.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-sj8p7Rne-BUdiOBjF.js → LabeledCountryMultiSelectField-BYYjzwUG-D382-i5G.js} +4 -4
- package/dist/assets/{LabeledCreatableSingleSelectField-DUTQh416-Cuz1-Arb.js → LabeledCreatableSingleSelectField-CISYMojq-xYhovxcY.js} +8 -8
- package/dist/assets/LabeledDocumentField-C_bcFxdY-BV9lofDJ.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-ScGGCap8-5lKoXSFL.js +59 -0
- package/dist/assets/{LabeledText-DvzVOku6-qtDKT9OR.js → LabeledText-C8Y7EOsX-C8fojKEp.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-Dkhsfaug.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-D0nf30JX.js} +21 -21
- package/dist/assets/{LabeledZeniRolesDropDownField-kWC0ShEy-B4c0yRiG.js → LabeledZeniRolesDropDownField-BZtreVpj-jb4353B6.js} +23 -23
- package/dist/assets/{LinkJETransactionPage-WufhDGDQ-CQSugFmY.js → LinkJETransactionPage-CKq4oiX9-BvFmTxZj.js} +17 -17
- package/dist/assets/{LockCardPage-BBIVLYVD-DGVUoots.js → LockCardPage-CZENNby7-DiexnWId.js} +233 -233
- package/dist/assets/{LowBalancePopup-ScEqPY9J-zI-i6Isi.js → LowBalancePopup-1727S1ri-B9nzvQPQ.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-CO-n7uHX.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-D9JIICZ3.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-DRdINlrf.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-QMkZgQLG-DaCG6zJz.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-ZnbKPIvJ-CNhLMA89.js → MagicLinkTitleSection-CARU1oLQ-DPmYWXSQ.js} +5 -5
- package/dist/assets/MailingDetailsSection-ByOPaJ05-kJqgrlBw.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-aQDVaEG1-CqWavNbr.js → MyBankConnectionsSettingsPage-BdgIIhL1-FAtVw-QI.js} +12 -12
- package/dist/assets/{MyPendingActivationChargeCardListPage-BJrk56oA-DBhBFYPS.js → MyPendingActivationChargeCardListPage-CX38bDdq-Cb-hNB9U.js} +1 -1
- package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-DSGiByeo.js +85 -0
- package/dist/assets/{NavBarWithPicker-zmvBmWS1-DG_L70Us.js → NavBarWithPicker-CGGEvLwe-CLvQbXHm.js} +5 -5
- package/dist/assets/{NavigationArrow-D26UG3p--Bc_WE-hA.js → NavigationArrow-CTNkKUtV-Bew2hAIb.js} +7 -7
- package/dist/assets/{NavigationDots-Bv4tBDN3-3qW0LzNq.js → NavigationDots-Dvce3gHt-CdTxmSBW.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-vOn2O6B9-UKW9QkH8.js → NewGlobalMerchantPage-D_f7z47T-BushshXt.js} +35 -35
- package/dist/assets/{NoDataChart-CgT19fV7-DcCaLcsZ.js → NoDataChart-CrKeqWSr-4ekDnDn1.js} +4 -4
- package/dist/assets/NoDataTable-4vPXmPYF-B2XN4oW_.js +8 -0
- package/dist/assets/{NotFoundPage-CP2i3FTm-zCn5IOVY.js → NotFoundPage-BLWPU1wU-DvXGp0oy.js} +3 -3
- package/dist/assets/{NotificationSettingsPage-CT9Dnb03-BYS2qU5g.js → NotificationSettingsPage-CDiDLX3A-n_uE9rCj.js} +23 -23
- package/dist/assets/NotificationsListConfig-B5pDa4cJ-BR4-nfaA.js +1 -0
- package/dist/assets/NotificationsPage-Ccl7Dny1-EW2nfZLI.js +685 -0
- package/dist/assets/OpExByVendorPage-spd-nKV4-i9MSwJXR.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-PqYhuBtJ.js → OverlayContainerPage-BG9y5C0t-CMjvkc2h.js} +1 -1
- package/dist/assets/PandLWithForecastPage-TSoe4Z7F-DcZ-ZrV7.js +123 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-JPO-rPAd-yGcY5OsC.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-C7rhIAmu.js} +16 -16
- package/dist/assets/PeoplePage-b5_I0qOw-B2fq5ot3.js +727 -0
- package/dist/assets/{Preview-P62UcEJK.js → Preview-COnCxLvp.js} +1 -1
- package/dist/assets/{ProductsCarousel-7R3cvGiS-Bu_PFFN9.js → ProductsCarousel-C3M0ocdF-wqRbMSDI.js} +8 -8
- package/dist/assets/{PromoBaseCards-DdCMZIc7-DR_4jktz.js → PromoBaseCards-BOGJI2ws--eO42JRX.js} +2 -2
- package/dist/assets/{QBOConnectionDialog-Ca36jKz2-BjgnS_b-.js → QBOConnectionDialog-CmpnnuzP-Dp-zON6o.js} +7 -7
- package/dist/assets/QBOSetupSection-DjnN9dgv-CJUK3Jp5.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D5NXjrO9-B3fuWRBp.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-B48x1gPM-C9ZbbxEX.js → ReimbursementApprovalRulesPage-BsCTIqUJ-DFIBXG2A.js} +17 -17
- package/dist/assets/ReimbursementDetailPage-BbyxE2uL-D7JOSI03.js +314 -0
- package/dist/assets/ReimbursementPromoPage-CyEgwqcf-A2nuc-1r.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-B_c-ZgFT-CzixtqPF.js → ReimbursementSetUpPage-RETPkEQd-CKs-VBpH.js} +8 -8
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-BVo2hc1R.js +1 -0
- package/dist/assets/{ReloadCard-DKGn1uxF-DmSJJ42p.js → ReloadCard-Bdoo0XiI-D4akwdvc.js} +6 -6
- package/dist/assets/ReportTableViewSelector-Bc1K7mU_-CwFMTqSs.js +151 -0
- package/dist/assets/ReportsPage-BOTHMLWh-jv_O0Yek.js +269 -0
- package/dist/assets/{RevenueChart-SvdhwBcE-BkckN20x.js → RevenueChart-DvyZ3aO7-C6C2HRpr.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-tT1l4R2r-RWSNyRxW.js → ReviewDetailsPage-BIMg1n2e-Ih4y_jnc.js} +26 -26
- package/dist/assets/{ReviewOverlay-BoM41t8W-3p-Qz-jJ.js → ReviewOverlay-CxwoiOLC-mlyTzHF7.js} +10 -10
- package/dist/assets/{RoleWithToolTip-C8x5yXaK-DMsCF0JH.js → RoleWithToolTip-Ct3_VuDM-DPE6FK82.js} +4 -4
- package/dist/assets/ScheduleDetailsFixedAssetsPage-DiL5Dozk-ZdtyO7K8.js +37 -0
- package/dist/assets/ScheduleDetailsPage-5FWpLRtd-CMywSb8w.js +37 -0
- package/dist/assets/ScheduleSequenceTable-R3-PsXES-CJvXYjeZ.js +326 -0
- package/dist/assets/{ScreenRoutes-EnKgc_BI.js → ScreenRoutes-D5p_xk-S.js} +1 -1
- package/dist/assets/{SetUpAccountSection-sfIB1h4i-DtGgsFok.js → SetUpAccountSection-CctbMmoK-CuWHUORG.js} +14 -14
- package/dist/assets/SignIn-CmgmnRm4-CODAfAgX.js +491 -0
- package/dist/assets/SignInScreen-DzQr_yQg.js +1 -0
- package/dist/assets/SpendManagementListViewPage-CFUxCqkU-BFFGha36.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-C-kqNTci-B4ll_8b8.js +754 -0
- package/dist/assets/{SpendManagementSection-dT-N4bSQ-C4Kh22QW.js → SpendManagementSection-CIz4nE_w-Cd92E473.js} +20 -20
- package/dist/assets/{StatementItem-g5tfNBjV-BibsnlRn.js → StatementItem-vVtoBN2w-BlzDOZcF.js} +4 -4
- package/dist/assets/StatementsPage-As5WOnMR-CoYZUSlH.js +58 -0
- package/dist/assets/{StatusSwitcher-CaoFw0cf-zIzs68OS.js → StatusSwitcher-Bv-ozN6U-BKoiK-si.js} +5 -5
- package/dist/assets/SubTabSwitcher-D7QeM6nb-BmZk-zBb.js +58 -0
- package/dist/assets/SummaryCard-C2qoTsAY-4dgnd5I6.js +1 -0
- package/dist/assets/TaskManagementPage-BJwp32Ph-BXxEB9ws.js +508 -0
- package/dist/assets/TimeRangeSwitcher-D00bDDhP-jzNZlsUf.js +64 -0
- package/dist/assets/TimeframeSwitcher-DA99HdHt-DUsdK6ru.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-Dg5fJRkI.js +53 -0
- package/dist/assets/{TopExCard-BUjnGDUB-Btojk3ah.js → TopExCard-Z1WabZ8c-_3_PDA2G.js} +6 -6
- package/dist/assets/{TopExDetailPage-CNDkfc3u-B6N4DKA1.js → TopExDetailPage-CzHG4f9E-BrWfJk_t.js} +14 -14
- package/dist/assets/{TransactionActivityLogPage-kSQqJVpX--4iIwA0-.js → TransactionActivityLogPage-CGKnjNfU-DuJzBBcn.js} +20 -20
- package/dist/assets/TransactionDetailPage-1-mLOWSz-D2-6FnXF.js +903 -0
- package/dist/assets/TransactionList-BB-xoIGm-Cs0g42iq.js +153 -0
- package/dist/assets/{TransactionListBig-Bx_Rm9ho-DHw-0VWf.js → TransactionListBig-C5Sf5Xh--DoQGlOXx.js} +21 -21
- package/dist/assets/TransactionListPage-Cj7h1Ros-0xwtgWrr.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-MjSH5hfq-BB1KeuZC.js → TransactionVendorDetailPage-SsrSOk3O-DnCs2Tcb.js} +5 -5
- package/dist/assets/{TransferDrawerPage-BayVa6po-TPzD0GjA.js → TransferDrawerPage-BvKZ7vHF-U4D4BHco.js} +45 -45
- package/dist/assets/TreasuryOverviewPage-DwvjMR4_-DaWJ0Z8W.js +725 -0
- package/dist/assets/{TreasuryPromoPage-BCjz1EKX-B0iczXcI.js → TreasuryPromoPage-CtTFvSQW-ByP104Sz.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-Catz8shX-DqD0V1HF.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-_SN1L0BB.js +58 -0
- package/dist/assets/{TrendChart-JTOG0a7B-Bjcs41DB.js → TrendChart-Bnp4Pcdf-BY18h9jb.js} +4 -4
- package/dist/assets/TrendWithTransactions-3D1FvM8G-DxPZ_o7N.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-TGKYpC5A-DFFnFhBd.js → UncategorizedAccountsMappingPage-DbyY-dYB-BC4-aDe6.js} +9 -9
- package/dist/assets/{UnitIntegrationPage-mt2IjA5X-eXnxGxo-.js → UnitIntegrationPage-CTzme1te-BpgcZRO2.js} +10 -10
- package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-Ckt7F9AB.js +38 -0
- package/dist/assets/Vendor2FAPopup-D0zYKkIv-BA93A3FY.js +1 -0
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-DswVRSnB.js +1 -0
- package/dist/assets/VendorDetailPage-Br9wIOnI-CiQfXNfs.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-DgAKk1Hg.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CRnO7Ubw-CYRb__on.js → VendorFiling1099EditablePage-himC7iD3-DN6_aqMw.js} +13 -13
- package/dist/assets/VendorFirstReviewPage-BbknTCBD-DRyalqYz.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-HUtNyn9Z-DucN-WAy.js → VendorInternationalWireDetailsPage-CS595Xgc-DyYlqKnN.js} +22 -22
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-B6FT2wH7.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D6Qa1zf9-ChhuAgMC.js → VendorsAccountsSection-CgSJu8wq-DAQ1vUE3.js} +4 -4
- package/dist/assets/{VerifyDevice-B6B_nk3v-FhJvFMiC.js → VerifyDevice-Dvf0JsNN-BhIFtpoZ.js} +12 -12
- package/dist/assets/{VideoPlayer-BRAgZThr-CdNKLBM0.js → VideoPlayer-VAzOGCDL-dg_i7rhP.js} +2 -2
- package/dist/assets/{VideoPopup-C_SkBI9U-BmOF4TeE.js → VideoPopup-BqvZ-XIh-j79cwOsZ.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-B3gB3wW7-B_Al2CpW.js → WarningsDrawerPage-DeNonoNp-B2ZGl3aK.js} +8 -8
- package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-BH5nfFTv.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-Bq_tNys0.js +443 -0
- package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-H4nUIkPW.js +33 -0
- package/dist/assets/{ZeniAccountPromoPage-BgYCHYLO-DqD41YED.js → ZeniAccountPromoPage-JrcedQYB-C192Vo1k.js} +33 -33
- package/dist/assets/ZeniAccountSetupPage-TKBfbgzJ-BOKcMzjm.js +36 -0
- package/dist/assets/{ZeniCopyright-BlLvlGZV-FpsBBUu8.js → ZeniCopyright-DglqrTpl-DiOzf86L.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BNYgPwHs-Bjfhzv90.js → ZeniTransferAmountSlider-BcaZZuAw-DwXtlH-I.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-CiWKe3pw.js → add-to-wallet-DgdBD8_G-B2d4-MGl.js} +1 -1
- package/dist/assets/{analytics-Dmyyfi9O.js → analytics-BdPgTZIq.js} +1 -1
- package/dist/assets/{analyticsHelper-CYr5V2MV-D-hMRpr3.js → analyticsHelper-CAYdbjhS-B2pke1yA.js} +1 -1
- package/dist/assets/{analyticsHelper-fNnGbi4W.js → analyticsHelper-CqcfNRvx.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-odM3_tAX.js → arrow-south-east-round-PEovUgvH-CQDBPmsC.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-YYpYw6PW.js → auto-transfer-rule-mbafm5D3-D3lLCn3Q.js} +1 -1
- package/dist/assets/chartTypes-CD3vrBsI-B60Spgf7.js +1 -0
- package/dist/assets/commonDimensions-Oz1tdAcx-DwbBmI-Z.js +1 -0
- package/dist/assets/{commonTypes-DsWS6Ccc-cGR0O9Jz.js → commonTypes-5tEXwrX4-DCDhKssr.js} +1 -1
- package/dist/assets/{constants-CL2zzW6O.js → constants-CBenFj2i.js} +1 -1
- package/dist/assets/{core-CuilwggZ.js → core--0SFXVg4.js} +2 -2
- package/dist/assets/{dash.all.min-BQNcgKZW.js → dash.all.min-CMzLy0h6.js} +1 -1
- package/dist/assets/downloadPdf-Dsuxeias-COKJ0VCh.js +1 -0
- package/dist/assets/{empty-Br0K9kol.js → empty-2Ztl6Ian.js} +1 -1
- package/dist/assets/{empty-CEDPaJOT.js → empty-B-BVwcCU.js} +1 -1
- package/dist/assets/{epic-C2KVDXXW.js → epic-BDwupNLN.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-Ka06cghW.js → gift-box-Cmt9OgIZ-gUV3c8cx.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-6m6GIu0k.js → graphic-no-data-l-DU4J8fDt-DzC5dTIM.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-XhfY9lsK.js → graphic-no-data-net-burn-l-CzmycA0m-BjiTvRpS.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Sg0ioDB8.js → handshake-BPg58FML-C_pCUoyC.js} +1 -1
- package/dist/assets/{helper-BMiMbXMj-RteEmtlv.js → helper-Ckm10Uko-C9m0OsqI.js} +5 -5
- package/dist/assets/{index-ChqRS7At.js → index-C2ktPgcm.js} +1 -1
- package/dist/assets/{index-Cwdqq_eD.js → index-CKQ5JKXb.js} +1 -1
- package/dist/assets/{index-BdeZI4Mn.js → index-CUC_7JNL.js} +1 -1
- package/dist/assets/{index-D3ZUUMU-.js → index-CdtFtg4i.js} +1 -1
- package/dist/assets/{index-DyBrELD_.js → index-DMG72kst.js} +4818 -4804
- package/dist/assets/{index-HP0uFTr8.js → index-DRaGNS6O.js} +1 -1
- package/dist/assets/{index-Dvsx2dcd.js → index-Dg4q7vvv.js} +1 -1
- package/dist/assets/{lexical-BV3aGUzT.js → lexical-RPR5fwFX.js} +1 -1
- package/dist/assets/{liveblocks-VMOu1QaQ.js → liveblocks-BPjePRRW.js} +1 -1
- package/dist/assets/{lottie-DcZDexOB.js → lottie-x1a70pv5.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-3CmCtSOT.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BkPRWtaj-D46Qw3f-.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-gWv13TX8.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-C8lourC4.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-CeRR9HNy.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-DNs8km3x.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-4i_2kpdQ.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-DJ_zEjzF.js} +1 -1
- package/dist/assets/{mui-D3hEqMLm.js → mui-PTGaeBGX.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-D-m40EVy.js → page-detail-CWX5S47F-3PBwxH1C.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CGfB88iV.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-eAbgY-Yj.js → radio-default-CiSgisfh-D9daKtZ-.js} +1 -1
- package/dist/assets/{react-CTpij_Bh.js → react-BEXFTqCN.js} +1 -1
- package/dist/assets/{react-Y6e5YCHa.js → react-CPjlVQm7.js} +1 -1
- package/dist/assets/{react-CqeqecYS.js → react-Cc4bx4sY.js} +1 -1
- package/dist/assets/{react-CEbGSPpW.js → react-DBNQWrgN.js} +1 -1
- package/dist/assets/{react-DI8vxsp0.js → react-De98TyJc.js} +1 -1
- package/dist/assets/{react-Drm5UQxC.js → react-DrO9dj3C.js} +3 -3
- package/dist/assets/{react-CMq4HMxB.js → react-PvV8gmtB.js} +1 -1
- package/dist/assets/{react-C1gXLOT-.js → react-vwiCHqgl.js} +2 -2
- package/dist/assets/{recharts-Bs6FfRQK.js → recharts-qzs3V2Ze.js} +19 -19
- package/dist/assets/{sentry-BV4jcjA3.js → sentry-DA3cfNtR.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-FCvOtDWd.js → shield-DOlUxcFf-BOQtgkJq.js} +1 -1
- package/dist/assets/toCOABalancesWithID-aLNB35t7-Bj9jSpq4.js +1 -0
- package/dist/assets/{toChartData-C6s-eBzE-DCXAm4rQ.js → toChartData-DUL6vnzJ-BfCuWWLN.js} +1 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-Ge_wO5yU.js +1 -0
- package/dist/assets/{uploadAttachment-BlLqRIXe-B5ch9itw.js → uploadAttachment-Ck4wivBR-Bh6Y3xK9.js} +32 -32
- package/dist/assets/uploadReceipts-CIgkuVpu-BMgQocne.js +1 -0
- package/dist/assets/{url-MntlJyPp.js → url-D0R1uffE.js} +1 -1
- package/dist/assets/{url-BkyzSFLl.js → url-DNLur0Mx.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-Dwfp0CDv.js → useLongPress-GCK2COYQ-Dvxz8hJC.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Ccl_yhhe.js → usp-line-BBd1wKwW-Bxz4MR0G.js} +1 -1
- package/dist/assets/{utils-AGDkxX5e.js → utils-ZYxK6Sqs.js} +1 -1
- package/dist/assets/{zeni-epic-state-wSe7lDM8.js → zeni-epic-state-qJAZZeEy.js} +6 -6
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-fOu5grd7-_I6UtkXF.js +0 -21
- package/dist/assets/AccountInfoPage-o7hTXtgZ-CYBdmYMP.js +0 -18
- package/dist/assets/AccountLockedInfoModal-BJjCuLHa-YI1GAfPy.js +0 -59
- package/dist/assets/AccountRow-CpftykFx-bzN_3qh3.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-vecchYEf-_IpKVfzg.js +0 -6
- package/dist/assets/ApAgingDetailPage-BOV1WFVF-CJZU2LXe.js +0 -46
- package/dist/assets/AppDrawerContent-Dc2sHnR3-Bud5cVOk.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-4wRot9T7.js +0 -47
- package/dist/assets/ArAgingDetailPage-b_NpDpWj-RkSFd-g-.js +0 -46
- package/dist/assets/BillDetailPage-7TMkWo3V-BpI29Fow.js +0 -266
- package/dist/assets/BillPayPromoPage-AGffhbY3-C44MBEry.js +0 -84
- package/dist/assets/BillingSettingsPage-CQ117tT9-3H-s6tQ2.js +0 -44
- package/dist/assets/ChargeCardPromoPage-CPpNh89o-DfgxkRWy.js +0 -222
- package/dist/assets/CollapsableReportTable-CDEe9s_E-TNl2e0Ho.js +0 -2844
- package/dist/assets/ConfettiBurst-BizTW0hz-D0Pewk0g.js +0 -1
- package/dist/assets/CurrencySelectField-KvKyemY6-B3GfB4CH.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-Di904UJs.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-DmcEox2S.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-CyMFhVza.js +0 -12
- package/dist/assets/DepositAccTransactionItem-BY_OvuKg-BsNMu9o_.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-a__bpCOB-D_hGWuPJ.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-BumMT4QM-CBRjN65H.js +0 -21
- package/dist/assets/DownloadOverlay-DqiL3-FB-BSVRX95E.js +0 -439
- package/dist/assets/EditPeoplePage-BcsdEp_d-CHb4ex1x.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-05ewx_ut.js +0 -865
- package/dist/assets/EntityDetailPage-DtX5TjBc-DQKDGAg6.js +0 -18
- package/dist/assets/ExpenseAutomationPage-B8C4BxoV-Ci1A8Wjo.js +0 -1703
- package/dist/assets/GlobalReviewListPage-4eiopkzw-Bih8gWqa.js +0 -291
- package/dist/assets/InsightsSection-De9zu_me-Bh9zGZF1.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-CDf7equc-CiJjOeOD.js +0 -65
- package/dist/assets/InviteFormPage-E2igwKEh-BCSU2LM1.js +0 -312
- package/dist/assets/InvitePeoplePage-Db4P4ZEq-BEebaP5f.js +0 -12
- package/dist/assets/InvoiceUploadSection-DYCjz9CI-DfxPkJOj.js +0 -140
- package/dist/assets/LabeledAddressValueField-C6-hVsPb-DSR7WoQV.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-F-cfza7w.js +0 -16
- package/dist/assets/LabeledDocumentField-Bp9m-OrP-CNPLGXDQ.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-3-KekP79-aeAOh3hf.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-C494txw0-CY1IheMO.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-jeP8c5FK.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-3lDfayHZ.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-C2kPIdG5.js +0 -31
- package/dist/assets/MailingDetailsSection-DZT7JPlI-Cc3Oz9Xy.js +0 -21
- package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-CxLQr9dL.js +0 -85
- package/dist/assets/NoDataTable-CPjJmo4s-rcoXWqQH.js +0 -8
- package/dist/assets/NotificationsListConfig-Bn1zmx6b-Bn3vC5S6.js +0 -1
- package/dist/assets/NotificationsPage-DDwdR_Jq-T3skh5EK.js +0 -685
- package/dist/assets/OpExByVendorPage-DukFYlqO-C6JAoAcj.js +0 -100
- package/dist/assets/PandLWithForecastPage-Bgflh9Om-DboN8TAW.js +0 -107
- package/dist/assets/PeoplePage-CDvKreQl-CkudxP0y.js +0 -675
- package/dist/assets/QBOSetupSection-CzBfIVqR-DJuM0C4n.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BsBLC37q.js +0 -32
- package/dist/assets/ReimbursementDetailPage-oIC9QEyF-CwfsRmIP.js +0 -314
- package/dist/assets/ReimbursementPromoPage-BKgsJieE-VA9mHTWf.js +0 -84
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CxC7mVx8.js +0 -1
- package/dist/assets/ReportTableViewSelector-CXDvZEbR-DF_Vh_2k.js +0 -150
- package/dist/assets/ReportsPage-BoUyXSBC-DHugo8wm.js +0 -121
- package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DiQJAeBc.js +0 -37
- package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-D-JcLE-0.js +0 -37
- package/dist/assets/ScheduleSequenceTable-J6Eja8XA-F9fSvOJk.js +0 -324
- package/dist/assets/SignIn-Cu2nzuEC-gpOpExBj.js +0 -491
- package/dist/assets/SignInScreen-COk_kO8l.js +0 -1
- package/dist/assets/SpendManagementListViewPage-9V9u1jPF-BRyGdKFt.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-COvEPq7V-BGeyAQJ7.js +0 -754
- package/dist/assets/StatementsPage-DaFrVUeK-COpXIOnq.js +0 -58
- package/dist/assets/SubTabSwitcher-zrkVj1aP-DHjajhP7.js +0 -58
- package/dist/assets/SummaryCard-B9wqNSwM-D3nnkdoj.js +0 -1
- package/dist/assets/TaskManagementPage-dAK9tl2b-DxOEeJV7.js +0 -508
- package/dist/assets/TimeRangeSwitcher-r1TNqVRb-BwLBwrfQ.js +0 -64
- package/dist/assets/TimeframeSwitcher-DHfHCTa4-B-A8y3JU.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-BtU2FMS5.js +0 -31
- package/dist/assets/TransactionDetailPage-f7vWtXWL-WDAq0TSH.js +0 -903
- package/dist/assets/TransactionList-3-mUZOsw-DUcE4Bg8.js +0 -153
- package/dist/assets/TransactionListPage-q6x4_jni-DQgB6nBX.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CuqWmrO5-Dm7dVBUb.js +0 -708
- package/dist/assets/TreasuryStatementsPage-CGr00SXF-DVQF7UJA.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-MocugyBE.js +0 -58
- package/dist/assets/TrendWithTransactions-CTJhTpAM-COrQLjb7.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-DWhiDViI.js +0 -38
- package/dist/assets/Vendor2FAPopup-DAOf5cJD-mVDrxb-3.js +0 -1
- package/dist/assets/VendorACHDetailsPage-CCOupiSZ-X7XYqk_U.js +0 -1
- package/dist/assets/VendorDetailPage-DufNphGD-mmWMGpt3.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-ClhCrIFs.js +0 -1
- package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-CavJcOcs.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-81om_0Ih.js +0 -1
- package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-EwaP3b0U.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-BFwkc5Zx.js +0 -441
- package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-CmvbdhsS.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-CvnIMdcY-BcF-rNt2.js +0 -36
- package/dist/assets/chartTypes-40RenddT-DZcmdGKn.js +0 -1
- package/dist/assets/commonDimensions-BMnB1-xU-QqtoTCOP.js +0 -1
- package/dist/assets/detailCommon-CrcyqWtZ-D8Fb1SL4.js +0 -38
- package/dist/assets/downloadPdf-CUUx8PWn-2rBn8EvK.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-BH_N7X7z.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-DBOtPgCK.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-D8jx_1hw.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-D7yaFV5m.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-DvZGh4g5.js +0 -4
- package/dist/assets/toCOABalancesWithID-DkMGvlEt-BQrLH-Nz.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-Bo0yI6m6.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{g as l,V as r,aP as a,b4 as f,O as m,ac as y,aU as h,bG as g,ak as u,o as c,b5 as w}from"./index-DMG72kst.js";import{n as s}from"./mui-PTGaeBGX.js";import{a as d}from"./sentry-DA3cfNtR.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]="9ed483a1-2499-4b50-b63c-0088e23eec04",e._sentryDebugIdIdentifier="sentry-dbid-9ed483a1-2499-4b50-b63c-0088e23eec04")}catch{}})();function b({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:`${n-128}`,height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:`${n-48}`,height:"228"})]})}function p({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const x=s(h)`
|
|
2
2
|
justify-content: flex-start;
|
|
3
|
-
`;function T({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function D({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(w,{children:({height:n,width:i})=>r.jsx(
|
|
3
|
+
`;function T({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function D({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(w,{children:({height:n,width:i})=>r.jsx(b,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const j=e=>d.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),d.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M34.5307 44.8163C32.6902 44.8163 30.8909 44.2705 29.3605 43.248C27.8301 42.2254 26.6374 40.772 25.933 39.0715C25.2286 37.3711 25.0443 35.4999 25.4034 33.6947C25.7625 31.8895 26.6488 30.2313 27.9503 28.9298C29.2518 27.6283 30.91 26.742 32.7152 26.3829C34.5204 26.0238 36.3916 26.2081 38.092 26.9125C39.7925 27.6169 41.2459 28.8096 42.2685 30.34C43.291 31.8704 43.8369 33.6697 43.8369 35.5102V36.9737",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),C=s(h)`
|
|
4
4
|
justify-content: space-between;
|
|
5
|
-
`,k=
|
|
5
|
+
`,k=s.div`
|
|
6
6
|
height: ${c.sp10};
|
|
7
7
|
width: ${c.sp10};
|
|
8
8
|
background: ${e=>e.theme.colors.background};
|
|
@@ -19,8 +19,8 @@ import{d as l,V as r,aO as a,b4 as f,O as y,aR as m,aU as h,bG as g,aj as u,o as
|
|
|
19
19
|
color: ${e=>e.theme.colors.primary};
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
`,$=
|
|
22
|
+
`,$=s(u)`
|
|
23
23
|
color: ${e=>e.theme.colors.champion};
|
|
24
|
-
`,v=
|
|
24
|
+
`,v=s(u)`
|
|
25
25
|
color: ${e=>e.theme.colors.hero};
|
|
26
|
-
`,
|
|
26
|
+
`,E=s(j)``;function V({dimension:e,cardType:o,cardIndex:t,reportTitle:n,onReloadData:i}){return r.jsx(a,{"data-testid":y("dashboard-reload",o),dimension:e,onClick:()=>i(t,o),children:r.jsxs(C,{children:[r.jsxs($,{children:[n??f(o)," "]}),r.jsx(k,{children:r.jsx(E,{})}),r.jsx(v,{children:m.getLocalizedStrings().card.failedText})]})})}export{T as E,D as I,V as T};
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import{g as oe,e as he,cl as ye,aa as _e,V as o,aq as we,cm as se,ae as $e,x as S,aT as ve,o as r,O as te,cn as ke,co as Ce,cp as je,cq as Ne,cr as Ie,ao as ue,cs as Se,ak as Pe,aG as ee,bG as Oe,u as f,aX as De,an as Fe,av as Te}from"./index-DMG72kst.js";import{a as u,P as pe}from"./sentry-DA3cfNtR.js";import{n as d}from"./mui-PTGaeBGX.js";import{t as P,n as Ae}from"./CollapsableReportTable-DNfFkAts-CKi8-92F.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]="20eb1af4-c104-41fc-b30f-1fab6251011a",e._sentryDebugIdIdentifier="sentry-dbid-20eb1af4-c104-41fc-b30f-1fab6251011a")}catch{}})();const R=te.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,Ee=e=>({this_period:{start_date:e.thisPeriod.startDate.format(R),end_date:e.thisPeriod.endDate.format(R)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Le=e=>e!=null?{start_date:e.startDate.format(R),end_date:e.endDate.format(R)}:void 0;function Be(e){return{locale_id:e.localeId,show_negative_amount_in_parenthesis:e.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:e.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:e.filterAccountGroupsWithNilBalances,include_cover_page:e.includeCoverPage,company_name:e.companyName,statement_file_type:e.statementFileType,statements:e.statements,first_month_of_fy:e.firstMonthOfFY,book_close_date:e.bookCloseDate!=null?e.bookCloseDate.format(R):void 0,timeframe:e.timeframe,additional_balances:e.additionalBalances,format:e.format,balances_filter:Ee(e.balancesFilter),account_view_mode:e.accountViewMode,classes_to_filter_out:e.classesToFilterOut,data_available:Le(e.dataAvailable),is_zeni_coa_used:e.isZeniCOAUsed,class_view_layout:e.accountViewMode==="classes"?e.classViewLayout:void 0}}async function uo(e,i,a){const t=te.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify(Be(a)))}`;try{const h=await ke({urlEndPoint:l,authParams:i,fileType:a.statementFileType});if(h.ok){const y=Ce(h.headers,t.defaultFileName),_=await h.arrayBuffer();je(_,y)}else console.error(`${t.reportErrorMessage} ${h.statusText}`)}catch(h){console.error(`${t.reportErrorMessage} ${JSON.stringify(h)}`)}}const He=d.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
|
+
`,Me=d(Fe)`
|
|
13
|
+
color: ${e=>e.theme.colors.primary};
|
|
14
|
+
margin-top: -2px;
|
|
15
|
+
`,Ve=d(Te)`
|
|
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
|
+
`,ze=e=>{const{value:i,onClick:a}=e,t=oe();return o.jsxs(He,{onClick:a,children:[o.jsx(Me,{style:{color:t.colors.primary},children:i}),o.jsx(Ve,{})]})},We=pe.memo(ze);function Ge({backgroundColor:e,foregroundColor:i,animated:a,width:t,height:l}){return o.jsxs(Oe,{speed:2,width:t,height:l,viewBox:`0 0 ${t} ${l}`,animate:a!=!1,backgroundColor:e,foregroundColor:i,style:{marginBottom:r.sp2},children:[o.jsx("rect",{x:"45",y:f[3],rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:f[8],rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:"96",rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:"136",rx:"5",ry:"5",width:"120",height:f[4]})]})}function fe({nestedClass:e,isLastNode:i,config:a,parentNodeIDs:t}){const l=P("checkbox_and_name_only",[],e.classId[0]),h={children:[],id:l,isLastNode:i,reportElementData:{element:{kind:"checkbox_and_name_only",title:e.className,data:e,numOfBalances:0},config:a}};return h.children=e.children.map((y,_)=>fe({nestedClass:y,config:a,isLastNode:_===e.children.length-1,parentNodeIDs:[...t,l]})),h}function Re(e,i){const a=e.map((t,l)=>{const h=P("checkbox_and_name_only",[],t.classId[0]),y={children:[],id:h,isLastNode:t.children.length!==0,reportElementData:{element:{kind:"checkbox_and_name_only",title:t.className,data:t,numOfBalances:0},config:i}},_=t.children.map(O=>fe({nestedClass:O,config:i,isLastNode:l===t.children.length-1,parentNodeIDs:[h]}));return y.children.push(..._),y});return{config:i,headerNodes:[],contentNodes:[...a]}}function Ye(e,i){Object.assign(e.config,i);const a=e.contentNodes;return a.forEach(t=>me(t,i)),{config:i,headerNodes:[],contentNodes:[...a]}}function me(e,i){Object.assign(e.reportElementData.config,i),e.children.forEach(a=>me(a,i))}const ae={contentPaddingLeft:new S(f[3],f[3],f[2]),contentPaddingRight:new S(f[3],f[3],f[2])},qe=d.div`
|
|
24
|
+
height: ${e=>e.height}px;
|
|
25
|
+
width: 100%;
|
|
26
|
+
`,Je=({reportId:e,firstMonthOfFY:i,nestedClassHierarchy:a,classesToBeFilteredOut:t,selectedView:l,showClassAccountNumber:h,scrollPosition:y,onScroll:_,nodeOpenStatus:O,onNodeCollapseToggled:U,onToggleCheck:D,maxTreeHeightPx:E})=>{const Q=oe(),F=he(),[w,L]=u.useState(void 0),[b,B]=u.useState(!1),[H,m]=u.useState({}),[M,T]=u.useState(void 0),[C,V]=u.useState(l),A="none",j=c=>l==="account_group"?!0:t?.length>0?t.find(n=>n[0]===c[0])!=null:!1,$=(c,n)=>{B(!0),m(c),D?.(c,n,l==="account_group"?!0:void 0),Y(c,n)},Y=(c,n)=>{const g=z(c);for(const v of g.children)D?.(v.classId,n),Y(v.classId,n)},z=c=>{let n=a.filter(g=>g.classId[0]===c[c.length-1])[0];for(let g=c.length-2;g>=0;g--)n=n.children.filter(v=>v.classId[0]===c[g])[0];return n},X=c=>{if(c.length>1){const n=z(c.slice(1));let g=!1;for(const v of n.children)if(t.find(W=>W[0]===v.classId[0])===void 0){g=!0;break}g===!0?D?.(n.classId,!0):D?.(n.classId,!1),m(n.classId)}};u.useEffect(()=>{b&&X(H)}),u.useEffect(()=>{const c={reportId:e,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:A,firstMonthOfFY:i,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:!1,isClassToBeFilteredOut:j,showClassAccountNumber:h};if(w==null||!ee(M,a)||!ee(C,l)||b===!0){const n=Re(a,c);T(a),L(n),V(l)}else{const n=Ye(w,c);L(n),V(l)}},[a,l,t]);const[q,Z]=u.useState(5),J=c=>{const n=c+f[6];Z(n)},K=E!=null?Math.min(q,E):q;return w!=null?o.jsx(qe,{height:K,children:o.jsx(Ae,{backgroundColor:l==="classes"?new De(Q.colors.background):void 0,rootNodes:w,type:"name_only",compareMode:"compare_mode_amount",isSticky:{isStickyHeader:!1,isStickyName:!1},treeNodePadding:{left:ae.contentPaddingLeft.value(F),right:ae.contentPaddingRight.value(F)},scrollPosition:y,onScroll:_,nodeOpenStatus:O,onNodeCollapseToggled:U,onToggleCheck:$,onReportTableHeightChanged:J})}):null},k={width:new S(350,400,400),height:new S(165,165,165),buttonWidth:new S(62,62),buttonHeight:new S(f[5],f[5]),containerWidth:new S(150,400,400)},ge=353,Ke=d.div`
|
|
27
|
+
position: relative;
|
|
28
|
+
pointer-events: ${e=>e.isDisabled===!0?"none":"initial"};
|
|
29
|
+
`,Ue=d.div`
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
width: ${e=>k.containerWidth.valuePx(e.windowSize)};
|
|
33
|
+
`,Qe=d(Ne)`
|
|
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
|
+
`,Xe=d(Ie)`
|
|
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
|
+
`,Ze=d.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=d.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
|
+
`,re=d(Pe)`
|
|
103
|
+
height: ${r.sp6};
|
|
104
|
+
display: flex;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
align-items: center;
|
|
107
|
+
`,eo=d.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: ${ge}px;
|
|
120
|
+
overscroll-behavior: contain;
|
|
121
|
+
`,oo=d.div`
|
|
122
|
+
width: 100%;
|
|
123
|
+
height: 65px;
|
|
124
|
+
`,ie=d.label`
|
|
125
|
+
color: ${e=>e.theme.colors.primary};
|
|
126
|
+
cursor: ${e=>e.disabled===!0?"default":"pointer"};
|
|
127
|
+
`,to=d(ue)`
|
|
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
|
+
`,so=d.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
|
+
`,ao=d(Se)`
|
|
145
|
+
width: ${r.sp3};
|
|
146
|
+
height: ${r.sp3};
|
|
147
|
+
`,no=d(ue)`
|
|
148
|
+
margin-left: ${r.sp5};
|
|
149
|
+
margin-top: -12px;
|
|
150
|
+
color: ${e=>e.theme.colors.hero};
|
|
151
|
+
`,{reportViewSelector:I,common:{footer:le}}=te.getLocalizedStrings(),ce="tableViewSelector",de=e=>`${e}_form`;function po({reportId:e,firstMonthOfFY:i,nodes:a,classesListFetchState:t,selectedView:l,classesToBeFilteredOut:h,showClassAccountNumber:y,onOpenAccountViewMode:_,onSaveClick:O,isClassViewDisabled:U,downloadPage:D,showAccountGroups:E=!0,onResyncReports:Q,isPageFetchInProgress:F=!1,lastRefreshSuccessTime:w}){const L=oe(),b=he(),[B,H]=u.useState(!1),[m,M]=u.useState(l),[T,C]=u.useState({}),V=(s,p)=>(s.forEach(x=>{p.push(x.classId),p=V(x.children,p)}),p),A=V(a,[]),[j,$]=u.useState(m==="classes"?h:A),Y=t!=="Completed"||m==="classes"&&j.length===A.length,z=u.useRef(!1),[X,q]=u.useState(!1),Z=u.useRef(s=>{s&&!z.current&&(z.current=!0,q(!0))});ye({componentName:`reports.${e}`,enabled:X});const J=s=>s==="classes"?I.classes.label:E===!0?I.accountGroups.label:I.accounts.label,K=_e({mode:"all"}),c=K.handleSubmit(()=>{H(!1),m==="classes"?O?.("classes",j):O?.("account_group")}),n=s=>{if(M(s),s==="classes")C({}),$([]);else{$(A);let p={};a.forEach(x=>{const N=P("checkbox_and_name_only",[],x.classId[0]);p=Object.assign({},p,{[N]:!1})}),C(p)}},g=()=>{B===!0&&W(),H(!B);let s={};a.forEach(p=>{const x=P("checkbox_and_name_only",[],p.classId[0]);l==="account_group"||j.find(N=>N[0]===p.classId[0])!==void 0?s=Object.assign({},s,{[x]:!1}):s=Object.assign({},s,{[x]:!0})}),C(s)},v=(s,p,x)=>{if(x===!0&&(M("classes"),$(A)),p===!0){const N=P("checkbox_and_name_only",[],s[0]);T[N]=!0,C(T),$(G=>G.filter(xe=>xe[0]!==s[0]))}else{const N=P("checkbox_and_name_only",[],s[0]);T[N]=!1,j.find(G=>G[0]===s[0])===void 0&&$(G=>[...G,s])}},W=()=>{H(!1),M(l),$(h)},be=()=>{F===!1&&Q?.()};return u.useEffect(()=>{if(t==="Completed"&&m==="account_group"){let s={};a.forEach(p=>{const x=P("checkbox_and_name_only",[],p.classId[0]);s=Object.assign({},s,{[x]:!1})}),C(s)}},[t]),o.jsx(we,{onClickAway:W,children:o.jsxs(Ke,{ref:Z.current,isDisabled:U??!1,children:[D===!0?o.jsx(We,{value:J(l),onClick:()=>{_?.(),g()}}):o.jsxs(Ue,{windowSize:b,children:[o.jsxs(Qe,{onClick:s=>{s.preventDefault(),_?.(),g()},children:[o.jsx(Xe,{className:"dropdownIcon"}),J(l)]}),l==="classes"?o.jsx(to,{onClick:be,children:F?I.generatingReportByClass:o.jsxs(o.Fragment,{children:[w&&`${se(w)}`,o.jsx(ao,{})]})}):null]}),B?o.jsx($e,{...K,children:o.jsx("form",{id:de(ce),onSubmit:c,children:o.jsxs(Ze,{width:k.width.value(b),children:[o.jsx(ne,{checked:m==="account_group",children:o.jsxs(re,{onClick:()=>m!=="account_group"?n("account_group"):null,children:[o.jsx("input",{type:"radio",value:"account_group",id:"accountGroups",name:"formgroup",onChange:s=>n(s.currentTarget.value),checked:m==="account_group",disabled:t!=="Completed"}),o.jsx(ie,{disabled:t!=="Completed",children:E===!0?I.accountGroups.dropdownLabel:I.accounts.dropdownLabel})]})}),o.jsx(so,{}),o.jsxs(ne,{checked:m==="classes",children:[o.jsxs(re,{onClick:()=>t==="Completed"?n("classes"):null,children:[o.jsx("input",{type:"radio",value:"classes",id:"classes",name:"formgroup",onChange:s=>t==="Completed"?n(s.currentTarget.value):null,checked:m==="classes",disabled:t!=="Completed"}),o.jsx(ie,{disabled:t!=="Completed",children:I.classes.dropdownLabel})]}),F||t!=="Completed"?null:o.jsx(no,{children:w&&`${se(w)}`}),t==="Completed"?o.jsx(eo,{id:"sectionformcontainer",children:o.jsx(ro,{reportId:e,firstMonthOfFY:i,nestedClassHierarchy:a,classesToBeFilteredOut:j,maxTreeHeightPx:ge,selectedView:m,nodeOpenStatus:T,showClassAccountNumber:y,onToggleCheck:v})}):o.jsx(Ge,{backgroundColor:L.colors.grey3,foregroundColor:L.colors.grey4,width:k.width.value(b),height:k.height.value(b),animated:!0})]}),o.jsx(oo,{children:o.jsx(ve,{formId:de(ce),primaryBtn:{label:le.save,style:{width:k.buttonWidth.valuePx(b),height:k.buttonHeight.valuePx(b)},isLoading:!1,isDisabled:Y,size:"small"},showCancel:!0,cancelBtn:{label:le.cancel,style:{width:k.buttonWidth.valuePx(b),height:k.buttonHeight.valuePx(b)},onClick:W,size:"small",shouldResetOnCancel:!0},style:{padding:r.sp3}})})]})})}):null]})})}const ro=pe.memo(Je,ee);export{po as b,uo as x};
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import{e as le,g as ce,ay as Je,bQ as et,bR as tt,bS as st,O as T,V as o,bT as ot,ac as F,bF as nt,bq as at,bE as it,bU as rt,o as _,aV as lt,L as ct,bV as dt,x as U,bW as pt,u as L,aq as me,K as D,bX as ge,bY as ut,ak as de,av as ht,bZ as ft,aG as Te,W as mt,aX as gt,an as Ae,au as bt,bN as _t}from"./index-DMG72kst.js";import{a as C,P as Be}from"./sentry-DA3cfNtR.js";import{n as h}from"./mui-PTGaeBGX.js";import{a as yt}from"./liveblocks-BPjePRRW.js";import{bg as be,FD as xt,FM as wt,FN as St,FO as X,FP as Ct,FQ as Rt,FR as Ot,FS as vt,FT as Tt,FU as pe,FV as ue,FW as ke}from"./zeni-epic-state-qJAZZeEy.js";import{j as At,z as he}from"./mapTimeframeBalancesToTreeNode-Bre8FfBF-CeRR9HNy.js";import{m as K,l as ae}from"./analyticsHelper-CAYdbjhS-B2pke1yA.js";import{b as Bt}from"./ReportTableViewSelector-Bc1K7mU_-CwFMTqSs.js";import{S as J,y as kt,M as $t,$ as Lt,v as Nt}from"./TimeRangeSwitcher-D00bDDhP-jzNZlsUf.js";import{X as jt}from"./TimeframeSwitcherWithToggle-DyggDIQj-Dg5fJRkI.js";import{DownloadOverlayButton as Mt}from"./DownloadOverlay-D_lL1sPW-DvGv3saF.js";import{Z as It,n as Ft,t as V,j as $e}from"./CollapsableReportTable-DNfFkAts-CKi8-92F.js";import{D as Le,T as Ne,C as ee,L as Pt,g as je}from"./mapSectionWithAcOnlyToTreeNode-Cgyt68f3-gWv13TX8.js";import{d as Vt,l as Et}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-DJ_zEjzF.js";import{d as Dt}from"./mapLoadingInProgressToTreeNode-jcHEi-mv-3CmCtSOT.js";import"./core--0SFXVg4.js";import"./lottie-x1a70pv5.js";import"./recharts-qzs3V2Ze.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.js";import"./TimeframeSwitcher-DA99HdHt-DUsdK6ru.js";import"./page-detail-CWX5S47F-3PBwxH1C.js";import"./AccountRow-D1cjRJJD-68vCYcVL.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]="a6d5b7f3-6227-426c-b190-a9b99623df08",e._sentryDebugIdIdentifier="sentry-dbid-a6d5b7f3-6227-426c-b190-a9b99623df08")}catch{}})();const zt=h.div`
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
`,Ut=h.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
width: 100%;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
align-items: center;
|
|
10
|
+
min-height: ${J}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
|
+
`,Wt=h.div`
|
|
15
|
+
position: relative;
|
|
16
|
+
width: auto;
|
|
17
|
+
max-width: 100%;
|
|
18
|
+
`,Yt=h(de)`
|
|
19
|
+
color: ${e=>e.theme.colors.primary};
|
|
20
|
+
`,Gt=h(ut)`
|
|
21
|
+
color: ${e=>e.theme.colors.primary};
|
|
22
|
+
width: ${_.sp3};
|
|
23
|
+
height: ${_.sp3};
|
|
24
|
+
flex-shrink: 0;
|
|
25
|
+
`,Ht=h(ht)`
|
|
26
|
+
width: 12px;
|
|
27
|
+
height: 12px;
|
|
28
|
+
flex-shrink: 0;
|
|
29
|
+
`,qt=h.div`
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
gap: ${_.sp2};
|
|
34
|
+
min-height: ${J}px;
|
|
35
|
+
padding: 0 ${_.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
|
+
`,Zt=h.div`
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
height: ${_.sp5};
|
|
56
|
+
box-sizing: border-box;
|
|
57
|
+
padding: 0 ${_.sp3};
|
|
58
|
+
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
59
|
+
border-radius: ${_.sp1};
|
|
60
|
+
background: ${e=>e.theme.colors.grey5};
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
min-width: 0;
|
|
63
|
+
justify-content: space-between;
|
|
64
|
+
gap: ${_.sp2};
|
|
65
|
+
&:hover {
|
|
66
|
+
border-color: ${e=>e.theme.colors.primary};
|
|
67
|
+
}
|
|
68
|
+
`,Xt=h(de)`
|
|
69
|
+
color: ${e=>e.theme.colors.hero};
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
text-overflow: ellipsis;
|
|
72
|
+
white-space: nowrap;
|
|
73
|
+
`,Kt=h(ft)`
|
|
74
|
+
color: ${e=>e.theme.colors.hero};
|
|
75
|
+
width: 12px;
|
|
76
|
+
height: 12px;
|
|
77
|
+
flex-shrink: 0;
|
|
78
|
+
`,Me=h.div`
|
|
79
|
+
position: absolute;
|
|
80
|
+
top: calc(100% + ${_.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: ${_.sp1};
|
|
86
|
+
padding: ${_.sp3};
|
|
87
|
+
min-width: 260px;
|
|
88
|
+
`,Qt=h(Me)`
|
|
89
|
+
left: 50%;
|
|
90
|
+
transform: translateX(-50%);
|
|
91
|
+
`,Jt=h.div`
|
|
92
|
+
display: flex;
|
|
93
|
+
flex-direction: column;
|
|
94
|
+
gap: ${_.sp3};
|
|
95
|
+
`,es=h.div`
|
|
96
|
+
display: flex;
|
|
97
|
+
align-items: center;
|
|
98
|
+
gap: ${_.sp2};
|
|
99
|
+
padding-bottom: ${_.sp2};
|
|
100
|
+
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
101
|
+
`,_e=h.div`
|
|
102
|
+
display: flex;
|
|
103
|
+
flex-direction: column;
|
|
104
|
+
flex: 1;
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
padding: ${_.sp2} ${_.sp3};
|
|
107
|
+
border-radius: ${_.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
|
+
`,ye=h(de)`
|
|
112
|
+
color: ${e=>e.theme.colors.hero};
|
|
113
|
+
`,xe=h(Ae)`
|
|
114
|
+
color: ${e=>e.theme.colors.primary};
|
|
115
|
+
`,ts=h(Ae)`
|
|
116
|
+
color: ${e=>e.theme.colors.hero};
|
|
117
|
+
flex-shrink: 0;
|
|
118
|
+
`,ss=h.div`
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-direction: column;
|
|
121
|
+
`,we=h.div`
|
|
122
|
+
display: flex;
|
|
123
|
+
flex-wrap: wrap;
|
|
124
|
+
`,os=h.div`
|
|
125
|
+
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
126
|
+
width: 100%;
|
|
127
|
+
margin: ${_.sp2} 0;
|
|
128
|
+
`;function Q(e){const{dateFormat:{analytics:t}}=T.getLocalizedStrings();return e.startDate.format(t.YYYYFormat)}function H(e,t,s){return It(s,e,t)}function ns(e,t,s,n){return t==="month"?e.startDate.format(n):H(e,t,s)}const as=({allTimeframeTicks:e,bookCloseDate:t,firstMonthOfFY:s,fromIndex:n,selectedTimeframe:a,toIndex:c,onFromSelected:u,onToSelected:l})=>{const{dateFormat:{analytics:r}}=T.getLocalizedStrings(),d=T.getLocalizedStrings().reports,[f,g]=C.useState("from"),i=[...new Set(e.map(Q))],[p,S]=C.useState(()=>Q(e[n]??e[0])),R=w=>{g(w),S(Q(e[w==="from"?n:c]))},j=w=>{f==="from"?u(w):l(w)},$=e.map((w,k)=>({tick:w,index:k})).filter(({tick:w})=>Q(w)===p),b=e.length-1,y=b>=0&&St(e[b]),B=H(e[n],a,s),N=H(e[c],a,s);return o.jsxs(Jt,{children:[o.jsxs(es,{children:[o.jsxs(_e,{active:f==="from",onClick:()=>R("from"),children:[o.jsx(ye,{children:d.periodRangeFrom}),o.jsx(xe,{children:B})]}),o.jsx(ts,{children:"→"}),o.jsxs(_e,{active:f==="to",onClick:()=>R("to"),children:[o.jsx(ye,{children:d.periodRangeTo}),o.jsx(xe,{children:N})]})]}),o.jsxs(ss,{children:[o.jsx(we,{children:i.map(w=>o.jsx(ge,{id:w,text:w,checked:w===p,textVariant:"small",onClick:k=>S(k)},w))}),o.jsx(os,{}),o.jsx(we,{children:$.map(({tick:w,index:k})=>{const I=ns(w,a,s,r.MMMFormat),O=f==="from"?k===n:k===c,A=t!=null&&w.startDate.isAfter(t),m=k===b,x=A&&!(y&&m),M=A&&y&&m;return o.jsx(ge,{id:String(k),text:I,checked:O,starred:x,doubleStarred:M,textVariant:"small",onClick:P=>j(Number.parseInt(P,10))},k)})})]})]})};function is(e){const{allTimeframeTicks:t,bookCloseDate:s,firstMonthOfFY:n,onCOABalancesRangeChanged:a,onDateRangeAnalytics:c,isCompareMode:u,referrer:l,selectedCOABalancesRange:r,selectedTimeframe:d,variant:f="default"}=e,[g,i]=C.useState(!1),p=t??[];if(d==="week"||d==="free_range"||p.length===0)return null;const S=$t(p,r),R=r.numberOfPeriods??1,j=S.startIndex,$=Math.max(0,Math.min(j,p.length-1)),b=Math.min(Math.max($+S.length-1,0),p.length-1),y=H(p[$],d,n),B=H(p[b],d,n),N=(O,A)=>{const m=A-O+1,x={offsetFromEnd:p.length-1-A,length:m},M={startIndex:O,length:m},P=Lt(p,x),W=Nt(p,M);P.thisPeriod!=null&&c!=null&&c(l,u,ae(n,d,P.thisPeriod)),a(P,W),i(!1)},w=O=>{const A=O,m=Math.min(A+R-1,p.length-1);N(A,m)},k=O=>{const A=Math.min($,O),m=Math.max($,O);N(A,m)},I=g&&p.length>0?o.jsx(as,{allTimeframeTicks:p,bookCloseDate:s,firstMonthOfFY:n,selectedTimeframe:d,fromIndex:$,toIndex:b,onFromSelected:w,onToSelected:k}):null;return f==="timeRangeSlider"?o.jsx(Ut,{children:o.jsx(me,{onClickAway:()=>i(!1),children:o.jsxs(Wt,{"data-testid":F("reports-period-range-calendar"),children:[o.jsxs(qt,{$isOpen:g,onClick:()=>i(O=>!O),children:[o.jsx(Gt,{className:"reports-period-slider-icon"}),o.jsxs(Yt,{className:"reports-period-slider-label",children:[y," – ",B]}),o.jsx(Ht,{className:"reports-period-slider-chevron"})]}),I!=null?o.jsx(Qt,{children:I}):null]})})}):o.jsx(me,{onClickAway:()=>i(!1),children:o.jsxs(zt,{"data-testid":F("reports-period-range-calendar"),children:[o.jsxs(Zt,{onClick:()=>i(O=>!O),children:[o.jsxs(Xt,{children:[y," – ",B]}),o.jsx(Kt,{})]}),I!=null?o.jsx(Me,{children:I}):null]})})}function Ie({section:e,sectionId:t,numOfBalances:s,config:n}){return $e("no_filter",n.filterAccountsWithNilBalances,n.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(a=>rs({accountGroup:a,sectionType:t,numOfBalances:s,title:a.accountGroupName,isLastNode:!0,config:n}))}function rs({accountGroup:e,sectionType:t,numOfBalances:s,title:n,isLastNode:a,config:c}){const u=V("section",[],n+t),l={children:[],id:u,isLastNode:a,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:s},config:c}},r=$e("no_filter",c.filterAccountsWithNilBalances,c.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),d=r.map((f,g)=>je({account:f,sectionType:t,numOfBalances:s,title:f.account.accountName,config:c,isLastNode:g===r.length-1,parentNodeIDs:[u],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:r.length>1,hasChildren:f.children.length>0,isLastNode:g===r.length-1}]}}));return l.children.push(...d),l}function Fe({sectionWithAcOnly:e,sectionType:t,numOfBalances:s,config:n}){return e.accounts.map((a,c)=>je({account:a,sectionType:t,numOfBalances:s,title:a.account.accountName,config:n,isLastNode:c===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:a.children.length>0,isLastNode:c===e.accounts.length-1}]}}))}function Pe({balances:e,config:t,nodeId:s}){return{children:[],id:s??V("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 ls(e){return e.reportId==="profit_and_loss_by_classes"&&"headerBalances"in e&&Array.isArray(e.headerBalances)}function ie(e,t){for(const s of e)s.reportElementData={...s.reportElementData,config:t},ie(s.children,t)}function cs(e,t,s,n=!0){if(Object.assign(e.config,t),ls(s))return ie(e.headerNodes,t),ie(e.contentNodes,t),{config:t,headerNodes:e.headerNodes,contentNodes:e.contentNodes};const a=Ve(s),c=he({balances:a,config:t});return{config:t,headerNodes:n?[c]:[],contentNodes:[c,...e.contentNodes.slice(1)]}}const Ve=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,s=t.sections?.expenses?.balances,n=t.sections?.income?.balances,a=t.sections?.expenses?.additionalBalances??[],c=t.sections?.income?.additionalBalances??[];return(s?.length??0)>0?[...s,...a]:(n?.length??0)>0?[...n,...c]:[]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let s=[];return Object.keys(t.sections).forEach(n=>{t.sections[n].balances.length>0&&(s=[...t.sections[n].balances,...t.sections[n].additionalBalances])}),s}default:return[]}};function ds(e,t,s=!0){const n=T.getLocalizedStrings().reports.sections,a=T.getLocalizedStrings().reports.balanceSheet,c=Ve(e),u=t.mode!=null&&t.mode==="this_period_vs_period_before"&&c.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=Pe({balances:c,config:t}),r=[];return r.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(d=>{const f=V("title_string_only",[],d),g={children:[],id:f,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:n[d],data:void 0,numOfBalances:0},config:t}};r.push(g),e.rootSectionsWithSubSectionIds[d].forEach(i=>{if(Ct(i)===!0)if(e.sections[i].accountGroups.length>0)if(i==="equity"){const p=Ie({sectionId:i,section:e.sections[i],numOfBalances:u,config:t});r.push(...p)}else r.push(Le({section:e.sections[i],sectionType:i,numOfBalances:u,title:a[i],isLastNode:!0,config:t}));else if(i==="equity"){const p=Fe({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:u,config:t});r.push(...p)}else{const p=e.sections[i];r.push(Ne({sectionWithAcOnly:p,sectionType:i,numOfBalances:u,title:a[i],isLastNode:!0,config:t}))}else Rt(i)===!0&&r.push(ee({calculatedSection:e.calculatedSections[i],numOfBalances:u,title:a[i],isLastNode:!0,config:t}))})}),{config:t,headerNodes:s?[l]:[],contentNodes:r}}function ps({calculatedSection:e,numOfBalances:t,title:s,isLastNode:n,config:a}){return{children:[],id:V("calculated_section_type1",[],s),isLastNode:n,reportElementData:{element:{kind:"calculated_section_type1",title:s,data:e,numOfBalances:t},config:a}}}function us(e,t,s=!0){const n=T.getLocalizedStrings().reports.sections,a=T.getLocalizedStrings().reports.cashFlow,c=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],u=t.mode!=null&&t.mode==="this_period_vs_period_before"&&c.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=Pe({balances:c,config:t}),r=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(d=>{const f=V("title_string_only",[],d),g={children:[],id:f,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:n[d],data:void 0,numOfBalances:0},config:t}};r.push(g),e.rootSectionsWithSubSectionIds[d].forEach(i=>{if(Ot(i)===!0)if(e.sections[i].accountGroups.length>0){const p=Ie({sectionId:i,section:e.sections[i],numOfBalances:u,config:t});r.push(...p)}else{const p=Fe({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:u,config:t});r.push(...p)}else vt(i)===!0?r.push(ps({calculatedSection:e.calculatedSections[i],numOfBalances:u,title:a[i],isLastNode:!0,config:t})):Tt(i)===!0&&r.push(ee({calculatedSection:e.calculatedSections[i],numOfBalances:u,title:a[i],isLastNode:!0,config:t}))})}),{config:t,headerNodes:s?[l]:[],contentNodes:[l,...r]}}function hs(e,t){const s=[];let n=[];const a=e.classColumns.length+1,c={children:[],id:V("class_headers",[]),isLastNode:!1,reportElementData:{element:{kind:"class_headers",title:"",data:e.classColumns,numOfBalances:a},config:t}};return s.push(c),n=[c],e.idsInOrder.forEach(u=>{if(pe(u)){const l=e.sections[u];l!=null&&s.push(fs(l,u,a,t,e))}else if(ue(u)){const l=e.calculatedSections[u];l!=null&&s.push(ms(l,a,t,e))}}),{config:t,headerNodes:n,contentNodes:s}}function fs(e,t,s,n,a){const c=V("section",[],e.title),u=e.treeLayout,l=e.sectionHeaderBalancesSlice??ke(a.firstMonthOfFY),r={children:[],id:c,isLastNode:!0,reportElementData:{element:{kind:"section",title:e.title,sectionType:t,data:l,numOfBalances:s},config:n}};if(u==null)return r;const d=new Map;for(const[f,g]of Object.entries(u.childrenRowIndicesByParent))d.set(Number(f),g);return u.rootAccountRowIndices.forEach((f,g)=>{r.children.push(Ee(f,e.accounts,d,s,n,[c],g===u.rootAccountRowIndices.length-1))}),r}function Ee(e,t,s,n,a,c,u){const l=t[e],r=l.accountReportData,d=s.get(e)??[],f=V("ac_report",c,l.accountId);return{children:d.map((g,i)=>Ee(g,t,s,n,a,[...c,f],i===d.length-1)),id:f,isLastNode:u,reportElementData:{element:{kind:"ac_report",title:l.accountName,data:r,numOfBalances:n},config:a}}}function ms(e,t,s,n){const a=e.sectionHeaderBalancesSlice??ke(n.firstMonthOfFY);return{children:[],id:V("calculated_section",[],e.title),isLastNode:!0,reportElementData:{element:{kind:"calculated_section",title:e.title,data:a,numOfBalances:t},config:s}}}function gs(e,t,s=!0,n=!1){const a=T.getLocalizedStrings().reports,c=T.getLocalizedStrings().common;let u=[];const l=[];let r=[];if(n===!0){const d=Vt({title:c.loading,balances:[],config:t});d.reportElementData.element.numOfBalances=6,s&&(r=[d]),l.push(d),[...Array(8)].forEach((f,g)=>{const i=g%4;let p=Et[i];const S=Dt({title:`${g}+${p}`,balances:u,config:t});S.reportElementData.element.numOfBalances=6,l.push(S)})}else{const d=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],f=he({balances:d,config:t}),g=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(f),s&&(r=[f]),e.idsInOrder.forEach(i=>{if(pe(i)===!0){const p=e.sections[i];p!=null&&l.push(Pt({section:p,sectionType:i,numOfBalances:g,title:a.sections[i],isLastNode:!0,config:t}))}else if(ue(i)===!0){const p=e.calculatedSections[i];p!=null&&l.push(ee({calculatedSection:p,numOfBalances:g,title:a.sections[i],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:r,contentNodes:l}}function bs(e,t,s=!0){const n=T.getLocalizedStrings().reports,a=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],c=t.mode!=null&&t.mode==="this_period_vs_period_before"&&a.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,u=he({balances:a,config:t}),l=[];return l.push(u),e.idsInOrder.forEach(r=>{if(pe(r)===!0&&(e.sections[r].accountGroups.length>0?l.push(Le({section:e.sections[r],sectionType:r,numOfBalances:c,title:n.sections[r],isLastNode:!0,config:t})):l.push(Ne({sectionWithAcOnly:e.sections[r],sectionType:r,numOfBalances:c,title:n.sections[r],isLastNode:!0,config:t}))),ue(r)===!0){const d=e.calculatedSections[r];d!=null&&l.push(ee({calculatedSection:d,numOfBalances:c,title:n.sections[r],isLastNode:!0,config:t}))}}),{config:t,headerNodes:s?[u]:[],contentNodes:l}}const Se={contentPaddingLeft:new U(L[0],L[0],L[0]),contentPaddingRight:new U(L[3],L[3],L[8])},_s=h.div`
|
|
129
|
+
height: ${e=>e.height}px;
|
|
130
|
+
width: 99.9%;
|
|
131
|
+
margin-top: ${_.sp2};
|
|
132
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
133
|
+
`;function ys({report:e,displayOrder:t,reportFormat:s,analytics:n,isZeniUser:a,onAdditionalBalanceSelectionChanged:c,onAccountBalanceClick:u,onTableScroll:l,onElementCollapseStateChanged:r,isCompareModeOn:d,isPageFetchInProgress:f=!1,onTreeNodesReady:g,treeRef:i}){const p=le(),S=ce(),[R,j]=C.useState(void 0),[$,b]=C.useState(void 0),y=!(p==="small"||p==="medium-compact"),B="name+balances_actual",N=d===!0?"this_period_vs_period_before":"none",w=()=>{let m=[];switch(e.reportId){case"profit_and_loss":{const x=e;m=(x.sections.expenses.balances.length>0?x.sections.expenses:x.sections.income).additionalBalances.map(M=>X(M));break}case"profit_and_loss_by_classes":{const x=e,M=(x.sections.expenses?.balances?.length??0)>0?x.sections.expenses:null,P=(x.sections.income?.balances?.length??0)>0?x.sections.income:null,W=M??P;W?.additionalBalances!=null&&(m=W.additionalBalances.map(q=>X(q)));break}case"cash_flow":{m=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(x=>X(x));break}case"balance_sheet":{m=e.sections.equity.additionalBalances.map(x=>X(x));break}}return m.length>0&&m.find(x=>x.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"};C.useEffect(()=>{const m={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:N,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:s,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:_t(),showClassAccountNumber:a};if(R==null||!Te($,e)||f===!0){const x=xs(e,m,y,f);b(e),j(x)}else{const x=cs(R,m,e,y);j(x)}},[d,e,f]),C.useEffect(()=>{R?.contentNodes!=null&&g?.(R.contentNodes)},[R,g]);const[k,I]=C.useState(5),O=m=>{const x=m+135;I(x)},A=m=>m?.trackPageLoaded(ws(e));return R!=null?o.jsxs(o.Fragment,{children:[o.jsx(mt,{analytics:n,onLoad:A}),o.jsx(_s,{height:k,children:o.jsx(Ft,{backgroundColor:new gt(S.colors.grey4),rootNodes:R,type:B,compareMode:w(),isSticky:{isStickyHeader:y,isStickyName:y},treeNodePadding:{left:Se.contentPaddingLeft.value(p),right:Se.contentPaddingRight.value(p)},treeRef:i,onAccountClick:u==null?void 0:(m,x,M)=>{u(m,x,M)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:m=>c?.(m==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(m,x)=>r?.(e.reportId,m,x),onReportTableHeightChanged:O,onScroll:m=>l?.(e.reportId,m)})})]}):null}const xs=(e,t,s=!0,n=!1)=>{switch(e.reportId){case"profit_and_loss":return bs(e,t,s);case"profit_and_loss_by_classes":{const a=e;return a.classColumns!=null&&a.reportTitle==="Profit and Loss by Class"?hs(a,t):gs(e,t,s,n)}case"cash_flow":return us(e,t,s);case"balance_sheet":return ds(e,t,s);default:return}},ws=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return D.Event.profitAndLoss;case"cash_flow":return D.Event.cashFlow;case"balance_sheet":return D.Event.balanceSheet;default:return D.Event.reports}},Ss=h.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
|
+
`,Cs=h.div`
|
|
141
|
+
display: flex;
|
|
142
|
+
position: relative;
|
|
143
|
+
`,Rs=h(bt)`
|
|
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 ${_.sp4}`:0};
|
|
148
|
+
display: flex;
|
|
149
|
+
flex-direction: column;
|
|
150
|
+
align-items: center;
|
|
151
|
+
&:hover {
|
|
152
|
+
color: ${e=>e.theme.colors.primary};
|
|
153
|
+
}
|
|
154
|
+
`,Os=h.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
|
+
`,vs=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return T.getLocalizedStrings().reportTitleById[e];default:throw new Error("Unsupported report")}};function Ts({reportId:e,isSelected:t,onClick:s}){return o.jsx(Rs,{"data-testid":F("reportSwitcher",e),onClick:()=>{t===!1&&s(e)},isSelected:t,spaceAround:e==="balance_sheet",children:vs(e)})}function As({reportIds:e,selectedReport:t,onReportSelectionChanged:s}){const n=a=>{s?.(a)};return o.jsx(Ss,{"data-testid":F("report-switcher-container"),children:o.jsx(Cs,{"data-testid":F("report-switcher-content"),children:e.map(a=>a!=="profit_and_loss_by_classes"&&o.jsxs("div",{children:[o.jsx(Ts,{reportId:a,isSelected:t===a,onClick:n}),o.jsx(Os,{className:`Slider ${t}`})]},`reportSegment-${a}`))})})}const G={contentContainerLeftRightMargin:new U(L[3],L[3],L[8]),contentRightPadding:new U(L[3],L[3],L[8]),tickSkeletonContainerWidth:new U(343,600,905,1240)},{collaboration:{threads:{placeholder:Ce,tooltip:Re,title:{comments:Bs}}}}=T.getLocalizedStrings(),ks=new U(4,4),$s=new U(4,4),Ls={selectedNumberOfPeriods:(e,t)=>e?$s.value(t):ks.value(t)},Ns=h.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
|
+
`,js=h.div`
|
|
186
|
+
display: flex;
|
|
187
|
+
flex: 1 1 auto;
|
|
188
|
+
flex-direction: column;
|
|
189
|
+
height: calc(100vh - ${_.sp10});
|
|
190
|
+
margin: ${e=>`${_.sp2} ${_.sp0} ${_.sp0} ${G.contentContainerLeftRightMargin.valuePx(e.windowSize)}`};
|
|
191
|
+
`,Ms=h.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
|
+
`,Is=h.div`
|
|
200
|
+
position: absolute;
|
|
201
|
+
margin-top: ${e=>e.windowSize==="small"?"230px":"195px"};
|
|
202
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
203
|
+
`,Fs=h.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
|
+
`,Ps=h.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: ${_.sp5};
|
|
218
|
+
color: ${e=>e.theme.colors.grey1};
|
|
219
|
+
}
|
|
220
|
+
&:hover {
|
|
221
|
+
& svg {
|
|
222
|
+
color: ${e=>e.theme.colors.primary};
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
`,Vs=h(lt)`
|
|
226
|
+
margin-top: ${_.sp3};
|
|
227
|
+
color: ${e=>e.theme.colors.hero};
|
|
228
|
+
`,De=({style:e,isLoading:t})=>t?o.jsx(Ms,{style:e,children:o.jsx(ct,{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;case"profit_and_loss":default:return e.profitAndLossReport}},ze=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)},re=({selectedReport:e,isCompareModeOn:t,windowSize:s})=>{const n=e.availableNumberOfPeriods;let a=Ls.selectedNumberOfPeriods(t,s);return n!=null&&(a=Math.min(a,n)),a};function Co(e){const t=le(),s=ce(),n=Je(),{onUpdateAccountViewMode:a,onUpdateClassesToFilterOut:c,onAdditionalBalanceSelectionChanged:u,onTimeframeSelectionChanged:l,isCompareMode:r,selectedReportAndTimeframeFetchState:d,onClickMenuIcon:f,isReportsCommentingEnabled:g,initialOpenThreadRequest:i}=e,p=e.isZeniUser??!1,S=n?.currentTenant?.companyId,R=n?.currentTenant?.companyName??"",j=g===!0&&S!=null,$=`dashboard_${S}`,b=p?et:tt,{threads:y,isLoading:B,requestToOpenThread:N,setRequestToOpenThread:w,setOpenThread:k}=C.useContext(b);C.useEffect(()=>{i?.threadId!=null&&i?.companyId!=null&&i?.entityType!=null&&w(i)},[i,w]);const[I,O]=C.useState(!1),A=C.useMemo(()=>({application:"dashboard",companyId:S,tab:"standard_report",isGlobalComment:!1}),[S]),m=C.useMemo(()=>{const v=st(y,A,"both");return Array.from(v.values())},[y,A]),x=C.useMemo(()=>m.filter(v=>v.resolved===!1),[m]).length,M=C.useCallback((v,E)=>{O(!1),w({threadId:E,companyId:v.companyId,entityType:v.entityType,threadMetadata:v})},[w]),[P,W]=C.useState(void 0),q=C.useRef(null),We=C.useCallback(v=>{W(v)},[]),Ye=C.useCallback(v=>{q.current?.scrollToItem(v,"center")},[]);At({requestToOpenThread:N,setRequestToOpenThread:w,setOpenThread:k,allThreads:m,selectedReport:e.selectedReport,onReportSelectionChanged:e.onReportSelectionChanged,reportTreeRootNodes:P,nodeCollapseState:ze(e).uiState.nodeCollapseState,onExpandNode:e.onElementCollapseStateChanged,scrollToNode:Ye});const Ge=C.useMemo(()=>({companyId:S??"",companyName:R,entityType:"standard_report.details",entityId:S??"",isGlobalComment:!1,application:"dashboard",tab:"standard_report",url:window.location.href}),[S,R]),He=(v,E)=>{v!==Z?.accountViewMode&&a?.(v),E&&c?.(E)};C.useEffect(()=>{const v=e.selectedReport==="profit_and_loss_by_classes"&&e.profitAndLossClassesViewReport?.uiState?.classViewLayout==="horizontal";if(e.fetchState==="Completed"&&!v){const E=Y(e).filter?.additionalBalances??[];e.onUpdateHighlightedNumberOfPeriods?.(E,e.isCompareMode,re({selectedReport:Y(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe??[])}},[t,e.fetchState]);const Z=zs(e),qe=T.getLocalizedStrings().reports.common,Ze=n!=null&&be(n.loggedInUserRole)?"detailed":"more_detailed",te=n!=null&&be(n.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&Z?.accountViewMode==="account_group"&&te.push("detailed");const[Xe,Ke]=Be.useState(te.includes("more_detailed")?"detailed":"more_detailed"),Qe={selectedFormat:Xe,disabledFormatForRole:te,roleBasedClassesSelectedFormat:Ze,setSelectedFormat:Ke};if(d.fetchState==="Error"||e.fetchState==="Error")return o.jsxs(Fs,{"data-testid":F("report-page-error-reload-page"),children:[o.jsx(Ps,{"data-testid":F("report-page-error-reload-icon"),onClick:e.onReloadReport,children:o.jsx(ot,{})}),o.jsx(Vs,{children:qe.failed})]});const fe=e.fetchState;if(d.fetchState!=="Completed"&&(fe==="In-Progress"||fe==="Not-Started"))return o.jsx(De,{isLoading:!0});{const v=o.jsx(nt,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:Z!=null&&e.dataAvailable!=null?o.jsx(Mt,{defaultOptions:Z,analytics:e.analytics,referrer:z(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:Qe,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:He,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(se,oe,ne)=>{u(r,se,oe,ne)},onTimeframeSelectionChanged:(se,oe,ne)=>{l?.(se,oe,ne)}}):o.jsx(o.Fragment,{})}}}),E=o.jsxs(Zs,{children:[j?o.jsxs(Xs,{onClick:()=>O(!0),"data-testid":F("reports-page-comment-button"),children:[o.jsx(at,{count:B?void 0:x,isLoading:B,style:{left:"12px"}}),o.jsx(Ks,{})]}):null,v]});return o.jsxs(o.Fragment,{children:[o.jsxs(Ns,{children:[o.jsx(it,{title:T.getLocalizedStrings().reports.title,backgroundColor:s.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:f,rightSideComponent:E,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),o.jsx(Es,{...e,onTreeNodesReady:We,treeRef:q})]}),j?o.jsx(yt,{id:$,children:o.jsx(rt,{isDrawerOpen:I,allowComposer:!0,drawerTitle:Bs,threads:m,filter:A,autoExpand:!0,autoFocus:!1,isLoading:B,textOverrides:{composerPlaceholder:Ce.addANewComment,replyComposerPlaceholder:Ce.replyAComment,threadResolve:Re.resolveComment,threadUnResolve:Re.unResolveComment},threadMetadata:Ge,onThreadClick:M,onCloseAllThreadsDrawer:()=>O(!1),drawerSectionStyle:{width:t==="small"?"100%":"400px",boxSizing:t==="small"?"border-box":"content-box"},collapsibleThreadStyle:{width:t==="small"?"100%":"360px"}})}):null]})}}function Es(e){const t=le(),s=ce(),n=C.useRef(null),{selectedReportAndTimeframeFetchState:a}=e,c=["month","quarter","year"],u=(b,y)=>{b!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(b),y&&e.onUpdateClassesToFilterOut?.(y)},l=Y(e),r=n.current?.clientWidth??G.tickSkeletonContainerWidth.value(t),d=xt([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",f=a.fetchState==="In-Progress",g=e.profitAndLossClassesViewReport?.uiState,i=e.isHorizontalClassReportSwitchEnabled!==!1&&e.selectedReport==="profit_and_loss_by_classes"&&g?.accountViewMode==="classes",p=i&&g?.classViewLayout==="horizontal"&&e.onCOABalancesRangeChanged!=null&&a.fetchState==="Completed",S=i&&g?.classViewLayout==="horizontal",R=(b,y)=>{e.analytics?.trackCompareFilterChange(b==="this_period_vs_last_period_percent"?"percentage":"amount",z(e.selectedReport),K(e.selectedTimeframe),y);const B=Array.from(new Set(b==="this_period_vs_last_period_percent"?[...l.filter.additionalBalances,"this_period_vs_last_period_percent"].filter(N=>N!=="this_period_vs_last_period"):[...l.filter.additionalBalances,"this_period_vs_last_period"].filter(N=>N!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,B,re({selectedReport:l,isCompareModeOn:e.isCompareMode,windowSize:t}))},j=T.getLocalizedStrings().reports,$=e.analytics!=null?(b,y,B)=>{y===!0&&e.analytics?.trackCompareFilterTimeFrame(b,K(e.selectedTimeframe),"range filter",B),e.analytics?.trackDateRangeFilterChange(b,"range filter",y,B)}:void 0;return o.jsxs(js,{windowSize:t,"data-testid":F("reports-page-content-container"),children:[o.jsx(Ys,{windowSize:t,ref:n,children:o.jsx(jt,{timeframe:{allowedTimeframes:c,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:b=>{e.analytics?.trackTimeframeSwitch(K(b),z(e.selectedReport)),e.onTimeframeSelectionChanged?.(b,!0)}},toggle:{label:T.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,isToggleDisabled:S,onValueChanged:b=>{e.analytics?.trackCompareMode(b,z(e.selectedReport),K(e.selectedTimeframe));const y=l.filter;e.onAdditionalBalanceSelectionChanged?.(b,y.additionalBalances,y.balancesRange.numberOfPeriods)}},secondaryToggle:i?{label:j.horizontalClassLayoutSwitch,isOn:g?.classViewLayout==="horizontal",onValueChanged:b=>{e.onUpdateClassViewLayout?.(b?"horizontal":"vertical")}}:void 0,secondaryToggleDataTestId:F("reports-horizontal-class-layout-switch")})}),a.fetchState==="Not-Started"||a.fetchState==="In-Progress"?o.jsx(Gs,{windowSize:t,children:o.jsx(Hs,{children:o.jsx(pt,{width:r,height:J-L[2],backgroundColor:s.colors.grey3,style:{borderRadius:_.sp2}})})}):p&&e.onCOABalancesRangeChanged!=null?o.jsx(ve,{windowSize:t,children:o.jsx(is,{allTimeframeTicks:e.allTimeframeTicks,bookCloseDate:l.bookCloseDate,firstMonthOfFY:l.firstMonthOfFY,onCOABalancesRangeChanged:e.onCOABalancesRangeChanged,onDateRangeAnalytics:$,isCompareMode:e.isCompareMode,referrer:z(e.selectedReport),selectedCOABalancesRange:e.selectedCOABalancesRange,selectedTimeframe:e.selectedTimeframe,variant:"timeRangeSlider"})}):o.jsx(ve,{windowSize:t,children:o.jsx(kt,{firstMonthOfFY:l.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:Oe(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:Oe(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(b,y)=>{e.analytics?.trackDateRangeFilterChange(z(e.selectedReport),"range filter",e.isCompareMode,ae(l.firstMonthOfFY,e.selectedTimeframe,y)),e.onThisPeriodChanged?.(y,re({selectedReport:l,isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:b=>{const y=Ds(e.allTimeframeTicks,b.fromEnd);e.analytics?.trackDateRangeFilterChange(z(e.selectedReport),"range filter",e.isCompareMode,ae(l.firstMonthOfFY,e.selectedTimeframe,y.thisPeriod)),e.onCOABalancesRangeChanged?.(y)}})}),o.jsx(qs,{windowSize:t,children:o.jsx(As,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:b=>{e.analytics?.trackPageLoaded(Us(b)),b==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(b)}})}),a.fetchState==="Not-Started"||a.fetchState==="In-Progress"?o.jsx(De,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:f}):o.jsxs(o.Fragment,{children:[o.jsx(Ue,{report:ze(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:R,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:d,onTreeNodesReady:e.onTreeNodesReady,treeRef:e.treeRef}),wt(e.selectedReport)?o.jsx(Is,{windowSize:t,children:o.jsx(Bt,{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:u,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:d,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const Oe=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let s=e.length-1;return t.thisPeriod!=null&&(s=e.findIndex(n=>n.startDate.isSame(t.thisPeriod.startDate,"date")&&n.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(s+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},Ds=(e,t)=>{const s=e.length-1-t.offsetFromEnd;return{thisPeriod:e[s],numberOfPeriods:t.length,orderBy:"ascending_date"}};function zs(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const l=e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes"&&e.profitAndLossClassesViewReport.uiState.classViewLayout==="horizontal",r=e.profitAndLossByClassHorizontalReport.headerBalances[0];if(l===!0&&r!=null)t=r;else{const d=e.displayOrder,f=e.profitAndLossReport.sections.expenses,g=e.profitAndLossReport.sections.income,i=f?.balances?.length??0,p=f!=null&&i>0?f:g;if(p!=null&&(p.balances?.length??0)>0){const S=p.balances??[],R=d==="ascending_date"?S.length-1:0;t=S[R]}}}const s=Y(e),n=s.firstMonthOfFY,a=s.bookCloseDate,c=s.dataAvailable,u=s.filter.additionalBalances;if(t!=null)return{localeId:T.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:n,bookCloseDate:a,dataAvailable:c,timeframe:e.selectedTimeframe,additionalBalances:u,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed,classViewLayout:e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes"?e.profitAndLossClassesViewReport.uiState.classViewLayout:"vertical"}}const z=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"}},Us=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return D.Event.profitAndLoss;case"cash_flow":return D.Event.cashFlow;case"balance_sheet":return D.Event.balanceSheet;default:return D.Event.reports}},Ue=Be.memo(ys,(e,t)=>Ws(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));Ue.displayName="Reports table";const Ws=(e,t,s)=>s.reduce((n,a)=>n===!0&&Te(e[`${a}`],t[`${a}`]),!0),Ys=h.div`
|
|
229
|
+
padding-right: ${e=>G.contentRightPadding.valuePx(e.windowSize)};
|
|
230
|
+
`,ve=h.div`
|
|
231
|
+
margin-top: ${_.sp3};
|
|
232
|
+
padding-right: ${e=>G.contentRightPadding.valuePx(e.windowSize)};
|
|
233
|
+
`,Gs=h.div`
|
|
234
|
+
margin-top: ${_.sp3};
|
|
235
|
+
padding-right: ${e=>G.contentRightPadding.valuePx(e.windowSize)};
|
|
236
|
+
`,Hs=h.div`
|
|
237
|
+
display: flex;
|
|
238
|
+
flex-direction: row;
|
|
239
|
+
justify-content: flex-start;
|
|
240
|
+
min-height: ${J}px;
|
|
241
|
+
box-sizing: content-box;
|
|
242
|
+
width: 100%;
|
|
243
|
+
align-items: center;
|
|
244
|
+
justify-content: center;
|
|
245
|
+
`,qs=h.div`
|
|
246
|
+
margin-top: ${_.sp4};
|
|
247
|
+
padding-right: ${e=>G.contentRightPadding.valuePx(e.windowSize)};
|
|
248
|
+
`,Zs=h.div`
|
|
249
|
+
display: flex;
|
|
250
|
+
flex-direction: row;
|
|
251
|
+
align-items: center;
|
|
252
|
+
gap: ${_.sp5};
|
|
253
|
+
`,Xs=h.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
|
+
`,Ks=h(dt)`
|
|
264
|
+
display: flex;
|
|
265
|
+
width: ${_.sp4};
|
|
266
|
+
height: ${_.sp4};
|
|
267
|
+
align-items: center;
|
|
268
|
+
justify-content: center;
|
|
269
|
+
`;export{Co as default};
|